mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
321 lines
2.1 MiB
321 lines
2.1 MiB
var $Z=Object.defineProperty;var jZ=(e,t,n)=>t in e?$Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var er=(e,t,n)=>jZ(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/**
|
||
* @vue/shared v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function Nm(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const Pn={},ad=[],ni=()=>{},qZ=()=>!1,Ap=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Wb=e=>e.startsWith("onUpdate:"),hr=Object.assign,Vb=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},eB=Object.prototype.hasOwnProperty,Mn=(e,t)=>eB.call(e,t),Mt=Array.isArray,sd=e=>Zd(e)==="[object Map]",Zu=e=>Zd(e)==="[object Set]",MS=e=>Zd(e)==="[object Date]",tB=e=>Zd(e)==="[object RegExp]",Ut=e=>typeof e=="function",ir=e=>typeof e=="string",ms=e=>typeof e=="symbol",Un=e=>e!==null&&typeof e=="object",Ub=e=>(Un(e)||Ut(e))&&Ut(e.then)&&Ut(e.catch),Ok=Object.prototype.toString,Zd=e=>Ok.call(e),nB=e=>Zd(e).slice(8,-1),Tk=e=>Zd(e)==="[object Object]",Yb=e=>ir(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ld=Nm(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pm=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},rB=/-(\w)/g,So=Pm(e=>e.replace(rB,(t,n)=>n?n.toUpperCase():"")),oB=/\B([A-Z])/g,qo=Pm(e=>e.replace(oB,"-$1").toLowerCase()),Rp=Pm(e=>e.charAt(0).toUpperCase()+e.slice(1)),fh=Pm(e=>e?`on${Rp(e)}`:""),Eo=(e,t)=>!Object.is(e,t),cd=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},kk=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},yg=e=>{const t=parseFloat(e);return isNaN(t)?e:t},bg=e=>{const t=ir(e)?Number(e):NaN;return isNaN(t)?e:t};let wS;const Nk=()=>wS||(wS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),iB="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",aB=Nm(iB);function we(e){if(Mt(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ir(r)?uB(r):we(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(ir(e)||Un(e))return e}const sB=/;(?![^(]*\))/g,lB=/:([^]+)/,cB=/\/\*[^]*?\*\//g;function uB(e){const t={};return e.replace(cB,"").split(sB).forEach(n=>{if(n){const r=n.split(lB);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Je(e){let t="";if(ir(e))t=e;else if(Mt(e))for(let n=0;n<e.length;n++){const r=Je(e[n]);r&&(t+=r+" ")}else if(Un(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function fB(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ir(t)&&(e.class=Je(t)),n&&(e.style=we(n)),e}const dB="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hB=Nm(dB);function Pk(e){return!!e||e===""}function pB(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=hc(e[r],t[r]);return n}function hc(e,t){if(e===t)return!0;let n=MS(e),r=MS(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ms(e),r=ms(t),n||r)return e===t;if(n=Mt(e),r=Mt(t),n||r)return n&&r?pB(e,t):!1;if(n=Un(e),r=Un(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const a in e){const s=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(s&&!l||!s&&l||!hc(e[a],t[a]))return!1}}return String(e)===String(t)}function Cm(e,t){return e.findIndex(n=>hc(n,t))}const Ck=e=>!!(e&&e.__v_isRef===!0),vt=e=>ir(e)?e:e==null?"":Mt(e)||Un(e)&&(e.toString===Ok||!Ut(e.toString))?Ck(e)?vt(e.value):JSON.stringify(e,Ik,2):String(e),Ik=(e,t)=>Ck(t)?Ik(e,t.value):sd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[$A(r,i)+" =>"]=o,n),{})}:Zu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$A(n))}:ms(t)?$A(t):Un(t)&&!Mt(t)&&!Tk(t)?String(t):t,$A=(e,t="")=>{var n;return ms(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let wi;class Qb{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=wi,!t&&wi&&(this.index=(wi.scopes||(wi.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=wi;try{return wi=this,t()}finally{wi=n}}}on(){wi=this}off(){wi=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Zb(e){return new Qb(e)}function Fk(e,t=wi){t&&t.active&&t.effects.push(e)}function Bb(){return wi}function _k(e){wi&&wi.cleanups.push(e)}let pu;class Md{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Fk(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Sc();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(vB(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Mc()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ac,n=pu;try{return ac=!0,pu=this,this._runnings++,LS(this),this.fn()}finally{OS(this),this._runnings--,pu=n,ac=t}}stop(){this.active&&(LS(this),OS(this),this.onStop&&this.onStop(),this.active=!1)}}function vB(e){return e.value}function LS(e){e._trackId++,e._depsLength=0}function OS(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ek(e.deps[t],e);e.deps.length=e._depsLength}}function Ek(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function gB(e,t){e.effect instanceof Md&&(e=e.effect.fn);const n=new Md(e,ni,()=>{n.dirty&&n.run()});t&&(hr(n,t),t.scope&&Fk(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function mB(e){e.effect.stop()}let ac=!0,S4=0;const Xk=[];function Sc(){Xk.push(ac),ac=!1}function Mc(){const e=Xk.pop();ac=e===void 0?!0:e}function Db(){S4++}function Kb(){for(S4--;!S4&&M4.length;)M4.shift()()}function Wk(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Ek(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const M4=[];function Vk(e,t,n){Db();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&M4.push(r.scheduler)))}Kb()}const Uk=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},xg=new WeakMap,vu=Symbol(""),w4=Symbol("");function ci(e,t,n){if(ac&&pu){let r=xg.get(e);r||xg.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Uk(()=>r.delete(n))),Wk(pu,o)}}function nl(e,t,n,r,o,i){const a=xg.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&Mt(e)){const l=Number(r);a.forEach((c,u)=>{(u==="length"||!ms(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":Mt(e)?Yb(n)&&s.push(a.get("length")):(s.push(a.get(vu)),sd(e)&&s.push(a.get(w4)));break;case"delete":Mt(e)||(s.push(a.get(vu)),sd(e)&&s.push(a.get(w4)));break;case"set":sd(e)&&s.push(a.get(vu));break}Db();for(const l of s)l&&Vk(l,4);Kb()}function AB(e,t){const n=xg.get(e);return n&&n.get(t)}const RB=Nm("__proto__,__v_isRef,__isVue"),Yk=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ms)),TS=yB();function yB(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=mn(this);for(let i=0,a=this.length;i<a;i++)ci(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(mn)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Sc(),Db();const r=mn(this)[t].apply(this,n);return Kb(),Mc(),r}}),e}function bB(e){ms(e)||(e=String(e));const t=mn(this);return ci(t,"has",e),t.hasOwnProperty(e)}class Qk{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Gk:Hk:i?Kk:Dk).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Mt(t);if(!o){if(a&&Mn(TS,n))return Reflect.get(TS,n,r);if(n==="hasOwnProperty")return bB}const s=Reflect.get(t,n,r);return(ms(n)?Yk.has(n):RB(n))||(o||ci(t,"get",n),i)?s:ar(s)?a&&Yb(n)?s:s.value:Un(s)?o?Gb(s):yp(s):s}}class Zk extends Qk{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=pc(i);if(!Tu(r)&&!pc(r)&&(i=mn(i),r=mn(r)),!Mt(t)&&ar(i)&&!ar(r))return l?!1:(i.value=r,!0)}const a=Mt(t)&&Yb(n)?Number(n)<t.length:Mn(t,n),s=Reflect.set(t,n,r,o);return t===mn(o)&&(a?Eo(r,i)&&nl(t,"set",n,r):nl(t,"add",n,r)),s}deleteProperty(t,n){const r=Mn(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&nl(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!ms(n)||!Yk.has(n))&&ci(t,"has",n),r}ownKeys(t){return ci(t,"iterate",Mt(t)?"length":vu),Reflect.ownKeys(t)}}class Bk extends Qk{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const xB=new Zk,SB=new Bk,MB=new Zk(!0),wB=new Bk(!0),Hb=e=>e,Im=e=>Reflect.getPrototypeOf(e);function K1(e,t,n=!1,r=!1){e=e.__v_raw;const o=mn(e),i=mn(t);n||(Eo(t,i)&&ci(o,"get",t),ci(o,"get",i));const{has:a}=Im(o),s=r?Hb:n?Jb:Zh;if(a.call(o,t))return s(e.get(t));if(a.call(o,i))return s(e.get(i));e!==o&&e.get(t)}function H1(e,t=!1){const n=this.__v_raw,r=mn(n),o=mn(e);return t||(Eo(e,o)&&ci(r,"has",e),ci(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function G1(e,t=!1){return e=e.__v_raw,!t&&ci(mn(e),"iterate",vu),Reflect.get(e,"size",e)}function kS(e,t=!1){!t&&!Tu(e)&&!pc(e)&&(e=mn(e));const n=mn(this);return Im(n).has.call(n,e)||(n.add(e),nl(n,"add",e,e)),this}function NS(e,t,n=!1){!n&&!Tu(t)&&!pc(t)&&(t=mn(t));const r=mn(this),{has:o,get:i}=Im(r);let a=o.call(r,e);a||(e=mn(e),a=o.call(r,e));const s=i.call(r,e);return r.set(e,t),a?Eo(t,s)&&nl(r,"set",e,t):nl(r,"add",e,t),this}function PS(e){const t=mn(this),{has:n,get:r}=Im(t);let o=n.call(t,e);o||(e=mn(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&nl(t,"delete",e,void 0),i}function CS(){const e=mn(this),t=e.size!==0,n=e.clear();return t&&nl(e,"clear",void 0,void 0),n}function z1(e,t){return function(r,o){const i=this,a=i.__v_raw,s=mn(a),l=t?Hb:e?Jb:Zh;return!e&&ci(s,"iterate",vu),a.forEach((c,u)=>r.call(o,l(c),l(u),i))}}function J1(e,t,n){return function(...r){const o=this.__v_raw,i=mn(o),a=sd(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=o[e](...r),u=n?Hb:t?Jb:Zh;return!t&&ci(i,"iterate",l?w4:vu),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function wl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function LB(){const e={get(i){return K1(this,i)},get size(){return G1(this)},has:H1,add:kS,set:NS,delete:PS,clear:CS,forEach:z1(!1,!1)},t={get(i){return K1(this,i,!1,!0)},get size(){return G1(this)},has:H1,add(i){return kS.call(this,i,!0)},set(i,a){return NS.call(this,i,a,!0)},delete:PS,clear:CS,forEach:z1(!1,!0)},n={get(i){return K1(this,i,!0)},get size(){return G1(this,!0)},has(i){return H1.call(this,i,!0)},add:wl("add"),set:wl("set"),delete:wl("delete"),clear:wl("clear"),forEach:z1(!0,!1)},r={get(i){return K1(this,i,!0,!0)},get size(){return G1(this,!0)},has(i){return H1.call(this,i,!0)},add:wl("add"),set:wl("set"),delete:wl("delete"),clear:wl("clear"),forEach:z1(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=J1(i,!1,!1),n[i]=J1(i,!0,!1),t[i]=J1(i,!1,!0),r[i]=J1(i,!0,!0)}),[e,n,t,r]}const[OB,TB,kB,NB]=LB();function Fm(e,t){const n=t?e?NB:kB:e?TB:OB;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Mn(n,o)&&o in r?n:r,o,i)}const PB={get:Fm(!1,!1)},CB={get:Fm(!1,!0)},IB={get:Fm(!0,!1)},FB={get:Fm(!0,!0)},Dk=new WeakMap,Kk=new WeakMap,Hk=new WeakMap,Gk=new WeakMap;function _B(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function EB(e){return e.__v_skip||!Object.isExtensible(e)?0:_B(nB(e))}function yp(e){return pc(e)?e:_m(e,!1,xB,PB,Dk)}function zk(e){return _m(e,!1,MB,CB,Kk)}function Gb(e){return _m(e,!0,SB,IB,Hk)}function XB(e){return _m(e,!0,wB,FB,Gk)}function _m(e,t,n,r,o){if(!Un(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=EB(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return o.set(e,s),s}function fs(e){return pc(e)?fs(e.__v_raw):!!(e&&e.__v_isReactive)}function pc(e){return!!(e&&e.__v_isReadonly)}function Tu(e){return!!(e&&e.__v_isShallow)}function zb(e){return e?!!e.__v_raw:!1}function mn(e){const t=e&&e.__v_raw;return t?mn(t):e}function Em(e){return Object.isExtensible(e)&&kk(e,"__v_skip",!0),e}const Zh=e=>Un(e)?yp(e):e,Jb=e=>Un(e)?Gb(e):e;class Jk{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Md(()=>t(this._value),()=>ud(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=mn(this);return(!t._cacheable||t.effect.dirty)&&Eo(t._value,t._value=t.effect.run())&&ud(t,4),$b(t),t.effect._dirtyLevel>=2&&ud(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function WB(e,t,n=!1){let r,o;const i=Ut(e);return i?(r=e,o=ni):(r=e.get,o=e.set),new Jk(r,o,i||!o,n)}function $b(e){var t;ac&&pu&&(e=mn(e),Wk(pu,(t=e.dep)!=null?t:e.dep=Uk(()=>e.dep=void 0,e instanceof Jk?e:void 0)))}function ud(e,t=4,n,r){e=mn(e);const o=e.dep;o&&Vk(o,t)}function ar(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return $k(e,!1)}function VB(e){return $k(e,!0)}function $k(e,t){return ar(e)?e:new UB(e,t)}class UB{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:mn(t),this._value=n?t:Zh(t)}get value(){return $b(this),this._value}set value(t){const n=this.__v_isShallow||Tu(t)||pc(t);t=n?t:mn(t),Eo(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Zh(t),ud(this,4))}}function YB(e){ud(e,4)}function H(e){return ar(e)?e.value:e}function QB(e){return Ut(e)?e():H(e)}const ZB={get:(e,t,n)=>H(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ar(o)&&!ar(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function jb(e){return fs(e)?e:new Proxy(e,ZB)}class BB{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>$b(this),()=>ud(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function jk(e){return new BB(e)}function qk(e){const t=Mt(e)?new Array(e.length):{};for(const n in e)t[n]=e7(e,n);return t}class DB{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 AB(mn(this._object),this._key)}}class KB{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Bd(e,t,n){return ar(e)?e:Ut(e)?new KB(e):Un(e)&&arguments.length>1?e7(e,t,n):ve(e)}function e7(e,t,n){const r=e[t];return ar(r)?r:new DB(e,t,n)}const HB={GET:"get",HAS:"has",ITERATE:"iterate"},GB={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 zB(e,t){}const JB={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"},$B={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 rl(e,t,n,r){try{return r?e(...r):e()}catch(o){Bu(o,t,n)}}function Ii(e,t,n,r){if(Ut(e)){const o=rl(e,t,n,r);return o&&Ub(o)&&o.catch(i=>{Bu(i,t,n)}),o}if(Mt(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Ii(e[i],t,n,r));return o}}function Bu(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const a=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,a,s)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Sc(),rl(l,null,10,[e,a,s]),Mc();return}}jB(e,n,o,r)}function jB(e,t,n,r=!0){console.error(e)}let Bh=!1,L4=!1;const Ao=[];let rs=0;const fd=[];let Yl=null,nu=0;const t7=Promise.resolve();let qb=null;function pr(e){const t=qb||t7;return e?t.then(this?e.bind(this):e):t}function qB(e){let t=rs+1,n=Ao.length;for(;t<n;){const r=t+n>>>1,o=Ao[r],i=Dh(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function Xm(e){(!Ao.length||!Ao.includes(e,Bh&&e.allowRecurse?rs+1:rs))&&(e.id==null?Ao.push(e):Ao.splice(qB(e.id),0,e),n7())}function n7(){!Bh&&!L4&&(L4=!0,qb=t7.then(r7))}function eD(e){const t=Ao.indexOf(e);t>rs&&Ao.splice(t,1)}function Sg(e){Mt(e)?fd.push(...e):(!Yl||!Yl.includes(e,e.allowRecurse?nu+1:nu))&&fd.push(e),n7()}function IS(e,t,n=Bh?rs+1:0){for(;n<Ao.length;n++){const r=Ao[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ao.splice(n,1),n--,r()}}}function Mg(e){if(fd.length){const t=[...new Set(fd)].sort((n,r)=>Dh(n)-Dh(r));if(fd.length=0,Yl){Yl.push(...t);return}for(Yl=t,nu=0;nu<Yl.length;nu++){const n=Yl[nu];n.active!==!1&&n()}Yl=null,nu=0}}const Dh=e=>e.id==null?1/0:e.id,tD=(e,t)=>{const n=Dh(e)-Dh(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function r7(e){L4=!1,Bh=!0,Ao.sort(tD);try{for(rs=0;rs<Ao.length;rs++){const t=Ao[rs];t&&t.active!==!1&&rl(t,t.i,t.i?15:14)}}finally{rs=0,Ao.length=0,Mg(),Bh=!1,qb=null,(Ao.length||fd.length)&&r7()}}let Ef,$1=[];function o7(e,t){var n,r;Ef=e,Ef?(Ef.enabled=!0,$1.forEach(({event:o,args:i})=>Ef.emit(o,...i)),$1=[]):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(i=>{o7(i,t)}),setTimeout(()=>{Ef||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,$1=[])},3e3)):$1=[]}let Vr=null,Wm=null;function Kh(e){const t=Vr;return Vr=e,Wm=e&&e.type.__scopeId||null,t}function zt(e){Wm=e}function Jt(){Wm=null}const nD=e=>oe;function oe(e,t=Vr,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&_4(-1);const i=Kh(t);let a;try{a=e(...o)}finally{Kh(i),r._d&&_4(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function He(e,t){if(Vr===null)return e;const n=Mp(Vr),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,s,l=Pn]=t[o];i&&(Ut(i)&&(i={mounted:i,updated:i}),i.deep&&$l(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function qa(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let l=s.dir[r];l&&(Sc(),Ii(l,n,8,[e.el,s,e,t]),Mc())}}const Ql=Symbol("_leaveCb"),j1=Symbol("_enterCb");function ex(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Qt(()=>{e.isMounted=!0}),Du(()=>{e.isUnmounting=!0}),e}const Di=[Function,Array],tx={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Di,onEnter:Di,onAfterEnter:Di,onEnterCancelled:Di,onBeforeLeave:Di,onLeave:Di,onAfterLeave:Di,onLeaveCancelled:Di,onBeforeAppear:Di,onAppear:Di,onAfterAppear:Di,onAppearCancelled:Di},i7=e=>{const t=e.subTree;return t.component?i7(t.component):t},rD={name:"BaseTransition",props:tx,setup(e,{slots:t}){const n=dl(),r=ex();return()=>{const o=t.default&&Vm(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const d of o)if(d.type!==Kr){i=d;break}}const a=mn(e),{mode:s}=a;if(r.isLeaving)return jA(i);const l=FS(i);if(!l)return jA(i);let c=wd(l,a,r,n,d=>c=d);vc(l,c);const u=n.subTree,f=u&&FS(u);if(f&&f.type!==Kr&&!Oa(l,f)&&i7(n).type!==Kr){const d=wd(f,a,r,n);if(vc(f,d),s==="out-in"&&l.type!==Kr)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},jA(i);s==="in-out"&&l.type!==Kr&&(d.delayLeave=(h,p,v)=>{const m=s7(r,f);m[String(f.key)]=f,h[Ql]=()=>{p(),h[Ql]=void 0,delete c.delayedLeave},c.delayedLeave=v})}return i}}},a7=rD;function s7(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 wd(e,t,n,r,o){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:v,onBeforeAppear:m,onAppear:x,onAfterAppear:y,onAppearCancelled:R}=t,A=String(e.key),b=s7(n,e),M=(L,k)=>{L&&Ii(L,r,9,k)},T=(L,k)=>{const E=k[1];M(L,k),Mt(L)?L.every(P=>P.length<=1)&&E():L.length<=1&&E()},w={mode:a,persisted:s,beforeEnter(L){let k=l;if(!n.isMounted)if(i)k=m||l;else return;L[Ql]&&L[Ql](!0);const E=b[A];E&&Oa(e,E)&&E.el[Ql]&&E.el[Ql](),M(k,[L])},enter(L){let k=c,E=u,P=f;if(!n.isMounted)if(i)k=x||c,E=y||u,P=R||f;else return;let W=!1;const N=L[j1]=_=>{W||(W=!0,_?M(P,[L]):M(E,[L]),w.delayedLeave&&w.delayedLeave(),L[j1]=void 0)};k?T(k,[L,N]):N()},leave(L,k){const E=String(e.key);if(L[j1]&&L[j1](!0),n.isUnmounting)return k();M(d,[L]);let P=!1;const W=L[Ql]=N=>{P||(P=!0,k(),N?M(v,[L]):M(p,[L]),L[Ql]=void 0,b[E]===e&&delete b[E])};b[E]=e,h?T(h,[L,W]):W()},clone(L){const k=wd(L,t,n,r,o);return o&&o(k),k}};return w}function jA(e){if(bp(e))return e=As(e),e.children=null,e}function FS(e){if(!bp(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ut(n.default))return n.default()}}function vc(e,t){e.shapeFlag&6&&e.component?vc(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 Vm(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===We?(a.patchFlag&128&&o++,r=r.concat(Vm(a.children,t,s))):(t||a.type!==Kr)&&r.push(s!=null?As(a,{key:s}):a)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Ee(e,t){return Ut(e)?hr({name:e.name},t,{setup:e}):e}const gu=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function oD(e){Ut(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=e;let l=null,c,u=0;const f=()=>(u++,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,m)=>{s(p,()=>v(f()),()=>m(p),u+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Ee({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=Wr;if(c)return()=>qA(c,h);const p=y=>{l=null,Bu(y,h,13,!r)};if(a&&h.suspense||Sp)return d().then(y=>()=>qA(y,h)).catch(y=>(p(y),()=>r?O(r,{error:y}):null));const v=ve(!1),m=ve(),x=ve(!!o);return o&&setTimeout(()=>{x.value=!1},o),i!=null&&setTimeout(()=>{if(!v.value&&!m.value){const y=new Error(`Async component timed out after ${i}ms.`);p(y),m.value=y}},i),d().then(()=>{v.value=!0,h.parent&&bp(h.parent.vnode)&&(h.parent.effect.dirty=!0,Xm(h.parent.update))}).catch(y=>{p(y),m.value=y}),()=>{if(v.value&&c)return qA(c,h);if(m.value&&r)return O(r,{error:m.value});if(n&&!x.value)return O(n)}}})}function qA(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=O(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const bp=e=>e.type.__isKeepAlive,iD={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=dl(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,i=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(y,R,A,b,M)=>{const T=y.component;c(y,R,A,0,s),l(T.vnode,y,R,A,T,s,b,y.slotScopeIds,M),Br(()=>{T.isDeactivated=!1,T.a&&cd(T.a);const w=y.props&&y.props.onVnodeMounted;w&&zo(w,T.parent,y)},s)},r.deactivate=y=>{const R=y.component;Og(R.m),Og(R.a),c(y,d,null,1,s),Br(()=>{R.da&&cd(R.da);const A=y.props&&y.props.onVnodeUnmounted;A&&zo(A,R.parent,y),R.isDeactivated=!0},s)};function h(y){eR(y),u(y,n,s,!0)}function p(y){o.forEach((R,A)=>{const b=U4(R.type);b&&(!y||!y(b))&&v(A)})}function v(y){const R=o.get(y);!a||!Oa(R,a)?h(R):a&&eR(a),o.delete(y),i.delete(y)}wt(()=>[e.include,e.exclude],([y,R])=>{y&&p(A=>X0(y,A)),R&&p(A=>!X0(R,A))},{flush:"post",deep:!0});let m=null;const x=()=>{m!=null&&(I4(n.subTree.type)?Br(()=>{o.set(m,q1(n.subTree))},n.subTree.suspense):o.set(m,q1(n.subTree)))};return Qt(x),Ym(x),Du(()=>{o.forEach(y=>{const{subTree:R,suspense:A}=n,b=q1(R);if(y.type===b.type&&y.key===b.key){eR(b);const M=b.component.da;M&&Br(M,A);return}h(y)})}),()=>{if(m=null,!t.default)return null;const y=t.default(),R=y[0];if(y.length>1)return a=null,y;if(!gc(R)||!(R.shapeFlag&4)&&!(R.shapeFlag&128))return a=null,R;let A=q1(R);const b=A.type,M=U4(gu(A)?A.type.__asyncResolved||{}:b),{include:T,exclude:w,max:L}=e;if(T&&(!M||!X0(T,M))||w&&M&&X0(w,M))return a=A,R;const k=A.key==null?b:A.key,E=o.get(k);return A.el&&(A=As(A),R.shapeFlag&128&&(R.ssContent=A)),m=k,E?(A.el=E.el,A.component=E.component,A.transition&&vc(A,A.transition),A.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),L&&i.size>parseInt(L,10)&&v(i.values().next().value)),A.shapeFlag|=256,a=A,I4(R.type)?R:A}}},aD=iD;function X0(e,t){return Mt(e)?e.some(n=>X0(n,t)):ir(e)?e.split(",").includes(t):tB(e)?e.test(t):!1}function l7(e,t){u7(e,"a",t)}function c7(e,t){u7(e,"da",t)}function u7(e,t,n=Wr){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Um(t,r,n),n){let o=n.parent;for(;o&&o.parent;)bp(o.parent.vnode)&&sD(r,t,n,o),o=o.parent}}function sD(e,t,n,r){const o=Um(t,e,r,!0);Sn(()=>{Vb(r[t],o)},n)}function eR(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function q1(e){return e.shapeFlag&128?e.ssContent:e}function Um(e,t,n=Wr,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Sc();const s=Nu(n),l=Ii(t,n,e,a);return s(),Mc(),l});return r?o.unshift(i):o.push(i),i}}const fl=e=>(t,n=Wr)=>{(!Sp||e==="sp")&&Um(e,(...r)=>t(...r),n)},nx=fl("bm"),Qt=fl("m"),f7=fl("bu"),Ym=fl("u"),Du=fl("bum"),Sn=fl("um"),d7=fl("sp"),h7=fl("rtg"),p7=fl("rtc");function v7(e,t=Wr){Um("ec",e,t)}const rx="components",lD="directives";function Se(e,t){return ox(rx,e,!0,t)||e}const g7=Symbol.for("v-ndc");function ws(e){return ir(e)?ox(rx,e,!1)||e:e||g7}function bn(e){return ox(lD,e)}function ox(e,t,n=!0,r=!1){const o=Vr||Wr;if(o){const i=o.type;if(e===rx){const s=U4(i,!1);if(s&&(s===t||s===So(t)||s===Rp(So(t))))return i}const a=_S(o[e]||i[e],t)||_S(o.appContext[e],t);return!a&&r?i:a}}function _S(e,t){return e&&(e[t]||e[So(t)]||e[Rp(So(t))])}function nt(e,t,n,r){let o;const i=n&&n[r];if(Mt(e)||ir(e)){o=new Array(e.length);for(let a=0,s=e.length;a<s;a++)o[a]=t(e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i&&i[a])}else if(Un(e))if(e[Symbol.iterator])o=Array.from(e,(a,s)=>t(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);o=new Array(a.length);for(let s=0,l=a.length;s<l;s++){const c=a[s];o[s]=t(e[c],c,s,i&&i[s])}}else o=[];return n&&(n[r]=o),o}function cD(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Mt(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function sr(e,t,n={},r,o){if(Vr.isCE||Vr.parent&&gu(Vr.parent)&&Vr.parent.isCE)return t!=="default"&&(n.name=t),O("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),U();const a=i&&m7(i(n)),s=ke(We,{key:(n.key||a&&a.key||`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function m7(e){return e.some(t=>gc(t)?!(t.type===Kr||t.type===We&&!m7(t.children)):!0)?e:null}function uD(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:fh(r)]=e[r];return n}const O4=e=>e?q7(e)?Mp(e):O4(e.parent):null,dh=hr(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=>O4(e.parent),$root:e=>O4(e.root),$emit:e=>e.emit,$options:e=>ix(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Xm(e.update)}),$nextTick:e=>e.n||(e.n=pr.bind(e.proxy)),$watch:e=>DD.bind(e)}),tR=(e,t)=>e!==Pn&&!e.__isScriptSetup&&Mn(e,t),T4={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(tR(r,t))return a[t]=1,r[t];if(o!==Pn&&Mn(o,t))return a[t]=2,o[t];if((c=e.propsOptions[0])&&Mn(c,t))return a[t]=3,i[t];if(n!==Pn&&Mn(n,t))return a[t]=4,n[t];k4&&(a[t]=0)}}const u=dh[t];let f,d;if(u)return t==="$attrs"&&ci(e.attrs,"get",""),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Pn&&Mn(n,t))return a[t]=4,n[t];if(d=l.config.globalProperties,Mn(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return tR(o,t)?(o[t]=n,!0):r!==Pn&&Mn(r,t)?(r[t]=n,!0):Mn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||e!==Pn&&Mn(e,a)||tR(t,a)||(s=i[0])&&Mn(s,a)||Mn(r,a)||Mn(dh,a)||Mn(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Mn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},fD=hr({},T4,{get(e,t){if(t!==Symbol.unscopables)return T4.get(e,t,e)},has(e,t){return t[0]!=="_"&&!aB(t)}});function dD(){return null}function hD(){return null}function pD(e){}function vD(e){}function gD(){return null}function mD(){}function AD(e,t){return null}function RD(){return A7().slots}function yD(){return A7().attrs}function A7(){const e=dl();return e.setupContext||(e.setupContext=nN(e))}function Hh(e){return Mt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function bD(e,t){const n=Hh(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?Mt(o)||Ut(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function xD(e,t){return!e||!t?e||t:Mt(e)&&Mt(t)?e.concat(t):hr({},Hh(e),Hh(t))}function SD(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function MD(e){const t=dl();let n=e();return X4(),Ub(n)&&(n=n.catch(r=>{throw Nu(t),r})),[n,()=>Nu(t)]}let k4=!0;function wD(e){const t=ix(e),n=e.proxy,r=e.ctx;k4=!1,t.beforeCreate&&ES(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:m,beforeDestroy:x,beforeUnmount:y,destroyed:R,unmounted:A,render:b,renderTracked:M,renderTriggered:T,errorCaptured:w,serverPrefetch:L,expose:k,inheritAttrs:E,components:P,directives:W,filters:N}=t;if(c&&LD(c,r,null),a)for(const X in a){const Y=a[X];Ut(Y)&&(r[X]=Y.bind(n))}if(o){const X=o.call(n,n);Un(X)&&(e.data=yp(X))}if(k4=!0,i)for(const X in i){const Y=i[X],$=Ut(Y)?Y.bind(n,n):Ut(Y.get)?Y.get.bind(n,n):ni,le=!Ut(Y)&&Ut(Y.set)?Y.set.bind(n):ni,Q=Me({get:$,set:le});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>Q.value,set:K=>Q.value=K})}if(s)for(const X in s)R7(s[X],r,n,X);if(l){const X=Ut(l)?l.call(n):l;Reflect.ownKeys(X).forEach(Y=>{Ku(Y,X[Y])})}u&&ES(u,e,"c");function C(X,Y){Mt(Y)?Y.forEach($=>X($.bind(n))):Y&&X(Y.bind(n))}if(C(nx,f),C(Qt,d),C(f7,h),C(Ym,p),C(l7,v),C(c7,m),C(v7,w),C(p7,M),C(h7,T),C(Du,y),C(Sn,A),C(d7,L),Mt(k))if(k.length){const X=e.exposed||(e.exposed={});k.forEach(Y=>{Object.defineProperty(X,Y,{get:()=>n[Y],set:$=>n[Y]=$})})}else e.exposed||(e.exposed={});b&&e.render===ni&&(e.render=b),E!=null&&(e.inheritAttrs=E),P&&(e.components=P),W&&(e.directives=W)}function LD(e,t,n=ni){Mt(e)&&(e=N4(e));for(const r in e){const o=e[r];let i;Un(o)?"default"in o?i=ri(o.from||r,o.default,!0):i=ri(o.from||r):i=ri(o),ar(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function ES(e,t,n){Ii(Mt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function R7(e,t,n,r){const o=r.includes(".")?Q7(n,r):()=>n[r];if(ir(e)){const i=t[e];Ut(i)&&wt(o,i)}else if(Ut(e))wt(o,e.bind(n));else if(Un(e))if(Mt(e))e.forEach(i=>R7(i,t,n,r));else{const i=Ut(e.handler)?e.handler.bind(n):t[e.handler];Ut(i)&&wt(o,i,e)}}function ix(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>wg(l,c,a,!0)),wg(l,t,a)),Un(t)&&i.set(t,l),l}function wg(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&wg(e,i,n,!0),o&&o.forEach(a=>wg(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=OD[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const OD={data:XS,props:WS,emits:WS,methods:W0,computed:W0,beforeCreate:Po,created:Po,beforeMount:Po,mounted:Po,beforeUpdate:Po,updated:Po,beforeDestroy:Po,beforeUnmount:Po,destroyed:Po,unmounted:Po,activated:Po,deactivated:Po,errorCaptured:Po,serverPrefetch:Po,components:W0,directives:W0,watch:kD,provide:XS,inject:TD};function XS(e,t){return t?e?function(){return hr(Ut(e)?e.call(this,this):e,Ut(t)?t.call(this,this):t)}:t:e}function TD(e,t){return W0(N4(e),N4(t))}function N4(e){if(Mt(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Po(e,t){return e?[...new Set([].concat(e,t))]:t}function W0(e,t){return e?hr(Object.create(null),e,t):t}function WS(e,t){return e?Mt(e)&&Mt(t)?[...new Set([...e,...t])]:hr(Object.create(null),Hh(e),Hh(t??{})):t}function kD(e,t){if(!e)return t;if(!t)return e;const n=hr(Object.create(null),e);for(const r in t)n[r]=Po(e[r],t[r]);return n}function y7(){return{app:null,config:{isNativeTag:qZ,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ND=0;function PD(e,t){return function(r,o=null){Ut(r)||(r=hr({},r)),o!=null&&!Un(o)&&(o=null);const i=y7(),a=new WeakSet;let s=!1;const l=i.app={_uid:ND++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:iN,get config(){return i.config},set config(c){},use(c,...u){return a.has(c)||(c&&Ut(c.install)?(a.add(c),c.install(l,...u)):Ut(c)&&(a.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(!s){const d=O(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),s=!0,l._container=c,c.__vue_app__=l,Mp(d.component)}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l},runWithContext(c){const u=dd;dd=l;try{return c()}finally{dd=u}}};return l}}let dd=null;function Ku(e,t){if(Wr){let n=Wr.provides;const r=Wr.parent&&Wr.parent.provides;r===n&&(n=Wr.provides=Object.create(r)),n[e]=t}}function ri(e,t,n=!1){const r=Wr||Vr;if(r||dd){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:dd._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Ut(t)?t.call(r&&r.proxy):t}}function b7(){return!!(Wr||Vr||dd)}const x7={},S7=()=>Object.create(x7),M7=e=>Object.getPrototypeOf(e)===x7;function CD(e,t,n,r=!1){const o={},i=S7();e.propsDefaults=Object.create(null),w7(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:zk(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function ID(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=mn(o),[l]=e.propsOptions;let c=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Qm(e.emitsOptions,d))continue;const h=t[d];if(l)if(Mn(i,d))h!==i[d]&&(i[d]=h,c=!0);else{const p=So(d);o[p]=P4(l,s,p,h,e,!1)}else h!==i[d]&&(i[d]=h,c=!0)}}}else{w7(e,t,o,i)&&(c=!0);let u;for(const f in s)(!t||!Mn(t,f)&&((u=qo(f))===f||!Mn(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=P4(l,s,f,void 0,e,!0)):delete o[f]);if(i!==s)for(const f in i)(!t||!Mn(t,f))&&(delete i[f],c=!0)}c&&nl(e.attrs,"set","")}function w7(e,t,n,r){const[o,i]=e.propsOptions;let a=!1,s;if(t)for(let l in t){if(ld(l))continue;const c=t[l];let u;o&&Mn(o,u=So(l))?!i||!i.includes(u)?n[u]=c:(s||(s={}))[u]=c:Qm(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,a=!0)}if(i){const l=mn(n),c=s||Pn;for(let u=0;u<i.length;u++){const f=i[u];n[f]=P4(o,l,f,c[f],e,!Mn(c,f))}}return a}function P4(e,t,n,r,o,i){const a=e[n];if(a!=null){const s=Mn(a,"default");if(s&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ut(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=Nu(o);r=c[n]=l.call(null,t),u()}}else r=l}a[0]&&(i&&!s?r=!1:a[1]&&(r===""||r===qo(n))&&(r=!0))}return r}const FD=new WeakMap;function L7(e,t,n=!1){const r=n?FD:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,a={},s=[];let l=!1;if(!Ut(e)){const u=f=>{l=!0;const[d,h]=L7(f,t,!0);hr(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Un(e)&&r.set(e,ad),ad;if(Mt(i))for(let u=0;u<i.length;u++){const f=So(i[u]);VS(f)&&(a[f]=Pn)}else if(i)for(const u in i){const f=So(u);if(VS(f)){const d=i[u],h=a[f]=Mt(d)||Ut(d)?{type:d}:hr({},d);if(h){const p=QS(Boolean,h.type),v=QS(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||Mn(h,"default"))&&s.push(f)}}}const c=[a,s];return Un(e)&&r.set(e,c),c}function VS(e){return e[0]!=="$"&&!ld(e)}function US(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function YS(e,t){return US(e)===US(t)}function QS(e,t){return Mt(t)?t.findIndex(n=>YS(n,e)):Ut(t)&&YS(t,e)?0:-1}const O7=e=>e[0]==="_"||e==="$stable",ax=e=>Mt(e)?e.map(jo):[jo(e)],_D=(e,t,n)=>{if(t._n)return t;const r=oe((...o)=>ax(t(...o)),n);return r._c=!1,r},T7=(e,t,n)=>{const r=e._ctx;for(const o in e){if(O7(o))continue;const i=e[o];if(Ut(i))t[o]=_D(o,i,r);else if(i!=null){const a=ax(i);t[o]=()=>a}}},k7=(e,t)=>{const n=ax(t);e.slots.default=()=>n},N7=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},ED=(e,t,n)=>{const r=e.slots=S7();if(e.vnode.shapeFlag&32){const o=t._;o?(N7(r,t,n),n&&kk(r,"_",o,!0)):T7(t,r)}else t&&k7(e,t)},XD=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=Pn;if(r.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:N7(o,t,n):(i=!t.$stable,T7(t,o)),a=t}else t&&(k7(e,t),a={default:1});if(i)for(const s in o)!O7(s)&&a[s]==null&&delete o[s]};function Lg(e,t,n,r,o=!1){if(Mt(e)){e.forEach((d,h)=>Lg(d,t&&(Mt(t)?t[h]:t),n,r,o));return}if(gu(r)&&!o)return;const i=r.shapeFlag&4?Mp(r.component):r.el,a=o?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Pn?s.refs={}:s.refs,f=s.setupState;if(c!=null&&c!==l&&(ir(c)?(u[c]=null,Mn(f,c)&&(f[c]=null)):ar(c)&&(c.value=null)),Ut(l))rl(l,s,12,[a,u]);else{const d=ir(l),h=ar(l);if(d||h){const p=()=>{if(e.f){const v=d?Mn(f,l)?f[l]:u[l]:l.value;o?Mt(v)&&Vb(v,i):Mt(v)?v.includes(i)||v.push(i):d?(u[l]=[i],Mn(f,l)&&(f[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else d?(u[l]=a,Mn(f,l)&&(f[l]=a)):h&&(l.value=a,e.k&&(u[e.k]=a))};a?(p.id=-1,Br(p,n)):p()}}}const P7=Symbol("_vte"),WD=e=>e.__isTeleport,hh=e=>e&&(e.disabled||e.disabled===""),ZS=e=>typeof SVGElement<"u"&&e instanceof SVGElement,BS=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,C4=(e,t)=>{const n=e&&e.to;return ir(n)?t?t(n):null:n},VD={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,s,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:v,createComment:m}}=c,x=hh(t.props);let{shapeFlag:y,children:R,dynamicChildren:A}=t;if(e==null){const b=t.el=v(""),M=t.anchor=v(""),T=t.target=C4(t.props,p),w=t.targetStart=v(""),L=t.targetAnchor=v("");h(b,n,r),h(M,n,r),w[P7]=L,T&&(h(w,T),h(L,T),a==="svg"||ZS(T)?a="svg":(a==="mathml"||BS(T))&&(a="mathml"));const k=(E,P)=>{y&16&&u(R,E,P,o,i,a,s,l)};x?k(n,M):T&&k(T,L)}else{t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,M=t.target=e.target,T=t.targetAnchor=e.targetAnchor,w=hh(e.props),L=w?n:M,k=w?b:T;if(a==="svg"||ZS(M)?a="svg":(a==="mathml"||BS(M))&&(a="mathml"),A?(d(e.dynamicChildren,A,L,o,i,a,s),lx(e,t,!0)):l||f(e,t,L,k,o,i,a,s,!1),x)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ev(t,n,b,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const E=t.target=C4(t.props,p);E&&ev(t,E,null,c,0)}else w&&ev(t,M,T,c,1)}C7(t)},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(o(c),o(u)),i&&o(l),a&16){const h=i||!hh(d);for(let p=0;p<s.length;p++){const v=s[p];r(v,t,n,h,!!v.dynamicChildren)}}},move:ev,hydrate:UD};function ev(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:c,props:u}=e,f=i===2;if(f&&r(a,t,n),(!f||hh(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(s,t,n)}function UD(e,t,n,r,o,i,{o:{nextSibling:a,parentNode:s,querySelector:l}},c){const u=t.target=C4(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(hh(t.props))t.anchor=c(a(e),t,s(e),n,r,o,i),t.targetAnchor=f;else{t.anchor=a(e);let d=f;for(;d;)if(d=a(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&a(t.targetAnchor);break}c(f,t,u,n,r,o,i)}C7(t)}return t.anchor&&a(t.anchor)}const sx=VD;function C7(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}let DS=!1;const yf=()=>{DS||(console.error("Hydration completed but contains mismatches."),DS=!0)},YD=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",QD=e=>e.namespaceURI.includes("MathML"),tv=e=>{if(YD(e))return"svg";if(QD(e))return"mathml"},nv=e=>e.nodeType===8;function ZD(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:s,insert:l,createComment:c}}=e,u=(R,A)=>{if(!A.hasChildNodes()){n(null,R,A),Mg(),A._vnode=R;return}f(A.firstChild,R,null,null,null),Mg(),A._vnode=R},f=(R,A,b,M,T,w=!1)=>{w=w||!!A.dynamicChildren;const L=nv(R)&&R.data==="[",k=()=>v(R,A,b,M,T,L),{type:E,ref:P,shapeFlag:W,patchFlag:N}=A;let _=R.nodeType;A.el=R,N===-2&&(w=!1,A.dynamicChildren=null);let C=null;switch(E){case sc:_!==3?A.children===""?(l(A.el=o(""),a(R),R),C=R):C=k():(R.data!==A.children&&(yf(),R.data=A.children),C=i(R));break;case Kr:y(R)?(C=i(R),x(A.el=R.content.firstChild,R,b)):_!==8||L?C=k():C=i(R);break;case mu:if(L&&(R=i(R),_=R.nodeType),_===1||_===3){C=R;const X=!A.children.length;for(let Y=0;Y<A.staticCount;Y++)X&&(A.children+=C.nodeType===1?C.outerHTML:C.data),Y===A.staticCount-1&&(A.anchor=C),C=i(C);return L?i(C):C}else k();break;case We:L?C=p(R,A,b,M,T,w):C=k();break;default:if(W&1)(_!==1||A.type.toLowerCase()!==R.tagName.toLowerCase())&&!y(R)?C=k():C=d(R,A,b,M,T,w);else if(W&6){A.slotScopeIds=T;const X=a(R);if(L?C=m(R):nv(R)&&R.data==="teleport start"?C=m(R,R.data,"teleport end"):C=i(R),t(A,X,null,b,M,tv(X),w),gu(A)){let Y;L?(Y=O(We),Y.anchor=C?C.previousSibling:X.lastChild):Y=R.nodeType===3?Ve(""):O("div"),Y.el=R,A.component.subTree=Y}}else W&64?_!==8?C=k():C=A.type.hydrate(R,A,b,M,T,w,e,h):W&128&&(C=A.type.hydrate(R,A,b,M,tv(a(R)),T,w,e,f))}return P!=null&&Lg(P,null,M,A),C},d=(R,A,b,M,T,w)=>{w=w||!!A.dynamicChildren;const{type:L,props:k,patchFlag:E,shapeFlag:P,dirs:W,transition:N}=A,_=L==="input"||L==="option";if(_||E!==-1){W&&qa(A,null,b,"created");let C=!1;if(y(R)){C=E7(M,N)&&b&&b.vnode.props&&b.vnode.props.appear;const Y=R.content.firstChild;C&&N.beforeEnter(Y),x(Y,R,b),A.el=R=Y}if(P&16&&!(k&&(k.innerHTML||k.textContent))){let Y=h(R.firstChild,A,R,b,M,T,w);for(;Y;){yf();const $=Y;Y=Y.nextSibling,s($)}}else P&8&&R.textContent!==A.children&&(yf(),R.textContent=A.children);if(k){if(_||!w||E&48)for(const Y in k)(_&&(Y.endsWith("value")||Y==="indeterminate")||Ap(Y)&&!ld(Y)||Y[0]===".")&&r(R,Y,null,k[Y],void 0,b);else if(k.onClick)r(R,"onClick",null,k.onClick,void 0,b);else if(E&4&&fs(k.style))for(const Y in k.style)k.style[Y]}let X;(X=k&&k.onVnodeBeforeMount)&&zo(X,b,A),W&&qa(A,null,b,"beforeMount"),((X=k&&k.onVnodeMounted)||W||C)&&K7(()=>{X&&zo(X,b,A),C&&N.enter(R),W&&qa(A,null,b,"mounted")},M)}return R.nextSibling},h=(R,A,b,M,T,w,L)=>{L=L||!!A.dynamicChildren;const k=A.children,E=k.length;for(let P=0;P<E;P++){const W=L?k[P]:k[P]=jo(k[P]),N=W.type===sc;if(R){if(N&&!L){let _=k[P+1];_&&(_=jo(_)).type===sc&&(l(o(R.data.slice(W.children.length)),b,i(R)),R.data=W.children)}R=f(R,W,M,T,w,L)}else N&&!W.children?l(W.el=o(""),b):(yf(),n(null,W,b,null,M,T,tv(b),w))}return R},p=(R,A,b,M,T,w)=>{const{slotScopeIds:L}=A;L&&(T=T?T.concat(L):L);const k=a(R),E=h(i(R),A,k,b,M,T,w);return E&&nv(E)&&E.data==="]"?i(A.anchor=E):(yf(),l(A.anchor=c("]"),k,E),E)},v=(R,A,b,M,T,w)=>{if(yf(),A.el=null,w){const E=m(R);for(;;){const P=i(R);if(P&&P!==E)s(P);else break}}const L=i(R),k=a(R);return s(R),n(null,A,k,L,b,M,tv(k),T),L},m=(R,A="[",b="]")=>{let M=0;for(;R;)if(R=i(R),R&&nv(R)&&(R.data===A&&M++,R.data===b)){if(M===0)return i(R);M--}return R},x=(R,A,b)=>{const M=A.parentNode;M&&M.replaceChild(R,A);let T=b;for(;T;)T.vnode.el===A&&(T.vnode.el=T.subTree.el=R),T=T.parent},y=R=>R.nodeType===1&&R.tagName.toLowerCase()==="template";return[u,f]}const Br=K7;function I7(e){return _7(e)}function F7(e){return _7(e,ZD)}function _7(e,t){const n=Nk();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=ni,insertStaticContent:p}=e,v=(z,F,j,ie=null,q=null,te=null,re=void 0,he=null,ce=!!F.dynamicChildren)=>{if(z===F)return;z&&!Oa(z,F)&&(ie=se(z),K(z,q,te,!0),z=null),F.patchFlag===-2&&(ce=!1,F.dynamicChildren=null);const{type:pe,ref:xe,shapeFlag:_e}=F;switch(pe){case sc:m(z,F,j,ie);break;case Kr:x(z,F,j,ie);break;case mu:z==null&&y(F,j,ie,re);break;case We:P(z,F,j,ie,q,te,re,he,ce);break;default:_e&1?b(z,F,j,ie,q,te,re,he,ce):_e&6?W(z,F,j,ie,q,te,re,he,ce):(_e&64||_e&128)&&pe.process(z,F,j,ie,q,te,re,he,ce,fe)}xe!=null&&q&&Lg(xe,z&&z.ref,te,F||z,!F)},m=(z,F,j,ie)=>{if(z==null)r(F.el=s(F.children),j,ie);else{const q=F.el=z.el;F.children!==z.children&&c(q,F.children)}},x=(z,F,j,ie)=>{z==null?r(F.el=l(F.children||""),j,ie):F.el=z.el},y=(z,F,j,ie)=>{[z.el,z.anchor]=p(z.children,F,j,ie,z.el,z.anchor)},R=({el:z,anchor:F},j,ie)=>{let q;for(;z&&z!==F;)q=d(z),r(z,j,ie),z=q;r(F,j,ie)},A=({el:z,anchor:F})=>{let j;for(;z&&z!==F;)j=d(z),o(z),z=j;o(F)},b=(z,F,j,ie,q,te,re,he,ce)=>{F.type==="svg"?re="svg":F.type==="math"&&(re="mathml"),z==null?M(F,j,ie,q,te,re,he,ce):L(z,F,q,te,re,he,ce)},M=(z,F,j,ie,q,te,re,he)=>{let ce,pe;const{props:xe,shapeFlag:_e,transition:Ae,dirs:Be}=z;if(ce=z.el=a(z.type,te,xe&&xe.is,xe),_e&8?u(ce,z.children):_e&16&&w(z.children,ce,null,ie,q,nR(z,te),re,he),Be&&qa(z,null,ie,"created"),T(ce,z,z.scopeId,re,ie),xe){for(const De in xe)De!=="value"&&!ld(De)&&i(ce,De,null,xe[De],te,ie);"value"in xe&&i(ce,"value",null,xe.value,te),(pe=xe.onVnodeBeforeMount)&&zo(pe,ie,z)}Be&&qa(z,null,ie,"beforeMount");const Te=E7(q,Ae);Te&&Ae.beforeEnter(ce),r(ce,F,j),((pe=xe&&xe.onVnodeMounted)||Te||Be)&&Br(()=>{pe&&zo(pe,ie,z),Te&&Ae.enter(ce),Be&&qa(z,null,ie,"mounted")},q)},T=(z,F,j,ie,q)=>{if(j&&h(z,j),ie)for(let te=0;te<ie.length;te++)h(z,ie[te]);if(q){let te=q.subTree;if(F===te){const re=q.vnode;T(z,re,re.scopeId,re.slotScopeIds,q.parent)}}},w=(z,F,j,ie,q,te,re,he,ce=0)=>{for(let pe=ce;pe<z.length;pe++){const xe=z[pe]=he?Zl(z[pe]):jo(z[pe]);v(null,xe,F,j,ie,q,te,re,he)}},L=(z,F,j,ie,q,te,re)=>{const he=F.el=z.el;let{patchFlag:ce,dynamicChildren:pe,dirs:xe}=F;ce|=z.patchFlag&16;const _e=z.props||Pn,Ae=F.props||Pn;let Be;if(j&&Bc(j,!1),(Be=Ae.onVnodeBeforeUpdate)&&zo(Be,j,F,z),xe&&qa(F,z,j,"beforeUpdate"),j&&Bc(j,!0),(_e.innerHTML&&Ae.innerHTML==null||_e.textContent&&Ae.textContent==null)&&u(he,""),pe?k(z.dynamicChildren,pe,he,j,ie,nR(F,q),te):re||Y(z,F,he,null,j,ie,nR(F,q),te,!1),ce>0){if(ce&16)E(he,_e,Ae,j,q);else if(ce&2&&_e.class!==Ae.class&&i(he,"class",null,Ae.class,q),ce&4&&i(he,"style",_e.style,Ae.style,q),ce&8){const Te=F.dynamicProps;for(let De=0;De<Te.length;De++){const ye=Te[De],Le=_e[ye],Pe=Ae[ye];(Pe!==Le||ye==="value")&&i(he,ye,Le,Pe,q,j)}}ce&1&&z.children!==F.children&&u(he,F.children)}else!re&&pe==null&&E(he,_e,Ae,j,q);((Be=Ae.onVnodeUpdated)||xe)&&Br(()=>{Be&&zo(Be,j,F,z),xe&&qa(F,z,j,"updated")},ie)},k=(z,F,j,ie,q,te,re)=>{for(let he=0;he<F.length;he++){const ce=z[he],pe=F[he],xe=ce.el&&(ce.type===We||!Oa(ce,pe)||ce.shapeFlag&70)?f(ce.el):j;v(ce,pe,xe,null,ie,q,te,re,!0)}},E=(z,F,j,ie,q)=>{if(F!==j){if(F!==Pn)for(const te in F)!ld(te)&&!(te in j)&&i(z,te,F[te],null,q,ie);for(const te in j){if(ld(te))continue;const re=j[te],he=F[te];re!==he&&te!=="value"&&i(z,te,he,re,q,ie)}"value"in j&&i(z,"value",F.value,j.value,q)}},P=(z,F,j,ie,q,te,re,he,ce)=>{const pe=F.el=z?z.el:s(""),xe=F.anchor=z?z.anchor:s("");let{patchFlag:_e,dynamicChildren:Ae,slotScopeIds:Be}=F;Be&&(he=he?he.concat(Be):Be),z==null?(r(pe,j,ie),r(xe,j,ie),w(F.children||[],j,xe,q,te,re,he,ce)):_e>0&&_e&64&&Ae&&z.dynamicChildren?(k(z.dynamicChildren,Ae,j,q,te,re,he),(F.key!=null||q&&F===q.subTree)&&lx(z,F,!0)):Y(z,F,j,xe,q,te,re,he,ce)},W=(z,F,j,ie,q,te,re,he,ce)=>{F.slotScopeIds=he,z==null?F.shapeFlag&512?q.ctx.activate(F,j,ie,re,ce):N(F,j,ie,q,te,re,ce):_(z,F,ce)},N=(z,F,j,ie,q,te,re)=>{const he=z.component=j7(z,ie,q);if(bp(z)&&(he.ctx.renderer=fe),eN(he,!1,re),he.asyncDep){if(q&&q.registerDep(he,C,re),!z.el){const ce=he.subTree=O(Kr);x(null,ce,F,j)}}else C(he,z,F,j,q,te,re)},_=(z,F,j)=>{const ie=F.component=z.component;if($D(z,F,j))if(ie.asyncDep&&!ie.asyncResolved){X(ie,F,j);return}else ie.next=F,eD(ie.update),ie.effect.dirty=!0,ie.update();else F.el=z.el,ie.vnode=F},C=(z,F,j,ie,q,te,re)=>{const he=()=>{if(z.isMounted){let{next:xe,bu:_e,u:Ae,parent:Be,vnode:Te}=z;{const Ye=X7(z);if(Ye){xe&&(xe.el=Te.el,X(z,xe,re)),Ye.asyncDep.then(()=>{z.isUnmounted||he()});return}}let De=xe,ye;Bc(z,!1),xe?(xe.el=Te.el,X(z,xe,re)):xe=Te,_e&&cd(_e),(ye=xe.props&&xe.props.onVnodeBeforeUpdate)&&zo(ye,Be,xe,Te),Bc(z,!0);const Le=Vv(z),Pe=z.subTree;z.subTree=Le,v(Pe,Le,f(Pe.el),se(Pe),z,q,te),xe.el=Le.el,De===null&&cx(z,Le.el),Ae&&Br(Ae,q),(ye=xe.props&&xe.props.onVnodeUpdated)&&Br(()=>zo(ye,Be,xe,Te),q)}else{let xe;const{el:_e,props:Ae}=F,{bm:Be,m:Te,parent:De}=z,ye=gu(F);if(Bc(z,!1),Be&&cd(Be),!ye&&(xe=Ae&&Ae.onVnodeBeforeMount)&&zo(xe,De,F),Bc(z,!0),_e&&ue){const Le=()=>{z.subTree=Vv(z),ue(_e,z.subTree,z,q,null)};ye?F.type.__asyncLoader().then(()=>!z.isUnmounted&&Le()):Le()}else{const Le=z.subTree=Vv(z);v(null,Le,j,ie,z,q,te),F.el=Le.el}if(Te&&Br(Te,q),!ye&&(xe=Ae&&Ae.onVnodeMounted)){const Le=F;Br(()=>zo(xe,De,Le),q)}(F.shapeFlag&256||De&&gu(De.vnode)&&De.vnode.shapeFlag&256)&&z.a&&Br(z.a,q),z.isMounted=!0,F=j=ie=null}},ce=z.effect=new Md(he,ni,()=>Xm(pe),z.scope),pe=z.update=()=>{ce.dirty&&ce.run()};pe.i=z,pe.id=z.uid,Bc(z,!0),pe()},X=(z,F,j)=>{F.component=z;const ie=z.vnode.props;z.vnode=F,z.next=null,ID(z,F.props,ie,j),XD(z,F.children,j),Sc(),IS(z),Mc()},Y=(z,F,j,ie,q,te,re,he,ce=!1)=>{const pe=z&&z.children,xe=z?z.shapeFlag:0,_e=F.children,{patchFlag:Ae,shapeFlag:Be}=F;if(Ae>0){if(Ae&128){le(pe,_e,j,ie,q,te,re,he,ce);return}else if(Ae&256){$(pe,_e,j,ie,q,te,re,he,ce);return}}Be&8?(xe&16&&ae(pe,q,te),_e!==pe&&u(j,_e)):xe&16?Be&16?le(pe,_e,j,ie,q,te,re,he,ce):ae(pe,q,te,!0):(xe&8&&u(j,""),Be&16&&w(_e,j,ie,q,te,re,he,ce))},$=(z,F,j,ie,q,te,re,he,ce)=>{z=z||ad,F=F||ad;const pe=z.length,xe=F.length,_e=Math.min(pe,xe);let Ae;for(Ae=0;Ae<_e;Ae++){const Be=F[Ae]=ce?Zl(F[Ae]):jo(F[Ae]);v(z[Ae],Be,j,null,q,te,re,he,ce)}pe>xe?ae(z,q,te,!0,!1,_e):w(F,j,ie,q,te,re,he,ce,_e)},le=(z,F,j,ie,q,te,re,he,ce)=>{let pe=0;const xe=F.length;let _e=z.length-1,Ae=xe-1;for(;pe<=_e&&pe<=Ae;){const Be=z[pe],Te=F[pe]=ce?Zl(F[pe]):jo(F[pe]);if(Oa(Be,Te))v(Be,Te,j,null,q,te,re,he,ce);else break;pe++}for(;pe<=_e&&pe<=Ae;){const Be=z[_e],Te=F[Ae]=ce?Zl(F[Ae]):jo(F[Ae]);if(Oa(Be,Te))v(Be,Te,j,null,q,te,re,he,ce);else break;_e--,Ae--}if(pe>_e){if(pe<=Ae){const Be=Ae+1,Te=Be<xe?F[Be].el:ie;for(;pe<=Ae;)v(null,F[pe]=ce?Zl(F[pe]):jo(F[pe]),j,Te,q,te,re,he,ce),pe++}}else if(pe>Ae)for(;pe<=_e;)K(z[pe],q,te,!0),pe++;else{const Be=pe,Te=pe,De=new Map;for(pe=Te;pe<=Ae;pe++){const et=F[pe]=ce?Zl(F[pe]):jo(F[pe]);et.key!=null&&De.set(et.key,pe)}let ye,Le=0;const Pe=Ae-Te+1;let Ye=!1,rt=0;const Ne=new Array(Pe);for(pe=0;pe<Pe;pe++)Ne[pe]=0;for(pe=Be;pe<=_e;pe++){const et=z[pe];if(Le>=Pe){K(et,q,te,!0);continue}let At;if(et.key!=null)At=De.get(et.key);else for(ye=Te;ye<=Ae;ye++)if(Ne[ye-Te]===0&&Oa(et,F[ye])){At=ye;break}At===void 0?K(et,q,te,!0):(Ne[At-Te]=pe+1,At>=rt?rt=At:Ye=!0,v(et,F[At],j,null,q,te,re,he,ce),Le++)}const Ke=Ye?BD(Ne):ad;for(ye=Ke.length-1,pe=Pe-1;pe>=0;pe--){const et=Te+pe,At=F[et],ut=et+1<xe?F[et+1].el:ie;Ne[pe]===0?v(null,At,j,ut,q,te,re,he,ce):Ye&&(ye<0||pe!==Ke[ye]?Q(At,j,ut,2):ye--)}}},Q=(z,F,j,ie,q=null)=>{const{el:te,type:re,transition:he,children:ce,shapeFlag:pe}=z;if(pe&6){Q(z.component.subTree,F,j,ie);return}if(pe&128){z.suspense.move(F,j,ie);return}if(pe&64){re.move(z,F,j,fe);return}if(re===We){r(te,F,j);for(let _e=0;_e<ce.length;_e++)Q(ce[_e],F,j,ie);r(z.anchor,F,j);return}if(re===mu){R(z,F,j);return}if(ie!==2&&pe&1&&he)if(ie===0)he.beforeEnter(te),r(te,F,j),Br(()=>he.enter(te),q);else{const{leave:_e,delayLeave:Ae,afterLeave:Be}=he,Te=()=>r(te,F,j),De=()=>{_e(te,()=>{Te(),Be&&Be()})};Ae?Ae(te,Te,De):De()}else r(te,F,j)},K=(z,F,j,ie=!1,q=!1)=>{const{type:te,props:re,ref:he,children:ce,dynamicChildren:pe,shapeFlag:xe,patchFlag:_e,dirs:Ae,cacheIndex:Be}=z;if(_e===-2&&(q=!1),he!=null&&Lg(he,null,j,z,!0),Be!=null&&(F.renderCache[Be]=void 0),xe&256){F.ctx.deactivate(z);return}const Te=xe&1&&Ae,De=!gu(z);let ye;if(De&&(ye=re&&re.onVnodeBeforeUnmount)&&zo(ye,F,z),xe&6)G(z.component,j,ie);else{if(xe&128){z.suspense.unmount(j,ie);return}Te&&qa(z,null,F,"beforeUnmount"),xe&64?z.type.remove(z,F,j,fe,ie):pe&&!pe.hasOnce&&(te!==We||_e>0&&_e&64)?ae(pe,F,j,!1,!0):(te===We&&_e&384||!q&&xe&16)&&ae(ce,F,j),ie&&B(z)}(De&&(ye=re&&re.onVnodeUnmounted)||Te)&&Br(()=>{ye&&zo(ye,F,z),Te&&qa(z,null,F,"unmounted")},j)},B=z=>{const{type:F,el:j,anchor:ie,transition:q}=z;if(F===We){D(j,ie);return}if(F===mu){A(z);return}const te=()=>{o(j),q&&!q.persisted&&q.afterLeave&&q.afterLeave()};if(z.shapeFlag&1&&q&&!q.persisted){const{leave:re,delayLeave:he}=q,ce=()=>re(j,te);he?he(z.el,te,ce):ce()}else te()},D=(z,F)=>{let j;for(;z!==F;)j=d(z),o(z),z=j;o(F)},G=(z,F,j)=>{const{bum:ie,scope:q,update:te,subTree:re,um:he,m:ce,a:pe}=z;Og(ce),Og(pe),ie&&cd(ie),q.stop(),te&&(te.active=!1,K(re,z,F,j)),he&&Br(he,F),Br(()=>{z.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&z.asyncDep&&!z.asyncResolved&&z.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve())},ae=(z,F,j,ie=!1,q=!1,te=0)=>{for(let re=te;re<z.length;re++)K(z[re],F,j,ie,q)},se=z=>{if(z.shapeFlag&6)return se(z.component.subTree);if(z.shapeFlag&128)return z.suspense.next();const F=d(z.anchor||z.el),j=F&&F[P7];return j?d(j):F};let J=!1;const Re=(z,F,j)=>{z==null?F._vnode&&K(F._vnode,null,null,!0):v(F._vnode||null,z,F,null,null,null,j),J||(J=!0,IS(),Mg(),J=!1),F._vnode=z},fe={p:v,um:K,m:Q,r:B,mt:N,mc:w,pc:Y,pbc:k,n:se,o:e};let me,ue;return t&&([me,ue]=t(fe)),{render:Re,hydrate:me,createApp:PD(Re,me)}}function nR({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 Bc({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function E7(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lx(e,t,n=!1){const r=e.children,o=t.children;if(Mt(r)&&Mt(o))for(let i=0;i<r.length;i++){const a=r[i];let s=o[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[i]=Zl(o[i]),s.el=a.el),!n&&s.patchFlag!==-2&&lx(a,s)),s.type===sc&&(s.el=a.el)}}function BD(e){const t=e.slice(),n=[0];let r,o,i,a,s;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<c?i=s+1:a=s;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function X7(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:X7(t)}function Og(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const W7=Symbol.for("v-scx"),V7=()=>ri(W7);function Dd(e,t){return xp(e,null,t)}function U7(e,t){return xp(e,null,{flush:"post"})}function Y7(e,t){return xp(e,null,{flush:"sync"})}const rv={};function wt(e,t,n){return xp(e,t,n)}function xp(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:a,onTrigger:s}=Pn){if(t&&i){const M=t;t=(...T)=>{M(...T),b()}}const l=Wr,c=M=>r===!0?M:$l(M,r===!1?1:void 0);let u,f=!1,d=!1;if(ar(e)?(u=()=>e.value,f=Tu(e)):fs(e)?(u=()=>c(e),f=!0):Mt(e)?(d=!0,f=e.some(M=>fs(M)||Tu(M)),u=()=>e.map(M=>{if(ar(M))return M.value;if(fs(M))return c(M);if(Ut(M))return rl(M,l,2)})):Ut(e)?t?u=()=>rl(e,l,2):u=()=>(h&&h(),Ii(e,l,3,[p])):u=ni,t&&r){const M=u;u=()=>$l(M())}let h,p=M=>{h=R.onStop=()=>{rl(M,l,4),h=R.onStop=void 0}},v;if(Sp)if(p=ni,t?n&&Ii(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const M=V7();v=M.__watcherHandles||(M.__watcherHandles=[])}else return ni;let m=d?new Array(e.length).fill(rv):rv;const x=()=>{if(!(!R.active||!R.dirty))if(t){const M=R.run();(r||f||(d?M.some((T,w)=>Eo(T,m[w])):Eo(M,m)))&&(h&&h(),Ii(t,l,3,[M,m===rv?void 0:d&&m[0]===rv?[]:m,p]),m=M)}else R.run()};x.allowRecurse=!!t;let y;o==="sync"?y=x:o==="post"?y=()=>Br(x,l&&l.suspense):(x.pre=!0,l&&(x.id=l.uid),y=()=>Xm(x));const R=new Md(u,ni,y),A=Bb(),b=()=>{R.stop(),A&&Vb(A.effects,R)};return t?n?x():m=R.run():o==="post"?Br(R.run.bind(R),l&&l.suspense):R.run(),v&&v.push(b),b}function DD(e,t,n){const r=this.proxy,o=ir(e)?e.includes(".")?Q7(r,e):()=>r[e]:e.bind(r,r);let i;Ut(t)?i=t:(i=t.handler,n=t);const a=Nu(this),s=xp(o,i.bind(r),n);return a(),s}function Q7(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function $l(e,t=1/0,n){if(t<=0||!Un(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ar(e))$l(e.value,t,n);else if(Mt(e))for(let r=0;r<e.length;r++)$l(e[r],t,n);else if(Zu(e)||sd(e))e.forEach(r=>{$l(r,t,n)});else if(Tk(e)){for(const r in e)$l(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&$l(e[r],t,n)}return e}function KD(e,t,n=Pn){const r=dl(),o=So(t),i=qo(t),a=Z7(e,t),s=jk((l,c)=>{let u,f=Pn,d;return Y7(()=>{const h=e[t];Eo(u,h)&&(u=h,c())}),{get(){return l(),n.get?n.get(u):u},set(h){if(!Eo(h,u)&&!(f!==Pn&&Eo(h,f)))return;const p=r.vnode.props;p&&(t in p||o in p||i in p)&&(`onUpdate:${t}`in p||`onUpdate:${o}`in p||`onUpdate:${i}`in p)||(u=h,c());const v=n.set?n.set(h):h;r.emit(`update:${t}`,v),Eo(h,v)&&Eo(h,f)&&!Eo(v,d)&&c(),f=h,d=v}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?a||Pn:s,done:!1}:{done:!0}}}},s}const Z7=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${So(t)}Modifiers`]||e[`${qo(t)}Modifiers`];function HD(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Pn;let o=n;const i=t.startsWith("update:"),a=i&&Z7(r,t.slice(7));a&&(a.trim&&(o=n.map(u=>ir(u)?u.trim():u)),a.number&&(o=n.map(yg)));let s,l=r[s=fh(t)]||r[s=fh(So(t))];!l&&i&&(l=r[s=fh(qo(t))]),l&&Ii(l,e,6,o);const c=r[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Ii(c,e,6,o)}}function B7(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},s=!1;if(!Ut(e)){const l=c=>{const u=B7(c,t,!0);u&&(s=!0,hr(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Un(e)&&r.set(e,null),null):(Mt(i)?i.forEach(l=>a[l]=null):hr(a,i),Un(e)&&r.set(e,a),a)}function Qm(e,t){return!e||!Ap(t)?!1:(t=t.slice(2).replace(/Once$/,""),Mn(e,t[0].toLowerCase()+t.slice(1))||Mn(e,qo(t))||Mn(e,t))}function Vv(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=e,m=Kh(e);let x,y;try{if(n.shapeFlag&4){const A=o||r,b=A;x=jo(c.call(b,A,u,f,h,d,p)),y=s}else{const A=t;x=jo(A.length>1?A(f,{attrs:s,slots:a,emit:l}):A(f,null)),y=t.props?s:zD(s)}}catch(A){ph.length=0,Bu(A,e,1),x=O(Kr)}let R=x;if(y&&v!==!1){const A=Object.keys(y),{shapeFlag:b}=R;A.length&&b&7&&(i&&A.some(Wb)&&(y=JD(y,i)),R=As(R,y,!1,!0))}return n.dirs&&(R=As(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),x=R,Kh(m),x}function GD(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(gc(o)){if(o.type!==Kr||o.children==="v-if"){if(n)return;n=o}}else return}return n}const zD=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ap(n))&&((t||(t={}))[n]=e[n]);return t},JD=(e,t)=>{const n={};for(const r in e)(!Wb(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function $D(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?KS(r,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==r[d]&&!Qm(c,d))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?KS(r,a,c):!0:!!a;return!1}function KS(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Qm(n,i))return!0}return!1}function cx({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const I4=e=>e.__isSuspense;let F4=0;const jD={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,a,s,l,c){if(e==null)eK(t,n,r,o,i,a,s,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}tK(e,t,n,r,o,a,s,l,c)}},hydrate:nK,normalize:rK},qD=jD;function Gh(e,t){const n=e.props&&e.props[t];Ut(n)&&n()}function eK(e,t,n,r,o,i,a,s,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=D7(e,o,r,t,f,n,i,a,s,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,a),d.deps>0?(Gh(e,"onPending"),Gh(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,a),hd(d,e.ssFallback)):d.resolve(!1,!0)}function tK(e,t,n,r,o,i,a,s,{p:l,um:c,o:{createElement:u}}){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:m,isHydrating:x}=f;if(v)f.pendingBranch=d,Oa(d,v)?(l(v,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():m&&(x||(l(p,h,n,r,o,null,i,a,s),hd(f,h)))):(f.pendingId=F4++,x?(f.isHydrating=!1,f.activeBranch=v):c(v,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(l(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():(l(p,h,n,r,o,null,i,a,s),hd(f,h))):p&&Oa(d,p)?(l(p,d,n,r,o,f,i,a,s),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0&&f.resolve()));else if(p&&Oa(d,p))l(p,d,n,r,o,f,i,a,s),hd(f,d);else if(Gh(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=F4++,l(null,d,f.hiddenContainer,null,o,f,i,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 D7(e,t,n,r,o,i,a,s,l,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:m}}=c;let x;const y=oK(e);y&&t&&t.pendingBranch&&(x=t.pendingId,t.deps++);const R=e.props?bg(e.props.timeout):void 0,A=i,b={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:o,deps:0,pendingId:F4++,timeout:typeof R=="number"?R:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(M=!1,T=!1){const{vnode:w,activeBranch:L,pendingBranch:k,pendingId:E,effects:P,parentComponent:W,container:N}=b;let _=!1;b.isHydrating?b.isHydrating=!1:M||(_=L&&k.transition&&k.transition.mode==="out-in",_&&(L.transition.afterLeave=()=>{E===b.pendingId&&(d(k,N,i===A?p(L):i,0),Sg(P))}),L&&(v(L.el)!==b.hiddenContainer&&(i=p(L)),h(L,W,b,!0)),_||d(k,N,i,0)),hd(b,k),b.pendingBranch=null,b.isInFallback=!1;let C=b.parent,X=!1;for(;C;){if(C.pendingBranch){C.effects.push(...P),X=!0;break}C=C.parent}!X&&!_&&Sg(P),b.effects=[],y&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),Gh(w,"onResolve")},fallback(M){if(!b.pendingBranch)return;const{vnode:T,activeBranch:w,parentComponent:L,container:k,namespace:E}=b;Gh(T,"onFallback");const P=p(w),W=()=>{b.isInFallback&&(f(null,M,k,P,L,null,E,s,l),hd(b,M))},N=M.transition&&M.transition.mode==="out-in";N&&(w.transition.afterLeave=W),b.isInFallback=!0,h(w,L,null,!0),N||W()},move(M,T,w){b.activeBranch&&d(b.activeBranch,M,T,w),b.container=M},next(){return b.activeBranch&&p(b.activeBranch)},registerDep(M,T,w){const L=!!b.pendingBranch;L&&b.deps++;const k=M.vnode.el;M.asyncDep.catch(E=>{Bu(E,M,0)}).then(E=>{if(M.isUnmounted||b.isUnmounted||b.pendingId!==M.suspenseId)return;M.asyncResolved=!0;const{vnode:P}=M;W4(M,E,!1),k&&(P.el=k);const W=!k&&M.subTree.el;T(M,P,v(k||M.subTree.el),k?null:p(M.subTree),b,a,w),W&&m(W),cx(M,P.el),L&&--b.deps===0&&b.resolve()})},unmount(M,T){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,M,T),b.pendingBranch&&h(b.pendingBranch,n,M,T)}};return b}function nK(e,t,n,r,o,i,a,s,l){const c=t.suspense=D7(t,r,n,e.parentNode,document.createElement("div"),null,o,i,a,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,a);return c.deps===0&&c.resolve(!1,!0),u}function rK(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=HS(r?n.default:n),e.ssFallback=r?HS(n.fallback):O(Kr)}function HS(e){let t;if(Ut(e)){const n=ku&&e._c;n&&(e._d=!1,U()),e=e(),n&&(e._d=!0,t=bo,H7())}return Mt(e)&&(e=GD(e)),e=jo(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function K7(e,t){t&&t.pendingBranch?Mt(e)?t.effects.push(...e):t.effects.push(e):Sg(e)}function hd(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,cx(r,o))}function oK(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const We=Symbol.for("v-fgt"),sc=Symbol.for("v-txt"),Kr=Symbol.for("v-cmt"),mu=Symbol.for("v-stc"),ph=[];let bo=null;function U(e=!1){ph.push(bo=e?null:[])}function H7(){ph.pop(),bo=ph[ph.length-1]||null}let ku=1;function _4(e){ku+=e,e<0&&bo&&(bo.hasOnce=!0)}function G7(e){return e.dynamicChildren=ku>0?bo||ad:null,H7(),ku>0&&bo&&bo.push(e),e}function ee(e,t,n,r,o,i){return G7(V(e,t,n,r,o,i,!0))}function ke(e,t,n,r,o){return G7(O(e,t,n,r,o,!0))}function gc(e){return e?e.__v_isVNode===!0:!1}function Oa(e,t){return e.type===t.type&&e.key===t.key}function iK(e){}const z7=({key:e})=>e??null,Uv=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ir(e)||ar(e)||Ut(e)?{i:Vr,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,r=0,o=null,i=e===We?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&z7(t),ref:t&&Uv(t),scopeId:Wm,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Vr};return s?(ux(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ir(n)?8:16),ku>0&&!a&&bo&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&bo.push(l),l}const O=aK;function aK(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===g7)&&(e=Kr),gc(e)){const s=As(e,t,!0);return n&&ux(s,n),ku>0&&!i&&bo&&(s.shapeFlag&6?bo[bo.indexOf(e)]=s:bo.push(s)),s.patchFlag=-2,s}if(pK(e)&&(e=e.__vccOpts),t){t=J7(t);let{class:s,style:l}=t;s&&!ir(s)&&(t.class=Je(s)),Un(l)&&(zb(l)&&!Mt(l)&&(l=hr({},l)),t.style=we(l))}const a=ir(e)?1:I4(e)?128:WD(e)?64:Un(e)?4:Ut(e)?2:0;return V(e,t,n,r,o,a,i,!0)}function J7(e){return e?zb(e)||M7(e)?hr({},e):e:null}function As(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:s,transition:l}=e,c=t?$7(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&z7(c),ref:t&&t.ref?n&&i?Mt(i)?i.concat(Uv(t)):[i,Uv(t)]:Uv(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==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&&As(e.ssContent),ssFallback:e.ssFallback&&As(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&vc(u,l.clone(u)),u}function Ve(e=" ",t=0){return O(sc,null,e,t)}function sK(e,t){const n=O(mu,null,e);return n.staticCount=t,n}function Qe(e="",t=!1){return t?(U(),ke(Kr,null,e)):O(Kr,null,e)}function jo(e){return e==null||typeof e=="boolean"?O(Kr):Mt(e)?O(We,null,e.slice()):typeof e=="object"?Zl(e):O(sc,null,String(e))}function Zl(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:As(e)}function ux(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Mt(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ux(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!M7(t)?t._ctx=Vr:o===3&&Vr&&(Vr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ut(t)?(t={default:t,_ctx:Vr},n=32):(t=String(t),r&64?(n=16,t=[Ve(t)]):n=8);e.children=t,e.shapeFlag|=n}function $7(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Je([t.class,r.class]));else if(o==="style")t.style=we([t.style,r.style]);else if(Ap(o)){const i=t[o],a=r[o];a&&i!==a&&!(Mt(i)&&i.includes(a))&&(t[o]=i?[].concat(i,a):a)}else o!==""&&(t[o]=r[o])}return t}function zo(e,t,n,r=null){Ii(e,t,7,[n,r])}const lK=y7();let cK=0;function j7(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||lK,i={uid:cK++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Qb(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:L7(r,o),emitsOptions:B7(r,o),emit:null,emitted:null,propsDefaults:Pn,inheritAttrs:r.inheritAttrs,ctx:Pn,data:Pn,props:Pn,attrs:Pn,slots:Pn,refs:Pn,setupState:Pn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=HD.bind(null,i),e.ce&&e.ce(i),i}let Wr=null;const dl=()=>Wr||Vr;let Tg,E4;{const e=Nk(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};Tg=t("__VUE_INSTANCE_SETTERS__",n=>Wr=n),E4=t("__VUE_SSR_SETTERS__",n=>Sp=n)}const Nu=e=>{const t=Wr;return Tg(e),e.scope.on(),()=>{e.scope.off(),Tg(t)}},X4=()=>{Wr&&Wr.scope.off(),Tg(null)};function q7(e){return e.vnode.shapeFlag&4}let Sp=!1;function eN(e,t=!1,n=!1){t&&E4(t);const{props:r,children:o}=e.vnode,i=q7(e);CD(e,r,i,t),ED(e,o,n);const a=i?uK(e,t):void 0;return t&&E4(!1),a}function uK(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,T4);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?nN(e):null,i=Nu(e);Sc();const a=rl(r,e,0,[e.props,o]);if(Mc(),i(),Ub(a)){if(a.then(X4,X4),t)return a.then(s=>{W4(e,s,t)}).catch(s=>{Bu(s,e,0)});e.asyncDep=a}else W4(e,a,t)}else tN(e,t)}function W4(e,t,n){Ut(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Un(t)&&(e.setupState=jb(t)),tN(e,n)}let kg,V4;function fK(e){kg=e,V4=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,fD))}}const dK=()=>!kg;function tN(e,t,n){const r=e.type;if(!e.render){if(!t&&kg&&!r.render){const o=r.template||ix(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,c=hr(hr({isCustomElement:i,delimiters:s},a),l);r.render=kg(o,c)}}e.render=r.render||ni,V4&&V4(e)}{const o=Nu(e);Sc();try{wD(e)}finally{Mc(),o()}}}const hK={get(e,t){return ci(e,"get",""),e[t]}};function nN(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,hK),slots:e.slots,emit:e.emit,expose:t}}function Mp(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(jb(Em(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dh)return dh[n](e)},has(t,n){return n in t||n in dh}})):e.proxy}function U4(e,t=!0){return Ut(e)?e.displayName||e.name:e.name||t&&e.__name}function pK(e){return Ut(e)&&"__vccOpts"in e}const Me=(e,t)=>WB(e,t,Sp);function rN(e,t,n){const r=arguments.length;return r===2?Un(t)&&!Mt(t)?gc(t)?O(e,null,[t]):O(e,t):O(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&gc(n)&&(n=[n]),O(e,t,n))}function vK(){}function gK(e,t,n,r){const o=n[r];if(o&&oN(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function oN(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Eo(n[r],t[r]))return!1;return ku>0&&bo&&bo.push(e),!0}const iN="3.4.34",mK=ni,AK=$B,RK=Ef,yK=o7,bK={createComponentInstance:j7,setupComponent:eN,renderComponentRoot:Vv,setCurrentRenderingInstance:Kh,isVNode:gc,normalizeVNode:jo,getComponentPublicInstance:Mp},xK=bK,SK=null,MK=null,wK=null;/**
|
||
* @vue/runtime-dom v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const LK="http://www.w3.org/2000/svg",OK="http://www.w3.org/1998/Math/MathML",Ds=typeof document<"u"?document:null,GS=Ds&&Ds.createElement("template"),TK={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ds.createElementNS(LK,e):t==="mathml"?Ds.createElementNS(OK,e):n?Ds.createElement(e,{is:n}):Ds.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ds.createTextNode(e),createComment:e=>Ds.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ds.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{GS.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const s=GS.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]}},Ll="transition",R0="animation",Ld=Symbol("_vtc"),Pu=(e,{slots:t})=>rN(a7,sN(e),t);Pu.displayName="Transition";const aN={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},kK=Pu.props=hr({},tx,aN),Dc=(e,t=[])=>{Mt(e)?e.forEach(n=>n(...t)):e&&e(...t)},zS=e=>e?Mt(e)?e.some(t=>t.length>1):e.length>1:!1;function sN(e){const t={};for(const P in e)P in aN||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=NK(o),v=p&&p[0],m=p&&p[1],{onBeforeEnter:x,onEnter:y,onEnterCancelled:R,onLeave:A,onLeaveCancelled:b,onBeforeAppear:M=x,onAppear:T=y,onAppearCancelled:w=R}=t,L=(P,W,N)=>{Cl(P,W?u:s),Cl(P,W?c:a),N&&N()},k=(P,W)=>{P._isLeaving=!1,Cl(P,f),Cl(P,h),Cl(P,d),W&&W()},E=P=>(W,N)=>{const _=P?T:y,C=()=>L(W,P,N);Dc(_,[W,C]),JS(()=>{Cl(W,P?l:i),Zs(W,P?u:s),zS(_)||$S(W,r,v,C)})};return hr(t,{onBeforeEnter(P){Dc(x,[P]),Zs(P,i),Zs(P,a)},onBeforeAppear(P){Dc(M,[P]),Zs(P,l),Zs(P,c)},onEnter:E(!1),onAppear:E(!0),onLeave(P,W){P._isLeaving=!0;const N=()=>k(P,W);Zs(P,f),Zs(P,d),cN(),JS(()=>{P._isLeaving&&(Cl(P,f),Zs(P,h),zS(A)||$S(P,r,m,N))}),Dc(A,[P,N])},onEnterCancelled(P){L(P,!1),Dc(R,[P])},onAppearCancelled(P){L(P,!0),Dc(w,[P])},onLeaveCancelled(P){k(P),Dc(b,[P])}})}function NK(e){if(e==null)return null;if(Un(e))return[rR(e.enter),rR(e.leave)];{const t=rR(e);return[t,t]}}function rR(e){return bg(e)}function Zs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ld]||(e[Ld]=new Set)).add(t)}function Cl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ld];n&&(n.delete(t),n.size||(e[Ld]=void 0))}function JS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let PK=0;function $S(e,t,n,r){const o=e._endId=++PK,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=lN(e,t);if(!a)return r();const c=a+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},s+1),e.addEventListener(c,d)}function lN(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${Ll}Delay`),i=r(`${Ll}Duration`),a=jS(o,i),s=r(`${R0}Delay`),l=r(`${R0}Duration`),c=jS(s,l);let u=null,f=0,d=0;t===Ll?a>0&&(u=Ll,f=a,d=i.length):t===R0?c>0&&(u=R0,f=c,d=l.length):(f=Math.max(a,c),u=f>0?a>c?Ll:R0:null,d=u?u===Ll?i.length:l.length:0);const h=u===Ll&&/\b(transform|all)(,|$)/.test(r(`${Ll}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function jS(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>qS(n)+qS(e[r])))}function qS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function cN(){return document.body.offsetHeight}function CK(e,t,n){const r=e[Ld];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ng=Symbol("_vod"),uN=Symbol("_vsh"),sl={beforeMount(e,{value:t},{transition:n}){e[Ng]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):y0(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),y0(e,!0),r.enter(e)):r.leave(e,()=>{y0(e,!1)}):y0(e,t))},beforeUnmount(e,{value:t}){y0(e,t)}};function y0(e,t){e.style.display=t?e[Ng]:"none",e[uN]=!t}function IK(){sl.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const fN=Symbol("");function FK(e){const t=dl();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Q4(i,o))},r=()=>{const o=e(t.proxy);Y4(t.subTree,o),n(o)};Qt(()=>{U7(r);const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Sn(()=>o.disconnect())})}function Y4(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Y4(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Q4(e.el,t);else if(e.type===We)e.children.forEach(n=>Y4(n,t));else if(e.type===mu){let{el:n,anchor:r}=e;for(;n&&(Q4(n,t),n!==r);)n=n.nextSibling}}function Q4(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[fN]=r}}const _K=/(^|;)\s*display\s*:/;function EK(e,t,n){const r=e.style,o=ir(n);let i=!1;if(n&&!o){if(t)if(ir(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&Yv(r,s,"")}else for(const a in t)n[a]==null&&Yv(r,a,"");for(const a in n)a==="display"&&(i=!0),Yv(r,a,n[a])}else if(o){if(t!==n){const a=r[fN];a&&(n+=";"+a),r.cssText=n,i=_K.test(n)}}else t&&e.removeAttribute("style");Ng in e&&(e[Ng]=i?r.display:"",e[uN]&&(r.display="none"))}const eM=/\s*!important$/;function Yv(e,t,n){if(Mt(n))n.forEach(r=>Yv(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=XK(e,t);eM.test(n)?e.setProperty(qo(r),n.replace(eM,""),"important"):e[r]=n}}const tM=["Webkit","Moz","ms"],oR={};function XK(e,t){const n=oR[t];if(n)return n;let r=So(t);if(r!=="filter"&&r in e)return oR[t]=r;r=Rp(r);for(let o=0;o<tM.length;o++){const i=tM[o]+r;if(i in e)return oR[t]=i}return t}const nM="http://www.w3.org/1999/xlink";function rM(e,t,n,r,o,i=hB(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(nM,t.slice(6,t.length)):e.setAttributeNS(nM,t,n):n==null||i&&!Pk(n)?e.removeAttribute(t):e.setAttribute(t,i?"":ms(n)?String(n):n)}function WK(e,t,n,r){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,s=n==null?"":String(n);(a!==s||!("_value"in e))&&(e.value=s),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Pk(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function zs(e,t,n,r){e.addEventListener(t,n,r)}function VK(e,t,n,r){e.removeEventListener(t,n,r)}const oM=Symbol("_vei");function UK(e,t,n,r,o=null){const i=e[oM]||(e[oM]={}),a=i[t];if(r&&a)a.value=r;else{const[s,l]=YK(t);if(r){const c=i[t]=BK(r,o);zs(e,s,c,l)}else a&&(VK(e,s,a,l),i[t]=void 0)}}const iM=/(?:Once|Passive|Capture)$/;function YK(e){let t;if(iM.test(e)){t={};let r;for(;r=e.match(iM);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):qo(e.slice(2)),t]}let iR=0;const QK=Promise.resolve(),ZK=()=>iR||(QK.then(()=>iR=0),iR=Date.now());function BK(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ii(DK(r,n.value),t,5,[r])};return n.value=e,n.attached=ZK(),n}function DK(e,t){if(Mt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const aM=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,KK=(e,t,n,r,o,i)=>{const a=o==="svg";t==="class"?CK(e,r,a):t==="style"?EK(e,n,r):Ap(t)?Wb(t)||UK(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):HK(e,t,r,a))?(WK(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rM(e,t,r,a,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),rM(e,t,r,a))};function HK(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&aM(t)&&Ut(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return aM(t)&&ir(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function dN(e,t,n){const r=Ee(e,t);class o extends Zm{constructor(a){super(r,a,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const GK=(e,t)=>dN(e,t,SN),zK=typeof HTMLElement<"u"?HTMLElement:class{};class Zm extends zK{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,pr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),Td(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:i,styles:a}=r;let s;if(i&&!Mt(i))for(const l in i){const c=i[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=bg(this._props[l])),(s||(s=Object.create(null)))[So(l)]=!0)}this._numberProps=s,o&&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=Mt(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(So))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=So(t);this._numberProps&&this._numberProps[r]&&(n=bg(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(qo(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(qo(t),n+""):n||this.removeAttribute(qo(t))))}_update(){Td(this._createVNode(),this.shadowRoot)}_createVNode(){const t=O(this._def,hr({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(i,a)=>{this.dispatchEvent(new CustomEvent(i,{detail:a}))};n.emit=(i,...a)=>{r(i,a),qo(i)!==i&&r(qo(i),a)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Zm){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function JK(e="$style"){{const t=dl();if(!t)return Pn;const n=t.type.__cssModules;if(!n)return Pn;const r=n[e];return r||Pn}}const hN=new WeakMap,pN=new WeakMap,Pg=Symbol("_moveCb"),sM=Symbol("_enterCb"),vN={name:"TransitionGroup",props:hr({},kK,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=dl(),r=ex();let o,i;return Ym(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!nH(o[0].el,n.vnode.el,a))return;o.forEach(qK),o.forEach(eH);const s=o.filter(tH);cN(),s.forEach(l=>{const c=l.el,u=c.style;Zs(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Pg]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[Pg]=null,Cl(c,a))};c.addEventListener("transitionend",f)})}),()=>{const a=mn(e),s=sN(a);let l=a.tag||We;if(o=[],i)for(let c=0;c<i.length;c++){const u=i[c];u.el&&u.el instanceof Element&&(o.push(u),vc(u,wd(u,s,r,n)),hN.set(u,u.el.getBoundingClientRect()))}i=t.default?Vm(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&vc(u,wd(u,s,r,n))}return O(l,null,i)}}},$K=e=>delete e.mode;vN.props;const jK=vN;function qK(e){const t=e.el;t[Pg]&&t[Pg](),t[sM]&&t[sM]()}function eH(e){pN.set(e,e.el.getBoundingClientRect())}function tH(e){const t=hN.get(e),n=pN.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function nH(e,t,n){const r=e.cloneNode(),o=e[Ld];o&&o.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 i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=lN(r);return i.removeChild(r),a}const mc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Mt(t)?n=>cd(t,n):t};function rH(e){e.target.composing=!0}function lM(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ea=Symbol("_assign"),zh={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[ea]=mc(o);const i=r||o.props&&o.props.type==="number";zs(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=yg(s)),e[ea](s)}),n&&zs(e,"change",()=>{e.value=e.value.trim()}),t||(zs(e,"compositionstart",rH),zs(e,"compositionend",lM),zs(e,"change",lM))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},a){if(e[ea]=mc(a),e.composing)return;const s=(i||e.type==="number")&&!/^0\d/.test(e.value)?yg(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},fx={deep:!0,created(e,t,n){e[ea]=mc(n),zs(e,"change",()=>{const r=e._modelValue,o=Od(e),i=e.checked,a=e[ea];if(Mt(r)){const s=Cm(r,o),l=s!==-1;if(i&&!l)a(r.concat(o));else if(!i&&l){const c=[...r];c.splice(s,1),a(c)}}else if(Zu(r)){const s=new Set(r);i?s.add(o):s.delete(o),a(s)}else a(mN(e,i))})},mounted:cM,beforeUpdate(e,t,n){e[ea]=mc(n),cM(e,t,n)}};function cM(e,{value:t,oldValue:n},r){e._modelValue=t,Mt(t)?e.checked=Cm(t,r.props.value)>-1:Zu(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=hc(t,mN(e,!0)))}const dx={created(e,{value:t},n){e.checked=hc(t,n.props.value),e[ea]=mc(n),zs(e,"change",()=>{e[ea](Od(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ea]=mc(r),t!==n&&(e.checked=hc(t,r.props.value))}},gN={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Zu(t);zs(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?yg(Od(a)):Od(a));e[ea](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,pr(()=>{e._assigning=!1})}),e[ea]=mc(r)},mounted(e,{value:t,modifiers:{number:n}}){uM(e,t)},beforeUpdate(e,t,n){e[ea]=mc(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||uM(e,t)}};function uM(e,t,n){const r=e.multiple,o=Mt(t);if(!(r&&!o&&!Zu(t))){for(let i=0,a=e.options.length;i<a;i++){const s=e.options[i],l=Od(s);if(r)if(o){const c=typeof l;c==="string"||c==="number"?s.selected=t.some(u=>String(u)===String(l)):s.selected=Cm(t,l)>-1}else s.selected=t.has(l);else if(hc(Od(s),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Od(e){return"_value"in e?e._value:e.value}function mN(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const AN={created(e,t,n){ov(e,t,n,null,"created")},mounted(e,t,n){ov(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ov(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ov(e,t,n,r,"updated")}};function RN(e,t){switch(e){case"SELECT":return gN;case"TEXTAREA":return zh;default:switch(t){case"checkbox":return fx;case"radio":return dx;default:return zh}}}function ov(e,t,n,r,o){const a=RN(e.tagName,n.props&&n.props.type)[o];a&&a(e,t,n,r)}function oH(){zh.getSSRProps=({value:e})=>({value:e}),dx.getSSRProps=({value:e},t)=>{if(t.props&&hc(t.props.value,e))return{checked:!0}},fx.getSSRProps=({value:e},t)=>{if(Mt(e)){if(t.props&&Cm(e,t.props.value)>-1)return{checked:!0}}else if(Zu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},AN.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=RN(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const iH=["ctrl","shift","alt","meta"],aH={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)=>iH.some(n=>e[`${n}Key`]&&!t.includes(n))},Nt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let a=0;a<t.length;a++){const s=aH[t[a]];if(s&&s(o,t))return}return e(o,...i)})},sH={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ll=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=qo(o.key);if(t.some(a=>a===i||sH[a]===i))return e(o)})},yN=hr({patchProp:KK},TK);let vh,fM=!1;function bN(){return vh||(vh=I7(yN))}function xN(){return vh=fM?vh:F7(yN),fM=!0,vh}const Td=(...e)=>{bN().render(...e)},SN=(...e)=>{xN().hydrate(...e)},MN=(...e)=>{const t=bN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=LN(r);if(!o)return;const i=t._component;!Ut(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,wN(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t},lH=(...e)=>{const t=xN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=LN(r);if(o)return n(o,!0,wN(o))},t};function wN(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function LN(e){return ir(e)?document.querySelector(e):e}let dM=!1;const cH=()=>{dM||(dM=!0,oH(),IK())};/**
|
||
* vue v3.4.34
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const uH=()=>{},fH=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:a7,BaseTransitionPropsValidators:tx,Comment:Kr,DeprecationTypes:wK,EffectScope:Qb,ErrorCodes:JB,ErrorTypeStrings:AK,Fragment:We,KeepAlive:aD,ReactiveEffect:Md,Static:mu,Suspense:qD,Teleport:sx,Text:sc,TrackOpTypes:HB,Transition:Pu,TransitionGroup:jK,TriggerOpTypes:GB,VueElement:Zm,assertNumber:zB,callWithAsyncErrorHandling:Ii,callWithErrorHandling:rl,camelize:So,capitalize:Rp,cloneVNode:As,compatUtils:MK,compile:uH,computed:Me,createApp:MN,createBlock:ke,createCommentVNode:Qe,createElementBlock:ee,createElementVNode:V,createHydrationRenderer:F7,createPropsRestProxy:SD,createRenderer:I7,createSSRApp:lH,createSlots:cD,createStaticVNode:sK,createTextVNode:Ve,createVNode:O,customRef:jk,defineAsyncComponent:oD,defineComponent:Ee,defineCustomElement:dN,defineEmits:hD,defineExpose:pD,defineModel:mD,defineOptions:vD,defineProps:dD,defineSSRCustomElement:GK,defineSlots:gD,devtools:RK,effect:gB,effectScope:Zb,getCurrentInstance:dl,getCurrentScope:Bb,getTransitionRawChildren:Vm,guardReactiveProps:J7,h:rN,handleError:Bu,hasInjectionContext:b7,hydrate:SN,initCustomFormatter:vK,initDirectivesForSSR:cH,inject:ri,isMemoSame:oN,isProxy:zb,isReactive:fs,isReadonly:pc,isRef:ar,isRuntimeOnly:dK,isShallow:Tu,isVNode:gc,markRaw:Em,mergeDefaults:bD,mergeModels:xD,mergeProps:$7,nextTick:pr,normalizeClass:Je,normalizeProps:fB,normalizeStyle:we,onActivated:l7,onBeforeMount:nx,onBeforeUnmount:Du,onBeforeUpdate:f7,onDeactivated:c7,onErrorCaptured:v7,onMounted:Qt,onRenderTracked:p7,onRenderTriggered:h7,onScopeDispose:_k,onServerPrefetch:d7,onUnmounted:Sn,onUpdated:Ym,openBlock:U,popScopeId:Jt,provide:Ku,proxyRefs:jb,pushScopeId:zt,queuePostFlushCb:Sg,reactive:yp,readonly:Gb,ref:ve,registerRuntimeCompiler:fK,render:Td,renderList:nt,renderSlot:sr,resolveComponent:Se,resolveDirective:bn,resolveDynamicComponent:ws,resolveFilter:SK,resolveTransitionHooks:wd,setBlockTracking:_4,setDevtoolsHook:yK,setTransitionHooks:vc,shallowReactive:zk,shallowReadonly:XB,shallowRef:VB,ssrContextKey:W7,ssrUtils:xK,stop:mB,toDisplayString:vt,toHandlerKey:fh,toHandlers:uD,toRaw:mn,toRef:Bd,toRefs:qk,toValue:QB,transformVNodeArgs:iK,triggerRef:YB,unref:H,useAttrs:yD,useCssModule:JK,useCssVars:FK,useModel:KD,useSSRContext:V7,useSlots:RD,useTransitionState:ex,vModelCheckbox:fx,vModelDynamic:AN,vModelRadio:dx,vModelSelect:gN,vModelText:zh,vShow:sl,version:iN,warn:mK,watch:wt,watchEffect:Dd,watchPostEffect:U7,watchSyncEffect:Y7,withAsyncContext:MD,withCtx:oe,withDefaults:AD,withDirectives:He,withKeys:ll,withMemo:gK,withModifiers:Nt,withScopeId:nD},Symbol.toStringTag,{value:"Module"}));var dH=!1;/*!
|
||
* pinia v2.1.7
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let ON;const Bm=e=>ON=e,TN=Symbol();function Z4(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var gh;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(gh||(gh={}));function hH(){const e=Zb(!0),t=e.run(()=>ve({}));let n=[],r=[];const o=Em({install(i){Bm(o),o._a=i,i.provide(TN,o),i.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(i){return!this._a&&!dH?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const kN=()=>{};function hM(e,t,n,r=kN){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Bb()&&_k(o),o}function bf(e,...t){e.slice().forEach(n=>{n(...t)})}const pH=e=>e();function B4(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],o=e[n];Z4(o)&&Z4(r)&&e.hasOwnProperty(n)&&!ar(r)&&!fs(r)?e[n]=B4(o,r):e[n]=r}return e}const vH=Symbol();function gH(e){return!Z4(e)||!e.hasOwnProperty(vH)}const{assign:Il}=Object;function mH(e){return!!(ar(e)&&e.effect)}function AH(e,t,n,r){const{state:o,actions:i,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=o?o():{});const u=qk(n.state.value[e]);return Il(u,i,Object.keys(a||{}).reduce((f,d)=>(f[d]=Em(Me(()=>{Bm(n);const h=n._s.get(e);return a[d].call(h,h)})),f),{}))}return l=NN(e,c,t,n,r,!0),l}function NN(e,t,n={},r,o,i){let a;const s=Il({actions:{}},n),l={deep:!0};let c,u,f=[],d=[],h;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={}),ve({});let v;function m(w){let L;c=u=!1,typeof w=="function"?(w(r.state.value[e]),L={type:gh.patchFunction,storeId:e,events:h}):(B4(r.state.value[e],w),L={type:gh.patchObject,payload:w,storeId:e,events:h});const k=v=Symbol();pr().then(()=>{v===k&&(c=!0)}),u=!0,bf(f,L,r.state.value[e])}const x=i?function(){const{state:L}=n,k=L?L():{};this.$patch(E=>{Il(E,k)})}:kN;function y(){a.stop(),f=[],d=[],r._s.delete(e)}function R(w,L){return function(){Bm(r);const k=Array.from(arguments),E=[],P=[];function W(C){E.push(C)}function N(C){P.push(C)}bf(d,{args:k,name:w,store:b,after:W,onError:N});let _;try{_=L.apply(this&&this.$id===e?this:b,k)}catch(C){throw bf(P,C),C}return _ instanceof Promise?_.then(C=>(bf(E,C),C)).catch(C=>(bf(P,C),Promise.reject(C))):(bf(E,_),_)}}const A={_p:r,$id:e,$onAction:hM.bind(null,d),$patch:m,$reset:x,$subscribe(w,L={}){const k=hM(f,w,L.detached,()=>E()),E=a.run(()=>wt(()=>r.state.value[e],P=>{(L.flush==="sync"?u:c)&&w({storeId:e,type:gh.direct,events:h},P)},Il({},l,L)));return k},$dispose:y},b=yp(A);r._s.set(e,b);const T=(r._a&&r._a.runWithContext||pH)(()=>r._e.run(()=>(a=Zb()).run(t)));for(const w in T){const L=T[w];if(ar(L)&&!mH(L)||fs(L))i||(p&&gH(L)&&(ar(L)?L.value=p[w]:B4(L,p[w])),r.state.value[e][w]=L);else if(typeof L=="function"){const k=R(w,L);T[w]=k,s.actions[w]=L}}return Il(b,T),Il(mn(b),T),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:w=>{m(L=>{Il(L,w)})}}),r._p.forEach(w=>{Il(b,a.run(()=>w({store:b,app:r._a,pinia:r,options:s})))}),p&&i&&n.hydrate&&n.hydrate(b.$state,p),c=!0,u=!0,b}function wp(e,t,n){let r,o;const i=typeof t=="function";typeof e=="string"?(r=e,o=i?n:t):(o=e,r=e.id);function a(s,l){const c=b7();return s=s||(c?ri(TN,null):null),s&&Bm(s),s=ON,s._s.has(r)||(i?NN(r,t,o,s):AH(r,o,s)),s._s.get(r)}return a.$id=r,a}function Xe(e){{e=mn(e);const t={};for(const n in e){const r=e[n];(ar(r)||fs(r))&&(t[n]=Bd(e,n))}return t}}const RH="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let yH=e=>crypto.getRandomValues(new Uint8Array(e)),bH=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return(i=t)=>{let a="";for(;;){let s=n(o),l=o;for(;l--;)if(a+=e[s[l]&r]||"",a.length===i)return a}}},xH=(e,t=21)=>bH(e,t,yH),ln=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+=RH[n[e]&63];return t};var wr=(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))(wr||{});function to(e){this.content=e}to.prototype={constructor:to,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,o=r.find(e),i=r.content.slice();return o==-1?i.push(n||e,t):(i[o+1]=t,n&&(i[o]=n)),new to(i)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new to(n)},addToStart:function(e,t){return new to([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new to(n)},addBefore:function(e,t,n){var r=this.remove(t),o=r.content.slice(),i=r.find(e);return o.splice(i==-1?o.length:i,0,t,n),new to(o)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=to.from(e),e.size?new to(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=to.from(e),e.size?new to(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=to.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}};to.from=function(e){if(e instanceof to)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new to(t)};function PN(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(r),i=t.child(r);if(o==i){n+=o.nodeSize;continue}if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(let a=0;o.text[a]==i.text[a];a++)n++;return n}if(o.content.size||i.content.size){let a=PN(o.content,i.content,n+1);if(a!=null)return a}n+=o.nodeSize}}function CN(e,t,n,r){for(let o=e.childCount,i=t.childCount;;){if(o==0||i==0)return o==i?null:{a:n,b:r};let a=e.child(--o),s=t.child(--i),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 c=0,u=Math.min(a.text.length,s.text.length);for(;c<u&&a.text[a.text.length-c-1]==s.text[s.text.length-c-1];)c++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let c=CN(a.content,s.content,n-1,r-1);if(c)return c}n-=l,r-=l}}class ct{constructor(t,n){if(this.content=t,this.size=n||0,n==null)for(let r=0;r<t.length;r++)this.size+=t[r].nodeSize}nodesBetween(t,n,r,o=0,i){for(let a=0,s=0;s<n;a++){let l=this.content[a],c=s+l.nodeSize;if(c>t&&r(l,o+s,i||null,a)!==!1&&l.content.size){let u=s+1;l.nodesBetween(Math.max(0,t-u),Math.min(l.content.size,n-u),r,o+u)}s=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,o){let i="",a=!0;return this.nodesBetween(t,n,(s,l)=>{let c=s.isText?s.text.slice(Math.max(t,l)-l,n-l):s.isLeaf?o?typeof o=="function"?o(s):o:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&c||s.isTextblock)&&r&&(a?a=!1:i+=r),i+=c},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,o=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(o[o.length-1]=n.withText(n.text+r.text),i=1);i<t.content.length;i++)o.push(t.content[i]);return new ct(o,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],o=0;if(n>t)for(let i=0,a=0;a<n;i++){let s=this.content[i],l=a+s.nodeSize;l>t&&((a<t||l>n)&&(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),o+=s.nodeSize),a=l}return new ct(r,o)}cutByIndex(t,n){return t==n?ct.empty:t==0&&n==this.content.length?this:new ct(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let o=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return o[t]=n,new ct(o,i)}addToStart(t){return new ct([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new ct(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(t.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let n=this.content[t];if(!n)throw new RangeError("Index "+t+" out of range for "+this);return n}maybeChild(t){return this.content[t]||null}forEach(t){for(let n=0,r=0;n<this.content.length;n++){let o=this.content[n];t(o,r,n),r+=o.nodeSize}}findDiffStart(t,n=0){return PN(this,t,n)}findDiffEnd(t,n=this.size,r=t.size){return CN(this,t,n,r)}findIndex(t,n=-1){if(t==0)return iv(0,t);if(t==this.size)return iv(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let r=0,o=0;;r++){let i=this.child(r),a=o+i.nodeSize;if(a>=t)return a==t||n>0?iv(r+1,a):iv(r,o);o=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 ct.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new ct(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return ct.empty;let n,r=0;for(let o=0;o<t.length;o++){let i=t[o];r+=i.nodeSize,o&&i.isText&&t[o-1].sameMarkup(i)?(n||(n=t.slice(0,o)),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new ct(n||t,r)}static from(t){if(!t)return ct.empty;if(t instanceof ct)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new ct([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}ct.empty=new ct([],0);const aR={index:0,offset:0};function iv(e,t){return aR.index=e,aR.offset=t,aR}function Cg(e,t){if(e===t)return!0;if(!(e&&typeof e=="object")||!(t&&typeof t=="object"))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!Cg(e[r],t[r]))return!1}else{for(let r in e)if(!(r in t)||!Cg(e[r],t[r]))return!1;for(let r in t)if(!(r in e))return!1}return!0}class Cn{constructor(t,n){this.type=t,this.attrs=n}addToSet(t){let n,r=!1;for(let o=0;o<t.length;o++){let i=t[o];if(this.eq(i))return t;if(this.type.excludes(i.type))n||(n=t.slice(0,o));else{if(i.type.excludes(this.type))return t;!r&&i.type.rank>this.type.rank&&(n||(n=t.slice(0,o)),n.push(this),r=!0),n&&n.push(i)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return t.slice(0,n).concat(t.slice(n+1));return t}isInSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return!0;return!1}eq(t){return this==t||this.type==t.type&&Cg(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=t.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let o=r.create(n.attrs);return r.checkAttrs(o.attrs),o}static sameSet(t,n){if(t==n)return!0;if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++)if(!t[r].eq(n[r]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return Cn.none;if(t instanceof Cn)return[t];let n=t.slice();return n.sort((r,o)=>r.type.rank-o.type.rank),n}}Cn.none=[];class Ig extends Error{}class bt{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=FN(this.content,t+this.openStart,n);return r&&new bt(r,this.openStart,this.openEnd)}removeBetween(t,n){return new bt(IN(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 bt.empty;let r=n.openStart||0,o=n.openEnd||0;if(typeof r!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new bt(ct.fromJSON(t,n.content),r,o)}static maxOpen(t,n=!0){let r=0,o=0;for(let i=t.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=t.lastChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.lastChild)o++;return new bt(t,r,o)}}bt.empty=new bt(ct.empty,0,0);function IN(e,t,n){let{index:r,offset:o}=e.findIndex(t),i=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(o==t||i.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,i.copy(IN(i.content,t-o-1,n-o-1)))}function FN(e,t,n,r){let{index:o,offset:i}=e.findIndex(t),a=e.maybeChild(o);if(i==t||a.isText)return e.cut(0,t).append(n).append(e.cut(t));let s=FN(a.content,t-i-1,n);return s&&e.replaceChild(o,a.copy(s))}function SH(e,t,n){if(n.openStart>e.depth)throw new Ig("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new Ig("Inconsistent open depths");return _N(e,t,n,0)}function _N(e,t,n,r){let o=e.index(r),i=e.node(r);if(o==t.index(r)&&r<e.depth-n.openStart){let a=_N(e,t,n,r+1);return i.copy(i.content.replaceChild(o,a))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&e.depth==r&&t.depth==r){let a=e.parent,s=a.content;return Ru(a,s.cut(0,e.parentOffset).append(n.content).append(s.cut(t.parentOffset)))}else{let{start:a,end:s}=MH(n,e);return Ru(i,XN(e,a,s,t,r))}else return Ru(i,Fg(e,t,r))}function EN(e,t){if(!t.type.compatibleContent(e.type))throw new Ig("Cannot join "+t.type.name+" onto "+e.type.name)}function D4(e,t,n){let r=e.node(n);return EN(r,t.node(n)),r}function Au(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function mh(e,t,n,r){let o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(Au(e.nodeAfter,r),i++));for(let s=i;s<a;s++)Au(o.child(s),r);t&&t.depth==n&&t.textOffset&&Au(t.nodeBefore,r)}function Ru(e,t){return e.type.checkContent(t),e.copy(t)}function XN(e,t,n,r,o){let i=e.depth>o&&D4(e,t,o+1),a=r.depth>o&&D4(n,r,o+1),s=[];return mh(null,e,o,s),i&&a&&t.index(o)==n.index(o)?(EN(i,a),Au(Ru(i,XN(e,t,n,r,o+1)),s)):(i&&Au(Ru(i,Fg(e,t,o+1)),s),mh(t,n,o,s),a&&Au(Ru(a,Fg(n,r,o+1)),s)),mh(r,null,o,s),new ct(s)}function Fg(e,t,n){let r=[];if(mh(null,e,n,r),e.depth>n){let o=D4(e,t,n+1);Au(Ru(o,Fg(e,t,n+1)),r)}return mh(t,null,n,r),new ct(r)}function MH(e,t){let n=t.depth-e.openStart,o=t.node(n).copy(e.content);for(let i=n-1;i>=0;i--)o=t.node(i).copy(ct.from(o));return{start:o.resolveNoCache(e.openStart+n),end:o.resolveNoCache(o.content.size-e.openEnd-n)}}class Jh{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],o=t.child(n);return r?t.child(n).cut(r):o}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],o=n==0?0:this.path[n*3-1]+1;for(let i=0;i<t;i++)o+=r.child(i).nodeSize;return o}marks(){let t=this.parent,n=this.index();if(t.content.size==0)return Cn.none;if(this.textOffset)return t.child(n).marks;let r=t.maybeChild(n-1),o=t.maybeChild(n);if(!r){let s=r;r=o,o=s}let i=r.marks;for(var a=0;a<i.length;a++)i[a].type.spec.inclusive===!1&&(!o||!i[a].isInSet(o.marks))&&(i=i[a--].removeFromSet(i));return i}marksAcross(t){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,o=t.parent.maybeChild(t.index());for(var i=0;i<r.length;i++)r[i].type.spec.inclusive===!1&&(!o||!r[i].isInSet(o.marks))&&(r=r[i--].removeFromSet(r));return r}sharedDepth(t){for(let n=this.depth;n>0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos<this.pos)return t.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);r>=0;r--)if(t.pos<=this.end(r)&&(!n||n(this.node(r))))return new _g(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<this.pos?t:this}toString(){let t="";for(let n=1;n<=this.depth;n++)t+=(t?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return t+":"+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],o=0,i=n;for(let a=t;;){let{index:s,offset:l}=a.content.findIndex(i),c=i-l;if(r.push(a,s,o+l),!c||(a=a.child(s),a.isText))break;i=c-1,o+=l+1}return new Jh(n,r,i)}static resolveCached(t,n){let r=pM.get(t);if(r)for(let i=0;i<r.elts.length;i++){let a=r.elts[i];if(a.pos==n)return a}else pM.set(t,r=new wH);let o=r.elts[r.i]=Jh.resolve(t,n);return r.i=(r.i+1)%LH,o}}class wH{constructor(){this.elts=[],this.i=0}}const LH=12,pM=new WeakMap;class _g{constructor(t,n,r){this.$from=t,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const OH=Object.create(null);class ds{constructor(t,n,r,o=Cn.none){this.type=t,this.attrs=n,this.marks=o,this.content=r||ct.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,n,r,o=0){this.content.nodesBetween(t,n,r,o,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,n,r,o){return this.content.textBetween(t,n,r,o)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,n,r){return this.type==t&&Cg(this.attrs,n||t.defaultAttrs||OH)&&Cn.sameSet(this.marks,r||Cn.none)}copy(t=null){return t==this.content?this:new ds(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new ds(this.type,this.attrs,this.content,t)}cut(t,n=this.content.size){return t==0&&n==this.content.size?this:this.copy(this.content.cut(t,n))}slice(t,n=this.content.size,r=!1){if(t==n)return bt.empty;let o=this.resolve(t),i=this.resolve(n),a=r?0:o.sharedDepth(n),s=o.start(a),c=o.node(a).content.cut(o.pos-s,i.pos-s);return new bt(c,o.depth-a,i.depth-a)}replace(t,n,r){return SH(this.resolve(t),this.resolve(n),r)}nodeAt(t){for(let n=this;;){let{index:r,offset:o}=n.content.findIndex(t);if(n=n.maybeChild(r),!n)return null;if(o==t||n.isText)return n;t-=o+1}}childAfter(t){let{index:n,offset:r}=this.content.findIndex(t);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(t);if(r<t)return{node:this.content.child(n),index:n,offset:r};let o=this.content.child(n-1);return{node:o,index:n-1,offset:r-o.nodeSize}}resolve(t){return Jh.resolveCached(this,t)}resolveNoCache(t){return Jh.resolve(this,t)}rangeHasMark(t,n,r){let o=!1;return n>t&&this.nodesBetween(t,n,i=>(r.isInSet(i.marks)&&(o=!0),!o)),o}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()+")"),WN(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=ct.empty,o=0,i=r.childCount){let a=this.contentMatchAt(t).matchFragment(r,o,i),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=o;l<i;l++)if(!this.type.allowsMarks(r.child(l).marks))return!1;return!0}canReplaceWith(t,n,r,o){if(o&&!this.type.allowsMarks(o))return!1;let i=this.contentMatchAt(t).matchType(r),a=i&&i.matchFragment(this.content,n);return a?a.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let t=Cn.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),t=r.addToSet(t)}if(!Cn.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.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 o=ct.fromJSON(t,n.content),i=t.nodeType(n.type).create(n.attrs,o,r);return i.type.checkAttrs(i.attrs),i}}ds.prototype.text=void 0;class Eg extends ds{constructor(t,n,r,o){if(super(t,n,null,o),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):WN(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 Eg(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new Eg(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 WN(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Cu{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new TH(t,n);if(r.next==null)return Cu.empty;let o=VN(r);r.next&&r.err("Unexpected trailing text");let i=_H(FH(o));return EH(i,r),i}matchType(t){for(let n=0;n<this.next.length;n++)if(this.next[n].type==t)return this.next[n].next;return null}matchFragment(t,n=0,r=t.childCount){let o=this;for(let i=n;o&&i<r;i++)o=o.matchType(t.child(i).type);return o}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:n}=this.next[t];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(t){for(let n=0;n<this.next.length;n++)for(let r=0;r<t.next.length;r++)if(this.next[n].type==t.next[r].type)return!0;return!1}fillBefore(t,n=!1,r=0){let o=[this];function i(a,s){let l=a.matchFragment(t,r);if(l&&(!n||l.validEnd))return ct.from(s.map(c=>c.createAndFill()));for(let c=0;c<a.next.length;c++){let{type:u,next:f}=a.next[c];if(!(u.isText||u.hasRequiredAttrs())&&o.indexOf(f)==-1){o.push(f);let d=i(f,s.concat(u));if(d)return d}}return null}return i(this,[])}findWrapping(t){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==t)return this.wrapCache[r+1];let n=this.computeWrapping(t);return this.wrapCache.push(t,n),n}computeWrapping(t){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let o=r.shift(),i=o.match;if(i.matchType(t)){let a=[];for(let s=o;s.type;s=s.via)a.push(s.type);return a.reverse()}for(let a=0;a<i.next.length;a++){let{type:s,next:l}=i.next[a];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!o.type||l.validEnd)&&(r.push({match:s.contentMatch,type:s,via:o}),n[s.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=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 o=0;o<r.next.length;o++)t.indexOf(r.next[o].next)==-1&&n(r.next[o].next)}return n(this),t.map((r,o)=>{let i=o+(r.validEnd?"*":" ")+" ";for(let a=0;a<r.next.length;a++)i+=(a?", ":"")+r.next[a].type.name+"->"+t.indexOf(r.next[a].next);return i}).join(`
|
||
`)}}Cu.empty=new Cu(!0);class TH{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 VN(e){let t=[];do t.push(kH(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function kH(e){let t=[];do t.push(NH(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function NH(e){let t=IH(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=PH(e,t);else break;return t}function vM(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function PH(e,t){let n=vM(e),r=n;return e.eat(",")&&(e.next!="}"?r=vM(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function CH(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let o=[];for(let i in n){let a=n[i];a.groups.indexOf(t)>-1&&o.push(a)}return o.length==0&&e.err("No node type or group '"+t+"' found"),o}function IH(e){if(e.eat("(")){let t=VN(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=CH(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 FH(e){let t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(a,s,l){let c={term:l,to:s};return t[a].push(c),c}function o(a,s){a.forEach(l=>l.to=s)}function i(a,s){if(a.type=="choice")return a.exprs.reduce((l,c)=>l.concat(i(c,s)),[]);if(a.type=="seq")for(let l=0;;l++){let c=i(a.exprs[l],s);if(l==a.exprs.length-1)return c;o(c,s=n())}else if(a.type=="star"){let l=n();return r(s,l),o(i(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return o(i(a.expr,s),l),o(i(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(i(a.expr,s));if(a.type=="range"){let l=s;for(let c=0;c<a.min;c++){let u=n();o(i(a.expr,l),u),l=u}if(a.max==-1)o(i(a.expr,l),l);else for(let c=a.min;c<a.max;c++){let u=n();r(l,u),o(i(a.expr,l),u),l=u}return[r(l)]}else{if(a.type=="name")return[r(s,void 0,a.value)];throw new Error("Unknown expr type")}}}}function UN(e,t){return t-e}function gM(e,t){let n=[];return r(t),n.sort(UN);function r(o){let i=e[o];if(i.length==1&&!i[0].term)return r(i[0].to);n.push(o);for(let a=0;a<i.length;a++){let{term:s,to:l}=i[a];!s&&n.indexOf(l)==-1&&r(l)}}}function _H(e){let t=Object.create(null);return n(gM(e,0));function n(r){let o=[];r.forEach(a=>{e[a].forEach(({term:s,to:l})=>{if(!s)return;let c;for(let u=0;u<o.length;u++)o[u][0]==s&&(c=o[u][1]);gM(e,l).forEach(u=>{c||o.push([s,c=[]]),c.indexOf(u)==-1&&c.push(u)})})});let i=t[r.join(",")]=new Cu(r.indexOf(e.length-1)>-1);for(let a=0;a<o.length;a++){let s=o[a][1].sort(UN);i.next.push({type:o[a][0],next:t[s.join(",")]||n(s)})}return i}}function EH(e,t){for(let n=0,r=[e];n<r.length;n++){let o=r[n],i=!o.validEnd,a=[];for(let s=0;s<o.next.length;s++){let{type:l,next:c}=o.next[s];a.push(l.name),i&&!(l.isText||l.hasRequiredAttrs())&&(i=!1),r.indexOf(c)==-1&&r.push(c)}i&&t.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function YN(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function QN(e,t){let n=Object.create(null);for(let r in e){let o=t&&t[r];if(o===void 0){let i=e[r];if(i.hasDefault)o=i.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=o}return n}function ZN(e,t,n,r){for(let o in t)if(!(o in e))throw new RangeError(`Unsupported attribute ${o} for ${n} of type ${o}`);for(let o in e){let i=e[o];i.validate&&i.validate(t[o])}}function BN(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new WH(e,r,t[r]);return n}let mM=class DN{constructor(t,n,r){this.name=t,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=BN(t,r.attrs),this.defaultAttrs=YN(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||t=="text"),this.isText=t=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Cu.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:QN(this.attrs,t)}create(t=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new ds(this,this.computeAttrs(t),ct.from(n),Cn.setFrom(r))}createChecked(t=null,n,r){return n=ct.from(n),this.checkContent(n),new ds(this,this.computeAttrs(t),n,Cn.setFrom(r))}createAndFill(t=null,n,r){if(t=this.computeAttrs(t),n=ct.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let o=this.contentMatch.matchFragment(n),i=o&&o.fillBefore(ct.empty,!0);return i?new ds(this,t,n.append(i),Cn.setFrom(r)):null}validContent(t){let n=this.contentMatch.matchFragment(t);if(!n||!n.validEnd)return!1;for(let r=0;r<t.childCount;r++)if(!this.allowsMarks(t.child(r).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw new RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}checkAttrs(t){ZN(this.attrs,t,"node",this.name)}allowsMarkType(t){return this.markSet==null||this.markSet.indexOf(t)>-1}allowsMarks(t){if(this.markSet==null)return!0;for(let n=0;n<t.length;n++)if(!this.allowsMarkType(t[n].type))return!1;return!0}allowedMarks(t){if(this.markSet==null)return t;let n;for(let r=0;r<t.length;r++)this.allowsMarkType(t[r].type)?n&&n.push(t[r]):n||(n=t.slice(0,r));return n?n.length?n:Cn.none:t}static compile(t,n){let r=Object.create(null);t.forEach((i,a)=>r[i]=new DN(i,n,a));let o=n.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function XH(e,t,n){let r=n.split("|");return o=>{let i=o===null?"null":typeof o;if(r.indexOf(i)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${i}`)}}class WH{constructor(t,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?XH(t,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Dm{constructor(t,n,r,o){this.name=t,this.rank=n,this.schema=r,this.spec=o,this.attrs=BN(t,o.attrs),this.excluded=null;let i=YN(this.attrs);this.instance=i?new Cn(this,i):null}create(t=null){return!t&&this.instance?this.instance:new Cn(this,QN(this.attrs,t))}static compile(t,n){let r=Object.create(null),o=0;return t.forEach((i,a)=>r[i]=new Dm(i,o++,n,a)),r}removeFromSet(t){for(var n=0;n<t.length;n++)t[n].type==this&&(t=t.slice(0,n).concat(t.slice(n+1)),n--);return t}isInSet(t){for(let n=0;n<t.length;n++)if(t[n].type==this)return t[n]}checkAttrs(t){ZN(this.attrs,t,"mark",this.name)}excludes(t){return this.excluded.indexOf(t)>-1}}class KN{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let o in t)n[o]=t[o];n.nodes=to.from(t.nodes),n.marks=to.from(t.marks||{}),this.nodes=mM.compile(this.spec.nodes,this),this.marks=Dm.compile(this.spec.marks,this);let r=Object.create(null);for(let o in this.nodes){if(o in this.marks)throw new RangeError(o+" can not be both a node and a mark");let i=this.nodes[o],a=i.spec.content||"",s=i.spec.marks;if(i.contentMatch=r[a]||(r[a]=Cu.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!i.isInline||!i.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=i}i.markSet=s=="_"?null:s?AM(this,s.split(" ")):s==""||!i.inlineContent?[]:null}for(let o in this.marks){let i=this.marks[o],a=i.spec.excludes;i.excluded=a==null?[i]:a==""?[]:AM(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,o){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof mM){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,o)}text(t,n){let r=this.nodes.text;return new Eg(r,r.defaultAttrs,t,Cn.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeFromJSON(t){return ds.fromJSON(this,t)}markFromJSON(t){return Cn.fromJSON(this,t)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}}function AM(e,t){let n=[];for(let r=0;r<t.length;r++){let o=t[r],i=e.marks[o],a=i;if(i)n.push(i);else for(let s in e.marks){let l=e.marks[s];(o=="_"||l.spec.group&&l.spec.group.split(" ").indexOf(o)>-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}function VH(e){return e.tag!=null}function UH(e){return e.style!=null}let hx=class K4{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(o=>{if(VH(o))this.tags.push(o);else if(UH(o)){let i=/[^=]*/.exec(o.style)[0];r.indexOf(i)<0&&r.push(i),this.styles.push(o)}}),this.normalizeLists=!this.tags.some(o=>{if(!/^(ul|ol)\b/.test(o.tag)||!o.node)return!1;let i=t.nodes[o.node];return i.contentMatch.matchType(i)})}parse(t,n={}){let r=new yM(this,n,!1);return r.addAll(t,n.from,n.to),r.finish()}parseSlice(t,n={}){let r=new yM(this,n,!0);return r.addAll(t,n.from,n.to),bt.maxOpen(r.finish())}matchTag(t,n,r){for(let o=r?this.tags.indexOf(r)+1:0;o<this.tags.length;o++){let i=this.tags[o];if(ZH(t,i.tag)&&(i.namespace===void 0||t.namespaceURI==i.namespace)&&(!i.context||n.matchesContext(i.context))){if(i.getAttrs){let a=i.getAttrs(t);if(a===!1)continue;i.attrs=a||void 0}return i}}}matchStyle(t,n,r,o){for(let i=o?this.styles.indexOf(o)+1:0;i<this.styles.length;i++){let a=this.styles[i],s=a.style;if(!(s.indexOf(t)!=0||a.context&&!r.matchesContext(a.context)||s.length>t.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(o){let i=o.priority==null?50:o.priority,a=0;for(;a<n.length;a++){let s=n[a];if((s.priority==null?50:s.priority)<i)break}n.splice(a,0,o)}for(let o in t.marks){let i=t.marks[o].spec.parseDOM;i&&i.forEach(a=>{r(a=bM(a)),a.mark||a.ignore||a.clearMark||(a.mark=o)})}for(let o in t.nodes){let i=t.nodes[o].spec.parseDOM;i&&i.forEach(a=>{r(a=bM(a)),a.node||a.ignore||a.mark||(a.node=o)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new K4(t,K4.schemaRules(t)))}};const HN={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},YH={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},GN={ol:!0,ul:!0},Xg=1,Wg=2,Ah=4;function RM(e,t,n){return t!=null?(t?Xg:0)|(t==="full"?Wg:0):e&&e.whitespace=="pre"?Xg|Wg:n&~Ah}class av{constructor(t,n,r,o,i,a,s){this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=o,this.solid=i,this.options=s,this.content=[],this.activeMarks=Cn.none,this.stashMarks=[],this.match=a||(s&Ah?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(ct.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,o;return(o=r.findWrapping(t.type))?(this.match=r,o):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&Xg)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-o[0].length))}}let n=ct.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(ct.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;n<r.length;n++){let o=r[n];(this.type?this.type.allowsMarkType(o.type):BH(o.type,t))&&!o.isInSet(this.activeMarks)&&(this.activeMarks=o.addToSet(this.activeMarks),this.pendingMarks=o.removeFromSet(this.pendingMarks))}}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!HN.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class yM{constructor(t,n,r){this.parser=t,this.options=n,this.isOpen=r,this.open=0;let o=n.topNode,i,a=RM(null,n.preserveWhitespace,0)|(r?Ah:0);o?i=new av(o.type,o.attrs,Cn.none,Cn.none,!0,n.topMatch||o.type.contentMatch,a):r?i=new av(null,null,Cn.none,Cn.none,!0,null,a):i=new av(t.schema.topNodeType,null,Cn.none,Cn.none,!0,null,a),this.nodes=[i],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t){t.nodeType==3?this.addTextNode(t):t.nodeType==1&&this.addElement(t)}withStyleRules(t,n){let r=t.style;if(!r||!r.length)return n();let o=this.readStyles(t.style);if(!o)return;let[i,a]=o,s=this.top;for(let l=0;l<a.length;l++)this.removePendingMark(a[l],s);for(let l=0;l<i.length;l++)this.addPendingMark(i[l]);n();for(let l=0;l<i.length;l++)this.removePendingMark(i[l],s);for(let l=0;l<a.length;l++)this.addPendingMark(a[l])}addTextNode(t){let n=t.nodeValue,r=this.top;if(r.options&Wg||r.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(r.options&Xg)r.options&Wg?n=n.replace(/\r\n?/g,`
|
||
`):n=n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let o=r.content[r.content.length-1],i=t.previousSibling;(!o||i&&i.nodeName=="BR"||o.isText&&/[ \t\r\n\u000c]$/.test(o.text))&&(n=n.slice(1))}n&&this.insertNode(this.parser.schema.text(n)),this.findInText(t)}else this.findInside(t)}addElement(t,n){let r=t.nodeName.toLowerCase(),o;GN.hasOwnProperty(r)&&this.parser.normalizeLists&&QH(t);let i=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(o=this.parser.matchTag(t,this,n));if(i?i.ignore:YH.hasOwnProperty(r))this.findInside(t),this.ignoreFallback(t);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(t=i.skip);let a,s=this.top,l=this.needsBlock;if(HN.hasOwnProperty(r))s.content.length&&s.content[0].isInline&&this.open&&(this.open--,s=this.top),a=!0,s.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t);return}i&&i.skip?this.addAll(t):this.withStyleRules(t,()=>this.addAll(t)),a&&this.sync(s),this.needsBlock=l}else this.withStyleRules(t,()=>{this.addElementByRule(t,i,i.consuming===!1?o: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=Cn.none,r=Cn.none;if(t.length)for(let o=0;o<this.parser.matchedStyles.length;o++){let i=this.parser.matchedStyles[o],a=t.getPropertyValue(i);if(a)for(let s=void 0;;){let l=this.parser.matchStyle(i,a,this,s);if(!l)break;if(l.ignore)return null;if(l.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(c=>{l.clearMark(c)&&(r=c.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 o,i,a;n.node?(i=this.parser.schema.nodes[n.node],i.isLeaf?this.insertNode(i.create(n.attrs))||this.leafFallback(t):o=this.enter(i,n.attrs||null,n.preserveWhitespace)):(a=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(a));let s=this.top;if(i&&i.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)}o&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(t,n,r){let o=n||0;for(let i=n?t.childNodes[n]:t.firstChild,a=r==null?null:t.childNodes[r];i!=a;i=i.nextSibling,++o)this.findAtPoint(t,o),this.addDOM(i);this.findAtPoint(t,o)}findPlace(t){let n,r;for(let o=this.open;o>=0;o--){let i=this.nodes[o],a=i.findWrapping(t);if(a&&(!n||n.length>a.length)&&(n=a,r=i,!a.length)||i.solid)break}if(!n)return!1;this.sync(r);for(let o=0;o<n.length;o++)this.enterInner(n[o],null,!1);return!0}insertNode(t){if(t.isInline&&this.needsBlock&&!this.top.type){let n=this.textblockFromContext();n&&this.enterInner(n)}if(this.findPlace(t)){this.closeExtra();let n=this.top;n.applyPending(t.type),n.match&&(n.match=n.match.matchType(t.type));let r=n.activeMarks;for(let o=0;o<t.marks.length;o++)(!n.type||n.type.allowsMarkType(t.marks[o].type))&&(r=t.marks[o].addToSet(r));return n.content.push(t.mark(r)),!0}return!1}enter(t,n,r){let o=this.findPlace(t.create(n));return o&&this.enterInner(t,n,!0,r),o}enterInner(t,n=null,r=!1,o){this.closeExtra();let i=this.top;i.applyPending(t),i.match=i.match&&i.match.matchType(t);let a=RM(t,o,i.options);i.options&Ah&&i.content.length==0&&(a|=Ah),this.nodes.push(new av(t,n,i.activeMarks,i.pendingMarks,r,null,a)),this.open++}closeExtra(t=!1){let n=this.nodes.length-1;if(n>this.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 o=r.length-1;o>=0;o--)t+=r[o].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==t&&this.find[r].offset==n&&(this.find[r].pos=this.currentPos)}findInside(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&t.nodeType==1&&t.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(t,n,r){if(t!=n&&this.find)for(let o=0;o<this.find.length;o++)this.find[o].pos==null&&t.nodeType==1&&t.contains(this.find[o].node)&&n.compareDocumentPosition(this.find[o].node)&(r?2:4)&&(this.find[o].pos=this.currentPos)}findInText(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&(this.find[n].pos=this.currentPos-(t.nodeValue.length-this.find[n].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let n=t.split("/"),r=this.options.context,o=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(o?0:1),a=(s,l)=>{for(;s>=0;s--){let c=n[s];if(c==""){if(s==n.length-1||s==0)continue;for(;l>=i;l--)if(a(s-1,l))return!0;return!1}else{let u=l>0||l==0&&o?this.nodes[l].type:r&&l>=i?r.node(l-i).type:null;if(!u||u.name!=c&&u.groups.indexOf(c)==-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=DH(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 o=this.nodes[r];if(o.pendingMarks.lastIndexOf(t)>-1)o.pendingMarks=t.removeFromSet(o.pendingMarks);else{o.activeMarks=t.removeFromSet(o.activeMarks);let a=o.popFromStashMark(t);a&&o.type&&o.type.allowsMarkType(a.type)&&(o.activeMarks=a.addToSet(o.activeMarks))}if(o==n)break}}}function QH(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&GN.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function ZH(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function bM(e){let t={};for(let n in e)t[n]=e[n];return t}function BH(e,t){let n=t.schema.nodes;for(let r in n){let o=n[r];if(!o.allowsMarkType(e))continue;let i=[],a=s=>{i.push(s);for(let l=0;l<s.edgeCount;l++){let{type:c,next:u}=s.edge(l);if(c==t||i.indexOf(u)<0&&a(u))return!0}};if(a(o.contentMatch))return!0}}function DH(e,t){for(let n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}class Kd{constructor(t,n){this.nodes=t,this.marks=n}serializeFragment(t,n={},r){r||(r=sR(n).createDocumentFragment());let o=r,i=[];return t.forEach(a=>{if(i.length||a.marks.length){let s=0,l=0;for(;s<i.length&&l<a.marks.length;){let c=a.marks[l];if(!this.marks[c.type.name]){l++;continue}if(!c.eq(i[s][0])||c.type.spec.spanning===!1)break;s++,l++}for(;s<i.length;)o=i.pop()[1];for(;l<a.marks.length;){let c=a.marks[l++],u=this.serializeMark(c,a.isInline,n);u&&(i.push([c,o]),o.appendChild(u.dom),o=u.contentDOM||u.dom)}}o.appendChild(this.serializeNodeInner(a,n))}),r}serializeNodeInner(t,n){let{dom:r,contentDOM:o}=Qv(sR(n),this.nodes[t.type.name](t),null,t.attrs);if(o){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,n,o)}return r}serializeNode(t,n={}){let r=this.serializeNodeInner(t,n);for(let o=t.marks.length-1;o>=0;o--){let i=this.serializeMark(t.marks[o],t.isInline,n);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(t,n,r={}){let o=this.marks[t.type.name];return o&&Qv(sR(r),o(t,n),null,t.attrs)}static renderSpec(t,n,r=null,o){return Qv(t,n,r,o)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Kd(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=xM(t.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(t){return xM(t.marks)}}function xM(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function sR(e){return e.document||window.document}const SM=new WeakMap;function KH(e){let t=SM.get(e);return t===void 0&&SM.set(e,t=HH(e)),t}function HH(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 o=0;o<r.length;o++)n(r[o]);else for(let o in r)n(r[o])}return n(e),t}function Qv(e,t,n,r){if(typeof t=="string")return{dom:e.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let o=t[0],i;if(typeof o!="string")throw new RangeError("Invalid array passed to renderSpec");if(r&&(i=KH(r))&&i.indexOf(t)>-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=o.indexOf(" ");a>0&&(n=o.slice(0,a),o=o.slice(a+1));let s,l=n?e.createElementNS(n,o):e.createElement(o),c=t[1],u=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){u=2;for(let f in c)if(c[f]!=null){let d=f.indexOf(" ");d>0?l.setAttributeNS(f.slice(0,d),f.slice(d+1),c[f]):l.setAttribute(f,c[f])}}for(let f=u;f<t.length;f++){let d=t[f];if(d===0){if(f<t.length-1||f>u)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}=Qv(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 zN=65535,JN=Math.pow(2,16);function GH(e,t){return e+t*JN}function MM(e){return e&zN}function zH(e){return(e-(e&zN))/JN}const $N=1,jN=2,Zv=4,qN=8;class H4{constructor(t,n,r){this.pos=t,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&qN)>0}get deletedBefore(){return(this.delInfo&($N|Zv))>0}get deletedAfter(){return(this.delInfo&(jN|Zv))>0}get deletedAcross(){return(this.delInfo&Zv)>0}}class ki{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&ki.empty)return ki.empty}recover(t){let n=0,r=MM(t);if(!this.inverted)for(let o=0;o<r;o++)n+=this.ranges[o*3+2]-this.ranges[o*3+1];return this.ranges[r*3]+n+zH(t)}mapResult(t,n=1){return this._map(t,n,!1)}map(t,n=1){return this._map(t,n,!0)}_map(t,n,r){let o=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let l=this.ranges[s]-(this.inverted?o:0);if(l>t)break;let c=this.ranges[s+i],u=this.ranges[s+a],f=l+c;if(t<=f){let d=c?t==l?-1:t==f?1:n:n,h=l+o+(d<0?0:u);if(r)return h;let p=t==(n<0?l:f)?null:GH(s/3,t-l),v=t==l?jN:t==f?$N:Zv;return(n<0?t!=l:t!=f)&&(v|=qN),new H4(h,v,p)}o+=u-c}return r?t+o:new H4(t+o,0,null)}touches(t,n){let r=0,o=MM(n),i=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let l=this.ranges[s]-(this.inverted?r:0);if(l>t)break;let c=this.ranges[s+i],u=l+c;if(t<=u&&s==o*3)return!0;r+=this.ranges[s+a]-c}return!1}forEach(t){let n=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,i=0;o<this.ranges.length;o+=3){let a=this.ranges[o],s=a-(this.inverted?i:0),l=a+(this.inverted?0:i),c=this.ranges[o+n],u=this.ranges[o+r];t(s,s+c,l,l+u),i+=u-c}}invert(){return new ki(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return t==0?ki.empty:new ki(t<0?[0,-t,0]:[0,0,t])}}ki.empty=new ki([]);class pd{constructor(t=[],n,r=0,o=t.length){this.maps=t,this.mirror=n,this.from=r,this.to=o}slice(t=0,n=this.maps.length){return new pd(this.maps,this.mirror,t,n)}copy(){return new pd(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(t,n){this.to=this.maps.push(t),n!=null&&this.setMirror(this.maps.length-1,n)}appendMapping(t){for(let n=0,r=this.maps.length;n<t.maps.length;n++){let o=t.getMirror(n);this.appendMap(t.maps[n],o!=null&&o<n?r+o:void 0)}}getMirror(t){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==t)return this.mirror[n+(n%2?-1:1)]}}setMirror(t,n){this.mirror||(this.mirror=[]),this.mirror.push(t,n)}appendMappingInverted(t){for(let n=t.maps.length-1,r=this.maps.length+t.maps.length;n>=0;n--){let o=t.getMirror(n);this.appendMap(t.maps[n].invert(),o!=null&&o>n?r-o-1:void 0)}}invert(){let t=new pd;return t.appendMappingInverted(this),t}map(t,n=1){if(this.mirror)return this._map(t,n,!0);for(let r=this.from;r<this.to;r++)t=this.maps[r].map(t,n);return t}mapResult(t,n=1){return this._map(t,n,!1)}_map(t,n,r){let o=0;for(let i=this.from;i<this.to;i++){let a=this.maps[i],s=a.mapResult(t,n);if(s.recover!=null){let l=this.getMirror(i);if(l!=null&&l>i&&l<this.to){i=l,t=this.maps[l].recover(s.recover);continue}}o|=s.delInfo,t=s.pos}return r?t:new H4(t,o,null)}}const lR=Object.create(null);class wo{getMap(){return ki.empty}merge(t){return null}static fromJSON(t,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=lR[n.stepType];if(!r)throw new RangeError(`No step type ${n.stepType} defined`);return r.fromJSON(t,n)}static jsonID(t,n){if(t in lR)throw new RangeError("Duplicate use of step JSON ID "+t);return lR[t]=n,n.prototype.jsonID=t,n}}class Ir{constructor(t,n){this.doc=t,this.failed=n}static ok(t){return new Ir(t,null)}static fail(t){return new Ir(null,t)}static fromReplace(t,n,r,o){try{return Ir.ok(t.replace(n,r,o))}catch(i){if(i instanceof Ig)return Ir.fail(i.message);throw i}}}function px(e,t,n){let r=[];for(let o=0;o<e.childCount;o++){let i=e.child(o);i.content.size&&(i=i.copy(px(i.content,t,i))),i.isInline&&(i=t(i,n,o)),r.push(i)}return ct.fromArray(r)}class tc extends wo{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=t.resolve(this.from),o=r.node(r.sharedDepth(this.to)),i=new bt(px(n.content,(a,s)=>!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),o),n.openStart,n.openEnd);return Ir.fromReplace(t,this.from,this.to,i)}invert(){return new cs(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 tc(n.pos,r.pos,this.mark)}merge(t){return t instanceof tc&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new tc(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 tc(n.from,n.to,t.markFromJSON(n.mark))}}wo.jsonID("addMark",tc);class cs extends wo{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 bt(px(n.content,o=>o.mark(this.mark.removeFromSet(o.marks)),t),n.openStart,n.openEnd);return Ir.fromReplace(t,this.from,this.to,r)}invert(){return new tc(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 cs(n.pos,r.pos,this.mark)}merge(t){return t instanceof cs&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new cs(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 cs(n.from,n.to,t.markFromJSON(n.mark))}}wo.jsonID("removeMark",cs);class nc extends wo{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return Ir.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Ir.fromReplace(t,this.pos,this.pos+1,new bt(ct.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 o=0;o<n.marks.length;o++)if(!n.marks[o].isInSet(r))return new nc(this.pos,n.marks[o]);return new nc(this.pos,this.mark)}}return new kd(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new nc(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new nc(n.pos,t.markFromJSON(n.mark))}}wo.jsonID("addNodeMark",nc);class kd extends wo{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return Ir.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return Ir.fromReplace(t,this.pos,this.pos+1,new bt(ct.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new nc(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new kd(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new kd(n.pos,t.markFromJSON(n.mark))}}wo.jsonID("removeNodeMark",kd);class mo extends wo{constructor(t,n,r,o=!1){super(),this.from=t,this.to=n,this.slice=r,this.structure=o}apply(t){return this.structure&&G4(t,this.from,this.to)?Ir.fail("Structure replace would overwrite content"):Ir.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new ki([this.from,this.to-this.from,this.slice.size])}invert(t){return new mo(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deletedAcross&&r.deletedAcross?null:new mo(n.pos,Math.max(n.pos,r.pos),this.slice)}merge(t){if(!(t instanceof mo)||t.structure||this.structure)return null;if(this.from+this.slice.size==t.from&&!this.slice.openEnd&&!t.slice.openStart){let n=this.slice.size+t.slice.size==0?bt.empty:new bt(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new mo(this.from,this.to+(t.to-t.from),n,this.structure)}else if(t.to==this.from&&!this.slice.openStart&&!t.slice.openEnd){let n=this.slice.size+t.slice.size==0?bt.empty:new bt(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new mo(t.from,this.to,n,this.structure)}else return null}toJSON(){let t={stepType:"replace",from:this.from,to:this.to};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")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new mo(n.from,n.to,bt.fromJSON(t,n.slice),!!n.structure)}}wo.jsonID("replace",mo);class lo extends wo{constructor(t,n,r,o,i,a,s=!1){super(),this.from=t,this.to=n,this.gapFrom=r,this.gapTo=o,this.slice=i,this.insert=a,this.structure=s}apply(t){if(this.structure&&(G4(t,this.from,this.gapFrom)||G4(t,this.gapTo,this.to)))return Ir.fail("Structure gap-replace would overwrite content");let n=t.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return Ir.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?Ir.fromReplace(t,this.from,this.to,r):Ir.fail("Content does not fit in gap")}getMap(){return new ki([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let n=this.gapTo-this.gapFrom;return new lo(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1),o=t.map(this.gapFrom,-1),i=t.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||o<n.pos||i>r.pos?null:new lo(n.pos,r.pos,o,i,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 lo(n.from,n.to,n.gapFrom,n.gapTo,bt.fromJSON(t,n.slice),n.insert,!!n.structure)}}wo.jsonID("replaceAround",lo);function G4(e,t,n){let r=e.resolve(t),o=n-t,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let a=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,o--}}return!1}function JH(e,t,n,r){let o=[],i=[],a,s;e.doc.nodesBetween(t,n,(l,c,u)=>{if(!l.isInline)return;let f=l.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){let d=Math.max(c,t),h=Math.min(c+l.nodeSize,n),p=r.addToSet(f);for(let v=0;v<f.length;v++)f[v].isInSet(p)||(a&&a.to==d&&a.mark.eq(f[v])?a.to=h:o.push(a=new cs(d,h,f[v])));s&&s.to==d?s.to=h:i.push(s=new tc(d,h,r))}}),o.forEach(l=>e.step(l)),i.forEach(l=>e.step(l))}function $H(e,t,n,r){let o=[],i=0;e.doc.nodesBetween(t,n,(a,s)=>{if(!a.isInline)return;i++;let l=null;if(r instanceof Dm){let c=a.marks,u;for(;u=r.isInSet(c);)(l||(l=[])).push(u),c=u.removeFromSet(c)}else r?r.isInSet(a.marks)&&(l=[r]):l=a.marks;if(l&&l.length){let c=Math.min(s+a.nodeSize,n);for(let u=0;u<l.length;u++){let f=l[u],d;for(let h=0;h<o.length;h++){let p=o[h];p.step==i-1&&f.eq(o[h].style)&&(d=p)}d?(d.to=c,d.step=i):o.push({style:f,from:Math.max(s,t),to:c,step:i})}}}),o.forEach(a=>e.step(new cs(a.from,a.to,a.style)))}function jH(e,t,n,r=n.contentMatch){let o=e.doc.nodeAt(t),i=[],a=t+1;for(let s=0;s<o.childCount;s++){let l=o.child(s),c=a+l.nodeSize,u=r.matchType(l.type);if(!u)i.push(new mo(a,c,bt.empty));else{r=u;for(let f=0;f<l.marks.length;f++)n.allowsMarkType(l.marks[f].type)||e.step(new cs(a,c,l.marks[f]));if(l.isText&&!n.spec.code){let f,d=/\r?\n|\r/g,h;for(;f=d.exec(l.text);)h||(h=new bt(ct.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),i.push(new mo(a+f.index,a+f.index+f[0].length,h))}}a=c}if(!r.validEnd){let s=r.fillBefore(ct.empty,!0);e.replace(a,a,new bt(s,0,0))}for(let s=i.length-1;s>=0;s--)e.step(i[s])}function qH(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function Lp(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth;;--r){let o=e.$from.node(r),i=e.$from.index(r),a=e.$to.indexAfter(r);if(r<e.depth&&o.canReplace(i,a,n))return r;if(r==0||o.type.spec.isolating||!qH(o,i,a))break}return null}function eG(e,t,n){let{$from:r,$to:o,depth:i}=t,a=r.before(i+1),s=o.after(i+1),l=a,c=s,u=ct.empty,f=0;for(let p=i,v=!1;p>n;p--)v||r.index(p)>0?(v=!0,u=ct.from(r.node(p).copy(u)),f++):l--;let d=ct.empty,h=0;for(let p=i,v=!1;p>n;p--)v||o.after(p+1)<o.end(p)?(v=!0,d=ct.from(o.node(p).copy(d)),h++):c++;e.step(new lo(l,c,a,s,new bt(u.append(d),f,h),u.size-f,!0))}function vx(e,t,n=null,r=e){let o=tG(e,t),i=o&&nG(r,t);return i?o.map(wM).concat({type:t,attrs:n}).concat(i.map(wM)):null}function wM(e){return{type:e,attrs:null}}function tG(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.contentMatchAt(r).findWrapping(t);if(!i)return null;let a=i.length?i[0]:t;return n.canReplaceWith(r,o,a)?i:null}function nG(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.child(r),a=t.contentMatch.findWrapping(i.type);if(!a)return null;let l=(a.length?a[a.length-1]:t).contentMatch;for(let c=r;l&&c<o;c++)l=l.matchType(n.child(c).type);return!l||!l.validEnd?null:a}function rG(e,t,n){let r=ct.empty;for(let a=n.length-1;a>=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=ct.from(n[a].type.create(n[a].attrs,r))}let o=t.start,i=t.end;e.step(new lo(o,i,o,i,new bt(r,0,0),n.length,!0))}function oG(e,t,n,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=e.steps.length;e.doc.nodesBetween(t,n,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(r,o)&&iG(e.doc,e.mapping.slice(i).map(s),r)){e.clearIncompatible(e.mapping.slice(i).map(s,1),r);let l=e.mapping.slice(i),c=l.map(s,1),u=l.map(s+a.nodeSize,1);return e.step(new lo(c,u,c+1,u-1,new bt(ct.from(r.create(o,null,a.marks)),0,0),1,!0)),!1}})}function iG(e,t,n){let r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}function aG(e,t,n,r,o){let i=e.doc.nodeAt(t);if(!i)throw new RangeError("No node at given position");n||(n=i.type);let a=n.create(r,null,o||i.marks);if(i.isLeaf)return e.replaceWith(t,t+i.nodeSize,a);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new lo(t,t+i.nodeSize,t+1,t+i.nodeSize-1,new bt(ct.from(a),0,0),1,!0))}function vd(e,t,n=1,r){let o=e.resolve(t),i=o.depth-n,a=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!a.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let c=o.depth-1,u=n-2;c>i;c--,u--){let f=o.node(c),d=o.index(c);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(d,f.childCount),p=r&&r[u+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let v=r&&r[u]||f;if(!f.canReplace(d+1,f.childCount)||!v.type.validContent(h))return!1}let s=o.indexAfter(i),l=r&&r[0];return o.node(i).canReplaceWith(s,s,l?l.type:o.node(i+1).type)}function sG(e,t,n=1,r){let o=e.doc.resolve(t),i=ct.empty,a=ct.empty;for(let s=o.depth,l=o.depth-n,c=n-1;s>l;s--,c--){i=ct.from(o.node(s).copy(i));let u=r&&r[c];a=ct.from(u?u.type.create(u.attrs,a):o.node(s).copy(a))}e.step(new mo(t,t,new bt(i.append(a),n,n),!0))}function Hd(e,t){let n=e.resolve(t),r=n.index();return eP(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function eP(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function tP(e,t,n=-1){let r=e.resolve(t);for(let o=r.depth;;o--){let i,a,s=r.index(o);if(o==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(o+1),s++,a=r.node(o).maybeChild(s)):(i=r.node(o).maybeChild(s-1),a=r.node(o+1)),i&&!i.isTextblock&&eP(i,a)&&r.node(o).canReplace(s,s+1))return t;if(o==0)break;t=n<0?r.before(o):r.after(o)}}function lG(e,t,n){let r=new mo(t-n,t+n,bt.empty,!0);e.step(r)}function cG(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 o=r.depth-1;o>=0;o--){let i=r.index(o);if(r.node(o).canReplaceWith(i,i,n))return r.before(o+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let i=r.indexAfter(o);if(r.node(o).canReplaceWith(i,i,n))return r.after(o+1);if(i<r.node(o).childCount)return null}return null}function nP(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let o=n.content;for(let i=0;i<n.openStart;i++)o=o.firstChild.content;for(let i=1;i<=(n.openStart==0&&n.size?2:1);i++)for(let a=r.depth;a>=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),c=r.node(a),u=!1;if(i==1)u=c.canReplace(l,l,o);else{let f=c.contentMatchAt(l).findWrapping(o.firstChild.type);u=f&&c.canReplaceWith(l,l,f[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function gx(e,t,n=t,r=bt.empty){if(t==n&&!r.size)return null;let o=e.resolve(t),i=e.resolve(n);return rP(o,i,r)?new mo(t,n,r):new uG(o,i,r).fit()}function rP(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}class uG{constructor(t,n,r){this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=ct.empty;for(let o=0;o<=t.depth;o++){let i=t.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(t.indexAfter(o))})}for(let o=t.depth;o>0;o--)this.placed=ct.from(t.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,o=this.close(t<0?this.$to:r.doc.resolve(t));if(!o)return null;let i=this.placed,a=r.depth,s=o.depth;for(;a&&s&&i.childCount==1;)i=i.firstChild.content,a--,s--;let l=new bt(i,a,s);return t>-1?new lo(r.pos,t,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new mo(r.pos,o.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,o=this.unplaced.openEnd;r<t;r++){let i=n.firstChild;if(n.childCount>1&&(o=0),i.type.spec.isolating&&o<=r){t=r;break}n=i.content}for(let n=1;n<=2;n++)for(let r=n==1?t:this.unplaced.openStart;r>=0;r--){let o,i=null;r?(i=cR(this.unplaced.content,r-1).firstChild,o=i.content):o=this.unplaced.content;let a=o.firstChild;for(let s=this.depth;s>=0;s--){let{type:l,match:c}=this.frontier[s],u,f=null;if(n==1&&(a?c.matchType(a.type)||(f=c.fillBefore(ct.from(a),!1)):i&&l.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:s,parent:i,inject:f};if(n==2&&a&&(u=c.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:i,wrap:u};if(i&&c.matchType(i.type))break}}}openMore(){let{content:t,openStart:n,openEnd:r}=this.unplaced,o=cR(t,n);return!o.childCount||o.firstChild.isLeaf?!1:(this.unplaced=new bt(t,n+1,Math.max(r,o.size+n>=t.size-r?n+1:0)),!0)}dropNode(){let{content:t,openStart:n,openEnd:r}=this.unplaced,o=cR(t,n);if(o.childCount<=1&&n>0){let i=t.size-n<=n+o.size;this.unplaced=new bt(V0(t,n-1,1),n-1,i?n-1:r)}else this.unplaced=new bt(V0(t,n,1),n,r)}placeNodes({sliceDepth:t,frontierDepth:n,parent:r,inject:o,wrap:i}){for(;this.depth>n;)this.closeFrontierNode();if(i)for(let v=0;v<i.length;v++)this.openFrontierNode(i[v]);let a=this.unplaced,s=r?r.content:a.content,l=a.openStart-t,c=0,u=[],{match:f,type:d}=this.frontier[n];if(o){for(let v=0;v<o.childCount;v++)u.push(o.child(v));f=f.matchFragment(o)}let h=s.size+t-(a.content.size-a.openEnd);for(;c<s.childCount;){let v=s.child(c),m=f.matchType(v.type);if(!m)break;c++,(c>1||l==0||v.content.size)&&(f=m,u.push(oP(v.mark(d.allowedMarks(v.marks)),c==1?l:0,c==s.childCount?h:-1)))}let p=c==s.childCount;p||(h=-1),this.placed=U0(this.placed,n,ct.from(u)),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,m=s;v<h;v++){let x=m.lastChild;this.frontier.push({type:x.type,match:x.contentMatchAt(x.childCount)}),m=x.content}this.unplaced=p?t==0?bt.empty:new bt(V0(a.content,t-1,1),t-1,h<0?a.openEnd:t-1):new bt(V0(a.content,t,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let t=this.frontier[this.depth],n;if(!t.type.isTextblock||!uR(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(n=this.findCloseLevel(this.$to))&&n.depth==this.depth)return-1;let{depth:r}=this.$to,o=this.$to.after(r);for(;r>1&&o==this.$to.end(--r);)++o;return o}findCloseLevel(t){e:for(let n=Math.min(this.depth,t.depth);n>=0;n--){let{match:r,type:o}=this.frontier[n],i=n<t.depth&&t.end(n+1)==t.pos+(t.depth-(n+1)),a=uR(t,n,o,r,i);if(a){for(let s=n-1;s>=0;s--){let{match:l,type:c}=this.frontier[s],u=uR(t,s,c,l,!0);if(!u||u.childCount)continue e}return{depth:n,fit:a,move:i?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=U0(this.placed,n.depth,n.fit)),t=n.move;for(let r=n.depth+1;r<=t.depth;r++){let o=t.node(r),i=o.type.contentMatch.fillBefore(o.content,!0,t.index(r));this.openFrontierNode(o.type,o.attrs,i)}return t}openFrontierNode(t,n=null,r){let o=this.frontier[this.depth];o.match=o.match.matchType(t),this.placed=U0(this.placed,this.depth,ct.from(t.create(n,r))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(ct.empty,!0);n.childCount&&(this.placed=U0(this.placed,this.frontier.length,n))}}function V0(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(V0(e.firstChild.content,t-1,n)))}function U0(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(U0(e.lastChild.content,t-1,n)))}function cR(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function oP(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,oP(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(ct.empty,!0)))),e.copy(r)}function uR(e,t,n,r,o){let i=e.node(t),a=o?e.indexAfter(t):e.index(t);if(a==i.childCount&&!n.compatibleContent(i.type))return null;let s=r.fillBefore(i.content,!0,a);return s&&!fG(n,i.content,a)?s:null}function fG(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}function dG(e){return e.spec.defining||e.spec.definingForContent}function hG(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let o=e.doc.resolve(t),i=e.doc.resolve(n);if(rP(o,i,r))return e.step(new mo(t,n,r));let a=aP(o,e.doc.resolve(n));a[a.length-1]==0&&a.pop();let s=-(o.depth+1);a.unshift(s);for(let d=o.depth,h=o.pos-1;d>0;d--,h--){let p=o.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(d)>-1?s=d:o.before(d)==h&&a.splice(1,0,-d)}let l=a.indexOf(s),c=[],u=r.openStart;for(let d=r.content,h=0;;h++){let p=d.firstChild;if(c.push(p),h==r.openStart)break;d=p.content}for(let d=u-1;d>=0;d--){let h=c[d],p=dG(h.type);if(p&&!h.sameMarkup(o.node(Math.abs(s)-1)))u=d;else if(p||!h.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let h=(d+u+1)%(r.openStart+1),p=c[h];if(p)for(let v=0;v<a.length;v++){let m=a[(v+l)%a.length],x=!0;m<0&&(x=!1,m=-m);let y=o.node(m-1),R=o.index(m-1);if(y.canReplaceWith(R,R,p.type,p.marks))return e.replace(o.before(m),x?i.after(m):n,new bt(iP(r.content,0,r.openStart,h),h,r.openEnd))}}let f=e.steps.length;for(let d=a.length-1;d>=0&&(e.replace(t,n,r),!(e.steps.length>f));d--){let h=a[d];h<0||(t=o.before(h),n=i.after(h))}}function iP(e,t,n,r,o){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(iP(i.content,t+1,n,r,i)))}if(t>r){let i=o.contentMatchAt(0),a=i.fillBefore(e).append(e);e=a.append(i.matchFragment(a).fillBefore(ct.empty,!0))}return e}function pG(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let o=cG(e.doc,t,r.type);o!=null&&(t=n=o)}e.replaceRange(t,n,new bt(ct.from(r),0,0))}function vG(e,t,n){let r=e.doc.resolve(t),o=e.doc.resolve(n),i=aP(r,o);for(let a=0;a<i.length;a++){let s=i[a],l=a==i.length-1;if(l&&s==0||r.node(s).type.contentMatch.validEnd)return e.delete(r.start(s),o.end(s));if(s>0&&(l||r.node(s-1).canReplace(r.index(s-1),o.indexAfter(s-1))))return e.delete(r.before(s),o.after(s))}for(let a=1;a<=r.depth&&a<=o.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&o.end(a)-n!=o.depth-a)return e.delete(r.before(a),n);e.delete(t,n)}function aP(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let o=r;o>=0;o--){let i=e.start(o);if(i<e.pos-(e.depth-o)||t.end(o)>t.pos+(t.depth-o)||e.node(o).type.spec.isolating||t.node(o).type.spec.isolating)break;(i==t.start(o)||o==e.depth&&o==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&o&&t.start(o-1)==i-1)&&n.push(o)}return n}class gd extends wo{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 Ir.fail("No node at attribute step's position");let r=Object.create(null);for(let i in n.attrs)r[i]=n.attrs[i];r[this.attr]=this.value;let o=n.type.create(r,null,n.marks);return Ir.fromReplace(t,this.pos,this.pos+1,new bt(ct.from(o),0,n.isLeaf?0:1))}getMap(){return ki.empty}invert(t){return new gd(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 gd(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 gd(n.pos,n.attr,n.value)}}wo.jsonID("attr",gd);class $h extends wo{constructor(t,n){super(),this.attr=t,this.value=n}apply(t){let n=Object.create(null);for(let o in t.attrs)n[o]=t.attrs[o];n[this.attr]=this.value;let r=t.type.create(n,t.content,t.marks);return Ir.ok(r)}getMap(){return ki.empty}invert(t){return new $h(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 $h(n.attr,n.value)}}wo.jsonID("docAttr",$h);let Nd=class extends Error{};Nd=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n};Nd.prototype=Object.create(Error.prototype);Nd.prototype.constructor=Nd;Nd.prototype.name="TransformError";let gG=class{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new pd}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let n=this.maybeStep(t);if(n.failed)throw new Nd(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=bt.empty){let o=gx(this.doc,t,n,r);return o&&this.step(o),this}replaceWith(t,n,r){return this.replace(t,n,new bt(ct.from(r),0,0))}delete(t,n){return this.replace(t,n,bt.empty)}insert(t,n){return this.replaceWith(t,t,n)}replaceRange(t,n,r){return hG(this,t,n,r),this}replaceRangeWith(t,n,r){return pG(this,t,n,r),this}deleteRange(t,n){return vG(this,t,n),this}lift(t,n){return eG(this,t,n),this}join(t,n=1){return lG(this,t,n),this}wrap(t,n){return rG(this,t,n),this}setBlockType(t,n=t,r,o=null){return oG(this,t,n,r,o),this}setNodeMarkup(t,n,r=null,o){return aG(this,t,n,r,o),this}setNodeAttribute(t,n,r){return this.step(new gd(t,n,r)),this}setDocAttribute(t,n){return this.step(new $h(t,n)),this}addNodeMark(t,n){return this.step(new nc(t,n)),this}removeNodeMark(t,n){if(!(n instanceof Cn)){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 kd(t,n)),this}split(t,n=1,r){return sG(this,t,n,r),this}addMark(t,n,r){return JH(this,t,n,r),this}removeMark(t,n,r){return $H(this,t,n,r),this}clearIncompatible(t,n,r){return jH(this,t,n,r),this}};const fR=Object.create(null);class yn{constructor(t,n,r){this.$anchor=t,this.$head=n,this.ranges=r||[new mG(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<t.length;n++)if(t[n].$from.pos!=t[n].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(t,n=bt.empty){let r=n.content.lastChild,o=null;for(let s=0;s<n.openEnd;s++)o=r,r=r.lastChild;let i=t.steps.length,a=this.ranges;for(let s=0;s<a.length;s++){let{$from:l,$to:c}=a[s],u=t.mapping.slice(i);t.replaceRange(u.map(l.pos),u.map(c.pos),s?bt.empty:n),s==0&&TM(t,i,(r?r.isInline:o&&o.isTextblock)?-1:1)}}replaceWith(t,n){let r=t.steps.length,o=this.ranges;for(let i=0;i<o.length;i++){let{$from:a,$to:s}=o[i],l=t.mapping.slice(r),c=l.map(a.pos),u=l.map(s.pos);i?t.deleteRange(c,u):(t.replaceRangeWith(c,u,n),TM(t,r,n.isInline?-1:1))}}static findFrom(t,n,r=!1){let o=t.parent.inlineContent?new En(t):Xf(t.node(0),t.parent,t.pos,t.index(),n,r);if(o)return o;for(let i=t.depth-1;i>=0;i--){let a=n<0?Xf(t.node(0),t.node(i),t.before(i+1),t.index(i),n,r):Xf(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,n,r);if(a)return a}return null}static near(t,n=1){return this.findFrom(t,n)||this.findFrom(t,-n)||new oi(t.node(0))}static atStart(t){return Xf(t,t,0,0,1)||new oi(t)}static atEnd(t){return Xf(t,t,t.content.size,t.childCount,-1)||new oi(t)}static fromJSON(t,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=fR[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 fR)throw new RangeError("Duplicate use of selection JSON ID "+t);return fR[t]=n,n.prototype.jsonID=t,n}getBookmark(){return En.between(this.$anchor,this.$head).getBookmark()}}yn.prototype.visible=!0;class mG{constructor(t,n){this.$from=t,this.$to=n}}let LM=!1;function OM(e){!LM&&!e.parent.inlineContent&&(LM=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class En extends yn{constructor(t,n=t){OM(t),OM(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 yn.near(r);let o=t.resolve(n.map(this.anchor));return new En(o.parent.inlineContent?o:r,r)}replace(t,n=bt.empty){if(super.replace(t,n),n==bt.empty){let r=this.$from.marksAcross(this.$to);r&&t.ensureMarks(r)}}eq(t){return t instanceof En&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new Km(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 En(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){let o=t.resolve(n);return new this(o,r==n?o:t.resolve(r))}static between(t,n,r){let o=t.pos-n.pos;if((!r||o)&&(r=o>=0?1:-1),!n.parent.inlineContent){let i=yn.findFrom(n,r,!0)||yn.findFrom(n,-r,!0);if(i)n=i.$head;else return yn.near(n,r)}return t.parent.inlineContent||(o==0?t=n:(t=(yn.findFrom(t,-r,!0)||yn.findFrom(t,r,!0)).$anchor,t.pos<n.pos!=o<0&&(t=n))),new En(t,n)}}yn.jsonID("text",En);class Km{constructor(t,n){this.anchor=t,this.head=n}map(t){return new Km(t.map(this.anchor),t.map(this.head))}resolve(t){return En.between(t.resolve(this.anchor),t.resolve(this.head))}}class Yt extends yn{constructor(t){let n=t.nodeAfter,r=t.node(0).resolve(t.pos+n.nodeSize);super(t,r),this.node=n}map(t,n){let{deleted:r,pos:o}=n.mapResult(this.anchor),i=t.resolve(o);return r?yn.near(i):new Yt(i)}content(){return new bt(ct.from(this.node),0,0)}eq(t){return t instanceof Yt&&t.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new mx(this.anchor)}static fromJSON(t,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Yt(t.resolve(n.anchor))}static create(t,n){return new Yt(t.resolve(n))}static isSelectable(t){return!t.isText&&t.type.spec.selectable!==!1}}Yt.prototype.visible=!1;yn.jsonID("node",Yt);class mx{constructor(t){this.anchor=t}map(t){let{deleted:n,pos:r}=t.mapResult(this.anchor);return n?new Km(r,r):new mx(r)}resolve(t){let n=t.resolve(this.anchor),r=n.nodeAfter;return r&&Yt.isSelectable(r)?new Yt(n):yn.near(n)}}class oi extends yn{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,n=bt.empty){if(n==bt.empty){t.delete(0,t.doc.content.size);let r=yn.atStart(t.doc);r.eq(t.selection)||t.setSelection(r)}else super.replace(t,n)}toJSON(){return{type:"all"}}static fromJSON(t){return new oi(t)}map(t){return new oi(t)}eq(t){return t instanceof oi}getBookmark(){return AG}}yn.jsonID("all",oi);const AG={map(){return this},resolve(e){return new oi(e)}};function Xf(e,t,n,r,o,i=!1){if(t.inlineContent)return En.create(e,n);for(let a=r-(o>0?0:1);o>0?a<t.childCount:a>=0;a+=o){let s=t.child(a);if(s.isAtom){if(!i&&Yt.isSelectable(s))return Yt.create(e,n-(o<0?s.nodeSize:0))}else{let l=Xf(e,s,n+o,o<0?s.childCount:0,o,i);if(l)return l}n+=s.nodeSize*o}return null}function TM(e,t,n){let r=e.steps.length-1;if(r<t)return;let o=e.steps[r];if(!(o instanceof mo||o instanceof lo))return;let i=e.mapping.maps[r],a;i.forEach((s,l,c,u)=>{a==null&&(a=u)}),e.setSelection(yn.near(e.doc.resolve(a),n))}const kM=1,sv=2,NM=4;let RG=class extends gG{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.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(t){if(t.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=t,this.curSelectionFor=this.steps.length,this.updated=(this.updated|kM)&~sv,this.storedMarks=null,this}get selectionSet(){return(this.updated&kM)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=sv,this}ensureMarks(t){return Cn.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&sv)>0}addStep(t,n){super.addStep(t,n),this.updated=this.updated&~sv,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)||Cn.none))),r.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,n,r){let o=this.doc.type.schema;if(n==null)return t?this.replaceSelectionWith(o.text(t),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!t)return this.deleteRange(n,r);let i=this.storedMarks;if(!i){let a=this.doc.resolve(n);i=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,o.text(t,i)),this.selection.empty||this.setSelection(yn.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|=NM,this}get scrolledIntoView(){return(this.updated&NM)>0}};function PM(e,t){return!t||!e?e:e.bind(t)}class Y0{constructor(t,n,r){this.name=t,this.init=PM(n.init,r),this.apply=PM(n.apply,r)}}const yG=[new Y0("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new Y0("selection",{init(e,t){return e.selection||yn.atStart(t.doc)},apply(e){return e.selection}}),new Y0("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new Y0("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class dR{constructor(t,n){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=yG.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 Y0(r.key,r.spec.state,r))})}}class zf{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;r<this.config.plugins.length;r++)if(r!=n){let o=this.config.plugins[r];if(o.spec.filterTransaction&&!o.spec.filterTransaction.call(o,t,this))return!1}return!0}applyTransaction(t){if(!this.filterTransaction(t))return{state:this,transactions:[]};let n=[t],r=this.applyInner(t),o=null;for(;;){let i=!1;for(let a=0;a<this.config.plugins.length;a++){let s=this.config.plugins[a];if(s.spec.appendTransaction){let l=o?o[a].n:0,c=o?o[a].state:this,u=l<n.length&&s.spec.appendTransaction.call(s,l?n.slice(l):n,c,r);if(u&&r.filterTransaction(u,a)){if(u.setMeta("appendedTransaction",t),!o){o=[];for(let f=0;f<this.config.plugins.length;f++)o.push(f<a?{state:r,n:n.length}:{state:this,n:0})}n.push(u),r=r.applyInner(u),i=!0}o&&(o[a]={state:r,n:n.length})}}if(!i)return{state:r,transactions:n}}}applyInner(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let n=new zf(this.config),r=this.config.fields;for(let o=0;o<r.length;o++){let i=r[o];n[i.name]=i.apply(t,this[i.name],this,n)}return n}get tr(){return new RG(this)}static create(t){let n=new dR(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new zf(n);for(let o=0;o<n.fields.length;o++)r[n.fields[o].name]=n.fields[o].init(t,r);return r}reconfigure(t){let n=new dR(this.schema,t.plugins),r=n.fields,o=new zf(n);for(let i=0;i<r.length;i++){let a=r[i].name;o[a]=this.hasOwnProperty(a)?this[a]:r[i].init(t,o)}return o}toJSON(t){let n={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(n.storedMarks=this.storedMarks.map(r=>r.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 o=t[r],i=o.spec.state;i&&i.toJSON&&(n[r]=i.toJSON.call(o,this[o.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 o=new dR(t.schema,t.plugins),i=new zf(o);return o.fields.forEach(a=>{if(a.name=="doc")i.doc=ds.fromJSON(t.schema,n.doc);else if(a.name=="selection")i.selection=yn.fromJSON(i.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(i.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let s in r){let l=r[s],c=l.spec.state;if(l.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){i[a.name]=c.fromJSON.call(l,t,n[s],i);return}}i[a.name]=a.init(t,i)}}),i}}function sP(e,t,n){for(let r in e){let o=e[r];o instanceof Function?o=o.bind(t):r=="handleDOMEvents"&&(o=sP(o,t,{})),n[r]=o}return n}class Gd{constructor(t){this.spec=t,this.props={},t.props&&sP(t.props,this,this.props),this.key=t.key?t.key.key:lP("plugin")}getState(t){return t[this.key]}}const hR=Object.create(null);function lP(e){return e in hR?e+"$"+ ++hR[e]:(hR[e]=0,e+"$")}class cP{constructor(t="key"){this.key=lP(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const uP=(e,t)=>e.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function bG(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const xG=(e,t,n)=>{let r=bG(e,n);if(!r)return!1;let o=fP(r);if(!o){let a=r.blockRange(),s=a&&Lp(a);return s==null?!1:(t&&t(e.tr.lift(a,s).scrollIntoView()),!0)}let i=o.nodeBefore;if(AP(e,o,t,-1))return!0;if(r.parent.content.size==0&&(Pd(i,"end")||Yt.isSelectable(i)))for(let a=r.depth;;a--){let s=gx(e.doc,r.before(a),r.after(a),bt.empty);if(s&&s.slice.size<s.to-s.from){if(t){let l=e.tr.step(s);l.setSelection(Pd(i,"end")?yn.findFrom(l.doc.resolve(l.mapping.map(o.pos,-1)),-1):Yt.create(l.doc,o.pos-i.nodeSize)),t(l.scrollIntoView())}return!0}if(a==1||r.node(a-1).childCount>1)break}return i.isAtom&&o.depth==r.depth-1?(t&&t(e.tr.delete(o.pos-i.nodeSize,o.pos).scrollIntoView()),!0):!1};function Pd(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 SG=(e,t,n)=>{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;i=fP(r)}let a=i&&i.nodeBefore;return!a||!Yt.isSelectable(a)?!1:(t&&t(e.tr.setSelection(Yt.create(e.doc,i.pos-a.nodeSize)).scrollIntoView()),!0)};function fP(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 MG(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}const wG=(e,t,n)=>{let r=MG(e,n);if(!r)return!1;let o=dP(r);if(!o)return!1;let i=o.nodeAfter;if(AP(e,o,t,1))return!0;if(r.parent.content.size==0&&(Pd(i,"start")||Yt.isSelectable(i))){let a=gx(e.doc,r.before(),r.after(),bt.empty);if(a&&a.slice.size<a.to-a.from){if(t){let s=e.tr.step(a);s.setSelection(Pd(i,"start")?yn.findFrom(s.doc.resolve(s.mapping.map(o.pos)),1):Yt.create(s.doc,s.mapping.map(o.pos))),t(s.scrollIntoView())}return!0}}return i.isAtom&&o.depth==r.depth-1?(t&&t(e.tr.delete(o.pos,o.pos+i.nodeSize).scrollIntoView()),!0):!1},LG=(e,t,n)=>{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)return!1;i=dP(r)}let a=i&&i.nodeAfter;return!a||!Yt.isSelectable(a)?!1:(t&&t(e.tr.setSelection(Yt.create(e.doc,i.pos)).scrollIntoView()),!0)};function dP(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}const OG=(e,t)=>{let n=e.selection,r=n instanceof Yt,o;if(r){if(n.node.isTextblock||!Hd(e.doc,n.from))return!1;o=n.from}else if(o=tP(e.doc,n.from,-1),o==null)return!1;if(t){let i=e.tr.join(o);r&&i.setSelection(Yt.create(i.doc,o-e.doc.resolve(o).nodeBefore.nodeSize)),t(i.scrollIntoView())}return!0},TG=(e,t)=>{let n=e.selection,r;if(n instanceof Yt){if(n.node.isTextblock||!Hd(e.doc,n.to))return!1;r=n.to}else if(r=tP(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},kG=(e,t)=>{let{$from:n,$to:r}=e.selection,o=n.blockRange(r),i=o&&Lp(o);return i==null?!1:(t&&t(e.tr.lift(o,i).scrollIntoView()),!0)},hP=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(`
|
||
`).scrollIntoView()),!0)};function Ax(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const NG=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let o=n.node(-1),i=n.indexAfter(-1),a=Ax(o.contentMatchAt(i));if(!a||!o.canReplaceWith(i,i,a))return!1;if(t){let s=n.after(),l=e.tr.replaceWith(s,s,a.createAndFill());l.setSelection(yn.near(l.doc.resolve(s),1)),t(l.scrollIntoView())}return!0},pP=(e,t)=>{let n=e.selection,{$from:r,$to:o}=n;if(n instanceof oi||r.parent.inlineContent||o.parent.inlineContent)return!1;let i=Ax(o.parent.contentMatchAt(o.indexAfter()));if(!i||!i.isTextblock)return!1;if(t){let a=(!r.parentOffset&&o.index()<o.parent.childCount?r:o).pos,s=e.tr.insert(a,i.createAndFill());s.setSelection(En.create(s.doc,a+1)),t(s.scrollIntoView())}return!0},vP=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if(vd(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let r=n.blockRange(),o=r&&Lp(r);return o==null?!1:(t&&t(e.tr.lift(r,o).scrollIntoView()),!0)};function PG(e){return(t,n)=>{let{$from:r,$to:o}=t.selection;if(t.selection instanceof Yt&&t.selection.node.isBlock)return!r.parentOffset||!vd(t.doc,r.pos)?!1:(n&&n(t.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let i=o.parentOffset==o.parent.content.size,a=t.tr;(t.selection instanceof En||t.selection instanceof oi)&&a.deleteSelection();let s=r.depth==0?null:Ax(r.node(-1).contentMatchAt(r.indexAfter(-1))),l=i&&s?[{type:s}]:void 0,c=vd(a.doc,a.mapping.map(r.pos),1,l);if(!l&&!c&&vd(a.doc,a.mapping.map(r.pos),1,s?[{type:s}]:void 0)&&(s&&(l=[{type:s}]),c=!0),c&&(a.split(a.mapping.map(r.pos),1,l),!i&&!r.parentOffset&&r.parent.type!=s)){let u=a.mapping.map(r.before()),f=a.doc.resolve(u);s&&r.node(-1).canReplaceWith(f.index(),f.index()+1,s)&&a.setNodeMarkup(a.mapping.map(r.before()),s)}n(a.scrollIntoView())}return!0}}const gP=PG(),CG=(e,t)=>gP(e,t&&(n=>{let r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();r&&n.ensureMarks(r),t(n)})),IG=(e,t)=>{let{$from:n,to:r}=e.selection,o,i=n.sharedDepth(r);return i==0?!1:(o=n.before(i),t&&t(e.tr.setSelection(Yt.create(e.doc,o))),!0)},mP=(e,t)=>(t&&t(e.tr.setSelection(new oi(e.doc))),!0);function FG(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i=t.index();return!r||!o||!r.type.compatibleContent(o.type)?!1:!r.content.size&&t.parent.canReplace(i-1,i)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(i,i+1)||!(o.isTextblock||Hd(e.doc,t.pos))?!1:(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),!0)}function AP(e,t,n,r){let o=t.nodeBefore,i=t.nodeAfter,a,s,l=o.type.spec.isolating||i.type.spec.isolating;if(!l&&FG(e,t,n))return!0;let c=!l&&t.parent.canReplace(t.index(),t.index()+1);if(c&&(a=(s=o.contentMatchAt(o.childCount)).findWrapping(i.type))&&s.matchType(a[0]||i.type).validEnd){if(n){let h=t.pos+i.nodeSize,p=ct.empty;for(let x=a.length-1;x>=0;x--)p=ct.from(a[x].create(null,p));p=ct.from(o.copy(p));let v=e.tr.step(new lo(t.pos-1,h,t.pos,h,new bt(p,1,0),a.length,!0)),m=h+2*a.length;Hd(v.doc,m)&&v.join(m),n(v.scrollIntoView())}return!0}let u=i.type.spec.isolating||r>0&&l?null:yn.findFrom(t,1),f=u&&u.$from.blockRange(u.$to),d=f&&Lp(f);if(d!=null&&d>=t.depth)return n&&n(e.tr.lift(f,d).scrollIntoView()),!0;if(c&&Pd(i,"start",!0)&&Pd(o,"end")){let h=o,p=[];for(;p.push(h),!h.isTextblock;)h=h.lastChild;let v=i,m=1;for(;!v.isTextblock;v=v.firstChild)m++;if(h.canReplace(h.childCount,h.childCount,v.content)){if(n){let x=ct.empty;for(let R=p.length-1;R>=0;R--)x=ct.from(p[R].copy(x));let y=e.tr.step(new lo(t.pos-p.length,t.pos+i.nodeSize,t.pos+m,t.pos+i.nodeSize-m,new bt(x,p.length,0),0,!0));n(y.scrollIntoView())}return!0}}return!1}function RP(e){return function(t,n){let r=t.selection,o=e<0?r.$from:r.$to,i=o.depth;for(;o.node(i).isInline;){if(!i)return!1;i--}return o.node(i).isTextblock?(n&&n(t.tr.setSelection(En.create(t.doc,e<0?o.start(i):o.end(i)))),!0):!1}}const _G=RP(-1),EG=RP(1);function XG(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=a&&vx(a,e,t);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function WG(e,t,n,r){for(let o=0;o<t.length;o++){let{$from:i,$to:a}=t[o],s=i.depth==0?e.inlineContent&&e.type.allowsMarkType(n):!1;if(e.nodesBetween(i.pos,a.pos,(l,c)=>{if(s||!r)return!1;s=l.inlineContent&&l.type.allowsMarkType(n)}),s)return!0}return!1}function Pr(e,t=null,n){let r=n!==!1;return function(o,i){let{empty:a,$cursor:s,ranges:l}=o.selection;if(a&&!s||!WG(o.doc,l,e,r))return!1;if(i)if(s)e.isInSet(o.storedMarks||s.marks())?i(o.tr.removeStoredMark(e)):i(o.tr.addStoredMark(e.create(t)));else{let c,u=o.tr;c=!l.some(f=>o.doc.rangeHasMark(f.$from.pos,f.$to.pos,e));for(let f=0;f<l.length;f++){let{$from:d,$to:h}=l[f];if(!c)u.removeMark(d.pos,h.pos,e);else{let p=d.pos,v=h.pos,m=d.nodeAfter,x=h.nodeBefore,y=m&&m.isText?/^\s*/.exec(m.text)[0].length:0,R=x&&x.isText?/\s*$/.exec(x.text)[0].length:0;p+y<v&&(p+=y,v-=R),u.addMark(p,v,e.create(t))}}i(u.scrollIntoView())}return!0}}function Hm(...e){return function(t,n,r){for(let o=0;o<e.length;o++)if(e[o](t,n,r))return!0;return!1}}let pR=Hm(uP,xG,SG),CM=Hm(uP,wG,LG);const Gs={Enter:Hm(hP,pP,vP,gP),"Mod-Enter":NG,Backspace:pR,"Mod-Backspace":pR,"Shift-Backspace":pR,Delete:CM,"Mod-Delete":CM,"Mod-a":mP},yP={"Ctrl-h":Gs.Backspace,"Alt-Backspace":Gs["Mod-Backspace"],"Ctrl-d":Gs.Delete,"Ctrl-Alt-Backspace":Gs["Mod-Delete"],"Alt-Delete":Gs["Mod-Delete"],"Alt-d":Gs["Mod-Delete"],"Ctrl-a":_G,"Ctrl-e":EG};for(let e in Gs)yP[e]=Gs[e];const VG=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform?os.platform()=="darwin":!1,UG=VG?yP:Gs,Vg=(e,t)=>e.type===t.nodes.bullet_list||e.type===t.nodes.ordered_list,Er=e=>{const{empty:t}=e.state.selection;t&&mP(e.state,e.dispatch)},za=(e,t,n)=>{if(n)e.dispatch(e.state.tr.addMark(n.from,n.to,t));else{const{$from:r,$to:o}=e.state.selection;e.dispatch(e.state.tr.addMark(r.pos,o.pos,t))}},YG=(e,t,n,r)=>{let o=t;const i=d=>d.type===r;let a=null,s=null,l=null;for(;o<=n;){const d=e.nodeAt(o);if(!d||!d.marks)return null;const h=d.marks.find(i);if(!h||a&&h!==a)return null;s=s||d,a=a||h,l=d,o++}let c=t,u=n,f=0;for(o=t-1;o>f;){const d=e.nodeAt(o),h=d&&d.marks.find(i);if(!h||h!==a)break;c=o,s=d,o--}for(o=n+1,f=e.nodeSize-2;o<f;){const d=e.nodeAt(o),h=d&&d.marks.find(i);if(!h||h!==a)break;u=o,l=d,o++}return{mark:a,from:{node:s,pos:c},to:{node:l,pos:u}}},QG=(e,t)=>Array.isArray(e)&&e.indexOf(t.type)>-1||t.type===e,ZG=(e,t)=>{for(let n=e.depth;n>0;n--){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}},bP=e=>t=>ZG(t.$from,e),BG=e=>t=>bP(n=>QG(e,n))(t),Bv=(e,t)=>{const n=t.schema.nodes[e];return!!BG(n)(t.selection)},xP=e=>e?e.type.name==="text"?e:e.lastChild?xP(e.lastChild):null:null,SP=e=>{const{selection:t,doc:n}=e.state,{from:r}=t;let o=n.nodeAt(r)||n.nodeAt(r-1);return o=xP(o),(o==null?void 0:o.marks)||[]},Wf=(e,t,n)=>{for(const r of e)if(r.type.name===t&&r.attrs[n])return r.attrs[n];return null},Kc=(e,t)=>{for(const n of e)if(n.type.name===t)return!0;return!1},DG=(e,t)=>{const{from:n,$from:r,to:o,empty:i}=e.selection;return i?t.isInSet(e.storedMarks||r.marks()):e.doc.rangeHasMark(n,o,t)},KG=(e,t)=>{const{selection:n,doc:r}=e.state,{from:o,to:i}=n;let a=!0,s="";return r.nodesBetween(o,i,l=>(a&&l.attrs[t]&&(a=!1,s=l.attrs[t]),a)),s},MP={color:"#000",backcolor:"",fontsize:"20px",fontname:"微软雅黑",align:"left"},z4=(e,t={})=>{const n={...MP,...t},r=SP(e),o=Kc(r,"strong"),i=Kc(r,"em"),a=Kc(r,"underline"),s=Kc(r,"strikethrough"),l=Kc(r,"superscript"),c=Kc(r,"subscript"),u=Kc(r,"code"),f=Wf(r,"forecolor","color")||n.color,d=Wf(r,"backcolor","backcolor")||n.backcolor,h=Wf(r,"fontsize","fontsize")||n.fontsize,p=Wf(r,"fontname","fontname")||n.fontname,v=Wf(r,"link","href")||"",m=KG(e,"align")||n.align,x=Bv("bullet_list",e.state),y=Bv("ordered_list",e.state),R=Bv("blockquote",e.state);return{bold:o,em:i,underline:a,strikethrough:s,superscript:l,subscript:c,code:u,color:f,backcolor:d,fontsize:h,fontname:p,link:v,align:m,bulletList:x,orderedList:y,blockquote:R}},IM=e=>{const t=SP(e),n=Wf(t,"fontsize","fontsize")||MP.fontsize;return parseInt(n)},HG={bold:!1,em:!1,underline:!1,strikethrough:!1,superscript:!1,subscript:!1,code:!1,color:"#000",backcolor:"",fontsize:"20px",fontname:"微软雅黑",link:"",align:"left",bulletList:!1,orderedList:!1,blockquote:!1},J4=[{label:"Arial",value:"Arial"},{label:"微软雅黑",value:"Microsoft Yahei"},{label:"宋体",value:"SimSun"},{label:"黑体",value:"SimHei"},{label:"楷体",value:"KaiTi"},{label:"新宋体",value:"NSimSun"},{label:"仿宋",value:"FangSong"},{label:"苹方",value:"PingFang SC"},{label:"华文黑体",value:"STHeiti"},{label:"华文楷体",value:"STKaiti"},{label:"华文宋体",value:"STSong"},{label:"华文仿宋",value:"STFangSong"},{label:"华文中宋",value:"STZhongSong"},{label:"华文琥珀",value:"STHupo"},{label:"华文新魏",value:"STXinwei"},{label:"华文隶书",value:"STLiti"},{label:"华文行楷",value:"STXingkai"},{label:"冬青黑体",value:"Hiragino Sans GB"},{label:"兰亭黑",value:"Lantinghei SC"},{label:"偏偏体",value:"Hanzipen SC"},{label:"手札体",value:"Hannotate SC"},{label:"宋体",value:"Songti SC"},{label:"娃娃体",value:"Wawati SC"},{label:"行楷",value:"Xingkai SC"},{label:"圆体",value:"Yuanti SC"},{label:"华文细黑",value:"STXihei"},{label:"幼圆",value:"YouYuan"},{label:"隶书",value:"LiSu"}],Op=[{label:"得意黑",value:"得意黑"},{label:"仓耳小丸子",value:"仓耳小丸子"},{label:"优设标题黑",value:"优设标题黑"},{label:"峰广明锐体",value:"峰广明锐体"},{label:"摄图摩登小方体",value:"摄图摩登小方体"},{label:"站酷快乐体",value:"站酷快乐体"},{label:"字制区喜脉体",value:"字制区喜脉体"},{label:"素材集市康康体",value:"素材集市康康体"},{label:"素材集市酷方体",value:"素材集市酷方体"},{label:"途牛类圆体",value:"途牛类圆体"},{label:"锐字真言体",value:"锐字真言体"}],GG=e=>{if(typeof e!="string")return!1;const t="Arial";if(e.toLowerCase()===t.toLowerCase())return!0;const n=100,r=100,o=100,i="a",a=document.createElement("canvas"),s=a.getContext("2d",{willReadFrequently:!0});if(!s)return!1;a.width=r,a.height=o,s.textAlign="center",s.fillStyle="black",s.textBaseline="middle";const l=c=>{s.clearRect(0,0,r,o),s.font=`${n}px ${c}, ${t}`,s.fillText(i,r/2,o/2);const u=s.getImageData(0,0,r,o).data;return[].slice.call(u).filter(f=>f!==0)};return l(t).join("")!==l(e).join("")};function Ug(e){"@babel/helpers - typeof";return Ug=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},Ug(e)}var zG=/^\s+/,JG=/\s+$/;function ot(e,t){if(e=e||"",t=t||{},e instanceof ot)return e;if(!(this instanceof ot))return new ot(e,t);var n=$G(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}ot.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 t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,o,i,a,s;return n=t.r/255,r=t.g/255,o=t.b/255,n<=.03928?i=n/12.92:i=Math.pow((n+.055)/1.055,2.4),r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),o<=.03928?s=o/12.92:s=Math.pow((o+.055)/1.055,2.4),.2126*i+.7152*a+.0722*s},setAlpha:function(t){return this._a=wP(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=_M(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=_M(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+o+"%)":"hsva("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=FM(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=FM(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+o+"%)":"hsla("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return EM(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return tz(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},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(nr(this._r,255)*100)+"%",g:Math.round(nr(this._g,255)*100)+"%",b:Math.round(nr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(nr(this._r,255)*100)+"%, "+Math.round(nr(this._g,255)*100)+"%, "+Math.round(nr(this._b,255)*100)+"%)":"rgba("+Math.round(nr(this._r,255)*100)+"%, "+Math.round(nr(this._g,255)*100)+"%, "+Math.round(nr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:hz[EM(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+XM(this._r,this._g,this._b,this._a),r=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var i=ot(t);r="#"+XM(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,o=this._a<1&&this._a>=0,i=!n&&o&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return i?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return ot(this.toString())},_applyModification:function(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(iz,arguments)},brighten:function(){return this._applyModification(az,arguments)},darken:function(){return this._applyModification(sz,arguments)},desaturate:function(){return this._applyModification(nz,arguments)},saturate:function(){return this._applyModification(rz,arguments)},greyscale:function(){return this._applyModification(oz,arguments)},spin:function(){return this._applyModification(lz,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(fz,arguments)},complement:function(){return this._applyCombination(cz,arguments)},monochromatic:function(){return this._applyCombination(dz,arguments)},splitcomplement:function(){return this._applyCombination(uz,arguments)},triad:function(){return this._applyCombination(WM,[3])},tetrad:function(){return this._applyCombination(WM,[4])}};ot.fromRatio=function(e,t){if(Ug(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=Q0(e[r]));e=n}return ot(e,t)};function $G(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=mz(e)),Ug(e)=="object"&&(Xs(e.r)&&Xs(e.g)&&Xs(e.b)?(t=jG(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Xs(e.h)&&Xs(e.s)&&Xs(e.v)?(r=Q0(e.s),o=Q0(e.v),t=ez(e.h,r,o),a=!0,s="hsv"):Xs(e.h)&&Xs(e.s)&&Xs(e.l)&&(r=Q0(e.s),i=Q0(e.l),t=qG(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=wP(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function jG(e,t,n){return{r:nr(e,255)*255,g:nr(t,255)*255,b:nr(n,255)*255}}function FM(e,t,n){e=nr(e,255),t=nr(t,255),n=nr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,a,s=(r+o)/2;if(r==o)i=a=0;else{var l=r-o;switch(a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s:a,l:s}}function qG(e,t,n){var r,o,i;e=nr(e,360),t=nr(t,100),n=nr(n,100);function a(c,u,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?c+(u-c)*6*f:f<1/2?u:f<2/3?c+(u-c)*(2/3-f)*6:c}if(t===0)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function _M(e,t,n){e=nr(e,255),t=nr(t,255),n=nr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,a,s=r,l=r-o;if(a=r===0?0:l/r,r==o)i=0;else{switch(r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s:a,v:s}}function ez(e,t,n){e=nr(e,360)*6,t=nr(t,100),n=nr(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,a,i,i,s,n][l],u=[s,n,n,a,i,i][l],f=[i,i,s,n,n,a][l];return{r:c*255,g:u*255,b:f*255}}function EM(e,t,n,r){var o=[ka(Math.round(e).toString(16)),ka(Math.round(t).toString(16)),ka(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function tz(e,t,n,r,o){var i=[ka(Math.round(e).toString(16)),ka(Math.round(t).toString(16)),ka(Math.round(n).toString(16)),ka(LP(r))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function XM(e,t,n,r){var o=[ka(LP(r)),ka(Math.round(e).toString(16)),ka(Math.round(t).toString(16)),ka(Math.round(n).toString(16))];return o.join("")}ot.equals=function(e,t){return!e||!t?!1:ot(e).toRgbString()==ot(t).toRgbString()};ot.random=function(){return ot.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function nz(e,t){t=t===0?0:t||10;var n=ot(e).toHsl();return n.s-=t/100,n.s=Gm(n.s),ot(n)}function rz(e,t){t=t===0?0:t||10;var n=ot(e).toHsl();return n.s+=t/100,n.s=Gm(n.s),ot(n)}function oz(e){return ot(e).desaturate(100)}function iz(e,t){t=t===0?0:t||10;var n=ot(e).toHsl();return n.l+=t/100,n.l=Gm(n.l),ot(n)}function az(e,t){t=t===0?0:t||10;var n=ot(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),ot(n)}function sz(e,t){t=t===0?0:t||10;var n=ot(e).toHsl();return n.l-=t/100,n.l=Gm(n.l),ot(n)}function lz(e,t){var n=ot(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,ot(n)}function cz(e){var t=ot(e).toHsl();return t.h=(t.h+180)%360,ot(t)}function WM(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=ot(e).toHsl(),r=[ot(e)],o=360/t,i=1;i<t;i++)r.push(ot({h:(n.h+i*o)%360,s:n.s,l:n.l}));return r}function uz(e){var t=ot(e).toHsl(),n=t.h;return[ot(e),ot({h:(n+72)%360,s:t.s,l:t.l}),ot({h:(n+216)%360,s:t.s,l:t.l})]}function fz(e,t,n){t=t||6,n=n||30;var r=ot(e).toHsl(),o=360/n,i=[ot(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(ot(r));return i}function dz(e,t){t=t||6;for(var n=ot(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(ot({h:r,s:o,v:i})),i=(i+s)%1;return a}ot.mix=function(e,t,n){n=n===0?0:n||50;var r=ot(e).toRgb(),o=ot(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return ot(a)};ot.readability=function(e,t){var n=ot(e),r=ot(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};ot.isReadable=function(e,t,n){var r=ot.readability(e,t),o,i;switch(i=!1,o=Az(n),o.level+o.size){case"AAsmall":case"AAAlarge":i=r>=4.5;break;case"AAlarge":i=r>=3;break;case"AAAsmall":i=r>=7;break}return i};ot.mostReadable=function(e,t,n){var r=null,o=0,i,a,s,l;n=n||{},a=n.includeFallbackColors,s=n.level,l=n.size;for(var c=0;c<t.length;c++)i=ot.readability(e,t[c]),i>o&&(o=i,r=ot(t[c]));return ot.isReadable(e,r,{level:s,size:l})||!a?r:(n.includeFallbackColors=!1,ot.mostReadable(e,["#fff","#000"],n))};var $4=ot.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"},hz=ot.hexNames=pz($4);function pz(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function wP(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function nr(e,t){vz(e)&&(e="100%");var n=gz(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 Gm(e){return Math.min(1,Math.max(0,e))}function Ai(e){return parseInt(e,16)}function vz(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function gz(e){return typeof e=="string"&&e.indexOf("%")!=-1}function ka(e){return e.length==1?"0"+e:""+e}function Q0(e){return e<=1&&(e=e*100+"%"),e}function LP(e){return Math.round(parseFloat(e)*255).toString(16)}function VM(e){return Ai(e)/255}var Aa=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),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 Xs(e){return!!Aa.CSS_UNIT.exec(e)}function mz(e){e=e.replace(zG,"").replace(JG,"").toLowerCase();var t=!1;if($4[e])e=$4[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Aa.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Aa.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Aa.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Aa.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Aa.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Aa.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Aa.hex8.exec(e))?{r:Ai(n[1]),g:Ai(n[2]),b:Ai(n[3]),a:VM(n[4]),format:t?"name":"hex8"}:(n=Aa.hex6.exec(e))?{r:Ai(n[1]),g:Ai(n[2]),b:Ai(n[3]),format:t?"name":"hex"}:(n=Aa.hex4.exec(e))?{r:Ai(n[1]+""+n[1]),g:Ai(n[2]+""+n[2]),b:Ai(n[3]+""+n[3]),a:VM(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=Aa.hex3.exec(e))?{r:Ai(n[1]+""+n[1]),g:Ai(n[2]+""+n[2]),b:Ai(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function Az(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var kt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rx(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Yg={exports:{}};/**
|
||
* @license
|
||
* Lodash <https://lodash.com/>
|
||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||
* Released under MIT license <https://lodash.com/license>
|
||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||
*/Yg.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,i="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__",c=500,u="__lodash_placeholder__",f=1,d=2,h=4,p=1,v=2,m=1,x=2,y=4,R=8,A=16,b=32,M=64,T=128,w=256,L=512,k=30,E="...",P=800,W=16,N=1,_=2,C=3,X=1/0,Y=9007199254740991,$=17976931348623157e292,le=NaN,Q=4294967295,K=Q-1,B=Q>>>1,D=[["ary",T],["bind",m],["bindKey",x],["curry",R],["curryRight",A],["flip",L],["partial",b],["partialRight",M],["rearg",w]],G="[object Arguments]",ae="[object Array]",se="[object AsyncFunction]",J="[object Boolean]",Re="[object Date]",fe="[object DOMException]",me="[object Error]",ue="[object Function]",z="[object GeneratorFunction]",F="[object Map]",j="[object Number]",ie="[object Null]",q="[object Object]",te="[object Promise]",re="[object Proxy]",he="[object RegExp]",ce="[object Set]",pe="[object String]",xe="[object Symbol]",_e="[object Undefined]",Ae="[object WeakMap]",Be="[object WeakSet]",Te="[object ArrayBuffer]",De="[object DataView]",ye="[object Float32Array]",Le="[object Float64Array]",Pe="[object Int8Array]",Ye="[object Int16Array]",rt="[object Int32Array]",Ne="[object Uint8Array]",Ke="[object Uint8ClampedArray]",et="[object Uint16Array]",At="[object Uint32Array]",ut=/\b__p \+= '';/g,dt=/\b(__p \+=) '' \+/g,yt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,Zt=/[&<>"']/g,Tn=RegExp(_t.source),ua=RegExp(Zt.source),Va=/<%-([\s\S]+?)%>/g,uo=/<%([\s\S]+?)%>/g,rf=/<%=([\s\S]+?)%>/g,Fc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Os=/^\w*$/,V2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,of=/[\\^$.*+?()[\]{}|]/g,Lo=RegExp(of.source),Ei=/^\s+/,r1=/\s/,U2=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,PE=/\{\n\/\* \[wrapped with (.+)\] \*/,CE=/,? & /,IE=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,FE=/[()=,{}\[\]\/\s]/,_E=/\\(\\)?/g,EE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,j5=/\w*$/,XE=/^[-+]0x[0-9a-f]+$/i,WE=/^0b[01]+$/i,VE=/^\[object .+?Constructor\]$/,UE=/^0o[0-7]+$/i,YE=/^(?:0|[1-9]\d*)$/,QE=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o1=/($^)/,ZE=/['\n\r\u2028\u2029\\]/g,i1="\\ud800-\\udfff",BE="\\u0300-\\u036f",DE="\\ufe20-\\ufe2f",KE="\\u20d0-\\u20ff",q5=BE+DE+KE,e8="\\u2700-\\u27bf",t8="a-z\\xdf-\\xf6\\xf8-\\xff",HE="\\xac\\xb1\\xd7\\xf7",GE="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zE="\\u2000-\\u206f",JE=" \\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",n8="A-Z\\xc0-\\xd6\\xd8-\\xde",r8="\\ufe0e\\ufe0f",o8=HE+GE+zE+JE,Y2="['’]",$E="["+i1+"]",i8="["+o8+"]",a1="["+q5+"]",a8="\\d+",jE="["+e8+"]",s8="["+t8+"]",l8="[^"+i1+o8+a8+e8+t8+n8+"]",Q2="\\ud83c[\\udffb-\\udfff]",qE="(?:"+a1+"|"+Q2+")",c8="[^"+i1+"]",Z2="(?:\\ud83c[\\udde6-\\uddff]){2}",B2="[\\ud800-\\udbff][\\udc00-\\udfff]",af="["+n8+"]",u8="\\u200d",f8="(?:"+s8+"|"+l8+")",eX="(?:"+af+"|"+l8+")",d8="(?:"+Y2+"(?:d|ll|m|re|s|t|ve))?",h8="(?:"+Y2+"(?:D|LL|M|RE|S|T|VE))?",p8=qE+"?",v8="["+r8+"]?",tX="(?:"+u8+"(?:"+[c8,Z2,B2].join("|")+")"+v8+p8+")*",nX="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rX="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",g8=v8+p8+tX,oX="(?:"+[jE,Z2,B2].join("|")+")"+g8,iX="(?:"+[c8+a1+"?",a1,Z2,B2,$E].join("|")+")",aX=RegExp(Y2,"g"),sX=RegExp(a1,"g"),D2=RegExp(Q2+"(?="+Q2+")|"+iX+g8,"g"),lX=RegExp([af+"?"+s8+"+"+d8+"(?="+[i8,af,"$"].join("|")+")",eX+"+"+h8+"(?="+[i8,af+f8,"$"].join("|")+")",af+"?"+f8+"+"+d8,af+"+"+h8,rX,nX,a8,oX].join("|"),"g"),cX=RegExp("["+u8+i1+q5+r8+"]"),uX=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fX=["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"],dX=-1,Jn={};Jn[ye]=Jn[Le]=Jn[Pe]=Jn[Ye]=Jn[rt]=Jn[Ne]=Jn[Ke]=Jn[et]=Jn[At]=!0,Jn[G]=Jn[ae]=Jn[Te]=Jn[J]=Jn[De]=Jn[Re]=Jn[me]=Jn[ue]=Jn[F]=Jn[j]=Jn[q]=Jn[he]=Jn[ce]=Jn[pe]=Jn[Ae]=!1;var Zn={};Zn[G]=Zn[ae]=Zn[Te]=Zn[De]=Zn[J]=Zn[Re]=Zn[ye]=Zn[Le]=Zn[Pe]=Zn[Ye]=Zn[rt]=Zn[F]=Zn[j]=Zn[q]=Zn[he]=Zn[ce]=Zn[pe]=Zn[xe]=Zn[Ne]=Zn[Ke]=Zn[et]=Zn[At]=!0,Zn[me]=Zn[ue]=Zn[Ae]=!1;var hX={À:"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"},pX={"&":"&","<":"<",">":">",'"':""","'":"'"},vX={"&":"&","<":"<",">":">",""":'"',"'":"'"},gX={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},mX=parseFloat,AX=parseInt,m8=typeof kt=="object"&&kt&&kt.Object===Object&&kt,RX=typeof self=="object"&&self&&self.Object===Object&&self,$r=m8||RX||Function("return this")(),K2=t&&!t.nodeType&&t,_c=K2&&!0&&e&&!e.nodeType&&e,A8=_c&&_c.exports===K2,H2=A8&&m8.process,Xi=function(){try{var Ce=_c&&_c.require&&_c.require("util").types;return Ce||H2&&H2.binding&&H2.binding("util")}catch{}}(),R8=Xi&&Xi.isArrayBuffer,y8=Xi&&Xi.isDate,b8=Xi&&Xi.isMap,x8=Xi&&Xi.isRegExp,S8=Xi&&Xi.isSet,M8=Xi&&Xi.isTypedArray;function fi(Ce,Ge,Ze){switch(Ze.length){case 0:return Ce.call(Ge);case 1:return Ce.call(Ge,Ze[0]);case 2:return Ce.call(Ge,Ze[0],Ze[1]);case 3:return Ce.call(Ge,Ze[0],Ze[1],Ze[2])}return Ce.apply(Ge,Ze)}function yX(Ce,Ge,Ze,xt){for(var $t=-1,kn=Ce==null?0:Ce.length;++$t<kn;){var Fr=Ce[$t];Ge(xt,Fr,Ze(Fr),Ce)}return xt}function Wi(Ce,Ge){for(var Ze=-1,xt=Ce==null?0:Ce.length;++Ze<xt&&Ge(Ce[Ze],Ze,Ce)!==!1;);return Ce}function bX(Ce,Ge){for(var Ze=Ce==null?0:Ce.length;Ze--&&Ge(Ce[Ze],Ze,Ce)!==!1;);return Ce}function w8(Ce,Ge){for(var Ze=-1,xt=Ce==null?0:Ce.length;++Ze<xt;)if(!Ge(Ce[Ze],Ze,Ce))return!1;return!0}function gl(Ce,Ge){for(var Ze=-1,xt=Ce==null?0:Ce.length,$t=0,kn=[];++Ze<xt;){var Fr=Ce[Ze];Ge(Fr,Ze,Ce)&&(kn[$t++]=Fr)}return kn}function s1(Ce,Ge){var Ze=Ce==null?0:Ce.length;return!!Ze&&sf(Ce,Ge,0)>-1}function G2(Ce,Ge,Ze){for(var xt=-1,$t=Ce==null?0:Ce.length;++xt<$t;)if(Ze(Ge,Ce[xt]))return!0;return!1}function qn(Ce,Ge){for(var Ze=-1,xt=Ce==null?0:Ce.length,$t=Array(xt);++Ze<xt;)$t[Ze]=Ge(Ce[Ze],Ze,Ce);return $t}function ml(Ce,Ge){for(var Ze=-1,xt=Ge.length,$t=Ce.length;++Ze<xt;)Ce[$t+Ze]=Ge[Ze];return Ce}function z2(Ce,Ge,Ze,xt){var $t=-1,kn=Ce==null?0:Ce.length;for(xt&&kn&&(Ze=Ce[++$t]);++$t<kn;)Ze=Ge(Ze,Ce[$t],$t,Ce);return Ze}function xX(Ce,Ge,Ze,xt){var $t=Ce==null?0:Ce.length;for(xt&&$t&&(Ze=Ce[--$t]);$t--;)Ze=Ge(Ze,Ce[$t],$t,Ce);return Ze}function J2(Ce,Ge){for(var Ze=-1,xt=Ce==null?0:Ce.length;++Ze<xt;)if(Ge(Ce[Ze],Ze,Ce))return!0;return!1}var SX=$2("length");function MX(Ce){return Ce.split("")}function wX(Ce){return Ce.match(IE)||[]}function L8(Ce,Ge,Ze){var xt;return Ze(Ce,function($t,kn,Fr){if(Ge($t,kn,Fr))return xt=kn,!1}),xt}function l1(Ce,Ge,Ze,xt){for(var $t=Ce.length,kn=Ze+(xt?1:-1);xt?kn--:++kn<$t;)if(Ge(Ce[kn],kn,Ce))return kn;return-1}function sf(Ce,Ge,Ze){return Ge===Ge?XX(Ce,Ge,Ze):l1(Ce,O8,Ze)}function LX(Ce,Ge,Ze,xt){for(var $t=Ze-1,kn=Ce.length;++$t<kn;)if(xt(Ce[$t],Ge))return $t;return-1}function O8(Ce){return Ce!==Ce}function T8(Ce,Ge){var Ze=Ce==null?0:Ce.length;return Ze?q2(Ce,Ge)/Ze:le}function $2(Ce){return function(Ge){return Ge==null?n:Ge[Ce]}}function j2(Ce){return function(Ge){return Ce==null?n:Ce[Ge]}}function k8(Ce,Ge,Ze,xt,$t){return $t(Ce,function(kn,Fr,Yn){Ze=xt?(xt=!1,kn):Ge(Ze,kn,Fr,Yn)}),Ze}function OX(Ce,Ge){var Ze=Ce.length;for(Ce.sort(Ge);Ze--;)Ce[Ze]=Ce[Ze].value;return Ce}function q2(Ce,Ge){for(var Ze,xt=-1,$t=Ce.length;++xt<$t;){var kn=Ge(Ce[xt]);kn!==n&&(Ze=Ze===n?kn:Ze+kn)}return Ze}function eA(Ce,Ge){for(var Ze=-1,xt=Array(Ce);++Ze<Ce;)xt[Ze]=Ge(Ze);return xt}function TX(Ce,Ge){return qn(Ge,function(Ze){return[Ze,Ce[Ze]]})}function N8(Ce){return Ce&&Ce.slice(0,F8(Ce)+1).replace(Ei,"")}function di(Ce){return function(Ge){return Ce(Ge)}}function tA(Ce,Ge){return qn(Ge,function(Ze){return Ce[Ze]})}function o0(Ce,Ge){return Ce.has(Ge)}function P8(Ce,Ge){for(var Ze=-1,xt=Ce.length;++Ze<xt&&sf(Ge,Ce[Ze],0)>-1;);return Ze}function C8(Ce,Ge){for(var Ze=Ce.length;Ze--&&sf(Ge,Ce[Ze],0)>-1;);return Ze}function kX(Ce,Ge){for(var Ze=Ce.length,xt=0;Ze--;)Ce[Ze]===Ge&&++xt;return xt}var NX=j2(hX),PX=j2(pX);function CX(Ce){return"\\"+gX[Ce]}function IX(Ce,Ge){return Ce==null?n:Ce[Ge]}function lf(Ce){return cX.test(Ce)}function FX(Ce){return uX.test(Ce)}function _X(Ce){for(var Ge,Ze=[];!(Ge=Ce.next()).done;)Ze.push(Ge.value);return Ze}function nA(Ce){var Ge=-1,Ze=Array(Ce.size);return Ce.forEach(function(xt,$t){Ze[++Ge]=[$t,xt]}),Ze}function I8(Ce,Ge){return function(Ze){return Ce(Ge(Ze))}}function Al(Ce,Ge){for(var Ze=-1,xt=Ce.length,$t=0,kn=[];++Ze<xt;){var Fr=Ce[Ze];(Fr===Ge||Fr===u)&&(Ce[Ze]=u,kn[$t++]=Ze)}return kn}function c1(Ce){var Ge=-1,Ze=Array(Ce.size);return Ce.forEach(function(xt){Ze[++Ge]=xt}),Ze}function EX(Ce){var Ge=-1,Ze=Array(Ce.size);return Ce.forEach(function(xt){Ze[++Ge]=[xt,xt]}),Ze}function XX(Ce,Ge,Ze){for(var xt=Ze-1,$t=Ce.length;++xt<$t;)if(Ce[xt]===Ge)return xt;return-1}function WX(Ce,Ge,Ze){for(var xt=Ze+1;xt--;)if(Ce[xt]===Ge)return xt;return xt}function cf(Ce){return lf(Ce)?UX(Ce):SX(Ce)}function fa(Ce){return lf(Ce)?YX(Ce):MX(Ce)}function F8(Ce){for(var Ge=Ce.length;Ge--&&r1.test(Ce.charAt(Ge)););return Ge}var VX=j2(vX);function UX(Ce){for(var Ge=D2.lastIndex=0;D2.test(Ce);)++Ge;return Ge}function YX(Ce){return Ce.match(D2)||[]}function QX(Ce){return Ce.match(lX)||[]}var ZX=function Ce(Ge){Ge=Ge==null?$r:uf.defaults($r.Object(),Ge,uf.pick($r,fX));var Ze=Ge.Array,xt=Ge.Date,$t=Ge.Error,kn=Ge.Function,Fr=Ge.Math,Yn=Ge.Object,rA=Ge.RegExp,BX=Ge.String,Vi=Ge.TypeError,u1=Ze.prototype,DX=kn.prototype,ff=Yn.prototype,f1=Ge["__core-js_shared__"],d1=DX.toString,Wn=ff.hasOwnProperty,KX=0,_8=function(){var g=/[^.]+$/.exec(f1&&f1.keys&&f1.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}(),h1=ff.toString,HX=d1.call(Yn),GX=$r._,zX=rA("^"+d1.call(Wn).replace(of,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),p1=A8?Ge.Buffer:n,Rl=Ge.Symbol,v1=Ge.Uint8Array,E8=p1?p1.allocUnsafe:n,g1=I8(Yn.getPrototypeOf,Yn),X8=Yn.create,W8=ff.propertyIsEnumerable,m1=u1.splice,V8=Rl?Rl.isConcatSpreadable:n,i0=Rl?Rl.iterator:n,Ec=Rl?Rl.toStringTag:n,A1=function(){try{var g=Yc(Yn,"defineProperty");return g({},"",{}),g}catch{}}(),JX=Ge.clearTimeout!==$r.clearTimeout&&Ge.clearTimeout,$X=xt&&xt.now!==$r.Date.now&&xt.now,jX=Ge.setTimeout!==$r.setTimeout&&Ge.setTimeout,R1=Fr.ceil,y1=Fr.floor,oA=Yn.getOwnPropertySymbols,qX=p1?p1.isBuffer:n,U8=Ge.isFinite,eW=u1.join,tW=I8(Yn.keys,Yn),_r=Fr.max,fo=Fr.min,nW=xt.now,rW=Ge.parseInt,Y8=Fr.random,oW=u1.reverse,iA=Yc(Ge,"DataView"),a0=Yc(Ge,"Map"),aA=Yc(Ge,"Promise"),df=Yc(Ge,"Set"),s0=Yc(Ge,"WeakMap"),l0=Yc(Yn,"create"),b1=s0&&new s0,hf={},iW=Qc(iA),aW=Qc(a0),sW=Qc(aA),lW=Qc(df),cW=Qc(s0),x1=Rl?Rl.prototype:n,c0=x1?x1.valueOf:n,Q8=x1?x1.toString:n;function de(g){if(vr(g)&&!qt(g)&&!(g instanceof hn)){if(g instanceof Ui)return g;if(Wn.call(g,"__wrapped__"))return Z6(g)}return new Ui(g)}var pf=function(){function g(){}return function(S){if(!lr(S))return{};if(X8)return X8(S);g.prototype=S;var I=new g;return g.prototype=n,I}}();function S1(){}function Ui(g,S){this.__wrapped__=g,this.__actions__=[],this.__chain__=!!S,this.__index__=0,this.__values__=n}de.templateSettings={escape:Va,evaluate:uo,interpolate:rf,variable:"",imports:{_:de}},de.prototype=S1.prototype,de.prototype.constructor=de,Ui.prototype=pf(S1.prototype),Ui.prototype.constructor=Ui;function hn(g){this.__wrapped__=g,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Q,this.__views__=[]}function uW(){var g=new hn(this.__wrapped__);return g.__actions__=Qo(this.__actions__),g.__dir__=this.__dir__,g.__filtered__=this.__filtered__,g.__iteratees__=Qo(this.__iteratees__),g.__takeCount__=this.__takeCount__,g.__views__=Qo(this.__views__),g}function fW(){if(this.__filtered__){var g=new hn(this);g.__dir__=-1,g.__filtered__=!0}else g=this.clone(),g.__dir__*=-1;return g}function dW(){var g=this.__wrapped__.value(),S=this.__dir__,I=qt(g),Z=S<0,ne=I?g.length:0,ge=MV(0,ne,this.__views__),be=ge.start,Oe=ge.end,Fe=Oe-be,qe=Z?Oe:be-1,tt=this.__iteratees__,it=tt.length,Rt=0,Ot=fo(Fe,this.__takeCount__);if(!I||!Z&&ne==Fe&&Ot==Fe)return d6(g,this.__actions__);var Et=[];e:for(;Fe--&&Rt<Ot;){qe+=S;for(var on=-1,Xt=g[qe];++on<it;){var un=tt[on],An=un.iteratee,vi=un.type,ko=An(Xt);if(vi==_)Xt=ko;else if(!ko){if(vi==N)continue e;break e}}Et[Rt++]=Xt}return Et}hn.prototype=pf(S1.prototype),hn.prototype.constructor=hn;function Xc(g){var S=-1,I=g==null?0:g.length;for(this.clear();++S<I;){var Z=g[S];this.set(Z[0],Z[1])}}function hW(){this.__data__=l0?l0(null):{},this.size=0}function pW(g){var S=this.has(g)&&delete this.__data__[g];return this.size-=S?1:0,S}function vW(g){var S=this.__data__;if(l0){var I=S[g];return I===l?n:I}return Wn.call(S,g)?S[g]:n}function gW(g){var S=this.__data__;return l0?S[g]!==n:Wn.call(S,g)}function mW(g,S){var I=this.__data__;return this.size+=this.has(g)?0:1,I[g]=l0&&S===n?l:S,this}Xc.prototype.clear=hW,Xc.prototype.delete=pW,Xc.prototype.get=vW,Xc.prototype.has=gW,Xc.prototype.set=mW;function Ts(g){var S=-1,I=g==null?0:g.length;for(this.clear();++S<I;){var Z=g[S];this.set(Z[0],Z[1])}}function AW(){this.__data__=[],this.size=0}function RW(g){var S=this.__data__,I=M1(S,g);if(I<0)return!1;var Z=S.length-1;return I==Z?S.pop():m1.call(S,I,1),--this.size,!0}function yW(g){var S=this.__data__,I=M1(S,g);return I<0?n:S[I][1]}function bW(g){return M1(this.__data__,g)>-1}function xW(g,S){var I=this.__data__,Z=M1(I,g);return Z<0?(++this.size,I.push([g,S])):I[Z][1]=S,this}Ts.prototype.clear=AW,Ts.prototype.delete=RW,Ts.prototype.get=yW,Ts.prototype.has=bW,Ts.prototype.set=xW;function ks(g){var S=-1,I=g==null?0:g.length;for(this.clear();++S<I;){var Z=g[S];this.set(Z[0],Z[1])}}function SW(){this.size=0,this.__data__={hash:new Xc,map:new(a0||Ts),string:new Xc}}function MW(g){var S=E1(this,g).delete(g);return this.size-=S?1:0,S}function wW(g){return E1(this,g).get(g)}function LW(g){return E1(this,g).has(g)}function OW(g,S){var I=E1(this,g),Z=I.size;return I.set(g,S),this.size+=I.size==Z?0:1,this}ks.prototype.clear=SW,ks.prototype.delete=MW,ks.prototype.get=wW,ks.prototype.has=LW,ks.prototype.set=OW;function Wc(g){var S=-1,I=g==null?0:g.length;for(this.__data__=new ks;++S<I;)this.add(g[S])}function TW(g){return this.__data__.set(g,l),this}function kW(g){return this.__data__.has(g)}Wc.prototype.add=Wc.prototype.push=TW,Wc.prototype.has=kW;function da(g){var S=this.__data__=new Ts(g);this.size=S.size}function NW(){this.__data__=new Ts,this.size=0}function PW(g){var S=this.__data__,I=S.delete(g);return this.size=S.size,I}function CW(g){return this.__data__.get(g)}function IW(g){return this.__data__.has(g)}function FW(g,S){var I=this.__data__;if(I instanceof Ts){var Z=I.__data__;if(!a0||Z.length<o-1)return Z.push([g,S]),this.size=++I.size,this;I=this.__data__=new ks(Z)}return I.set(g,S),this.size=I.size,this}da.prototype.clear=NW,da.prototype.delete=PW,da.prototype.get=CW,da.prototype.has=IW,da.prototype.set=FW;function Z8(g,S){var I=qt(g),Z=!I&&Zc(g),ne=!I&&!Z&&Ml(g),ge=!I&&!Z&&!ne&&Af(g),be=I||Z||ne||ge,Oe=be?eA(g.length,BX):[],Fe=Oe.length;for(var qe in g)(S||Wn.call(g,qe))&&!(be&&(qe=="length"||ne&&(qe=="offset"||qe=="parent")||ge&&(qe=="buffer"||qe=="byteLength"||qe=="byteOffset")||Is(qe,Fe)))&&Oe.push(qe);return Oe}function B8(g){var S=g.length;return S?g[mA(0,S-1)]:n}function _W(g,S){return X1(Qo(g),Vc(S,0,g.length))}function EW(g){return X1(Qo(g))}function sA(g,S,I){(I!==n&&!ha(g[S],I)||I===n&&!(S in g))&&Ns(g,S,I)}function u0(g,S,I){var Z=g[S];(!(Wn.call(g,S)&&ha(Z,I))||I===n&&!(S in g))&&Ns(g,S,I)}function M1(g,S){for(var I=g.length;I--;)if(ha(g[I][0],S))return I;return-1}function XW(g,S,I,Z){return yl(g,function(ne,ge,be){S(Z,ne,I(ne),be)}),Z}function D8(g,S){return g&&Ya(S,Yr(S),g)}function WW(g,S){return g&&Ya(S,Bo(S),g)}function Ns(g,S,I){S=="__proto__"&&A1?A1(g,S,{configurable:!0,enumerable:!0,value:I,writable:!0}):g[S]=I}function lA(g,S){for(var I=-1,Z=S.length,ne=Ze(Z),ge=g==null;++I<Z;)ne[I]=ge?n:QA(g,S[I]);return ne}function Vc(g,S,I){return g===g&&(I!==n&&(g=g<=I?g:I),S!==n&&(g=g>=S?g:S)),g}function Yi(g,S,I,Z,ne,ge){var be,Oe=S&f,Fe=S&d,qe=S&h;if(I&&(be=ne?I(g,Z,ne,ge):I(g)),be!==n)return be;if(!lr(g))return g;var tt=qt(g);if(tt){if(be=LV(g),!Oe)return Qo(g,be)}else{var it=ho(g),Rt=it==ue||it==z;if(Ml(g))return v6(g,Oe);if(it==q||it==G||Rt&&!ne){if(be=Fe||Rt?{}:F6(g),!Oe)return Fe?vV(g,WW(be,g)):pV(g,D8(be,g))}else{if(!Zn[it])return ne?g:{};be=OV(g,it,Oe)}}ge||(ge=new da);var Ot=ge.get(g);if(Ot)return Ot;ge.set(g,be),cS(g)?g.forEach(function(Xt){be.add(Yi(Xt,S,I,Xt,g,ge))}):sS(g)&&g.forEach(function(Xt,un){be.set(un,Yi(Xt,S,I,un,g,ge))});var Et=qe?Fe?TA:OA:Fe?Bo:Yr,on=tt?n:Et(g);return Wi(on||g,function(Xt,un){on&&(un=Xt,Xt=g[un]),u0(be,un,Yi(Xt,S,I,un,g,ge))}),be}function VW(g){var S=Yr(g);return function(I){return K8(I,g,S)}}function K8(g,S,I){var Z=I.length;if(g==null)return!Z;for(g=Yn(g);Z--;){var ne=I[Z],ge=S[ne],be=g[ne];if(be===n&&!(ne in g)||!ge(be))return!1}return!0}function H8(g,S,I){if(typeof g!="function")throw new Vi(a);return m0(function(){g.apply(n,I)},S)}function f0(g,S,I,Z){var ne=-1,ge=s1,be=!0,Oe=g.length,Fe=[],qe=S.length;if(!Oe)return Fe;I&&(S=qn(S,di(I))),Z?(ge=G2,be=!1):S.length>=o&&(ge=o0,be=!1,S=new Wc(S));e:for(;++ne<Oe;){var tt=g[ne],it=I==null?tt:I(tt);if(tt=Z||tt!==0?tt:0,be&&it===it){for(var Rt=qe;Rt--;)if(S[Rt]===it)continue e;Fe.push(tt)}else ge(S,it,Z)||Fe.push(tt)}return Fe}var yl=y6(Ua),G8=y6(uA,!0);function UW(g,S){var I=!0;return yl(g,function(Z,ne,ge){return I=!!S(Z,ne,ge),I}),I}function w1(g,S,I){for(var Z=-1,ne=g.length;++Z<ne;){var ge=g[Z],be=S(ge);if(be!=null&&(Oe===n?be===be&&!pi(be):I(be,Oe)))var Oe=be,Fe=ge}return Fe}function YW(g,S,I,Z){var ne=g.length;for(I=rn(I),I<0&&(I=-I>ne?0:ne+I),Z=Z===n||Z>ne?ne:rn(Z),Z<0&&(Z+=ne),Z=I>Z?0:fS(Z);I<Z;)g[I++]=S;return g}function z8(g,S){var I=[];return yl(g,function(Z,ne,ge){S(Z,ne,ge)&&I.push(Z)}),I}function jr(g,S,I,Z,ne){var ge=-1,be=g.length;for(I||(I=kV),ne||(ne=[]);++ge<be;){var Oe=g[ge];S>0&&I(Oe)?S>1?jr(Oe,S-1,I,Z,ne):ml(ne,Oe):Z||(ne[ne.length]=Oe)}return ne}var cA=b6(),J8=b6(!0);function Ua(g,S){return g&&cA(g,S,Yr)}function uA(g,S){return g&&J8(g,S,Yr)}function L1(g,S){return gl(S,function(I){return Fs(g[I])})}function Uc(g,S){S=xl(S,g);for(var I=0,Z=S.length;g!=null&&I<Z;)g=g[Qa(S[I++])];return I&&I==Z?g:n}function $8(g,S,I){var Z=S(g);return qt(g)?Z:ml(Z,I(g))}function Oo(g){return g==null?g===n?_e:ie:Ec&&Ec in Yn(g)?SV(g):EV(g)}function fA(g,S){return g>S}function QW(g,S){return g!=null&&Wn.call(g,S)}function ZW(g,S){return g!=null&&S in Yn(g)}function BW(g,S,I){return g>=fo(S,I)&&g<_r(S,I)}function dA(g,S,I){for(var Z=I?G2:s1,ne=g[0].length,ge=g.length,be=ge,Oe=Ze(ge),Fe=1/0,qe=[];be--;){var tt=g[be];be&&S&&(tt=qn(tt,di(S))),Fe=fo(tt.length,Fe),Oe[be]=!I&&(S||ne>=120&&tt.length>=120)?new Wc(be&&tt):n}tt=g[0];var it=-1,Rt=Oe[0];e:for(;++it<ne&&qe.length<Fe;){var Ot=tt[it],Et=S?S(Ot):Ot;if(Ot=I||Ot!==0?Ot:0,!(Rt?o0(Rt,Et):Z(qe,Et,I))){for(be=ge;--be;){var on=Oe[be];if(!(on?o0(on,Et):Z(g[be],Et,I)))continue e}Rt&&Rt.push(Et),qe.push(Ot)}}return qe}function DW(g,S,I,Z){return Ua(g,function(ne,ge,be){S(Z,I(ne),ge,be)}),Z}function d0(g,S,I){S=xl(S,g),g=W6(g,S);var Z=g==null?g:g[Qa(Zi(S))];return Z==null?n:fi(Z,g,I)}function j8(g){return vr(g)&&Oo(g)==G}function KW(g){return vr(g)&&Oo(g)==Te}function HW(g){return vr(g)&&Oo(g)==Re}function h0(g,S,I,Z,ne){return g===S?!0:g==null||S==null||!vr(g)&&!vr(S)?g!==g&&S!==S:GW(g,S,I,Z,h0,ne)}function GW(g,S,I,Z,ne,ge){var be=qt(g),Oe=qt(S),Fe=be?ae:ho(g),qe=Oe?ae:ho(S);Fe=Fe==G?q:Fe,qe=qe==G?q:qe;var tt=Fe==q,it=qe==q,Rt=Fe==qe;if(Rt&&Ml(g)){if(!Ml(S))return!1;be=!0,tt=!1}if(Rt&&!tt)return ge||(ge=new da),be||Af(g)?P6(g,S,I,Z,ne,ge):bV(g,S,Fe,I,Z,ne,ge);if(!(I&p)){var Ot=tt&&Wn.call(g,"__wrapped__"),Et=it&&Wn.call(S,"__wrapped__");if(Ot||Et){var on=Ot?g.value():g,Xt=Et?S.value():S;return ge||(ge=new da),ne(on,Xt,I,Z,ge)}}return Rt?(ge||(ge=new da),xV(g,S,I,Z,ne,ge)):!1}function zW(g){return vr(g)&&ho(g)==F}function hA(g,S,I,Z){var ne=I.length,ge=ne,be=!Z;if(g==null)return!ge;for(g=Yn(g);ne--;){var Oe=I[ne];if(be&&Oe[2]?Oe[1]!==g[Oe[0]]:!(Oe[0]in g))return!1}for(;++ne<ge;){Oe=I[ne];var Fe=Oe[0],qe=g[Fe],tt=Oe[1];if(be&&Oe[2]){if(qe===n&&!(Fe in g))return!1}else{var it=new da;if(Z)var Rt=Z(qe,tt,Fe,g,S,it);if(!(Rt===n?h0(tt,qe,p|v,Z,it):Rt))return!1}}return!0}function q8(g){if(!lr(g)||PV(g))return!1;var S=Fs(g)?zX:VE;return S.test(Qc(g))}function JW(g){return vr(g)&&Oo(g)==he}function $W(g){return vr(g)&&ho(g)==ce}function jW(g){return vr(g)&&Z1(g.length)&&!!Jn[Oo(g)]}function e6(g){return typeof g=="function"?g:g==null?Do:typeof g=="object"?qt(g)?r6(g[0],g[1]):n6(g):xS(g)}function pA(g){if(!g0(g))return tW(g);var S=[];for(var I in Yn(g))Wn.call(g,I)&&I!="constructor"&&S.push(I);return S}function qW(g){if(!lr(g))return _V(g);var S=g0(g),I=[];for(var Z in g)Z=="constructor"&&(S||!Wn.call(g,Z))||I.push(Z);return I}function vA(g,S){return g<S}function t6(g,S){var I=-1,Z=Zo(g)?Ze(g.length):[];return yl(g,function(ne,ge,be){Z[++I]=S(ne,ge,be)}),Z}function n6(g){var S=NA(g);return S.length==1&&S[0][2]?E6(S[0][0],S[0][1]):function(I){return I===g||hA(I,g,S)}}function r6(g,S){return CA(g)&&_6(S)?E6(Qa(g),S):function(I){var Z=QA(I,g);return Z===n&&Z===S?ZA(I,g):h0(S,Z,p|v)}}function O1(g,S,I,Z,ne){g!==S&&cA(S,function(ge,be){if(ne||(ne=new da),lr(ge))eV(g,S,be,I,O1,Z,ne);else{var Oe=Z?Z(FA(g,be),ge,be+"",g,S,ne):n;Oe===n&&(Oe=ge),sA(g,be,Oe)}},Bo)}function eV(g,S,I,Z,ne,ge,be){var Oe=FA(g,I),Fe=FA(S,I),qe=be.get(Fe);if(qe){sA(g,I,qe);return}var tt=ge?ge(Oe,Fe,I+"",g,S,be):n,it=tt===n;if(it){var Rt=qt(Fe),Ot=!Rt&&Ml(Fe),Et=!Rt&&!Ot&&Af(Fe);tt=Fe,Rt||Ot||Et?qt(Oe)?tt=Oe:Sr(Oe)?tt=Qo(Oe):Ot?(it=!1,tt=v6(Fe,!0)):Et?(it=!1,tt=g6(Fe,!0)):tt=[]:A0(Fe)||Zc(Fe)?(tt=Oe,Zc(Oe)?tt=dS(Oe):(!lr(Oe)||Fs(Oe))&&(tt=F6(Fe))):it=!1}it&&(be.set(Fe,tt),ne(tt,Fe,Z,ge,be),be.delete(Fe)),sA(g,I,tt)}function o6(g,S){var I=g.length;if(I)return S+=S<0?I:0,Is(S,I)?g[S]:n}function i6(g,S,I){S.length?S=qn(S,function(ge){return qt(ge)?function(be){return Uc(be,ge.length===1?ge[0]:ge)}:ge}):S=[Do];var Z=-1;S=qn(S,di(It()));var ne=t6(g,function(ge,be,Oe){var Fe=qn(S,function(qe){return qe(ge)});return{criteria:Fe,index:++Z,value:ge}});return OX(ne,function(ge,be){return hV(ge,be,I)})}function tV(g,S){return a6(g,S,function(I,Z){return ZA(g,Z)})}function a6(g,S,I){for(var Z=-1,ne=S.length,ge={};++Z<ne;){var be=S[Z],Oe=Uc(g,be);I(Oe,be)&&p0(ge,xl(be,g),Oe)}return ge}function nV(g){return function(S){return Uc(S,g)}}function gA(g,S,I,Z){var ne=Z?LX:sf,ge=-1,be=S.length,Oe=g;for(g===S&&(S=Qo(S)),I&&(Oe=qn(g,di(I)));++ge<be;)for(var Fe=0,qe=S[ge],tt=I?I(qe):qe;(Fe=ne(Oe,tt,Fe,Z))>-1;)Oe!==g&&m1.call(Oe,Fe,1),m1.call(g,Fe,1);return g}function s6(g,S){for(var I=g?S.length:0,Z=I-1;I--;){var ne=S[I];if(I==Z||ne!==ge){var ge=ne;Is(ne)?m1.call(g,ne,1):yA(g,ne)}}return g}function mA(g,S){return g+y1(Y8()*(S-g+1))}function rV(g,S,I,Z){for(var ne=-1,ge=_r(R1((S-g)/(I||1)),0),be=Ze(ge);ge--;)be[Z?ge:++ne]=g,g+=I;return be}function AA(g,S){var I="";if(!g||S<1||S>Y)return I;do S%2&&(I+=g),S=y1(S/2),S&&(g+=g);while(S);return I}function an(g,S){return _A(X6(g,S,Do),g+"")}function oV(g){return B8(Rf(g))}function iV(g,S){var I=Rf(g);return X1(I,Vc(S,0,I.length))}function p0(g,S,I,Z){if(!lr(g))return g;S=xl(S,g);for(var ne=-1,ge=S.length,be=ge-1,Oe=g;Oe!=null&&++ne<ge;){var Fe=Qa(S[ne]),qe=I;if(Fe==="__proto__"||Fe==="constructor"||Fe==="prototype")return g;if(ne!=be){var tt=Oe[Fe];qe=Z?Z(tt,Fe,Oe):n,qe===n&&(qe=lr(tt)?tt:Is(S[ne+1])?[]:{})}u0(Oe,Fe,qe),Oe=Oe[Fe]}return g}var l6=b1?function(g,S){return b1.set(g,S),g}:Do,aV=A1?function(g,S){return A1(g,"toString",{configurable:!0,enumerable:!1,value:DA(S),writable:!0})}:Do;function sV(g){return X1(Rf(g))}function Qi(g,S,I){var Z=-1,ne=g.length;S<0&&(S=-S>ne?0:ne+S),I=I>ne?ne:I,I<0&&(I+=ne),ne=S>I?0:I-S>>>0,S>>>=0;for(var ge=Ze(ne);++Z<ne;)ge[Z]=g[Z+S];return ge}function lV(g,S){var I;return yl(g,function(Z,ne,ge){return I=S(Z,ne,ge),!I}),!!I}function T1(g,S,I){var Z=0,ne=g==null?Z:g.length;if(typeof S=="number"&&S===S&&ne<=B){for(;Z<ne;){var ge=Z+ne>>>1,be=g[ge];be!==null&&!pi(be)&&(I?be<=S:be<S)?Z=ge+1:ne=ge}return ne}return RA(g,S,Do,I)}function RA(g,S,I,Z){var ne=0,ge=g==null?0:g.length;if(ge===0)return 0;S=I(S);for(var be=S!==S,Oe=S===null,Fe=pi(S),qe=S===n;ne<ge;){var tt=y1((ne+ge)/2),it=I(g[tt]),Rt=it!==n,Ot=it===null,Et=it===it,on=pi(it);if(be)var Xt=Z||Et;else qe?Xt=Et&&(Z||Rt):Oe?Xt=Et&&Rt&&(Z||!Ot):Fe?Xt=Et&&Rt&&!Ot&&(Z||!on):Ot||on?Xt=!1:Xt=Z?it<=S:it<S;Xt?ne=tt+1:ge=tt}return fo(ge,K)}function c6(g,S){for(var I=-1,Z=g.length,ne=0,ge=[];++I<Z;){var be=g[I],Oe=S?S(be):be;if(!I||!ha(Oe,Fe)){var Fe=Oe;ge[ne++]=be===0?0:be}}return ge}function u6(g){return typeof g=="number"?g:pi(g)?le:+g}function hi(g){if(typeof g=="string")return g;if(qt(g))return qn(g,hi)+"";if(pi(g))return Q8?Q8.call(g):"";var S=g+"";return S=="0"&&1/g==-X?"-0":S}function bl(g,S,I){var Z=-1,ne=s1,ge=g.length,be=!0,Oe=[],Fe=Oe;if(I)be=!1,ne=G2;else if(ge>=o){var qe=S?null:RV(g);if(qe)return c1(qe);be=!1,ne=o0,Fe=new Wc}else Fe=S?[]:Oe;e:for(;++Z<ge;){var tt=g[Z],it=S?S(tt):tt;if(tt=I||tt!==0?tt:0,be&&it===it){for(var Rt=Fe.length;Rt--;)if(Fe[Rt]===it)continue e;S&&Fe.push(it),Oe.push(tt)}else ne(Fe,it,I)||(Fe!==Oe&&Fe.push(it),Oe.push(tt))}return Oe}function yA(g,S){return S=xl(S,g),g=W6(g,S),g==null||delete g[Qa(Zi(S))]}function f6(g,S,I,Z){return p0(g,S,I(Uc(g,S)),Z)}function k1(g,S,I,Z){for(var ne=g.length,ge=Z?ne:-1;(Z?ge--:++ge<ne)&&S(g[ge],ge,g););return I?Qi(g,Z?0:ge,Z?ge+1:ne):Qi(g,Z?ge+1:0,Z?ne:ge)}function d6(g,S){var I=g;return I instanceof hn&&(I=I.value()),z2(S,function(Z,ne){return ne.func.apply(ne.thisArg,ml([Z],ne.args))},I)}function bA(g,S,I){var Z=g.length;if(Z<2)return Z?bl(g[0]):[];for(var ne=-1,ge=Ze(Z);++ne<Z;)for(var be=g[ne],Oe=-1;++Oe<Z;)Oe!=ne&&(ge[ne]=f0(ge[ne]||be,g[Oe],S,I));return bl(jr(ge,1),S,I)}function h6(g,S,I){for(var Z=-1,ne=g.length,ge=S.length,be={};++Z<ne;){var Oe=Z<ge?S[Z]:n;I(be,g[Z],Oe)}return be}function xA(g){return Sr(g)?g:[]}function SA(g){return typeof g=="function"?g:Do}function xl(g,S){return qt(g)?g:CA(g,S)?[g]:Q6(Fn(g))}var cV=an;function Sl(g,S,I){var Z=g.length;return I=I===n?Z:I,!S&&I>=Z?g:Qi(g,S,I)}var p6=JX||function(g){return $r.clearTimeout(g)};function v6(g,S){if(S)return g.slice();var I=g.length,Z=E8?E8(I):new g.constructor(I);return g.copy(Z),Z}function MA(g){var S=new g.constructor(g.byteLength);return new v1(S).set(new v1(g)),S}function uV(g,S){var I=S?MA(g.buffer):g.buffer;return new g.constructor(I,g.byteOffset,g.byteLength)}function fV(g){var S=new g.constructor(g.source,j5.exec(g));return S.lastIndex=g.lastIndex,S}function dV(g){return c0?Yn(c0.call(g)):{}}function g6(g,S){var I=S?MA(g.buffer):g.buffer;return new g.constructor(I,g.byteOffset,g.length)}function m6(g,S){if(g!==S){var I=g!==n,Z=g===null,ne=g===g,ge=pi(g),be=S!==n,Oe=S===null,Fe=S===S,qe=pi(S);if(!Oe&&!qe&&!ge&&g>S||ge&&be&&Fe&&!Oe&&!qe||Z&&be&&Fe||!I&&Fe||!ne)return 1;if(!Z&&!ge&&!qe&&g<S||qe&&I&&ne&&!Z&&!ge||Oe&&I&&ne||!be&&ne||!Fe)return-1}return 0}function hV(g,S,I){for(var Z=-1,ne=g.criteria,ge=S.criteria,be=ne.length,Oe=I.length;++Z<be;){var Fe=m6(ne[Z],ge[Z]);if(Fe){if(Z>=Oe)return Fe;var qe=I[Z];return Fe*(qe=="desc"?-1:1)}}return g.index-S.index}function A6(g,S,I,Z){for(var ne=-1,ge=g.length,be=I.length,Oe=-1,Fe=S.length,qe=_r(ge-be,0),tt=Ze(Fe+qe),it=!Z;++Oe<Fe;)tt[Oe]=S[Oe];for(;++ne<be;)(it||ne<ge)&&(tt[I[ne]]=g[ne]);for(;qe--;)tt[Oe++]=g[ne++];return tt}function R6(g,S,I,Z){for(var ne=-1,ge=g.length,be=-1,Oe=I.length,Fe=-1,qe=S.length,tt=_r(ge-Oe,0),it=Ze(tt+qe),Rt=!Z;++ne<tt;)it[ne]=g[ne];for(var Ot=ne;++Fe<qe;)it[Ot+Fe]=S[Fe];for(;++be<Oe;)(Rt||ne<ge)&&(it[Ot+I[be]]=g[ne++]);return it}function Qo(g,S){var I=-1,Z=g.length;for(S||(S=Ze(Z));++I<Z;)S[I]=g[I];return S}function Ya(g,S,I,Z){var ne=!I;I||(I={});for(var ge=-1,be=S.length;++ge<be;){var Oe=S[ge],Fe=Z?Z(I[Oe],g[Oe],Oe,I,g):n;Fe===n&&(Fe=g[Oe]),ne?Ns(I,Oe,Fe):u0(I,Oe,Fe)}return I}function pV(g,S){return Ya(g,PA(g),S)}function vV(g,S){return Ya(g,C6(g),S)}function N1(g,S){return function(I,Z){var ne=qt(I)?yX:XW,ge=S?S():{};return ne(I,g,It(Z,2),ge)}}function vf(g){return an(function(S,I){var Z=-1,ne=I.length,ge=ne>1?I[ne-1]:n,be=ne>2?I[2]:n;for(ge=g.length>3&&typeof ge=="function"?(ne--,ge):n,be&&To(I[0],I[1],be)&&(ge=ne<3?n:ge,ne=1),S=Yn(S);++Z<ne;){var Oe=I[Z];Oe&&g(S,Oe,Z,ge)}return S})}function y6(g,S){return function(I,Z){if(I==null)return I;if(!Zo(I))return g(I,Z);for(var ne=I.length,ge=S?ne:-1,be=Yn(I);(S?ge--:++ge<ne)&&Z(be[ge],ge,be)!==!1;);return I}}function b6(g){return function(S,I,Z){for(var ne=-1,ge=Yn(S),be=Z(S),Oe=be.length;Oe--;){var Fe=be[g?Oe:++ne];if(I(ge[Fe],Fe,ge)===!1)break}return S}}function gV(g,S,I){var Z=S&m,ne=v0(g);function ge(){var be=this&&this!==$r&&this instanceof ge?ne:g;return be.apply(Z?I:this,arguments)}return ge}function x6(g){return function(S){S=Fn(S);var I=lf(S)?fa(S):n,Z=I?I[0]:S.charAt(0),ne=I?Sl(I,1).join(""):S.slice(1);return Z[g]()+ne}}function gf(g){return function(S){return z2(yS(RS(S).replace(aX,"")),g,"")}}function v0(g){return function(){var S=arguments;switch(S.length){case 0:return new g;case 1:return new g(S[0]);case 2:return new g(S[0],S[1]);case 3:return new g(S[0],S[1],S[2]);case 4:return new g(S[0],S[1],S[2],S[3]);case 5:return new g(S[0],S[1],S[2],S[3],S[4]);case 6:return new g(S[0],S[1],S[2],S[3],S[4],S[5]);case 7:return new g(S[0],S[1],S[2],S[3],S[4],S[5],S[6])}var I=pf(g.prototype),Z=g.apply(I,S);return lr(Z)?Z:I}}function mV(g,S,I){var Z=v0(g);function ne(){for(var ge=arguments.length,be=Ze(ge),Oe=ge,Fe=mf(ne);Oe--;)be[Oe]=arguments[Oe];var qe=ge<3&&be[0]!==Fe&&be[ge-1]!==Fe?[]:Al(be,Fe);if(ge-=qe.length,ge<I)return O6(g,S,P1,ne.placeholder,n,be,qe,n,n,I-ge);var tt=this&&this!==$r&&this instanceof ne?Z:g;return fi(tt,this,be)}return ne}function S6(g){return function(S,I,Z){var ne=Yn(S);if(!Zo(S)){var ge=It(I,3);S=Yr(S),I=function(Oe){return ge(ne[Oe],Oe,ne)}}var be=g(S,I,Z);return be>-1?ne[ge?S[be]:be]:n}}function M6(g){return Cs(function(S){var I=S.length,Z=I,ne=Ui.prototype.thru;for(g&&S.reverse();Z--;){var ge=S[Z];if(typeof ge!="function")throw new Vi(a);if(ne&&!be&&_1(ge)=="wrapper")var be=new Ui([],!0)}for(Z=be?Z:I;++Z<I;){ge=S[Z];var Oe=_1(ge),Fe=Oe=="wrapper"?kA(ge):n;Fe&&IA(Fe[0])&&Fe[1]==(T|R|b|w)&&!Fe[4].length&&Fe[9]==1?be=be[_1(Fe[0])].apply(be,Fe[3]):be=ge.length==1&&IA(ge)?be[Oe]():be.thru(ge)}return function(){var qe=arguments,tt=qe[0];if(be&&qe.length==1&&qt(tt))return be.plant(tt).value();for(var it=0,Rt=I?S[it].apply(this,qe):tt;++it<I;)Rt=S[it].call(this,Rt);return Rt}})}function P1(g,S,I,Z,ne,ge,be,Oe,Fe,qe){var tt=S&T,it=S&m,Rt=S&x,Ot=S&(R|A),Et=S&L,on=Rt?n:v0(g);function Xt(){for(var un=arguments.length,An=Ze(un),vi=un;vi--;)An[vi]=arguments[vi];if(Ot)var ko=mf(Xt),gi=kX(An,ko);if(Z&&(An=A6(An,Z,ne,Ot)),ge&&(An=R6(An,ge,be,Ot)),un-=gi,Ot&&un<qe){var Mr=Al(An,ko);return O6(g,S,P1,Xt.placeholder,I,An,Mr,Oe,Fe,qe-un)}var pa=it?I:this,Es=Rt?pa[g]:g;return un=An.length,Oe?An=XV(An,Oe):Et&&un>1&&An.reverse(),tt&&Fe<un&&(An.length=Fe),this&&this!==$r&&this instanceof Xt&&(Es=on||v0(Es)),Es.apply(pa,An)}return Xt}function w6(g,S){return function(I,Z){return DW(I,g,S(Z),{})}}function C1(g,S){return function(I,Z){var ne;if(I===n&&Z===n)return S;if(I!==n&&(ne=I),Z!==n){if(ne===n)return Z;typeof I=="string"||typeof Z=="string"?(I=hi(I),Z=hi(Z)):(I=u6(I),Z=u6(Z)),ne=g(I,Z)}return ne}}function wA(g){return Cs(function(S){return S=qn(S,di(It())),an(function(I){var Z=this;return g(S,function(ne){return fi(ne,Z,I)})})})}function I1(g,S){S=S===n?" ":hi(S);var I=S.length;if(I<2)return I?AA(S,g):S;var Z=AA(S,R1(g/cf(S)));return lf(S)?Sl(fa(Z),0,g).join(""):Z.slice(0,g)}function AV(g,S,I,Z){var ne=S&m,ge=v0(g);function be(){for(var Oe=-1,Fe=arguments.length,qe=-1,tt=Z.length,it=Ze(tt+Fe),Rt=this&&this!==$r&&this instanceof be?ge:g;++qe<tt;)it[qe]=Z[qe];for(;Fe--;)it[qe++]=arguments[++Oe];return fi(Rt,ne?I:this,it)}return be}function L6(g){return function(S,I,Z){return Z&&typeof Z!="number"&&To(S,I,Z)&&(I=Z=n),S=_s(S),I===n?(I=S,S=0):I=_s(I),Z=Z===n?S<I?1:-1:_s(Z),rV(S,I,Z,g)}}function F1(g){return function(S,I){return typeof S=="string"&&typeof I=="string"||(S=Bi(S),I=Bi(I)),g(S,I)}}function O6(g,S,I,Z,ne,ge,be,Oe,Fe,qe){var tt=S&R,it=tt?be:n,Rt=tt?n:be,Ot=tt?ge:n,Et=tt?n:ge;S|=tt?b:M,S&=~(tt?M:b),S&y||(S&=~(m|x));var on=[g,S,ne,Ot,it,Et,Rt,Oe,Fe,qe],Xt=I.apply(n,on);return IA(g)&&V6(Xt,on),Xt.placeholder=Z,U6(Xt,g,S)}function LA(g){var S=Fr[g];return function(I,Z){if(I=Bi(I),Z=Z==null?0:fo(rn(Z),292),Z&&U8(I)){var ne=(Fn(I)+"e").split("e"),ge=S(ne[0]+"e"+(+ne[1]+Z));return ne=(Fn(ge)+"e").split("e"),+(ne[0]+"e"+(+ne[1]-Z))}return S(I)}}var RV=df&&1/c1(new df([,-0]))[1]==X?function(g){return new df(g)}:GA;function T6(g){return function(S){var I=ho(S);return I==F?nA(S):I==ce?EX(S):TX(S,g(S))}}function Ps(g,S,I,Z,ne,ge,be,Oe){var Fe=S&x;if(!Fe&&typeof g!="function")throw new Vi(a);var qe=Z?Z.length:0;if(qe||(S&=~(b|M),Z=ne=n),be=be===n?be:_r(rn(be),0),Oe=Oe===n?Oe:rn(Oe),qe-=ne?ne.length:0,S&M){var tt=Z,it=ne;Z=ne=n}var Rt=Fe?n:kA(g),Ot=[g,S,I,Z,ne,tt,it,ge,be,Oe];if(Rt&&FV(Ot,Rt),g=Ot[0],S=Ot[1],I=Ot[2],Z=Ot[3],ne=Ot[4],Oe=Ot[9]=Ot[9]===n?Fe?0:g.length:_r(Ot[9]-qe,0),!Oe&&S&(R|A)&&(S&=~(R|A)),!S||S==m)var Et=gV(g,S,I);else S==R||S==A?Et=mV(g,S,Oe):(S==b||S==(m|b))&&!ne.length?Et=AV(g,S,I,Z):Et=P1.apply(n,Ot);var on=Rt?l6:V6;return U6(on(Et,Ot),g,S)}function k6(g,S,I,Z){return g===n||ha(g,ff[I])&&!Wn.call(Z,I)?S:g}function N6(g,S,I,Z,ne,ge){return lr(g)&&lr(S)&&(ge.set(S,g),O1(g,S,n,N6,ge),ge.delete(S)),g}function yV(g){return A0(g)?n:g}function P6(g,S,I,Z,ne,ge){var be=I&p,Oe=g.length,Fe=S.length;if(Oe!=Fe&&!(be&&Fe>Oe))return!1;var qe=ge.get(g),tt=ge.get(S);if(qe&&tt)return qe==S&&tt==g;var it=-1,Rt=!0,Ot=I&v?new Wc:n;for(ge.set(g,S),ge.set(S,g);++it<Oe;){var Et=g[it],on=S[it];if(Z)var Xt=be?Z(on,Et,it,S,g,ge):Z(Et,on,it,g,S,ge);if(Xt!==n){if(Xt)continue;Rt=!1;break}if(Ot){if(!J2(S,function(un,An){if(!o0(Ot,An)&&(Et===un||ne(Et,un,I,Z,ge)))return Ot.push(An)})){Rt=!1;break}}else if(!(Et===on||ne(Et,on,I,Z,ge))){Rt=!1;break}}return ge.delete(g),ge.delete(S),Rt}function bV(g,S,I,Z,ne,ge,be){switch(I){case De:if(g.byteLength!=S.byteLength||g.byteOffset!=S.byteOffset)return!1;g=g.buffer,S=S.buffer;case Te:return!(g.byteLength!=S.byteLength||!ge(new v1(g),new v1(S)));case J:case Re:case j:return ha(+g,+S);case me:return g.name==S.name&&g.message==S.message;case he:case pe:return g==S+"";case F:var Oe=nA;case ce:var Fe=Z&p;if(Oe||(Oe=c1),g.size!=S.size&&!Fe)return!1;var qe=be.get(g);if(qe)return qe==S;Z|=v,be.set(g,S);var tt=P6(Oe(g),Oe(S),Z,ne,ge,be);return be.delete(g),tt;case xe:if(c0)return c0.call(g)==c0.call(S)}return!1}function xV(g,S,I,Z,ne,ge){var be=I&p,Oe=OA(g),Fe=Oe.length,qe=OA(S),tt=qe.length;if(Fe!=tt&&!be)return!1;for(var it=Fe;it--;){var Rt=Oe[it];if(!(be?Rt in S:Wn.call(S,Rt)))return!1}var Ot=ge.get(g),Et=ge.get(S);if(Ot&&Et)return Ot==S&&Et==g;var on=!0;ge.set(g,S),ge.set(S,g);for(var Xt=be;++it<Fe;){Rt=Oe[it];var un=g[Rt],An=S[Rt];if(Z)var vi=be?Z(An,un,Rt,S,g,ge):Z(un,An,Rt,g,S,ge);if(!(vi===n?un===An||ne(un,An,I,Z,ge):vi)){on=!1;break}Xt||(Xt=Rt=="constructor")}if(on&&!Xt){var ko=g.constructor,gi=S.constructor;ko!=gi&&"constructor"in g&&"constructor"in S&&!(typeof ko=="function"&&ko instanceof ko&&typeof gi=="function"&&gi instanceof gi)&&(on=!1)}return ge.delete(g),ge.delete(S),on}function Cs(g){return _A(X6(g,n,K6),g+"")}function OA(g){return $8(g,Yr,PA)}function TA(g){return $8(g,Bo,C6)}var kA=b1?function(g){return b1.get(g)}:GA;function _1(g){for(var S=g.name+"",I=hf[S],Z=Wn.call(hf,S)?I.length:0;Z--;){var ne=I[Z],ge=ne.func;if(ge==null||ge==g)return ne.name}return S}function mf(g){var S=Wn.call(de,"placeholder")?de:g;return S.placeholder}function It(){var g=de.iteratee||KA;return g=g===KA?e6:g,arguments.length?g(arguments[0],arguments[1]):g}function E1(g,S){var I=g.__data__;return NV(S)?I[typeof S=="string"?"string":"hash"]:I.map}function NA(g){for(var S=Yr(g),I=S.length;I--;){var Z=S[I],ne=g[Z];S[I]=[Z,ne,_6(ne)]}return S}function Yc(g,S){var I=IX(g,S);return q8(I)?I:n}function SV(g){var S=Wn.call(g,Ec),I=g[Ec];try{g[Ec]=n;var Z=!0}catch{}var ne=h1.call(g);return Z&&(S?g[Ec]=I:delete g[Ec]),ne}var PA=oA?function(g){return g==null?[]:(g=Yn(g),gl(oA(g),function(S){return W8.call(g,S)}))}:zA,C6=oA?function(g){for(var S=[];g;)ml(S,PA(g)),g=g1(g);return S}:zA,ho=Oo;(iA&&ho(new iA(new ArrayBuffer(1)))!=De||a0&&ho(new a0)!=F||aA&&ho(aA.resolve())!=te||df&&ho(new df)!=ce||s0&&ho(new s0)!=Ae)&&(ho=function(g){var S=Oo(g),I=S==q?g.constructor:n,Z=I?Qc(I):"";if(Z)switch(Z){case iW:return De;case aW:return F;case sW:return te;case lW:return ce;case cW:return Ae}return S});function MV(g,S,I){for(var Z=-1,ne=I.length;++Z<ne;){var ge=I[Z],be=ge.size;switch(ge.type){case"drop":g+=be;break;case"dropRight":S-=be;break;case"take":S=fo(S,g+be);break;case"takeRight":g=_r(g,S-be);break}}return{start:g,end:S}}function wV(g){var S=g.match(PE);return S?S[1].split(CE):[]}function I6(g,S,I){S=xl(S,g);for(var Z=-1,ne=S.length,ge=!1;++Z<ne;){var be=Qa(S[Z]);if(!(ge=g!=null&&I(g,be)))break;g=g[be]}return ge||++Z!=ne?ge:(ne=g==null?0:g.length,!!ne&&Z1(ne)&&Is(be,ne)&&(qt(g)||Zc(g)))}function LV(g){var S=g.length,I=new g.constructor(S);return S&&typeof g[0]=="string"&&Wn.call(g,"index")&&(I.index=g.index,I.input=g.input),I}function F6(g){return typeof g.constructor=="function"&&!g0(g)?pf(g1(g)):{}}function OV(g,S,I){var Z=g.constructor;switch(S){case Te:return MA(g);case J:case Re:return new Z(+g);case De:return uV(g,I);case ye:case Le:case Pe:case Ye:case rt:case Ne:case Ke:case et:case At:return g6(g,I);case F:return new Z;case j:case pe:return new Z(g);case he:return fV(g);case ce:return new Z;case xe:return dV(g)}}function TV(g,S){var I=S.length;if(!I)return g;var Z=I-1;return S[Z]=(I>1?"& ":"")+S[Z],S=S.join(I>2?", ":" "),g.replace(U2,`{
|
||
/* [wrapped with `+S+`] */
|
||
`)}function kV(g){return qt(g)||Zc(g)||!!(V8&&g&&g[V8])}function Is(g,S){var I=typeof g;return S=S??Y,!!S&&(I=="number"||I!="symbol"&&YE.test(g))&&g>-1&&g%1==0&&g<S}function To(g,S,I){if(!lr(I))return!1;var Z=typeof S;return(Z=="number"?Zo(I)&&Is(S,I.length):Z=="string"&&S in I)?ha(I[S],g):!1}function CA(g,S){if(qt(g))return!1;var I=typeof g;return I=="number"||I=="symbol"||I=="boolean"||g==null||pi(g)?!0:Os.test(g)||!Fc.test(g)||S!=null&&g in Yn(S)}function NV(g){var S=typeof g;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?g!=="__proto__":g===null}function IA(g){var S=_1(g),I=de[S];if(typeof I!="function"||!(S in hn.prototype))return!1;if(g===I)return!0;var Z=kA(I);return!!Z&&g===Z[0]}function PV(g){return!!_8&&_8 in g}var CV=f1?Fs:JA;function g0(g){var S=g&&g.constructor,I=typeof S=="function"&&S.prototype||ff;return g===I}function _6(g){return g===g&&!lr(g)}function E6(g,S){return function(I){return I==null?!1:I[g]===S&&(S!==n||g in Yn(I))}}function IV(g){var S=Y1(g,function(Z){return I.size===c&&I.clear(),Z}),I=S.cache;return S}function FV(g,S){var I=g[1],Z=S[1],ne=I|Z,ge=ne<(m|x|T),be=Z==T&&I==R||Z==T&&I==w&&g[7].length<=S[8]||Z==(T|w)&&S[7].length<=S[8]&&I==R;if(!(ge||be))return g;Z&m&&(g[2]=S[2],ne|=I&m?0:y);var Oe=S[3];if(Oe){var Fe=g[3];g[3]=Fe?A6(Fe,Oe,S[4]):Oe,g[4]=Fe?Al(g[3],u):S[4]}return Oe=S[5],Oe&&(Fe=g[5],g[5]=Fe?R6(Fe,Oe,S[6]):Oe,g[6]=Fe?Al(g[5],u):S[6]),Oe=S[7],Oe&&(g[7]=Oe),Z&T&&(g[8]=g[8]==null?S[8]:fo(g[8],S[8])),g[9]==null&&(g[9]=S[9]),g[0]=S[0],g[1]=ne,g}function _V(g){var S=[];if(g!=null)for(var I in Yn(g))S.push(I);return S}function EV(g){return h1.call(g)}function X6(g,S,I){return S=_r(S===n?g.length-1:S,0),function(){for(var Z=arguments,ne=-1,ge=_r(Z.length-S,0),be=Ze(ge);++ne<ge;)be[ne]=Z[S+ne];ne=-1;for(var Oe=Ze(S+1);++ne<S;)Oe[ne]=Z[ne];return Oe[S]=I(be),fi(g,this,Oe)}}function W6(g,S){return S.length<2?g:Uc(g,Qi(S,0,-1))}function XV(g,S){for(var I=g.length,Z=fo(S.length,I),ne=Qo(g);Z--;){var ge=S[Z];g[Z]=Is(ge,I)?ne[ge]:n}return g}function FA(g,S){if(!(S==="constructor"&&typeof g[S]=="function")&&S!="__proto__")return g[S]}var V6=Y6(l6),m0=jX||function(g,S){return $r.setTimeout(g,S)},_A=Y6(aV);function U6(g,S,I){var Z=S+"";return _A(g,TV(Z,WV(wV(Z),I)))}function Y6(g){var S=0,I=0;return function(){var Z=nW(),ne=W-(Z-I);if(I=Z,ne>0){if(++S>=P)return arguments[0]}else S=0;return g.apply(n,arguments)}}function X1(g,S){var I=-1,Z=g.length,ne=Z-1;for(S=S===n?Z:S;++I<S;){var ge=mA(I,ne),be=g[ge];g[ge]=g[I],g[I]=be}return g.length=S,g}var Q6=IV(function(g){var S=[];return g.charCodeAt(0)===46&&S.push(""),g.replace(V2,function(I,Z,ne,ge){S.push(ne?ge.replace(_E,"$1"):Z||I)}),S});function Qa(g){if(typeof g=="string"||pi(g))return g;var S=g+"";return S=="0"&&1/g==-X?"-0":S}function Qc(g){if(g!=null){try{return d1.call(g)}catch{}try{return g+""}catch{}}return""}function WV(g,S){return Wi(D,function(I){var Z="_."+I[0];S&I[1]&&!s1(g,Z)&&g.push(Z)}),g.sort()}function Z6(g){if(g instanceof hn)return g.clone();var S=new Ui(g.__wrapped__,g.__chain__);return S.__actions__=Qo(g.__actions__),S.__index__=g.__index__,S.__values__=g.__values__,S}function VV(g,S,I){(I?To(g,S,I):S===n)?S=1:S=_r(rn(S),0);var Z=g==null?0:g.length;if(!Z||S<1)return[];for(var ne=0,ge=0,be=Ze(R1(Z/S));ne<Z;)be[ge++]=Qi(g,ne,ne+=S);return be}function UV(g){for(var S=-1,I=g==null?0:g.length,Z=0,ne=[];++S<I;){var ge=g[S];ge&&(ne[Z++]=ge)}return ne}function YV(){var g=arguments.length;if(!g)return[];for(var S=Ze(g-1),I=arguments[0],Z=g;Z--;)S[Z-1]=arguments[Z];return ml(qt(I)?Qo(I):[I],jr(S,1))}var QV=an(function(g,S){return Sr(g)?f0(g,jr(S,1,Sr,!0)):[]}),ZV=an(function(g,S){var I=Zi(S);return Sr(I)&&(I=n),Sr(g)?f0(g,jr(S,1,Sr,!0),It(I,2)):[]}),BV=an(function(g,S){var I=Zi(S);return Sr(I)&&(I=n),Sr(g)?f0(g,jr(S,1,Sr,!0),n,I):[]});function DV(g,S,I){var Z=g==null?0:g.length;return Z?(S=I||S===n?1:rn(S),Qi(g,S<0?0:S,Z)):[]}function KV(g,S,I){var Z=g==null?0:g.length;return Z?(S=I||S===n?1:rn(S),S=Z-S,Qi(g,0,S<0?0:S)):[]}function HV(g,S){return g&&g.length?k1(g,It(S,3),!0,!0):[]}function GV(g,S){return g&&g.length?k1(g,It(S,3),!0):[]}function zV(g,S,I,Z){var ne=g==null?0:g.length;return ne?(I&&typeof I!="number"&&To(g,S,I)&&(I=0,Z=ne),YW(g,S,I,Z)):[]}function B6(g,S,I){var Z=g==null?0:g.length;if(!Z)return-1;var ne=I==null?0:rn(I);return ne<0&&(ne=_r(Z+ne,0)),l1(g,It(S,3),ne)}function D6(g,S,I){var Z=g==null?0:g.length;if(!Z)return-1;var ne=Z-1;return I!==n&&(ne=rn(I),ne=I<0?_r(Z+ne,0):fo(ne,Z-1)),l1(g,It(S,3),ne,!0)}function K6(g){var S=g==null?0:g.length;return S?jr(g,1):[]}function JV(g){var S=g==null?0:g.length;return S?jr(g,X):[]}function $V(g,S){var I=g==null?0:g.length;return I?(S=S===n?1:rn(S),jr(g,S)):[]}function jV(g){for(var S=-1,I=g==null?0:g.length,Z={};++S<I;){var ne=g[S];Z[ne[0]]=ne[1]}return Z}function H6(g){return g&&g.length?g[0]:n}function qV(g,S,I){var Z=g==null?0:g.length;if(!Z)return-1;var ne=I==null?0:rn(I);return ne<0&&(ne=_r(Z+ne,0)),sf(g,S,ne)}function eU(g){var S=g==null?0:g.length;return S?Qi(g,0,-1):[]}var tU=an(function(g){var S=qn(g,xA);return S.length&&S[0]===g[0]?dA(S):[]}),nU=an(function(g){var S=Zi(g),I=qn(g,xA);return S===Zi(I)?S=n:I.pop(),I.length&&I[0]===g[0]?dA(I,It(S,2)):[]}),rU=an(function(g){var S=Zi(g),I=qn(g,xA);return S=typeof S=="function"?S:n,S&&I.pop(),I.length&&I[0]===g[0]?dA(I,n,S):[]});function oU(g,S){return g==null?"":eW.call(g,S)}function Zi(g){var S=g==null?0:g.length;return S?g[S-1]:n}function iU(g,S,I){var Z=g==null?0:g.length;if(!Z)return-1;var ne=Z;return I!==n&&(ne=rn(I),ne=ne<0?_r(Z+ne,0):fo(ne,Z-1)),S===S?WX(g,S,ne):l1(g,O8,ne,!0)}function aU(g,S){return g&&g.length?o6(g,rn(S)):n}var sU=an(G6);function G6(g,S){return g&&g.length&&S&&S.length?gA(g,S):g}function lU(g,S,I){return g&&g.length&&S&&S.length?gA(g,S,It(I,2)):g}function cU(g,S,I){return g&&g.length&&S&&S.length?gA(g,S,n,I):g}var uU=Cs(function(g,S){var I=g==null?0:g.length,Z=lA(g,S);return s6(g,qn(S,function(ne){return Is(ne,I)?+ne:ne}).sort(m6)),Z});function fU(g,S){var I=[];if(!(g&&g.length))return I;var Z=-1,ne=[],ge=g.length;for(S=It(S,3);++Z<ge;){var be=g[Z];S(be,Z,g)&&(I.push(be),ne.push(Z))}return s6(g,ne),I}function EA(g){return g==null?g:oW.call(g)}function dU(g,S,I){var Z=g==null?0:g.length;return Z?(I&&typeof I!="number"&&To(g,S,I)?(S=0,I=Z):(S=S==null?0:rn(S),I=I===n?Z:rn(I)),Qi(g,S,I)):[]}function hU(g,S){return T1(g,S)}function pU(g,S,I){return RA(g,S,It(I,2))}function vU(g,S){var I=g==null?0:g.length;if(I){var Z=T1(g,S);if(Z<I&&ha(g[Z],S))return Z}return-1}function gU(g,S){return T1(g,S,!0)}function mU(g,S,I){return RA(g,S,It(I,2),!0)}function AU(g,S){var I=g==null?0:g.length;if(I){var Z=T1(g,S,!0)-1;if(ha(g[Z],S))return Z}return-1}function RU(g){return g&&g.length?c6(g):[]}function yU(g,S){return g&&g.length?c6(g,It(S,2)):[]}function bU(g){var S=g==null?0:g.length;return S?Qi(g,1,S):[]}function xU(g,S,I){return g&&g.length?(S=I||S===n?1:rn(S),Qi(g,0,S<0?0:S)):[]}function SU(g,S,I){var Z=g==null?0:g.length;return Z?(S=I||S===n?1:rn(S),S=Z-S,Qi(g,S<0?0:S,Z)):[]}function MU(g,S){return g&&g.length?k1(g,It(S,3),!1,!0):[]}function wU(g,S){return g&&g.length?k1(g,It(S,3)):[]}var LU=an(function(g){return bl(jr(g,1,Sr,!0))}),OU=an(function(g){var S=Zi(g);return Sr(S)&&(S=n),bl(jr(g,1,Sr,!0),It(S,2))}),TU=an(function(g){var S=Zi(g);return S=typeof S=="function"?S:n,bl(jr(g,1,Sr,!0),n,S)});function kU(g){return g&&g.length?bl(g):[]}function NU(g,S){return g&&g.length?bl(g,It(S,2)):[]}function PU(g,S){return S=typeof S=="function"?S:n,g&&g.length?bl(g,n,S):[]}function XA(g){if(!(g&&g.length))return[];var S=0;return g=gl(g,function(I){if(Sr(I))return S=_r(I.length,S),!0}),eA(S,function(I){return qn(g,$2(I))})}function z6(g,S){if(!(g&&g.length))return[];var I=XA(g);return S==null?I:qn(I,function(Z){return fi(S,n,Z)})}var CU=an(function(g,S){return Sr(g)?f0(g,S):[]}),IU=an(function(g){return bA(gl(g,Sr))}),FU=an(function(g){var S=Zi(g);return Sr(S)&&(S=n),bA(gl(g,Sr),It(S,2))}),_U=an(function(g){var S=Zi(g);return S=typeof S=="function"?S:n,bA(gl(g,Sr),n,S)}),EU=an(XA);function XU(g,S){return h6(g||[],S||[],u0)}function WU(g,S){return h6(g||[],S||[],p0)}var VU=an(function(g){var S=g.length,I=S>1?g[S-1]:n;return I=typeof I=="function"?(g.pop(),I):n,z6(g,I)});function J6(g){var S=de(g);return S.__chain__=!0,S}function UU(g,S){return S(g),g}function W1(g,S){return S(g)}var YU=Cs(function(g){var S=g.length,I=S?g[0]:0,Z=this.__wrapped__,ne=function(ge){return lA(ge,g)};return S>1||this.__actions__.length||!(Z instanceof hn)||!Is(I)?this.thru(ne):(Z=Z.slice(I,+I+(S?1:0)),Z.__actions__.push({func:W1,args:[ne],thisArg:n}),new Ui(Z,this.__chain__).thru(function(ge){return S&&!ge.length&&ge.push(n),ge}))});function QU(){return J6(this)}function ZU(){return new Ui(this.value(),this.__chain__)}function BU(){this.__values__===n&&(this.__values__=uS(this.value()));var g=this.__index__>=this.__values__.length,S=g?n:this.__values__[this.__index__++];return{done:g,value:S}}function DU(){return this}function KU(g){for(var S,I=this;I instanceof S1;){var Z=Z6(I);Z.__index__=0,Z.__values__=n,S?ne.__wrapped__=Z:S=Z;var ne=Z;I=I.__wrapped__}return ne.__wrapped__=g,S}function HU(){var g=this.__wrapped__;if(g instanceof hn){var S=g;return this.__actions__.length&&(S=new hn(this)),S=S.reverse(),S.__actions__.push({func:W1,args:[EA],thisArg:n}),new Ui(S,this.__chain__)}return this.thru(EA)}function GU(){return d6(this.__wrapped__,this.__actions__)}var zU=N1(function(g,S,I){Wn.call(g,I)?++g[I]:Ns(g,I,1)});function JU(g,S,I){var Z=qt(g)?w8:UW;return I&&To(g,S,I)&&(S=n),Z(g,It(S,3))}function $U(g,S){var I=qt(g)?gl:z8;return I(g,It(S,3))}var jU=S6(B6),qU=S6(D6);function eY(g,S){return jr(V1(g,S),1)}function tY(g,S){return jr(V1(g,S),X)}function nY(g,S,I){return I=I===n?1:rn(I),jr(V1(g,S),I)}function $6(g,S){var I=qt(g)?Wi:yl;return I(g,It(S,3))}function j6(g,S){var I=qt(g)?bX:G8;return I(g,It(S,3))}var rY=N1(function(g,S,I){Wn.call(g,I)?g[I].push(S):Ns(g,I,[S])});function oY(g,S,I,Z){g=Zo(g)?g:Rf(g),I=I&&!Z?rn(I):0;var ne=g.length;return I<0&&(I=_r(ne+I,0)),B1(g)?I<=ne&&g.indexOf(S,I)>-1:!!ne&&sf(g,S,I)>-1}var iY=an(function(g,S,I){var Z=-1,ne=typeof S=="function",ge=Zo(g)?Ze(g.length):[];return yl(g,function(be){ge[++Z]=ne?fi(S,be,I):d0(be,S,I)}),ge}),aY=N1(function(g,S,I){Ns(g,I,S)});function V1(g,S){var I=qt(g)?qn:t6;return I(g,It(S,3))}function sY(g,S,I,Z){return g==null?[]:(qt(S)||(S=S==null?[]:[S]),I=Z?n:I,qt(I)||(I=I==null?[]:[I]),i6(g,S,I))}var lY=N1(function(g,S,I){g[I?0:1].push(S)},function(){return[[],[]]});function cY(g,S,I){var Z=qt(g)?z2:k8,ne=arguments.length<3;return Z(g,It(S,4),I,ne,yl)}function uY(g,S,I){var Z=qt(g)?xX:k8,ne=arguments.length<3;return Z(g,It(S,4),I,ne,G8)}function fY(g,S){var I=qt(g)?gl:z8;return I(g,Q1(It(S,3)))}function dY(g){var S=qt(g)?B8:oV;return S(g)}function hY(g,S,I){(I?To(g,S,I):S===n)?S=1:S=rn(S);var Z=qt(g)?_W:iV;return Z(g,S)}function pY(g){var S=qt(g)?EW:sV;return S(g)}function vY(g){if(g==null)return 0;if(Zo(g))return B1(g)?cf(g):g.length;var S=ho(g);return S==F||S==ce?g.size:pA(g).length}function gY(g,S,I){var Z=qt(g)?J2:lV;return I&&To(g,S,I)&&(S=n),Z(g,It(S,3))}var mY=an(function(g,S){if(g==null)return[];var I=S.length;return I>1&&To(g,S[0],S[1])?S=[]:I>2&&To(S[0],S[1],S[2])&&(S=[S[0]]),i6(g,jr(S,1),[])}),U1=$X||function(){return $r.Date.now()};function AY(g,S){if(typeof S!="function")throw new Vi(a);return g=rn(g),function(){if(--g<1)return S.apply(this,arguments)}}function q6(g,S,I){return S=I?n:S,S=g&&S==null?g.length:S,Ps(g,T,n,n,n,n,S)}function eS(g,S){var I;if(typeof S!="function")throw new Vi(a);return g=rn(g),function(){return--g>0&&(I=S.apply(this,arguments)),g<=1&&(S=n),I}}var WA=an(function(g,S,I){var Z=m;if(I.length){var ne=Al(I,mf(WA));Z|=b}return Ps(g,Z,S,I,ne)}),tS=an(function(g,S,I){var Z=m|x;if(I.length){var ne=Al(I,mf(tS));Z|=b}return Ps(S,Z,g,I,ne)});function nS(g,S,I){S=I?n:S;var Z=Ps(g,R,n,n,n,n,n,S);return Z.placeholder=nS.placeholder,Z}function rS(g,S,I){S=I?n:S;var Z=Ps(g,A,n,n,n,n,n,S);return Z.placeholder=rS.placeholder,Z}function oS(g,S,I){var Z,ne,ge,be,Oe,Fe,qe=0,tt=!1,it=!1,Rt=!0;if(typeof g!="function")throw new Vi(a);S=Bi(S)||0,lr(I)&&(tt=!!I.leading,it="maxWait"in I,ge=it?_r(Bi(I.maxWait)||0,S):ge,Rt="trailing"in I?!!I.trailing:Rt);function Ot(Mr){var pa=Z,Es=ne;return Z=ne=n,qe=Mr,be=g.apply(Es,pa),be}function Et(Mr){return qe=Mr,Oe=m0(un,S),tt?Ot(Mr):be}function on(Mr){var pa=Mr-Fe,Es=Mr-qe,SS=S-pa;return it?fo(SS,ge-Es):SS}function Xt(Mr){var pa=Mr-Fe,Es=Mr-qe;return Fe===n||pa>=S||pa<0||it&&Es>=ge}function un(){var Mr=U1();if(Xt(Mr))return An(Mr);Oe=m0(un,on(Mr))}function An(Mr){return Oe=n,Rt&&Z?Ot(Mr):(Z=ne=n,be)}function vi(){Oe!==n&&p6(Oe),qe=0,Z=Fe=ne=Oe=n}function ko(){return Oe===n?be:An(U1())}function gi(){var Mr=U1(),pa=Xt(Mr);if(Z=arguments,ne=this,Fe=Mr,pa){if(Oe===n)return Et(Fe);if(it)return p6(Oe),Oe=m0(un,S),Ot(Fe)}return Oe===n&&(Oe=m0(un,S)),be}return gi.cancel=vi,gi.flush=ko,gi}var RY=an(function(g,S){return H8(g,1,S)}),yY=an(function(g,S,I){return H8(g,Bi(S)||0,I)});function bY(g){return Ps(g,L)}function Y1(g,S){if(typeof g!="function"||S!=null&&typeof S!="function")throw new Vi(a);var I=function(){var Z=arguments,ne=S?S.apply(this,Z):Z[0],ge=I.cache;if(ge.has(ne))return ge.get(ne);var be=g.apply(this,Z);return I.cache=ge.set(ne,be)||ge,be};return I.cache=new(Y1.Cache||ks),I}Y1.Cache=ks;function Q1(g){if(typeof g!="function")throw new Vi(a);return function(){var S=arguments;switch(S.length){case 0:return!g.call(this);case 1:return!g.call(this,S[0]);case 2:return!g.call(this,S[0],S[1]);case 3:return!g.call(this,S[0],S[1],S[2])}return!g.apply(this,S)}}function xY(g){return eS(2,g)}var SY=cV(function(g,S){S=S.length==1&&qt(S[0])?qn(S[0],di(It())):qn(jr(S,1),di(It()));var I=S.length;return an(function(Z){for(var ne=-1,ge=fo(Z.length,I);++ne<ge;)Z[ne]=S[ne].call(this,Z[ne]);return fi(g,this,Z)})}),VA=an(function(g,S){var I=Al(S,mf(VA));return Ps(g,b,n,S,I)}),iS=an(function(g,S){var I=Al(S,mf(iS));return Ps(g,M,n,S,I)}),MY=Cs(function(g,S){return Ps(g,w,n,n,n,S)});function wY(g,S){if(typeof g!="function")throw new Vi(a);return S=S===n?S:rn(S),an(g,S)}function LY(g,S){if(typeof g!="function")throw new Vi(a);return S=S==null?0:_r(rn(S),0),an(function(I){var Z=I[S],ne=Sl(I,0,S);return Z&&ml(ne,Z),fi(g,this,ne)})}function OY(g,S,I){var Z=!0,ne=!0;if(typeof g!="function")throw new Vi(a);return lr(I)&&(Z="leading"in I?!!I.leading:Z,ne="trailing"in I?!!I.trailing:ne),oS(g,S,{leading:Z,maxWait:S,trailing:ne})}function TY(g){return q6(g,1)}function kY(g,S){return VA(SA(S),g)}function NY(){if(!arguments.length)return[];var g=arguments[0];return qt(g)?g:[g]}function PY(g){return Yi(g,h)}function CY(g,S){return S=typeof S=="function"?S:n,Yi(g,h,S)}function IY(g){return Yi(g,f|h)}function FY(g,S){return S=typeof S=="function"?S:n,Yi(g,f|h,S)}function _Y(g,S){return S==null||K8(g,S,Yr(S))}function ha(g,S){return g===S||g!==g&&S!==S}var EY=F1(fA),XY=F1(function(g,S){return g>=S}),Zc=j8(function(){return arguments}())?j8:function(g){return vr(g)&&Wn.call(g,"callee")&&!W8.call(g,"callee")},qt=Ze.isArray,WY=R8?di(R8):KW;function Zo(g){return g!=null&&Z1(g.length)&&!Fs(g)}function Sr(g){return vr(g)&&Zo(g)}function VY(g){return g===!0||g===!1||vr(g)&&Oo(g)==J}var Ml=qX||JA,UY=y8?di(y8):HW;function YY(g){return vr(g)&&g.nodeType===1&&!A0(g)}function QY(g){if(g==null)return!0;if(Zo(g)&&(qt(g)||typeof g=="string"||typeof g.splice=="function"||Ml(g)||Af(g)||Zc(g)))return!g.length;var S=ho(g);if(S==F||S==ce)return!g.size;if(g0(g))return!pA(g).length;for(var I in g)if(Wn.call(g,I))return!1;return!0}function ZY(g,S){return h0(g,S)}function BY(g,S,I){I=typeof I=="function"?I:n;var Z=I?I(g,S):n;return Z===n?h0(g,S,n,I):!!Z}function UA(g){if(!vr(g))return!1;var S=Oo(g);return S==me||S==fe||typeof g.message=="string"&&typeof g.name=="string"&&!A0(g)}function DY(g){return typeof g=="number"&&U8(g)}function Fs(g){if(!lr(g))return!1;var S=Oo(g);return S==ue||S==z||S==se||S==re}function aS(g){return typeof g=="number"&&g==rn(g)}function Z1(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=Y}function lr(g){var S=typeof g;return g!=null&&(S=="object"||S=="function")}function vr(g){return g!=null&&typeof g=="object"}var sS=b8?di(b8):zW;function KY(g,S){return g===S||hA(g,S,NA(S))}function HY(g,S,I){return I=typeof I=="function"?I:n,hA(g,S,NA(S),I)}function GY(g){return lS(g)&&g!=+g}function zY(g){if(CV(g))throw new $t(i);return q8(g)}function JY(g){return g===null}function $Y(g){return g==null}function lS(g){return typeof g=="number"||vr(g)&&Oo(g)==j}function A0(g){if(!vr(g)||Oo(g)!=q)return!1;var S=g1(g);if(S===null)return!0;var I=Wn.call(S,"constructor")&&S.constructor;return typeof I=="function"&&I instanceof I&&d1.call(I)==HX}var YA=x8?di(x8):JW;function jY(g){return aS(g)&&g>=-Y&&g<=Y}var cS=S8?di(S8):$W;function B1(g){return typeof g=="string"||!qt(g)&&vr(g)&&Oo(g)==pe}function pi(g){return typeof g=="symbol"||vr(g)&&Oo(g)==xe}var Af=M8?di(M8):jW;function qY(g){return g===n}function eQ(g){return vr(g)&&ho(g)==Ae}function tQ(g){return vr(g)&&Oo(g)==Be}var nQ=F1(vA),rQ=F1(function(g,S){return g<=S});function uS(g){if(!g)return[];if(Zo(g))return B1(g)?fa(g):Qo(g);if(i0&&g[i0])return _X(g[i0]());var S=ho(g),I=S==F?nA:S==ce?c1:Rf;return I(g)}function _s(g){if(!g)return g===0?g:0;if(g=Bi(g),g===X||g===-X){var S=g<0?-1:1;return S*$}return g===g?g:0}function rn(g){var S=_s(g),I=S%1;return S===S?I?S-I:S:0}function fS(g){return g?Vc(rn(g),0,Q):0}function Bi(g){if(typeof g=="number")return g;if(pi(g))return le;if(lr(g)){var S=typeof g.valueOf=="function"?g.valueOf():g;g=lr(S)?S+"":S}if(typeof g!="string")return g===0?g:+g;g=N8(g);var I=WE.test(g);return I||UE.test(g)?AX(g.slice(2),I?2:8):XE.test(g)?le:+g}function dS(g){return Ya(g,Bo(g))}function oQ(g){return g?Vc(rn(g),-Y,Y):g===0?g:0}function Fn(g){return g==null?"":hi(g)}var iQ=vf(function(g,S){if(g0(S)||Zo(S)){Ya(S,Yr(S),g);return}for(var I in S)Wn.call(S,I)&&u0(g,I,S[I])}),hS=vf(function(g,S){Ya(S,Bo(S),g)}),D1=vf(function(g,S,I,Z){Ya(S,Bo(S),g,Z)}),aQ=vf(function(g,S,I,Z){Ya(S,Yr(S),g,Z)}),sQ=Cs(lA);function lQ(g,S){var I=pf(g);return S==null?I:D8(I,S)}var cQ=an(function(g,S){g=Yn(g);var I=-1,Z=S.length,ne=Z>2?S[2]:n;for(ne&&To(S[0],S[1],ne)&&(Z=1);++I<Z;)for(var ge=S[I],be=Bo(ge),Oe=-1,Fe=be.length;++Oe<Fe;){var qe=be[Oe],tt=g[qe];(tt===n||ha(tt,ff[qe])&&!Wn.call(g,qe))&&(g[qe]=ge[qe])}return g}),uQ=an(function(g){return g.push(n,N6),fi(pS,n,g)});function fQ(g,S){return L8(g,It(S,3),Ua)}function dQ(g,S){return L8(g,It(S,3),uA)}function hQ(g,S){return g==null?g:cA(g,It(S,3),Bo)}function pQ(g,S){return g==null?g:J8(g,It(S,3),Bo)}function vQ(g,S){return g&&Ua(g,It(S,3))}function gQ(g,S){return g&&uA(g,It(S,3))}function mQ(g){return g==null?[]:L1(g,Yr(g))}function AQ(g){return g==null?[]:L1(g,Bo(g))}function QA(g,S,I){var Z=g==null?n:Uc(g,S);return Z===n?I:Z}function RQ(g,S){return g!=null&&I6(g,S,QW)}function ZA(g,S){return g!=null&&I6(g,S,ZW)}var yQ=w6(function(g,S,I){S!=null&&typeof S.toString!="function"&&(S=h1.call(S)),g[S]=I},DA(Do)),bQ=w6(function(g,S,I){S!=null&&typeof S.toString!="function"&&(S=h1.call(S)),Wn.call(g,S)?g[S].push(I):g[S]=[I]},It),xQ=an(d0);function Yr(g){return Zo(g)?Z8(g):pA(g)}function Bo(g){return Zo(g)?Z8(g,!0):qW(g)}function SQ(g,S){var I={};return S=It(S,3),Ua(g,function(Z,ne,ge){Ns(I,S(Z,ne,ge),Z)}),I}function MQ(g,S){var I={};return S=It(S,3),Ua(g,function(Z,ne,ge){Ns(I,ne,S(Z,ne,ge))}),I}var wQ=vf(function(g,S,I){O1(g,S,I)}),pS=vf(function(g,S,I,Z){O1(g,S,I,Z)}),LQ=Cs(function(g,S){var I={};if(g==null)return I;var Z=!1;S=qn(S,function(ge){return ge=xl(ge,g),Z||(Z=ge.length>1),ge}),Ya(g,TA(g),I),Z&&(I=Yi(I,f|d|h,yV));for(var ne=S.length;ne--;)yA(I,S[ne]);return I});function OQ(g,S){return vS(g,Q1(It(S)))}var TQ=Cs(function(g,S){return g==null?{}:tV(g,S)});function vS(g,S){if(g==null)return{};var I=qn(TA(g),function(Z){return[Z]});return S=It(S),a6(g,I,function(Z,ne){return S(Z,ne[0])})}function kQ(g,S,I){S=xl(S,g);var Z=-1,ne=S.length;for(ne||(ne=1,g=n);++Z<ne;){var ge=g==null?n:g[Qa(S[Z])];ge===n&&(Z=ne,ge=I),g=Fs(ge)?ge.call(g):ge}return g}function NQ(g,S,I){return g==null?g:p0(g,S,I)}function PQ(g,S,I,Z){return Z=typeof Z=="function"?Z:n,g==null?g:p0(g,S,I,Z)}var gS=T6(Yr),mS=T6(Bo);function CQ(g,S,I){var Z=qt(g),ne=Z||Ml(g)||Af(g);if(S=It(S,4),I==null){var ge=g&&g.constructor;ne?I=Z?new ge:[]:lr(g)?I=Fs(ge)?pf(g1(g)):{}:I={}}return(ne?Wi:Ua)(g,function(be,Oe,Fe){return S(I,be,Oe,Fe)}),I}function IQ(g,S){return g==null?!0:yA(g,S)}function FQ(g,S,I){return g==null?g:f6(g,S,SA(I))}function _Q(g,S,I,Z){return Z=typeof Z=="function"?Z:n,g==null?g:f6(g,S,SA(I),Z)}function Rf(g){return g==null?[]:tA(g,Yr(g))}function EQ(g){return g==null?[]:tA(g,Bo(g))}function XQ(g,S,I){return I===n&&(I=S,S=n),I!==n&&(I=Bi(I),I=I===I?I:0),S!==n&&(S=Bi(S),S=S===S?S:0),Vc(Bi(g),S,I)}function WQ(g,S,I){return S=_s(S),I===n?(I=S,S=0):I=_s(I),g=Bi(g),BW(g,S,I)}function VQ(g,S,I){if(I&&typeof I!="boolean"&&To(g,S,I)&&(S=I=n),I===n&&(typeof S=="boolean"?(I=S,S=n):typeof g=="boolean"&&(I=g,g=n)),g===n&&S===n?(g=0,S=1):(g=_s(g),S===n?(S=g,g=0):S=_s(S)),g>S){var Z=g;g=S,S=Z}if(I||g%1||S%1){var ne=Y8();return fo(g+ne*(S-g+mX("1e-"+((ne+"").length-1))),S)}return mA(g,S)}var UQ=gf(function(g,S,I){return S=S.toLowerCase(),g+(I?AS(S):S)});function AS(g){return BA(Fn(g).toLowerCase())}function RS(g){return g=Fn(g),g&&g.replace(QE,NX).replace(sX,"")}function YQ(g,S,I){g=Fn(g),S=hi(S);var Z=g.length;I=I===n?Z:Vc(rn(I),0,Z);var ne=I;return I-=S.length,I>=0&&g.slice(I,ne)==S}function QQ(g){return g=Fn(g),g&&ua.test(g)?g.replace(Zt,PX):g}function ZQ(g){return g=Fn(g),g&&Lo.test(g)?g.replace(of,"\\$&"):g}var BQ=gf(function(g,S,I){return g+(I?"-":"")+S.toLowerCase()}),DQ=gf(function(g,S,I){return g+(I?" ":"")+S.toLowerCase()}),KQ=x6("toLowerCase");function HQ(g,S,I){g=Fn(g),S=rn(S);var Z=S?cf(g):0;if(!S||Z>=S)return g;var ne=(S-Z)/2;return I1(y1(ne),I)+g+I1(R1(ne),I)}function GQ(g,S,I){g=Fn(g),S=rn(S);var Z=S?cf(g):0;return S&&Z<S?g+I1(S-Z,I):g}function zQ(g,S,I){g=Fn(g),S=rn(S);var Z=S?cf(g):0;return S&&Z<S?I1(S-Z,I)+g:g}function JQ(g,S,I){return I||S==null?S=0:S&&(S=+S),rW(Fn(g).replace(Ei,""),S||0)}function $Q(g,S,I){return(I?To(g,S,I):S===n)?S=1:S=rn(S),AA(Fn(g),S)}function jQ(){var g=arguments,S=Fn(g[0]);return g.length<3?S:S.replace(g[1],g[2])}var qQ=gf(function(g,S,I){return g+(I?"_":"")+S.toLowerCase()});function eZ(g,S,I){return I&&typeof I!="number"&&To(g,S,I)&&(S=I=n),I=I===n?Q:I>>>0,I?(g=Fn(g),g&&(typeof S=="string"||S!=null&&!YA(S))&&(S=hi(S),!S&&lf(g))?Sl(fa(g),0,I):g.split(S,I)):[]}var tZ=gf(function(g,S,I){return g+(I?" ":"")+BA(S)});function nZ(g,S,I){return g=Fn(g),I=I==null?0:Vc(rn(I),0,g.length),S=hi(S),g.slice(I,I+S.length)==S}function rZ(g,S,I){var Z=de.templateSettings;I&&To(g,S,I)&&(S=n),g=Fn(g),S=D1({},S,Z,k6);var ne=D1({},S.imports,Z.imports,k6),ge=Yr(ne),be=tA(ne,ge),Oe,Fe,qe=0,tt=S.interpolate||o1,it="__p += '",Rt=rA((S.escape||o1).source+"|"+tt.source+"|"+(tt===rf?EE:o1).source+"|"+(S.evaluate||o1).source+"|$","g"),Ot="//# sourceURL="+(Wn.call(S,"sourceURL")?(S.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++dX+"]")+`
|
||
`;g.replace(Rt,function(Xt,un,An,vi,ko,gi){return An||(An=vi),it+=g.slice(qe,gi).replace(ZE,CX),un&&(Oe=!0,it+=`' +
|
||
__e(`+un+`) +
|
||
'`),ko&&(Fe=!0,it+=`';
|
||
`+ko+`;
|
||
__p += '`),An&&(it+=`' +
|
||
((__t = (`+An+`)) == null ? '' : __t) +
|
||
'`),qe=gi+Xt.length,Xt}),it+=`';
|
||
`;var Et=Wn.call(S,"variable")&&S.variable;if(!Et)it=`with (obj) {
|
||
`+it+`
|
||
}
|
||
`;else if(FE.test(Et))throw new $t(s);it=(Fe?it.replace(ut,""):it).replace(dt,"$1").replace(yt,"$1;"),it="function("+(Et||"obj")+`) {
|
||
`+(Et?"":`obj || (obj = {});
|
||
`)+"var __t, __p = ''"+(Oe?", __e = _.escape":"")+(Fe?`, __j = Array.prototype.join;
|
||
function print() { __p += __j.call(arguments, '') }
|
||
`:`;
|
||
`)+it+`return __p
|
||
}`;var on=bS(function(){return kn(ge,Ot+"return "+it).apply(n,be)});if(on.source=it,UA(on))throw on;return on}function oZ(g){return Fn(g).toLowerCase()}function iZ(g){return Fn(g).toUpperCase()}function aZ(g,S,I){if(g=Fn(g),g&&(I||S===n))return N8(g);if(!g||!(S=hi(S)))return g;var Z=fa(g),ne=fa(S),ge=P8(Z,ne),be=C8(Z,ne)+1;return Sl(Z,ge,be).join("")}function sZ(g,S,I){if(g=Fn(g),g&&(I||S===n))return g.slice(0,F8(g)+1);if(!g||!(S=hi(S)))return g;var Z=fa(g),ne=C8(Z,fa(S))+1;return Sl(Z,0,ne).join("")}function lZ(g,S,I){if(g=Fn(g),g&&(I||S===n))return g.replace(Ei,"");if(!g||!(S=hi(S)))return g;var Z=fa(g),ne=P8(Z,fa(S));return Sl(Z,ne).join("")}function cZ(g,S){var I=k,Z=E;if(lr(S)){var ne="separator"in S?S.separator:ne;I="length"in S?rn(S.length):I,Z="omission"in S?hi(S.omission):Z}g=Fn(g);var ge=g.length;if(lf(g)){var be=fa(g);ge=be.length}if(I>=ge)return g;var Oe=I-cf(Z);if(Oe<1)return Z;var Fe=be?Sl(be,0,Oe).join(""):g.slice(0,Oe);if(ne===n)return Fe+Z;if(be&&(Oe+=Fe.length-Oe),YA(ne)){if(g.slice(Oe).search(ne)){var qe,tt=Fe;for(ne.global||(ne=rA(ne.source,Fn(j5.exec(ne))+"g")),ne.lastIndex=0;qe=ne.exec(tt);)var it=qe.index;Fe=Fe.slice(0,it===n?Oe:it)}}else if(g.indexOf(hi(ne),Oe)!=Oe){var Rt=Fe.lastIndexOf(ne);Rt>-1&&(Fe=Fe.slice(0,Rt))}return Fe+Z}function uZ(g){return g=Fn(g),g&&Tn.test(g)?g.replace(_t,VX):g}var fZ=gf(function(g,S,I){return g+(I?" ":"")+S.toUpperCase()}),BA=x6("toUpperCase");function yS(g,S,I){return g=Fn(g),S=I?n:S,S===n?FX(g)?QX(g):wX(g):g.match(S)||[]}var bS=an(function(g,S){try{return fi(g,n,S)}catch(I){return UA(I)?I:new $t(I)}}),dZ=Cs(function(g,S){return Wi(S,function(I){I=Qa(I),Ns(g,I,WA(g[I],g))}),g});function hZ(g){var S=g==null?0:g.length,I=It();return g=S?qn(g,function(Z){if(typeof Z[1]!="function")throw new Vi(a);return[I(Z[0]),Z[1]]}):[],an(function(Z){for(var ne=-1;++ne<S;){var ge=g[ne];if(fi(ge[0],this,Z))return fi(ge[1],this,Z)}})}function pZ(g){return VW(Yi(g,f))}function DA(g){return function(){return g}}function vZ(g,S){return g==null||g!==g?S:g}var gZ=M6(),mZ=M6(!0);function Do(g){return g}function KA(g){return e6(typeof g=="function"?g:Yi(g,f))}function AZ(g){return n6(Yi(g,f))}function RZ(g,S){return r6(g,Yi(S,f))}var yZ=an(function(g,S){return function(I){return d0(I,g,S)}}),bZ=an(function(g,S){return function(I){return d0(g,I,S)}});function HA(g,S,I){var Z=Yr(S),ne=L1(S,Z);I==null&&!(lr(S)&&(ne.length||!Z.length))&&(I=S,S=g,g=this,ne=L1(S,Yr(S)));var ge=!(lr(I)&&"chain"in I)||!!I.chain,be=Fs(g);return Wi(ne,function(Oe){var Fe=S[Oe];g[Oe]=Fe,be&&(g.prototype[Oe]=function(){var qe=this.__chain__;if(ge||qe){var tt=g(this.__wrapped__),it=tt.__actions__=Qo(this.__actions__);return it.push({func:Fe,args:arguments,thisArg:g}),tt.__chain__=qe,tt}return Fe.apply(g,ml([this.value()],arguments))})}),g}function xZ(){return $r._===this&&($r._=GX),this}function GA(){}function SZ(g){return g=rn(g),an(function(S){return o6(S,g)})}var MZ=wA(qn),wZ=wA(w8),LZ=wA(J2);function xS(g){return CA(g)?$2(Qa(g)):nV(g)}function OZ(g){return function(S){return g==null?n:Uc(g,S)}}var TZ=L6(),kZ=L6(!0);function zA(){return[]}function JA(){return!1}function NZ(){return{}}function PZ(){return""}function CZ(){return!0}function IZ(g,S){if(g=rn(g),g<1||g>Y)return[];var I=Q,Z=fo(g,Q);S=It(S),g-=Q;for(var ne=eA(Z,S);++I<g;)S(I);return ne}function FZ(g){return qt(g)?qn(g,Qa):pi(g)?[g]:Qo(Q6(Fn(g)))}function _Z(g){var S=++KX;return Fn(g)+S}var EZ=C1(function(g,S){return g+S},0),XZ=LA("ceil"),WZ=C1(function(g,S){return g/S},1),VZ=LA("floor");function UZ(g){return g&&g.length?w1(g,Do,fA):n}function YZ(g,S){return g&&g.length?w1(g,It(S,2),fA):n}function QZ(g){return T8(g,Do)}function ZZ(g,S){return T8(g,It(S,2))}function BZ(g){return g&&g.length?w1(g,Do,vA):n}function DZ(g,S){return g&&g.length?w1(g,It(S,2),vA):n}var KZ=C1(function(g,S){return g*S},1),HZ=LA("round"),GZ=C1(function(g,S){return g-S},0);function zZ(g){return g&&g.length?q2(g,Do):0}function JZ(g,S){return g&&g.length?q2(g,It(S,2)):0}return de.after=AY,de.ary=q6,de.assign=iQ,de.assignIn=hS,de.assignInWith=D1,de.assignWith=aQ,de.at=sQ,de.before=eS,de.bind=WA,de.bindAll=dZ,de.bindKey=tS,de.castArray=NY,de.chain=J6,de.chunk=VV,de.compact=UV,de.concat=YV,de.cond=hZ,de.conforms=pZ,de.constant=DA,de.countBy=zU,de.create=lQ,de.curry=nS,de.curryRight=rS,de.debounce=oS,de.defaults=cQ,de.defaultsDeep=uQ,de.defer=RY,de.delay=yY,de.difference=QV,de.differenceBy=ZV,de.differenceWith=BV,de.drop=DV,de.dropRight=KV,de.dropRightWhile=HV,de.dropWhile=GV,de.fill=zV,de.filter=$U,de.flatMap=eY,de.flatMapDeep=tY,de.flatMapDepth=nY,de.flatten=K6,de.flattenDeep=JV,de.flattenDepth=$V,de.flip=bY,de.flow=gZ,de.flowRight=mZ,de.fromPairs=jV,de.functions=mQ,de.functionsIn=AQ,de.groupBy=rY,de.initial=eU,de.intersection=tU,de.intersectionBy=nU,de.intersectionWith=rU,de.invert=yQ,de.invertBy=bQ,de.invokeMap=iY,de.iteratee=KA,de.keyBy=aY,de.keys=Yr,de.keysIn=Bo,de.map=V1,de.mapKeys=SQ,de.mapValues=MQ,de.matches=AZ,de.matchesProperty=RZ,de.memoize=Y1,de.merge=wQ,de.mergeWith=pS,de.method=yZ,de.methodOf=bZ,de.mixin=HA,de.negate=Q1,de.nthArg=SZ,de.omit=LQ,de.omitBy=OQ,de.once=xY,de.orderBy=sY,de.over=MZ,de.overArgs=SY,de.overEvery=wZ,de.overSome=LZ,de.partial=VA,de.partialRight=iS,de.partition=lY,de.pick=TQ,de.pickBy=vS,de.property=xS,de.propertyOf=OZ,de.pull=sU,de.pullAll=G6,de.pullAllBy=lU,de.pullAllWith=cU,de.pullAt=uU,de.range=TZ,de.rangeRight=kZ,de.rearg=MY,de.reject=fY,de.remove=fU,de.rest=wY,de.reverse=EA,de.sampleSize=hY,de.set=NQ,de.setWith=PQ,de.shuffle=pY,de.slice=dU,de.sortBy=mY,de.sortedUniq=RU,de.sortedUniqBy=yU,de.split=eZ,de.spread=LY,de.tail=bU,de.take=xU,de.takeRight=SU,de.takeRightWhile=MU,de.takeWhile=wU,de.tap=UU,de.throttle=OY,de.thru=W1,de.toArray=uS,de.toPairs=gS,de.toPairsIn=mS,de.toPath=FZ,de.toPlainObject=dS,de.transform=CQ,de.unary=TY,de.union=LU,de.unionBy=OU,de.unionWith=TU,de.uniq=kU,de.uniqBy=NU,de.uniqWith=PU,de.unset=IQ,de.unzip=XA,de.unzipWith=z6,de.update=FQ,de.updateWith=_Q,de.values=Rf,de.valuesIn=EQ,de.without=CU,de.words=yS,de.wrap=kY,de.xor=IU,de.xorBy=FU,de.xorWith=_U,de.zip=EU,de.zipObject=XU,de.zipObjectDeep=WU,de.zipWith=VU,de.entries=gS,de.entriesIn=mS,de.extend=hS,de.extendWith=D1,HA(de,de),de.add=EZ,de.attempt=bS,de.camelCase=UQ,de.capitalize=AS,de.ceil=XZ,de.clamp=XQ,de.clone=PY,de.cloneDeep=IY,de.cloneDeepWith=FY,de.cloneWith=CY,de.conformsTo=_Y,de.deburr=RS,de.defaultTo=vZ,de.divide=WZ,de.endsWith=YQ,de.eq=ha,de.escape=QQ,de.escapeRegExp=ZQ,de.every=JU,de.find=jU,de.findIndex=B6,de.findKey=fQ,de.findLast=qU,de.findLastIndex=D6,de.findLastKey=dQ,de.floor=VZ,de.forEach=$6,de.forEachRight=j6,de.forIn=hQ,de.forInRight=pQ,de.forOwn=vQ,de.forOwnRight=gQ,de.get=QA,de.gt=EY,de.gte=XY,de.has=RQ,de.hasIn=ZA,de.head=H6,de.identity=Do,de.includes=oY,de.indexOf=qV,de.inRange=WQ,de.invoke=xQ,de.isArguments=Zc,de.isArray=qt,de.isArrayBuffer=WY,de.isArrayLike=Zo,de.isArrayLikeObject=Sr,de.isBoolean=VY,de.isBuffer=Ml,de.isDate=UY,de.isElement=YY,de.isEmpty=QY,de.isEqual=ZY,de.isEqualWith=BY,de.isError=UA,de.isFinite=DY,de.isFunction=Fs,de.isInteger=aS,de.isLength=Z1,de.isMap=sS,de.isMatch=KY,de.isMatchWith=HY,de.isNaN=GY,de.isNative=zY,de.isNil=$Y,de.isNull=JY,de.isNumber=lS,de.isObject=lr,de.isObjectLike=vr,de.isPlainObject=A0,de.isRegExp=YA,de.isSafeInteger=jY,de.isSet=cS,de.isString=B1,de.isSymbol=pi,de.isTypedArray=Af,de.isUndefined=qY,de.isWeakMap=eQ,de.isWeakSet=tQ,de.join=oU,de.kebabCase=BQ,de.last=Zi,de.lastIndexOf=iU,de.lowerCase=DQ,de.lowerFirst=KQ,de.lt=nQ,de.lte=rQ,de.max=UZ,de.maxBy=YZ,de.mean=QZ,de.meanBy=ZZ,de.min=BZ,de.minBy=DZ,de.stubArray=zA,de.stubFalse=JA,de.stubObject=NZ,de.stubString=PZ,de.stubTrue=CZ,de.multiply=KZ,de.nth=aU,de.noConflict=xZ,de.noop=GA,de.now=U1,de.pad=HQ,de.padEnd=GQ,de.padStart=zQ,de.parseInt=JQ,de.random=VQ,de.reduce=cY,de.reduceRight=uY,de.repeat=$Q,de.replace=jQ,de.result=kQ,de.round=HZ,de.runInContext=Ce,de.sample=dY,de.size=vY,de.snakeCase=qQ,de.some=gY,de.sortedIndex=hU,de.sortedIndexBy=pU,de.sortedIndexOf=vU,de.sortedLastIndex=gU,de.sortedLastIndexBy=mU,de.sortedLastIndexOf=AU,de.startCase=tZ,de.startsWith=nZ,de.subtract=GZ,de.sum=zZ,de.sumBy=JZ,de.template=rZ,de.times=IZ,de.toFinite=_s,de.toInteger=rn,de.toLength=fS,de.toLower=oZ,de.toNumber=Bi,de.toSafeInteger=oQ,de.toString=Fn,de.toUpper=iZ,de.trim=aZ,de.trimEnd=sZ,de.trimStart=lZ,de.truncate=cZ,de.unescape=uZ,de.uniqueId=_Z,de.upperCase=fZ,de.upperFirst=BA,de.each=$6,de.eachRight=j6,de.first=H6,HA(de,function(){var g={};return Ua(de,function(S,I){Wn.call(de.prototype,I)||(g[I]=S)}),g}(),{chain:!1}),de.VERSION=r,Wi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(g){de[g].placeholder=de}),Wi(["drop","take"],function(g,S){hn.prototype[g]=function(I){I=I===n?1:_r(rn(I),0);var Z=this.__filtered__&&!S?new hn(this):this.clone();return Z.__filtered__?Z.__takeCount__=fo(I,Z.__takeCount__):Z.__views__.push({size:fo(I,Q),type:g+(Z.__dir__<0?"Right":"")}),Z},hn.prototype[g+"Right"]=function(I){return this.reverse()[g](I).reverse()}}),Wi(["filter","map","takeWhile"],function(g,S){var I=S+1,Z=I==N||I==C;hn.prototype[g]=function(ne){var ge=this.clone();return ge.__iteratees__.push({iteratee:It(ne,3),type:I}),ge.__filtered__=ge.__filtered__||Z,ge}}),Wi(["head","last"],function(g,S){var I="take"+(S?"Right":"");hn.prototype[g]=function(){return this[I](1).value()[0]}}),Wi(["initial","tail"],function(g,S){var I="drop"+(S?"":"Right");hn.prototype[g]=function(){return this.__filtered__?new hn(this):this[I](1)}}),hn.prototype.compact=function(){return this.filter(Do)},hn.prototype.find=function(g){return this.filter(g).head()},hn.prototype.findLast=function(g){return this.reverse().find(g)},hn.prototype.invokeMap=an(function(g,S){return typeof g=="function"?new hn(this):this.map(function(I){return d0(I,g,S)})}),hn.prototype.reject=function(g){return this.filter(Q1(It(g)))},hn.prototype.slice=function(g,S){g=rn(g);var I=this;return I.__filtered__&&(g>0||S<0)?new hn(I):(g<0?I=I.takeRight(-g):g&&(I=I.drop(g)),S!==n&&(S=rn(S),I=S<0?I.dropRight(-S):I.take(S-g)),I)},hn.prototype.takeRightWhile=function(g){return this.reverse().takeWhile(g).reverse()},hn.prototype.toArray=function(){return this.take(Q)},Ua(hn.prototype,function(g,S){var I=/^(?:filter|find|map|reject)|While$/.test(S),Z=/^(?:head|last)$/.test(S),ne=de[Z?"take"+(S=="last"?"Right":""):S],ge=Z||/^find/.test(S);ne&&(de.prototype[S]=function(){var be=this.__wrapped__,Oe=Z?[1]:arguments,Fe=be instanceof hn,qe=Oe[0],tt=Fe||qt(be),it=function(un){var An=ne.apply(de,ml([un],Oe));return Z&&Rt?An[0]:An};tt&&I&&typeof qe=="function"&&qe.length!=1&&(Fe=tt=!1);var Rt=this.__chain__,Ot=!!this.__actions__.length,Et=ge&&!Rt,on=Fe&&!Ot;if(!ge&&tt){be=on?be:new hn(this);var Xt=g.apply(be,Oe);return Xt.__actions__.push({func:W1,args:[it],thisArg:n}),new Ui(Xt,Rt)}return Et&&on?g.apply(this,Oe):(Xt=this.thru(it),Et?Z?Xt.value()[0]:Xt.value():Xt)})}),Wi(["pop","push","shift","sort","splice","unshift"],function(g){var S=u1[g],I=/^(?:push|sort|unshift)$/.test(g)?"tap":"thru",Z=/^(?:pop|shift)$/.test(g);de.prototype[g]=function(){var ne=arguments;if(Z&&!this.__chain__){var ge=this.value();return S.apply(qt(ge)?ge:[],ne)}return this[I](function(be){return S.apply(qt(be)?be:[],ne)})}}),Ua(hn.prototype,function(g,S){var I=de[S];if(I){var Z=I.name+"";Wn.call(hf,Z)||(hf[Z]=[]),hf[Z].push({name:S,func:I})}}),hf[P1(n,x).name]=[{name:"wrapper",func:n}],hn.prototype.clone=uW,hn.prototype.reverse=fW,hn.prototype.value=dW,de.prototype.at=YU,de.prototype.chain=QU,de.prototype.commit=ZU,de.prototype.next=BU,de.prototype.plant=KU,de.prototype.reverse=HU,de.prototype.toJSON=de.prototype.valueOf=de.prototype.value=GU,de.prototype.first=de.prototype.head,i0&&(de.prototype[i0]=DU),de},uf=ZX();_c?((_c.exports=uf)._=uf,K2._=uf):$r._=uf}).call(kt)})(Yg,Yg.exports);var On=Yg.exports;const Rz=[{id:"test-slide-1",elements:[{type:"shape",id:"4cbRxp",left:0,top:200,width:546,height:362.5,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"#5b9bd5",fixedRatio:!1,opacity:.7,rotate:0},{type:"shape",id:"ookHrf",left:0,top:0,width:300,height:320,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"#5b9bd5",fixedRatio:!1,flipV:!0,rotate:0},{type:"text",id:"idn7Mx",left:355,top:65.25,width:450,height:188,lineHeight:1.2,content:'<p><strong><span style="font-size: 112px;">PPTist</span></strong></p>',rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"text",id:"7stmVP",left:355,top:253.25,width:585,height:56,content:'<p><span style="font-size: 24px;">基于 Vue 3.x + TypeScript 的在线演示文稿应用</span></p>',rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"line",id:"FnpZs4",left:361,top:238,start:[0,0],end:[549,0],points:["",""],color:"#5b9bd5",style:"solid",width:2}],background:{type:"solid",color:"#ffffff"}},{id:"test-slide-2",elements:[{type:"text",id:"ptNnUJ",left:145,top:148,width:711,height:77,lineHeight:1.2,content:'<p style="text-align: center;"><strong><span style="font-size: 48px;">在此处添加标题</span></strong></p>',rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"text",id:"mRHvQN",left:207.50000000000003,top:249.84259259259264,width:585,height:56,content:'<p style="text-align: center;"><span style="font-size: 24px;">在此处添加副标题</span></p>',rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"line",id:"7CQDwc",left:323.09259259259267,top:238.33333333333334,start:[0,0],end:[354.8148148148148,0],points:["",""],color:"#5b9bd5",style:"solid",width:4},{type:"shape",id:"09wqWw",left:-27.648148148148138,top:432.73148148148147,width:1056.2962962962963,height:162.96296296296296,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",fill:"#5b9bd5",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"#fff"}},{id:"test-slide-3",elements:[{type:"shape",id:"vSheCJ",left:183.5185185185185,top:175.5092592592593,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0},{type:"shape",id:"Mpwv7x",left:211.29629629629628,top:201.80555555555557,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0,opacity:.7},{type:"text",id:"WQOTAp",left:304.9074074074074,top:198.10185185185182,width:417.9629629629629,height:140,content:'<p style="text-align: center;"><strong><span style="font-size: 80px;"><span style="color: rgb(255, 255, 255);">感谢观看</span></span></strong></p>',rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333",wordSpace:5}],background:{type:"solid",color:"#fff"}}],yz={themeColor:"#5b9bd5",fontColor:"#333",fontName:"Microsoft Yahei",backgroundColor:"#fff",shadow:{h:3,v:3,blur:2,color:"#808080"},outline:{width:2,color:"#525252",style:"solid"}},bz=[{id:"template",elements:[{type:"shape",id:"4cbRxp",left:0,top:200,width:546,height:362.5,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"{{themeColor}}",fixedRatio:!1,opacity:.7,rotate:0},{type:"shape",id:"ookHrf",left:0,top:0,width:300,height:320,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"{{themeColor}}",fixedRatio:!1,flipV:!0,rotate:0},{type:"text",id:"AkIh3E",left:355,top:95.11111111111111,width:585,height:116,lineHeight:1.2,content:"<p style=''><strong><span style='font-size: 80px'>输入标题</span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:6},{type:"text",id:"7stmVP",left:355,top:253.25,width:585,height:56,content:"<p><span style='font-size: 24px'>请在此处输入副标题</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"line",id:"FnpZs4",left:361,top:238,start:[0,0],end:[549,0],points:["",""],color:"{{themeColor}}",style:"solid",width:2}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"ptNnUJ",left:145,top:148,width:711,height:77,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='font-size: 48px'>在此处添加标题</span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"mRHvQN",left:207.50000000000003,top:249.84259259259264,width:585,height:56,content:"<p style='text-align: center;'><span style='font-size: 24px'>在此处添加副标题</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"line",id:"7CQDwc",left:323.09259259259267,top:238.33333333333334,start:[0,0],end:[354.8148148148148,0],points:["",""],color:"{{themeColor}}",style:"solid",width:4},{type:"shape",id:"09wqWw",left:-27.648148148148138,top:432.73148148148147,width:1056.2962962962963,height:162.96296296296296,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",fill:"{{themeColor}}",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"vSheCJ",left:183.5185185185185,top:175.5092592592593,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0},{type:"shape",id:"Mpwv7x",left:211.29629629629628,top:201.80555555555557,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,opacity:.7},{type:"text",id:"WQOTAp",left:304.9074074074074,top:198.10185185185182,width:417.9629629629629,height:140,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 80px'>感谢观看</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:5}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"MZVO1kkj",elements:[{type:"shape",id:"cql0h8",left:0,top:0,width:352.59259259259255,height:562.5,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0},{type:"shape",id:"_RTaF4",left:171.4814814814814,top:100.13888888888887,width:362.22222222222223,height:362.22222222222223,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"rgba(255,255,255,0)",fixedRatio:!1,rotate:0,outline:{width:10,color:"{{backgroundColor}}",style:"solid"}},{type:"shape",id:"UZfo8N",left:216.66666666666663,top:145.32407407407408,width:271.85185185185185,height:271.85185185185185,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='font-size: 80px'>01</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"ysqtBg",left:561.4814814814814,top:100.1388888888889,width:359.25925925925924,height:80,content:"<p style=''><strong><span style='font-size: 40px'>在此处输入标题</span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"lXsoHa",left:572.5925925925925,top:202.3611111111111,width:257.77777777777777,height:260,content:"<ol><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li><li><p style=''>在此处输入内容</p></li></ol>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",lineHeight:2,fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"EBBnTr",left:360.5996472663139,top:141.8496472663139,width:278.80070546737215,height:278.80070546737215,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:0,color:"{{backgroundColor}}",style:"solid"}},{type:"shape",id:"gDIWDH",left:456.4373897707231,top:98.287037037037,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>1</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"DUWT7E",left:317.037037037037,top:237.68738977072314,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>4</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"pbhn38",left:456.43738977072303,top:377.08774250440916,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>3</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"CvMKrO",left:595.8377425044091,top:237.6873897707231,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>2</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"adudHB",left:402.962962962963,top:39.39814814814815,width:194.07407407407408,height:50,content:"<p style='text-align: center;'>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"9UpDwg",left:402.962962962963,top:473.1018518518518,width:194.07407407407408,height:50,content:"<p style='text-align: center;'>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"GERdpB",left:111.48148148148151,top:256.25,width:194.07407407407408,height:50,content:"<p style='text-align: center;'>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"G5qoho",left:691.1111111111111,top:256.25,width:194.07407407407408,height:50,content:"<p style='text-align: center;'>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"shape",id:"vdZcI6",left:415.18518518518516,top:196.4351851851852,width:169.62962962962962,height:169.62962962962962,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"tYUmrx",left:156.66666666666683,top:149.02777777777771,width:264.4444444444445,height:264.4444444444445,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'><span style='font-size: 60px'>01</span></span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"0GVHf8",left:342.2222222222223,top:217.17592592592587,width:128.14814814814812,height:128.14814814814812,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0},{type:"text",id:"BO33Sv",left:378.8888888888889,top:235.24999999999994,width:464.4444444444444,height:92,content:"<p style=''><strong><span style='font-size: 48px'>在此处添加标题</span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"Hj7ttp",left:69.35185185185185,top:49.21759259259262,width:420,height:63,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 36px'>1.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"FmKMNB",left:69.35185185185185,top:129.28240740740745,width:420,height:384,content:"<p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"rI7ZeO",left:510.64814814814815,top:49.21759259259262,width:420,height:63,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 36px'>2.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"KspwGc",left:510.64814814814815,top:129.28240740740745,width:420,height:384,content:"<p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 24px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"Rx63Jo",left:69.35185185185179,top:51.71759259259262,width:420,height:58,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 32px'>1.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"ulyuzE",left:69.35185185185179,top:131.78240740740745,width:420,height:129,content:"<p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"kr35Ca",left:510.6481481481481,top:51.71759259259262,width:420,height:58,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 32px'>2.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"BNQSpC",left:510.6481481481481,top:131.78240740740745,width:420,height:129,content:"<p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"Vr38Nu",left:69.35185185185185,top:301.71759259259255,width:420,height:58,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 32px'>3.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"IwKRSu",left:69.35185185185185,top:381.7824074074074,width:420,height:129,content:"<p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"0Opr1v",left:510.64814814814815,top:301.71759259259255,width:420,height:58,lineHeight:1.2,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 32px'>4.请输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"4L9Uzz",left:510.64814814814815,top:381.7824074074074,width:420,height:129,content:"<p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p><p style='text-align: center;'><span style='font-size: 22px'>在此处输入内容</span></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"GdEGxg",left:134.53703703703704,top:127.25,width:152.77777777777777,height:308,lineHeight:1.8,content:"<p style='text-align: center;'><strong><span style='color: #ffffff;'><span style='font-size: 40px'>请在此处输入标题</span></span></strong></p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:8,fill:"{{themeColor}}"},{type:"text",id:"y5sAfw",left:332.8703703703704,top:127.25,width:532.5925925925926,height:50,content:"<blockquote><p style=''>请在此处输入内容1</p></blockquote>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"VeuocM",left:332.8703703703704,top:212.0648148148148,width:532.5925925925926,height:50,content:"<blockquote><p style=''>请在此处输入内容2</p></blockquote>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"RyFWQe",left:332.8703703703704,top:296.8796296296296,width:532.5925925925926,height:50,content:"<blockquote><p style=''>请在此处输入内容3</p></blockquote>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"Q56viI",left:332.8703703703704,top:381.69444444444446,width:532.5925925925926,height:50,content:"<blockquote><p style=''>请在此处输入内容4</p></blockquote>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"SUWirT",left:73.8888888888889,top:64.21296296296302,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>1</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"YjzN1M",left:148.70370370370372,top:64.21296296296302,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"fS09I7",left:527.5925925925926,top:64.21296296296302,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>2</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"qCnfB1",left:602.4074074074074,top:64.21296296296302,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"difAAT",left:73.8888888888889,top:221.25000000000003,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>3</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"EUlvMo",left:148.70370370370372,top:221.25000000000003,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"US_9jB",left:527.5925925925926,top:221.25000000000003,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>4</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"243MnQ",left:602.4074074074074,top:221.25000000000003,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"Y_KUj0",left:73.8888888888889,top:378.287037037037,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>5</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"9GglMe",left:148.70370370370372,top:378.287037037037,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"eSInje",left:527.5925925925926,top:378.287037037037,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"<p style='text-align: center;'><span style='color: #ffffff;'>6</span></p>",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"0S3yUg",left:602.4074074074074,top:378.287037037037,width:323.7037037037037,height:120,content:"<p style=''>在此输入内容</p><p style=''>在此输入内容</p><p style=''>在此输入内容</p>",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}}],st=wp("slides",{state:()=>({title:"未命名演示文稿",theme:yz,slides:Rz,slideIndex:0,viewportSize:1e3,viewportRatio:.5625}),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(o=>o.id);return t.animations.filter(o=>r.includes(o.elId))},formatedAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(a=>a.id),o=t.animations.filter(a=>r.includes(a.elId)),i=[];for(const a of o)if(a.trigger==="click"||!i.length)i.push({animations:[a],autoNext:!1});else if(a.trigger==="meantime"){const s=i[i.length-1];s.animations=s.animations.filter(l=>l.elId!==a.elId),s.animations.push(a),i[i.length-1]=s}else if(a.trigger==="auto"){const s=i[i.length-1];s.autoNext=!0,i[i.length-1]=s,i.push({animations:[a],autoNext:!1})}return i},layouts(e){const{themeColor:t,fontColor:n,fontName:r,backgroundColor:o}=e.theme,i=ot(n).isDark()?"rgba(230, 230, 230, 0.5)":"rgba(180, 180, 180, 0.5)",a=JSON.stringify(bz).replace(/{{themeColor}}/g,t).replace(/{{fontColor}}/g,n).replace(/{{fontName}}/g,r).replace(/{{backgroundColor}}/g,o).replace(/{{subColor}}/g,i);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},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(o=>o.id===t?On.omit(o,n):o);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(c=>c.id===a);r.push(s);const l=n[s].sectionTag;if(l){const c=n[s+1];c&&!c.sectionTag&&(delete n[s].sectionTag,n[s+1].sectionTag=l)}n.splice(s,1)}let o=Math.min(...r);const i=n.length-1;o>i&&(o=i),this.slideIndex=o,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(o=>!t.includes(o.id));this.slides[this.slideIndex].elements=r},updateElement(e){const{id:t,props:n,slideId:r}=e,o=typeof t=="string"?[t]:t,i=r?this.slides.findIndex(l=>l.id===r):this.slideIndex,s=this.slides[i].elements.map(l=>o.includes(l.id)?{...l,...n}:l);this.slides[i].elements=s},removeElementProps(e){const{id:t,propName:n}=e,r=typeof n=="string"?[n]:n,o=this.slideIndex,a=this.slides[o].elements.map(s=>s.id===t?On.omit(s,r):s);this.slides[o].elements=a}}}),xz=xH("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),OP=xz(10),ft=wp("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,availableFonts:J4,toolbarState:wr.SLIDE_DESIGN,clipingImageElementId:"",richTextAttrs:HG,selectedTableCells:[],isScaling:!1,selectedSlidesIndex:[],dialogForExport:"",databaseId:OP,textFormatPainter:null,shapeFormatPainter:null,showSelectPanel:!1,showSearchPanel:!1,showNotesPanel:!1}),getters:{activeElementList(e){const n=st().currentSlide;return!n||!n.elements?[]:n.elements.filter(r=>e.activeElementIdList.includes(r.id))},handleElement(e){const n=st().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},setAvailableFonts(){this.availableFonts=J4.filter(e=>GG(e.value))},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}}});var Kn=function(){return Kn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Kn.apply(this,arguments)};function j4(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}var co=Object.keys,Wo=Array.isArray,jn=typeof self<"u"?self:typeof window<"u"?window:global;typeof Promise<"u"&&!jn.Promise&&(jn.Promise=Promise);function ra(e,t){return typeof t!="object"||co(t).forEach(function(n){e[n]=t[n]}),e}var TP=Object.getPrototypeOf,Sz={}.hasOwnProperty;function oa(e,t){return Sz.call(e,t)}function jh(e,t){typeof t=="function"&&(t=t(TP(e))),co(t).forEach(function(n){cl(e,n,t[n])})}var kP=Object.defineProperty;function cl(e,t,n,r){kP(e,t,ra(n&&oa(n,"get")&&typeof n.get=="function"?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function zd(e){return{from:function(t){return e.prototype=Object.create(t.prototype),cl(e.prototype,"constructor",e),{extend:jh.bind(null,e.prototype)}}}}var Mz=Object.getOwnPropertyDescriptor;function yx(e,t){var n=Mz(e,t),r;return n||(r=TP(e))&&yx(r,t)}var wz=[].slice;function Jm(e,t,n){return wz.call(e,t,n)}function NP(e,t){return t(e)}function Z0(e){if(!e)throw new Error("Assertion Failed")}function PP(e){jn.setImmediate?setImmediate(e):setTimeout(e,0)}function CP(e,t){return e.reduce(function(n,r,o){var i=t(r,o);return i&&(n[i[0]]=i[1]),n},{})}function Lz(e,t,n){try{e.apply(null,n)}catch{}}function hs(e,t){if(oa(e,t))return e[t];if(!t)return e;if(typeof t!="string"){for(var n=[],r=0,o=t.length;r<o;++r){var i=hs(e,t[r]);n.push(i)}return n}var a=t.indexOf(".");if(a!==-1){var s=e[t.substr(0,a)];return s===void 0?void 0:hs(s,t.substr(a+1))}}function Ca(e,t,n){if(!(!e||t===void 0)&&!("isFrozen"in Object&&Object.isFrozen(e)))if(typeof t!="string"&&"length"in t){Z0(typeof n!="string"&&"length"in n);for(var r=0,o=t.length;r<o;++r)Ca(e,t[r],n[r])}else{var i=t.indexOf(".");if(i!==-1){var a=t.substr(0,i),s=t.substr(i+1);if(s==="")n===void 0?Wo(e)&&!isNaN(parseInt(a))?e.splice(a,1):delete e[a]:e[a]=n;else{var l=e[a];l||(l=e[a]={}),Ca(l,s,n)}}else n===void 0?Wo(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=n}}function IP(e,t){typeof t=="string"?Ca(e,t,void 0):"length"in t&&[].map.call(t,function(n){Ca(e,n,void 0)})}function FP(e){var t={};for(var n in e)oa(e,n)&&(t[n]=e[n]);return t}var Oz=[].concat;function _P(e){return Oz.apply([],e)}var EP="Boolean,String,Date,RegExp,Blob,File,FileList,ArrayBuffer,DataView,Uint8ClampedArray,ImageData,Map,Set".split(",").concat(_P([8,16,32,64].map(function(e){return["Int","Uint","Float"].map(function(t){return t+e+"Array"})}))).filter(function(e){return jn[e]}),Tz=EP.map(function(e){return jn[e]}),kz=CP(EP,function(e){return[e,!0]});function qh(e){if(!e||typeof e!="object")return e;var t;if(Wo(e)){t=[];for(var n=0,r=e.length;n<r;++n)t.push(qh(e[n]))}else if(Tz.indexOf(e.constructor)>=0)t=e;else{t=e.constructor?Object.create(e.constructor.prototype):{};for(var o in e)oa(e,o)&&(t[o]=qh(e[o]))}return t}var Nz={}.toString;function q4(e){return Nz.call(e).slice(8,-1)}var e3=function(e,t){return t==="Array"?""+e.map(function(n){return e3(n,q4(n))}):t==="ArrayBuffer"?""+new Uint8Array(e):t==="Date"?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function bx(e,t,n,r){return n=n||{},r=r||"",co(e).forEach(function(o){if(!oa(t,o))n[r+o]=void 0;else{var i=e[o],a=t[o];if(typeof i=="object"&&typeof a=="object"&&i&&a){var s=q4(i),l=q4(a);s===l?kz[s]?e3(i,s)!==e3(a,l)&&(n[r+o]=t[o]):bx(i,a,n,r+o+"."):n[r+o]=t[o]}else i!==a&&(n[r+o]=t[o])}}),co(t).forEach(function(o){oa(e,o)||(n[r+o]=t[o])}),n}var UM=typeof Symbol<"u"&&Symbol.iterator,Pz=UM?function(e){var t;return e!=null&&(t=e[UM])&&t.apply(e)}:function(){return null},Vf={};function Js(e){var t,n,r,o;if(arguments.length===1){if(Wo(e))return e.slice();if(this===Vf&&typeof e=="string")return[e];if(o=Pz(e)){for(n=[];r=o.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 XP=typeof Symbol<"u"?function(e){return e[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},Ls=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function WP(e,t){Ls=e,VP=t}var VP=function(){return!0},Cz=!new Error("").stack;function Jd(){if(Cz)try{throw new Error}catch(e){return e}return new Error}function t3(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(VP).map(function(r){return`
|
||
`+r}).join("")):""}var Iz=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],UP=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],xx=Iz.concat(UP),Fz={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function $d(e,t){this._e=Jd(),this.name=e,this.message=t}zd($d).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+t3(this._e,2))}},toString:function(){return this.name+": "+this.message}});function YP(e,t){return e+". Errors: "+Object.keys(t).map(function(n){return t[n].toString()}).filter(function(n,r,o){return o.indexOf(n)===r}).join(`
|
||
`)}function Qg(e,t,n,r){this._e=Jd(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=YP(e,t)}zd(Qg).from($d);function Rh(e,t){this._e=Jd(),this.name="BulkError",this.failures=t,this.message=YP(e,t)}zd(Rh).from($d);var _z=xx.reduce(function(e,t){return e[t]=t+"Error",e},{}),Ez=$d,Gt=xx.reduce(function(e,t){var n=t+"Error";function r(o,i){this._e=Jd(),this.name=n,o?typeof o=="string"?(this.message=""+o+(i?`
|
||
`+i:""),this.inner=i||null):typeof o=="object"&&(this.message=o.name+" "+o.message,this.inner=o):(this.message=Fz[t]||n,this.inner=null)}return zd(r).from(Ez),e[t]=r,e},{});Gt.Syntax=SyntaxError;Gt.Type=TypeError;Gt.Range=RangeError;var YM=UP.reduce(function(e,t){return e[t+"Error"]=Gt[t],e},{});function Xz(e,t){if(!e||e instanceof $d||e instanceof TypeError||e instanceof SyntaxError||!e.name||!YM[e.name])return e;var n=new YM[e.name](t||e.message,e);return"stack"in e&&cl(n,"stack",{get:function(){return this.inner.stack}}),n}var $m=xx.reduce(function(e,t){return["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=Gt[t]),e},{});$m.ModifyError=Qg;$m.DexieError=$d;$m.BulkError=Rh;function Gn(){}function Tp(e){return e}function Wz(e,t){return e==null||e===Tp?t:function(n){return t(e(n))}}function Iu(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function Vz(e,t){return e===Gn?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?Iu(r,this.onsuccess):r),o&&(this.onerror=this.onerror?Iu(o,this.onerror):o),i!==void 0?i:n}}function Uz(e,t){return e===Gn?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?Iu(n,this.onsuccess):n),r&&(this.onerror=this.onerror?Iu(r,this.onerror):r)}}function Yz(e,t){return e===Gn?t:function(n){var r=e.apply(this,arguments);ra(n,r);var o=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return o&&(this.onsuccess=this.onsuccess?Iu(o,this.onsuccess):o),i&&(this.onerror=this.onerror?Iu(i,this.onerror):i),r===void 0?a===void 0?void 0:a:ra(r,a)}}function Qz(e,t){return e===Gn?t:function(){return t.apply(this,arguments)===!1?!1:e.apply(this,arguments)}}function QP(e,t){return e===Gn?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then=="function"){for(var r=this,o=arguments.length,i=new Array(o);o--;)i[o]=arguments[o];return n.then(function(){return t.apply(r,i)})}return t.apply(this,arguments)}}var ep={},Zz=100,Bz=20,ZP=100,Sx=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]}(),n3=Sx[0],Zg=Sx[1],r3=Sx[2],BP=Zg&&Zg.then,Dv=n3&&n3.constructor,Mx=!!r3,o3=!1,Dz=r3?function(){r3.then(lv)}:jn.setImmediate?setImmediate.bind(null,lv):jn.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){lv(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(lv,0)},tp=function(e,t){B0.push([e,t]),Bg&&(Dz(),Bg=!1)},i3=!0,Bg=!0,yu=[],Kv=[],a3=null,s3=Tp,md={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:BM,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{BM(e[0],e[1])}catch{}})}},Wt=md,B0=[],bu=0,Hv=[];function St(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Gn,this._lib=!1;var t=this._PSD=Wt;if(Ls&&(this._stackHolder=Jd(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==ep)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&c3(this,this._value);return}this._state=null,this._value=null,++t.ref,KP(this,e)}var l3={get:function(){var e=Wt,t=Dg;function n(r,o){var i=this,a=!e.global&&(e!==Wt||t!==Dg),s=a&&!_u(),l=new St(function(c,u){wx(i,new DP(Hg(r,e,a,s),Hg(o,e,a,s),c,u,e))});return Ls&&zP(l,this),l}return n.prototype=ep,n},set:function(e){cl(this,"then",e&&e.prototype===ep?l3:{get:function(){return e},set:l3.set})}};jh(St.prototype,{then:l3,_then:function(e,t){wx(this,new DP(null,null,e,t,Wt))},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):Gv(r)}):this.then(null,function(r){return r&&r.name===t?n(r):Gv(r)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),Gv(t)})},stack:{get:function(){if(this._stack)return this._stack;try{o3=!0;var e=GP(this,[],Bz),t=e.join(`
|
||
From previous: `);return this._state!==null&&(this._stack=t),t}finally{o3=!1}}},timeout:function(e,t){var n=this;return e<1/0?new St(function(r,o){var i=setTimeout(function(){return o(new Gt.Timeout(t))},e);n.then(r,o).finally(clearTimeout.bind(null,i))}):this}});typeof Symbol<"u"&&Symbol.toStringTag&&cl(St.prototype,Symbol.toStringTag,"Dexie.Promise");md.env=JP();function DP(e,t,n,r,o){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=o}jh(St,{all:function(){var e=Js.apply(null,arguments).map(Kg);return new St(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(o,i){return St.resolve(o).then(function(a){e[i]=a,--r||t(e)},n)})})},resolve:function(e){if(e instanceof St)return e;if(e&&typeof e.then=="function")return new St(function(n,r){e.then(n,r)});var t=new St(ep,!0,e);return zP(t,a3),t},reject:Gv,race:function(){var e=Js.apply(null,arguments).map(Kg);return new St(function(t,n){e.map(function(r){return St.resolve(r).then(t,n)})})},PSD:{get:function(){return Wt},set:function(e){return Wt=e}},totalEchoes:{get:function(){return Dg}},newPSD:Fu,usePSD:Cp,scheduler:{get:function(){return tp},set:function(e){tp=e}},rejectionMapper:{get:function(){return s3},set:function(e){s3=e}},follow:function(e,t){return new St(function(n,r){return Fu(function(o,i){var a=Wt;a.unhandleds=[],a.onunhandled=i,a.finalize=Iu(function(){var s=this;Hz(function(){s.unhandleds.length===0?o():i(s.unhandleds[0])})},a.finalize),e()},t,n,r)})}});Dv&&(Dv.allSettled&&cl(St,"allSettled",function(){var e=Js.apply(null,arguments).map(Kg);return new St(function(t){e.length===0&&t([]);var n=e.length,r=new Array(n);e.forEach(function(o,i){return St.resolve(o).then(function(a){return r[i]={status:"fulfilled",value:a}},function(a){return r[i]={status:"rejected",reason:a}}).then(function(){return--n||t(r)})})})}),Dv.any&&typeof AggregateError<"u"&&cl(St,"any",function(){var e=Js.apply(null,arguments).map(Kg);return new St(function(t,n){e.length===0&&n(new AggregateError([]));var r=e.length,o=new Array(r);e.forEach(function(i,a){return St.resolve(i).then(function(s){return t(s)},function(s){o[a]=s,--r||n(new AggregateError(o))})})})}));function KP(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&&kp();n&&typeof n.then=="function"?KP(e,function(o,i){n instanceof St?n._then(o,i):n.then(o,i)}):(e._state=!0,e._value=n,HP(e)),r&&Np()}},c3.bind(null,e))}catch(n){c3(e,n)}}function c3(e,t){if(Kv.push(t),e._state===null){var n=e._lib&&kp();t=s3(t),e._state=!1,e._value=t,Ls&&t!==null&&typeof t=="object"&&!t._promise&&Lz(function(){var r=yx(t,"stack");t._promise=e,cl(t,"stack",{get:function(){return o3?r&&(r.get?r.get.apply(t):r.value):e.stack}})}),Gz(e),HP(e),n&&Np()}}function HP(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n<r;++n)wx(e,t[n]);var o=e._PSD;--o.ref||o.finalize(),bu===0&&(++bu,tp(function(){--bu===0&&Lx()},[]))}function wx(e,t){if(e._state===null){e._listeners.push(t);return}var n=e._state?t.onFulfilled:t.onRejected;if(n===null)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++bu,tp(Kz,[n,e,t])}function Kz(e,t,n){try{a3=t;var r,o=t._value;t._state?r=e(o):(Kv.length&&(Kv=[]),r=e(o),Kv.indexOf(o)===-1&&zz(t)),n.resolve(r)}catch(i){n.reject(i)}finally{a3=null,--bu===0&&Lx(),--n.psd.ref||n.psd.finalize()}}function GP(e,t,n){if(t.length===n)return t;var r="";if(e._state===!1){var o=e._value,i,a;o!=null?(i=o.name||"Error",a=o.message||o,r=t3(o,0)):(i=o,a=""),t.push(i+(a?": "+a:"")+r)}return Ls&&(r=t3(e._stackHolder,2),r&&t.indexOf(r)===-1&&t.push(r),e._prev&&GP(e._prev,t,n)),t}function zP(e,t){var n=t?t._numPrev+1:0;n<Zz&&(e._prev=t,e._numPrev=n)}function lv(){kp()&&Np()}function kp(){var e=i3;return i3=!1,Bg=!1,e}function Np(){var e,t,n;do for(;B0.length>0;)for(e=B0,B0=[],n=e.length,t=0;t<n;++t){var r=e[t];r[0].apply(null,r[1])}while(B0.length>0);i3=!0,Bg=!0}function Lx(){var e=yu;yu=[],e.forEach(function(r){r._PSD.onunhandled.call(null,r._value,r)});for(var t=Hv.slice(0),n=t.length;n;)t[--n]()}function Hz(e){function t(){e(),Hv.splice(Hv.indexOf(t),1)}Hv.push(t),++bu,tp(function(){--bu===0&&Lx()},[])}function Gz(e){yu.some(function(t){return t._value===e._value})||yu.push(e)}function zz(e){for(var t=yu.length;t;)if(yu[--t]._value===e._value){yu.splice(t,1);return}}function Gv(e){return new St(ep,!1,e)}function fr(e,t){var n=Wt;return function(){var r=kp(),o=Wt;try{return Ac(n,!0),e.apply(this,arguments)}catch(i){t&&t(i)}finally{Ac(o,!1),r&&Np()}}}var Ro={awaits:0,echoes:0,id:0},Jz=0,zv=[],vR=0,Dg=0,$z=0;function Fu(e,t,n,r){var o=Wt,i=Object.create(o);i.parent=o,i.ref=0,i.global=!1,i.id=++$z;var a=md.env;i.env=Mx?{Promise:St,PromiseProp:{value:St,configurable:!0,writable:!0},all:St.all,race:St.race,allSettled:St.allSettled,any:St.any,resolve:St.resolve,reject:St.reject,nthen:QM(a.nthen,i),gthen:QM(a.gthen,i)}:{},t&&ra(i,t),++o.ref,i.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=Cp(i,e,n,r);return i.ref===0&&i.finalize(),s}function Pp(){return Ro.id||(Ro.id=++Jz),++Ro.awaits,Ro.echoes+=ZP,Ro.id}function _u(){return Ro.awaits?(--Ro.awaits===0&&(Ro.id=0),Ro.echoes=Ro.awaits*ZP,!0):!1}(""+BP).indexOf("[native code]")===-1&&(Pp=_u=Gn);function Kg(e){return Ro.echoes&&e&&e.constructor===Dv?(Pp(),e.then(function(t){return _u(),t},function(t){return _u(),Mo(t)})):e}function jz(e){++Dg,(!Ro.echoes||--Ro.echoes===0)&&(Ro.echoes=Ro.id=0),zv.push(Wt),Ac(e,!0)}function qz(){var e=zv[zv.length-1];zv.pop(),Ac(e,!1)}function Ac(e,t){var n=Wt;if((t?Ro.echoes&&(!vR++||e!==Wt):vR&&(!--vR||e!==Wt))&&$P(t?jz.bind(null,e):qz),e!==Wt&&(Wt=e,n===md&&(md.env=JP()),Mx)){var r=md.env.Promise,o=e.env;Zg.then=o.nthen,r.prototype.then=o.gthen,(n.global||e.global)&&(Object.defineProperty(jn,"Promise",o.PromiseProp),r.all=o.all,r.race=o.race,r.resolve=o.resolve,r.reject=o.reject,o.allSettled&&(r.allSettled=o.allSettled),o.any&&(r.any=o.any))}}function JP(){var e=jn.Promise;return Mx?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(jn,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:Zg.then,gthen:e.prototype.then}:{}}function Cp(e,t,n,r,o){var i=Wt;try{return Ac(e,!0),t(n,r,o)}finally{Ac(i,!1)}}function $P(e){BP.call(n3,e)}function Hg(e,t,n,r){return typeof e!="function"?e:function(){var o=Wt;n&&Pp(),Ac(t,!0);try{return e.apply(this,arguments)}finally{Ac(o,!1),r&&$P(_u)}}}function QM(e,t){return function(n,r){return e.call(this,Hg(n,t),Hg(r,t))}}var ZM="unhandledrejection";function BM(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,o={promise:t,reason:e};if(jn.document&&document.createEvent?(r=document.createEvent("Event"),r.initEvent(ZM,!0,!0),ra(r,o)):jn.CustomEvent&&(r=new CustomEvent(ZM,{detail:o}),ra(r,o)),r&&jn.dispatchEvent&&(dispatchEvent(r),!jn.PromiseRejectionEvent&&jn.onunhandledrejection))try{jn.onunhandledrejection(r)}catch{}Ls&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch{}}var Mo=St.reject;function jP(e,t,n,r){if(!e._state.openComplete&&!Wt.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return Mo(new Gt.DatabaseClosed);e.open().catch(Gn)}return e._state.dbReadyPromise.then(function(){return jP(e,t,n,r)})}else{var o=e._createTransaction(t,n,e._dbSchema);try{o.create()}catch(i){return Mo(i)}return o._promise(t,function(i,a){return Fu(function(){return Wt.trans=o,r(i,a,o)})}).then(function(i){return o._completion.then(function(){return i})})}}var DM="3.0.3",Jf="",u3=-1/0,Ws="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",qP="String expected.",yh=[],Ox=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),eJ=Ox,tJ=Ox,e9=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},cv="__dbnames",gR="readonly",mR="readwrite";function Eu(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var t9={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function uv(e){return function(t){return hs(t,e)===void 0&&(t=qh(t),IP(t,e)),t}}var nJ=function(){function e(){}return e.prototype._trans=function(t,n,r){var o=this._tx||Wt.trans,i=this.name;function a(l,c,u){if(!u.schema[i])throw new Gt.NotFound("Table "+i+" not part of transaction");return n(u.idbtrans,u)}var s=kp();try{return o&&o.db===this.db?o===Wt.trans?o._promise(t,a,r):Fu(function(){return o._promise(t,a,r)},{trans:o,transless:Wt.transless||Wt}):jP(this.db,t,[this.name],a)}finally{s&&Np()}},e.prototype.get=function(t,n){var r=this;return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",function(o){return r.core.get({trans:o,key:t}).then(function(i){return r.hook.reading.fire(i)})}).then(n)},e.prototype.where=function(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(Wo(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var n=co(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(u){return u.compound&&n.every(function(f){return u.keyPath.indexOf(f)>=0})&&u.keyPath.every(function(f){return n.indexOf(f)>=0})})[0];if(r&&this.db._maxKey!==Jf)return this.where(r.name).equals(r.keyPath.map(function(u){return t[u]}));!r&&Ls&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var o=this.schema.idxByName,i=this.db._deps.indexedDB;function a(u,f){try{return i.cmp(u,f)===0}catch{return!1}}var s=n.reduce(function(u,f){var d=u[0],h=u[1],p=o[f],v=t[f];return[d||p,d||!p?Eu(h,p&&p.multi?function(m){var x=hs(m,f);return Wo(x)&&x.some(function(y){return a(v,y)})}:function(m){return a(v,hs(m,f))}):h]},[null,null]),l=s[0],c=s[1];return l?this.where(l.name).equals(t[l.keyPath]).filter(c):r?this.filter(c):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,Wo(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 o=Object.create(t.prototype);for(var i in r)if(oa(r,i))try{o[i]=r[i]}catch{}return o};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){ra(this,n)}return this.mapToClass(t)},e.prototype.add=function(t,n){var r=this,o=this.schema.primKey,i=o.auto,a=o.keyPath,s=t;return a&&i&&(s=uv(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?St.reject(l.failures[0]):l.lastResult}).then(function(l){if(a)try{Ca(t,a,l)}catch{}return l})},e.prototype.update=function(t,n){if(typeof n!="object"||Wo(n))throw new Gt.InvalidArgument("Modifications must be an object.");if(typeof t=="object"&&!Wo(t)){co(n).forEach(function(o){Ca(t,o,n[o])});var r=hs(t,this.schema.primKey.keyPath);return r===void 0?Mo(new Gt.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,o=this.schema.primKey,i=o.auto,a=o.keyPath,s=t;return a&&i&&(s=uv(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?St.reject(l.failures[0]):l.lastResult}).then(function(l){if(a)try{Ca(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?St.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:t9})}).then(function(n){return n.numFailures?St.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(o){return o.map(function(i){return n.hook.reading.fire(i)})})})},e.prototype.bulkAdd=function(t,n,r){var o=this,i=Array.isArray(n)?n:void 0;r=r||(i?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var l=o.schema.primKey,c=l.auto,u=l.keyPath;if(u&&i)throw new Gt.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new Gt.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=u&&c?t.map(uv(u)):t;return o.core.mutate({trans:s,type:"add",keys:i,values:d,wantResults:a}).then(function(h){var p=h.numFailures,v=h.results,m=h.lastResult,x=h.failures,y=a?v:m;if(p===0)return y;throw new Rh(o.name+".bulkAdd(): "+p+" of "+f+" operations failed",Object.keys(x).map(function(R){return x[R]}))})})},e.prototype.bulkPut=function(t,n,r){var o=this,i=Array.isArray(n)?n:void 0;r=r||(i?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var l=o.schema.primKey,c=l.auto,u=l.keyPath;if(u&&i)throw new Gt.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new Gt.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=u&&c?t.map(uv(u)):t;return o.core.mutate({trans:s,type:"put",keys:i,values:d,wantResults:a}).then(function(h){var p=h.numFailures,v=h.results,m=h.lastResult,x=h.failures,y=a?v:m;if(p===0)return y;throw new Rh(o.name+".bulkPut(): "+p+" of "+f+" operations failed",Object.keys(x).map(function(R){return x[R]}))})})},e.prototype.bulkDelete=function(t){var n=this,r=t.length;return this._trans("readwrite",function(o){return n.core.mutate({trans:o,type:"delete",keys:t})}).then(function(o){var i=o.numFailures,a=o.lastResult,s=o.failures;if(i===0)return a;throw new Rh(n.name+".bulkDelete(): "+i+" of "+r+" operations failed",s)})},e}();function jm(e){var t={},n=function(s,l){if(l){for(var c=arguments.length,u=new Array(c-1);--c;)u[c-1]=arguments[c];return t[s].subscribe.apply(null,u),e}else if(typeof s=="string")return t[s]};n.addEventType=i;for(var r=1,o=arguments.length;r<o;++r)i(arguments[r]);return n;function i(s,l,c){if(typeof s=="object")return a(s);l||(l=Qz),c||(c=Gn);var u={subscribers:[],fire:c,subscribe:function(f){u.subscribers.indexOf(f)===-1&&(u.subscribers.push(f),u.fire=l(u.fire,f))},unsubscribe:function(f){u.subscribers=u.subscribers.filter(function(d){return d!==f}),u.fire=u.subscribers.reduce(l,c)}};return t[s]=n[s]=u,u}function a(s){co(s).forEach(function(l){var c=s[l];if(Wo(c))i(l,s[l][0],s[l][1]);else if(c==="asap")var u=i(l,Tp,function(){for(var d=arguments.length,h=new Array(d);d--;)h[d]=arguments[d];u.subscribers.forEach(function(p){PP(function(){p.apply(null,h)})})});else throw new Gt.InvalidArgument("Invalid event config")})}}function Ip(e,t){return zd(t).from({prototype:e}),t}function rJ(e){return Ip(nJ.prototype,function(n,r,o){this.db=e,this._tx=o,this.name=n,this.schema=r,this.hook=e._allTables[n]?e._allTables[n].hook:jm(null,{creating:[Vz,Gn],reading:[Wz,Tp],updating:[Yz,Gn],deleting:[Uz,Gn]})})}function b0(e,t){return!(e.filter||e.algorithm||e.or)&&(t?e.justLimit:!e.replayFilter)}function AR(e,t){e.filter=Eu(e.filter,t)}function RR(e,t,n){var r=e.replayFilter;e.replayFilter=r?function(){return Eu(r(),t())}:t,e.justLimit=n&&!r}function oJ(e,t){e.isMatch=Eu(e.isMatch,t)}function Jv(e,t){if(e.isPrimKey)return t.primaryKey;var n=t.getIndexByKeyPath(e.index);if(!n)throw new Gt.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function KM(e,t,n){var r=Jv(e,t.schema);return t.openCursor({trans:n,values:!e.keysOnly,reverse:e.dir==="prev",unique:!!e.unique,query:{index:r,range:e.range}})}function fv(e,t,n,r){var o=e.replayFilter?Eu(e.filter,e.replayFilter()):e.filter;if(e.or){var i={},a=function(s,l,c){if(!o||o(l,c,function(d){return l.stop(d)},function(d){return l.fail(d)})){var u=l.primaryKey,f=""+u;f==="[object ArrayBuffer]"&&(f=""+new Uint8Array(u)),oa(i,f)||(i[f]=!0,t(s,l,c))}};return Promise.all([e.or._iterate(a,n),HM(KM(e,r,n),e.algorithm,a,!e.keysOnly&&e.valueMapper)])}else return HM(KM(e,r,n),Eu(e.algorithm,o),t,!e.keysOnly&&e.valueMapper)}function HM(e,t,n,r){var o=r?function(a,s,l){return n(r(a),s,l)}:n,i=fr(o);return e.then(function(a){if(a)return a.start(function(){var s=function(){return a.continue()};(!t||t(a,function(l){return s=l},function(l){a.stop(l),s=Gn},function(l){a.fail(l),s=Gn}))&&i(a.value,a,function(l){return s=l}),s()})})}var iJ=function(){function e(){}return e.prototype._read=function(t,n){var r=this._ctx;return r.error?r.table._trans(null,Mo.bind(null,r.error)):r.table._trans("readonly",t).then(n)},e.prototype._write=function(t){var n=this._ctx;return n.error?n.table._trans(null,Mo.bind(null,n.error)):n.table._trans("readwrite",t,"locked")},e.prototype._addAlgorithm=function(t){var n=this._ctx;n.algorithm=Eu(n.algorithm,t)},e.prototype._iterate=function(t,n){return fv(this._ctx,t,n,this._ctx.table.core)},e.prototype.clone=function(t){var n=Object.create(this.constructor.prototype),r=Object.create(this._ctx);return t&&ra(r,t),n._ctx=r,n},e.prototype.raw=function(){return this._ctx.valueMapper=null,this},e.prototype.each=function(t){var n=this._ctx;return this._read(function(r){return fv(n,t,r,n.table.core)})},e.prototype.count=function(t){var n=this;return this._read(function(r){var o=n._ctx,i=o.table.core;if(b0(o,!0))return i.count({trans:r,query:{index:Jv(o,i.schema),range:o.range}}).then(function(s){return Math.min(s,o.limit)});var a=0;return fv(o,function(){return++a,!1},r,i).then(function(){return a})}).then(t)},e.prototype.sortBy=function(t,n){var r=t.split(".").reverse(),o=r[0],i=r.length-1;function a(c,u){return u?a(c[r[u]],u-1):c[o]}var s=this._ctx.dir==="next"?1:-1;function l(c,u){var f=a(c,i),d=a(u,i);return f<d?-s:f>d?s:0}return this.toArray(function(c){return c.sort(l)}).then(n)},e.prototype.toArray=function(t){var n=this;return this._read(function(r){var o=n._ctx;if(o.dir==="next"&&b0(o,!0)&&o.limit>0){var i=o.valueMapper,a=Jv(o,o.table.core.schema);return o.table.core.query({trans:r,limit:o.limit,values:!0,query:{index:a,range:o.range}}).then(function(l){var c=l.result;return i?c.map(i):c})}else{var s=[];return fv(o,function(l){return s.push(l)},r,o.table.core).then(function(){return s})}},t)},e.prototype.offset=function(t){var n=this._ctx;return t<=0?this:(n.offset+=t,b0(n)?RR(n,function(){var r=t;return function(o,i){return r===0?!0:r===1?(--r,!1):(i(function(){o.advance(r),r=0}),!1)}}):RR(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),RR(this._ctx,function(){var n=t;return function(r,o,i){return--n<=0&&o(i),n>=0}},!0),this},e.prototype.until=function(t,n){return AR(this._ctx,function(r,o,i){return t(r.value)?(o(i),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 AR(this._ctx,function(n){return t(n.value)}),oJ(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,o){t(o.key,o)})},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,o){t(o.primaryKey,o)})},e.prototype.keys=function(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(o,i){r.push(i.key)}).then(function(){return r}).then(t)},e.prototype.primaryKeys=function(t){var n=this._ctx;if(n.dir==="next"&&b0(n,!0)&&n.limit>0)return this._read(function(o){var i=Jv(n,n.table.core.schema);return n.table.core.query({trans:o,values:!1,limit:n.limit,query:{index:i,range:n.range}})}).then(function(o){var i=o.result;return i}).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(o,i){r.push(i.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 AR(this._ctx,function(o){var i=o.primaryKey.toString(),a=oa(r,i);return r[i]=!0,!a}),this},e.prototype.modify=function(t){var n=this,r=this._ctx;return this._write(function(o){var i;if(typeof t=="function")i=t;else{var a=co(t),s=a.length;i=function(y){for(var R=!1,A=0;A<s;++A){var b=a[A],M=t[b];hs(y,b)!==M&&(Ca(y,b,M),R=!0)}return R}}var l=r.table.core,c=l.schema.primaryKey,u=c.outbound,f=c.extractKey,d="testmode"in Xu?1:2e3,h=n.db.core.cmp,p=[],v=0,m=[],x=function(y,R){var A=R.failures,b=R.numFailures;v+=y-b;for(var M=0,T=co(A);M<T.length;M++){var w=T[M];p.push(A[w])}};return n.clone().primaryKeys().then(function(y){var R=function(A){var b=Math.min(d,y.length-A);return l.getMany({trans:o,keys:y.slice(A,A+b)}).then(function(M){for(var T=[],w=[],L=u?[]:null,k=[],E=0;E<b;++E){var P=M[E],W={value:qh(P),primKey:y[A+E]};i.call(W,W.value,W)!==!1&&(W.value==null?k.push(y[A+E]):!u&&h(f(P),f(W.value))!==0?(k.push(y[A+E]),T.push(W.value)):(w.push(W.value),u&&L.push(y[A+E])))}return Promise.resolve(T.length>0&&l.mutate({trans:o,type:"add",values:T}).then(function(N){for(var _ in N.failures)k.splice(parseInt(_),1);x(T.length,N)})).then(function(N){return w.length>0&&l.mutate({trans:o,type:"put",keys:L,values:w}).then(function(_){return x(w.length,_)})}).then(function(){return k.length>0&&l.mutate({trans:o,type:"delete",keys:k}).then(function(N){return x(k.length,N)})}).then(function(){return y.length>A+b&&R(A+d)})})};return R(0).then(function(){if(p.length>0)throw new Qg("Error modifying one or more objects",p,v,m);return y.length})})})},e.prototype.delete=function(){var t=this._ctx,n=t.range;return b0(t)&&(t.isPrimKey&&!tJ||n.type===3)?this._write(function(r){var o=t.table.core.schema.primaryKey,i=n;return t.table.core.count({trans:r,query:{index:o,range:i}}).then(function(a){return t.table.core.mutate({trans:r,type:"deleteRange",range:i}).then(function(s){var l=s.failures;s.lastResult,s.results;var c=s.numFailures;if(c)throw new Qg("Could not delete some values",Object.keys(l).map(function(u){return l[u]}),a-c);return a-c})})}):this.modify(function(r,o){return o.value=null})},e}();function aJ(e){return Ip(iJ.prototype,function(n,r){this.db=e;var o=t9,i=null;if(r)try{o=r()}catch(c){i=c}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:o,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:a.or,valueMapper:l!==Tp?l:null}})}function sJ(e,t){return e<t?-1:e===t?0:1}function lJ(e,t){return e>t?-1:e===t?0:1}function Ri(e,t,n){var r=e instanceof r9?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function xf(e){return new e.Collection(e,function(){return n9("")}).limit(0)}function cJ(e){return e==="next"?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function uJ(e){return e==="next"?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function fJ(e,t,n,r,o,i){for(var a=Math.min(e.length,r.length),s=-1,l=0;l<a;++l){var c=t[l];if(c!==r[l])return o(e[l],n[l])<0?e.substr(0,l)+n[l]+n.substr(l+1):o(e[l],r[l])<0?e.substr(0,l)+r[l]+n.substr(l+1):s>=0?e.substr(0,s)+t[s]+n.substr(s+1):null;o(e[l],c)<0&&(s=l)}return a<r.length&&i==="next"?e+n.substr(e.length):a<e.length&&i==="prev"?e.substr(0,n.length):s<0?null:e.substr(0,s)+r[s]+n.substr(s+1)}function dv(e,t,n,r){var o,i,a,s,l,c,u,f=n.length;if(!n.every(function(v){return typeof v=="string"}))return Ri(e,qP);function d(v){o=cJ(v),i=uJ(v),a=v==="next"?sJ:lJ;var m=n.map(function(x){return{lower:i(x),upper:o(x)}}).sort(function(x,y){return a(x.lower,y.lower)});s=m.map(function(x){return x.upper}),l=m.map(function(x){return x.lower}),c=v,u=v==="next"?"":r}d("next");var h=new e.Collection(e,function(){return Fl(s[0],l[f-1]+r)});h._ondirectionchange=function(v){d(v)};var p=0;return h._addAlgorithm(function(v,m,x){var y=v.key;if(typeof y!="string")return!1;var R=i(y);if(t(R,l,p))return!0;for(var A=null,b=p;b<f;++b){var M=fJ(y,R,s[b],l[b],a,c);M===null&&A===null?p=b+1:(A===null||a(A,M)>0)&&(A=M)}return m(A!==null?function(){v.continue(A+u)}:x),!1}),h}function Fl(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function n9(e){return{type:1,lower:e,upper:e}}var r9=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,o){r=r!==!1,o=o===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||o)&&!(r&&o)?xf(this):new this.Collection(this,function(){return Fl(t,n,!r,!o)})}catch{return Ri(this,Ws)}},e.prototype.equals=function(t){return t==null?Ri(this,Ws):new this.Collection(this,function(){return n9(t)})},e.prototype.above=function(t){return t==null?Ri(this,Ws):new this.Collection(this,function(){return Fl(t,void 0,!0)})},e.prototype.aboveOrEqual=function(t){return t==null?Ri(this,Ws):new this.Collection(this,function(){return Fl(t,void 0,!1)})},e.prototype.below=function(t){return t==null?Ri(this,Ws):new this.Collection(this,function(){return Fl(void 0,t,!1,!0)})},e.prototype.belowOrEqual=function(t){return t==null?Ri(this,Ws):new this.Collection(this,function(){return Fl(void 0,t)})},e.prototype.startsWith=function(t){return typeof t!="string"?Ri(this,qP):this.between(t,t+Jf,!0,!0)},e.prototype.startsWithIgnoreCase=function(t){return t===""?this.startsWith(t):dv(this,function(n,r){return n.indexOf(r[0])===0},[t],Jf)},e.prototype.equalsIgnoreCase=function(t){return dv(this,function(n,r){return n===r[0]},[t],"")},e.prototype.anyOfIgnoreCase=function(){var t=Js.apply(Vf,arguments);return t.length===0?xf(this):dv(this,function(n,r){return r.indexOf(n)!==-1},t,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var t=Js.apply(Vf,arguments);return t.length===0?xf(this):dv(this,function(n,r){return r.some(function(o){return n.indexOf(o)===0})},t,Jf)},e.prototype.anyOf=function(){var t=this,n=Js.apply(Vf,arguments),r=this._cmp;try{n.sort(r)}catch{return Ri(this,Ws)}if(n.length===0)return xf(this);var o=new this.Collection(this,function(){return Fl(n[0],n[n.length-1])});o._ondirectionchange=function(a){r=a==="next"?t._ascending:t._descending,n.sort(r)};var i=0;return o._addAlgorithm(function(a,s,l){for(var c=a.key;r(c,n[i])>0;)if(++i,i===n.length)return s(l),!1;return r(c,n[i])===0?!0:(s(function(){a.continue(n[i])}),!1)}),o},e.prototype.notEqual=function(t){return this.inAnyRange([[u3,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var t=Js.apply(Vf,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return Ri(this,Ws)}var n=t.reduce(function(r,o){return r?r.concat([[r[r.length-1][1],o]]):[[u3,o]]},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,o=this._cmp,i=this._ascending,a=this._descending,s=this._min,l=this._max;if(t.length===0)return xf(this);if(!t.every(function(b){return b[0]!==void 0&&b[1]!==void 0&&i(b[0],b[1])<=0}))return Ri(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",Gt.InvalidArgument);var c=!n||n.includeLowers!==!1,u=n&&n.includeUppers===!0;function f(b,M){for(var T=0,w=b.length;T<w;++T){var L=b[T];if(o(M[0],L[1])<0&&o(M[1],L[0])>0){L[0]=s(L[0],M[0]),L[1]=l(L[1],M[1]);break}}return T===w&&b.push(M),b}var d=i;function h(b,M){return d(b[0],M[0])}var p;try{p=t.reduce(f,[]),p.sort(h)}catch{return Ri(this,Ws)}var v=0,m=u?function(b){return i(b,p[v][1])>0}:function(b){return i(b,p[v][1])>=0},x=c?function(b){return a(b,p[v][0])>0}:function(b){return a(b,p[v][0])>=0};function y(b){return!m(b)&&!x(b)}var R=m,A=new this.Collection(this,function(){return Fl(p[0][0],p[p.length-1][1],!c,!u)});return A._ondirectionchange=function(b){b==="next"?(R=m,d=i):(R=x,d=a),p.sort(h)},A._addAlgorithm(function(b,M,T){for(var w=b.key;R(w);)if(++v,v===p.length)return M(T),!1;return y(w)?!0:(r._cmp(w,p[v][1])===0||r._cmp(w,p[v][0])===0||M(function(){d===i?b.continue(p[v][0]):b.continue(p[v][1])}),!1)}),A},e.prototype.startsWithAnyOf=function(){var t=Js.apply(Vf,arguments);return t.every(function(n){return typeof n=="string"})?t.length===0?xf(this):this.inAnyRange(t.map(function(n){return[n,n+Jf]})):Ri(this,"startsWithAnyOf() only works with strings")},e}();function dJ(e){return Ip(r9.prototype,function(n,r,o){this.db=e,this._ctx={table:n,index:r===":id"?null:r,or:o};var i=e._deps.indexedDB;if(!i)throw new Gt.MissingAPI("indexedDB API missing");this._cmp=this._ascending=i.cmp.bind(i),this._descending=function(a,s){return i.cmp(s,a)},this._max=function(a,s){return i.cmp(a,s)>0?a:s},this._min=function(a,s){return i.cmp(a,s)<0?a:s},this._IDBKeyRange=e._deps.IDBKeyRange})}function o9(e){return e.length===1?e[0]:e}function Tx(e){try{return e.only([[]]),[[]]}catch{return Jf}}function es(e){return fr(function(t){return np(t),e(t.target.error),!1})}function np(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var hJ=function(){function e(){}return e.prototype._lock=function(){return Z0(!Wt.global),++this._reculock,this._reculock===1&&!Wt.global&&(Wt.lockOwnerFor=this),this},e.prototype._unlock=function(){if(Z0(!Wt.global),--this._reculock===0)for(Wt.global||(Wt.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{Cp(t[1],t[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&Wt.lockOwnerFor!==this},e.prototype.create=function(t){var n=this;if(!this.mode)return this;var r=this.db.idbdb,o=this.db._state.dbOpenError;if(Z0(!this.idbtrans),!t&&!r)switch(o&&o.name){case"DatabaseClosedError":throw new Gt.DatabaseClosed(o);case"MissingAPIError":throw new Gt.MissingAPI(o.message,o);default:throw new Gt.OpenFailed(o)}if(!this.active)throw new Gt.TransactionInactive;return Z0(this._completion._state===null),t=this.idbtrans=t||r.transaction(o9(this.storeNames),this.mode),t.onerror=fr(function(i){np(i),n._reject(t.error)}),t.onabort=fr(function(i){np(i),n.active&&n._reject(new Gt.Abort(t.error)),n.active=!1,n.on("abort").fire(i)}),t.oncomplete=fr(function(){n.active=!1,n._resolve()}),this},e.prototype._promise=function(t,n,r){var o=this;if(t==="readwrite"&&this.mode!=="readwrite")return Mo(new Gt.ReadOnly("Transaction is readonly"));if(!this.active)return Mo(new Gt.TransactionInactive);if(this._locked())return new St(function(a,s){o._blockedFuncs.push([function(){o._promise(t,n,r).then(a,s)},Wt])});if(r)return Fu(function(){var a=new St(function(s,l){o._lock();var c=n(s,l,o);c&&c.then&&c.then(s,l)});return a.finally(function(){return o._unlock()}),a._lib=!0,a});var i=new St(function(a,s){var l=n(a,s,o);l&&l.then&&l.then(a,s)});return i._lib=!0,i},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(t){var n=this._root(),r=St.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return r});else{n._waitingFor=r,n._waitingQueue=[];var o=n.idbtrans.objectStore(n.storeNames[0]);(function a(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(o.get(-1/0).onsuccess=a)})()}var i=n._waitingFor;return new St(function(a,s){r.then(function(l){return n._waitingQueue.push(fr(a.bind(null,l)))},function(l){return n._waitingQueue.push(fr(s.bind(null,l)))}).finally(function(){n._waitingFor===i&&(n._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new Gt.Abort),this.active=!1},e.prototype.table=function(t){var n=this._memoizedTables||(this._memoizedTables={});if(oa(n,t))return n[t];var r=this.schema[t];if(!r)throw new Gt.NotFound("Table "+t+" not part of transaction");var o=new this.db.Table(t,r,this);return o.core=this.db.core.table(t),n[t]=o,o},e}();function pJ(e){return Ip(hJ.prototype,function(n,r,o,i){var a=this;this.db=e,this.mode=n,this.storeNames=r,this.schema=o,this.idbtrans=null,this.on=jm(this,"complete","error","abort"),this.parent=i||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 St(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(),Mo(s)})})}function f3(e,t,n,r,o,i,a){return{name:e,keyPath:t,unique:n,multi:r,auto:o,compound:i,src:(n&&!a?"&":"")+(r?"*":"")+(o?"++":"")+i9(t)}}function i9(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function a9(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:CP(n,function(r){return[r.name,r]})}}function d3(e){return e==null?function(){}:typeof e=="string"?vJ(e):function(t){return hs(t,e)}}function vJ(e){var t=e.split(".");return t.length===1?function(n){return n[e]}:function(n){return hs(n,e)}}function s9(e,t){return t.type==="delete"?t.keys:t.keys||t.values.map(e.extractKey)}function gJ(e,t,n){return t.type==="add"?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function GM(e){return[].slice.call(e)}var mJ=0;function bh(e){return e==null?":id":typeof e=="string"?e:"["+e.join("+")+"]"}function AJ(e,t,n,r){var o=t.cmp.bind(t);function i(h,p){var v=GM(h.objectStoreNames);return{schema:{name:h.name,tables:v.map(function(m){return p.objectStore(m)}).map(function(m){var x=m.keyPath,y=m.autoIncrement,R=Wo(x),A=x==null,b={},M={name:m.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:A,compound:R,keyPath:x,autoIncrement:y,unique:!0,extractKey:d3(x)},indexes:GM(m.indexNames).map(function(T){return m.index(T)}).map(function(T){var w=T.name,L=T.unique,k=T.multiEntry,E=T.keyPath,P=Wo(E),W={name:w,compound:P,keyPath:E,unique:L,multiEntry:k,extractKey:d3(E)};return b[bh(E)]=W,W}),getIndexByKeyPath:function(T){return b[bh(T)]}};return b[":id"]=M.primaryKey,x!=null&&(b[bh(x)]=M.primaryKey),M})},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,m=h.lowerOpen,x=h.upperOpen,y=p===void 0?v===void 0?null:n.upperBound(v,!!x):v===void 0?n.lowerBound(p,!!m):n.bound(p,v,!!m,!!x);return y}function s(h){var p=h.name;function v(y){var R=y.trans,A=y.type,b=y.keys,M=y.values,T=y.range,w=y.wantResults;return new Promise(function(L,k){L=fr(L);var E=R.objectStore(p),P=E.keyPath==null,W=A==="put"||A==="add";if(!W&&A!=="delete"&&A!=="deleteRange")throw new Error("Invalid operation type: "+A);var N=(b||M||{length:1}).length;if(b&&M&&b.length!==M.length)throw new Error("Given keys array must have same length as given values array.");if(N===0)return L({numFailures:0,failures:{},results:[],lastResult:void 0});var _=w&&j4(b||s9(h.primaryKey,{type:A,keys:b,values:M})),C,X=[],Y=0,$=function(ae){++Y,np(ae),_&&(_[ae.target._reqno]=void 0),X[ae.target._reqno]=ae.target.error},le=function(ae){var se=ae.target;_[se._reqno]=se.result};if(A==="deleteRange"){if(T.type===4)return L({numFailures:Y,failures:X,results:_,lastResult:void 0});T.type===3?C=E.clear():C=E.delete(a(T))}else{var Q=W?P?[M,b]:[M,null]:[b,null],K=Q[0],B=Q[1];if(W)for(var D=0;D<N;++D)C=B&&B[D]!==void 0?E[A](K[D],B[D]):E[A](K[D]),C._reqno=D,_&&_[D]===void 0&&(C.onsuccess=le),C.onerror=$;else for(var D=0;D<N;++D)C=E[A](K[D]),C._reqno=D,C.onerror=$}var G=function(ae){var se=ae.target.result;_&&(_[N-1]=se),L({numFailures:Y,failures:X,results:_,lastResult:se})};C.onerror=function(ae){$(ae),G(ae)},C.onsuccess=G})}function m(y){var R=y.trans,A=y.values,b=y.query,M=y.reverse,T=y.unique;return new Promise(function(w,L){w=fr(w);var k=b.index,E=b.range,P=R.objectStore(p),W=k.isPrimaryKey?P:P.index(k.name),N=M?T?"prevunique":"prev":T?"nextunique":"next",_=A||!("openKeyCursor"in W)?W.openCursor(a(E),N):W.openKeyCursor(a(E),N);_.onerror=es(L),_.onsuccess=fr(function(C){var X=_.result;if(!X){w(null);return}X.___id=++mJ,X.done=!1;var Y=X.continue.bind(X),$=X.continuePrimaryKey;$&&($=$.bind(X));var le=X.advance.bind(X),Q=function(){throw new Error("Cursor not started")},K=function(){throw new Error("Cursor not stopped")};X.trans=R,X.stop=X.continue=X.continuePrimaryKey=X.advance=Q,X.fail=fr(L),X.next=function(){var B=this,D=1;return this.start(function(){return D--?B.continue():B.stop()}).then(function(){return B})},X.start=function(B){var D=new Promise(function(ae,se){ae=fr(ae),_.onerror=es(se),X.fail=se,X.stop=function(J){X.stop=X.continue=X.continuePrimaryKey=X.advance=K,ae(J)}}),G=function(){if(_.result)try{B()}catch(ae){X.fail(ae)}else X.done=!0,X.start=function(){throw new Error("Cursor behind last entry")},X.stop()};return _.onsuccess=fr(function(ae){_.onsuccess=G,G()}),X.continue=Y,X.continuePrimaryKey=$,X.advance=le,G(),D},w(X)},L)})}function x(y){return function(R){return new Promise(function(A,b){A=fr(A);var M=R.trans,T=R.values,w=R.limit,L=R.query,k=w===1/0?void 0:w,E=L.index,P=L.range,W=M.objectStore(p),N=E.isPrimaryKey?W:W.index(E.name),_=a(P);if(w===0)return A({result:[]});if(y){var C=T?N.getAll(_,k):N.getAllKeys(_,k);C.onsuccess=function(le){return A({result:le.target.result})},C.onerror=es(b)}else{var X=0,Y=T||!("openKeyCursor"in N)?N.openCursor(_):N.openKeyCursor(_),$=[];Y.onsuccess=function(le){var Q=Y.result;if(!Q)return A({result:$});if($.push(T?Q.value:Q.primaryKey),++X===w)return A({result:$});Q.continue()},Y.onerror=es(b)}})}}return{name:p,schema:h,mutate:v,getMany:function(y){var R=y.trans,A=y.keys;return new Promise(function(b,M){b=fr(b);for(var T=R.objectStore(p),w=A.length,L=new Array(w),k=0,E=0,P,W=function(X){var Y=X.target;(L[Y._pos]=Y.result)!=null,++E===k&&b(L)},N=es(M),_=0;_<w;++_){var C=A[_];C!=null&&(P=T.get(A[_]),P._pos=_,P.onsuccess=W,P.onerror=N,++k)}k===0&&b(L)})},get:function(y){var R=y.trans,A=y.key;return new Promise(function(b,M){b=fr(b);var T=R.objectStore(p),w=T.get(A);w.onsuccess=function(L){return b(L.target.result)},w.onerror=es(M)})},query:x(u),openCursor:m,count:function(y){var R=y.query,A=y.trans,b=R.index,M=R.range;return new Promise(function(T,w){var L=A.objectStore(p),k=b.isPrimaryKey?L:L.index(b.name),E=a(M),P=E?k.count(E):k.count();P.onsuccess=fr(function(W){return T(W.target.result)}),P.onerror=es(w)})}}}var l=i(e,r),c=l.schema,u=l.hasGetAll,f=c.tables.map(function(h){return s(h)}),d={};return f.forEach(function(h){return d[h.name]=h}),{stack:"dbcore",transaction:e.transaction.bind(e),table:function(h){var p=d[h];if(!p)throw new Error("Table '"+h+"' not found");return d[h]},cmp:o,MIN_KEY:-1/0,MAX_KEY:Tx(n),schema:c}}function RJ(e,t){return t.reduce(function(n,r){var o=r.create;return Kn(Kn({},n),o(n))},e)}function yJ(e,t,n,r){var o=n.IDBKeyRange,i=n.indexedDB,a=RJ(AJ(t,i,o,r),e.dbcore);return{dbcore:a}}function kx(e,t){var n=t.db,r=yJ(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach(function(o){var i=o.name;e.core.schema.tables.some(function(a){return a.name===i})&&(o.core=e.core.table(i),e[i]instanceof e.Table&&(e[i].core=o.core))})}function Gg(e,t,n,r){n.forEach(function(o){var i=r[o];t.forEach(function(a){var s=yx(a,o);(!s||"value"in s&&s.value===void 0)&&(a===e.Transaction.prototype||a instanceof e.Transaction?cl(a,o,{get:function(){return this.table(o)},set:function(l){kP(this,o,{value:l,writable:!0,configurable:!0,enumerable:!0})}}):a[o]=new e.Table(o,i))})})}function h3(e,t){t.forEach(function(n){for(var r in n)n[r]instanceof e.Table&&delete n[r]})}function bJ(e,t){return e._cfg.version-t._cfg.version}function xJ(e,t,n,r){var o=e._dbSchema,i=e._createTransaction("readwrite",e._storeNames,o);i.create(n),i._completion.catch(r);var a=i._reject.bind(i),s=Wt.transless||Wt;Fu(function(){Wt.trans=i,Wt.transless=s,t===0?(co(o).forEach(function(l){Nx(n,l,o[l].primKey,o[l].indexes)}),kx(e,n),St.follow(function(){return e.on.populate.fire(i)}).catch(a)):SJ(e,t,i,n).catch(a)})}function SJ(e,t,n,r){var o=[],i=e._versions,a=e._dbSchema=Px(e,e.idbdb,r),s=!1,l=i.filter(function(u){return u._cfg.version>=t});l.forEach(function(u){o.push(function(){var f=a,d=u._cfg.dbschema;v3(e,f,r),v3(e,d,r),a=e._dbSchema=d;var h=l9(f,d);h.add.forEach(function(R){Nx(r,R[0],R[1].primKey,R[1].indexes)}),h.change.forEach(function(R){if(R.recreate)throw new Gt.Upgrade("Not yet support for changing primary key");var A=r.objectStore(R.name);R.add.forEach(function(b){return p3(A,b)}),R.change.forEach(function(b){A.deleteIndex(b.name),p3(A,b)}),R.del.forEach(function(b){return A.deleteIndex(b)})});var p=u._cfg.contentUpgrade;if(p&&u._cfg.version>t){kx(e,r),n._memoizedTables={},s=!0;var v=FP(d);h.del.forEach(function(R){v[R]=f[R]}),h3(e,[e.Transaction.prototype]),Gg(e,[e.Transaction.prototype],co(v),v),n.schema=v;var m=XP(p);m&&Pp();var x,y=St.follow(function(){if(x=p(n),x&&m){var R=_u.bind(null,null);x.then(R,R)}});return x&&typeof x.then=="function"?St.resolve(x):y.then(function(){return x})}}),o.push(function(f){if(!s||!eJ){var d=u._cfg.dbschema;wJ(d,f)}h3(e,[e.Transaction.prototype]),Gg(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})});function c(){return o.length?St.resolve(o.shift()(n.idbtrans)).then(c):St.resolve()}return c().then(function(){MJ(a,r)})}function l9(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var o=e[r],i=t[r];if(!o)n.add.push([r,i]);else{var a={name:r,def:i,recreate:!1,del:[],add:[],change:[]};if(""+(o.primKey.keyPath||"")!=""+(i.primKey.keyPath||"")||o.primKey.auto!==i.primKey.auto&&!Ox)a.recreate=!0,n.change.push(a);else{var s=o.idxByName,l=i.idxByName,c=void 0;for(c in s)l[c]||a.del.push(c);for(c in l){var u=s[c],f=l[c];u?u.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 Nx(e,t,n,r){var o=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(i){return p3(o,i)}),o}function MJ(e,t){co(e).forEach(function(n){t.db.objectStoreNames.contains(n)||Nx(t,n,e[n].primKey,e[n].indexes)})}function wJ(e,t){for(var n=0;n<t.db.objectStoreNames.length;++n){var r=t.db.objectStoreNames[n];e[r]==null&&t.db.deleteObjectStore(r)}}function p3(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function Px(e,t,n){var r={},o=Jm(t.objectStoreNames,0);return o.forEach(function(i){for(var a=n.objectStore(i),s=a.keyPath,l=f3(i9(s),s||"",!1,!1,!!a.autoIncrement,s&&typeof s!="string",!0),c=[],u=0;u<a.indexNames.length;++u){var f=a.index(a.indexNames[u]);s=f.keyPath;var d=f3(f.name,s,!!f.unique,!!f.multiEntry,!1,s&&typeof s!="string",!1);c.push(d)}r[i]=a9(i,l,c)}),r}function LJ(e,t,n){e.verno=t.version/10;var r=e._dbSchema=Px(e,t,n);e._storeNames=Jm(t.objectStoreNames,0),Gg(e,[e._allTables],co(r),r)}function OJ(e,t){var n=Px(e,e.idbdb,t),r=l9(n,e._dbSchema);return!(r.add.length||r.change.some(function(o){return o.add.length||o.change.length}))}function v3(e,t,n){for(var r=n.db.objectStoreNames,o=0;o<r.length;++o){var i=r[o],a=n.objectStore(i);e._hasGetAll="getAll"in a;for(var s=0;s<a.indexNames.length;++s){var l=a.indexNames[s],c=a.index(l).keyPath,u=typeof c=="string"?c:"["+Jm(c).join("+")+"]";if(t[i]){var f=t[i].idxByName[u];f&&(f.name=l,delete t[i].idxByName[u],t[i].idxByName[l]=f)}}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&jn.WorkerGlobalScope&&jn instanceof jn.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(e._hasGetAll=!1)}function TJ(e){return e.split(",").map(function(t,n){t=t.trim();var r=t.replace(/([&*]|\+\+)/g,""),o=/^\[/.test(r)?r.match(/^\[(.*)\]$/)[1].split("+"):r;return f3(r,o||null,/\&/.test(t),/\*/.test(t),/\+\+/.test(t),Wo(o),n===0)})}var kJ=function(){function e(){}return e.prototype._parseStoresSpec=function(t,n){co(t).forEach(function(r){if(t[r]!==null){var o=TJ(t[r]),i=o.shift();if(i.multi)throw new Gt.Schema("Primary key cannot be multi-valued");o.forEach(function(a){if(a.auto)throw new Gt.Schema("Only primary key can be marked as autoIncrement (++)");if(!a.keyPath)throw new Gt.Schema("Index must have a name and cannot be an empty string")}),n[r]=a9(r,i,o)}})},e.prototype.stores=function(t){var n=this.db;this._cfg.storesSource=this._cfg.storesSource?ra(this._cfg.storesSource,t):t;var r=n._versions,o={},i={};return r.forEach(function(a){ra(o,a._cfg.storesSource),i=a._cfg.dbschema={},a._parseStoresSpec(o,i)}),n._dbSchema=i,h3(n,[n._allTables,n,n.Transaction.prototype]),Gg(n,[n._allTables,n,n.Transaction.prototype,this._cfg.tables],co(i),i),n._storeNames=co(i),this},e.prototype.upgrade=function(t){return this._cfg.contentUpgrade=t,this},e}();function NJ(e){return Ip(kJ.prototype,function(n){this.db=e,this._cfg={version:n,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}var rp;function PJ(e){var t=e&&typeof e.databases=="function",n;if(!t){var r=new Xu(cv,{addons:[]});r.version(1).stores({dbnames:"name"}),n=r.table("dbnames")}return{getDatabaseNames:function(){return t?St.resolve(e.databases()).then(function(o){return o.map(function(i){return i.name}).filter(function(i){return i!==cv})}):n.toCollection().primaryKeys()},add:function(o){return!t&&o!==cv&&n.put({name:o}).catch(Gn)},remove:function(o){return!t&&o!==cv&&n.delete(o).catch(Gn)}}}function CJ(e){try{rp=PJ(e)}catch{}}function g3(e){return Fu(function(){return Wt.letThrough=!0,e()})}function IJ(e){var t=e._state,n=e._deps.indexedDB;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then(function(){return t.dbOpenError?Mo(t.dbOpenError):e});Ls&&(t.openCanceller._stackHolder=Jd()),t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;var r=t.dbReadyResolve,o=null;return St.race([t.openCanceller,new St(function(i,a){if(!n)throw new Gt.MissingAPI("indexedDB API not found. If using IE10+, make sure to run your code on a server URL (not locally). If using old Safari versions, make sure to include indexedDB polyfill.");var s=e.name,l=t.autoSchema?n.open(s):n.open(s,Math.round(e.verno*10));if(!l)throw new Gt.MissingAPI("IndexedDB API not available");l.onerror=es(a),l.onblocked=fr(e._fireOnBlocked),l.onupgradeneeded=fr(function(c){if(o=l.transaction,t.autoSchema&&!e._options.allowEmptyDB){l.onerror=np,o.abort(),l.result.close();var u=n.deleteDatabase(s);u.onsuccess=u.onerror=fr(function(){a(new Gt.NoSuchDatabase("Database "+s+" doesnt exist"))})}else{o.onerror=es(a);var f=c.oldVersion>Math.pow(2,62)?0:c.oldVersion;e.idbdb=l.result,xJ(e,f/10,o,a)}},a),l.onsuccess=fr(function(){o=null;var c=e.idbdb=l.result,u=Jm(c.objectStoreNames);if(u.length>0)try{var f=c.transaction(o9(u),"readonly");t.autoSchema?LJ(e,c,f):(v3(e,e._dbSchema,f),OJ(e,f)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),kx(e,f)}catch{}yh.push(e),c.onversionchange=fr(function(d){t.vcFired=!0,e.on("versionchange").fire(d)}),rp.add(s),i()},a)})]).then(function(){return t.onReadyBeingFired=[],St.resolve(g3(e.on.ready.fire)).then(function i(){if(t.onReadyBeingFired.length>0){var a=t.onReadyBeingFired.reduce(QP,Gn);return t.onReadyBeingFired=[],St.resolve(g3(a)).then(i)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(i){try{o&&o.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=i,Mo(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function m3(e){var t=function(a){return e.next(a)},n=function(a){return e.throw(a)},r=i(t),o=i(n);function i(a){return function(s){var l=a(s),c=l.value;return l.done?c:!c||typeof c.then!="function"?Wo(c)?Promise.all(c).then(r,o):r(c):c.then(r,o)}}return i(t)()}function FJ(e,t,n){var r=arguments.length;if(r<2)throw new Gt.InvalidArgument("Too few arguments");for(var o=new Array(r-1);--r;)o[r-1]=arguments[r];n=o.pop();var i=_P(o);return[e,i,n]}function _J(e,t,n,r,o){return St.resolve().then(function(){var i=Wt.transless||Wt,a=e._createTransaction(t,n,e._dbSchema,r),s={trans:a,transless:i};r?a.idbtrans=r.idbtrans:a.create();var l=XP(o);l&&Pp();var c,u=St.follow(function(){if(c=o.call(a,a),c)if(l){var f=_u.bind(null,null);c.then(f,f)}else typeof c.next=="function"&&typeof c.throw=="function"&&(c=m3(c))},s);return(c&&typeof c.then=="function"?St.resolve(c).then(function(f){return a.active?f:Mo(new Gt.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):u.then(function(){return c})).then(function(f){return r&&a._resolve(),a._completion.then(function(){return f})}).catch(function(f){return a._reject(f),Mo(f)})})}function x0(e,t,n){for(var r=Wo(e)?e.slice():[e],o=0;o<n;++o)r.push(t);return r}function EJ(e){return Kn(Kn({},e),{table:function(t){var n=e.table(t),r=n.schema,o={},i=[];function a(v,m,x){var y=bh(v),R=o[y]=o[y]||[],A=v==null?0:typeof v=="string"?1:v.length,b=m>0,M=Kn(Kn({},x),{isVirtual:b,isPrimaryKey:!b&&x.isPrimaryKey,keyTail:m,keyLength:A,extractKey:d3(v),unique:!b&&x.unique});if(R.push(M),M.isPrimaryKey||i.push(M),A>1){var T=A===2?v[0]:v.slice(0,A-1);a(T,m+1,x)}return R.sort(function(w,L){return w.keyTail-L.keyTail}),M}var s=a(r.primaryKey.keyPath,0,r.primaryKey);o[":id"]=[s];for(var l=0,c=r.indexes;l<c.length;l++){var u=c[l];a(u.keyPath,0,u)}function f(v){var m=o[bh(v)];return m&&m[0]}function d(v,m){return{type:v.type===1?2:v.type,lower:x0(v.lower,v.lowerOpen?e.MAX_KEY:e.MIN_KEY,m),lowerOpen:!0,upper:x0(v.upper,v.upperOpen?e.MIN_KEY:e.MAX_KEY,m),upperOpen:!0}}function h(v){var m=v.query.index;return m.isVirtual?Kn(Kn({},v),{query:{index:m,range:d(v.query.range,m.keyTail)}}):v}var p=Kn(Kn({},n),{schema:Kn(Kn({},r),{primaryKey:s,indexes:i,getIndexByKeyPath:f}),count:function(v){return n.count(h(v))},query:function(v){return n.query(h(v))},openCursor:function(v){var m=v.query.index,x=m.keyTail,y=m.isVirtual,R=m.keyLength;if(!y)return n.openCursor(v);function A(b){function M(w){w!=null?b.continue(x0(w,v.reverse?e.MAX_KEY:e.MIN_KEY,x)):v.unique?b.continue(x0(b.key,v.reverse?e.MIN_KEY:e.MAX_KEY,x)):b.continue()}var T=Object.create(b,{continue:{value:M},continuePrimaryKey:{value:function(w,L){b.continuePrimaryKey(x0(w,e.MAX_KEY,x),L)}},key:{get:function(){var w=b.key;return R===1?w[0]:w.slice(0,R)}},value:{get:function(){return b.value}}});return T}return n.openCursor(h(v)).then(function(b){return b&&A(b)})}});return p}})}var XJ={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:EJ},WJ={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(e){return Kn(Kn({},e),{table:function(t){var n=e.table(t),r=n.schema.primaryKey,o=Kn(Kn({},n),{mutate:function(i){var a=Wt.trans,s=a.table(t).hook,l=s.deleting,c=s.creating,u=s.updating;switch(i.type){case"add":if(c.fire===Gn)break;return a._promise("readwrite",function(){return f(i)},!0);case"put":if(c.fire===Gn&&u.fire===Gn)break;return a._promise("readwrite",function(){return f(i)},!0);case"delete":if(l.fire===Gn)break;return a._promise("readwrite",function(){return f(i)},!0);case"deleteRange":if(l.fire===Gn)break;return a._promise("readwrite",function(){return d(i)},!0)}return n.mutate(i);function f(p){var v=Wt.trans,m=p.keys||s9(r,p);if(!m)throw new Error("Keys missing");return p=p.type==="add"||p.type==="put"?Kn(Kn({},p),{keys:m,wantResults:!0}):Kn({},p),p.type!=="delete"&&(p.values=j4(p.values)),p.keys&&(p.keys=j4(p.keys)),gJ(n,p,m).then(function(x){var y=m.map(function(R,A){var b=x[A],M={onerror:null,onsuccess:null};if(p.type==="delete")l.fire.call(M,R,b,v);else if(p.type==="add"||b===void 0){var T=c.fire.call(M,R,p.values[A],v);R==null&&T!=null&&(R=T,p.keys[A]=R,r.outbound||Ca(p.values[A],r.keyPath,R))}else{var w=bx(b,p.values[A]),L=u.fire.call(M,w,R,b,v);if(L){var k=p.values[A];Object.keys(L).forEach(function(E){oa(k,E)?k[E]=L[E]:Ca(k,E,L[E])})}}return M});return n.mutate(p).then(function(R){for(var A=R.failures,b=R.results,M=R.numFailures,T=R.lastResult,w=0;w<m.length;++w){var L=b?b[w]:m[w],k=y[w];L==null?k.onerror&&k.onerror(A[w]):k.onsuccess&&k.onsuccess(p.type==="put"&&x[w]?p.values[w]:L)}return{failures:A,results:b,numFailures:M,lastResult:T}}).catch(function(R){return y.forEach(function(A){return A.onerror&&A.onerror(R)}),Promise.reject(R)})})}function d(p){return h(p.trans,p.range,1e4)}function h(p,v,m){return n.query({trans:p,values:!1,query:{index:r,range:v},limit:m}).then(function(x){var y=x.result;return f({type:"delete",keys:y,trans:p}).then(function(R){return R.numFailures>0?Promise.reject(R.failures[0]):y.length<m?{failures:[],numFailures:0,lastResult:void 0}:h(p,Kn(Kn({},v),{lower:y[y.length-1],lowerOpen:!0}),m)})})}}});return o}})}},Xu=function(){function e(t,n){var r=this;this._middlewares={},this.verno=0;var o=e.dependencies;this._options=n=Kn({addons:e.addons,autoOpen:!0,indexedDB:o.indexedDB,IDBKeyRange:o.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var i=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null;var a={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Gn,dbReadyPromise:null,cancelOpen:Gn,openCanceller:null,autoSchema:!0};a.dbReadyPromise=new St(function(s){a.dbReadyResolve=s}),a.openCanceller=new St(function(s,l){a.cancelOpen=l}),this._state=a,this.name=t,this.on=jm(this,"populate","blocked","versionchange",{ready:[QP,Gn]}),this.on.ready.subscribe=NP(this.on.ready.subscribe,function(s){return function(l,c){e.vip(function(){var u=r._state;if(u.openComplete)u.dbOpenError||St.resolve().then(l),c&&s(l);else if(u.onReadyBeingFired)u.onReadyBeingFired.push(l),c&&s(l);else{s(l);var f=r;c||s(function d(){f.on.ready.unsubscribe(l),f.on.ready.unsubscribe(d)})}})}}),this.Collection=aJ(this),this.Table=rJ(this),this.Transaction=pJ(this),this.Version=NJ(this),this.WhereClause=dJ(this),this.on("versionchange",function(s){s.newVersion>0?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<s.oldVersion?console.warn("Dexie.delete('"+r.name+"') was blocked"):console.warn("Upgrade '"+r.name+"' blocked by other connection holding version "+s.oldVersion/10)}),this._maxKey=Tx(n.IDBKeyRange),this._createTransaction=function(s,l,c,u){return new r.Transaction(s,l,c,u)},this._fireOnBlocked=function(s){r.on("blocked").fire(s),yh.filter(function(l){return l.name===r.name&&l!==r&&!l._state.vcFired}).map(function(l){return l.on("versionchange").fire(s)})},this.use(XJ),this.use(WJ),i.forEach(function(s){return s(r)})}return e.prototype.version=function(t){if(isNaN(t)||t<.1)throw new Gt.Type("Given version is not a positive number");if(t=Math.round(t*10)/10,this.idbdb||this._state.isBeingOpened)throw new Gt.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);var n=this._versions,r=n.filter(function(o){return o._cfg.version===t})[0];return r||(r=new this.Version(t),n.push(r),n.sort(bJ),r.stores({}),this._state.autoSchema=!1,r)},e.prototype._whenReady=function(t){var n=this;return this._state.openComplete||Wt.letThrough?t():new St(function(r,o){if(!n._state.isBeingOpened){if(!n._options.autoOpen){o(new Gt.DatabaseClosed);return}n.open().catch(Gn)}n._state.dbReadyPromise.then(r,o)}).then(t)},e.prototype.use=function(t){var n=t.stack,r=t.create,o=t.level,i=t.name;i&&this.unuse({stack:n,name:i});var a=this._middlewares[n]||(this._middlewares[n]=[]);return a.push({stack:n,create:r,level:o??10,name:i}),a.sort(function(s,l){return s.level-l.level}),this},e.prototype.unuse=function(t){var n=t.stack,r=t.name,o=t.create;return n&&this._middlewares[n]&&(this._middlewares[n]=this._middlewares[n].filter(function(i){return o?i.create!==o:r?i.name!==r:!1})),this},e.prototype.open=function(){return IJ(this)},e.prototype.close=function(){var t=yh.indexOf(this),n=this._state;if(t>=0&&yh.splice(t,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,n.dbOpenError=new Gt.DatabaseClosed,n.isBeingOpened&&n.cancelOpen(n.dbOpenError),n.dbReadyPromise=new St(function(r){n.dbReadyResolve=r}),n.openCanceller=new St(function(r,o){n.cancelOpen=o})},e.prototype.delete=function(){var t=this,n=arguments.length>0,r=this._state;return new St(function(o,i){var a=function(){t.close();var s=t._deps.indexedDB.deleteDatabase(t.name);s.onsuccess=fr(function(){rp.remove(t.name),o()}),s.onerror=es(i),s.onblocked=t._fireOnBlocked};if(n)throw new Gt.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 co(this._allTables).map(function(n){return t._allTables[n]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var t=FJ.apply(this,arguments);return this._transaction.apply(this,t)},e.prototype._transaction=function(t,n,r){var o=this,i=Wt.trans;(!i||i.db!==this||t.indexOf("!")!==-1)&&(i=null);var a=t.indexOf("?")!==-1;t=t.replace("!","").replace("?","");var s,l;try{if(l=n.map(function(u){var f=u instanceof o.Table?u.name:u;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t===gR)s=gR;else if(t=="rw"||t==mR)s=mR;else throw new Gt.InvalidArgument("Invalid transaction mode: "+t);if(i){if(i.mode===gR&&s===mR)if(a)i=null;else throw new Gt.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i&&l.forEach(function(u){if(i&&i.storeNames.indexOf(u)===-1)if(a)i=null;else throw new Gt.SubTransaction("Table "+u+" not included in parent transaction.")}),a&&i&&!i.active&&(i=null)}}catch(u){return i?i._promise(null,function(f,d){d(u)}):Mo(u)}var c=_J.bind(null,this,s,l,i,r);return i?i._promise(s,c,"lock"):Wt.trans?Cp(Wt.transless,function(){return o._whenReady(c)}):this._whenReady(c)},e.prototype.table=function(t){if(!oa(this._allTables,t))throw new Gt.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},e}(),Bl=Xu;jh(Bl,Kn(Kn({},$m),{delete:function(e){var t=new Bl(e);return t.delete()},exists:function(e){return new Bl(e,{addons:[]}).open().then(function(t){return t.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return rp?rp.getDatabaseNames().then(e):St.resolve([])},defineClass:function(){function e(t){ra(this,t)}return e},ignoreTransaction:function(e){return Wt.trans?Cp(Wt.transless,e):e()},vip:g3,async:function(e){return function(){try{var t=m3(e.apply(this,arguments));return!t||typeof t.then!="function"?St.resolve(t):t}catch(n){return Mo(n)}}},spawn:function(e,t,n){try{var r=m3(e.apply(n,t||[]));return!r||typeof r.then!="function"?St.resolve(r):r}catch(o){return Mo(o)}},currentTransaction:{get:function(){return Wt.trans||null}},waitFor:function(e,t){var n=St.resolve(typeof e=="function"?Bl.ignoreTransaction(e):e).timeout(t||6e4);return Wt.trans?Wt.trans.waitFor(n):n},Promise:St,debug:{get:function(){return Ls},set:function(e){WP(e,e==="dexie"?function(){return!0}:e9)}},derive:zd,extend:ra,props:jh,override:NP,Events:jm,getByKeyPath:hs,setByKeyPath:Ca,delByKeyPath:IP,shallowClone:FP,deepClone:qh,getObjectDiff:bx,asap:PP,minKey:u3,addons:[],connections:yh,errnames:_z,dependencies:function(){try{return{indexedDB:jn.indexedDB||jn.mozIndexedDB||jn.webkitIndexedDB||jn.msIndexedDB,IDBKeyRange:jn.IDBKeyRange||jn.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}}(),semVer:DM,version:DM.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,n*2)}),default:Bl,Dexie:Bl}));Bl.maxKey=Tx(Bl.dependencies.IDBKeyRange);CJ(Xu.dependencies.indexedDB);St.rejectionMapper=Xz;WP(Ls,e9);const zg="PPTIST_DISCARDED_DB",A3="PPTist",VJ=async()=>{const e=new Date().getTime(),t=localStorage.getItem(zg),n=t?JSON.parse(t):[],o=(await Xu.getDatabaseNames()).filter(i=>{if(i.indexOf(A3)===-1)return!1;const[a,s,l]=i.split("_");return!!(a!==A3||!s||!l||n.includes(s)||e-+l>=1e3*60*60*12)});for(const i of o)Xu.delete(i);localStorage.removeItem(zg)};class UJ extends Xu{constructor(){super(`${A3}_${OP}_${new Date().getTime()}`);er(this,"snapshots");er(this,"writingBoardImgs");this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}}const Sa=new UJ,qm=wp("snapshot",{state:()=>({snapshotCursor:-1,snapshotLength:0}),getters:{canUndo(e){return e.snapshotCursor>0},canRedo(e){return e.snapshotCursor<e.snapshotLength-1}},actions:{setSnapshotCursor(e){this.snapshotCursor=e},setSnapshotLength(e){this.snapshotLength=e},async initSnapshotDatabase(){const e=st(),t={index:e.slideIndex,slides:e.slides};await Sa.snapshots.add(t),this.setSnapshotCursor(0),this.setSnapshotLength(1)},async addSnapshot(){const e=st(),t=await Sa.snapshots.orderBy("id").keys();let n=[];this.snapshotCursor>=0&&this.snapshotCursor<t.length-1&&(n=t.slice(this.snapshotCursor+1));const r={index:e.slideIndex,slides:e.slides};await Sa.snapshots.add(r);let o=t.length-n.length+1;o>20&&(n.push(t[0]),o--),o>=2&&Sa.snapshots.update(t[o-2],{index:e.slideIndex}),await Sa.snapshots.bulkDelete(n),this.setSnapshotCursor(o-1),this.setSnapshotLength(o)},async unDo(){if(this.snapshotCursor<=0)return;const e=st(),t=ft(),n=this.snapshotCursor-1,o=(await Sa.snapshots.orderBy("id").toArray())[n],{index:i,slides:a}=o,s=i>a.length-1?a.length-1:i;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])},async reDo(){if(this.snapshotCursor>=this.snapshotLength-1)return;const e=st(),t=ft(),n=this.snapshotCursor+1,o=(await Sa.snapshots.orderBy("id").toArray())[n],{index:i,slides:a}=o,s=i>a.length-1?a.length-1:i;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])}}}),Ea=wp("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}}}),c9=wp("screen",{state:()=>({screening:!1}),actions:{setScreening(e){this.screening=e}}}),D0=(e,t)=>On.padStart(""+e,t,"0"),YJ=()=>!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|Mobile|BlackBerry|Symbian|Windows Phone)/i),QJ=e=>/^(https?:\/\/)([\w-]+\.)+[\w-]{2,}(\/[\w-./?%&=]*)?$/i.test(e);var dr=(e=>(e.UP="up",e.DOWN="down",e.TOP="top",e.BOTTOM="bottom",e))(dr||{}),nn=(e=>(e.TOP="top",e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.CENTER="center",e))(nn||{}),K0=(e=>(e.T="top",e.B="bottom",e.L="left",e.R="right",e))(K0||{}),mt=(e=>(e.LEFT_TOP="left-top",e.TOP="top",e.RIGHT_TOP="right-top",e.LEFT="left",e.RIGHT="right",e.LEFT_BOTTOM="left-bottom",e.BOTTOM="bottom",e.RIGHT_BOTTOM="right-bottom",e))(mt||{}),Jo=(e=>(e.START="start",e.END="end",e.C="ctrl",e.C1="ctrl1",e.C2="ctrl2",e))(Jo||{}),gt=(e=>(e.C="C",e.X="X",e.Z="Z",e.Y="Y",e.A="A",e.G="G",e.L="L",e.F="F",e.D="D",e.B="B",e.P="P",e.O="O",e.R="R",e.T="T",e.MINUS="-",e.EQUAL="=",e.DIGIT_0="0",e.DELETE="DELETE",e.UP="ARROWUP",e.DOWN="ARROWDOWN",e.LEFT="ARROWLEFT",e.RIGHT="ARROWRIGHT",e.ENTER="ENTER",e.SPACE=" ",e.TAB="TAB",e.BACKSPACE="BACKSPACE",e.ESC="ESCAPE",e.PAGEUP="PAGEUP",e.PAGEDOWN="PAGEDOWN",e.F5="F5",e))(gt||{});const ZJ=[{type:"通用",children:[{label:"剪切",value:"Ctrl + X"},{label:"复制",value:"Ctrl + C"},{label:"粘贴",value:"Ctrl + V"},{label:"粘贴为纯文本",value:"Ctrl + Shift + V"},{label:"快速复制粘贴",value:"Ctrl + D"},{label:"全选",value:"Ctrl + A"},{label:"撤销",value:"Ctrl + Z"},{label:"恢复",value:"Ctrl + Y"},{label:"删除",value:"Delete / Backspace"},{label:"多选",value:"按住 Ctrl 或 Shift"},{label:"打开搜索替换",value:"Ctrl + F"},{label:"打印",value:"Ctrl + P"},{label:"关闭弹窗",value:"ESC"}]},{type:"幻灯片放映",children:[{label:"从头开始放映幻灯片",value:"F5"},{label:"从当前开始放映幻灯片",value:"Shift + F5"},{label:"切换上一页",value:"↑ / ← / PgUp"},{label:"切换下一页",value:"↓ / → / PgDown"},{label:"切换下一页",value:"Enter / Space"},{label:"退出放映",value:"ESC"}]},{type:"幻灯片编辑",children:[{label:"新建幻灯片",value:"Enter"},{label:"移动画布",value:"Space + 鼠标拖拽"},{label:"缩放画布",value:"Ctrl + 鼠标滚轮"},{label:"放大画布",value:"Ctrl + ="},{label:"缩小画布",value:"Ctrl + -"},{label:"使画布适应当前屏幕",value:"Ctrl + 0"},{label:"上一页(未选中元素)",value:"↑"},{label:"下一页(未选中元素)",value:"↓"},{label:"上一页",value:"鼠标上滚 / PgUp"},{label:"下一页",value:"鼠标下滚 / PgDown"},{label:"快速创建文本",value:"双击空白处 / T"},{label:"快速创建矩形",value:"R"},{label:"快速创建圆形",value:"O"},{label:"快速创建线条",value:"L"},{label:"退出绘制状态",value:"鼠标右键"}]},{type:"元素操作",children:[{label:"移动",value:"↑ / ← / ↓ / →"},{label:"锁定",value:"Ctrl + L"},{label:"组合",value:"Ctrl + G"},{label:"取消组合",value:"Ctrl + Shift + G"},{label:"置顶层",value:"Alt + F"},{label:"置底层",value:"Alt + B"},{label:"锁定宽高比例",value:"按住 Ctrl 或 Shift"},{label:"创建水平 / 垂直线条",value:"按住 Ctrl 或 Shift"},{label:"切换焦点元素",value:"Tab"},{label:"确认图片裁剪",value:"Enter"},{label:"完成自定义形状绘制",value:"Enter"}]},{type:"表格编辑",children:[{label:"聚焦到下一个单元格",value:"Tab"},{label:"移动焦点单元格",value:"↑ / ← / ↓ / →"},{label:"在上方插入一行",value:"Ctrl + ↑"},{label:"在下方插入一行",value:"Ctrl + ↓"},{label:"在左侧插入一列",value:"Ctrl + ←"},{label:"在右侧插入一列",value:"Ctrl + →"}]},{type:"图表数据编辑",children:[{label:"聚焦到下一行",value:"Enter"}]},{type:"文本编辑",children:[{label:"加粗",value:"Ctrl + B"},{label:"斜体",value:"Ctrl + I"},{label:"下划线",value:"Ctrl + U"},{label:"行内代码",value:"Ctrl + E"},{label:"上角标",value:"Ctrl + ;"},{label:"下角标",value:"Ctrl + '"},{label:"选中段落",value:"ESC"}]}];var u9={exports:{}};/*!
|
||
* clipboard.js v2.0.11
|
||
* https://clipboardjs.com/
|
||
*
|
||
* Licensed MIT © Zeno Rocha
|
||
*/(function(e,t){(function(r,o){e.exports=o()})(kt,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return Q}});var l=s(279),c=s.n(l),u=s(370),f=s.n(u),d=s(817),h=s.n(d);function p(K){try{return document.execCommand(K)}catch{return!1}}var v=function(B){var D=h()(B);return p("cut"),D},m=v;function x(K){var B=document.documentElement.getAttribute("dir")==="rtl",D=document.createElement("textarea");D.style.fontSize="12pt",D.style.border="0",D.style.padding="0",D.style.margin="0",D.style.position="absolute",D.style[B?"right":"left"]="-9999px";var G=window.pageYOffset||document.documentElement.scrollTop;return D.style.top="".concat(G,"px"),D.setAttribute("readonly",""),D.value=K,D}var y=function(B,D){var G=x(B);D.container.appendChild(G);var ae=h()(G);return p("copy"),G.remove(),ae},R=function(B){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},G="";return typeof B=="string"?G=y(B,D):B instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(B==null?void 0:B.type)?G=y(B.value,D):(G=h()(B),p("copy")),G},A=R;function b(K){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(D){return typeof D}:b=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},b(K)}var M=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=B.action,G=D===void 0?"copy":D,ae=B.container,se=B.target,J=B.text;if(G!=="copy"&&G!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(se!==void 0)if(se&&b(se)==="object"&&se.nodeType===1){if(G==="copy"&&se.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(G==="cut"&&(se.hasAttribute("readonly")||se.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(J)return A(J,{container:ae});if(se)return G==="cut"?m(se):A(se,{container:ae})},T=M;function w(K){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(D){return typeof D}:w=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},w(K)}function L(K,B){if(!(K instanceof B))throw new TypeError("Cannot call a class as a function")}function k(K,B){for(var D=0;D<B.length;D++){var G=B[D];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(K,G.key,G)}}function E(K,B,D){return B&&k(K.prototype,B),D&&k(K,D),K}function P(K,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");K.prototype=Object.create(B&&B.prototype,{constructor:{value:K,writable:!0,configurable:!0}}),B&&W(K,B)}function W(K,B){return W=Object.setPrototypeOf||function(G,ae){return G.__proto__=ae,G},W(K,B)}function N(K){var B=X();return function(){var G=Y(K),ae;if(B){var se=Y(this).constructor;ae=Reflect.construct(G,arguments,se)}else ae=G.apply(this,arguments);return _(this,ae)}}function _(K,B){return B&&(w(B)==="object"||typeof B=="function")?B:C(K)}function C(K){if(K===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K}function X(){if(typeof Reflect>"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 Y(K){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(D){return D.__proto__||Object.getPrototypeOf(D)},Y(K)}function $(K,B){var D="data-clipboard-".concat(K);if(B.hasAttribute(D))return B.getAttribute(D)}var le=function(K){P(D,K);var B=N(D);function D(G,ae){var se;return L(this,D),se=B.call(this),se.resolveOptions(ae),se.listenClick(G),se}return E(D,[{key:"resolveOptions",value:function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof ae.action=="function"?ae.action:this.defaultAction,this.target=typeof ae.target=="function"?ae.target:this.defaultTarget,this.text=typeof ae.text=="function"?ae.text:this.defaultText,this.container=w(ae.container)==="object"?ae.container:document.body}},{key:"listenClick",value:function(ae){var se=this;this.listener=f()(ae,"click",function(J){return se.onClick(J)})}},{key:"onClick",value:function(ae){var se=ae.delegateTarget||ae.currentTarget,J=this.action(se)||"copy",Re=T({action:J,container:this.container,target:this.target(se),text:this.text(se)});this.emit(Re?"success":"error",{action:J,text:Re,trigger:se,clearSelection:function(){se&&se.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(ae){return $("action",ae)}},{key:"defaultTarget",value:function(ae){var se=$("target",ae);if(se)return document.querySelector(se)}},{key:"defaultText",value:function(ae){return $("text",ae)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(ae){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return A(ae,se)}},{key:"cut",value:function(ae){return m(ae)}},{key:"isSupported",value:function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],se=typeof ae=="string"?[ae]:ae,J=!!document.queryCommandSupported;return se.forEach(function(Re){J=J&&!!document.queryCommandSupported(Re)}),J}}]),D}(c()),Q=le},828:function(i){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(c,u){for(;c&&c.nodeType!==a;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}i.exports=l},438:function(i,a,s){var l=s(828);function c(d,h,p,v,m){var x=f.apply(this,arguments);return d.addEventListener(p,x,m),{destroy:function(){d.removeEventListener(p,x,m)}}}function u(d,h,p,v,m){return typeof d.addEventListener=="function"?c.apply(null,arguments):typeof p=="function"?c.bind(null,document).apply(null,arguments):(typeof d=="string"&&(d=document.querySelectorAll(d)),Array.prototype.map.call(d,function(x){return c(x,h,p,v,m)}))}function f(d,h,p,v){return function(m){m.delegateTarget=l(m.target,h),m.delegateTarget&&v.call(d,m)}}i.exports=u},879:function(i,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(i,a,s){var l=s(879),c=s(438);function u(p,v,m){if(!p&&!v&&!m)throw new Error("Missing required arguments");if(!l.string(v))throw new TypeError("Second argument must be a String");if(!l.fn(m))throw new TypeError("Third argument must be a Function");if(l.node(p))return f(p,v,m);if(l.nodeList(p))return d(p,v,m);if(l.string(p))return h(p,v,m);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(p,v,m){return p.addEventListener(v,m),{destroy:function(){p.removeEventListener(v,m)}}}function d(p,v,m){return Array.prototype.forEach.call(p,function(x){x.addEventListener(v,m)}),{destroy:function(){Array.prototype.forEach.call(p,function(x){x.removeEventListener(v,m)})}}}function h(p,v,m){return c(document.body,p,v,m)}i.exports=u},817:function(i){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),f=document.createRange();f.selectNodeContents(s),u.removeAllRanges(),u.addRange(f),l=u.toString()}return l}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,l,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:l,ctx:c}),this},once:function(s,l,c){var u=this;function f(){u.off(s,f),l.apply(c,arguments)}return f._=l,this.on(s,f,c)},emit:function(s){var l=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,f=c.length;for(u;u<f;u++)c[u].fn.apply(c[u].ctx,l);return this},off:function(s,l){var c=this.e||(this.e={}),u=c[s],f=[];if(u&&l)for(var d=0,h=u.length;d<h;d++)u[d].fn!==l&&u[d].fn._!==l&&f.push(u[d]);return f.length?c[s]=f:delete c[s],this}},i.exports=a,i.exports.TinyEmitter=a}},r={};function o(i){if(r[i])return r[i].exports;var a=r[i]={exports:{}};return n[i](a,a.exports,o),a.exports}return function(){o.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(a,{a}),a}}(),function(){o.d=function(i,a){for(var s in a)o.o(a,s)&&!o.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:a[s]})}}(),function(){o.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)}}(),o(686)}().default})})(u9);var BJ=u9.exports;const DJ=zm(BJ);var f9={exports:{}};function H0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var yR={exports:{}};const KJ={},HJ=Object.freeze(Object.defineProperty({__proto__:null,default:KJ},Symbol.toStringTag,{value:"Module"})),GJ=Rx(HJ);var zM;function xn(){return zM||(zM=1,function(e,t){(function(n,r){e.exports=r()})(kt,function(){var n=n||function(r,o){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof kt<"u"&&kt.crypto&&(i=kt.crypto),!i&&typeof H0=="function")try{i=GJ}catch{}var a=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(R){var A;return y.prototype=R,A=new y,y.prototype=null,A}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(y){var R=s(this);return y&&R.mixIn(y),(!R.hasOwnProperty("init")||this.init===R.init)&&(R.init=function(){R.$super.init.apply(this,arguments)}),R.init.prototype=R,R.$super=this,R},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var R in y)y.hasOwnProperty(R)&&(this[R]=y[R]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(y,R){y=this.words=y||[],R!=o?this.sigBytes=R:this.sigBytes=y.length*4},toString:function(y){return(y||h).stringify(this)},concat:function(y){var R=this.words,A=y.words,b=this.sigBytes,M=y.sigBytes;if(this.clamp(),b%4)for(var T=0;T<M;T++){var w=A[T>>>2]>>>24-T%4*8&255;R[b+T>>>2]|=w<<24-(b+T)%4*8}else for(var L=0;L<M;L+=4)R[b+L>>>2]=A[L>>>2];return this.sigBytes+=M,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=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var R=[],A=0;A<y;A+=4)R.push(a());return new f.init(R,y)}}),d=l.enc={},h=d.Hex={stringify:function(y){for(var R=y.words,A=y.sigBytes,b=[],M=0;M<A;M++){var T=R[M>>>2]>>>24-M%4*8&255;b.push((T>>>4).toString(16)),b.push((T&15).toString(16))}return b.join("")},parse:function(y){for(var R=y.length,A=[],b=0;b<R;b+=2)A[b>>>3]|=parseInt(y.substr(b,2),16)<<24-b%8*4;return new f.init(A,R/2)}},p=d.Latin1={stringify:function(y){for(var R=y.words,A=y.sigBytes,b=[],M=0;M<A;M++){var T=R[M>>>2]>>>24-M%4*8&255;b.push(String.fromCharCode(T))}return b.join("")},parse:function(y){for(var R=y.length,A=[],b=0;b<R;b++)A[b>>>2]|=(y.charCodeAt(b)&255)<<24-b%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)))}},m=c.BufferedBlockAlgorithm=u.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,b=A.words,M=A.sigBytes,T=this.blockSize,w=T*4,L=M/w;y?L=r.ceil(L):L=r.max((L|0)-this._minBufferSize,0);var k=L*T,E=r.min(k*4,M);if(k){for(var P=0;P<k;P+=T)this._doProcessBlock(b,P);R=b.splice(0,k),A.sigBytes-=E}return new f.init(R,E)},clone:function(){var y=u.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});c.Hasher=m.extend({cfg:u.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){m.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 x.HMAC.init(y,A).finalize(R)}}});var x=l.algo={};return l}(Math);return n})}(yR)),yR.exports}var bR={exports:{}},JM;function e2(){return JM||(JM=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){return function(r){var o=n,i=o.lib,a=i.Base,s=i.WordArray,l=o.x64={};l.Word=a.extend({init:function(c,u){this.high=c,this.low=u}}),l.WordArray=a.extend({init:function(c,u){c=this.words=c||[],u!=r?this.sigBytes=u:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,u=c.length,f=[],d=0;d<u;d++){var h=c[d];f.push(h.high),f.push(h.low)}return s.create(f,this.sigBytes)},clone:function(){for(var c=a.clone.call(this),u=c.words=this.words.slice(0),f=u.length,d=0;d<f;d++)u[d]=u[d].clone();return c}})}(),n})}(bR)),bR.exports}var xR={exports:{}},$M;function zJ(){return $M||($M=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,o=r.lib,i=o.WordArray,a=i.init,s=i.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var c=l.byteLength,u=[],f=0;f<c;f++)u[f>>>2]|=l[f]<<24-f%4*8;a.call(this,u,c)}else a.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(xR)),xR.exports}var SR={exports:{}},jM;function JJ(){return jM||(jM=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Utf16=a.Utf16BE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d<u;d+=2){var h=c[d>>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f<c;f++)u[f>>>1]|=l.charCodeAt(f)<<16-f%2*16;return i.create(u,c*2)}},a.Utf16LE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d<u;d+=2){var h=s(c[d>>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f<c;f++)u[f>>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return i.create(u,c*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(SR)),SR.exports}var MR={exports:{}},qM;function Hu(){return qM||(qM=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,f=this._map;l.clamp();for(var d=[],h=0;h<u;h+=3)for(var p=c[h>>>2]>>>24-h%4*8&255,v=c[h+1>>>2]>>>24-(h+1)%4*8&255,m=c[h+2>>>2]>>>24-(h+2)%4*8&255,x=p<<16|v<<8|m,y=0;y<4&&h+y*.75<u;y++)d.push(f.charAt(x>>>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 c=l.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d<u.length;d++)f[u.charCodeAt(d)]=d}var h=u.charAt(64);if(h){var p=l.indexOf(h);p!==-1&&(c=p)}return s(l,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(l,c,u){for(var f=[],d=0,h=0;h<c;h++)if(h%4){var p=u[l.charCodeAt(h-1)]<<h%4*2,v=u[l.charCodeAt(h)]>>>6-h%4*2,m=p|v;f[d>>>2]|=m<<24-d%4*8,d++}return i.create(f,d)}}(),n.enc.Base64})}(MR)),MR.exports}var wR={exports:{}},ew;function $J(){return ew||(ew=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Base64url={stringify:function(l,c){c===void 0&&(c=!0);var u=l.words,f=l.sigBytes,d=c?this._safe_map:this._map;l.clamp();for(var h=[],p=0;p<f;p+=3)for(var v=u[p>>>2]>>>24-p%4*8&255,m=u[p+1>>>2]>>>24-(p+1)%4*8&255,x=u[p+2>>>2]>>>24-(p+2)%4*8&255,y=v<<16|m<<8|x,R=0;R<4&&p+R*.75<f;R++)h.push(d.charAt(y>>>6*(3-R)&63));var A=d.charAt(64);if(A)for(;h.length%4;)h.push(A);return h.join("")},parse:function(l,c){c===void 0&&(c=!0);var u=l.length,f=c?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h<f.length;h++)d[f.charCodeAt(h)]=h}var p=f.charAt(64);if(p){var v=l.indexOf(p);v!==-1&&(u=v)}return s(l,u,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(l,c,u){for(var f=[],d=0,h=0;h<c;h++)if(h%4){var p=u[l.charCodeAt(h-1)]<<h%4*2,v=u[l.charCodeAt(h)]>>>6-h%4*2,m=p|v;f[d>>>2]|=m<<24-d%4*8,d++}return i.create(f,d)}}(),n.enc.Base64url})}(wR)),wR.exports}var LR={exports:{}},tw;function Gu(){return tw||(tw=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,l=o.algo,c=[];(function(){for(var v=0;v<64;v++)c[v]=r.abs(r.sin(v+1))*4294967296|0})();var u=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,m){for(var x=0;x<16;x++){var y=m+x,R=v[y];v[y]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}var A=this._hash.words,b=v[m+0],M=v[m+1],T=v[m+2],w=v[m+3],L=v[m+4],k=v[m+5],E=v[m+6],P=v[m+7],W=v[m+8],N=v[m+9],_=v[m+10],C=v[m+11],X=v[m+12],Y=v[m+13],$=v[m+14],le=v[m+15],Q=A[0],K=A[1],B=A[2],D=A[3];Q=f(Q,K,B,D,b,7,c[0]),D=f(D,Q,K,B,M,12,c[1]),B=f(B,D,Q,K,T,17,c[2]),K=f(K,B,D,Q,w,22,c[3]),Q=f(Q,K,B,D,L,7,c[4]),D=f(D,Q,K,B,k,12,c[5]),B=f(B,D,Q,K,E,17,c[6]),K=f(K,B,D,Q,P,22,c[7]),Q=f(Q,K,B,D,W,7,c[8]),D=f(D,Q,K,B,N,12,c[9]),B=f(B,D,Q,K,_,17,c[10]),K=f(K,B,D,Q,C,22,c[11]),Q=f(Q,K,B,D,X,7,c[12]),D=f(D,Q,K,B,Y,12,c[13]),B=f(B,D,Q,K,$,17,c[14]),K=f(K,B,D,Q,le,22,c[15]),Q=d(Q,K,B,D,M,5,c[16]),D=d(D,Q,K,B,E,9,c[17]),B=d(B,D,Q,K,C,14,c[18]),K=d(K,B,D,Q,b,20,c[19]),Q=d(Q,K,B,D,k,5,c[20]),D=d(D,Q,K,B,_,9,c[21]),B=d(B,D,Q,K,le,14,c[22]),K=d(K,B,D,Q,L,20,c[23]),Q=d(Q,K,B,D,N,5,c[24]),D=d(D,Q,K,B,$,9,c[25]),B=d(B,D,Q,K,w,14,c[26]),K=d(K,B,D,Q,W,20,c[27]),Q=d(Q,K,B,D,Y,5,c[28]),D=d(D,Q,K,B,T,9,c[29]),B=d(B,D,Q,K,P,14,c[30]),K=d(K,B,D,Q,X,20,c[31]),Q=h(Q,K,B,D,k,4,c[32]),D=h(D,Q,K,B,W,11,c[33]),B=h(B,D,Q,K,C,16,c[34]),K=h(K,B,D,Q,$,23,c[35]),Q=h(Q,K,B,D,M,4,c[36]),D=h(D,Q,K,B,L,11,c[37]),B=h(B,D,Q,K,P,16,c[38]),K=h(K,B,D,Q,_,23,c[39]),Q=h(Q,K,B,D,Y,4,c[40]),D=h(D,Q,K,B,b,11,c[41]),B=h(B,D,Q,K,w,16,c[42]),K=h(K,B,D,Q,E,23,c[43]),Q=h(Q,K,B,D,N,4,c[44]),D=h(D,Q,K,B,X,11,c[45]),B=h(B,D,Q,K,le,16,c[46]),K=h(K,B,D,Q,T,23,c[47]),Q=p(Q,K,B,D,b,6,c[48]),D=p(D,Q,K,B,P,10,c[49]),B=p(B,D,Q,K,$,15,c[50]),K=p(K,B,D,Q,k,21,c[51]),Q=p(Q,K,B,D,X,6,c[52]),D=p(D,Q,K,B,w,10,c[53]),B=p(B,D,Q,K,_,15,c[54]),K=p(K,B,D,Q,M,21,c[55]),Q=p(Q,K,B,D,W,6,c[56]),D=p(D,Q,K,B,le,10,c[57]),B=p(B,D,Q,K,E,15,c[58]),K=p(K,B,D,Q,Y,21,c[59]),Q=p(Q,K,B,D,L,6,c[60]),D=p(D,Q,K,B,C,10,c[61]),B=p(B,D,Q,K,T,15,c[62]),K=p(K,B,D,Q,N,21,c[63]),A[0]=A[0]+Q|0,A[1]=A[1]+K|0,A[2]=A[2]+B|0,A[3]=A[3]+D|0},_doFinalize:function(){var v=this._data,m=v.words,x=this._nDataBytes*8,y=v.sigBytes*8;m[y>>>5]|=128<<24-y%32;var R=r.floor(x/4294967296),A=x;m[(y+64>>>9<<4)+15]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,m[(y+64>>>9<<4)+14]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,v.sigBytes=(m.length+1)*4,this._process();for(var b=this._hash,M=b.words,T=0;T<4;T++){var w=M[T];M[T]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return b},clone:function(){var v=s.clone.call(this);return v._hash=this._hash.clone(),v}});function f(v,m,x,y,R,A,b){var M=v+(m&x|~m&y)+R+b;return(M<<A|M>>>32-A)+m}function d(v,m,x,y,R,A,b){var M=v+(m&y|x&~y)+R+b;return(M<<A|M>>>32-A)+m}function h(v,m,x,y,R,A,b){var M=v+(m^x^y)+R+b;return(M<<A|M>>>32-A)+m}function p(v,m,x,y,R,A,b){var M=v+(x^(m|~y))+R+b;return(M<<A|M>>>32-A)+m}o.MD5=s._createHelper(u),o.HmacMD5=s._createHmacHelper(u)}(Math),n.MD5})}(LR)),LR.exports}var OR={exports:{}},nw;function d9(){return nw||(nw=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=o.Hasher,s=r.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,h=d[0],p=d[1],v=d[2],m=d[3],x=d[4],y=0;y<80;y++){if(y<16)l[y]=u[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)+x+l[y];y<20?A+=(p&v|~p&m)+1518500249:y<40?A+=(p^v^m)+1859775393:y<60?A+=(p&v|p&m|v&m)-1894007588:A+=(p^v^m)-899497514,x=m,m=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]+m|0,d[4]=d[4]+x|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,h=u.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,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=a.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA1=a._createHelper(c),r.HmacSHA1=a._createHmacHelper(c)}(),n.SHA1})}(OR)),OR.exports}var TR={exports:{}},rw;function Cx(){return rw||(rw=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,l=o.algo,c=[],u=[];(function(){function h(x){for(var y=r.sqrt(x),R=2;R<=y;R++)if(!(x%R))return!1;return!0}function p(x){return(x-(x|0))*4294967296|0}for(var v=2,m=0;m<64;)h(v)&&(m<8&&(c[m]=p(r.pow(v,1/2))),u[m]=p(r.pow(v,1/3)),m++),v++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(c.slice(0))},_doProcessBlock:function(h,p){for(var v=this._hash.words,m=v[0],x=v[1],y=v[2],R=v[3],A=v[4],b=v[5],M=v[6],T=v[7],w=0;w<64;w++){if(w<16)f[w]=h[p+w]|0;else{var L=f[w-15],k=(L<<25|L>>>7)^(L<<14|L>>>18)^L>>>3,E=f[w-2],P=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;f[w]=k+f[w-7]+P+f[w-16]}var W=A&b^~A&M,N=m&x^m&y^x&y,_=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),C=(A<<26|A>>>6)^(A<<21|A>>>11)^(A<<7|A>>>25),X=T+C+W+u[w]+f[w],Y=_+N;T=M,M=b,b=A,A=R+X|0,R=y,y=x,x=m,m=X+Y|0}v[0]=v[0]+m|0,v[1]=v[1]+x|0,v[2]=v[2]+y|0,v[3]=v[3]+R|0,v[4]=v[4]+A|0,v[5]=v[5]+b|0,v[6]=v[6]+M|0,v[7]=v[7]+T|0},_doFinalize:function(){var h=this._data,p=h.words,v=this._nDataBytes*8,m=h.sigBytes*8;return p[m>>>5]|=128<<24-m%32,p[(m+64>>>9<<4)+14]=r.floor(v/4294967296),p[(m+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}});o.SHA256=s._createHelper(d),o.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(TR)),TR.exports}var kR={exports:{}},ow;function jJ(){return ow||(ow=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Cx())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});r.SHA224=s._createHelper(l),r.HmacSHA224=s._createHmacHelper(l)}(),n.SHA224})}(kR)),kR.exports}var NR={exports:{}},iw;function h9(){return iw||(iw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),e2())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.Hasher,a=r.x64,s=a.Word,l=a.WordArray,c=r.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=u()})();var h=c.SHA512=i.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 m=this._hash.words,x=m[0],y=m[1],R=m[2],A=m[3],b=m[4],M=m[5],T=m[6],w=m[7],L=x.high,k=x.low,E=y.high,P=y.low,W=R.high,N=R.low,_=A.high,C=A.low,X=b.high,Y=b.low,$=M.high,le=M.low,Q=T.high,K=T.low,B=w.high,D=w.low,G=L,ae=k,se=E,J=P,Re=W,fe=N,me=_,ue=C,z=X,F=Y,j=$,ie=le,q=Q,te=K,re=B,he=D,ce=0;ce<80;ce++){var pe,xe,_e=d[ce];if(ce<16)xe=_e.high=p[v+ce*2]|0,pe=_e.low=p[v+ce*2+1]|0;else{var Ae=d[ce-15],Be=Ae.high,Te=Ae.low,De=(Be>>>1|Te<<31)^(Be>>>8|Te<<24)^Be>>>7,ye=(Te>>>1|Be<<31)^(Te>>>8|Be<<24)^(Te>>>7|Be<<25),Le=d[ce-2],Pe=Le.high,Ye=Le.low,rt=(Pe>>>19|Ye<<13)^(Pe<<3|Ye>>>29)^Pe>>>6,Ne=(Ye>>>19|Pe<<13)^(Ye<<3|Pe>>>29)^(Ye>>>6|Pe<<26),Ke=d[ce-7],et=Ke.high,At=Ke.low,ut=d[ce-16],dt=ut.high,yt=ut.low;pe=ye+At,xe=De+et+(pe>>>0<ye>>>0?1:0),pe=pe+Ne,xe=xe+rt+(pe>>>0<Ne>>>0?1:0),pe=pe+yt,xe=xe+dt+(pe>>>0<yt>>>0?1:0),_e.high=xe,_e.low=pe}var _t=z&j^~z&q,Zt=F&ie^~F&te,Tn=G&se^G&Re^se&Re,ua=ae&J^ae&fe^J&fe,Va=(G>>>28|ae<<4)^(G<<30|ae>>>2)^(G<<25|ae>>>7),uo=(ae>>>28|G<<4)^(ae<<30|G>>>2)^(ae<<25|G>>>7),rf=(z>>>14|F<<18)^(z>>>18|F<<14)^(z<<23|F>>>9),Fc=(F>>>14|z<<18)^(F>>>18|z<<14)^(F<<23|z>>>9),Os=f[ce],V2=Os.high,of=Os.low,Lo=he+Fc,Ei=re+rf+(Lo>>>0<he>>>0?1:0),Lo=Lo+Zt,Ei=Ei+_t+(Lo>>>0<Zt>>>0?1:0),Lo=Lo+of,Ei=Ei+V2+(Lo>>>0<of>>>0?1:0),Lo=Lo+pe,Ei=Ei+xe+(Lo>>>0<pe>>>0?1:0),r1=uo+ua,U2=Va+Tn+(r1>>>0<uo>>>0?1:0);re=q,he=te,q=j,te=ie,j=z,ie=F,F=ue+Lo|0,z=me+Ei+(F>>>0<ue>>>0?1:0)|0,me=Re,ue=fe,Re=se,fe=J,se=G,J=ae,ae=Lo+r1|0,G=Ei+U2+(ae>>>0<Lo>>>0?1:0)|0}k=x.low=k+ae,x.high=L+G+(k>>>0<ae>>>0?1:0),P=y.low=P+J,y.high=E+se+(P>>>0<J>>>0?1:0),N=R.low=N+fe,R.high=W+Re+(N>>>0<fe>>>0?1:0),C=A.low=C+ue,A.high=_+me+(C>>>0<ue>>>0?1:0),Y=b.low=Y+F,b.high=X+z+(Y>>>0<F>>>0?1:0),le=M.low=le+ie,M.high=$+j+(le>>>0<ie>>>0?1:0),K=T.low=K+te,T.high=Q+q+(K>>>0<te>>>0?1:0),D=w.low=D+he,w.high=B+re+(D>>>0<he>>>0?1:0)},_doFinalize:function(){var p=this._data,v=p.words,m=this._nDataBytes*8,x=p.sigBytes*8;v[x>>>5]|=128<<24-x%32,v[(x+128>>>10<<5)+30]=Math.floor(m/4294967296),v[(x+128>>>10<<5)+31]=m,p.sigBytes=v.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var p=i.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=i._createHelper(h),r.HmacSHA512=i._createHmacHelper(h)}(),n.SHA512})}(NR)),NR.exports}var PR={exports:{}},aw;function qJ(){return aw||(aw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),e2(),h9())})(kt,function(n){return function(){var r=n,o=r.x64,i=o.Word,a=o.WordArray,s=r.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=16,u}});r.SHA384=l._createHelper(c),r.HmacSHA384=l._createHmacHelper(c)}(),n.SHA384})}(PR)),PR.exports}var CR={exports:{}},sw;function e$(){return sw||(sw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),e2())})(kt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,l=o.x64,c=l.Word,u=o.algo,f=[],d=[],h=[];(function(){for(var m=1,x=0,y=0;y<24;y++){f[m+5*x]=(y+1)*(y+2)/2%64;var R=x%5,A=(2*m+3*x)%5;m=R,x=A}for(var m=0;m<5;m++)for(var x=0;x<5;x++)d[m+5*x]=x+(2*m+3*x)%5*5;for(var b=1,M=0;M<24;M++){for(var T=0,w=0,L=0;L<7;L++){if(b&1){var k=(1<<L)-1;k<32?w^=1<<k:T^=1<<k-32}b&128?b=b<<1^113:b<<=1}h[M]=c.create(T,w)}})();var p=[];(function(){for(var m=0;m<25;m++)p[m]=c.create()})();var v=u.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var m=this._state=[],x=0;x<25;x++)m[x]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(m,x){for(var y=this._state,R=this.blockSize/2,A=0;A<R;A++){var b=m[x+2*A],M=m[x+2*A+1];b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360;var T=y[A];T.high^=M,T.low^=b}for(var w=0;w<24;w++){for(var L=0;L<5;L++){for(var k=0,E=0,P=0;P<5;P++){var T=y[L+5*P];k^=T.high,E^=T.low}var W=p[L];W.high=k,W.low=E}for(var L=0;L<5;L++)for(var N=p[(L+4)%5],_=p[(L+1)%5],C=_.high,X=_.low,k=N.high^(C<<1|X>>>31),E=N.low^(X<<1|C>>>31),P=0;P<5;P++){var T=y[L+5*P];T.high^=k,T.low^=E}for(var Y=1;Y<25;Y++){var k,E,T=y[Y],$=T.high,le=T.low,Q=f[Y];Q<32?(k=$<<Q|le>>>32-Q,E=le<<Q|$>>>32-Q):(k=le<<Q-32|$>>>64-Q,E=$<<Q-32|le>>>64-Q);var K=p[d[Y]];K.high=k,K.low=E}var B=p[0],D=y[0];B.high=D.high,B.low=D.low;for(var L=0;L<5;L++)for(var P=0;P<5;P++){var Y=L+5*P,T=y[Y],G=p[Y],ae=p[(L+1)%5+5*P],se=p[(L+2)%5+5*P];T.high=G.high^~ae.high&se.high,T.low=G.low^~ae.low&se.low}var T=y[0],J=h[w];T.high^=J.high,T.low^=J.low}},_doFinalize:function(){var m=this._data,x=m.words;this._nDataBytes*8;var y=m.sigBytes*8,R=this.blockSize*32;x[y>>>5]|=1<<24-y%32,x[(r.ceil((y+1)/R)*R>>>5)-1]|=128,m.sigBytes=x.length*4,this._process();for(var A=this._state,b=this.cfg.outputLength/8,M=b/8,T=[],w=0;w<M;w++){var L=A[w],k=L.high,E=L.low;k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T.push(E),T.push(k)}return new a.init(T,b)},clone:function(){for(var m=s.clone.call(this),x=m._state=this._state.slice(0),y=0;y<25;y++)x[y]=x[y].clone();return m}});o.SHA3=s._createHelper(v),o.HmacSHA3=s._createHmacHelper(v)}(Math),n.SHA3})}(CR)),CR.exports}var IR={exports:{}},lw;function t$(){return lw||(lw=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,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:
|
||
|
||
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||
- 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 o=n,i=o.lib,a=i.WordArray,s=i.Hasher,l=o.algo,c=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]),u=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(M,T){for(var w=0;w<16;w++){var L=T+w,k=M[L];M[L]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}var E=this._hash.words,P=h.words,W=p.words,N=c.words,_=u.words,C=f.words,X=d.words,Y,$,le,Q,K,B,D,G,ae,se;B=Y=E[0],D=$=E[1],G=le=E[2],ae=Q=E[3],se=K=E[4];for(var J,w=0;w<80;w+=1)J=Y+M[T+N[w]]|0,w<16?J+=m($,le,Q)+P[0]:w<32?J+=x($,le,Q)+P[1]:w<48?J+=y($,le,Q)+P[2]:w<64?J+=R($,le,Q)+P[3]:J+=A($,le,Q)+P[4],J=J|0,J=b(J,C[w]),J=J+K|0,Y=K,K=Q,Q=b(le,10),le=$,$=J,J=B+M[T+_[w]]|0,w<16?J+=A(D,G,ae)+W[0]:w<32?J+=R(D,G,ae)+W[1]:w<48?J+=y(D,G,ae)+W[2]:w<64?J+=x(D,G,ae)+W[3]:J+=m(D,G,ae)+W[4],J=J|0,J=b(J,X[w]),J=J+se|0,B=se,se=ae,ae=b(G,10),G=D,D=J;J=E[1]+le+ae|0,E[1]=E[2]+Q+se|0,E[2]=E[3]+K+B|0,E[3]=E[4]+Y+D|0,E[4]=E[0]+$+G|0,E[0]=J},_doFinalize:function(){var M=this._data,T=M.words,w=this._nDataBytes*8,L=M.sigBytes*8;T[L>>>5]|=128<<24-L%32,T[(L+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,M.sigBytes=(T.length+1)*4,this._process();for(var k=this._hash,E=k.words,P=0;P<5;P++){var W=E[P];E[P]=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360}return k},clone:function(){var M=s.clone.call(this);return M._hash=this._hash.clone(),M}});function m(M,T,w){return M^T^w}function x(M,T,w){return M&T|~M&w}function y(M,T,w){return(M|~T)^w}function R(M,T,w){return M&w|T&~w}function A(M,T,w){return M^(T|~w)}function b(M,T){return M<<T|M>>>32-T}o.RIPEMD160=s._createHelper(v),o.HmacRIPEMD160=s._createHmacHelper(v)}(),n.RIPEMD160})}(IR)),IR.exports}var FR={exports:{}},cw;function Ix(){return cw||(cw=1,function(e,t){(function(n,r){e.exports=r(xn())})(kt,function(n){(function(){var r=n,o=r.lib,i=o.Base,a=r.enc,s=a.Utf8,l=r.algo;l.HMAC=i.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=s.parse(u));var f=c.blockSize,d=f*4;u.sigBytes>d&&(u=c.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),p=this._iKey=u.clone(),v=h.words,m=p.words,x=0;x<f;x++)v[x]^=1549556828,m[x]^=909522486;h.sigBytes=p.sigBytes=d,this.reset()},reset:function(){var c=this._hasher;c.reset(),c.update(this._iKey)},update:function(c){return this._hasher.update(c),this},finalize:function(c){var u=this._hasher,f=u.finalize(c);u.reset();var d=u.finalize(this._oKey.clone().concat(f));return d}})})()})}(FR)),FR.exports}var _R={exports:{}},uw;function n$(){return uw||(uw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Cx(),Ix())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.Base,a=o.WordArray,s=r.algo,l=s.SHA256,c=s.HMAC,u=s.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,d){for(var h=this.cfg,p=c.create(h.hasher,f),v=a.create(),m=a.create([1]),x=v.words,y=m.words,R=h.keySize,A=h.iterations;x.length<R;){var b=p.update(d).finalize(m);p.reset();for(var M=b.words,T=M.length,w=b,L=1;L<A;L++){w=p.finalize(w),p.reset();for(var k=w.words,E=0;E<T;E++)M[E]^=k[E]}v.concat(b),y[0]++}return v.sigBytes=R*4,v}});r.PBKDF2=function(f,d,h){return u.create(h).compute(f,d)}}(),n.PBKDF2})}(_R)),_R.exports}var ER={exports:{}},fw;function wc(){return fw||(fw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),d9(),Ix())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.Base,a=o.WordArray,s=r.algo,l=s.MD5,c=s.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:l,iterations:1}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,f){for(var d,h=this.cfg,p=h.hasher.create(),v=a.create(),m=v.words,x=h.keySize,y=h.iterations;m.length<x;){d&&p.update(d),d=p.update(u).finalize(f),p.reset();for(var R=1;R<y;R++)d=p.finalize(d),p.reset();v.concat(d)}return v.sigBytes=x*4,v}});r.EvpKDF=function(u,f,d){return c.create(d).compute(u,f)}}(),n.EvpKDF})}(ER)),ER.exports}var XR={exports:{}},dw;function Jr(){return dw||(dw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),wc())})(kt,function(n){n.lib.Cipher||function(r){var o=n,i=o.lib,a=i.Base,s=i.WordArray,l=i.BufferedBlockAlgorithm,c=o.enc;c.Utf8;var u=c.Base64,f=o.algo,d=f.EvpKDF,h=i.Cipher=l.extend({cfg:a.extend(),createEncryptor:function(k,E){return this.create(this._ENC_XFORM_MODE,k,E)},createDecryptor:function(k,E){return this.create(this._DEC_XFORM_MODE,k,E)},init:function(k,E,P){this.cfg=this.cfg.extend(P),this._xformMode=k,this._key=E,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(k){return this._append(k),this._process()},finalize:function(k){k&&this._append(k);var E=this._doFinalize();return E},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function k(E){return typeof E=="string"?L:M}return function(E){return{encrypt:function(P,W,N){return k(W).encrypt(E,P,W,N)},decrypt:function(P,W,N){return k(W).decrypt(E,P,W,N)}}}}()});i.StreamCipher=h.extend({_doFinalize:function(){var k=this._process(!0);return k},blockSize:1});var p=o.mode={},v=i.BlockCipherMode=a.extend({createEncryptor:function(k,E){return this.Encryptor.create(k,E)},createDecryptor:function(k,E){return this.Decryptor.create(k,E)},init:function(k,E){this._cipher=k,this._iv=E}}),m=p.CBC=function(){var k=v.extend();k.Encryptor=k.extend({processBlock:function(P,W){var N=this._cipher,_=N.blockSize;E.call(this,P,W,_),N.encryptBlock(P,W),this._prevBlock=P.slice(W,W+_)}}),k.Decryptor=k.extend({processBlock:function(P,W){var N=this._cipher,_=N.blockSize,C=P.slice(W,W+_);N.decryptBlock(P,W),E.call(this,P,W,_),this._prevBlock=C}});function E(P,W,N){var _,C=this._iv;C?(_=C,this._iv=r):_=this._prevBlock;for(var X=0;X<N;X++)P[W+X]^=_[X]}return k}(),x=o.pad={},y=x.Pkcs7={pad:function(k,E){for(var P=E*4,W=P-k.sigBytes%P,N=W<<24|W<<16|W<<8|W,_=[],C=0;C<W;C+=4)_.push(N);var X=s.create(_,W);k.concat(X)},unpad:function(k){var E=k.words[k.sigBytes-1>>>2]&255;k.sigBytes-=E}};i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:m,padding:y}),reset:function(){var k;h.reset.call(this);var E=this.cfg,P=E.iv,W=E.mode;this._xformMode==this._ENC_XFORM_MODE?k=W.createEncryptor:(k=W.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==k?this._mode.init(this,P&&P.words):(this._mode=k.call(W,this,P&&P.words),this._mode.__creator=k)},_doProcessBlock:function(k,E){this._mode.processBlock(k,E)},_doFinalize:function(){var k,E=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(E.pad(this._data,this.blockSize),k=this._process(!0)):(k=this._process(!0),E.unpad(k)),k},blockSize:128/32});var R=i.CipherParams=a.extend({init:function(k){this.mixIn(k)},toString:function(k){return(k||this.formatter).stringify(this)}}),A=o.format={},b=A.OpenSSL={stringify:function(k){var E,P=k.ciphertext,W=k.salt;return W?E=s.create([1398893684,1701076831]).concat(W).concat(P):E=P,E.toString(u)},parse:function(k){var E,P=u.parse(k),W=P.words;return W[0]==1398893684&&W[1]==1701076831&&(E=s.create(W.slice(2,4)),W.splice(0,4),P.sigBytes-=16),R.create({ciphertext:P,salt:E})}},M=i.SerializableCipher=a.extend({cfg:a.extend({format:b}),encrypt:function(k,E,P,W){W=this.cfg.extend(W);var N=k.createEncryptor(P,W),_=N.finalize(E),C=N.cfg;return R.create({ciphertext:_,key:P,iv:C.iv,algorithm:k,mode:C.mode,padding:C.padding,blockSize:k.blockSize,formatter:W.format})},decrypt:function(k,E,P,W){W=this.cfg.extend(W),E=this._parse(E,W.format);var N=k.createDecryptor(P,W).finalize(E.ciphertext);return N},_parse:function(k,E){return typeof k=="string"?E.parse(k,this):k}}),T=o.kdf={},w=T.OpenSSL={execute:function(k,E,P,W,N){if(W||(W=s.random(64/8)),N)var _=d.create({keySize:E+P,hasher:N}).compute(k,W);else var _=d.create({keySize:E+P}).compute(k,W);var C=s.create(_.words.slice(E),P*4);return _.sigBytes=E*4,R.create({key:_,iv:C,salt:W})}},L=i.PasswordBasedCipher=M.extend({cfg:M.cfg.extend({kdf:w}),encrypt:function(k,E,P,W){W=this.cfg.extend(W);var N=W.kdf.execute(P,k.keySize,k.ivSize,W.salt,W.hasher);W.iv=N.iv;var _=M.encrypt.call(this,k,E,N.key,W);return _.mixIn(N),_},decrypt:function(k,E,P,W){W=this.cfg.extend(W),E=this._parse(E,W.format);var N=W.kdf.execute(P,k.keySize,k.ivSize,E.salt,W.hasher);W.iv=N.iv;var _=M.decrypt.call(this,k,E,N.key,W);return _}})}()})}(XR)),XR.exports}var WR={exports:{}},hw;function r$(){return hw||(hw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(i,a){var s=this._cipher,l=s.blockSize;o.call(this,i,a,l,s),this._prevBlock=i.slice(a,a+l)}}),r.Decryptor=r.extend({processBlock:function(i,a){var s=this._cipher,l=s.blockSize,c=i.slice(a,a+l);o.call(this,i,a,l,s),this._prevBlock=c}});function o(i,a,s,l){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,l.encryptBlock(c,0);for(var f=0;f<s;f++)i[a+f]^=c[f]}return r}(),n.mode.CFB})}(WR)),WR.exports}var VR={exports:{}},pw;function o$(){return pw||(pw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(i,a){var s=this._cipher,l=s.blockSize,c=this._iv,u=this._counter;c&&(u=this._counter=c.slice(0),this._iv=void 0);var f=u.slice(0);s.encryptBlock(f,0),u[l-1]=u[l-1]+1|0;for(var d=0;d<l;d++)i[a+d]^=f[d]}});return r.Decryptor=o,r}(),n.mode.CTR})}(VR)),VR.exports}var UR={exports:{}},vw;function i$(){return vw||(vw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){/** @preserve
|
||
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
||
* derived from CryptoJS.mode.CTR
|
||
* Jan Hruby jhruby.web@gmail.com
|
||
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function o(s){if((s>>24&255)===255){var l=s>>16&255,c=s>>8&255,u=s&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,s=0,s+=l<<16,s+=c<<8,s+=u}else s+=1<<24;return s}function i(s){return(s[0]=o(s[0]))===0&&(s[1]=o(s[1])),s}var a=r.Encryptor=r.extend({processBlock:function(s,l){var c=this._cipher,u=c.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),i(d);var h=d.slice(0);c.encryptBlock(h,0);for(var p=0;p<u;p++)s[l+p]^=h[p]}});return r.Decryptor=a,r}(),n.mode.CTRGladman})}(UR)),UR.exports}var YR={exports:{}},gw;function a$(){return gw||(gw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(i,a){var s=this._cipher,l=s.blockSize,c=this._iv,u=this._keystream;c&&(u=this._keystream=c.slice(0),this._iv=void 0),s.encryptBlock(u,0);for(var f=0;f<l;f++)i[a+f]^=u[f]}});return r.Decryptor=o,r}(),n.mode.OFB})}(YR)),YR.exports}var QR={exports:{}},mw;function s$(){return mw||(mw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(o,i){this._cipher.encryptBlock(o,i)}}),r.Decryptor=r.extend({processBlock:function(o,i){this._cipher.decryptBlock(o,i)}}),r}(),n.mode.ECB})}(QR)),QR.exports}var ZR={exports:{}},Aw;function l$(){return Aw||(Aw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.pad.AnsiX923={pad:function(r,o){var i=r.sigBytes,a=o*4,s=a-i%a,l=i+s-1;r.clamp(),r.words[l>>>2]|=s<<24-l%4*8,r.sigBytes+=s},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Ansix923})}(ZR)),ZR.exports}var BR={exports:{}},Rw;function c$(){return Rw||(Rw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.pad.Iso10126={pad:function(r,o){var i=o*4,a=i-r.sigBytes%i;r.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Iso10126})}(BR)),BR.exports}var DR={exports:{}},yw;function u$(){return yw||(yw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.pad.Iso97971={pad:function(r,o){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,o)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(DR)),DR.exports}var KR={exports:{}},bw;function f$(){return bw||(bw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.pad.ZeroPadding={pad:function(r,o){var i=o*4;r.clamp(),r.sigBytes+=i-(r.sigBytes%i||i)},unpad:function(r){for(var o=r.words,i=r.sigBytes-1,i=r.sigBytes-1;i>=0;i--)if(o[i>>>2]>>>24-i%4*8&255){r.sigBytes=i+1;break}}},n.pad.ZeroPadding})}(KR)),KR.exports}var HR={exports:{}},xw;function d$(){return xw||(xw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(HR)),HR.exports}var GR={exports:{}},Sw;function h$(){return Sw||(Sw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Jr())})(kt,function(n){return function(r){var o=n,i=o.lib,a=i.CipherParams,s=o.enc,l=s.Hex,c=o.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var f=l.parse(u);return a.create({ciphertext:f})}}}(),n.format.Hex})}(GR)),GR.exports}var zR={exports:{}},Mw;function p$(){return Mw||(Mw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Hu(),Gu(),wc(),Jr())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,a=r.algo,s=[],l=[],c=[],u=[],f=[],d=[],h=[],p=[],v=[],m=[];(function(){for(var R=[],A=0;A<256;A++)A<128?R[A]=A<<1:R[A]=A<<1^283;for(var b=0,M=0,A=0;A<256;A++){var T=M^M<<1^M<<2^M<<3^M<<4;T=T>>>8^T&255^99,s[b]=T,l[T]=b;var w=R[b],L=R[w],k=R[L],E=R[T]*257^T*16843008;c[b]=E<<24|E>>>8,u[b]=E<<16|E>>>16,f[b]=E<<8|E>>>24,d[b]=E;var E=k*16843009^L*65537^w*257^b*16843008;h[T]=E<<24|E>>>8,p[T]=E<<16|E>>>16,v[T]=E<<8|E>>>24,m[T]=E,b?(b=w^R[R[R[k^w]]],M^=R[R[M]]):b=M=1}})();var x=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=i.extend({_doReset:function(){var R;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var A=this._keyPriorReset=this._key,b=A.words,M=A.sigBytes/4,T=this._nRounds=M+6,w=(T+1)*4,L=this._keySchedule=[],k=0;k<w;k++)k<M?L[k]=b[k]:(R=L[k-1],k%M?M>6&&k%M==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^=x[k/M|0]<<24),L[k]=L[k-M]^R);for(var E=this._invKeySchedule=[],P=0;P<w;P++){var k=w-P;if(P%4)var R=L[k];else var R=L[k-4];P<4||k<=4?E[P]=R:E[P]=h[s[R>>>24]]^p[s[R>>>16&255]]^v[s[R>>>8&255]]^m[s[R&255]]}}},encryptBlock:function(R,A){this._doCryptBlock(R,A,this._keySchedule,c,u,f,d,s)},decryptBlock:function(R,A){var b=R[A+1];R[A+1]=R[A+3],R[A+3]=b,this._doCryptBlock(R,A,this._invKeySchedule,h,p,v,m,l);var b=R[A+1];R[A+1]=R[A+3],R[A+3]=b},_doCryptBlock:function(R,A,b,M,T,w,L,k){for(var E=this._nRounds,P=R[A]^b[0],W=R[A+1]^b[1],N=R[A+2]^b[2],_=R[A+3]^b[3],C=4,X=1;X<E;X++){var Y=M[P>>>24]^T[W>>>16&255]^w[N>>>8&255]^L[_&255]^b[C++],$=M[W>>>24]^T[N>>>16&255]^w[_>>>8&255]^L[P&255]^b[C++],le=M[N>>>24]^T[_>>>16&255]^w[P>>>8&255]^L[W&255]^b[C++],Q=M[_>>>24]^T[P>>>16&255]^w[W>>>8&255]^L[N&255]^b[C++];P=Y,W=$,N=le,_=Q}var Y=(k[P>>>24]<<24|k[W>>>16&255]<<16|k[N>>>8&255]<<8|k[_&255])^b[C++],$=(k[W>>>24]<<24|k[N>>>16&255]<<16|k[_>>>8&255]<<8|k[P&255])^b[C++],le=(k[N>>>24]<<24|k[_>>>16&255]<<16|k[P>>>8&255]<<8|k[W&255])^b[C++],Q=(k[_>>>24]<<24|k[P>>>16&255]<<16|k[W>>>8&255]<<8|k[N&255])^b[C++];R[A]=Y,R[A+1]=$,R[A+2]=le,R[A+3]=Q},keySize:256/32});r.AES=i._createHelper(y)}(),n.AES})}(zR)),zR.exports}var JR={exports:{}},ww;function v$(){return ww||(ww=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Hu(),Gu(),wc(),Jr())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=o.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],c=[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],u=[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 x=this._key,y=x.words,R=[],A=0;A<56;A++){var b=l[A]-1;R[A]=y[b>>>5]>>>31-b%32&1}for(var M=this._subKeys=[],T=0;T<16;T++){for(var w=M[T]=[],L=u[T],A=0;A<24;A++)w[A/6|0]|=R[(c[A]-1+L)%28]<<31-A%6,w[4+(A/6|0)]|=R[28+(c[A+24]-1+L)%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 k=this._invSubKeys=[],A=0;A<16;A++)k[A]=M[15-A]},encryptBlock:function(x,y){this._doCryptBlock(x,y,this._subKeys)},decryptBlock:function(x,y){this._doCryptBlock(x,y,this._invSubKeys)},_doCryptBlock:function(x,y,R){this._lBlock=x[y],this._rBlock=x[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 b=R[A],M=this._lBlock,T=this._rBlock,w=0,L=0;L<8;L++)w|=f[L][((T^b[L])&d[L])>>>0];this._lBlock=T,this._rBlock=M^w}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,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),x[y]=this._lBlock,x[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(x,y){var R=(this._lBlock>>>x^this._rBlock)&y;this._rBlock^=R,this._lBlock^=R<<x}function v(x,y){var R=(this._rBlock>>>x^this._lBlock)&y;this._lBlock^=R,this._rBlock^=R<<x}r.DES=a._createHelper(h);var m=s.TripleDES=a.extend({_doReset:function(){var x=this._key,y=x.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var R=y.slice(0,2),A=y.length<4?y.slice(0,2):y.slice(2,4),b=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=h.createEncryptor(i.create(R)),this._des2=h.createEncryptor(i.create(A)),this._des3=h.createEncryptor(i.create(b))},encryptBlock:function(x,y){this._des1.encryptBlock(x,y),this._des2.decryptBlock(x,y),this._des3.encryptBlock(x,y)},decryptBlock:function(x,y){this._des3.decryptBlock(x,y),this._des2.encryptBlock(x,y),this._des1.decryptBlock(x,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=a._createHelper(m)}(),n.TripleDES})}(JR)),JR.exports}var $R={exports:{}},Lw;function g$(){return Lw||(Lw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Hu(),Gu(),wc(),Jr())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=a.RC4=i.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,v=0;p<256;p++){var m=p%d,x=f[m>>>2]>>>24-m%4*8&255;v=(v+h[p]+x)%256;var y=h[p];h[p]=h[v],h[v]=y}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,f=this._i,d=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,d=(d+u[f])%256;var v=u[f];u[f]=u[d],u[d]=v,h|=u[(u[f]+u[d])%256]<<24-p*8}return this._i=f,this._j=d,h}r.RC4=i._createHelper(s);var c=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});r.RC4Drop=i._createHelper(c)}(),n.RC4})}($R)),$R.exports}var jR={exports:{}},Ow;function m$(){return Ow||(Ow=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Hu(),Gu(),wc(),Jr())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=[],l=[],c=[],u=a.Rabbit=i.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],m=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++)m[p]^=v[p+4&7];if(h){var x=h.words,y=x[0],R=x[1],A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=A>>>16|b&4294901760,T=b<<16|A&65535;m[0]^=A,m[1]^=M,m[2]^=b,m[3]^=T,m[4]^=A,m[5]^=M,m[6]^=b,m[7]^=T;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<l[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<l[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<l[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<l[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<l[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<l[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<l[6]>>>0?1:0)|0,this._b=h[7]>>>0<l[7]>>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+h[p],m=v&65535,x=v>>>16,y=((m*m>>>17)+m*x>>>15)+x*x,R=((v&4294901760)*v|0)+((v&65535)*v|0);c[p]=y^R}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.Rabbit=i._createHelper(u)}(),n.Rabbit})}(jR)),jR.exports}var qR={exports:{}},Tw;function A$(){return Tw||(Tw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Hu(),Gu(),wc(),Jr())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=[],l=[],c=[],u=a.RabbitLegacy=i.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 m=0;m<4;m++)f.call(this);for(var m=0;m<8;m++)v[m]^=p[m+4&7];if(h){var x=h.words,y=x[0],R=x[1],A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=A>>>16|b&4294901760,T=b<<16|A&65535;v[0]^=A,v[1]^=M,v[2]^=b,v[3]^=T,v[4]^=A,v[5]^=M,v[6]^=b,v[7]^=T;for(var m=0;m<4;m++)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<l[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<l[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<l[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<l[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<l[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<l[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<l[6]>>>0?1:0)|0,this._b=h[7]>>>0<l[7]>>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+h[p],m=v&65535,x=v>>>16,y=((m*m>>>17)+m*x>>>15)+x*x,R=((v&4294901760)*v|0)+((v&65535)*v|0);c[p]=y^R}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.RabbitLegacy=i._createHelper(u)}(),n.RabbitLegacy})}(qR)),qR.exports}var ey={exports:{}},kw;function R$(){return kw||(kw=1,function(e,t){(function(n,r,o){e.exports=r(xn(),Hu(),Gu(),wc(),Jr())})(kt,function(n){return function(){var r=n,o=r.lib,i=o.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],c=[[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 u={pbox:[],sbox:[]};function f(m,x){let y=x>>24&255,R=x>>16&255,A=x>>8&255,b=x&255,M=m.sbox[0][y]+m.sbox[1][R];return M=M^m.sbox[2][A],M=M+m.sbox[3][b],M}function d(m,x,y){let R=x,A=y,b;for(let M=0;M<s;++M)R=R^m.pbox[M],A=f(m,R)^A,b=R,R=A,A=b;return b=R,R=A,A=b,A=A^m.pbox[s],R=R^m.pbox[s+1],{left:R,right:A}}function h(m,x,y){let R=x,A=y,b;for(let M=s+1;M>1;--M)R=R^m.pbox[M],A=f(m,R)^A,b=R,R=A,A=b;return b=R,R=A,A=b,A=A^m.pbox[1],R=R^m.pbox[0],{left:R,right:A}}function p(m,x,y){for(let T=0;T<4;T++){m.sbox[T]=[];for(let w=0;w<256;w++)m.sbox[T][w]=c[T][w]}let R=0;for(let T=0;T<s+2;T++)m.pbox[T]=l[T]^x[R],R++,R>=y&&(R=0);let A=0,b=0,M=0;for(let T=0;T<s+2;T+=2)M=d(m,A,b),A=M.left,b=M.right,m.pbox[T]=A,m.pbox[T+1]=b;for(let T=0;T<4;T++)for(let w=0;w<256;w+=2)M=d(m,A,b),A=M.left,b=M.right,m.sbox[T][w]=A,m.sbox[T][w+1]=b;return!0}var v=a.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var m=this._keyPriorReset=this._key,x=m.words,y=m.sigBytes/4;p(u,x,y)}},encryptBlock:function(m,x){var y=d(u,m[x],m[x+1]);m[x]=y.left,m[x+1]=y.right},decryptBlock:function(m,x){var y=h(u,m[x],m[x+1]);m[x]=y.left,m[x+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=i._createHelper(v)}(),n.Blowfish})}(ey)),ey.exports}(function(e,t){(function(n,r,o){e.exports=r(xn(),e2(),zJ(),JJ(),Hu(),$J(),Gu(),d9(),Cx(),jJ(),h9(),qJ(),e$(),t$(),Ix(),n$(),wc(),Jr(),r$(),o$(),i$(),a$(),s$(),l$(),c$(),u$(),f$(),d$(),h$(),p$(),v$(),g$(),m$(),A$(),R$())})(kt,function(n){return n})})(f9);var y$=f9.exports;const R3=zm(y$),p9="pptist",Fx=e=>R3.AES.encrypt(e,p9).toString(),v9=e=>R3.AES.decrypt(e,p9).toString(R3.enc.Utf8),g9=e=>new Promise((t,n)=>{const r=document.createElement("button"),o=new DJ(r,{text:()=>e,action:()=>"copy",container:document.body});o.on("success",i=>{o.destroy(),t(i)}),o.on("error",i=>{o.destroy(),n(i)}),document.body.appendChild(r),r.click(),document.body.removeChild(r)}),m9=()=>new Promise((e,t)=>{var n;(n=navigator.clipboard)!=null&&n.readText?navigator.clipboard.readText().then(r=>(r||t("剪贴板为空或者不包含文本"),e(r))):t("浏览器不支持或禁止访问剪贴板,请使用快捷键 Ctrl + V")}),_x=e=>{let t;try{t=JSON.parse(v9(e))}catch{t=e}return t},A9=e=>{const t=e.split(`\r
|
||
`);t[t.length-1]===""&&t.pop();let n=-1;const r=[];for(const o in t){if(r[o]=t[o].split(" "),r[o].length===1)return null;if(n===-1)n=r[o].length;else if(n!==r[o].length)return null}return r},Ad=e=>{const{left:t,top:n,width:r,height:o,rotate:i=0}=e,a=Math.sqrt(Math.pow(r,2)+Math.pow(o,2))/2,s=Math.atan(o/r)*180/Math.PI,l=(180-i-s)*Math.PI/180,c=(s-i)*Math.PI/180,u=t+r/2,f=n+o/2,d=[u+a*Math.cos(l),u+a*Math.cos(c),u-a*Math.cos(l),u-a*Math.cos(c)],h=[f-a*Math.sin(l),f-a*Math.sin(c),f+a*Math.sin(l),f+a*Math.sin(c)];return{xRange:[Math.min(...d),Math.max(...d)],yRange:[Math.min(...h),Math.max(...h)]}},$f=e=>{const{xRange:t,yRange:n}=Ad({left:e.left,top:e.top,width:e.width,height:e.height,rotate:0}),{xRange:r,yRange:o}=Ad({left:e.left,top:e.top,width:e.width,height:e.height,rotate:e.rotate});return{offsetX:r[0]-t[0],offsetY:o[0]-n[0]}},Ji=e=>{let t,n,r,o;if(e.type==="line")t=e.left,n=e.left+Math.max(e.start[0],e.end[0]),r=e.top,o=e.top+Math.max(e.start[1],e.end[1]);else if("rotate"in e&&e.rotate){const{left:i,top:a,width:s,height:l,rotate:c}=e,{xRange:u,yRange:f}=Ad({left:i,top:a,width:s,height:l,rotate:c});t=u[0],n=u[1],r=f[0],o=f[1]}else t=e.left,n=e.left+e.width,r=e.top,o=e.top+e.height;return{minX:t,maxX:n,minY:r,maxY:o}},js=e=>{const t=[],n=[],r=[],o=[];e.forEach(c=>{const{minX:u,maxX:f,minY:d,maxY:h}=Ji(c);t.push(u),n.push(d),r.push(f),o.push(h)});const i=Math.min(...t),a=Math.max(...r),s=Math.min(...n),l=Math.max(...o);return{minX:i,maxX:a,minY:s,maxY:l}},Jg=e=>{const t=[];return e.forEach(n=>{const r=t.findIndex(o=>o.value===n.value);if(r===-1)t.push(n);else{const o=t[r],i=Math.min(o.range[0],n.range[0]),a=Math.max(o.range[1],n.range[1]),s=[i,a],l={value:n.value,range:s};t[r]=l}}),t},b$=e=>{const t={};for(const n of e)t[n.id]=ln(10);return t},y3=e=>{const t={},n={};for(const r of e){const o=r.groupId;o&&!t[o]&&(t[o]=ln(10)),n[r.id]=ln(10)}return{groupIdMap:t,elIdMap:n}},R9=e=>{const t=ot(e);return[t.setAlpha(.3).toRgbString(),t.setAlpha(.1).toRgbString()]},Ex=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:o,minY:i,maxY:a}=Ji(e);return o-r>=a-i?`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,o]=e.cubic,i=r.join(","),a=o.join(",");return`M${t} C${i} ${a} ${n}`}return`M${t} L${n}`},x$=(e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>=r.top&&n.bottom<=r.bottom};var S$={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 M$(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function w$(e,t,n){var r=typeof t.fill=="string"?[t.fill]:t.fill||[],o=[],i=t.theme||n.theme;switch(i){case"outline":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("none"),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("none");break;case"filled":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("#FFF"),o.push("#FFF");break;case"two-tone":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.multiColor.outFillColor),o.push(typeof r[2]=="string"?r[2]:n.colors.multiColor.innerStrokeColor),o.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:o,id:e}}var L$=Symbol("icon-context");function $e(e,t,n){var r={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(i){var a=M$(),s=ri(L$,S$);return function(){var l=i.size,c=i.strokeWidth,u=i.strokeLinecap,f=i.strokeLinejoin,d=i.theme,h=i.fill,p=i.spin,v=w$(a,{size:l,strokeWidth:c,strokeLinecap:u,strokeLinejoin:f,theme:d,fill:h},s),m=[s.prefix+"-icon"];return m.push(s.prefix+"-icon-"+e),t&&s.rtl&&m.push(s.prefix+"-icon-rtl"),p&&m.push(s.prefix+"-icon-spin"),O("span",{class:m.join(" ")},[n(v)])}}};return r}const O$=$e("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)])}),T$=$e("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)])}),k$=$e("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)])}),N$=$e("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)])}),P$=$e("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)])}),C$=$e("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)])}),I$=$e("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)])}),F$=$e("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)])}),_$=$e("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)])}),E$=$e("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)])}),X$=$e("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)])}),W$=$e("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)])}),V$=$e("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)])}),U$=$e("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)])}),Y$=$e("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)])}),Q$=$e("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)])}),Z$=$e("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)])}),B$=$e("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)])}),D$=$e("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)])}),K$=$e("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)])}),H$=$e("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)])}),G$=$e("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)])}),z$=$e("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)])}),J$=$e("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)])}),$$=$e("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)])}),j$=$e("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)])}),q$=$e("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)])}),ej=$e("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)])}),tj=$e("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)])}),nj=$e("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)])}),rj=$e("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)])}),oj=$e("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)])}),ij=$e("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)])}),aj=$e("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)])}),sj=$e("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)])}),lj=$e("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)])}),cj=$e("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)])}),uj=$e("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)])}),fj=$e("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)])}),dj=$e("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)])}),hj=$e("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)])}),pj=$e("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)])}),vj=$e("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)])}),gj=$e("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)])}),mj=$e("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)])}),Aj=$e("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)])}),Rj=$e("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)])}),yj=$e("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)])}),bj=$e("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)])}),xj=$e("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)])}),Sj=$e("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)])}),Mj=$e("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)])}),wj=$e("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)])}),Lj=$e("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)])}),Oj=$e("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)])}),Tj=$e("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)])}),kj=$e("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)])}),Nj=$e("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)])}),Pj=$e("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)])}),Cj=$e("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)])}),Ij=$e("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)])}),Fj=$e("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)])}),_j=$e("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)])}),Ej=$e("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)])}),Xj=$e("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)])}),Wj=$e("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)])}),Vj=$e("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)])}),Uj=$e("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)])}),Yj=$e("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)])}),Qj=$e("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)])}),Zj=$e("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)])}),Bj=$e("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)])}),Dj=$e("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)])}),Kj=$e("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)])}),Hj=$e("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)])}),Gj=$e("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)])])])}),zj=$e("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)])}),Jj=$e("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)])}),$j=$e("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)])}),jj=$e("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)])}),qj=$e("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)])}),eq=$e("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)])}),tq=$e("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)])}),nq=$e("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)])}),rq=$e("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)])}),oq=$e("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)])}),iq=$e("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)])}),aq=$e("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)])}),sq=$e("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)])}),lq=$e("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)])}),cq=$e("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)])}),uq=$e("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)])}),fq=$e("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)])}),dq=$e("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)])}),hq=$e("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)])}),pq=$e("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)])}),vq=$e("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)])}),gq=$e("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)])}),mq=$e("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)])}),Aq=$e("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)])}),Rq=$e("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)])}),yq=$e("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)])}),bq=$e("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)])}),xq=$e("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)])}),Sq=$e("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)])}),Mq=$e("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)])}),wq=$e("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)])}),Lq=$e("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)])}),Oq=$e("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)])}),Tq=$e("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)])}),kq=$e("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)])}),Nq=$e("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)])}),Pq=$e("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)])}),Cq=$e("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)])}),Iq=$e("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)])}),Fq=$e("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)])}),_q=$e("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)])}),Eq=$e("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)])}),Xq=$e("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)])}),Wq=$e("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)])}),Vq=$e("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)])}),$g={IconPlayOne:tq,IconFullScreenPlay:Oj,IconLock:Zj,IconUnlock:Pq,IconPpt:oq,IconFormat:xj,IconPicture:qj,IconFullScreen:wj,IconList:Yj,IconOrderedList:$j,IconFlipVertically:yj,IconFlipHorizontally:Rj,IconFontSize:bj,IconCode:sj,IconTextBold:xq,IconTextItalic:Sq,IconTextUnderline:Lq,IconStrikethrough:Aq,IconEdit:vj,IconQuote:sq,IconBackgroundColor:B$,IconGroup:Pj,IconUngroup:Nq,IconBack:Z$,IconNext:zj,IconFullwidth:Tj,IconAlignTop:V$,IconAlignLeft:N$,IconAlignRight:P$,IconAlignBottom:T$,IconAlignVertically:U$,IconAlignHorizontally:k$,IconBringToFront:D$,IconSendToBack:pq,IconAlignTextLeft:_$,IconAlignTextRight:X$,IconAlignTextCenter:F$,IconAlignTextBoth:C$,IconRowHeight:dq,IconWrite:Vq,IconInsertTable:Xj,IconAddText:O$,IconFill:Aj,IconTailoring:yq,IconEffects:gj,IconColorFilter:lj,IconUp:Cq,IconDown:hj,IconPlus:nq,IconMinus:Kj,IconConnection:uj,IconBringToFrontOne:K$,IconSentToBack:vq,IconGithub:kj,IconChartProportion:j$,IconChartHistogram:H$,IconChartHistogramOne:G$,IconChartLineArea:J$,IconChartRing:q$,IconChartScatter:ej,IconChartLine:z$,IconChartPie:$$,IconText:bq,IconRotate:uq,IconLeftTwo:Vj,IconRightTwo:cq,IconPlatte:eq,IconClose:oj,IconCloseSmall:aj,IconUndo:kq,IconTransform:Tq,IconClick:rj,IconTheme:Oq,IconArrowCircleLeft:Y$,IconGraphicDesign:Nj,IconLogout:Bj,IconErase:mj,IconClear:nj,IconAlignTextTopOne:W$,IconAlignTextBottomOne:I$,IconAlignTextMiddleOne:E$,IconPause:jj,IconVolumeMute:Eq,IconVolumeNotice:Xq,IconVolumeSmall:Wq,IconVideoTwo:_q,IconFormula:Mj,IconLinkOne:Uj,IconFullScreenOne:Lj,IconOffScreenOne:Jj,IconPower:rq,IconListView:Qj,IconMagic:Dj,IconHighLight:Ij,IconDownload:pj,IconIndentLeft:Fj,IconIndentRight:_j,IconVerticalSpacingBetweenItems:Fq,IconCopy:fj,IconDelete:dj,IconSquare:gq,IconRound:fq,IconNeedle:Gj,IconTextRotationNone:wq,IconTextRotationDown:Mq,IconFormatBrush:Sj,IconPreviewOpen:aq,IconPreviewClose:iq,IconStopwatchStart:mq,IconSearch:hq,IconLeft:Wj,IconRight:lq,IconMoveOne:Hj,IconHamburgerButton:Cj,IconAttention:Q$,IconCheckOne:tj,IconCloseOne:ij,IconInfo:Ej,IconComment:cj,IconUser:Iq,IconSwitch:Rq},Uq={install(e){for(const t of Object.keys($g))e.component(t,$g[t])}},Yq=["id"],Qq={class:"icons"},Zq={class:"content"},Bq={key:0,class:"title"},Dq={class:"description"},Kq={key:0,class:"control"},Hq=Ee({__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:o,IconCloseOne:i,IconInfo:a,IconCloseSmall:s}=$g,l=e,c=n,u=ve(!0),f=ve(null),d=()=>{l.duration<=0||(f.value=setTimeout(p,l.duration))},h=()=>{f.value&&clearTimeout(f.value)},p=()=>u.value=!1;return nx(()=>{h()}),Qt(()=>{d()}),t({close:p}),(v,m)=>(U(),ke(Pu,{name:"message-fade",appear:"",mode:"in-out",onBeforeLeave:m[3]||(m[3]=x=>c("close")),onAfterLeave:m[4]||(m[4]=x=>c("destroy"))},{default:oe(()=>[u.value?(U(),ee("div",{key:0,class:"message",id:v.id},[V("div",{class:"message-container",onMouseenter:m[1]||(m[1]=x=>h()),onMouseleave:m[2]||(m[2]=x=>d())},[V("div",Qq,[v.type==="warning"?(U(),ke(H(r),{key:0,theme:"filled",size:"18",fill:"#faad14"})):Qe("",!0),v.type==="success"?(U(),ke(H(o),{key:1,theme:"filled",size:"18",fill:"#52c41a"})):Qe("",!0),v.type==="error"?(U(),ke(H(i),{key:2,theme:"filled",size:"18",fill:"#ff4d4f"})):Qe("",!0),v.type==="info"?(U(),ke(H(a),{key:3,theme:"filled",size:"18",fill:"#1677ff"})):Qe("",!0)]),V("div",Zq,[v.title?(U(),ee("div",Bq,vt(v.title),1)):Qe("",!0),V("div",Dq,vt(v.message),1)]),v.closable?(U(),ee("div",Kq,[V("span",{class:"close-btn",onClick:m[0]||(m[0]=x=>p())},[O(H(s))])])):Qe("",!0)],32)],8,Yq)):Qe("",!0)]),_:1}))}}),Ue=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Gq=Ue(Hq,[["__scopeId","data-v-5f638602"]]),b3=[];let Za=null,zq=0;const Jq={duration:3e3},gn=e=>{const t="message-"+zq++,n={...Jq,...e,id:t};Za||(Za=document.createElement("div"),Za.className="message-wrap",Za.style.cssText=`
|
||
width: 100%;
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
z-index: 6000;
|
||
pointer-events: none;
|
||
display: flex;
|
||
flex-direction: column;
|
||
box-sizing: border-box;
|
||
padding: 15px;
|
||
background-color: rgba(255, 255, 255, 0);
|
||
transition: all 1s ease-in-out;
|
||
align-items: center;
|
||
`,document.body.appendChild(Za));const r=O(Gq,n,null),o=document.createElement("div");r.appContext=e.ctx||gn._context||null,r.props.onClose=e.onClose,r.props.onDestroy=()=>{Za&&Za.childNodes.length<=1&&(Za.remove(),Za=null),Td(null,o)},Td(r,o),Za.appendChild(o.firstElementChild);const i={id:t,close:()=>{var a,s;return(s=(a=r==null?void 0:r.component)==null?void 0:a.exposed)==null?void 0:s.close()}};return b3.push(i),i};gn.success=(e,t)=>gn({...t,type:"success",message:e});gn.info=(e,t)=>gn({...t,type:"info",message:e});gn.warning=(e,t)=>gn({...t,type:"warning",message:e});gn.error=(e,t)=>gn({...t,type:"error",message:e});gn.closeAll=function(){for(let e=b3.length-1;e>=0;e--)b3[e].close()};const jg=e=>{const n=e.replace(/[\n\r]+/g,"<br>").split("<br>");let r="";for(const o of n)o&&(r+=`<div>${o}</div>`);return r},$q=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,o=n.clientHeight;n.onload=null,n.onerror=null,document.body.removeChild(n),t({width:r,height:o})},n.onerror=()=>{n.onload=null,n.onerror=null}}),Lc=e=>new Promise(t=>{const n=new FileReader;n.addEventListener("load",()=>{t(n.result)}),n.readAsDataURL(e)}),jq=e=>{if(!/<svg[\s\S]*?>[\s\S]*?<\/svg>/i.test(e))return!1;try{return new DOMParser().parseFromString(e,"image/svg+xml").documentElement.nodeName==="svg"}catch{return!1}},qq=e=>{const t=new Blob([e],{type:"image/svg+xml"});return new File([t],`${Date.now()}.svg`,{type:"image/svg+xml"})};var sn=(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))(sn||{}),Tt=(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))(Tt||{});const zu={[sn.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`}},[sn.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`}},[sn.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`}},[sn.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`}},[sn.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`}},[sn.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`}},[sn.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`}},[sn.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`}},[sn.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],o=e*.2,i=t*n[1];return`M 0 0 L ${e} 0 L ${e} ${t-i} L ${r+o} ${t-i} L ${r} ${t} L ${r} ${t-i} L 0 ${t-i} Z`}},[sn.ROUND_MESSAGE]:{formula:(e,t)=>{const n=Math.min(e,t)*.125,r=Math.min(e,t)*.2,o=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-o} Q ${e} ${t-o} ${e-n} ${t-o} L ${e/2} ${t-o} L ${e/2-r} ${t} L ${e/2-r} ${t-o} L ${n} ${t-o} Q 0 ${t-o} 0 ${t-n-o} L 0 ${n} Z`}},[sn.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`}},[sn.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`}},[sn.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`}},[sn.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`},[sn.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`}},[sn.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`}},[sn.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`}},[sn.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`}},[sn.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`}}},Xx=[{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:sn.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:sn.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:sn.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:sn.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:sn.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:sn.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:sn.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:sn.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:sn.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:sn.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:sn.PARALLELOGRAM_RIGHT},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:sn.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:sn.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:sn.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:"M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 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:"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"},{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"},{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 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z"},{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:sn.L},{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:sn.RING_RECT},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z"},{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:sn.PLUS},{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"},{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:sn.MESSAGE},{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:sn.ROUND_MESSAGE},{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"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z"},{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"},{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"},{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 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z"},{viewBox:[200,200],path:"M 200 0 C 80 40 80 160 200 200 C -60 200 -60 0 200 0 Z"}]},{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"},{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"},{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"},{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"},{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"},{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}]}],eee={bar:"bar",horizontalBar:"bar",line:"line",area:"line",scatter:"line",pie:"pie",ring:"pie"},Ht=()=>{const e=qm(),t=On.debounce(function(){e.addSnapshot()},300,{trailing:!0}),n=On.throttle(function(){e.reDo()},100,{leading:!0,trailing:!1}),r=On.throttle(function(){e.unDo()},100,{leading:!0,trailing:!1});return{addHistorySnapshot:t,redo:n,undo:r}},Ju=()=>{const e=ft(),t=st(),{creatingElement:n}=Xe(e),{theme:r,viewportRatio:o,viewportSize:i}=Xe(t),{addHistorySnapshot:a}=Ht(),s=(x,y)=>{t.addElement(x),e.setActiveElementIdList([x.id]),n.value&&e.setCreatingElement(null),setTimeout(()=>{e.setEditorareaFocus(!0)},0),y&&y(),a()};return{createImageElement:x=>{$q(x).then(({width:y,height:R})=>{const A=R/y;A<o.value&&y>i.value?(y=i.value,R=y*A):R>i.value*o.value&&(R=i.value*o.value,y=R/A),s({type:"image",id:ln(10),src:x,width:y,height:R,left:(i.value-y)/2,top:(i.value*o.value-R)/2,fixedRatio:!0,rotate:0})})},createChartElement:x=>{const y={type:"chart",id:ln(10),chartType:eee[x],left:300,top:81.25,width:400,height:400,rotate:0,themeColor:[r.value.themeColor],gridColor:r.value.fontColor,data:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1"],series:[[12,19,5,2,18]]}},R={...x==="bar"?{horizontalBars:!1,stackBars:!1}:{},...x==="horizontalBar"?{horizontalBars:!0,stackBars:!1}:{},...x==="line"?{showLine:!0,lineSmooth:!0,showArea:!1}:{},...x==="area"?{showLine:!0,lineSmooth:!0,showArea:!0}:{},...x==="scatter"?{showLine:!1,lineSmooth:!0,showArea:!1}:{},...x==="pie"?{donut:!1}:{},...x==="ring"?{donut:!0}:{}};s({...y,options:R})},createTableElement:(x,y)=>{const R={fontname:r.value.fontName,color:r.value.fontColor},A=[];for(let k=0;k<x;k++){const E=[];for(let P=0;P<y;P++)E.push({id:ln(10),colspan:1,rowspan:1,text:"",style:R});A.push(E)}const b=100,M=36,T=new Array(y).fill(1/y),w=y*b,L=x*M;s({type:"table",id:ln(10),width:w,height:L,colWidths:T,rotate:0,data:A,left:(i.value-w)/2,top:(i.value*o.value-L)/2,outline:{width:2,style:"solid",color:"#eeece1"},theme:{color:r.value.themeColor,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1},cellMinHeight:36})},createTextElement:(x,y)=>{const{left:R,top:A,width:b,height:M}=x,T=(y==null?void 0:y.content)||"",w=(y==null?void 0:y.vertical)||!1,L=ln(10);s({type:"text",id:L,left:R,top:A,width:b,height:M,content:T,rotate:0,defaultFontName:r.value.fontName,defaultColor:r.value.fontColor,vertical:w},()=>{setTimeout(()=>{const k=document.querySelector(`#editable-element-${L} .ProseMirror`);k&&k.focus()},0)})},createShapeElement:(x,y,R={})=>{const{left:A,top:b,width:M,height:T}=x,w={type:"shape",id:ln(10),left:A,top:b,width:M,height:T,viewBox:y.viewBox,path:y.path,fill:r.value.themeColor,fixedRatio:!1,rotate:0,...R};if(y.special&&(w.special=!0),y.pathFormula){w.pathFormula=y.pathFormula,w.viewBox=[M,T];const L=zu[y.pathFormula];"editable"in L&&L.editable?(w.path=L.formula(M,T,L.defaultValue),w.keypoints=L.defaultValue):w.path=L.formula(M,T)}s(w)},createLineElement:(x,y)=>{const{left:R,top:A,start:b,end:M}=x,T={type:"line",id:ln(10),left:R,top:A,start:b,end:M,points:y.points,color:r.value.themeColor,style:y.style,width:2};y.isBroken&&(T.broken=[(b[0]+M[0])/2,(b[1]+M[1])/2]),y.isBroken2&&(T.broken2=[(b[0]+M[0])/2,(b[1]+M[1])/2]),y.isCurve&&(T.curve=[(b[0]+M[0])/2,(b[1]+M[1])/2]),y.isCubic&&(T.cubic=[[(b[0]+M[0])/2,(b[1]+M[1])/2],[(b[0]+M[0])/2,(b[1]+M[1])/2]]),s(T)},createLatexElement:x=>{s({type:"latex",id:ln(10),width:x.w,height:x.h,rotate:0,left:(i.value-x.w)/2,top:(i.value*o.value-x.h)/2,path:x.path,latex:x.latex,color:r.value.fontColor,strokeWidth:2,viewBox:[x.w,x.h],fixedRatio:!0})},createVideoElement:x=>{s({type:"video",id:ln(10),width:500,height:300,rotate:0,left:(i.value-500)/2,top:(i.value*o.value-300)/2,src:x,autoplay:!1})},createAudioElement:x=>{s({type:"audio",id:ln(10),width:50,height:50,rotate:0,left:(i.value-50)/2,top:(i.value*o.value-50)/2,loop:!1,autoplay:!1,fixedRatio:!0,color:r.value.themeColor,src:x})}}},t2=()=>{const e=ft(),t=st(),{currentSlide:n}=Xe(t),{addHistorySnapshot:r}=Ht();return{addElementsFromData:a=>{const{groupIdMap:s,elIdMap:l}=y3(a),c=a[0];let u=0,f;do f=n.value.elements.find(d=>{if(d.type!==c.type)return!1;const{minX:h,maxX:p,minY:v,maxY:m}=Ji(d),{minX:x,maxX:y,minY:R,maxY:A}=Ji({...c,left:c.left+u,top:c.top+u});return h===x&&p===y&&v===R&&m===A}),f&&(u+=10);while(f);for(const d of a)d.id=l[d.id],d.left=d.left+u,d.top=d.top+u,d.groupId&&(d.groupId=s[d.groupId]);t.addElement(a),e.setActiveElementIdList(Object.values(l)),r()},addSlidesFromData:a=>{const s=b$(a),l=a.map(c=>{const{groupIdMap:u,elIdMap:f}=y3(c.elements);for(const d of c.elements)d.id=f[d.id],d.groupId&&(d.groupId=u[d.groupId]),d.link&&d.link.type==="slide"&&(s[d.link.target]?d.link.target=s[d.link.target]:delete d.link);if(c.animations)for(const d of c.animations)d.id=ln(10),d.elId=f[d.elId];return{...c,id:s[c.id]}});t.addSlide(l),r()}}},tee=e=>/^https:\/\/pptist.cn(\/[\w-./?%&=]*)?\.(jpg|jpeg|png|svg|webp)(\?.*)?$/i.test(e),Wx=()=>{const{shiftKeyState:e}=Xe(Ea()),{createTextElement:t,createImageElement:n}=Ju(),{addElementsFromData:r,addSlidesFromData:o}=t2(),i=s=>{t({left:0,top:0,width:600,height:50},{content:s})};return{pasteTextClipboardData:(s,l)=>{const c=(l==null?void 0:l.onlySlide)||!1,u=(l==null?void 0:l.onlyElements)||!1,f=_x(s);if(typeof f=="object"){const{type:d,data:h}=f;d==="elements"&&!c?r(h):d==="slides"&&!u&&o(h)}else if(!u&&!c)if(e.value){const d=jg(f);i(d)}else if(tee(f))n(f);else if(QJ(f))i(`<a href="${f}" title="${f}" target="_blank">${f}</a>`);else if(jq(f)){const d=qq(f);Lc(d).then(h=>n(h))}else{const d=jg(f);i(d)}}}},Oc=()=>{const e=ft(),t=st(),{selectedSlidesIndex:n,activeElementIdList:r}=Xe(e),{currentSlide:o,slides:i,theme:a,slideIndex:s}=Xe(t),l=Me(()=>[...n.value,s.value]),c=Me(()=>i.value.filter((k,E)=>l.value.includes(E))),u=Me(()=>c.value.map(k=>k.id)),{pasteTextClipboardData:f}=Wx(),{addSlidesFromData:d}=t2(),{addHistorySnapshot:h}=Ht(),p=()=>{const k={id:ln(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};t.updateSlideIndex(0),e.setActiveElementIdList([]),t.setSlides([k])},v=k=>{k===gt.UP&&s.value>0?(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value-1)):k===gt.DOWN&&s.value<i.value.length-1&&(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value+1))},m=()=>{const k=Fx(JSON.stringify({type:"slides",data:c.value}));g9(k).then(()=>{e.setThumbnailsFocus(!0)})},x=()=>{m9().then(k=>{f(k,{onlySlide:!0})}).catch(k=>gn.warning(k))},y=()=>{const k={id:ln(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};e.setActiveElementIdList([]),t.addSlide(k),h()},R=k=>{const{groupIdMap:E,elIdMap:P}=y3(k.elements);for(const N of k.elements)N.id=P[N.id],N.groupId&&(N.groupId=E[N.groupId]);const W={...k,id:ln(10)};e.setActiveElementIdList([]),t.addSlide(W),h()},A=()=>{const k=JSON.parse(JSON.stringify(o.value));d([k])},b=(k=u.value)=>{i.value.length===k.length?p():t.deleteSlide(k),e.updateSelectedSlidesIndex([]),h()},M=()=>{const k=[...u.value];m(),b(k)},T=()=>{const k=Array.from(Array(i.value.length),(E,P)=>P);e.setActiveElementIdList([]),e.updateSelectedSlidesIndex(k)},w=(k,E)=>{if(E===k)return;const P=JSON.parse(JSON.stringify(i.value)),W=P[E],N=W.sectionTag;if(N){const C=P[E+1];delete W.sectionTag,C&&!C.sectionTag&&(C.sectionTag=N)}if(k===0){const C=P[0].sectionTag;C&&(delete P[0].sectionTag,W.sectionTag=C)}const _=P[E];P.splice(E,1),P.splice(k,0,_),t.setSlides(P),t.updateSlideIndex(k)},L=Me(()=>!(i.value.length>1||i.value[0].elements.length>0));return{resetSlides:p,updateSlideIndex:v,copySlide:m,pasteSlide:x,createSlide:y,createSlideByTemplate:R,copyAndPasteSlide:A,deleteSlide:b,cutSlide:M,selectAllSlide:T,sortSlides:w,isEmptySlide:L}},y9=()=>{const e=ft(),t=st(),{activeElementIdList:n}=Xe(e),{currentSlide:r}=Xe(t),{addHistorySnapshot:o}=Ht();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([]),o()},unlockElement:s=>{const l=JSON.parse(JSON.stringify(r.value.elements));if(s.groupId){const c=[];for(const u of l)u.groupId===s.groupId&&(u.lock=!1,c.push(u.id));t.updateSlide({elements:l}),e.setActiveElementIdList(c)}else{for(const c of l)if(c.id===s.id){c.lock=!1;break}t.updateSlide({elements:l}),e.setActiveElementIdList([s.id])}o()}}},Fp=()=>{const e=ft(),t=st(),{activeElementIdList:n,activeGroupElementId:r}=Xe(e),{currentSlide:o}=Xe(t),{addHistorySnapshot:i}=Ht();return{deleteElement:()=>{if(!n.value.length)return;let l=[];r.value?l=o.value.elements.filter(c=>c.id!==r.value):l=o.value.elements.filter(c=>!n.value.includes(c.id)),e.setActiveElementIdList([]),t.updateSlide({elements:l}),i()},deleteAllElements:()=>{o.value.elements.length&&(e.setActiveElementIdList([]),t.updateSlide({elements:[]}),i())}}},Vx=()=>{const e=ft(),t=st(),{activeElementIdList:n,activeElementList:r,handleElementId:o}=Xe(e),{currentSlide:i}=Xe(t),{addHistorySnapshot:a}=Ht();return{canCombine:Me(()=>{if(r.value.length<2)return!1;const u=r.value[0].groupId;return u?!r.value.every(d=>(d.groupId&&d.groupId)===u):!0}),combineElements:()=>{if(!r.value.length)return;let u=JSON.parse(JSON.stringify(i.value.elements));const f=ln(10),d=[];for(const m of u)n.value.includes(m.id)&&(m.groupId=f,d.push(m));const h=u.findIndex(m=>m.id===d[d.length-1].id),p=d.map(m=>m.id);u=u.filter(m=>!p.includes(m.id));const v=h-d.length+1;u.splice(v,0,...d),t.updateSlide({elements:u}),a()},uncombineElements:()=>{if(!r.value.length||!r.value.some(h=>h.groupId))return;const f=JSON.parse(JSON.stringify(i.value.elements));for(const h of f)n.value.includes(h.id)&&h.groupId&&delete h.groupId;t.updateSlide({elements:f});const d=o.value?[o.value]:[];e.setActiveElementIdList(d),a()}}},Ux=()=>{const e=ft(),{activeElementIdList:t,activeElementList:n}=Xe(e),{pasteTextClipboardData:r}=Wx(),{deleteElement:o}=Fp(),i=()=>{if(!t.value.length)return;const c=Fx(JSON.stringify({type:"elements",data:n.value}));g9(c).then(()=>{e.setEditorareaFocus(!0)})},a=()=>{i(),o()},s=()=>{m9().then(c=>{r(c)}).catch(c=>gn.warning(c))};return{copyElement:i,cutElement:a,pasteElement:s,quickCopyElement:()=>{i(),s()}}},n2=()=>{const e=ft(),{currentSlide:t}=Xe(st()),{hiddenElementIdList:n,handleElementId:r}=Xe(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])}}},nee=()=>{const e=st(),{activeElementIdList:t,activeGroupElementId:n}=Xe(ft()),{currentSlide:r}=Xe(e),{addHistorySnapshot:o}=Ht();return{moveElement:(a,s=1)=>{let l=[];const c=u=>{let{left:f,top:d}=u;switch(a){case gt.LEFT:f=f-s;break;case gt.RIGHT:f=f+s;break;case gt.UP:d=d-s;break;case gt.DOWN:d=d+s;break}return{...u,left:f,top:d}};n.value?l=r.value.elements.map(u=>n.value===u.id?c(u):u):l=r.value.elements.map(u=>t.value.includes(u.id)?c(u):u),e.updateSlide({elements:l}),o()}}},_p=()=>{const e=st(),{currentSlide:t}=Xe(e),{addHistorySnapshot:n}=Ht(),r=(c,u)=>({minLevel:c.findIndex(f=>f.id===u[0].id),maxLevel:c.findIndex(f=>f.id===u[u.length-1].id)}),o=(c,u)=>{const f=JSON.parse(JSON.stringify(c));if(u.groupId){const d=f.filter(x=>x.groupId===u.groupId),{minLevel:h,maxLevel:p}=r(c,d);if(p===c.length-1)return;const v=f[p+1],m=f.splice(h,d.length);if(v.groupId){const x=f.filter(y=>y.groupId===v.groupId);f.splice(h+x.length,0,...m)}else f.splice(h+1,0,...m)}else{const d=c.findIndex(v=>v.id===u.id);if(d===c.length-1)return;const h=f[d+1],p=f.splice(d,1)[0];if(h.groupId){const v=f.filter(m=>m.groupId===h.groupId);f.splice(d+v.length,0,p)}else f.splice(d+1,0,p)}return f},i=(c,u)=>{const f=JSON.parse(JSON.stringify(c));if(u.groupId){const d=f.filter(m=>m.groupId===u.groupId),{minLevel:h}=r(c,d);if(h===0)return;const p=f[h-1],v=f.splice(h,d.length);if(p.groupId){const m=f.filter(x=>x.groupId===p.groupId);f.splice(h-m.length,0,...v)}else f.splice(h-1,0,...v)}else{const d=c.findIndex(v=>v.id===u.id);if(d===0)return;const h=f[d-1],p=f.splice(d,1)[0];if(h.groupId){const v=f.filter(m=>m.groupId===h.groupId);f.splice(d-v.length,0,p)}else f.splice(d-1,0,p)}return f},a=(c,u)=>{const f=JSON.parse(JSON.stringify(c));if(u.groupId){const d=f.filter(m=>m.groupId===u.groupId),{minLevel:h,maxLevel:p}=r(c,d);if(p===c.length-1)return null;const v=f.splice(h,d.length);f.push(...v)}else{const d=c.findIndex(h=>h.id===u.id);if(d===c.length-1)return null;f.splice(d,1),f.push(u)}return f},s=(c,u)=>{const f=JSON.parse(JSON.stringify(c));if(u.groupId){const d=f.filter(v=>v.groupId===u.groupId),{minLevel:h}=r(c,d);if(h===0)return;const p=f.splice(h,d.length);f.unshift(...p)}else{const d=c.findIndex(h=>h.id===u.id);if(d===0)return;f.splice(d,1),f.unshift(u)}return f};return{orderElement:(c,u)=>{let f;u===dr.UP?f=o(t.value.elements,c):u===dr.DOWN?f=i(t.value.elements,c):u===dr.TOP?f=a(t.value.elements,c):u===dr.BOTTOM&&(f=s(t.value.elements,c)),f&&(e.updateSlide({elements:f}),n())}}},Yx=()=>{const e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},b9=()=>{document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},x3=()=>!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement),Tc=()=>{const e=c9(),t=st(),n=()=>{Yx(),e.setScreening(!0)};return{enterScreening:n,enterScreeningFromStart:()=>{t.updateSlideIndex(0),n()},exitScreening:()=>{e.setScreening(!1),x3()&&b9()}}},Qx=()=>{const e=ft(),{canvasPercentage:t,canvasScale:n,canvasDragged:r}=Xe(e);return{canvasScalePercentage:Me(()=>Math.round(n.value*100)+"%"),setCanvasScalePercentage:l=>{const c=Math.round(l/n.value*t.value)/100;e.setCanvasPercentage(c)},scaleCanvas:l=>{let c=t.value;const u=5,f=200,d=30;l==="+"&&c<=f&&(c+=u),l==="-"&&c>=d&&(c-=u),e.setCanvasPercentage(c)},resetCanvas:()=>{e.setCanvasPercentage(90),r&&e.setCanvasDragged(!1)}}},ree=()=>{const e=ft(),t=Ea(),{activeElementIdList:n,disableHotkeys:r,handleElement:o,handleElementId:i,editorAreaFocus:a,thumbnailsFocus:s,showSearchPanel:l}=Xe(e),{currentSlide:c}=Xe(st()),{ctrlKeyState:u,shiftKeyState:f,spaceKeyState:d}=Xe(t),{updateSlideIndex:h,copySlide:p,createSlide:v,deleteSlide:m,cutSlide:x,copyAndPasteSlide:y,selectAllSlide:R}=Oc(),{combineElements:A,uncombineElements:b}=Vx(),{deleteElement:M}=Fp(),{lockElement:T}=y9(),{copyElement:w,cutElement:L,quickCopyElement:k}=Ux(),{selectAllElements:E}=n2(),{moveElement:P}=nee(),{orderElement:W}=_p(),{redo:N,undo:_}=Ht(),{enterScreening:C,enterScreeningFromStart:X}=Tc(),{scaleCanvas:Y,resetCanvas:$}=Qx(),le=()=>{n.value.length?w():s.value&&p()},Q=()=>{n.value.length?L():s.value&&x()},K=()=>{n.value.length?k():s.value&&y()},B=()=>{a.value&&E(),s.value&&R()},D=()=>{a.value&&T()},G=()=>{a.value&&A()},ae=()=>{a.value&&b()},se=()=>{n.value.length?M():s.value&&m()},J=j=>{n.value.length?P(j):(j===gt.UP||j===gt.DOWN)&&h(j)},Re=j=>{j===gt.PAGEUP?h(gt.UP):j===gt.PAGEDOWN&&h(gt.DOWN)},fe=j=>{o.value&&W(o.value,j)},me=()=>{s.value&&v()},ue=()=>{if(!c.value.elements.length)return;if(!i.value){const te=c.value.elements[0];e.setActiveElementIdList([te.id]);return}const j=c.value.elements.findIndex(te=>te.id===i.value),ie=j>=c.value.elements.length-1?0:j+1,q=c.value.elements[ie].id;e.setActiveElementIdList([q])},z=j=>{const{ctrlKey:ie,shiftKey:q,altKey:te,metaKey:re}=j,he=ie||re,ce=j.key.toUpperCase();if(he&&!u.value&&t.setCtrlKeyState(!0),q&&!f.value&&t.setShiftKeyState(!0),!r.value&&ce===gt.SPACE&&t.setSpaceKeyState(!0),he&&ce===gt.P){j.preventDefault(),e.setDialogForExport("pdf");return}if(q&&ce===gt.F5){j.preventDefault(),C(),t.setShiftKeyState(!1);return}if(ce===gt.F5){j.preventDefault(),X();return}if(ie&&ce===gt.F){j.preventDefault(),e.setSearchPanelState(!l.value);return}if(!(!a.value&&!s.value)){if(he&&ce===gt.C){if(r.value)return;j.preventDefault(),le()}if(he&&ce===gt.X){if(r.value)return;j.preventDefault(),Q()}if(he&&ce===gt.D){if(r.value)return;j.preventDefault(),K()}if(he&&ce===gt.Z){if(r.value)return;j.preventDefault(),_()}if(he&&ce===gt.Y){if(r.value)return;j.preventDefault(),N()}if(he&&ce===gt.A){if(r.value)return;j.preventDefault(),B()}if(he&&ce===gt.L){if(r.value)return;j.preventDefault(),D()}if(!q&&he&&ce===gt.G){if(r.value)return;j.preventDefault(),G()}if(q&&he&&ce===gt.G){if(r.value)return;j.preventDefault(),ae()}if(te&&ce===gt.F){if(r.value)return;j.preventDefault(),fe(dr.TOP)}if(te&&ce===gt.B){if(r.value)return;j.preventDefault(),fe(dr.BOTTOM)}if(ce===gt.DELETE||ce===gt.BACKSPACE){if(r.value)return;j.preventDefault(),se()}if(ce===gt.UP){if(r.value)return;j.preventDefault(),J(gt.UP)}if(ce===gt.DOWN){if(r.value)return;j.preventDefault(),J(gt.DOWN)}if(ce===gt.LEFT){if(r.value)return;j.preventDefault(),J(gt.LEFT)}if(ce===gt.RIGHT){if(r.value)return;j.preventDefault(),J(gt.RIGHT)}if(ce===gt.PAGEUP){if(r.value)return;j.preventDefault(),Re(gt.PAGEUP)}if(ce===gt.PAGEDOWN){if(r.value)return;j.preventDefault(),Re(gt.PAGEDOWN)}if(ce===gt.ENTER){if(r.value)return;j.preventDefault(),me()}if(ce===gt.MINUS){if(r.value)return;j.preventDefault(),Y("-")}if(ce===gt.EQUAL){if(r.value)return;j.preventDefault(),Y("+")}if(ce===gt.DIGIT_0){if(r.value)return;j.preventDefault(),$()}if(ce===gt.TAB){if(r.value)return;j.preventDefault(),ue()}a.value&&!q&&!he&&!r.value&&(ce===gt.T?e.setCreatingElement({type:"text"}):ce===gt.R?e.setCreatingElement({type:"shape",data:{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"}}):ce===gt.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"}}):ce===gt.L&&e.setCreatingElement({type:"line",data:{path:"M 0 0 L 20 20",style:"solid",points:["",""]}}))}},F=()=>{u.value&&t.setCtrlKeyState(!1),f.value&&t.setShiftKeyState(!1),d.value&&t.setSpaceKeyState(!1)};Qt(()=>{document.addEventListener("keydown",z),document.addEventListener("keyup",F),window.addEventListener("blur",F)}),Sn(()=>{document.removeEventListener("keydown",z),document.removeEventListener("keyup",F),window.removeEventListener("blur",F)})},oee=()=>{const{editorAreaFocus:e,thumbnailsFocus:t,disableHotkeys:n}=Xe(ft()),{pasteTextClipboardData:r}=Wx(),{createImageElement:o}=Ju(),i=s=>{Lc(s).then(l=>o(l))},a=s=>{if(!e.value&&!t.value||n.value||!s.clipboardData)return;const l=s.clipboardData.items,c=l[0];if(c){for(const u of l)if(u.kind==="file"&&u.type.indexOf("image")!==-1){const f=u.getAsFile();f&&i(f);return}c.kind==="string"&&c.type==="text/plain"&&c.getAsString(u=>r(u))}};Qt(()=>{document.addEventListener("paste",a)}),Sn(()=>{document.removeEventListener("paste",a)})};function x9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nw(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function ui(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(l){Nw(i,r,o,a,s,"next",l)}function s(l){Nw(i,r,o,a,s,"throw",l)}a(void 0)})}}var Si=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function r2(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 o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var S9={exports:{}},Pw={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})(Pw),function(e){var t=Pw.exports.default;function n(){e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(_,C,X){_[C]=X.value},s=typeof Symbol=="function"?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(_,C,X){return Object.defineProperty(_,C,{value:X,enumerable:!0,configurable:!0,writable:!0}),_[C]}try{f({},"")}catch{f=function(C,X,Y){return C[X]=Y}}function d(_,C,X,Y){var $=C&&C.prototype instanceof v?C:v,le=Object.create($.prototype),Q=new P(Y||[]);return a(le,"_invoke",{value:w(_,X,Q)}),le}function h(_,C,X){try{return{type:"normal",arg:_.call(C,X)}}catch(Y){return{type:"throw",arg:Y}}}r.wrap=d;var p={};function v(){}function m(){}function x(){}var y={};f(y,l,function(){return this});var R=Object.getPrototypeOf,A=R&&R(R(W([])));A&&A!==o&&i.call(A,l)&&(y=A);var b=x.prototype=v.prototype=Object.create(y);function M(_){["next","throw","return"].forEach(function(C){f(_,C,function(X){return this._invoke(C,X)})})}function T(_,C){function X($,le,Q,K){var B=h(_[$],_,le);if(B.type!=="throw"){var D=B.arg,G=D.value;return G&&t(G)=="object"&&i.call(G,"__await")?C.resolve(G.__await).then(function(ae){X("next",ae,Q,K)},function(ae){X("throw",ae,Q,K)}):C.resolve(G).then(function(ae){D.value=ae,Q(D)},function(ae){return X("throw",ae,Q,K)})}K(B.arg)}var Y;a(this,"_invoke",{value:function($,le){function Q(){return new C(function(K,B){X($,le,K,B)})}return Y=Y?Y.then(Q,Q):Q()}})}function w(_,C,X){var Y="suspendedStart";return function($,le){if(Y==="executing")throw new Error("Generator is already running");if(Y==="completed"){if($==="throw")throw le;return N()}for(X.method=$,X.arg=le;;){var Q=X.delegate;if(Q){var K=L(Q,X);if(K){if(K===p)continue;return K}}if(X.method==="next")X.sent=X._sent=X.arg;else if(X.method==="throw"){if(Y==="suspendedStart")throw Y="completed",X.arg;X.dispatchException(X.arg)}else X.method==="return"&&X.abrupt("return",X.arg);Y="executing";var B=h(_,C,X);if(B.type==="normal"){if(Y=X.done?"completed":"suspendedYield",B.arg===p)continue;return{value:B.arg,done:X.done}}B.type==="throw"&&(Y="completed",X.method="throw",X.arg=B.arg)}}}function L(_,C){var X=_.iterator[C.method];if(X===void 0){if(C.delegate=null,C.method==="throw"){if(_.iterator.return&&(C.method="return",C.arg=void 0,L(_,C),C.method==="throw"))return p;C.method="throw",C.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var Y=h(X,_.iterator,C.arg);if(Y.type==="throw")return C.method="throw",C.arg=Y.arg,C.delegate=null,p;var $=Y.arg;return $?$.done?(C[_.resultName]=$.value,C.next=_.nextLoc,C.method!=="return"&&(C.method="next",C.arg=void 0),C.delegate=null,p):$:(C.method="throw",C.arg=new TypeError("iterator result is not an object"),C.delegate=null,p)}function k(_){var C={tryLoc:_[0]};1 in _&&(C.catchLoc=_[1]),2 in _&&(C.finallyLoc=_[2],C.afterLoc=_[3]),this.tryEntries.push(C)}function E(_){var C=_.completion||{};C.type="normal",delete C.arg,_.completion=C}function P(_){this.tryEntries=[{tryLoc:"root"}],_.forEach(k,this),this.reset(!0)}function W(_){if(_){var C=_[l];if(C)return C.call(_);if(typeof _.next=="function")return _;if(!isNaN(_.length)){var X=-1,Y=function $(){for(;++X<_.length;)if(i.call(_,X))return $.value=_[X],$.done=!1,$;return $.value=void 0,$.done=!0,$};return Y.next=Y}}return{next:N}}function N(){return{value:void 0,done:!0}}return m.prototype=x,a(b,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:m,configurable:!0}),m.displayName=f(x,u,"GeneratorFunction"),r.isGeneratorFunction=function(_){var C=typeof _=="function"&&_.constructor;return!!C&&(C===m||(C.displayName||C.name)==="GeneratorFunction")},r.mark=function(_){return Object.setPrototypeOf?Object.setPrototypeOf(_,x):(_.__proto__=x,f(_,u,"GeneratorFunction")),_.prototype=Object.create(b),_},r.awrap=function(_){return{__await:_}},M(T.prototype),f(T.prototype,c,function(){return this}),r.AsyncIterator=T,r.async=function(_,C,X,Y,$){$===void 0&&($=Promise);var le=new T(d(_,C,X,Y),$);return r.isGeneratorFunction(C)?le:le.next().then(function(Q){return Q.done?Q.value:le.next()})},M(b),f(b,u,"Generator"),f(b,l,function(){return this}),f(b,"toString",function(){return"[object Generator]"}),r.keys=function(_){var C=Object(_),X=[];for(var Y in C)X.push(Y);return X.reverse(),function $(){for(;X.length;){var le=X.pop();if(le in C)return $.value=le,$.done=!1,$}return $.done=!0,$}},r.values=W,P.prototype={constructor:P,reset:function(_){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!_)for(var C in this)C.charAt(0)==="t"&&i.call(this,C)&&!isNaN(+C.slice(1))&&(this[C]=void 0)},stop:function(){this.done=!0;var _=this.tryEntries[0].completion;if(_.type==="throw")throw _.arg;return this.rval},dispatchException:function(_){if(this.done)throw _;var C=this;function X(B,D){return le.type="throw",le.arg=_,C.next=B,D&&(C.method="next",C.arg=void 0),!!D}for(var Y=this.tryEntries.length-1;Y>=0;--Y){var $=this.tryEntries[Y],le=$.completion;if($.tryLoc==="root")return X("end");if($.tryLoc<=this.prev){var Q=i.call($,"catchLoc"),K=i.call($,"finallyLoc");if(Q&&K){if(this.prev<$.catchLoc)return X($.catchLoc,!0);if(this.prev<$.finallyLoc)return X($.finallyLoc)}else if(Q){if(this.prev<$.catchLoc)return X($.catchLoc,!0)}else{if(!K)throw new Error("try statement without catch or finally");if(this.prev<$.finallyLoc)return X($.finallyLoc)}}}},abrupt:function(_,C){for(var X=this.tryEntries.length-1;X>=0;--X){var Y=this.tryEntries[X];if(Y.tryLoc<=this.prev&&i.call(Y,"finallyLoc")&&this.prev<Y.finallyLoc){var $=Y;break}}$&&(_==="break"||_==="continue")&&$.tryLoc<=C&&C<=$.finallyLoc&&($=null);var le=$?$.completion:{};return le.type=_,le.arg=C,$?(this.method="next",this.next=$.finallyLoc,p):this.complete(le)},complete:function(_,C){if(_.type==="throw")throw _.arg;return _.type==="break"||_.type==="continue"?this.next=_.arg:_.type==="return"?(this.rval=this.arg=_.arg,this.method="return",this.next="end"):_.type==="normal"&&C&&(this.next=C),p},finish:function(_){for(var C=this.tryEntries.length-1;C>=0;--C){var X=this.tryEntries[C];if(X.finallyLoc===_)return this.complete(X.completion,X.afterLoc),E(X),p}},catch:function(_){for(var C=this.tryEntries.length-1;C>=0;--C){var X=this.tryEntries[C];if(X.tryLoc===_){var Y=X.completion;if(Y.type==="throw"){var $=Y.arg;E(X)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(_,C,X){return this.delegate={iterator:W(_),resultName:C,nextLoc:X},this.method==="next"&&(this.arg=void 0),p}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(S9);var $v=S9.exports(),Xn=$v;try{regeneratorRuntime=$v}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=$v:Function("r","regeneratorRuntime = r")($v)}var jd={},Cw={},Cd=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},is=[],Hi=[],iee=typeof Uint8Array<"u"?Uint8Array:Array,Zx=!1;function M9(){Zx=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)is[t]=e[t],Hi[e.charCodeAt(t)]=t;Hi[45]=62,Hi[95]=63}function aee(e,t,n){for(var r,o,i=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(is[(o=r)>>18&63]+is[o>>12&63]+is[o>>6&63]+is[63&o]);return i.join("")}function Iw(e){var t;Zx||M9();for(var n=e.length,r=n%3,o="",i=[],a=16383,s=0,l=n-r;s<l;s+=a)i.push(aee(e,s,s+a>l?l:s+a));return r===1?(t=e[n-1],o+=is[t>>2],o+=is[t<<4&63],o+="=="):r===2&&(t=(e[n-2]<<8)+e[n-1],o+=is[t>>10],o+=is[t>>4&63],o+=is[t<<2&63],o+="="),i.push(o),i.join("")}function hv(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+f],f+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(i===0)i=1-c;else{if(i===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=c}return(h?-1:1)*a*Math.pow(2,i-r)}function w9(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,f=u>>1,d=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-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=u):(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>=u?(s=0,a=u):a+f>=1?(s=(t*l-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+h]=255&a,h+=p,a/=256,c-=8);e[n+h-p]|=128*v}var see={}.toString,L9=Array.isArray||function(e){return see.call(e)=="[object Array]"};ze.TYPED_ARRAY_SUPPORT=Cd.TYPED_ARRAY_SUPPORT===void 0||Cd.TYPED_ARRAY_SUPPORT;var lee=qg();function qg(){return ze.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function qs(e,t){if(qg()<t)throw new RangeError("Invalid typed array length");return ze.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=ze.prototype:(e===null&&(e=new ze(t)),e.length=t),e}function ze(e,t,n){if(!(ze.TYPED_ARRAY_SUPPORT||this instanceof ze))return new ze(e,t,n);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return S3(this,e)}return O9(this,e,t,n)}function O9(e,t,n,r){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?function(o,i,a,s){if(i.byteLength,a<0||i.byteLength<a)throw new RangeError("'offset' is out of bounds");if(i.byteLength<a+(s||0))throw new RangeError("'length' is out of bounds");return i=a===void 0&&s===void 0?new Uint8Array(i):s===void 0?new Uint8Array(i,a):new Uint8Array(i,a,s),ze.TYPED_ARRAY_SUPPORT?(o=i).__proto__=ze.prototype:o=ty(o,i),o}(e,t,n,r):typeof t=="string"?function(o,i,a){if(typeof a=="string"&&a!==""||(a="utf8"),!ze.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var s=0|k9(i,a),l=(o=qs(o,s)).write(i,a);return l!==s&&(o=o.slice(0,l)),o}(e,t,n):function(o,i){if(as(i)){var a=0|Bx(i.length);return(o=qs(o,a)).length===0||i.copy(o,0,0,a),o}if(i){if(typeof ArrayBuffer<"u"&&i.buffer instanceof ArrayBuffer||"length"in i)return typeof i.length!="number"||(s=i.length)!=s?qs(o,0):ty(o,i);if(i.type==="Buffer"&&L9(i.data))return ty(o,i.data)}var s;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function T9(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function S3(e,t){if(T9(t),e=qs(e,t<0?0:0|Bx(t)),!ze.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function ty(e,t){var n=t.length<0?0:0|Bx(t.length);e=qs(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Bx(e){if(e>=qg())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+qg().toString(16)+" bytes");return 0|e}function as(e){return!(e==null||!e._isBuffer)}function k9(e,t){if(as(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 em(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return I9(e).length;default:if(r)return em(e).length;t=(""+t).toLowerCase(),r=!0}}function cee(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 Aee(this,t,n);case"utf8":case"utf-8":return P9(this,t,n);case"ascii":return gee(this,t,n);case"latin1":case"binary":return mee(this,t,n);case"base64":return vee(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ree(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Hc(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Fw(e,t,n,r,o){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=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if(typeof t=="string"&&(t=ze.from(t,r)),as(t))return t.length===0?-1:_w(e,t,n,r,o);if(typeof t=="number")return t&=255,ze.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_w(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _w(e,t,n,r,o){var i,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 c(h,p){return a===1?h[p]:h.readUInt16BE(p*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,u===-1?0:i-u)){if(u===-1&&(u=i),i-u+1===l)return u*a}else u!==-1&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var f=!0,d=0;d<l;d++)if(c(e,i+d)!==c(t,d)){f=!1;break}if(f)return i}return-1}function uee(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function fee(e,t,n,r){return o2(em(t,e.length-n),e,n,r)}function N9(e,t,n,r){return o2(function(o){for(var i=[],a=0;a<o.length;++a)i.push(255&o.charCodeAt(a));return i}(t),e,n,r)}function dee(e,t,n,r){return N9(e,t,n,r)}function hee(e,t,n,r){return o2(I9(t),e,n,r)}function pee(e,t,n,r){return o2(function(o,i){for(var a,s,l,c=[],u=0;u<o.length&&!((i-=2)<0);++u)s=(a=o.charCodeAt(u))>>8,l=a%256,c.push(l),c.push(s);return c}(t,e.length-n),e,n,r)}function vee(e,t,n){return t===0&&n===e.length?Iw(e):Iw(e.slice(t,n))}function P9(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=n)switch(f){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}u===null?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=f}return function(d){var h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var p="",v=0;v<h;)p+=String.fromCharCode.apply(String,d.slice(v,v+=4096));return p}(r)}ze.poolSize=8192,ze._augment=function(e){return e.__proto__=ze.prototype,e},ze.from=function(e,t,n){return O9(null,e,t,n)},ze.TYPED_ARRAY_SUPPORT&&(ze.prototype.__proto__=Uint8Array.prototype,ze.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&ze[Symbol.species]),ze.alloc=function(e,t,n){return function(r,o,i,a){return T9(o),o<=0?qs(r,o):i!==void 0?typeof a=="string"?qs(r,o).fill(i,a):qs(r,o).fill(i):qs(r,o)}(null,e,t,n)},ze.allocUnsafe=function(e){return S3(null,e)},ze.allocUnsafeSlow=function(e){return S3(null,e)},ze.isBuffer=Ep,ze.compare=function(e,t){if(!as(e)||!as(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},ze.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},ze.concat=function(e,t){if(!L9(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return ze.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=ze.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!as(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},ze.byteLength=k9,ze.prototype._isBuffer=!0,ze.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Hc(this,t,t+1);return this},ze.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Hc(this,t,t+3),Hc(this,t+1,t+2);return this},ze.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Hc(this,t,t+7),Hc(this,t+1,t+6),Hc(this,t+2,t+5),Hc(this,t+3,t+4);return this},ze.prototype.toString=function(){var e=0|this.length;return e===0?"":arguments.length===0?P9(this,0,e):cee.apply(this,arguments)},ze.prototype.equals=function(e){if(!as(e))throw new TypeError("Argument must be a Buffer");return this===e||ze.compare(this,e)===0},ze.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},ze.prototype.compare=function(e,t,n,r,o){if(!as(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),o===void 0&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),l=this.slice(r,o),c=e.slice(t,n),u=0;u<s;++u)if(l[u]!==c[u]){i=l[u],a=c[u];break}return i<a?-1:a<i?1:0},ze.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},ze.prototype.indexOf=function(e,t,n){return Fw(this,e,t,n,!0)},ze.prototype.lastIndexOf=function(e,t,n){return Fw(this,e,t,n,!1)},ze.prototype.write=function(e,t,n,r){if(t===void 0)r="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,r===void 0&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return uee(this,e,t,n);case"utf8":case"utf-8":return fee(this,e,t,n);case"ascii":return N9(this,e,t,n);case"latin1":case"binary":return dee(this,e,t,n);case"base64":return hee(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pee(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},ze.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function gee(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function mee(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function Aee(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=bee(e[i]);return o}function Ree(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function Qr(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Ko(e,t,n,r,o,i){if(!as(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function pv(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function vv(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function C9(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ew(e,t,n,r,o){return o||C9(e,0,n,4),w9(e,t,n,r,23,4),n+4}function Xw(e,t,n,r,o){return o||C9(e,0,n,8),w9(e,t,n,r,52,8),n+8}ze.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),t<e&&(t=e),ze.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=ze.prototype;else{var o=t-e;n=new ze(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},ze.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Qr(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},ze.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Qr(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},ze.prototype.readUInt8=function(e,t){return t||Qr(e,1,this.length),this[e]},ze.prototype.readUInt16LE=function(e,t){return t||Qr(e,2,this.length),this[e]|this[e+1]<<8},ze.prototype.readUInt16BE=function(e,t){return t||Qr(e,2,this.length),this[e]<<8|this[e+1]},ze.prototype.readUInt32LE=function(e,t){return t||Qr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},ze.prototype.readUInt32BE=function(e,t){return t||Qr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},ze.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Qr(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},ze.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Qr(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},ze.prototype.readInt8=function(e,t){return t||Qr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},ze.prototype.readInt16LE=function(e,t){t||Qr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},ze.prototype.readInt16BE=function(e,t){t||Qr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},ze.prototype.readInt32LE=function(e,t){return t||Qr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},ze.prototype.readInt32BE=function(e,t){return t||Qr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},ze.prototype.readFloatLE=function(e,t){return t||Qr(e,4,this.length),hv(this,e,!0,23,4)},ze.prototype.readFloatBE=function(e,t){return t||Qr(e,4,this.length),hv(this,e,!1,23,4)},ze.prototype.readDoubleLE=function(e,t){return t||Qr(e,8,this.length),hv(this,e,!0,52,8)},ze.prototype.readDoubleBE=function(e,t){return t||Qr(e,8,this.length),hv(this,e,!1,52,8)},ze.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Ko(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},ze.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Ko(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},ze.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,1,255,0),ze.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},ze.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,2,65535,0),ze.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):pv(this,e,t,!0),t+2},ze.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,2,65535,0),ze.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):pv(this,e,t,!1),t+2},ze.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,4,4294967295,0),ze.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):vv(this,e,t,!0),t+4},ze.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,4,4294967295,0),ze.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):vv(this,e,t,!1),t+4},ze.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Ko(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&s===0&&this[t+i-1]!==0&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},ze.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Ko(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&s===0&&this[t+i+1]!==0&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},ze.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,1,127,-128),ze.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},ze.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,2,32767,-32768),ze.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):pv(this,e,t,!0),t+2},ze.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,2,32767,-32768),ze.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):pv(this,e,t,!1),t+2},ze.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,4,2147483647,-2147483648),ze.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):vv(this,e,t,!0),t+4},ze.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Ko(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ze.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):vv(this,e,t,!1),t+4},ze.prototype.writeFloatLE=function(e,t,n){return Ew(this,e,t,!0,n)},ze.prototype.writeFloatBE=function(e,t,n){return Ew(this,e,t,!1,n)},ze.prototype.writeDoubleLE=function(e,t,n){return Xw(this,e,t,!0,n)},ze.prototype.writeDoubleBE=function(e,t,n){return Xw(this,e,t,!1,n)},ze.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<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!ze.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},ze.prototype.fill=function(e,t,n,r){if(typeof e=="string"){if(typeof t=="string"?(r=t,t=0,n=this.length):typeof n=="string"&&(r=n,n=this.length),e.length===1){var o=e.charCodeAt(0);o<256&&(e=o)}if(r!==void 0&&typeof r!="string")throw new TypeError("encoding must be a string");if(typeof r=="string"&&!ze.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else typeof e=="number"&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(i=t;i<n;++i)this[i]=e;else{var a=as(e)?e:em(new ze(e,r).toString()),s=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var yee=/[^+\/0-9A-Za-z-_]/g;function bee(e){return e<16?"0"+e.toString(16):e.toString(16)}function em(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.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;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function I9(e){return function(t){var n,r,o,i,a,s;Zx||M9();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 iee(3*l/4-a),o=a>0?l-4:l;var c=0;for(n=0,r=0;n<o;n+=4,r+=3)i=Hi[t.charCodeAt(n)]<<18|Hi[t.charCodeAt(n+1)]<<12|Hi[t.charCodeAt(n+2)]<<6|Hi[t.charCodeAt(n+3)],s[c++]=i>>16&255,s[c++]=i>>8&255,s[c++]=255&i;return a===2?(i=Hi[t.charCodeAt(n)]<<2|Hi[t.charCodeAt(n+1)]>>4,s[c++]=255&i):a===1&&(i=Hi[t.charCodeAt(n)]<<10|Hi[t.charCodeAt(n+1)]<<4|Hi[t.charCodeAt(n+2)]>>2,s[c++]=i>>8&255,s[c++]=255&i),s}(function(t){if((t=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(t).replace(yee,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function o2(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Ep(e){return e!=null&&(!!e._isBuffer||Ww(e)||function(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&Ww(t.slice(0,0))}(e))}function Ww(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var xee=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:lee,Buffer:ze,SlowBuffer:function(e){return+e!=e&&(e=0),ze.alloc(+e)},isBuffer:Ep}),Nr={};function F9(){throw new Error("setTimeout has not been defined")}function _9(){throw new Error("clearTimeout has not been defined")}var _l=F9,El=_9;function E9(e){if(_l===setTimeout)return setTimeout(e,0);if((_l===F9||!_l)&&setTimeout)return _l=setTimeout,setTimeout(e,0);try{return _l(e,0)}catch{try{return _l.call(null,e,0)}catch{return _l.call(this,e,0)}}}typeof Cd.setTimeout=="function"&&(_l=setTimeout),typeof Cd.clearTimeout=="function"&&(El=clearTimeout);var au,el=[],Rd=!1,jv=-1;function See(){Rd&&au&&(Rd=!1,au.length?el=au.concat(el):jv=-1,el.length&&X9())}function X9(){if(!Rd){var e=E9(See);Rd=!0;for(var t=el.length;t;){for(au=el,el=[];++jv<t;)au&&au[jv].run();jv=-1,t=el.length}au=null,Rd=!1,function(n){if(El===clearTimeout)return clearTimeout(n);if((El===_9||!El)&&clearTimeout)return El=clearTimeout,clearTimeout(n);try{El(n)}catch{try{return El.call(null,n)}catch{return El.call(this,n)}}}(e)}}function Xr(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];el.push(new W9(e,t)),el.length!==1||Rd||E9(X9)}function W9(e,t){this.fun=e,this.array=t}W9.prototype.run=function(){this.fun.apply(null,this.array)};function $u(){}var Mee=$u,wee=$u,Lee=$u,Oee=$u,Tee=$u,kee=$u,Nee=$u,Uf=Cd.performance||{},Pee=Uf.now||Uf.mozNow||Uf.msNow||Uf.oNow||Uf.webkitNow||function(){return new Date().getTime()},Cee=new Date,Ti={nextTick:Xr,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Mee,addListener:wee,once:Lee,off:Oee,removeListener:Tee,removeAllListeners:kee,emit:Nee,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Pee.call(Uf),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Cee)/1e3}},ny={exports:{}};function Xl(){}function pn(){pn.init.call(this)}function V9(e){return e._maxListeners===void 0?pn.defaultMaxListeners:e._maxListeners}function Iee(e,t,n){if(t)e.call(n);else for(var r=e.length,o=Xp(e,r),i=0;i<r;++i)o[i].call(n)}function Fee(e,t,n,r){if(t)e.call(n,r);else for(var o=e.length,i=Xp(e,o),a=0;a<o;++a)i[a].call(n,r)}function _ee(e,t,n,r,o){if(t)e.call(n,r,o);else for(var i=e.length,a=Xp(e,i),s=0;s<i;++s)a[s].call(n,r,o)}function Eee(e,t,n,r,o,i){if(t)e.call(n,r,o,i);else for(var a=e.length,s=Xp(e,a),l=0;l<a;++l)s[l].call(n,r,o,i)}function Xee(e,t,n,r){if(t)e.apply(n,r);else for(var o=e.length,i=Xp(e,o),a=0;a<o;++a)i[a].apply(n,r)}function Vw(e,t,n,r){var o,i,a,s;if(typeof n!="function")throw new TypeError('"listener" argument must be a function');if((i=e._events)?(i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]):(i=e._events=new Xl,e._eventsCount=0),a){if(typeof a=="function"?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),!a.warned&&(o=V9(e))&&o>0&&a.length>o){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=i[t]=n,++e._eventsCount;return e}function Uw(e,t,n){var r=!1;function o(){e.removeListener(t,o),r||(r=!0,n.apply(e,arguments))}return o.listener=n,o}function Yw(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 Xp(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}Xl.prototype=Object.create(null),pn.EventEmitter=pn,pn.usingDomains=!1,pn.prototype.domain=void 0,pn.prototype._events=void 0,pn.prototype._maxListeners=void 0,pn.defaultMaxListeners=10,pn.init=function(){this.domain=null,pn.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Xl,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},pn.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},pn.prototype.getMaxListeners=function(){return V9(this)},pn.prototype.emit=function(e){var t,n,r,o,i,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 c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}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 u=typeof n=="function";switch(r=arguments.length){case 1:Iee(n,u,this);break;case 2:Fee(n,u,this,arguments[1]);break;case 3:_ee(n,u,this,arguments[1],arguments[2]);break;case 4:Eee(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];Xee(n,u,this,o)}return!0},pn.prototype.addListener=function(e,t){return Vw(this,e,t,!1)},pn.prototype.on=pn.prototype.addListener,pn.prototype.prependListener=function(e,t){return Vw(this,e,t,!0)},pn.prototype.once=function(e,t){if(typeof t!="function")throw new TypeError('"listener" argument must be a function');return this.on(e,Uw(this,e,t)),this},pn.prototype.prependOnceListener=function(e,t){if(typeof t!="function")throw new TypeError('"listener" argument must be a function');return this.prependListener(e,Uw(this,e,t)),this},pn.prototype.removeListener=function(e,t){var n,r,o,i,a;if(typeof t!="function")throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener&&n.listener===t)--this._eventsCount==0?this._events=new Xl:(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if(typeof n!="function"){for(o=-1,i=n.length;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount==0)return this._events=new Xl,this;delete r[e]}else(function(s,l){for(var c=l,u=c+1,f=s.length;u<f;c+=1,u+=1)s[c]=s[u];s.pop()})(n,o);r.removeListener&&this.emit("removeListener",e,a||t)}return this},pn.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return arguments.length===0?(this._events=new Xl,this._eventsCount=0):n[e]&&(--this._eventsCount==0?this._events=new Xl:delete n[e]),this;if(arguments.length===0){for(var r,o=Object.keys(n),i=0;i<o.length;++i)(r=o[i])!=="removeListener"&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=new Xl,this._eventsCount=0,this}if(typeof(t=n[e])=="function")this.removeListener(e,t);else if(t)do this.removeListener(e,t[t.length-1]);while(t[0]);return this},pn.prototype.listeners=function(e){var t,n,r=this._events;return n=r&&(t=r[e])?typeof t=="function"?[t.listener||t]:function(o){for(var i=new Array(o.length),a=0;a<i.length;++a)i[a]=o[a].listener||o[a];return i}(t):[],n},pn.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Yw.call(e,t)},pn.prototype.listenerCount=Yw,pn.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Wee=Object.freeze({__proto__:null,default:pn,EventEmitter:pn}),lc=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},Vee=/%[sdj%]/g;function i2(e){if(!op(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(ps(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,i=String(e).replace(Vee,function(s){if(s==="%%")return"%";if(n>=o)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<o;a=r[++n])Wp(a)||!ju(a)?i+=" "+a:i+=" "+ps(a);return i}function a2(e,t){if(us(Cd.process))return function(){return a2(e,t).apply(this,arguments)};if(Ti.noDeprecation===!0)return e;var n=!1;return function(){if(!n){if(Ti.throwDeprecation)throw new Error(t);Ti.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}}var ry,gv={};function Dx(e){return us(ry)&&(ry=Ti.env.NODE_DEBUG||""),e=e.toUpperCase(),!gv[e]&&(new RegExp("\\b"+e+"\\b","i").test(ry)?gv[e]=function(){var t=i2.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:gv[e]=function(){}),gv[e]}function ps(e,t){var n={seen:[],stylize:Yee};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),s2(t)?n.showHidden=t:t&&zx(n,t),us(n.showHidden)&&(n.showHidden=!1),us(n.depth)&&(n.depth=2),us(n.colors)&&(n.colors=!1),us(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Uee),tm(n,e,n.depth)}function Uee(e,t){var n=ps.styles[t];return n?"\x1B["+ps.colors[n][0]+"m"+e+"\x1B["+ps.colors[n][1]+"m":e}function Yee(e,t){return e}function tm(e,t,n){if(e.customInspect&&t&&Mh(t.inspect)&&t.inspect!==ps&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return op(r)||(r=tm(e,r,n)),r}var o=function(d,h){if(us(h))return d.stylize("undefined","undefined");if(op(h)){var p="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(p,"string")}if(Hx(h))return d.stylize(""+h,"number");if(s2(h))return d.stylize(""+h,"boolean");if(Wp(h))return d.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),a=function(d){var h={};return d.forEach(function(p,v){h[p]=!0}),h}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),Sh(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return oy(t);if(i.length===0){if(Mh(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(xh(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(nm(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Sh(t))return oy(t)}var l,c="",u=!1,f=["{","}"];return Kx(t)&&(u=!0,f=["[","]"]),Mh(t)&&(c=" [Function"+(t.name?": "+t.name:"")+"]"),xh(t)&&(c=" "+RegExp.prototype.toString.call(t)),nm(t)&&(c=" "+Date.prototype.toUTCString.call(t)),Sh(t)&&(c=" "+oy(t)),i.length!==0||u&&t.length!=0?n<0?xh(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=u?function(d,h,p,v,m){for(var x=[],y=0,R=h.length;y<R;++y)D9(h,String(y))?x.push(iy(d,h,p,v,String(y),!0)):x.push("");return m.forEach(function(A){A.match(/^\d+$/)||x.push(iy(d,h,p,v,A,!0))}),x}(e,t,n,a,i):i.map(function(d){return iy(e,t,n,a,d,u)}),e.seen.pop(),function(d,h,p){return d.reduce(function(v,m){return m.indexOf(`
|
||
`),v+m.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?p[0]+(h===""?"":h+`
|
||
`)+" "+d.join(`,
|
||
`)+" "+p[1]:p[0]+h+" "+d.join(", ")+" "+p[1]}(l,c,f)):f[0]+c+f[1]}function oy(e){return"["+Error.prototype.toString.call(e)+"]"}function iy(e,t,n,r,o,i){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),D9(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(l.value)<0?(s=Wp(n)?tm(e,l.value,null):tm(e,l.value,n-1)).indexOf(`
|
||
`)>-1&&(s=i?s.split(`
|
||
`).map(function(c){return" "+c}).join(`
|
||
`).substr(2):`
|
||
`+s.split(`
|
||
`).map(function(c){return" "+c}).join(`
|
||
`)):s=e.stylize("[Circular]","special")),us(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).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 Kx(e){return Array.isArray(e)}function s2(e){return typeof e=="boolean"}function Wp(e){return e===null}function U9(e){return e==null}function Hx(e){return typeof e=="number"}function op(e){return typeof e=="string"}function Y9(e){return typeof e=="symbol"}function us(e){return e===void 0}function xh(e){return ju(e)&&Gx(e)==="[object RegExp]"}function ju(e){return typeof e=="object"&&e!==null}function nm(e){return ju(e)&&Gx(e)==="[object Date]"}function Sh(e){return ju(e)&&(Gx(e)==="[object Error]"||e instanceof Error)}function Mh(e){return typeof e=="function"}function Q9(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0}function Z9(e){return Ep(e)}function Gx(e){return Object.prototype.toString.call(e)}function ay(e){return e<10?"0"+e.toString(10):e.toString(10)}ps.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]},ps.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Qee=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Zee(){var e=new Date,t=[ay(e.getHours()),ay(e.getMinutes()),ay(e.getSeconds())].join(":");return[e.getDate(),Qee[e.getMonth()],t].join(" ")}function B9(){console.log("%s - %s",Zee(),i2.apply(null,arguments))}function zx(e,t){if(!t||!ju(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function D9(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Bee={inherits:lc,_extend:zx,log:B9,isBuffer:Z9,isPrimitive:Q9,isFunction:Mh,isError:Sh,isDate:nm,isObject:ju,isRegExp:xh,isUndefined:us,isSymbol:Y9,isString:op,isNumber:Hx,isNullOrUndefined:U9,isNull:Wp,isBoolean:s2,isArray:Kx,inspect:ps,deprecate:a2,format:i2,debuglog:Dx},Dee=Object.freeze({__proto__:null,format:i2,deprecate:a2,debuglog:Dx,inspect:ps,isArray:Kx,isBoolean:s2,isNull:Wp,isNullOrUndefined:U9,isNumber:Hx,isString:op,isSymbol:Y9,isUndefined:us,isRegExp:xh,isObject:ju,isDate:nm,isError:Sh,isFunction:Mh,isPrimitive:Q9,isBuffer:Z9,log:B9,inherits:lc,_extend:zx,default:Bee});function qc(){this.head=null,this.tail=null,this.length=0}qc.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},qc.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},qc.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}},qc.prototype.clear=function(){this.head=this.tail=null,this.length=0},qc.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},qc.prototype.concat=function(e){if(this.length===0)return ze.alloc(0);if(this.length===1)return this.head.data;for(var t=ze.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var Kee=ze.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 wh(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!Kee(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=Gee;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=zee;break;default:return void(this.write=Hee)}this.charBuffer=new ze(6),this.charReceived=0,this.charLength=0}function Hee(e){return e.toString(this.encoding)}function Gee(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function zee(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}wh.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<this.charLength)return"";if(e=e.slice(n,e.length),!((o=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&o<=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 o;if(r=(t+=e.toString(this.encoding,0,r)).length-1,(o=t.charCodeAt(r))>=55296&&o<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),e.copy(this.charBuffer,0,0,i),t.substring(0,r)}return t},wh.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},wh.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;t+=r.slice(0,n).toString(o)}return t},cr.ReadableState=K9;var Vn=Dx("stream");function K9(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Fi&&(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 qc,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 wh(e.encoding),this.encoding=e.encoding)}function cr(e){if(!(this instanceof cr))return new cr(e);this._readableState=new K9(e,this),this.readable=!0,e&&typeof e.read=="function"&&(this._read=e.read),pn.call(this)}function Qw(e,t,n,r,o){var i=function(c,u){var f=null;return Ep(u)||typeof u=="string"||u==null||c.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f}(t,n);if(i)e.emit("error",i);else if(n===null)t.reading=!1,function(c,u){if(!u.ended){if(u.decoder){var f=u.decoder.end();f&&f.length&&(u.buffer.push(f),u.length+=u.objectMode?1:f.length)}u.ended=!0,rm(c)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||o||r||(n=t.decoder.write(n),l=!t.objectMode&&n.length===0),o||(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,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&rm(e))),function(c,u){u.readingMore||(u.readingMore=!0,Xr(Jee,c,u))}(e,t)}else o||(t.reading=!1);return function(c){return!c.ended&&(c.needReadable||c.length<c.highWaterMark||c.length===0)}(t)}lc(cr,pn),cr.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||typeof e!="string"||(t=t||n.defaultEncoding)!==n.encoding&&(e=ze.from(e,t),t=""),Qw(this,n,e,t,!1)},cr.prototype.unshift=function(e){return Qw(this,this._readableState,e,"",!0)},cr.prototype.isPaused=function(){return this._readableState.flowing===!1},cr.prototype.setEncoding=function(e){return this._readableState.decoder=new wh(e),this._readableState.encoding=e,this};function Zw(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.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 rm(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Vn("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Xr(Bw,e):Bw(e))}function Bw(e){Vn("emit readable"),e.emit("readable"),Jx(e)}function Jee(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(Vn("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function $ee(e){Vn("readable nexttick read 0"),e.read(0)}function jee(e,t){t.reading||(Vn("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Jx(e),t.flowing&&!t.reading&&e.read(0)}function Jx(e){var t=e._readableState;for(Vn("flow",t.flowing);t.flowing&&e.read()!==null;);}function Dw(e,t){return t.length===0?null:(t.objectMode?n=t.buffer.shift():!e||e>=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,o,i){var a;return r<o.head.data.length?(a=o.head.data.slice(0,r),o.head.data=o.head.data.slice(r)):a=r===o.head.data.length?o.shift():i?function(s,l){var c=l.head,u=1,f=c.data;for(s-=f.length;c=c.next;){var d=c.data,h=s>d.length?d.length:s;if(h===d.length?f+=d:f+=d.slice(0,s),(s-=h)===0){h===d.length?(++u,c.next?l.head=c.next:l.head=l.tail=null):(l.head=c,c.data=d.slice(h));break}++u}return l.length-=u,f}(r,o):function(s,l){var c=ze.allocUnsafe(s),u=l.head,f=1;for(u.data.copy(c),s-=u.data.length;u=u.next;){var d=u.data,h=s>d.length?d.length:s;if(d.copy(c,c.length-s,0,h),(s-=h)===0){h===d.length?(++f,u.next?l.head=u.next:l.head=l.tail=null):(l.head=u,u.data=d.slice(h));break}++f}return l.length-=f,c}(r,o),a}(e,t.buffer,t.decoder),n);var n}function sy(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Xr(qee,t,e))}function qee(e,t){e.endEmitted||e.length!==0||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Kw(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function ete(){}function tte(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function M3(e,t){Object.defineProperty(this,"buffer",{get:a2(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Fi&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=e.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){(function(a,s){var l=a._writableState,c=l.sync,u=l.writecb;if(function(d){d.writing=!1,d.writecb=null,d.length-=d.writelen,d.writelen=0}(l),s)(function(d,h,p,v,m){--h.pendingcb,p?Xr(m,v):m(v),d._writableState.errorEmitted=!0,d.emit("error",v)})(a,l,c,s,u);else{var f=G9(l);f||l.corked||l.bufferProcessing||!l.bufferedRequest||H9(a,l),c?Xr(Hw,a,l,f,u):Hw(a,l,f,u)}})(t,i)},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 J9(this)}function no(e){if(!(this instanceof no||this instanceof Fi))return new no(e);this._writableState=new M3(e,this),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev)),pn.call(this)}function w3(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function Hw(e,t,n,r){n||function(o,i){i.length===0&&i.needDrain&&(i.needDrain=!1,o.emit("drain"))}(e,t),t.pendingcb--,r(),z9(e,t)}function H9(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),i=t.corkedRequestsFree;i.entry=n;for(var a=0;n;)o[a]=n,n=n.next,a+=1;w3(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new J9(t)}else{for(;n;){var s=n.chunk,l=n.encoding,c=n.callback;if(w3(e,t,!1,t.objectMode?1:s.length,s,l,c),n=n.next,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function G9(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Gw(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function z9(e,t){var n=G9(t);return n&&(t.pendingcb===0?(Gw(e,t),t.finished=!0,e.emit("finish")):Gw(e,t)),n}function J9(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var o=r.callback;e.pendingcb--,o(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}cr.prototype.read=function(e){Vn("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return Vn("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?sy(this):rm(this),null;if((e=Zw(e,t))===0&&t.ended)return t.length===0&&sy(this),null;var r,o=t.needReadable;return Vn("need readable",o),(t.length===0||t.length-e<t.highWaterMark)&&Vn("length less than watermark",o=!0),t.ended||t.reading?Vn("reading or ended",o=!1):o&&(Vn("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Zw(n,t))),(r=e>0?Dw(e,t):null)===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&sy(this)),r!==null&&this.emit("data",r),r},cr.prototype._read=function(e){this.emit("error",new Error("not implemented"))},cr.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,Vn("pipe count=%d opts=%j",r.pipesCount,t);var o=!t||t.end!==!1?a:c;function i(m){Vn("onunpipe"),m===n&&c()}function a(){Vn("onend"),e.end()}r.endEmitted?Xr(o):n.once("end",o),e.on("unpipe",i);var s=function(m){return function(){var x=m._readableState;Vn("pipeOnDrain",x.awaitDrain),x.awaitDrain&&x.awaitDrain--,x.awaitDrain===0&&m.listeners("data").length&&(x.flowing=!0,Jx(m))}}(n);e.on("drain",s);var l=!1;function c(){Vn("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",i),n.removeListener("end",a),n.removeListener("end",c),n.removeListener("data",f),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var u=!1;function f(m){Vn("ondata"),u=!1,e.write(m)!==!1||u||((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&Kw(r.pipes,e)!==-1)&&!l&&(Vn("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function d(m){var x;Vn("onerror",m),v(),e.removeListener("error",d),x="error",e.listeners(x).length===0&&e.emit("error",m)}function h(){e.removeListener("finish",p),v()}function p(){Vn("onfinish"),e.removeListener("close",h),v()}function v(){Vn("unpipe"),n.unpipe(e)}return n.on("data",f),function(m,x,y){if(typeof m.prependListener=="function")return m.prependListener(x,y);m._events&&m._events[x]?Array.isArray(m._events[x])?m._events[x].unshift(y):m._events[x]=[y,m._events[x]]:m.on(x,y)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(Vn("pipe resume"),n.resume()),e},cr.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 o=0;o<r;o++)n[o].emit("unpipe",this);return this}var i=Kw(t.pipes,e);return i===-1||(t.pipes.splice(i,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},cr.prototype.on=function(e,t){var n=pn.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&rm(this):Xr($ee,this))}return n},cr.prototype.addListener=cr.prototype.on,cr.prototype.resume=function(){var e=this._readableState;return e.flowing||(Vn("resume"),e.flowing=!0,function(t,n){n.resumeScheduled||(n.resumeScheduled=!0,Xr(jee,t,n))}(this,e)),this},cr.prototype.pause=function(){return Vn("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Vn("pause"),this._readableState.flowing=!1,this.emit("pause")),this},cr.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var o in e.on("end",function(){if(Vn("wrapped end"),t.decoder&&!t.ended){var i=t.decoder.end();i&&i.length&&r.push(i)}r.push(null)}),e.on("data",function(i){Vn("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&i==null||(t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause()))}),e)this[o]===void 0&&typeof e[o]=="function"&&(this[o]=function(i){return function(){return e[i].apply(e,arguments)}}(o));return function(i,a){for(var s=0,l=i.length;s<l;s++)a(i[s],s)}(["error","close","destroy","pause","resume"],function(i){e.on(i,r.emit.bind(r,i))}),r._read=function(i){Vn("wrapped _read",i),n&&(n=!1,e.resume())},r},cr._fromList=Dw,no.WritableState=M3,lc(no,pn),M3.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},no.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},no.prototype.write=function(e,t,n){var r=this._writableState,o=!1;return typeof t=="function"&&(n=t,t=null),ze.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),typeof n!="function"&&(n=ete),r.ended?function(i,a){var s=new Error("write after end");i.emit("error",s),Xr(a,s)}(this,n):function(i,a,s,l){var c=!0,u=!1;return s===null?u=new TypeError("May not write null values to stream"):ze.isBuffer(s)||typeof s=="string"||s===void 0||a.objectMode||(u=new TypeError("Invalid non-string/buffer chunk")),u&&(i.emit("error",u),Xr(l,u),c=!1),c}(this,r,e,n)&&(r.pendingcb++,o=function(i,a,s,l,c){s=function(h,p,v){return h.objectMode||h.decodeStrings===!1||typeof p!="string"||(p=ze.from(p,v)),p}(a,s,l),ze.isBuffer(s)&&(l="buffer");var u=a.objectMode?1:s.length;a.length+=u;var f=a.length<a.highWaterMark;if(f||(a.needDrain=!0),a.writing||a.corked){var d=a.lastBufferedRequest;a.lastBufferedRequest=new tte(s,l,c),d?d.next=a.lastBufferedRequest:a.bufferedRequest=a.lastBufferedRequest,a.bufferedRequestCount+=1}else w3(i,a,!1,u,s,l,c);return f}(this,r,e,t,n)),o},no.prototype.cork=function(){this._writableState.corked++},no.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||H9(this,e))},no.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},no.prototype._write=function(e,t,n){n(new Error("not implemented"))},no.prototype._writev=null,no.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(o,i,a){i.ending=!0,z9(o,i),a&&(i.finished?Xr(a):o.once("finish",a)),i.ended=!0,o.writable=!1}(this,r,n)},lc(Fi,cr);for(var zw=Object.keys(no.prototype),ly=0;ly<zw.length;ly++){var cy=zw[ly];Fi.prototype[cy]||(Fi.prototype[cy]=no.prototype[cy])}function Fi(e){if(!(this instanceof Fi))return new Fi(e);cr.call(this,e),no.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",nte)}function nte(){this.allowHalfOpen||this._writableState.ended||Xr(rte,this)}function rte(e){e.end()}function ote(e){this.afterTransform=function(t,n){return function(r,o,i){var a=r._transformState;a.transforming=!1;var s=a.writecb;if(!s)return r.emit("error",new Error("no writecb in Transform class"));a.writechunk=null,a.writecb=null,i!=null&&r.push(i),s(o);var l=r._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&r._read(l.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function Ma(e){if(!(this instanceof Ma))return new Ma(e);Fi.call(this,e),this._transformState=new ote(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.once("prefinish",function(){typeof this._flush=="function"?this._flush(function(n){Jw(t,n)}):Jw(t)})}function Jw(e,t){if(t)return e.emit("error",t);var n=e._writableState,r=e._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(r.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function yd(e){if(!(this instanceof yd))return new yd(e);Ma.call(this,e)}function xa(){pn.call(this)}lc(Ma,Fi),Ma.prototype.push=function(e,t){return this._transformState.needTransform=!1,Fi.prototype.push.call(this,e,t)},Ma.prototype._transform=function(e,t,n){throw new Error("Not implemented")},Ma.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},Ma.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},lc(yd,Ma),yd.prototype._transform=function(e,t,n){n(null,e)},lc(xa,pn),xa.Readable=cr,xa.Writable=no,xa.Duplex=Fi,xa.Transform=Ma,xa.PassThrough=yd,xa.Stream=xa,xa.prototype.pipe=function(e,t){var n=this;function r(u){e.writable&&e.write(u)===!1&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",o),e._isStdio||t&&t.end===!1||(n.on("end",a),n.on("close",s));var i=!1;function a(){i||(i=!0,e.end())}function s(){i||(i=!0,typeof e.destroy=="function"&&e.destroy())}function l(u){if(c(),pn.listenerCount(this,"error")===0)throw u}function c(){n.removeListener("data",r),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e};var $w,jw,qw,$9=r2(Object.freeze({__proto__:null,default:xa,Readable:cr,Writable:no,Duplex:Fi,Transform:Ma,PassThrough:yd,Stream:xa})),mv={exports:{}};function l2(){return $w||($w=1,Ti===void 0||!Ti.version||Ti.version.indexOf("v0.")===0||Ti.version.indexOf("v1.")===0&&Ti.version.indexOf("v1.8.")!==0?mv.exports={nextTick:function(e,t,n,r){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var o,i,a=arguments.length;switch(a){case 0:case 1:return Xr(e);case 2:return Xr(function(){e.call(null,t)});case 3:return Xr(function(){e.call(null,t,n)});case 4:return Xr(function(){e.call(null,t,n,r)});default:for(o=new Array(a-1),i=0;i<o.length;)o[i++]=arguments[i];return Xr(function(){e.apply(null,o)})}}}:mv.exports=Ti),mv.exports}var eL,ite=r2(Wee),tL={exports:{}};function j9(){return eL?tL.exports:(eL=1,tL.exports=$9)}var nL,uy={exports:{}},q9=r2(xee);function c2(){return nL||(nL=1,function(e,t){var n=q9,r=n.Buffer;function o(a,s){for(var l in a)s[l]=a[l]}function i(a,s,l){return r(a,s,l)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=i),o(r,i),i.from=function(a,s,l){if(typeof a=="number")throw new TypeError("Argument must not be a number");return r(a,s,l)},i.alloc=function(a,s,l){if(typeof a!="number")throw new TypeError("Argument must be a number");var c=r(a);return s!==void 0?typeof l=="string"?c.fill(s,l):c.fill(s):c.fill(0),c},i.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r(a)},i.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}}(uy,uy.exports)),uy.exports}var rL,qr={};function Vp(){if(rL)return qr;function e(t){return Object.prototype.toString.call(t)}return rL=1,qr.isArray=function(t){return Array.isArray?Array.isArray(t):e(t)==="[object Array]"},qr.isBoolean=function(t){return typeof t=="boolean"},qr.isNull=function(t){return t===null},qr.isNullOrUndefined=function(t){return t==null},qr.isNumber=function(t){return typeof t=="number"},qr.isString=function(t){return typeof t=="string"},qr.isSymbol=function(t){return typeof t=="symbol"},qr.isUndefined=function(t){return t===void 0},qr.isRegExp=function(t){return e(t)==="[object RegExp]"},qr.isObject=function(t){return typeof t=="object"&&t!==null},qr.isDate=function(t){return e(t)==="[object Date]"},qr.isError=function(t){return e(t)==="[object Error]"||t instanceof Error},qr.isFunction=function(t){return typeof t=="function"},qr.isPrimitive=function(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||t===void 0},qr.isBuffer=q9.Buffer.isBuffer,qr}var oL,iL,aL={exports:{}},u2=r2(Dee),fy={exports:{}};function Up(){return iL||(iL=1,function(e){try{var t=u2;if(typeof t.inherits!="function")throw"";e.exports=t.inherits}catch{e.exports=(oL||(oL=1,typeof Object.create=="function"?fy.exports=function(r,o){o&&(r.super_=o,r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:fy.exports=function(r,o){if(o){r.super_=o;var i=function(){};i.prototype=o.prototype,r.prototype=new i,r.prototype.constructor=r}}),fy.exports)}}(aL)),aL.exports}var sL,dy,lL,cL,uL,hy,fL,py,dL,hL={exports:{}};function ate(){return sL||(sL=1,function(e){var t=c2().Buffer,n=u2;e.exports=function(){function r(){(function(o,i){if(!(o instanceof i))throw new TypeError("Cannot call a class as a function")})(this,r),this.head=null,this.tail=null,this.length=0}return r.prototype.push=function(o){var i={data:o,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},r.prototype.unshift=function(o){var i={data:o,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},r.prototype.shift=function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(o){if(this.length===0)return"";for(var i=this.head,a=""+i.data;i=i.next;)a+=o+i.data;return a},r.prototype.concat=function(o){if(this.length===0)return t.alloc(0);if(this.length===1)return this.head.data;for(var i,a,s,l=t.allocUnsafe(o>>>0),c=this.head,u=0;c;)i=c.data,a=l,s=u,i.copy(a,s),u+=c.data.length,c=c.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})}(hL)),hL.exports}function eC(){if(lL)return dy;lL=1;var e=l2();function t(n,r){n.emit("error",r)}return dy={destroy:function(n,r){var o=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||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,o,s),o._writableState&&(o._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)}},dy}function tC(){if(fL)return hy;fL=1;var e=l2();function t(A){var b=this;this.next=null,this.entry=null,this.finish=function(){(function(M,T,w){var L=M.entry;for(M.entry=null;L;){var k=L.callback;T.pendingcb--,k(w),L=L.next}T.corkedRequestsFree?T.corkedRequestsFree.next=M:T.corkedRequestsFree=M})(b,A)}}hy=h;var n,r=e.nextTick;h.WritableState=d;var o=Object.create(Vp());o.inherits=Up();var i={deprecate:uL?cL:(uL=1,cL=u2.deprecate)},a=j9(),s=c2().Buffer,l=Si.Uint8Array||function(){},c,u=eC();function f(){}function d(A,b){n=n||Id(),A=A||{};var M=b instanceof n;this.objectMode=!!A.objectMode,M&&(this.objectMode=this.objectMode||!!A.writableObjectMode);var T=A.highWaterMark,w=A.writableHighWaterMark,L=this.objectMode?16:16384;this.highWaterMark=T||T===0?T:M&&(w||w===0)?w:L,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 k=A.decodeStrings===!1;this.decodeStrings=!k,this.defaultEncoding=A.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(E){(function(P,W){var N=P._writableState,_=N.sync,C=N.writecb;if(function(Y){Y.writing=!1,Y.writecb=null,Y.length-=Y.writelen,Y.writelen=0}(N),W)(function(Y,$,le,Q,K){--$.pendingcb,le?(e.nextTick(K,Q),e.nextTick(R,Y,$),Y._writableState.errorEmitted=!0,Y.emit("error",Q)):(K(Q),Y._writableState.errorEmitted=!0,Y.emit("error",Q),R(Y,$))})(P,N,_,W,C);else{var X=x(N);X||N.corked||N.bufferProcessing||!N.bufferedRequest||m(P,N),_?r(v,P,N,X,C):v(P,N,X,C)}})(b,E)},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||Id(),!(c.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,b,M,T,w,L,k){b.writelen=T,b.writecb=k,b.writing=!0,b.sync=!0,M?A._writev(w,b.onwrite):A._write(w,L,b.onwrite),b.sync=!1}function v(A,b,M,T){M||function(w,L){L.length===0&&L.needDrain&&(L.needDrain=!1,w.emit("drain"))}(A,b),b.pendingcb--,T(),R(A,b)}function m(A,b){b.bufferProcessing=!0;var M=b.bufferedRequest;if(A._writev&&M&&M.next){var T=b.bufferedRequestCount,w=new Array(T),L=b.corkedRequestsFree;L.entry=M;for(var k=0,E=!0;M;)w[k]=M,M.isBuf||(E=!1),M=M.next,k+=1;w.allBuffers=E,p(A,b,!0,b.length,w,"",L.finish),b.pendingcb++,b.lastBufferedRequest=null,L.next?(b.corkedRequestsFree=L.next,L.next=null):b.corkedRequestsFree=new t(b),b.bufferedRequestCount=0}else{for(;M;){var P=M.chunk,W=M.encoding,N=M.callback;if(p(A,b,!1,b.objectMode?1:P.length,P,W,N),M=M.next,b.bufferedRequestCount--,b.writing)break}M===null&&(b.lastBufferedRequest=null)}b.bufferedRequest=M,b.bufferProcessing=!1}function x(A){return A.ending&&A.length===0&&A.bufferedRequest===null&&!A.finished&&!A.writing}function y(A,b){A._final(function(M){b.pendingcb--,M&&A.emit("error",M),b.prefinished=!0,A.emit("prefinish"),R(A,b)})}function R(A,b){var M=x(b);return M&&(function(T,w){w.prefinished||w.finalCalled||(typeof T._final=="function"?(w.pendingcb++,w.finalCalled=!0,e.nextTick(y,T,w)):(w.prefinished=!0,T.emit("prefinish")))}(A,b),b.pendingcb===0&&(b.finished=!0,A.emit("finish"))),M}return o.inherits(h,a),d.prototype.getBuffer=function(){for(var A=this.bufferedRequest,b=[];A;)b.push(A),A=A.next;return b},function(){try{Object.defineProperty(d.prototype,"buffer",{get:i.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"?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(A){return!!c.call(this,A)||this===h&&A&&A._writableState instanceof d}})):c=function(A){return A instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(A,b,M){var T,w=this._writableState,L=!1,k=!w.objectMode&&(T=A,s.isBuffer(T)||T instanceof l);return k&&!s.isBuffer(A)&&(A=function(E){return s.from(E)}(A)),typeof b=="function"&&(M=b,b=null),k?b="buffer":b||(b=w.defaultEncoding),typeof M!="function"&&(M=f),w.ended?function(E,P){var W=new Error("write after end");E.emit("error",W),e.nextTick(P,W)}(this,M):(k||function(E,P,W,N){var _=!0,C=!1;return W===null?C=new TypeError("May not write null values to stream"):typeof W=="string"||W===void 0||P.objectMode||(C=new TypeError("Invalid non-string/buffer chunk")),C&&(E.emit("error",C),e.nextTick(N,C),_=!1),_}(this,w,A,M))&&(w.pendingcb++,L=function(E,P,W,N,_,C){if(!W){var X=function(Q,K,B){return Q.objectMode||Q.decodeStrings===!1||typeof K!="string"||(K=s.from(K,B)),K}(P,N,_);N!==X&&(W=!0,_="buffer",N=X)}var Y=P.objectMode?1:N.length;P.length+=Y;var $=P.length<P.highWaterMark;if($||(P.needDrain=!0),P.writing||P.corked){var le=P.lastBufferedRequest;P.lastBufferedRequest={chunk:N,encoding:_,isBuf:W,callback:C,next:null},le?le.next=P.lastBufferedRequest:P.bufferedRequest=P.lastBufferedRequest,P.bufferedRequestCount+=1}else p(E,P,!1,Y,N,_,C);return $}(this,w,k,A,b,M)),L},h.prototype.cork=function(){this._writableState.corked++},h.prototype.uncork=function(){var A=this._writableState;A.corked&&(A.corked--,A.writing||A.corked||A.finished||A.bufferProcessing||!A.bufferedRequest||m(this,A))},h.prototype.setDefaultEncoding=function(A){if(typeof A=="string"&&(A=A.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((A+"").toLowerCase())>-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,b,M){M(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(A,b,M){var T=this._writableState;typeof A=="function"?(M=A,A=null,b=null):typeof b=="function"&&(M=b,b=null),A!=null&&this.write(A,b),T.corked&&(T.corked=1,this.uncork()),T.ending||T.finished||function(w,L,k){L.ending=!0,R(w,L),k&&(L.finished?e.nextTick(k):w.once("finish",k)),L.ended=!0,w.writable=!1}(this,T,M)},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=u.destroy,h.prototype._undestroy=u.undestroy,h.prototype._destroy=function(A,b){this.end(),b(A)},hy}function Id(){if(dL)return py;dL=1;var e=l2(),t=Object.keys||function(f){var d=[];for(var h in f)d.push(h);return d};py=l;var n=Object.create(Vp());n.inherits=Up();var r=nC(),o=tC();n.inherits(l,r);for(var i=t(o.prototype),a=0;a<i.length;a++){var s=i[a];l.prototype[s]||(l.prototype[s]=o.prototype[s])}function l(f){if(!(this instanceof l))return new l(f);r.call(this,f),o.call(this,f),f&&f.readable===!1&&(this.readable=!1),f&&f.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,f&&f.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",c)}function c(){this.allowHalfOpen||this._writableState.ended||e.nextTick(u,this)}function u(f){f.end()}return Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(f){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=f,this._writableState.destroyed=f)}}),l.prototype._destroy=function(f,d){this.push(null),this.end(),e.nextTick(d,f)},py}var pL,vy,vL,gy,gL,my,mL,AL,Ay={};function RL(){if(pL)return Ay;pL=1;var e=c2().Buffer,t=e.isEncoding||function(f){switch((f=""+f)&&f.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 n(f){var d;switch(this.encoding=function(h){var p=function(v){if(!v)return"utf8";for(var m;;)switch(v){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return v;default:if(m)return;v=(""+v).toLowerCase(),m=!0}}(h);if(typeof p!="string"&&(e.isEncoding===t||!t(h)))throw new Error("Unknown encoding: "+h);return p||h}(f),this.encoding){case"utf16le":this.text=i,this.end=a,d=4;break;case"utf8":this.fillLast=o,d=4;break;case"base64":this.text=s,this.end=l,d=3;break;default:return this.write=c,void(this.end=u)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(d)}function r(f){return f<=127?0:f>>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function o(f){var d=this.lastTotal-this.lastNeed,h=function(p,v,m){if((192&v[0])!=128)return p.lastNeed=0,"<22>";if(p.lastNeed>1&&v.length>1){if((192&v[1])!=128)return p.lastNeed=1,"<22>";if(p.lastNeed>2&&v.length>2&&(192&v[2])!=128)return p.lastNeed=2,"<22>"}}(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 i(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 c(f){return f.toString(this.encoding)}function u(f){return f&&f.length?this.write(f):""}return Ay.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<f.length?d?d+this.text(f,h):this.text(f,h):d||""},n.prototype.end=function(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+"<22>":d},n.prototype.text=function(f,d){var h=function(v,m,x){var y=m.length-1;if(y<x)return 0;var R=r(m[y]);return R>=0?(R>0&&(v.lastNeed=R-1),R):--y<x||R===-2?0:(R=r(m[y]))>=0?(R>0&&(v.lastNeed=R-2),R):--y<x||R===-2?0:(R=r(m[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},Ay}function nC(){if(vL)return vy;vL=1;var e=l2();vy=v;var t,n=function(){if(qw)return jw;qw=1;var _={}.toString;return jw=Array.isArray||function(C){return _.call(C)=="[object Array]"}}();v.ReadableState=p,ite.EventEmitter;var r=function(_,C){return _.listeners(C).length},o=j9(),i=c2().Buffer,a=Si.Uint8Array||function(){},s=Object.create(Vp());s.inherits=Up();var l=u2,c=void 0;c=l&&l.debuglog?l.debuglog("stream"):function(){};var u,f=ate(),d=eC();s.inherits(v,o);var h=["error","close","destroy","pause","resume"];function p(_,C){_=_||{};var X=C instanceof(t=t||Id());this.objectMode=!!_.objectMode,X&&(this.objectMode=this.objectMode||!!_.readableObjectMode);var Y=_.highWaterMark,$=_.readableHighWaterMark,le=this.objectMode?16:16384;this.highWaterMark=Y||Y===0?Y:X&&($||$===0)?$:le,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=_.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,_.encoding&&(u||(u=RL().StringDecoder),this.decoder=new u(_.encoding),this.encoding=_.encoding)}function v(_){if(t=t||Id(),!(this instanceof v))return new v(_);this._readableState=new p(_,this),this.readable=!0,_&&(typeof _.read=="function"&&(this._read=_.read),typeof _.destroy=="function"&&(this._destroy=_.destroy)),o.call(this)}function m(_,C,X,Y,$){var le,Q=_._readableState;return C===null?(Q.reading=!1,function(K,B){if(!B.ended){if(B.decoder){var D=B.decoder.end();D&&D.length&&(B.buffer.push(D),B.length+=B.objectMode?1:D.length)}B.ended=!0,A(K)}}(_,Q)):($||(le=function(K,B){var D;G=B,i.isBuffer(G)||G instanceof a||typeof B=="string"||B===void 0||K.objectMode||(D=new TypeError("Invalid non-string/buffer chunk"));var G;return D}(Q,C)),le?_.emit("error",le):Q.objectMode||C&&C.length>0?(typeof C=="string"||Q.objectMode||Object.getPrototypeOf(C)===i.prototype||(C=function(K){return i.from(K)}(C)),Y?Q.endEmitted?_.emit("error",new Error("stream.unshift() after end event")):x(_,Q,C,!0):Q.ended?_.emit("error",new Error("stream.push() after EOF")):(Q.reading=!1,Q.decoder&&!X?(C=Q.decoder.write(C),Q.objectMode||C.length!==0?x(_,Q,C,!1):M(_,Q)):x(_,Q,C,!1))):Y||(Q.reading=!1)),function(K){return!K.ended&&(K.needReadable||K.length<K.highWaterMark||K.length===0)}(Q)}function x(_,C,X,Y){C.flowing&&C.length===0&&!C.sync?(_.emit("data",X),_.read(0)):(C.length+=C.objectMode?1:X.length,Y?C.buffer.unshift(X):C.buffer.push(X),C.needReadable&&A(_)),M(_,C)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(_){this._readableState&&(this._readableState.destroyed=_)}}),v.prototype.destroy=d.destroy,v.prototype._undestroy=d.undestroy,v.prototype._destroy=function(_,C){this.push(null),C(_)},v.prototype.push=function(_,C){var X,Y=this._readableState;return Y.objectMode?X=!0:typeof _=="string"&&((C=C||Y.defaultEncoding)!==Y.encoding&&(_=i.from(_,C),C=""),X=!0),m(this,_,C,!1,X)},v.prototype.unshift=function(_){return m(this,_,null,!0,!1)},v.prototype.isPaused=function(){return this._readableState.flowing===!1},v.prototype.setEncoding=function(_){return u||(u=RL().StringDecoder),this._readableState.decoder=new u(_),this._readableState.encoding=_,this};var y=8388608;function R(_,C){return _<=0||C.length===0&&C.ended?0:C.objectMode?1:_!=_?C.flowing&&C.length?C.buffer.head.data.length:C.length:(_>C.highWaterMark&&(C.highWaterMark=function(X){return X>=y?X=y:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(_)),_<=C.length?_:C.ended?C.length:(C.needReadable=!0,0))}function A(_){var C=_._readableState;C.needReadable=!1,C.emittedReadable||(c("emitReadable",C.flowing),C.emittedReadable=!0,C.sync?e.nextTick(b,_):b(_))}function b(_){c("emit readable"),_.emit("readable"),k(_)}function M(_,C){C.readingMore||(C.readingMore=!0,e.nextTick(T,_,C))}function T(_,C){for(var X=C.length;!C.reading&&!C.flowing&&!C.ended&&C.length<C.highWaterMark&&(c("maybeReadMore read 0"),_.read(0),X!==C.length);)X=C.length;C.readingMore=!1}function w(_){c("readable nexttick read 0"),_.read(0)}function L(_,C){C.reading||(c("resume read 0"),_.read(0)),C.resumeScheduled=!1,C.awaitDrain=0,_.emit("resume"),k(_),C.flowing&&!C.reading&&_.read(0)}function k(_){var C=_._readableState;for(c("flow",C.flowing);C.flowing&&_.read()!==null;);}function E(_,C){return C.length===0?null:(C.objectMode?X=C.buffer.shift():!_||_>=C.length?(X=C.decoder?C.buffer.join(""):C.buffer.length===1?C.buffer.head.data:C.buffer.concat(C.length),C.buffer.clear()):X=function(Y,$,le){var Q;return Y<$.head.data.length?(Q=$.head.data.slice(0,Y),$.head.data=$.head.data.slice(Y)):Q=Y===$.head.data.length?$.shift():le?function(K,B){var D=B.head,G=1,ae=D.data;for(K-=ae.length;D=D.next;){var se=D.data,J=K>se.length?se.length:K;if(J===se.length?ae+=se:ae+=se.slice(0,K),(K-=J)===0){J===se.length?(++G,D.next?B.head=D.next:B.head=B.tail=null):(B.head=D,D.data=se.slice(J));break}++G}return B.length-=G,ae}(Y,$):function(K,B){var D=i.allocUnsafe(K),G=B.head,ae=1;for(G.data.copy(D),K-=G.data.length;G=G.next;){var se=G.data,J=K>se.length?se.length:K;if(se.copy(D,D.length-K,0,J),(K-=J)===0){J===se.length?(++ae,G.next?B.head=G.next:B.head=B.tail=null):(B.head=G,G.data=se.slice(J));break}++ae}return B.length-=ae,D}(Y,$),Q}(_,C.buffer,C.decoder),X);var X}function P(_){var C=_._readableState;if(C.length>0)throw new Error('"endReadable()" called on non-empty stream');C.endEmitted||(C.ended=!0,e.nextTick(W,C,_))}function W(_,C){_.endEmitted||_.length!==0||(_.endEmitted=!0,C.readable=!1,C.emit("end"))}function N(_,C){for(var X=0,Y=_.length;X<Y;X++)if(_[X]===C)return X;return-1}return v.prototype.read=function(_){c("read",_),_=parseInt(_,10);var C=this._readableState,X=_;if(_!==0&&(C.emittedReadable=!1),_===0&&C.needReadable&&(C.length>=C.highWaterMark||C.ended))return c("read: emitReadable",C.length,C.ended),C.length===0&&C.ended?P(this):A(this),null;if((_=R(_,C))===0&&C.ended)return C.length===0&&P(this),null;var Y,$=C.needReadable;return c("need readable",$),(C.length===0||C.length-_<C.highWaterMark)&&c("length less than watermark",$=!0),C.ended||C.reading?c("reading or ended",$=!1):$&&(c("do read"),C.reading=!0,C.sync=!0,C.length===0&&(C.needReadable=!0),this._read(C.highWaterMark),C.sync=!1,C.reading||(_=R(X,C))),(Y=_>0?E(_,C):null)===null?(C.needReadable=!0,_=0):C.length-=_,C.length===0&&(C.ended||(C.needReadable=!0),X!==_&&C.ended&&P(this)),Y!==null&&this.emit("data",Y),Y},v.prototype._read=function(_){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(_,C){var X=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=_;break;case 1:Y.pipes=[Y.pipes,_];break;default:Y.pipes.push(_)}Y.pipesCount+=1,c("pipe count=%d opts=%j",Y.pipesCount,C);var $=(!C||C.end!==!1)&&_!==Ti.stdout&&_!==Ti.stderr?Q:Re;function le(fe,me){c("onunpipe"),fe===X&&me&&me.hasUnpiped===!1&&(me.hasUnpiped=!0,c("cleanup"),_.removeListener("close",se),_.removeListener("finish",J),_.removeListener("drain",K),_.removeListener("error",ae),_.removeListener("unpipe",le),X.removeListener("end",Q),X.removeListener("end",Re),X.removeListener("data",G),B=!0,!Y.awaitDrain||_._writableState&&!_._writableState.needDrain||K())}function Q(){c("onend"),_.end()}Y.endEmitted?e.nextTick($):X.once("end",$),_.on("unpipe",le);var K=function(fe){return function(){var me=fe._readableState;c("pipeOnDrain",me.awaitDrain),me.awaitDrain&&me.awaitDrain--,me.awaitDrain===0&&r(fe,"data")&&(me.flowing=!0,k(fe))}}(X);_.on("drain",K);var B=!1,D=!1;function G(fe){c("ondata"),D=!1,_.write(fe)!==!1||D||((Y.pipesCount===1&&Y.pipes===_||Y.pipesCount>1&&N(Y.pipes,_)!==-1)&&!B&&(c("false write response, pause",X._readableState.awaitDrain),X._readableState.awaitDrain++,D=!0),X.pause())}function ae(fe){c("onerror",fe),Re(),_.removeListener("error",ae),r(_,"error")===0&&_.emit("error",fe)}function se(){_.removeListener("finish",J),Re()}function J(){c("onfinish"),_.removeListener("close",se),Re()}function Re(){c("unpipe"),X.unpipe(_)}return X.on("data",G),function(fe,me,ue){if(typeof fe.prependListener=="function")return fe.prependListener(me,ue);fe._events&&fe._events[me]?n(fe._events[me])?fe._events[me].unshift(ue):fe._events[me]=[ue,fe._events[me]]:fe.on(me,ue)}(_,"error",ae),_.once("close",se),_.once("finish",J),_.emit("pipe",X),Y.flowing||(c("pipe resume"),X.resume()),_},v.prototype.unpipe=function(_){var C=this._readableState,X={hasUnpiped:!1};if(C.pipesCount===0)return this;if(C.pipesCount===1)return _&&_!==C.pipes||(_||(_=C.pipes),C.pipes=null,C.pipesCount=0,C.flowing=!1,_&&_.emit("unpipe",this,X)),this;if(!_){var Y=C.pipes,$=C.pipesCount;C.pipes=null,C.pipesCount=0,C.flowing=!1;for(var le=0;le<$;le++)Y[le].emit("unpipe",this,X);return this}var Q=N(C.pipes,_);return Q===-1||(C.pipes.splice(Q,1),C.pipesCount-=1,C.pipesCount===1&&(C.pipes=C.pipes[0]),_.emit("unpipe",this,X)),this},v.prototype.on=function(_,C){var X=o.prototype.on.call(this,_,C);if(_==="data")this._readableState.flowing!==!1&&this.resume();else if(_==="readable"){var Y=this._readableState;Y.endEmitted||Y.readableListening||(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,Y.reading?Y.length&&A(this):e.nextTick(w,this))}return X},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var _=this._readableState;return _.flowing||(c("resume"),_.flowing=!0,function(C,X){X.resumeScheduled||(X.resumeScheduled=!0,e.nextTick(L,C,X))}(this,_)),this},v.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(_){var C=this,X=this._readableState,Y=!1;for(var $ in _.on("end",function(){if(c("wrapped end"),X.decoder&&!X.ended){var Q=X.decoder.end();Q&&Q.length&&C.push(Q)}C.push(null)}),_.on("data",function(Q){c("wrapped data"),X.decoder&&(Q=X.decoder.write(Q)),X.objectMode&&Q==null||(X.objectMode||Q&&Q.length)&&(C.push(Q)||(Y=!0,_.pause()))}),_)this[$]===void 0&&typeof _[$]=="function"&&(this[$]=function(Q){return function(){return _[Q].apply(_,arguments)}}($));for(var le=0;le<h.length;le++)_.on(h[le],this.emit.bind(this,h[le]));return this._read=function(Q){c("wrapped _read",Q),Y&&(Y=!1,_.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=E,vy}function yL(){if(gL)return gy;gL=1,gy=r;var e=Id(),t=Object.create(Vp());function n(a,s){var l=this._transformState;l.transforming=!1;var c=l.writecb;if(!c)return this.emit("error",new Error("write callback called multiple times"));l.writechunk=null,l.writecb=null,s!=null&&this.push(s),c(a);var u=this._readableState;u.reading=!1,(u.needReadable||u.length<u.highWaterMark)&&this._read(u.highWaterMark)}function r(a){if(!(this instanceof r))return new r(a);e.call(this,a),this._transformState={afterTransform:n.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,a&&(typeof a.transform=="function"&&(this._transform=a.transform),typeof a.flush=="function"&&(this._flush=a.flush)),this.on("prefinish",o)}function o(){var a=this;typeof this._flush=="function"?this._flush(function(s,l){i(a,s,l)}):i(this,null,null)}function i(a,s,l){if(s)return a.emit("error",s);if(l!=null&&a.push(l),a._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(a._transformState.transforming)throw new Error("Calling transform done when still transforming");return a.push(null)}return t.inherits=Up(),t.inherits(r,e),r.prototype.push=function(a,s){return this._transformState.needTransform=!1,e.prototype.push.call(this,a,s)},r.prototype._transform=function(a,s,l){throw new Error("_transform() is not implemented")},r.prototype._write=function(a,s,l){var c=this._transformState;if(c.writecb=l,c.writechunk=a,c.writeencoding=s,!c.transforming){var u=this._readableState;(c.needTransform||u.needReadable||u.length<u.highWaterMark)&&this._read(u.highWaterMark)}},r.prototype._read=function(a){var s=this._transformState;s.writechunk!==null&&s.writecb&&!s.transforming?(s.transforming=!0,this._transform(s.writechunk,s.writeencoding,s.afterTransform)):s.needTransform=!0},r.prototype._destroy=function(a,s){var l=this;e.prototype._destroy.call(this,a,function(c){s(c),l.emit("close")})},gy}function rC(){return AL||(AL=1,function(e,t){var n=$9;Ti.env.READABLE_STREAM==="disable"&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=nC()).Stream=n||t,t.Readable=t,t.Writable=tC(),t.Duplex=Id(),t.Transform=yL(),t.PassThrough=function(){if(mL)return my;mL=1,my=i;var r=yL(),o=Object.create(Vp());function i(a){if(!(this instanceof i))return new i(a);r.call(this,a)}return o.inherits=Up(),o.inherits(i,r),i.prototype._transform=function(a,s,l){l(null,a)},my}())}(ny,ny.exports)),ny.exports}if(Nr.base64=!0,Nr.array=!0,Nr.string=!0,Nr.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",Nr.nodebuffer=!0,Nr.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")Nr.blob=!1;else{var bL=new ArrayBuffer(0);try{Nr.blob=new Blob([bL],{type:"application/zip"}).size===0}catch{try{var xL=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);xL.append(bL),Nr.blob=xL.getBlob("application/zip").size===0}catch{Nr.blob=!1}}}try{Nr.nodestream=!!rC().Readable}catch{Nr.nodestream=!1}var SL,Av={};function oC(){if(SL)return Av;SL=1;var e=xr(),t=Nr,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return Av.encode=function(r){for(var o,i,a,s,l,c,u,f=[],d=0,h=r.length,p=h,v=e.getTypeOf(r)!=="string";d<r.length;)p=h-d,v?(o=r[d++],i=d<h?r[d++]:0,a=d<h?r[d++]:0):(o=r.charCodeAt(d++),i=d<h?r.charCodeAt(d++):0,a=d<h?r.charCodeAt(d++):0),s=o>>2,l=(3&o)<<4|i>>4,c=p>1?(15&i)<<2|a>>6:64,u=p>2?63&a:64,f.push(n.charAt(s)+n.charAt(l)+n.charAt(c)+n.charAt(u));return f.join("")},Av.decode=function(r){var o,i,a,s,l,c,u=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);u<r.length;)o=n.indexOf(r.charAt(u++))<<2|(s=n.indexOf(r.charAt(u++)))>>4,i=(15&s)<<4|(l=n.indexOf(r.charAt(u++)))>>2,a=(3&l)<<6|(c=n.indexOf(r.charAt(u++))),h[f++]=o,l!==64&&(h[f++]=i),c!==64&&(h[f++]=a);return h},Av}var ML,wL,Ry,LL,f2={isNode:!0,newBufferFrom:function(e,t){if(ze.from&&ze.from!==Uint8Array.from)return ze.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new ze(e,t)},allocBuffer:function(e){if(ze.alloc)return ze.alloc(e);var t=new ze(e);return t.fill(0),t},isBuffer:function(e){return Ep(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}},iC=null;iC=typeof Promise<"u"?Promise:function(){if(LL)return Ry;LL=1;var e=function(){if(wL)return ML;wL=1;var d,h,p=Si.MutationObserver||Si.WebKitMutationObserver;if(p){var v=0,m=new p(A),x=Si.document.createTextNode("");m.observe(x,{characterData:!0}),d=function(){x.data=v=++v%2}}else if(Si.setImmediate||Si.MessageChannel===void 0)d="document"in Si&&"onreadystatechange"in Si.document.createElement("script")?function(){var b=Si.document.createElement("script");b.onreadystatechange=function(){A(),b.onreadystatechange=null,b.parentNode.removeChild(b),b=null},Si.document.documentElement.appendChild(b)}:function(){setTimeout(A,0)};else{var y=new Si.MessageChannel;y.port1.onmessage=A,d=function(){y.port2.postMessage(0)}}var R=[];function A(){var b,M;h=!0;for(var T=R.length;T;){for(M=R,R=[],b=-1;++b<T;)M[b]();T=R.length}h=!1}return ML=function(b){R.push(b)!==1||h||d()}}();function t(){}var n={},r=["REJECTED"],o=["FULFILLED"],i=["PENDING"];function a(d){if(typeof d!="function")throw new TypeError("resolver must be a function");this.state=i,this.queue=[],this.outcome=void 0,d!==t&&u(this,d)}function s(d,h,p){this.promise=d,typeof h=="function"&&(this.onFulfilled=h,this.callFulfilled=this.otherCallFulfilled),typeof p=="function"&&(this.onRejected=p,this.callRejected=this.otherCallRejected)}function l(d,h,p){e(function(){var v;try{v=h(p)}catch(m){return n.reject(d,m)}v===d?n.reject(d,new TypeError("Cannot resolve promise with itself")):n.resolve(d,v)})}function c(d){var h=d&&d.then;if(d&&(typeof d=="object"||typeof d=="function")&&typeof h=="function")return function(){h.apply(d,arguments)}}function u(d,h){var p=!1;function v(y){p||(p=!0,n.reject(d,y))}function m(y){p||(p=!0,n.resolve(d,y))}var x=f(function(){h(m,v)});x.status==="error"&&v(x.value)}function f(d,h){var p={};try{p.value=d(h),p.status="success"}catch(v){p.status="error",p.value=v}return p}return Ry=a,a.prototype.finally=function(d){if(typeof d!="function")return this;var h=this.constructor;return this.then(function(p){return h.resolve(d()).then(function(){return p})},function(p){return h.resolve(d()).then(function(){throw p})})},a.prototype.catch=function(d){return this.then(null,d)},a.prototype.then=function(d,h){if(typeof d!="function"&&this.state===o||typeof h!="function"&&this.state===r)return this;var p=new this.constructor(t);return this.state!==i?l(p,this.state===o?d:h,this.outcome):this.queue.push(new s(p,d,h)),p},s.prototype.callFulfilled=function(d){n.resolve(this.promise,d)},s.prototype.otherCallFulfilled=function(d){l(this.promise,this.onFulfilled,d)},s.prototype.callRejected=function(d){n.reject(this.promise,d)},s.prototype.otherCallRejected=function(d){l(this.promise,this.onRejected,d)},n.resolve=function(d,h){var p=f(c,h);if(p.status==="error")return n.reject(d,p.value);var v=p.value;if(v)u(d,v);else{d.state=o,d.outcome=h;for(var m=-1,x=d.queue.length;++m<x;)d.queue[m].callFulfilled(h)}return d},n.reject=function(d,h){d.state=r,d.outcome=h;for(var p=-1,v=d.queue.length;++p<v;)d.queue[p].callRejected(h);return d},a.resolve=function(d){return d instanceof this?d:n.resolve(new this(t),d)},a.reject=function(d){var h=new this(t);return n.reject(h,d)},a.all=function(d){var h=this;if(Object.prototype.toString.call(d)!=="[object Array]")return this.reject(new TypeError("must be an array"));var p=d.length,v=!1;if(!p)return this.resolve([]);for(var m=new Array(p),x=0,y=-1,R=new this(t);++y<p;)A(d[y],y);return R;function A(b,M){h.resolve(b).then(function(T){m[M]=T,++x!==p||v||(v=!0,n.resolve(R,m))},function(T){v||(v=!0,n.reject(R,T))})}},a.race=function(d){var h=this;if(Object.prototype.toString.call(d)!=="[object Array]")return this.reject(new TypeError("must be an array"));var p=d.length,v=!1;if(!p)return this.resolve([]);for(var m,x=-1,y=new this(t);++x<p;)m=d[x],h.resolve(m).then(function(R){v||(v=!0,n.resolve(y,R))},function(R){v||(v=!0,n.reject(y,R))});return y},Ry}();var OL,Yp={Promise:iC};function xr(){return OL||(OL=1,function(e){var t=Nr,n=oC(),r=f2,o=Yp;function i(f){return f}function a(f,d){for(var h=0;h<f.length;++h)d[h]=255&f.charCodeAt(h);return d}e.newBlob=function(f,d){e.checkSupport("blob");try{return new Blob([f],{type:d})}catch{try{var h=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return h.append(f),h.getBlob(d)}catch{throw new Error("Bug : can't construct the Blob.")}}};var s={stringifyByChunk:function(f,d,h){var p=[],v=0,m=f.length;if(m<=h)return String.fromCharCode.apply(null,f);for(;v<m;)d==="array"||d==="nodebuffer"?p.push(String.fromCharCode.apply(null,f.slice(v,Math.min(v+h,m)))):p.push(String.fromCharCode.apply(null,f.subarray(v,Math.min(v+h,m)))),v+=h;return p.join("")},stringifyByChar:function(f){for(var d="",h=0;h<f.length;h++)d+=String.fromCharCode(f[h]);return d},applyCanBeUsed:{uint8array:function(){try{return t.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return t.nodebuffer&&String.fromCharCode.apply(null,r.allocBuffer(1)).length===1}catch{return!1}}()}};function l(f){var d=65536,h=e.getTypeOf(f),p=!0;if(h==="uint8array"?p=s.applyCanBeUsed.uint8array:h==="nodebuffer"&&(p=s.applyCanBeUsed.nodebuffer),p)for(;d>1;)try{return s.stringifyByChunk(f,h,d)}catch{d=Math.floor(d/2)}return s.stringifyByChar(f)}function c(f,d){for(var h=0;h<f.length;h++)d[h]=f[h];return d}e.applyFromCharCode=l;var u={};u.string={string:i,array:function(f){return a(f,new Array(f.length))},arraybuffer:function(f){return u.string.uint8array(f).buffer},uint8array:function(f){return a(f,new Uint8Array(f.length))},nodebuffer:function(f){return a(f,r.allocBuffer(f.length))}},u.array={string:l,array:i,arraybuffer:function(f){return new Uint8Array(f).buffer},uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return r.newBufferFrom(f)}},u.arraybuffer={string:function(f){return l(new Uint8Array(f))},array:function(f){return c(new Uint8Array(f),new Array(f.byteLength))},arraybuffer:i,uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return r.newBufferFrom(new Uint8Array(f))}},u.uint8array={string:l,array:function(f){return c(f,new Array(f.length))},arraybuffer:function(f){return f.buffer},uint8array:i,nodebuffer:function(f){return r.newBufferFrom(f)}},u.nodebuffer={string:l,array:function(f){return c(f,new Array(f.length))},arraybuffer:function(f){return u.nodebuffer.uint8array(f).buffer},uint8array:function(f){return c(f,new Uint8Array(f.length))},nodebuffer:i},e.transformTo=function(f,d){if(d||(d=""),!f)return d;e.checkSupport(f);var h=e.getTypeOf(d);return u[h][f](d)},e.resolve=function(f){for(var d=f.split("/"),h=[],p=0;p<d.length;p++){var v=d[p];v==="."||v===""&&p!==0&&p!==d.length-1||(v===".."?h.pop():h.push(v))}return h.join("/")},e.getTypeOf=function(f){return typeof f=="string"?"string":Object.prototype.toString.call(f)==="[object Array]"?"array":t.nodebuffer&&r.isBuffer(f)?"nodebuffer":t.uint8array&&f instanceof Uint8Array?"uint8array":t.arraybuffer&&f instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(f){if(!t[f.toLowerCase()])throw new Error(f+" is not supported by this platform")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(f){var d,h,p="";for(h=0;h<(f||"").length;h++)p+="\\x"+((d=f.charCodeAt(h))<16?"0":"")+d.toString(16).toUpperCase();return p},e.delay=function(f,d,h){setImmediate(function(){f.apply(h||null,d||[])})},e.inherits=function(f,d){var h=function(){};h.prototype=d.prototype,f.prototype=new h},e.extend=function(){var f,d,h={};for(f=0;f<arguments.length;f++)for(d in arguments[f])Object.prototype.hasOwnProperty.call(arguments[f],d)&&h[d]===void 0&&(h[d]=arguments[f][d]);return h},e.prepareContent=function(f,d,h,p,v){return o.Promise.resolve(d).then(function(m){return t.blob&&(m instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(m))!==-1)&&typeof FileReader<"u"?new o.Promise(function(x,y){var R=new FileReader;R.onload=function(A){x(A.target.result)},R.onerror=function(A){y(A.target.error)},R.readAsArrayBuffer(m)}):m}).then(function(m){var x,y=e.getTypeOf(m);return y?(y==="arraybuffer"?m=e.transformTo("uint8array",m):y==="string"&&(v?m=n.decode(m):h&&p!==!0&&(m=a(x=m,t.uint8array?new Uint8Array(x.length):new Array(x.length)))),m):o.Promise.reject(new Error("Can't read the data of '"+f+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}}(Cw)),Cw}function aC(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}(function(e,t){if(!e.setImmediate){var n,r,o,i,a,s=1,l={},c=!1,u=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,{}.toString.call(e.process)==="[object process]"?n=function(p){Xr(function(){h(p)})}:function(){if(e.postMessage&&!e.importScripts){var p=!0,v=e.onmessage;return e.onmessage=function(){p=!1},e.postMessage("","*"),e.onmessage=v,p}}()?(i="setImmediate$"+Math.random()+"$",a=function(p){p.source===e&&typeof p.data=="string"&&p.data.indexOf(i)===0&&h(+p.data.slice(i.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(p){e.postMessage(i+p,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(p){h(p.data)},n=function(p){o.port2.postMessage(p)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,n=function(p){var v=u.createElement("script");v.onreadystatechange=function(){h(p),v.onreadystatechange=null,r.removeChild(v),v=null},r.appendChild(v)}):n=function(p){setTimeout(h,0,p)},f.setImmediate=function(p){typeof p!="function"&&(p=new Function(""+p));for(var v=new Array(arguments.length-1),m=0;m<v.length;m++)v[m]=arguments[m+1];var x={callback:p,args:v};return l[s]=x,n(s),s++},f.clearImmediate=d}function d(p){delete l[p]}function h(p){if(c)setTimeout(h,0,p);else{var v=l[p];if(v){c=!0;try{(function(m){var x=m.callback,y=m.args;switch(y.length){case 0:x();break;case 1:x(y[0]);break;case 2:x(y[0],y[1]);break;case 3:x(y[0],y[1],y[2]);break;default:x.apply(void 0,y)}})(v)}finally{d(p),c=!1}}}}})(typeof self>"u"?Si:self),aC.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<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.end()}),e.on("error",function(n){t.error(n)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};var ca=aC;(function(e){for(var t=xr(),n=Nr,r=f2,o=ca,i=new Array(256),a=0;a<256;a++)i[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;i[254]=i[254]=1;function s(){o.call(this,"utf-8 decode"),this.leftOver=null}function l(){o.call(this,"utf-8 encode")}e.utf8encode=function(c){return n.nodebuffer?r.newBufferFrom(c,"utf-8"):function(u){var f,d,h,p,v,m=u.length,x=0;for(p=0;p<m;p++)(64512&(d=u.charCodeAt(p)))==55296&&p+1<m&&(64512&(h=u.charCodeAt(p+1)))==56320&&(d=65536+(d-55296<<10)+(h-56320),p++),x+=d<128?1:d<2048?2:d<65536?3:4;for(f=n.uint8array?new Uint8Array(x):new Array(x),v=0,p=0;v<x;p++)(64512&(d=u.charCodeAt(p)))==55296&&p+1<m&&(64512&(h=u.charCodeAt(p+1)))==56320&&(d=65536+(d-55296<<10)+(h-56320),p++),d<128?f[v++]=d:d<2048?(f[v++]=192|d>>>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}(c)},e.utf8decode=function(c){return n.nodebuffer?t.transformTo("nodebuffer",c).toString("utf-8"):function(u){var f,d,h,p,v=u.length,m=new Array(2*v);for(d=0,f=0;f<v;)if((h=u[f++])<128)m[d++]=h;else if((p=i[h])>4)m[d++]=65533,f+=p-1;else{for(h&=p===2?31:p===3?15:7;p>1&&f<v;)h=h<<6|63&u[f++],p--;p>1?m[d++]=65533:h<65536?m[d++]=h:(h-=65536,m[d++]=55296|h>>10&1023,m[d++]=56320|1023&h)}return m.length!==d&&(m.subarray?m=m.subarray(0,d):m.length=d),t.applyFromCharCode(m)}(c=t.transformTo(n.uint8array?"uint8array":"array",c))},t.inherits(s,o),s.prototype.processChunk=function(c){var u=t.transformTo(n.uint8array?"uint8array":"array",c.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var f=u;(u=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),u.set(f,this.leftOver.length)}else u=this.leftOver.concat(u);this.leftOver=null}var d=function(p,v){var m;for((v=v||p.length)>p.length&&(v=p.length),m=v-1;m>=0&&(192&p[m])==128;)m--;return m<0||m===0?v:m+i[p[m]]>v?m:v}(u),h=u;d!==u.length&&(n.uint8array?(h=u.subarray(0,d),this.leftOver=u.subarray(d,u.length)):(h=u.slice(0,d),this.leftOver=u.slice(d,u.length))),this.push({data:e.utf8decode(h),meta:c.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,o),l.prototype.processChunk=function(c){this.push({data:e.utf8encode(c.data),meta:c.meta})},e.Utf8EncodeWorker=l})(jd);var sC=ca,TL=xr();function L3(e){sC.call(this,"ConvertWorker to "+e),this.destType=e}TL.inherits(L3,sC),L3.prototype.processChunk=function(e){this.push({data:TL.transformTo(this.destType,e.data),meta:e.meta})};var kL,NL,ste=L3,xu=xr(),lte=ste,cte=ca,ute=oC(),fte=Yp,lC=null;if(Nr.nodestream)try{lC=function(){if(NL)return kL;NL=1;var e=rC().Readable;function t(n,r,o){e.call(this,r),this._helper=n;var i=this;n.on("data",function(a,s){i.push(a)||i._helper.pause(),o&&o(s)}).on("error",function(a){i.emit("error",a)}).on("end",function(){i.push(null)})}return xr().inherits(t,e),t.prototype._read=function(){this._helper.resume()},kL=t}()}catch{}function dte(e,t){return new fte.Promise(function(n,r){var o=[],i=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",function(l,c){o.push(l),t&&t(c)}).on("error",function(l){o=[],r(l)}).on("end",function(){try{var l=function(c,u,f){switch(c){case"blob":return xu.newBlob(xu.transformTo("arraybuffer",u),f);case"base64":return ute.encode(u);default:return xu.transformTo(c,u)}}(a,function(c,u){var f,d=0,h=null,p=0;for(f=0;f<u.length;f++)p+=u[f].length;switch(c){case"string":return u.join("");case"array":return Array.prototype.concat.apply([],u);case"uint8array":for(h=new Uint8Array(p),f=0;f<u.length;f++)h.set(u[f],d),d+=u[f].length;return h;case"nodebuffer":return ze.concat(u);default:throw new Error("concat : unsupported type '"+c+"'")}}(i,o),s);n(l)}catch(c){r(c)}o=[]}).resume()})}function cC(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,xu.checkSupport(r),this._worker=e.pipe(new lte(r)),e.lock()}catch(o){this._worker=new cte("error"),this._worker.error(o)}}cC.prototype={accumulate:function(e){return dte(this,e)},on:function(e,t){var n=this;return e==="data"?this._worker.on(e,function(r){t.call(n,r.data,r.meta)}):this._worker.on(e,function(){xu.delay(t,arguments,n)}),this},resume:function(){return xu.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(xu.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new lC(this,{objectMode:this._outputType!=="nodebuffer"},e)}};var uC=cC,fC={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},qv=xr(),eg=ca;function Yf(e){eg.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(n){t.dataIsReady=!0,t.data=n,t.max=n&&n.length||0,t.type=qv.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}qv.inherits(Yf,eg),Yf.prototype.cleanUp=function(){eg.prototype.cleanUp.call(this),this.data=null},Yf.prototype.resume=function(){return!!eg.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,qv.delay(this._tickAndRepeat,[],this)),!0)},Yf.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(qv.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},Yf.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=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 dC=Yf,hte=xr(),PL=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}(),$x=function(e,t){return e!==void 0&&e.length?hte.getTypeOf(e)!=="string"?function(n,r,o,i){var a=PL,s=i+o;n^=-1;for(var l=i;l<s;l++)n=n>>>8^a[255&(n^r[l])];return-1^n}(0|t,e,e.length,0):function(n,r,o,i){var a=PL,s=i+o;n^=-1;for(var l=i;l<s;l++)n=n>>>8^a[255&(n^r.charCodeAt(l))];return-1^n}(0|t,e,e.length,0):0},hC=ca,pte=$x;function O3(){hC.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}xr().inherits(O3,hC),O3.prototype.processChunk=function(e){this.streamInfo.crc32=pte(e.data,this.streamInfo.crc32||0),this.push(e)};var pC=O3,vte=xr(),T3=ca;function k3(e){T3.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}vte.inherits(k3,T3),k3.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}T3.prototype.processChunk.call(this,e)};var CL=Yp,IL=dC,gte=pC,yy=k3;function N3(e,t,n,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=o}N3.prototype={getContentWorker:function(){var e=new IL(CL.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new yy("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 IL(CL.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},N3.createWorkerFrom=function(e,t,n){return e.pipe(new gte).pipe(new yy("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new yy("compressedSize")).withStreamInfo("compression",t)};var jx=N3,mte=uC,Ate=dC,by=jd,xy=jx,FL=ca,qx=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}};qx.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 o=!this._dataBinary;o&&!r&&(t=t.pipe(new by.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new by.Utf8DecodeWorker))}catch(i){(t=new FL("error")).error(i)}return new mte(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 xy&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new by.Utf8EncodeWorker)),xy.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof xy?this._data.getContentWorker():this._data instanceof FL?this._data:new Ate(this._data)}};for(var _L=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Rte=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Sy=0;Sy<_L.length;Sy++)qx.prototype[_L[Sy]]=Rte;var yte=qx,vC={},om={},tg={},hl={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(i,a){return Object.prototype.hasOwnProperty.call(i,a)}e.assign=function(i){for(var a=Array.prototype.slice.call(arguments,1);a.length;){var s=a.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)n(s,l)&&(i[l]=s[l])}}return i},e.shrinkBuf=function(i,a){return i.length===a?i:i.subarray?i.subarray(0,a):(i.length=a,i)};var r={arraySet:function(i,a,s,l,c){if(a.subarray&&i.subarray)i.set(a.subarray(s,s+l),c);else for(var u=0;u<l;u++)i[c+u]=a[s+u]},flattenChunks:function(i){var a,s,l,c,u,f;for(l=0,a=0,s=i.length;a<s;a++)l+=i[a].length;for(f=new Uint8Array(l),c=0,a=0,s=i.length;a<s;a++)u=i[a],f.set(u,c),c+=u.length;return f}},o={arraySet:function(i,a,s,l,c){for(var u=0;u<l;u++)i[c+u]=a[s+u]},flattenChunks:function(i){return[].concat.apply([],i)}};e.setTyped=function(i){i?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,o))},e.setTyped(t)})(hl);var G0={},Ha={},Qf={},bte=hl;function qd(e){for(var t=e.length;--t>=0;)e[t]=0}var P3=[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],ng=[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],xte=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],EL=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Bs=new Array(576);qd(Bs);var z0=new Array(60);qd(z0);var ip=new Array(512);qd(ip);var Lh=new Array(256);qd(Lh);var e5=new Array(29);qd(e5);var XL,WL,VL,im=new Array(30);function My(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}function wy(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function gC(e){return e<256?ip[e]:ip[256+(e>>>7)]}function ap(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function $o(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,ap(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function ss(e,t,n){$o(e,n[2*t],n[2*t+1])}function mC(e,t){var n=0;do n|=1&e,e>>>=1,n<<=1;while(--t>0);return n>>>1}function AC(e,t,n){var r,o,i=new Array(16),a=0;for(r=1;r<=15;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];s!==0&&(e[2*o]=mC(i[s]++,s))}}function UL(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 RC(e){e.bi_valid>8?ap(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 YL(e,t,n,r){var o=2*t,i=2*n;return e[o]<e[i]||e[o]===e[i]&&r[t]<=r[n]}function Ly(e,t,n){for(var r=e.heap[n],o=n<<1;o<=e.heap_len&&(o<e.heap_len&&YL(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!YL(t,r,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=r}function QL(e,t,n){var r,o,i,a,s=0;if(e.last_lit!==0)do r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],o=e.pending_buf[e.l_buf+s],s++,r===0?ss(e,o,t):(ss(e,(i=Lh[o])+256+1,t),(a=P3[i])!==0&&$o(e,o-=e5[i],a),ss(e,i=gC(--r),n),(a=ng[i])!==0&&$o(e,r-=im[i],a));while(s<e.last_lit);ss(e,256,t)}function Oy(e,t){var n,r,o,i=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)i[2*n]!==0?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(o=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=a[2*o+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)Ly(e,i,n);o=l;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ly(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*o]=i[2*n]+i[2*r],e.depth[o]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=o,e.heap[1]=o++,Ly(e,i,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(u,f){var d,h,p,v,m,x,y=f.dyn_tree,R=f.max_code,A=f.stat_desc.static_tree,b=f.stat_desc.has_stree,M=f.stat_desc.extra_bits,T=f.stat_desc.extra_base,w=f.stat_desc.max_length,L=0;for(v=0;v<=15;v++)u.bl_count[v]=0;for(y[2*u.heap[u.heap_max]+1]=0,d=u.heap_max+1;d<573;d++)(v=y[2*y[2*(h=u.heap[d])+1]+1]+1)>w&&(v=w,L++),y[2*h+1]=v,h>R||(u.bl_count[v]++,m=0,h>=T&&(m=M[h-T]),x=y[2*h],u.opt_len+=x*(v+m),b&&(u.static_len+=x*(A[2*h+1]+m)));if(L!==0){do{for(v=w-1;u.bl_count[v]===0;)v--;u.bl_count[v]--,u.bl_count[v+1]+=2,u.bl_count[w]--,L-=2}while(L>0);for(v=w;v!==0;v--)for(h=u.bl_count[v];h!==0;)(p=u.heap[--d])>R||(y[2*p+1]!==v&&(u.opt_len+=(v-y[2*p+1])*y[2*p],y[2*p+1]=v),h--)}}(e,t),AC(i,c,e.bl_count)}function ZL(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,c=4;for(a===0&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s<l&&o===a||(s<c?e.bl_tree[2*o]+=s:o!==0?(o!==i&&e.bl_tree[2*o]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,i=o,a===0?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4))}function BL(e,t,n){var r,o,i=-1,a=t[1],s=0,l=7,c=4;for(a===0&&(l=138,c=3),r=0;r<=n;r++)if(o=a,a=t[2*(r+1)+1],!(++s<l&&o===a)){if(s<c)do ss(e,o,e.bl_tree);while(--s!=0);else o!==0?(o!==i&&(ss(e,o,e.bl_tree),s--),ss(e,16,e.bl_tree),$o(e,s-3,2)):s<=10?(ss(e,17,e.bl_tree),$o(e,s-3,3)):(ss(e,18,e.bl_tree),$o(e,s-11,7));s=0,i=o,a===0?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4)}}qd(im);var DL=!1;function KL(e,t,n,r){$o(e,0+(r?1:0),3),function(o,i,a,s){RC(o),ap(o,a),ap(o,~a),bte.arraySet(o.pending_buf,o.window,i,a,o.pending),o.pending+=a}(e,t,n)}Qf._tr_init=function(e){DL||(function(){var t,n,r,o,i,a=new Array(16);for(r=0,o=0;o<28;o++)for(e5[o]=r,t=0;t<1<<P3[o];t++)Lh[r++]=o;for(Lh[r-1]=o,i=0,o=0;o<16;o++)for(im[o]=i,t=0;t<1<<ng[o];t++)ip[i++]=o;for(i>>=7;o<30;o++)for(im[o]=i<<7,t=0;t<1<<ng[o]-7;t++)ip[256+i++]=o;for(n=0;n<=15;n++)a[n]=0;for(t=0;t<=143;)Bs[2*t+1]=8,t++,a[8]++;for(;t<=255;)Bs[2*t+1]=9,t++,a[9]++;for(;t<=279;)Bs[2*t+1]=7,t++,a[7]++;for(;t<=287;)Bs[2*t+1]=8,t++,a[8]++;for(AC(Bs,287,a),t=0;t<30;t++)z0[2*t+1]=5,z0[2*t]=mC(t,5);XL=new My(Bs,P3,257,286,15),WL=new My(z0,ng,0,30,15),VL=new My(new Array(0),xte,0,19,7)}(),DL=!0),e.l_desc=new wy(e.dyn_ltree,XL),e.d_desc=new wy(e.dyn_dtree,WL),e.bl_desc=new wy(e.bl_tree,VL),e.bi_buf=0,e.bi_valid=0,UL(e)},Qf._tr_stored_block=KL,Qf._tr_flush_block=function(e,t,n,r){var o,i,a=0;e.level>0?(e.strm.data_type===2&&(e.strm.data_type=function(s){var l,c=4093624447;for(l=0;l<=31;l++,c>>>=1)if(1&c&&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)),Oy(e,e.l_desc),Oy(e,e.d_desc),a=function(s){var l;for(ZL(s,s.dyn_ltree,s.l_desc.max_code),ZL(s,s.dyn_dtree,s.d_desc.max_code),Oy(s,s.bl_desc),l=18;l>=3&&s.bl_tree[2*EL[l]+1]===0;l--);return s.opt_len+=3*(l+1)+5+5+4,l}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=n+5,n+4<=o&&t!==-1?KL(e,t,n,r):e.strategy===4||i===o?($o(e,2+(r?1:0),3),QL(e,Bs,z0)):($o(e,4+(r?1:0),3),function(s,l,c,u){var f;for($o(s,l-257,5),$o(s,c-1,5),$o(s,u-4,4),f=0;f<u;f++)$o(s,s.bl_tree[2*EL[f]+1],3);BL(s,s.dyn_ltree,l-1),BL(s,s.dyn_dtree,c-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),QL(e,e.dyn_ltree,e.dyn_dtree)),UL(e),r&&RC(e)},Qf._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>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*(Lh[n]+256+1)]++,e.dyn_dtree[2*gC(t)]++),e.last_lit===e.lit_bufsize-1},Qf._tr_align=function(e){$o(e,2,3),ss(e,256,Bs),function(t){t.bi_valid===16?(ap(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 yC=function(e,t,n,r){for(var o=65535&e|0,i=e>>>16&65535|0,a=0;n!==0;){n-=a=n>2e3?2e3:n;do i=i+(o=o+t[r++]|0)|0;while(--a);o%=65521,i%=65521}return o|i<<16|0},Ste=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}(),jf,bC=function(e,t,n,r){var o=Ste,i=r+n;e^=-1;for(var a=r;a<i;a++)e=e>>>8^o[255&(e^t[a])];return-1^e},t5={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"},Xo=hl,ji=Qf,xC=yC,Wl=bC,Mte=t5;function Dl(e,t){return e.msg=Mte[t],t}function HL(e){return(e<<1)-(e>4?9:0)}function jl(e){for(var t=e.length;--t>=0;)e[t]=0}function Vl(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(Xo.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 ro(e,t){ji._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Vl(e.strm)}function wn(e,t){e.pending_buf[e.pending++]=t}function S0(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function SC(e,t){var n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,c=e.window,u=e.w_mask,f=e.prev,d=e.strstart+258,h=c[i+a-1],p=c[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do if(c[(n=t)+a]===p&&c[n+a-1]===h&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do;while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&i<d);if(r=258-(d-i),i=d-258,r>a){if(e.match_start=t,a=r,r>=s)break;h=c[i+a-1],p=c[i+a]}}while((t=f[t&u])>l&&--o!=0);return a<=e.lookahead?a:e.lookahead}function ru(e){var t,n,r,o,i,a,s,l,c,u,f=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-262)){Xo.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);o+=f}if(e.strm.avail_in===0)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,c=o,u=void 0,(u=a.avail_in)>c&&(u=c),n=u===0?0:(a.avail_in-=u,Xo.arraySet(s,a.input,a.next_in,u,l),a.state.wrap===1?a.adler=xC(a.adler,s,u,l):a.state.wrap===2&&(a.adler=Wl(a.adler,s,u,l)),a.next_in+=u,a.total_in+=u,u),e.lookahead+=n,e.lookahead+e.insert>=3)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+3-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&e.strm.avail_in!==0)}function Ty(e,t){for(var n,r;;){if(e.lookahead<262){if(ru(e),e.lookahead<262&&t===0)return 1;if(e.lookahead===0)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-262&&(e.match_length=SC(e,n)),e.match_length>=3)if(r=ji._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<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!=0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=ji._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ro(e,!1),e.strm.avail_out===0))return 1}return e.insert=e.strstart<2?e.strstart:2,t===4?(ro(e,!0),e.strm.avail_out===0?3:4):e.last_lit&&(ro(e,!1),e.strm.avail_out===0)?1:2}function Sf(e,t){for(var n,r,o;;){if(e.lookahead<262){if(ru(e),e.lookahead<262&&t===0)return 1;if(e.lookahead===0)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=SC(e,n),e.match_length<=5&&(e.strategy===1||e.match_length===3&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,r=ji._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<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!=0);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(ro(e,!1),e.strm.avail_out===0))return 1}else if(e.match_available){if((r=ji._tr_tally(e,0,e.window[e.strstart-1]))&&ro(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=ji._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===4?(ro(e,!0),e.strm.avail_out===0?3:4):e.last_lit&&(ro(e,!1),e.strm.avail_out===0)?1:2}function Ba(e,t,n,r,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=o}function wte(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Xo.Buf16(1146),this.dyn_dtree=new Xo.Buf16(122),this.bl_tree=new Xo.Buf16(78),jl(this.dyn_ltree),jl(this.dyn_dtree),jl(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Xo.Buf16(16),this.heap=new Xo.Buf16(573),jl(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Xo.Buf16(573),jl(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function MC(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=t.wrap===2?0:1,t.last_flush=0,ji._tr_init(t),0):Dl(e,-2)}function wC(e){var t,n=MC(e);return n===0&&((t=e.state).window_size=2*t.w_size,jl(t.head),t.max_lazy_match=jf[t.level].max_lazy,t.good_match=jf[t.level].good_length,t.nice_match=jf[t.level].nice_length,t.max_chain_length=jf[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function GL(e,t,n,r,o,i){if(!e)return-2;var a=1;if(t===-1&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>9||n!==8||r<8||r>15||t<0||t>9||i<0||i>4)return Dl(e,-2);r===8&&(r=9);var s=new wte;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=o+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Xo.Buf8(2*s.w_size),s.head=new Xo.Buf16(s.hash_size),s.prev=new Xo.Buf16(s.w_size),s.lit_bufsize=1<<o+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Xo.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=i,s.method=n,wC(e)}jf=[new Ba(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ru(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,ro(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-262&&(ro(e,!1),e.strm.avail_out===0))return 1}return e.insert=0,t===4?(ro(e,!0),e.strm.avail_out===0?3:4):(e.strstart>e.block_start&&(ro(e,!1),e.strm.avail_out),1)}),new Ba(4,4,8,4,Ty),new Ba(4,5,16,8,Ty),new Ba(4,6,32,32,Ty),new Ba(4,4,16,16,Sf),new Ba(8,16,32,32,Sf),new Ba(8,16,128,128,Sf),new Ba(8,32,128,256,Sf),new Ba(32,128,258,1024,Sf),new Ba(32,258,258,4096,Sf)],Ha.deflateInit=function(e,t){return GL(e,t,8,15,8,0)},Ha.deflateInit2=GL,Ha.deflateReset=wC,Ha.deflateResetKeep=MC,Ha.deflateSetHeader=function(e,t){return e&&e.state?e.state.wrap!==2?-2:(e.state.gzhead=t,0):-2},Ha.deflate=function(e,t){var n,r,o,i;if(!e||!e.state||t>5||t<0)return e?Dl(e,-2):-2;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===666&&t!==4)return Dl(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,wn(r,31),wn(r,139),wn(r,8),r.gzhead?(wn(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)),wn(r,255&r.gzhead.time),wn(r,r.gzhead.time>>8&255),wn(r,r.gzhead.time>>16&255),wn(r,r.gzhead.time>>24&255),wn(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),wn(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(wn(r,255&r.gzhead.extra.length),wn(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=Wl(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(wn(r,0),wn(r,0),wn(r,0),wn(r,0),wn(r,0),wn(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),wn(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,S0(r,a),r.strstart!==0&&(S0(r,e.adler>>>16),S0(r,65535&e.adler)),e.adler=1}if(r.status===69)if(r.gzhead.extra){for(o=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>o&&(e.adler=Wl(e.adler,r.pending_buf,r.pending-o,o)),Vl(e),o=r.pending,r.pending!==r.pending_buf_size));)wn(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>o&&(e.adler=Wl(e.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=Wl(e.adler,r.pending_buf,r.pending-o,o)),Vl(e),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,wn(r,i)}while(i!==0);r.gzhead.hcrc&&r.pending>o&&(e.adler=Wl(e.adler,r.pending_buf,r.pending-o,o)),i===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=Wl(e.adler,r.pending_buf,r.pending-o,o)),Vl(e),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,wn(r,i)}while(i!==0);r.gzhead.hcrc&&r.pending>o&&(e.adler=Wl(e.adler,r.pending_buf,r.pending-o,o)),i===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Vl(e),r.pending+2<=r.pending_buf_size&&(wn(r,255&e.adler),wn(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),r.pending!==0){if(Vl(e),e.avail_out===0)return r.last_flush=-1,0}else if(e.avail_in===0&&HL(t)<=HL(n)&&t!==4)return Dl(e,-5);if(r.status===666&&e.avail_in!==0)return Dl(e,-5);if(e.avail_in!==0||r.lookahead!==0||t!==0&&r.status!==666){var s=r.strategy===2?function(l,c){for(var u;;){if(l.lookahead===0&&(ru(l),l.lookahead===0)){if(c===0)return 1;break}if(l.match_length=0,u=ji._tr_tally(l,0,l.window[l.strstart]),l.lookahead--,l.strstart++,u&&(ro(l,!1),l.strm.avail_out===0))return 1}return l.insert=0,c===4?(ro(l,!0),l.strm.avail_out===0?3:4):l.last_lit&&(ro(l,!1),l.strm.avail_out===0)?1:2}(r,t):r.strategy===3?function(l,c){for(var u,f,d,h,p=l.window;;){if(l.lookahead<=258){if(ru(l),l.lookahead<=258&&c===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]&&d<h);l.match_length=258-(h-d),l.match_length>l.lookahead&&(l.match_length=l.lookahead)}if(l.match_length>=3?(u=ji._tr_tally(l,1,l.match_length-3),l.lookahead-=l.match_length,l.strstart+=l.match_length,l.match_length=0):(u=ji._tr_tally(l,0,l.window[l.strstart]),l.lookahead--,l.strstart++),u&&(ro(l,!1),l.strm.avail_out===0))return 1}return l.insert=0,c===4?(ro(l,!0),l.strm.avail_out===0?3:4):l.last_lit&&(ro(l,!1),l.strm.avail_out===0)?1:2}(r,t):jf[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?ji._tr_align(r):t!==5&&(ji._tr_stored_block(r,0,0,!1),t===3&&(jl(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),Vl(e),e.avail_out===0))return r.last_flush=-1,0}return t!==4?0:r.wrap<=0?1:(r.wrap===2?(wn(r,255&e.adler),wn(r,e.adler>>8&255),wn(r,e.adler>>16&255),wn(r,e.adler>>24&255),wn(r,255&e.total_in),wn(r,e.total_in>>8&255),wn(r,e.total_in>>16&255),wn(r,e.total_in>>24&255)):(S0(r,e.adler>>>16),S0(r,65535&e.adler)),Vl(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?0:1)},Ha.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?Dl(e,-2):(e.state=null,t===113?Dl(e,-3):0):-2},Ha.deflateSetDictionary=function(e,t){var n,r,o,i,a,s,l,c,u=t.length;if(!e||!e.state||(i=(n=e.state).wrap)===2||i===1&&n.status!==42||n.lookahead)return-2;for(i===1&&(e.adler=xC(e.adler,t,u,0)),n.wrap=0,u>=n.w_size&&(i===0&&(jl(n.head),n.strstart=0,n.block_start=0,n.insert=0),c=new Xo.Buf8(n.w_size),Xo.arraySet(c,t,u-n.w_size,n.w_size,0),t=c,u=n.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=u,e.next_in=0,e.input=t,ru(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++;while(--o);n.strstart=r,n.lookahead=2,ru(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=s,e.input=l,e.avail_in=a,n.wrap=i,0},Ha.deflateInfo="pako deflate (from Nodeca project)";var ou={},am=hl,LC=!0,OC=!0;try{String.fromCharCode.apply(null,[0])}catch{LC=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{OC=!1}for(var J0=new am.Buf8(256),Ol=0;Ol<256;Ol++)J0[Ol]=Ol>=252?6:Ol>=248?5:Ol>=240?4:Ol>=224?3:Ol>=192?2:1;function zL(e,t){if(t<65534&&(e.subarray&&OC||!e.subarray&&LC))return String.fromCharCode.apply(null,am.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}J0[254]=J0[254]=1,ou.string2buf=function(e){var t,n,r,o,i,a=e.length,s=0;for(o=0;o<a;o++)(64512&(n=e.charCodeAt(o)))==55296&&o+1<a&&(64512&(r=e.charCodeAt(o+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new am.Buf8(s),i=0,o=0;i<s;o++)(64512&(n=e.charCodeAt(o)))==55296&&o+1<a&&(64512&(r=e.charCodeAt(o+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[i++]=n:n<2048?(t[i++]=192|n>>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t},ou.buf2binstring=function(e){return zL(e,e.length)},ou.binstring2buf=function(e){for(var t=new am.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},ou.buf2string=function(e,t){var n,r,o,i,a=t||e.length,s=new Array(2*a);for(r=0,n=0;n<a;)if((o=e[n++])<128)s[r++]=o;else if((i=J0[o])>4)s[r++]=65533,n+=i-1;else{for(o&=i===2?31:i===3?15:7;i>1&&n<a;)o=o<<6|63&e[n++],i--;i>1?s[r++]=65533:o<65536?s[r++]=o:(o-=65536,s[r++]=55296|o>>10&1023,s[r++]=56320|1023&o)}return zL(s,r)},ou.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+J0[e[n]]>t?n:t};var TC=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},Oh=Ha,$0=hl,C3=ou,I3=t5,Lte=TC,kC=Object.prototype.toString;function su(e){if(!(this instanceof su))return new su(e);this.options=$0.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 Lte,this.strm.avail_out=0;var n=Oh.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==0)throw new Error(I3[n]);if(t.header&&Oh.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r=typeof t.dictionary=="string"?C3.string2buf(t.dictionary):kC.call(t.dictionary)==="[object ArrayBuffer]"?new Uint8Array(t.dictionary):t.dictionary,(n=Oh.deflateSetDictionary(this.strm,r))!==0)throw new Error(I3[n]);this._dict_set=!0}}function ky(e,t){var n=new su(t);if(n.push(e,!0),n.err)throw n.msg||I3[n.err];return n.result}su.prototype.push=function(e,t){var n,r,o=this.strm,i=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:t===!0?4:0,typeof e=="string"?o.input=C3.string2buf(e):kC.call(e)==="[object ArrayBuffer]"?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(o.avail_out===0&&(o.output=new $0.Buf8(i),o.next_out=0,o.avail_out=i),(n=Oh.deflate(o,r))!==1&&n!==0)return this.onEnd(n),this.ended=!0,!1;o.avail_out!==0&&(o.avail_in!==0||r!==4&&r!==2)||(this.options.to==="string"?this.onData(C3.buf2binstring($0.shrinkBuf(o.output,o.next_out))):this.onData($0.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||o.avail_out===0)&&n!==1);return r===4?(n=Oh.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===0):r!==2||(this.onEnd(0),o.avail_out=0,!0)},su.prototype.onData=function(e){this.chunks.push(e)},su.prototype.onEnd=function(e){e===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=$0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},G0.Deflate=su,G0.deflate=ky,G0.deflateRaw=function(e,t){return(t=t||{}).raw=!0,ky(e,t)},G0.gzip=function(e,t){return(t=t||{}).gzip=!0,ky(e,t)};var j0={},Ra={},JL=hl,Ote=[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],Tte=[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],kte=[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],Nte=[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],Pi=hl,Ny=yC,Da=bC,Pte=function(e,t){var n,r,o,i,a,s,l,c,u,f,d,h,p,v,m,x,y,R,A,b,M,T,w,L,k;n=e.state,r=e.next_in,L=e.input,o=r+(e.avail_in-5),i=e.next_out,k=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,f=n.wnext,d=n.window,h=n.hold,p=n.bits,v=n.lencode,m=n.distcode,x=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{p<15&&(h+=L[r++]<<p,p+=8,h+=L[r++]<<p,p+=8),R=v[h&x];t:for(;;){if(h>>>=A=R>>>24,p-=A,(A=R>>>16&255)===0)k[i++]=65535&R;else{if(!(16&A)){if(!(64&A)){R=v[(65535&R)+(h&(1<<A)-1)];continue t}if(32&A){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}b=65535&R,(A&=15)&&(p<A&&(h+=L[r++]<<p,p+=8),b+=h&(1<<A)-1,h>>>=A,p-=A),p<15&&(h+=L[r++]<<p,p+=8,h+=L[r++]<<p,p+=8),R=m[h&y];n:for(;;){if(h>>>=A=R>>>24,p-=A,!(16&(A=R>>>16&255))){if(!(64&A)){R=m[(65535&R)+(h&(1<<A)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(M=65535&R,p<(A&=15)&&(h+=L[r++]<<p,(p+=8)<A&&(h+=L[r++]<<p,p+=8)),(M+=h&(1<<A)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=A,p-=A,M>(A=i-a)){if((A=M-A)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(T=0,w=d,f===0){if(T+=c-A,A<b){b-=A;do k[i++]=d[T++];while(--A);T=i-M,w=k}}else if(f<A){if(T+=c+f-A,(A-=f)<b){b-=A;do k[i++]=d[T++];while(--A);if(T=0,f<b){b-=A=f;do k[i++]=d[T++];while(--A);T=i-M,w=k}}}else if(T+=f-A,A<b){b-=A;do k[i++]=d[T++];while(--A);T=i-M,w=k}for(;b>2;)k[i++]=w[T++],k[i++]=w[T++],k[i++]=w[T++],b-=3;b&&(k[i++]=w[T++],b>1&&(k[i++]=w[T++]))}else{T=i-M;do k[i++]=k[T++],k[i++]=k[T++],k[i++]=k[T++],b-=3;while(b>2);b&&(k[i++]=k[T++],b>1&&(k[i++]=k[T++]))}break}}break}}while(r<o&&i<s);r-=b=p>>3,h&=(1<<(p-=b<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<o?o-r+5:5-(r-o),e.avail_out=i<s?s-i+257:257-(i-s),n.hold=h,n.bits=p},Th=function(e,t,n,r,o,i,a,s){var l,c,u,f,d,h,p,v,m,x=s.bits,y=0,R=0,A=0,b=0,M=0,T=0,w=0,L=0,k=0,E=0,P=null,W=0,N=new JL.Buf16(16),_=new JL.Buf16(16),C=null,X=0;for(y=0;y<=15;y++)N[y]=0;for(R=0;R<r;R++)N[t[n+R]]++;for(M=x,b=15;b>=1&&N[b]===0;b--);if(M>b&&(M=b),b===0)return o[i++]=20971520,o[i++]=20971520,s.bits=1,0;for(A=1;A<b&&N[A]===0;A++);for(M<A&&(M=A),L=1,y=1;y<=15;y++)if(L<<=1,(L-=N[y])<0)return-1;if(L>0&&(e===0||b!==1))return-1;for(_[1]=0,y=1;y<15;y++)_[y+1]=_[y]+N[y];for(R=0;R<r;R++)t[n+R]!==0&&(a[_[t[n+R]]++]=R);if(e===0?(P=C=a,h=19):e===1?(P=Ote,W-=257,C=Tte,X-=257,h=256):(P=kte,C=Nte,h=-1),E=0,R=0,y=A,d=i,T=M,w=0,u=-1,f=(k=1<<M)-1,e===1&&k>852||e===2&&k>592)return 1;for(;;){p=y-w,a[R]<h?(v=0,m=a[R]):a[R]>h?(v=C[X+a[R]],m=P[W+a[R]]):(v=96,m=0),l=1<<y-w,A=c=1<<T;do o[d+(E>>w)+(c-=l)]=p<<24|v<<16|m|0;while(c!==0);for(l=1<<y-1;E&l;)l>>=1;if(l!==0?(E&=l-1,E+=l):E=0,R++,--N[y]==0){if(y===b)break;y=t[n+a[R]]}if(y>M&&(E&f)!==u){for(w===0&&(w=M),d+=A,L=1<<(T=y-w);T+w<b&&!((L-=N[T+w])<=0);)T++,L<<=1;if(k+=1<<T,e===1&&k>852||e===2&&k>592)return 1;o[u=E&f]=M<<24|T<<16|d-i|0}}return E!==0&&(o[d+E]=y-w<<24|64<<16|0),s.bits=M,0};function $L(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Cte(){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 Pi.Buf16(320),this.work=new Pi.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function NC(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 Pi.Buf32(852),t.distcode=t.distdyn=new Pi.Buf32(592),t.sane=1,t.back=-1,0):-2}function PC(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,NC(e)):-2}function CC(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,PC(e))):-2}function jL(e,t){var n,r;return e?(r=new Cte,e.state=r,r.window=null,(n=CC(e,t))!==0&&(e.state=null),n):-2}var Py,Cy,qL=!0;function Ite(e){if(qL){var t;for(Py=new Pi.Buf32(512),Cy=new Pi.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(Th(1,e.lens,0,288,Py,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Th(2,e.lens,0,32,Cy,0,e.work,{bits:5}),qL=!1}e.lencode=Py,e.lenbits=9,e.distcode=Cy,e.distbits=5}function eO(e,t,n,r){var o,i=e.state;return i.window===null&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Pi.Buf8(i.wsize)),r>=i.wsize?(Pi.arraySet(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((o=i.wsize-i.wnext)>r&&(o=r),Pi.arraySet(i.window,t,n-r,o,i.wnext),(r-=o)?(Pi.arraySet(i.window,t,n-r,r,0),i.wnext=r,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=o))),0}Ra.inflateReset=PC,Ra.inflateReset2=CC,Ra.inflateResetKeep=NC,Ra.inflateInit=function(e){return jL(e,15)},Ra.inflateInit2=jL,Ra.inflate=function(e,t){var n,r,o,i,a,s,l,c,u,f,d,h,p,v,m,x,y,R,A,b,M,T,w,L,k=0,E=new Pi.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return-2;(n=e.state).mode===12&&(n.mode=13),a=e.next_out,o=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,f=s,d=l,T=0;e:for(;;)switch(n.mode){case 1:if(n.wrap===0){n.mode=13;break}for(;u<16;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(2&n.wrap&&c===35615){n.check=0,E[0]=255&c,E[1]=c>>>8&255,n.check=Da(n.check,E,2,0),c=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&c)!=8){e.msg="unknown compression method",n.mode=30;break}if(u-=4,M=8+(15&(c>>>=4)),n.wbits===0)n.wbits=M;else if(M>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<M,e.adler=n.check=1,n.mode=512&c?10:12,c=0,u=0;break;case 2:for(;u<16;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(n.flags=c,(255&n.flags)!=8){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&(E[0]=255&c,E[1]=c>>>8&255,n.check=Da(n.check,E,2,0)),c=0,u=0,n.mode=3;case 3:for(;u<32;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}n.head&&(n.head.time=c),512&n.flags&&(E[0]=255&c,E[1]=c>>>8&255,E[2]=c>>>16&255,E[3]=c>>>24&255,n.check=Da(n.check,E,4,0)),c=0,u=0,n.mode=4;case 4:for(;u<16;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(E[0]=255&c,E[1]=c>>>8&255,n.check=Da(n.check,E,2,0)),c=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(E[0]=255&c,E[1]=c>>>8&255,n.check=Da(n.check,E,2,0)),c=0,u=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&&(M=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Pi.arraySet(n.head.extra,r,i,h,M)),512&n.flags&&(n.check=Da(n.check,r,h,i)),s-=h,i+=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 M=r[i+h++],n.head&&M&&n.length<65536&&(n.head.name+=String.fromCharCode(M));while(M&&h<s);if(512&n.flags&&(n.check=Da(n.check,r,h,i)),s-=h,i+=h,M)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(s===0)break e;h=0;do M=r[i+h++],n.head&&M&&n.length<65536&&(n.head.comment+=String.fromCharCode(M));while(M&&h<s);if(512&n.flags&&(n.check=Da(n.check,r,h,i)),s-=h,i+=h,M)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;u<16;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}c=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;u<32;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}e.adler=n.check=$L(c),c=0,u=0,n.mode=11;case 11:if(n.havedict===0)return e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=u,2;e.adler=n.check=1,n.mode=12;case 12:if(t===5||t===6)break e;case 13:if(n.last){c>>>=7&u,u-=7&u,n.mode=27;break}for(;u<3;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}switch(n.last=1&c,u-=1,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(Ite(n),n.mode=20,t===6){c>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&c,c=0,u=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;Pi.arraySet(o,r,i,h,a),s-=h,i+=h,l-=h,a+=h,n.length-=h;break}n.mode=12;break;case 17:for(;u<14;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(n.nlen=257+(31&c),c>>>=5,u-=5,n.ndist=1+(31&c),c>>>=5,u-=5,n.ncode=4+(15&c),c>>>=4,u-=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<n.ncode;){for(;u<3;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}n.lens[P[n.have++]]=7&c,c>>>=3,u-=3}for(;n.have<19;)n.lens[P[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},T=Th(0,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;x=(k=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,y=65535&k,!((m=k>>>24)<=u);){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(y<16)c>>>=m,u-=m,n.lens[n.have++]=y;else{if(y===16){for(L=m+2;u<L;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(c>>>=m,u-=m,n.have===0){e.msg="invalid bit length repeat",n.mode=30;break}M=n.lens[n.have-1],h=3+(3&c),c>>>=2,u-=2}else if(y===17){for(L=m+3;u<L;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}u-=m,M=0,h=3+(7&(c>>>=m)),c>>>=3,u-=3}else{for(L=m+7;u<L;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}u-=m,M=0,h=11+(127&(c>>>=m)),c>>>=7,u-=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++]=M}}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},T=Th(1,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,T){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},T=Th(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,T){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=i,e.avail_in=s,n.hold=c,n.bits=u,Pte(e,d),a=e.next_out,o=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;x=(k=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,y=65535&k,!((m=k>>>24)<=u);){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(x&&!(240&x)){for(R=m,A=x,b=y;x=(k=n.lencode[b+((c&(1<<R+A)-1)>>R)])>>>16&255,y=65535&k,!(R+(m=k>>>24)<=u);){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}c>>>=R,u-=R,n.back+=R}if(c>>>=m,u-=m,n.back+=m,n.length=y,x===0){n.mode=26;break}if(32&x){n.back=-1,n.mode=12;break}if(64&x){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&x,n.mode=22;case 22:if(n.extra){for(L=n.extra;u<L;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;x=(k=n.distcode[c&(1<<n.distbits)-1])>>>16&255,y=65535&k,!((m=k>>>24)<=u);){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(!(240&x)){for(R=m,A=x,b=y;x=(k=n.distcode[b+((c&(1<<R+A)-1)>>R)])>>>16&255,y=65535&k,!(R+(m=k>>>24)<=u);){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}c>>>=R,u-=R,n.back+=R}if(c>>>=m,u-=m,n.back+=m,64&x){e.msg="invalid distance code",n.mode=30;break}n.offset=y,n.extra=15&x,n.mode=24;case 24:if(n.extra){for(L=n.extra;u<L;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=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=o,p=a-n.offset,h=n.length;h>l&&(h=l),l-=h,n.length-=h;do o[a++]=v[p++];while(--h);n.length===0&&(n.mode=21);break;case 26:if(l===0)break e;o[a++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(s===0)break e;s--,c|=r[i++]<<u,u+=8}if(d-=l,e.total_out+=d,n.total+=d,d&&(e.adler=n.check=n.flags?Da(n.check,o,d,a-d):Ny(n.check,o,d,a-d)),d=l,(n.flags?c:$L(c))!==n.check){e.msg="incorrect data check",n.mode=30;break}c=0,u=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;u<32;){if(s===0)break e;s--,c+=r[i++]<<u,u+=8}if(c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}c=0,u=0}n.mode=29;case 29:T=1;break e;case 30:T=-3;break e;case 31:return-4;default:return-2}return e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=u,(n.wsize||d!==e.avail_out&&n.mode<30&&(n.mode<27||t!==4))&&eO(e,e.output,e.next_out,d-e.avail_out),f-=e.avail_in,d-=e.avail_out,e.total_in+=f,e.total_out+=d,n.total+=d,n.wrap&&d&&(e.adler=n.check=n.flags?Da(n.check,o,d,e.next_out-d):Ny(n.check,o,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(n.mode===12?128:0)+(n.mode===20||n.mode===15?256:0),(f===0&&d===0||t===4)&&T===0&&(T=-5),T},Ra.inflateEnd=function(e){if(!e||!e.state)return-2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},Ra.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?(n.head=t,t.done=!1,0):-2},Ra.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?(n=e.state).wrap!==0&&n.mode!==11?-2:n.mode===11&&Ny(1,t,r,0)!==n.check?-3:eO(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},Ra.inflateInfo="pako inflate (from Nodeca project)";var IC={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},bd=Ra,q0=hl,rg=ou,Lr=IC,F3=t5,Fte=TC,_te=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},FC=Object.prototype.toString;function lu(e){if(!(this instanceof lu))return new lu(e);this.options=q0.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=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 Fte,this.strm.avail_out=0;var n=bd.inflateInit2(this.strm,t.windowBits);if(n!==Lr.Z_OK)throw new Error(F3[n]);if(this.header=new _te,bd.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=rg.string2buf(t.dictionary):FC.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=bd.inflateSetDictionary(this.strm,t.dictionary))!==Lr.Z_OK))throw new Error(F3[n])}function Iy(e,t){var n=new lu(t);if(n.push(e,!0),n.err)throw n.msg||F3[n.err];return n.result}lu.prototype.push=function(e,t){var n,r,o,i,a,s=this.strm,l=this.options.chunkSize,c=this.options.dictionary,u=!1;if(this.ended)return!1;r=t===~~t?t:t===!0?Lr.Z_FINISH:Lr.Z_NO_FLUSH,typeof e=="string"?s.input=rg.binstring2buf(e):FC.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 q0.Buf8(l),s.next_out=0,s.avail_out=l),(n=bd.inflate(s,Lr.Z_NO_FLUSH))===Lr.Z_NEED_DICT&&c&&(n=bd.inflateSetDictionary(this.strm,c)),n===Lr.Z_BUF_ERROR&&u===!0&&(n=Lr.Z_OK,u=!1),n!==Lr.Z_STREAM_END&&n!==Lr.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(s.avail_out!==0&&n!==Lr.Z_STREAM_END&&(s.avail_in!==0||r!==Lr.Z_FINISH&&r!==Lr.Z_SYNC_FLUSH)||(this.options.to==="string"?(o=rg.utf8border(s.output,s.next_out),i=s.next_out-o,a=rg.buf2string(s.output,o),s.next_out=i,s.avail_out=l-i,i&&q0.arraySet(s.output,s.output,o,i,0),this.onData(a)):this.onData(q0.shrinkBuf(s.output,s.next_out)))),s.avail_in===0&&s.avail_out===0&&(u=!0)}while((s.avail_in>0||s.avail_out===0)&&n!==Lr.Z_STREAM_END);return n===Lr.Z_STREAM_END&&(r=Lr.Z_FINISH),r===Lr.Z_FINISH?(n=bd.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Lr.Z_OK):r!==Lr.Z_SYNC_FLUSH||(this.onEnd(Lr.Z_OK),s.avail_out=0,!0)},lu.prototype.onData=function(e){this.chunks.push(e)},lu.prototype.onEnd=function(e){e===Lr.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=q0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},j0.Inflate=lu,j0.inflate=Iy,j0.inflateRaw=function(e,t){return(t=t||{}).raw=!0,Iy(e,t)},j0.ungzip=Iy;var _C={};(0,hl.assign)(_C,G0,j0,IC);var Ete=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Xte=_C,tO=xr(),og=ca,Wte=Ete?"uint8array":"array";function Gc(e,t){og.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}tg.magic="\b\0",tO.inherits(Gc,og),Gc.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(tO.transformTo(Wte,e.data),!1)},Gc.prototype.flush=function(){og.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Gc.prototype.cleanUp=function(){og.prototype.cleanUp.call(this),this._pako=null},Gc.prototype._createPako=function(){this._pako=new Xte[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},tg.compressWorker=function(e){return new Gc("Deflate",e)},tg.uncompressWorker=function(){return new Gc("Inflate",{})};var nO=ca;om.STORE={magic:"\0\0",compressWorker:function(){return new nO("STORE compression")},uncompressWorker:function(){return new nO("STORE decompression")}},om.DEFLATE=tg;var EC={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"},qf=xr(),Zf=ca,Fy=jd,rO=$x,sm=EC,Dn=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},oO=function(e,t,n,r,o,i){var a,s,l=e.file,c=e.compression,u=i!==Fy.utf8encode,f=qf.transformTo("string",i(l.name)),d=qf.transformTo("string",Fy.utf8encode(l.name)),h=l.comment,p=qf.transformTo("string",i(h)),v=qf.transformTo("string",Fy.utf8encode(h)),m=d.length!==l.name.length,x=v.length!==h.length,y="",R="",A="",b=l.dir,M=l.date,T={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(T.crc32=e.crc32,T.compressedSize=e.compressedSize,T.uncompressedSize=e.uncompressedSize);var w=0;t&&(w|=8),u||!m&&!x||(w|=2048);var L,k,E,P=0,W=0;b&&(P|=16),o==="UNIX"?(W=798,P|=(L=l.unixPermissions,k=b,E=L,L||(E=k?16893:33204),(65535&E)<<16)):(W=20,P|=63&(l.dosPermissions||0)),a=M.getUTCHours(),a<<=6,a|=M.getUTCMinutes(),a<<=5,a|=M.getUTCSeconds()/2,s=M.getUTCFullYear()-1980,s<<=4,s|=M.getUTCMonth()+1,s<<=5,s|=M.getUTCDate(),m&&(R=Dn(1,1)+Dn(rO(f),4)+d,y+="up"+Dn(R.length,2)+R),x&&(A=Dn(1,1)+Dn(rO(p),4)+v,y+="uc"+Dn(A.length,2)+A);var N="";return N+=`
|
||
\0`,N+=Dn(w,2),N+=c.magic,N+=Dn(a,2),N+=Dn(s,2),N+=Dn(T.crc32,4),N+=Dn(T.compressedSize,4),N+=Dn(T.uncompressedSize,4),N+=Dn(f.length,2),N+=Dn(y.length,2),{fileRecord:sm.LOCAL_FILE_HEADER+N+f+y,dirRecord:sm.CENTRAL_FILE_HEADER+Dn(W,2)+N+Dn(p.length,2)+"\0\0\0\0"+Dn(P,4)+Dn(r,4)+f+y+p}},Vte=function(e){return sm.DATA_DESCRIPTOR+Dn(e.crc32,4)+Dn(e.compressedSize,4)+Dn(e.uncompressedSize,4)};function ya(e,t,n,r){Zf.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=[]}qf.inherits(ya,Zf),ya.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,Zf.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},ya.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=oO(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ya.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=oO(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:Vte(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},ya.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=function(o,i,a,s,l){var c=qf.transformTo("string",l(s));return sm.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Dn(o,2)+Dn(o,2)+Dn(i,4)+Dn(a,4)+Dn(c.length,2)+c}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},ya.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ya.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(n){t.error(n)}),this},ya.prototype.resume=function(){return!!Zf.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ya.prototype.error=function(e){var t=this._sources;if(!Zf.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},ya.prototype.lock=function(){Zf.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};var Ute=om,Yte=ya;vC.generateWorker=function(e,t,n){var r=new Yte(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach(function(i,a){o++;var s=function(f,d){var h=f||d,p=Ute[h];if(!p)throw new Error(h+" is not a valid compression method !");return p}(a.options.compression,t.compression),l=a.options.compressionOptions||t.compressionOptions||{},c=a.dir,u=a.date;a._compressWorker(s,l).withStreamInfo("file",{name:i,dir:c,date:u,comment:a.comment||"",unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions}).pipe(r)}),r.entriesCount=o}catch(i){r.error(i)}return r};var Qte=xr(),ig=ca;function eh(e,t){ig.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}Qte.inherits(eh,ig),eh.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(n){t.push({data:n,meta:{percent:0}})}).on("error",function(n){t.isPaused?this.generatedError=n:t.error(n)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},eh.prototype.pause=function(){return!!ig.prototype.pause.call(this)&&(this._stream.pause(),!0)},eh.prototype.resume=function(){return!!ig.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var Zte=eh,Bte=jd,kh=xr(),XC=ca,Dte=uC,WC=fC,iO=jx,Kte=yte,Hte=vC,aO=f2,Gte=Zte,VC=function(e,t,n){var r,o=kh.getTypeOf(t),i=kh.extend(n||{},WC);i.date=i.date||new Date,i.compression!==null&&(i.compression=i.compression.toUpperCase()),typeof i.unixPermissions=="string"&&(i.unixPermissions=parseInt(i.unixPermissions,8)),i.unixPermissions&&16384&i.unixPermissions&&(i.dir=!0),i.dosPermissions&&16&i.dosPermissions&&(i.dir=!0),i.dir&&(e=UC(e)),i.createFolders&&(r=zte(e))&&YC.call(this,r,!0);var a=o==="string"&&i.binary===!1&&i.base64===!1;n&&n.binary!==void 0||(i.binary=!a),(t instanceof iO&&t.uncompressedSize===0||i.dir||!t||t.length===0)&&(i.base64=!1,i.binary=!0,t="",i.compression="STORE",o="string");var s=null;s=t instanceof iO||t instanceof XC?t:aO.isNode&&aO.isStream(t)?new Gte(e,t):kh.prepareContent(e,t,i.binary,i.optimizedBinaryString,i.base64);var l=new Kte(e,s,i);this.files[e]=l},zte=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},UC=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},YC=function(e,t){return t=t!==void 0?t:WC.createFolders,e=UC(e),this.files[e]||VC.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function sO(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var Jte={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(sO(e)){var r=e;return this.filter(function(i,a){return!a.dir&&r.test(i)})}var o=this.files[this.root+e];return o&&!o.dir?o:null}return e=this.root+e,VC.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(sO(e))return this.filter(function(o,i){return i.dir&&e.test(o)});var t=this.root+e,n=YC.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(o,i){return i.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=kh.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Bte.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type==="binarystring"&&(n.type="string"),!n.type)throw new Error("No output type specified.");kh.checkSupport(n.type),n.platform!=="darwin"&&n.platform!=="freebsd"&&n.platform!=="linux"&&n.platform!=="sunos"||(n.platform="UNIX"),n.platform==="win32"&&(n.platform="DOS");var r=n.comment||this.comment||"";t=Hte.generateWorker(this,n,r)}catch(o){(t=new XC("error")).error(o)}return new Dte(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},$te=Jte,jte=xr();function QC(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}QC.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return jte.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 ZC=QC,BC=ZC;function Bf(e){BC.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}xr().inherits(Bf,BC),Bf.prototype.byteAt=function(e){return this.data[this.zero+e]},Bf.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},Bf.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},Bf.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 DC=Bf,KC=ZC;function Df(e){KC.call(this,e)}xr().inherits(Df,KC),Df.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},Df.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},Df.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},Df.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 qte=Df,HC=DC;function _3(e){HC.call(this,e)}xr().inherits(_3,HC),_3.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 GC=_3,zC=GC;function E3(e){zC.call(this,e)}xr().inherits(E3,zC),E3.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 ene=E3,Rv=xr(),lO=Nr,tne=DC,nne=qte,rne=ene,one=GC,JC=function(e){var t=Rv.getTypeOf(e);return Rv.checkSupport(t),t!=="string"||lO.uint8array?t==="nodebuffer"?new rne(e):lO.uint8array?new one(Rv.transformTo("uint8array",e)):new tne(Rv.transformTo("array",e)):new nne(e)},_y=JC,Tl=xr(),ine=jx,cO=$x,yv=jd,bv=om,ane=Nr;function $C(e,t){this.options=e,this.loadOptions=t}$C.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 o in bv)if(Object.prototype.hasOwnProperty.call(bv,o)&&bv[o].magic===r)return bv[o];return null}(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Tl.pretty(this.compressionMethod)+" unknown (inner file : "+Tl.transformTo("string",this.fileName)+")");this.decompressed=new ine(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=_y(this.extraFields[1].value);this.uncompressedSize===Tl.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Tl.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Tl.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Tl.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<o;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(o)},handleUTF8:function(){var e=ane.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=yv.utf8decode(this.fileName),this.fileCommentStr=yv.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=Tl.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var o=Tl.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=_y(e.value);return t.readInt(1)!==1||cO(this.fileName)!==t.readInt(4)?null:yv.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=_y(e.value);return t.readInt(1)!==1||cO(this.fileComment)!==t.readInt(4)?null:yv.utf8decode(t.readData(e.length-5))}return null}};var sne=$C,lne=JC,Vs=xr(),va=EC,cne=sne,une=Nr;function jC(e){this.files=[],this.loadOptions=e}jC.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Vs.pretty(t)+", expected "+Vs.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=une.uint8array?"uint8array":"array",n=Vs.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(va.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(va.CENTRAL_FILE_HEADER);)(e=new cne({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(va.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,va.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(va.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Vs.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Vs.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Vs.MAX_VALUE_16BITS||this.centralDirRecords===Vs.MAX_VALUE_16BITS||this.centralDirSize===Vs.MAX_VALUE_32BITS||this.centralDirOffset===Vs.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(va.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(va.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,va.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(va.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(va.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(r>0)this.isSignature(t,va.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=lne(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var fne=jC,Ey=xr(),ag=Yp,dne=jd,hne=fne,pne=pC,uO=f2;function vne(e){return new ag.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new pne);r.on("error",function(o){n(o)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function Gi(){if(!(this instanceof Gi))return new Gi;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 Gi;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Gi.prototype=$te,Gi.prototype.loadAsync=function(e,t){var n=this;return t=Ey.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:dne.utf8decode}),uO.isNode&&uO.isStream(e)?ag.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Ey.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var o=new hne(t);return o.load(r),o}).then(function(r){var o=[ag.Promise.resolve(r)],i=r.files;if(t.checkCRC32)for(var a=0;a<i.length;a++)o.push(vne(i[a]));return ag.Promise.all(o)}).then(function(r){for(var o=r.shift(),i=o.files,a=0;a<i.length;a++){var s=i[a],l=s.fileNameStr,c=Ey.resolve(s.fileNameStr);n.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(c).unsafeOriginalName=l)}return o.zipComment.length&&(n.comment=o.zipComment),n})},Gi.support=Nr,Gi.defaults=fC,Gi.version="3.10.1",Gi.loadAsync=function(e,t){return new Gi().loadAsync(e,t)},Gi.external=Yp;var gne=Gi;function X3(e){return X3=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},X3(e)}function mne(e,t){var n=(t=t||{}).pos||0,r=!!t.keepComments,o=!!t.keepWhitespace,i=60,a=62,s=45,l=47,c=33,u=39,f=34,d=91,h=93;function p(M){for(var T=[];e[n];)if(e.charCodeAt(n)==i){if(e.charCodeAt(n+1)===l){var w=n+2;if(n=e.indexOf(">",n),e.substring(w,n).indexOf(M)==-1){var L=e.substring(0,n).split(`
|
||
`);throw new Error(`Unexpected close tag
|
||
Line: `+(L.length-1)+`
|
||
Column: `+(L[L.length-1].length+1)+`
|
||
Char: `+e[n])}return n+1&&(n+=1),T}if(e.charCodeAt(n+1)===c){if(e.charCodeAt(n+2)==s){const _=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&&T.push(e.substring(_,n+1))}else{if(e.charCodeAt(n+2)===d&&e.charCodeAt(n+8)===d&&e.substr(n+3,5).toLowerCase()==="cdata"){var k=e.indexOf("]]>",n);k==-1?(T.push(e.substr(n+9)),n=e.length):(T.push(e.substring(n+9,k)),n=k+3);continue}{const _=n+1;n+=2;for(var E=!1;(e.charCodeAt(n)!==a||E===!0)&&e[n];)e.charCodeAt(n)===d?E=!0:E===!0&&e.charCodeAt(n)===h&&(E=!1),n++;T.push(e.substring(_,n))}}n++;continue}var P=y();T.push(P),P.tagName[0]==="?"&&(T.push(...P.children),P.children=[])}else{var W=v();if(o)W.length>0&&T.push(W);else{var N=W.trim();N.length>0&&T.push(N)}n++}return T}function v(){var M=n;return(n=e.indexOf("<",n)-1)===-2&&(n=e.length),e.slice(M,n+1)}function m(){for(var M=n;`\r
|
||
>/= `.indexOf(e[n])===-1&&e[n];)n++;return e.slice(M,n)}var x=t.noChildNodes||["img","br","input","meta","link","hr"];function y(){n++;const M=m(),T={};let w=[];for(;e.charCodeAt(n)!==a&&e[n];){var L=e.charCodeAt(n);if(L>64&&L<91||L>96&&L<123){for(var k=m(),E=e.charCodeAt(n);E&&E!==u&&E!==f&&!(E>64&&E<91||E>96&&E<123)&&E!==a;)n++,E=e.charCodeAt(n);if(E===u||E===f){var P=R();if(n===-1)return{tagName:M,attributes:T,children:w}}else P=null,n--;T[k]=P}n++}if(e.charCodeAt(n-1)!==l)if(M=="script"){var W=n+1;n=e.indexOf("<\/script>",n),w=[e.slice(W,n)],n+=9}else M=="style"?(W=n+1,n=e.indexOf("</style>",n),w=[e.slice(W,n)],n+=8):x.indexOf(M)===-1?(n++,w=p(M)):n++;else n++;return{tagName:M,attributes:T,children:w}}function R(){var M=e[n],T=n+1;return n=e.indexOf(M,T),e.slice(T,n)}var A,b=null;if(t.attrValue!==void 0)for(t.attrName=t.attrName||"id",b=[];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&&b.push(y()),e=e.substr(n),n=0;else b=t.parseNode?y():p("");return t.filter&&(b=eI(b,t.filter)),t.simplify?qC(Array.isArray(b)?b:[b]):(t.setPos&&(b.pos=n),b)}function qC(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 o=qC(r.children);t[r.tagName].push(o),Object.keys(r.attributes).length&&typeof o!="string"&&(o._attributes=r.attributes)}}),t)t[n].length==1&&(t[n]=t[n][0]);return t}function eI(e,t,n=0,r=""){var o=[];return e.forEach(function(i,a){if(typeof i=="object"&&t(i,a,n,r)&&o.push(i),i.children){var s=eI(i.children,t,n+1,(r?r+".":"")+a+"."+i.tagName);o=o.concat(s)}}),o}function Ane(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,c){if(l){if(typeof l=="string")return fO(l,c);var u=Object.prototype.toString.call(l).slice(8,-1);if(u==="Object"&&l.constructor&&(u=l.constructor.name),u==="Map"||u==="Set")return Array.from(l);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return fO(l,c)}}(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:o}}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 i,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,i=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function fO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function hO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dO(Object(n),!0).forEach(function(r){x9(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var pO=0;function tI(e){var t=arguments.length>1&&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:hO({order:pO++},t),value:e[0]}:e[0];var r,o=Ane(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(X3(i)!=="object")return;if(i.tagName!=="?xml"){n[i.tagName]||(n[i.tagName]=[]);var a=tI(i.children||[],i.attributes);n[i.tagName].push(a),Object.keys(i.attributes).length&&(a.attrs=hO({order:pO++},i.attributes))}}}catch(l){o.e(l)}finally{o.f()}for(var s in n)n[s].length===1&&(n[s]=n[s][0]);return n}function Io(e,t){return nI.apply(this,arguments)}function nI(){return(nI=ui(Xn.mark(function e(t,n){var r;return Xn.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,t.file(n).async("string");case 3:return r=o.sent,o.abrupt("return",tI(mne(r)));case 7:return o.prev=7,o.t0=o.catch(0),o.abrupt("return",null);case 10:case"end":return o.stop()}},e,null,[[0,7]])}))).apply(this,arguments)}function lm(e){return lm=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},lm(e)}var Rne=/^\s+/,yne=/\s+$/;function pt(e,t){if(t=t||{},(e=e||"")instanceof pt)return e;if(!(this instanceof pt))return new pt(e,t);var n=function(r){var o={r:0,g:0,b:0},i=1,a=null,s=null,l=null,c=!1,u=!1;typeof r=="string"&&(r=function(p){p=p.replace(Rne,"").replace(yne,"").toLowerCase();var v,m=!1;if(W3[p])p=W3[p],m=!0;else if(p=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(v=ba.rgb.exec(p))?{r:v[1],g:v[2],b:v[3]}:(v=ba.rgba.exec(p))?{r:v[1],g:v[2],b:v[3],a:v[4]}:(v=ba.hsl.exec(p))?{h:v[1],s:v[2],l:v[3]}:(v=ba.hsla.exec(p))?{h:v[1],s:v[2],l:v[3],a:v[4]}:(v=ba.hsv.exec(p))?{h:v[1],s:v[2],v:v[3]}:(v=ba.hsva.exec(p))?{h:v[1],s:v[2],v:v[3],a:v[4]}:(v=ba.hex8.exec(p))?{r:yi(v[1]),g:yi(v[2]),b:yi(v[3]),a:yO(v[4]),format:m?"name":"hex8"}:(v=ba.hex6.exec(p))?{r:yi(v[1]),g:yi(v[2]),b:yi(v[3]),format:m?"name":"hex"}:(v=ba.hex4.exec(p))?{r:yi(v[1]+""+v[1]),g:yi(v[2]+""+v[2]),b:yi(v[3]+""+v[3]),a:yO(v[4]+""+v[4]),format:m?"name":"hex8"}:(v=ba.hex3.exec(p))?{r:yi(v[1]+""+v[1]),g:yi(v[2]+""+v[2]),b:yi(v[3]+""+v[3]),format:m?"name":"hex"}:!1}(r)),lm(r)=="object"&&(Us(r.r)&&Us(r.g)&&Us(r.b)?(f=r.r,d=r.g,h=r.b,o={r:255*rr(f,255),g:255*rr(d,255),b:255*rr(h,255)},c=!0,u=String(r.r).substr(-1)==="%"?"prgb":"rgb"):Us(r.h)&&Us(r.s)&&Us(r.v)?(a=th(r.s),s=th(r.v),o=function(p,v,m){p=6*rr(p,360),v=rr(v,100),m=rr(m,100);var x=Math.floor(p),y=p-x,R=m*(1-v),A=m*(1-y*v),b=m*(1-(1-y)*v),M=x%6;return{r:255*[m,A,R,R,b,m][M],g:255*[b,m,m,A,R,R][M],b:255*[R,R,b,m,m,A][M]}}(r.h,a,s),c=!0,u="hsv"):Us(r.h)&&Us(r.s)&&Us(r.l)&&(a=th(r.s),l=th(r.l),o=function(p,v,m){var x,y,R;function A(T,w,L){return L<0&&(L+=1),L>1&&(L-=1),L<1/6?T+6*(w-T)*L:L<.5?w:L<2/3?T+(w-T)*(2/3-L)*6:T}if(p=rr(p,360),v=rr(v,100),m=rr(m,100),v===0)x=y=R=m;else{var b=m<.5?m*(1+v):m+v-m*v,M=2*m-b;x=A(M,b,p+1/3),y=A(M,b,p),R=A(M,b,p-1/3)}return{r:255*x,g:255*y,b:255*R}}(r.h,a,l),c=!0,u="hsl"),r.hasOwnProperty("a")&&(i=r.a));var f,d,h;return i=rI(i),{ok:c,format:r.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i}}(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 vO(e,t,n){e=rr(e,255),t=rr(t,255),n=rr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function gO(e,t,n){e=rr(e,255),t=rr(t,255),n=rr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i,l=i-a;if(o=i===0?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function mO(e,t,n,r){var o=[Na(Math.round(e).toString(16)),Na(Math.round(t).toString(16)),Na(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function AO(e,t,n,r){return[Na(oI(r)),Na(Math.round(e).toString(16)),Na(Math.round(t).toString(16)),Na(Math.round(n).toString(16))].join("")}function bne(e,t){t=t===0?0:t||10;var n=pt(e).toHsl();return n.s-=t/100,n.s=d2(n.s),pt(n)}function xne(e,t){t=t===0?0:t||10;var n=pt(e).toHsl();return n.s+=t/100,n.s=d2(n.s),pt(n)}function Sne(e){return pt(e).desaturate(100)}function Mne(e,t){t=t===0?0:t||10;var n=pt(e).toHsl();return n.l+=t/100,n.l=d2(n.l),pt(n)}function wne(e,t){t=t===0?0:t||10;var n=pt(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),pt(n)}function Lne(e,t){t=t===0?0:t||10;var n=pt(e).toHsl();return n.l-=t/100,n.l=d2(n.l),pt(n)}function One(e,t){var n=pt(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,pt(n)}function Tne(e){var t=pt(e).toHsl();return t.h=(t.h+180)%360,pt(t)}function RO(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=pt(e).toHsl(),r=[pt(e)],o=360/t,i=1;i<t;i++)r.push(pt({h:(n.h+i*o)%360,s:n.s,l:n.l}));return r}function kne(e){var t=pt(e).toHsl(),n=t.h;return[pt(e),pt({h:(n+72)%360,s:t.s,l:t.l}),pt({h:(n+216)%360,s:t.s,l:t.l})]}function Nne(e,t,n){t=t||6,n=n||30;var r=pt(e).toHsl(),o=360/n,i=[pt(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(pt(r));return i}function Pne(e,t){t=t||6;for(var n=pt(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(pt({h:r,s:o,v:i})),i=(i+s)%1;return a}pt.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=rI(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=gO(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=gO(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=vO(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=vO(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 mO(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(t,n,r,o,i){var a=[Na(Math.round(t).toString(16)),Na(Math.round(n).toString(16)),Na(Math.round(r).toString(16)),Na(oI(o))];return i&&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*rr(this._r,255))+"%",g:Math.round(100*rr(this._g,255))+"%",b:Math.round(100*rr(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*rr(this._r,255))+"%, "+Math.round(100*rr(this._g,255))+"%, "+Math.round(100*rr(this._b,255))+"%)":"rgba("+Math.round(100*rr(this._r,255))+"%, "+Math.round(100*rr(this._g,255))+"%, "+Math.round(100*rr(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(Cne[mO(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+AO(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=pt(e);n="#"+AO(o._r,o._g,o._b,o._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 pt(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(Mne,arguments)},brighten:function(){return this._applyModification(wne,arguments)},darken:function(){return this._applyModification(Lne,arguments)},desaturate:function(){return this._applyModification(bne,arguments)},saturate:function(){return this._applyModification(xne,arguments)},greyscale:function(){return this._applyModification(Sne,arguments)},spin:function(){return this._applyModification(One,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Nne,arguments)},complement:function(){return this._applyCombination(Tne,arguments)},monochromatic:function(){return this._applyCombination(Pne,arguments)},splitcomplement:function(){return this._applyCombination(kne,arguments)},triad:function(){return this._applyCombination(RO,[3])},tetrad:function(){return this._applyCombination(RO,[4])}},pt.fromRatio=function(e,t){if(lm(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=r==="a"?e[r]:th(e[r]));e=n}return pt(e,t)},pt.equals=function(e,t){return!(!e||!t)&&pt(e).toRgbString()==pt(t).toRgbString()},pt.random=function(){return pt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},pt.mix=function(e,t,n){n=n===0?0:n||50;var r=pt(e).toRgb(),o=pt(t).toRgb(),i=n/100;return pt({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},pt.readability=function(e,t){var n=pt(e),r=pt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},pt.isReadable=function(e,t,n){var r,o,i=pt.readability(e,t);switch(o=!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":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},pt.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=pt.readability(e,t[c]))>l&&(l=r,s=pt(t[c]));return pt.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,pt.mostReadable(e,["#fff","#000"],n))};var W3=pt.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"},Cne=pt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(W3);function rI(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function rr(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 d2(e){return Math.min(1,Math.max(0,e))}function yi(e){return parseInt(e,16)}function Na(e){return e.length==1?"0"+e:""+e}function th(e){return e<=1&&(e=100*e+"%"),e}function oI(e){return Math.round(255*parseFloat(e)).toString(16)}function yO(e){return yi(e)/255}var kl,xv,Sv,ba=(xv="[\\s|\\(]+("+(kl="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")\\s*\\)?",Sv="[\\s|\\(]+("+kl+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")\\s*\\)?",{CSS_UNIT:new RegExp(kl),rgb:new RegExp("rgb"+xv),rgba:new RegExp("rgba"+Sv),hsl:new RegExp("hsl"+xv),hsla:new RegExp("hsla"+Sv),hsv:new RegExp("hsv"+xv),hsva:new RegExp("hsva"+Sv),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 Us(e){return!!ba.CSS_UNIT.exec(e)}function Ine(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,c){if(l){if(typeof l=="string")return bO(l,c);var u=Object.prototype.toString.call(l).slice(8,-1);if(u==="Object"&&l.constructor&&(u=l.constructor.name),u==="Map"||u==="Set")return Array.from(l);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return bO(l,c)}}(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:o}}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 i,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,i=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function bO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iI(e){for(var t,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(e),o=r.byteLength,i=o%3,a=o-i,s="",l=0;l<a;l+=3)s+=n[(16515072&(t=r[l]<<16|r[l+1]<<8|r[l+2]))>>18]+n[(258048&t)>>12]+n[(4032&t)>>6]+n[63&t];return i===1?s+=n[(252&(t=r[a]))>>2]+n[(3&t)<<4]+"==":i===2&&(s+=n[(64512&(t=r[a]<<8|r[a+1]))>>10]+n[(1008&t)>>4]+n[(15&t)<<2]+"="),s}function Xy(e){return e.substr(2+(~-e.lastIndexOf(".")>>>0))}function Mf(e,t){if(!e)return e;var n="";if(e.constructor===Array)for(var r=0;r<e.length;r++)n+=t(e[r],r);else n+=t(e,0);return n}function Ie(e,t){if(t.constructor!==Array)throw Error("Error of path type! path is not array.");if(!e)return e;var n,r=Ine(t);try{for(r.s();!(n=r.n()).done;)if(!(e=e[n.value]))return e}catch(o){r.e(o)}finally{r.f()}return e}function cm(e){return e?Math.round(e/6e4):0}function aI(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(n){return t[n]})}function V3(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 Fne(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 wf(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function sp(e,t,n,r){var o,i;if(n)i=n;else{var a=Ie(t.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);i=a||(a=Ie(t.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))||Ie(t.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}var s=e.substr(2);if(s==="phClr"&&r)o=r;else{if(i)switch(s){case"tx1":case"tx2":case"bg1":case"bg2":e="a:"+i[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=Ie(t.themeContent,["a:theme","a:themeElements","a:clrScheme",e]);!(o=Ie(l,["a:srgbClr","attrs","val"]))&&l&&(o=Ie(l,["a:sysClr","attrs","lastClr"]))}return o}function nh(e,t,n){var r=e["p:spPr"]["a:ln"],o=parseInt(Ie(r,["attrs","w"]))/12700;isNaN(o)&&(o=r||t!=="obj"?0:1);var i=Ie(r,["a:solidFill","a:srgbClr","attrs","val"]);if(!i){var a=Ie(r,["a:solidFill","a:schemeClr"]);i=sp("a:"+Ie(a,["attrs","val"]),n)}if(!i){var s=Ie(e,["p:style","a:lnRef","a:schemeClr"]);if(i=sp("a:"+Ie(s,["attrs","val"]),n)){var l=Ie(s,["a:shade","attrs","val"]);if(l){l=parseInt(l)/1e5;var c=pt("#"+i).toHsl();i=pt({h:c.h,s:c.s,l:c.l*l,a:c.a}).toHex()}}}i=i?"#".concat(i):"#000";var u="solid",f="0";switch(Ie(r,["a:prstDash","attrs","val"])){case"solid":u="solid",f="0";break;case"dash":u="dashed",f="5";break;case"dashDot":u="dashed",f="5, 5, 1, 5";break;case"dot":u="dotted",f="1, 5";break;case"lgDash":u="dashed",f="10, 5";break;case"lgDashDotDot":u="dotted",f="10, 5, 1, 5, 1, 5";break;case"sysDash":u="dashed",f="5, 2";break;case"sysDashDot":u="dotted",f="5, 2, 1, 5";break;case"sysDashDotDot":u="dotted",f="5, 2, 1, 5, 1, 5";break;case"sysDot":u="dotted",f="2, 5"}return{borderColor:i,borderWidth:o,borderType:u,strokeDasharray:f}}function Wy(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 Lf(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 _ne(e,t,n){return U3.apply(this,arguments)}function U3(){return U3=ui(Xn.mark(function e(t,n,r){var o,i,a,s,l,c;return Xn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(i=n["a:blip"].attrs["r:embed"],t==="slideBg"||t==="slide"?a=Ie(r,["slideResObj",i,"target"]):t==="slideLayoutBg"?a=Ie(r,["layoutResObj",i,"target"]):t==="slideMasterBg"?a=Ie(r,["masterResObj",i,"target"]):t==="themeBg"?a=Ie(r,["themeResObj",i,"target"]):t==="diagramBg"&&(a=Ie(r,["diagramResObj",i,"target"])),a){u.next=4;break}return u.abrupt("return",a);case 4:if(o=Ie(r,["loaded-images",a])){u.next=15;break}if(a=aI(a),(s=a.split(".").pop())!=="xml"){u.next=10;break}return u.abrupt("return",void 0);case 10:return u.next=12,r.zip.file(a).async("arraybuffer");case 12:l=u.sent,c=V3(s),o="data:".concat(c,";base64,").concat(iI(l));case 15:return u.abrupt("return",o);case 16:case"end":return u.stop()}},e)})),U3.apply(this,arguments)}function M0(e,t,n){return sI.apply(this,arguments)}function sI(){return(sI=ui(Xn.mark(function e(t,n,r){var o,i,a,s;return Xn.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,_ne(n,t["a:blipFill"],r);case 2:return o=l.sent,i=t["a:blipFill"]["a:blip"],a=Ie(i,["a:alphaModFix","attrs"]),s=1,a&&a.amt&&a.amt!==""&&(s=parseInt(a.amt)/1e5),l.abrupt("return",{picBase64:o,opacity:s});case 8:case"end":return l.stop()}},e)}))).apply(this,arguments)}function Of(e,t,n,r){if(e){for(var o=e["a:gradFill"],i=o["a:gsLst"]["a:gs"],a=[],s=0;s<i.length;s++){var l=$n(i[s],n["p:sldMaster"]["p:clrMap"].attrs,t,r),c=Ie(i[s],["attrs","pos"]);a[s]={pos:c?c/1e3+"%":"",color:l}}var u=o["a:lin"],f=90;return u&&(f=cm(u.attrs.ang),f+=90),{rot:f,colors:a.sort(function(d,h){return parseInt(d.pos)-parseInt(h.pos)})}}return t?t.indexOf("#")===-1?"#".concat(t):t:null}function Ene(e){return Y3.apply(this,arguments)}function Y3(){return Y3=ui(Xn.mark(function e(t){var n,r,o,i,a,s,l,c,u,f,d,h,p,v,m,x,y,R,A,b,M,T,w,L,k,E,P,W,N,_,C,X,Y,$,le,Q,K,B,D,G,ae,se,J,Re,fe,me,ue,z,F,j,ie,q,te,re,he,ce,pe,xe,_e,Ae,Be;return Xn.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(n=t.slideContent,r=t.slideLayoutContent,o=t.slideMasterContent,i=Ie(n,["p:sld","p:cSld","p:bg","p:bgPr"]),a=Ie(n,["p:sld","p:cSld","p:bg","p:bgRef"]),s="#fff",l="color",!i){Te.next=29;break}if((c=Lf(i))!=="SOLID_FILL"){Te.next=17;break}u=i["a:solidFill"],(d=Ie(n,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?f=d:(h=Ie(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),f=h||Ie(o,["p:sldMaster","p:clrMap","attrs"])),p=$n(u,f,void 0,t),s=p,Te.next=27;break;case 17:if(c!=="GRADIENT_FILL"){Te.next=22;break}typeof(v=Of(i,void 0,o,t))=="string"?s=v:v&&(s=v,l="gradient"),Te.next=27;break;case 22:if(c!=="PIC_FILL"){Te.next=27;break}return Te.next=25,M0(i,"slideBg",t);case 25:s=Te.sent,l="image";case 27:Te.next=142;break;case 29:if(!a){Te.next=37;break}(x=Ie(n,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?m=x:(y=Ie(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),m=y||Ie(o,["p:sldMaster","p:clrMap","attrs"])),R=$n(a,m,void 0,t),(A=Number(a.attrs.idx))>1e3&&(b=A-1e3,M=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],T=[],Object.keys(M).forEach(function(De){var ye=M[De];if(De!=="attrs")if(ye.constructor===Array)for(var Le=0;Le<ye.length;Le++){var Pe={};Pe[De]=ye[Le],ye[Le].attrs&&(Pe.idex=ye[Le].attrs.order,Pe.attrs={order:ye[Le].attrs.order}),T.push(Pe)}else{var Ye={};Ye[De]=ye,ye.attrs&&(Ye.idex=ye.attrs.order,Ye.attrs={order:ye.attrs.order}),T.push(Ye)}}),(w=T.slice(0)).sort(function(De,ye){return De.idex-ye.idex}),L=w[b-1],(k=Lf(L))==="SOLID_FILL"?(E=L["a:solidFill"],P=$n(E,m,void 0,t),s=P):k==="GRADIENT_FILL"&&(typeof(W=Of(L,R,o,t))=="string"?s=W:W&&(s=W,l="gradient"))),Te.next=142;break;case 37:if(i=Ie(r,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),a=Ie(r,["p:sldLayout","p:cSld","p:bg","p:bgRef"]),_=Ie(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),N=_||Ie(o,["p:sldMaster","p:clrMap","attrs"]),!i){Te.next=61;break}if((C=Lf(i))!=="SOLID_FILL"){Te.next=49;break}X=i["a:solidFill"],Y=$n(X,N,void 0,t),s=Y,Te.next=59;break;case 49:if(C!=="GRADIENT_FILL"){Te.next=54;break}typeof($=Of(i,void 0,o,t))=="string"?s=$:$&&(s=$,l="gradient"),Te.next=59;break;case 54:if(C!=="PIC_FILL"){Te.next=59;break}return Te.next=57,M0(i,"slideLayoutBg",t);case 57:s=Te.sent,l="image";case 59:Te.next=142;break;case 61:if(!a){Te.next=91;break}if(le=$n(a,N,void 0,t),!((Q=Number(a.attrs.idx))>1e3)){Te.next=89;break}if(K=Q-1e3,B=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],D=[],Object.keys(B).forEach(function(De){var ye=B[De];if(De!=="attrs")if(ye.constructor===Array)for(var Le=0;Le<ye.length;Le++){var Pe={};Pe[De]=ye[Le],ye[Le].attrs&&(Pe.idex=ye[Le].attrs.order,Pe.attrs={order:ye[Le].attrs.order}),D.push(Pe)}else{var Ye={};Ye[De]=ye,ye.attrs&&(Ye.idex=ye.attrs.order,Ye.attrs={order:ye.attrs.order}),D.push(Ye)}}),(G=D.slice(0)).sort(function(De,ye){return De.idex-ye.idex}),ae=G[K-1],(se=Lf(ae))!=="SOLID_FILL"){Te.next=79;break}J=ae["a:solidFill"],Re=$n(J,N,void 0,t),s=Re,Te.next=89;break;case 79:if(se!=="GRADIENT_FILL"){Te.next=84;break}typeof(fe=Of(ae,le,o,t))=="string"?s=fe:fe&&(s=fe,l="gradient"),Te.next=89;break;case 84:if(se!=="PIC_FILL"){Te.next=89;break}return Te.next=87,M0(ae,"themeBg",t);case 87:s=Te.sent,l="image";case 89:Te.next=142;break;case 91:if(i=Ie(o,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),a=Ie(o,["p:sldMaster","p:cSld","p:bg","p:bgRef"]),me=Ie(o,["p:sldMaster","p:clrMap","attrs"]),!i){Te.next=114;break}if((ue=Lf(i))!=="SOLID_FILL"){Te.next=102;break}z=i["a:solidFill"],F=$n(z,me,void 0,t),s=F,Te.next=112;break;case 102:if(ue!=="GRADIENT_FILL"){Te.next=107;break}typeof(j=Of(i,void 0,o,t))=="string"?s=j:j&&(s=j,l="gradient"),Te.next=112;break;case 107:if(ue!=="PIC_FILL"){Te.next=112;break}return Te.next=110,M0(i,"slideMasterBg",t);case 110:s=Te.sent,l="image";case 112:Te.next=142;break;case 114:if(!a){Te.next=142;break}if(ie=$n(a,me,void 0,t),!((q=Number(a.attrs.idx))>1e3)){Te.next=142;break}if(te=q-1e3,re=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],he=[],Object.keys(re).forEach(function(De){var ye=re[De];if(De!=="attrs")if(ye.constructor===Array)for(var Le=0;Le<ye.length;Le++){var Pe={};Pe[De]=ye[Le],ye[Le].attrs&&(Pe.idex=ye[Le].attrs.order,Pe.attrs={order:ye[Le].attrs.order}),he.push(Pe)}else{var Ye={};Ye[De]=ye,ye.attrs&&(Ye.idex=ye.attrs.order,Ye.attrs={order:ye.attrs.order}),he.push(Ye)}}),(ce=he.slice(0)).sort(function(De,ye){return De.idex-ye.idex}),pe=ce[te-1],(xe=Lf(pe))!=="SOLID_FILL"){Te.next=132;break}_e=pe["a:solidFill"],Ae=$n(_e,N,void 0,t),s=Ae,Te.next=142;break;case 132:if(xe!=="GRADIENT_FILL"){Te.next=137;break}typeof(Be=Of(pe,ie,o,t))=="string"?s=Be:Be&&(s=Be,l="gradient"),Te.next=142;break;case 137:if(xe!=="PIC_FILL"){Te.next=142;break}return Te.next=140,M0(pe,"themeBg",t);case 140:s=Te.sent,l="image";case 142:return Te.abrupt("return",{type:l,value:s});case 143:case"end":return Te.stop()}},e)})),Y3.apply(this,arguments)}function lI(e,t,n){if(Ie(e,["p:spPr","a:noFill"]))return"";var r;if(r||(r=Ie(e,["p:spPr","a:solidFill","a:srgbClr","attrs","val"])),r||(r=sp("a:"+Ie(e,["p:spPr","a:solidFill","a:schemeClr","attrs","val"]),n)),r||(r=sp("a:"+Ie(e,["p:style","a:fillRef","a:schemeClr","attrs","val"]),n)),r){r="#".concat(r);var o=parseInt(Ie(e,["p:spPr","a:solidFill","a:schemeClr","a:lumMod","attrs","val"]))/1e5,i=parseInt(Ie(e,["p:spPr","a:solidFill","a:schemeClr","a:lumOff","attrs","val"]))/1e5;isNaN(o)&&(o=1),isNaN(i)&&(i=0);var a=pt(r).toHsl(),s=a.l*o+i;return pt({h:a.h,s:a.s,l:s,a:a.a}).toHexString()}return r}function $n(e,t,n,r){if(!e)return e;var o,i,a,s="#ffffff";if(e["a:srgbClr"])s=Ie(o=e["a:srgbClr"],["attrs","val"]);else if(e["a:schemeClr"])s=sp("a:"+Ie(o=e["a:schemeClr"],["attrs","val"]),r,t,n)||"#ffffff";else if(e["a:scrgbClr"]){var l=(o=e["a:scrgbClr"]).attrs,c=l.r.indexOf("%")!==-1?l.r.split("%").shift():l.r,u=l.g.indexOf("%")!==-1?l.g.split("%").shift():l.g,f=l.b.indexOf("%")!==-1?l.b.split("%").shift():l.b;s=wf(Number(c)/100*255)+wf(Number(u)/100*255)+wf(Number(f)/100*255)}else if(e["a:prstClr"]){var d=Ie(o=e["a:prstClr"],["attrs","val"]);(a=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"].indexOf(d))!==-1&&(i=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"][a]),s=i}else if(e["a:hslClr"]){var h=(o=e["a:hslClr"]).attrs,p=function(L,k,E){var P,W=2*E-(P=E<=.5?E*(k+1):E+k-E*k);return{r:255*Wy(W,P,2+(L/=60)),g:255*Wy(W,P,L),b:255*Wy(W,P,L-2)}}(Number(h.hue)/1e5,Number(h.sat.indexOf("%")!==-1?h.sat.split("%").shift():h.sat)/100,Number(h.lum.indexOf("%")!==-1?h.lum.split("%").shift():h.lum)/100);s=wf(p.r)+wf(p.g)+wf(p.b)}else if(e["a:sysClr"]){var v=Ie(o=e["a:sysClr"],["attrs","lastClr"]);v&&(s=v)}var m=!1,x=parseInt(Ie(o,["a:alpha","attrs","val"]))/1e5;if(!isNaN(x)){var y=pt(s);y.setAlpha(x),s=y.toHex8(),m=!0}var R=parseInt(Ie(o,["a:hueMod","attrs","val"]))/1e5;isNaN(R)||(s=function(L,k,E){var P=pt(L).toHsl(),W=P.h*k;return W>=360&&(W-=360),E?pt({h:W,s:P.s,l:P.l,a:P.a}).toHex8():pt({h:W,s:P.s,l:P.l,a:P.a}).toHex()}(s,R,m));var A=parseInt(Ie(o,["a:lumMod","attrs","val"]))/1e5;isNaN(A)||(s=function(L,k,E){var P=pt(L).toHsl(),W=P.l*k;return W>=1&&(W=1),E?pt({h:P.h,s:P.s,l:W,a:P.a}).toHex8():pt({h:P.h,s:P.s,l:W,a:P.a}).toHex()}(s,A,m));var b=parseInt(Ie(o,["a:lumOff","attrs","val"]))/1e5;isNaN(b)||(s=function(L,k,E){var P=pt(L).toHsl(),W=k+P.l;return W>=1?E?pt({h:P.h,s:P.s,l:1,a:P.a}).toHex8():pt({h:P.h,s:P.s,l:1,a:P.a}).toHex():E?pt({h:P.h,s:P.s,l:W,a:P.a}).toHex8():pt({h:P.h,s:P.s,l:W,a:P.a}).toHex()}(s,b,m));var M=parseInt(Ie(o,["a:satMod","attrs","val"]))/1e5;isNaN(M)||(s=function(L,k,E){var P=pt(L).toHsl(),W=P.s*k;return W>=1&&(W=1),E?pt({h:P.h,s:W,l:P.l,a:P.a}).toHex8():pt({h:P.h,s:W,l:P.l,a:P.a}).toHex()}(s,M,m));var T=parseInt(Ie(o,["a:shade","attrs","val"]))/1e5;isNaN(T)||(s=function(L,k,E){var P=pt(L).toHsl();k>=1&&(k=1);var W=Math.min(P.l*k,1);return E?pt({h:P.h,s:P.s,l:W,a:P.a}).toHex8():pt({h:P.h,s:P.s,l:W,a:P.a}).toHex()}(s,T,m));var w=parseInt(Ie(o,["a:tint","attrs","val"]))/1e5;return isNaN(w)||(s=function(L,k,E){var P=pt(L).toHsl();k>=1&&(k=1);var W=P.l*k+(1-k);return E?pt({h:P.h,s:P.s,l:W,a:P.a}).toHex8():pt({h:P.h,s:P.s,l:W,a:P.a}).toHex()}(s,w,m)),s&&s.indexOf("#")===-1&&(s="#"+s),s}function No(e){var t=[];if(!e)return t;if(e["c:xVal"]){var n=[];Mf(e["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n),n=[],Mf(e["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n)}else Mf(e,function(r,o){var i=[],a=Ie(r,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||o,s={};return Ie(r,["c:cat","c:strRef","c:strCache","c:pt"])?Mf(r["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],function(l){return s[l.attrs.idx]=l["c:v"],""}):Ie(r,["c:cat","c:numRef","c:numCache","c:pt"])&&Mf(r["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],function(l){return s[l.attrs.idx]=l["c:v"],""}),Ie(r,["c:val","c:numRef","c:numCache","c:pt"])&&Mf(r["c:val"]["c:numRef"]["c:numCache"]["c:pt"],function(l){return i.push({x:l.attrs.idx,y:parseFloat(l["c:v"])}),""}),t.push({key:a,values:i,xlabels:s}),""});return t}function Xne(e){var t=null;for(var n in e)switch(n){case"c:lineChart":t={type:"lineChart",data:No(e[n]["c:ser"]),grouping:Ie(e[n],["c:grouping","attrs","val"]),marker:!!e[n]["c:marker"]};break;case"c:line3DChart":t={type:"line3DChart",data:No(e[n]["c:ser"]),grouping:Ie(e[n],["c:grouping","attrs","val"])};break;case"c:barChart":t={type:"barChart",data:No(e[n]["c:ser"]),grouping:Ie(e[n],["c:grouping","attrs","val"]),barDir:Ie(e[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":t={type:"bar3DChart",data:No(e[n]["c:ser"]),grouping:Ie(e[n],["c:grouping","attrs","val"]),barDir:Ie(e[n],["c:barDir","attrs","val"])};break;case"c:pieChart":t={type:"pieChart",data:No(e[n]["c:ser"])};break;case"c:pie3DChart":t={type:"pie3DChart",data:No(e[n]["c:ser"])};break;case"c:doughnutChart":t={type:"doughnutChart",data:No(e[n]["c:ser"]),holeSize:Ie(e[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":t={type:"areaChart",data:No(e[n]["c:ser"]),grouping:Ie(e[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":t={type:"area3DChart",data:No(e[n]["c:ser"]),grouping:Ie(e[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":t={type:"scatterChart",data:No(e[n]["c:ser"]),style:Ie(e[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":t={type:"bubbleChart",data:No(e[n]["c:ser"])};break;case"c:radarChart":t={type:"radarChart",data:No(e[n]["c:ser"]),style:Ie(e[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":t={type:"surfaceChart",data:No(e[n]["c:ser"])};break;case"c:surface3DChart":t={type:"surface3DChart",data:No(e[n]["c:ser"])};break;case"c:stockChart":t={type:"stockChart",data:No(e[n]["c:ser"])}}return t}function Wne(e,t,n,r){var o=Ie(e,["a:pPr","attrs","algn"]);if(o||(o=Ie(t,["a:pPr","attrs","algn"])),!o)if(n==="title"||n==="ctrTitle"||n==="subTitle"){var i=1,a=Ie(t,["a:pPr","attrs","lvl"]);a&&(i=parseInt(a)+1);var s="a:lvl"+i+"pPr";(o=Ie(r,["slideLayoutTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(o=Ie(r,["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"])),o||(o=Ie(r,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),o||n!=="subTitle"||(o=Ie(r,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else o=Ie(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(o)switch(o){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 Dr=72/914400;function Qp(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)*Dr,left:parseInt(r.x)*Dr}:{top:0,left:0}}function Zp(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)*Dr,height:parseInt(r.cy)*Dr}:{width:0,height:0}}function cI(e,t){var n=$n(e,void 0,void 0,t),r=e.attrs,o=r.dir?parseInt(r.dir)/6e4:0,i=parseInt(r.dist)*Dr,a=r.blurRad?parseInt(r.blurRad)*Dr:"",s=i*Math.sin(o*Math.PI/180);return{h:i*Math.cos(o*Math.PI/180),v:s,blur:a,color:n}}function xO(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,c){if(l){if(typeof l=="string")return SO(l,c);var u=Object.prototype.toString.call(l).slice(8,-1);if(u==="Object"&&l.constructor&&(u=l.constructor.name),u==="Map"||u==="Set")return Array.from(l);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return SO(l,c)}}(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:o}}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 i,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,i=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function SO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q3(e,t,n,r,o){if(!e)return"";var i,a="",s=e["a:p"],l="",c=xO(s.constructor===Array?s:[s]);try{for(c.s();!(i=c.n()).done;){var u=i.value,f=u["a:r"],d=u["a:fld"],h=u["a:br"];f&&(f=f.constructor===Array?f:[f],d&&(d=d.constructor===Array?d:[d],f=f.concat(d)),h&&((h=h.constructor===Array?h:[h]).forEach(function(y){return y.type="br"}),h.length>1&&h.shift(),(f=f.concat(h)).sort(function(y,R){return!y.attrs||!R.attrs||y.attrs.order-R.attrs.order})));var p=Wne(u,t,r,o),v=Vne(u);if(v?(l?l&&l!==v&&(a+="</".concat(l,">"),a+="<".concat(v,">"),l=v):(a+="<".concat(v,">"),l=v),a+='<li style="text-align: '.concat(p,';">')):(l&&(a+="</".concat(l,">"),l=""),a+='<p style="text-align: '.concat(p,';">')),f){var m,x=xO(f);try{for(x.s();!(m=x.n()).done;)a+=MO(m.value,n,r,o)}catch(y){x.e(y)}finally{x.f()}}else a+=MO(u,n,r,o);a+=v?"</li>":"</p>"}}catch(y){c.e(y)}finally{c.f()}return a}function Vne(e){var t=e["a:pPr"];return t?t["a:buChar"]?"ul":t["a:buAutoNum"]?"ol":"":""}function MO(e,t,n,r){var o=r.slideMasterTextStyles,i=e["a:t"];typeof i!="string"&&(i=Ie(e,["a:fld","a:t"])),typeof i!="string"&&(i=" ");var a="",s=function(R){var A=Ie(R,["a:rPr","a:solidFill","a:srgbClr","attrs","val"]);return A?"#".concat(A):""}(e),l=function(R,A,b,M){var T,w;if(Ie(R,["a:rPr","attrs","sz"])&&(T=Ie(R,["a:rPr","attrs","sz"])/100),isNaN(T)||!T){var L=Ie(A,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);T=parseInt(L)/100}return!isNaN(T)&&T||(b==="title"||b==="subTitle"||b==="ctrTitle"?w=Ie(M,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):b==="body"?w=Ie(M,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):b==="dt"||b==="sldNum"?w="1200":b||(w=Ie(M,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),w&&(T=parseInt(w)/100)),Ie(R,["a:rPr","attrs","baseline"])&&!isNaN(T)&&(T-=10),(T=isNaN(T)||!T?18:T)+"pt"}(e,t,n,o),c=function(R,A,b){var M=Ie(R,["a:rPr","a:latin","attrs","typeface"]);if(!M){var T=Ie(b.themeContent,["a:theme","a:themeElements","a:fontScheme"]);M=Ie(T,A==="title"||A==="subTitle"||A==="ctrTitle"?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return M||""}(e,n,r),u=function(R){return Ie(R,["a:rPr","attrs","b"])==="1"?"bold":""}(e),f=function(R){return Ie(R,["a:rPr","attrs","i"])==="1"?"italic":""}(e),d=function(R){return Ie(R,["a:rPr","attrs","u"])==="sng"?"underline":""}(e),h=function(R){return Ie(R,["a:rPr","attrs","strike"])==="sngStrike"?"line-through":""}(e),p=function(R){var A=Ie(R,["a:rPr","attrs","spc"]);return A?parseInt(A)/100+"pt":""}(e),v=function(R,A){var b=Ie(R,["a:rPr","a:effectLst","a:outerShdw"]);if(b){var M=cI(b,A);if(M){var T=M.h,w=M.v,L=M.blur,k=M.color;if(!isNaN(w)&&!isNaN(T))return T+"pt "+w+"pt "+(L?L+"pt":"")+" "+k}}return""}(e,r),m=function(R){var A=Ie(R,["a:rPr","attrs","baseline"]);return A?parseInt(A)>0?"super":"sub":""}(e);s&&(a+="color: ".concat(s,";")),l&&(a+="font-size: ".concat(l,";")),c&&(a+="font-family: ".concat(c,";")),u&&(a+="font-weight: ".concat(u,";")),f&&(a+="font-style: ".concat(f,";")),d&&(a+="text-decoration: ".concat(d,";")),h&&(a+="text-decoration-line: ".concat(h,";")),p&&(a+="letter-spacing: ".concat(p,";")),m&&(a+="vertical-align: ".concat(m,";")),v&&(a+="text-shadow: ".concat(v,";"));var x=Ie(e,["a:rPr","a:hlinkClick","attrs","r:id"]);if(x){var y=r.slideResObj[x].target;return'<span style="'.concat(a,'"><a href="').concat(y,'" target="_blank">').concat(i.replace(/\t/g," ").replace(/\s/g," "),"</a></span>")}return'<span style="'.concat(a,'">').concat(i.replace(/\t/g," ").replace(/\s/g," "),"</span>")}function Une(e,t,n,r,o,i,a){var s,l=o;if(i>=o)for(;l<=i;){var c=l*(Math.PI/180),u=e+Math.cos(c)*n,f=t+Math.sin(c)*r;l===o&&(s=" M"+u+" "+f),s+=" L"+u+" "+f,l++}else for(;l>i;){var d=l*(Math.PI/180),h=e+Math.cos(d)*n,p=t+Math.sin(d)*r;l===o&&(s=" M "+h+" "+p),s+=" L "+h+" "+p,l--}return s+=""}function wO(e,t,n,r){var o,i,a,s,l,c=Ie(e,["attrs","rowSpan"]),u=Ie(e,["attrs","gridSpan"]),f=Ie(e,["attrs","vMerge"]),d=Ie(e,["attrs","hMerge"]),h=Ie(e,["a:tcPr"]);return h&&(o=lI({"p:spPr":h},void 0,r)),o||(n&&(s=Ie(t,[n,"a:tcStyle","a:fill","a:solidFill"])),s&&(o=$n(s,void 0,void 0,r))),n&&(l=Ie(t,[n,"a:tcTxStyle"])),l&&(i=$n(l,void 0,void 0,r),Ie(l,["attrs","b"])==="on"&&(a=!0)),{fillColor:o,fontColor:i,fontBold:a,rowSpan:c?+c:void 0,colSpan:u?+u:void 0,vMerge:f?+f:void 0,hMerge:d?+d:void 0}}function Yne(e,t,n,r,o){var i,a,s;if(r&&r["a:wholeTbl"]){var l=Ie(r,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(l){var c=$n(l,void 0,void 0,o);c&&(i=c)}var u=Ie(r,["a:wholeTbl","a:tcTxStyle"]);if(u){var f=$n(u,void 0,void 0,o);f&&(a=f),Ie(u,["attrs","b"])==="on"&&(s=!0)}}if(t===0&&n.isFrstRowAttr===1&&r){var d=Ie(r,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(d){var h=$n(d,void 0,void 0,o);h&&(i=h)}var p=Ie(r,["a:firstRow","a:tcTxStyle"]);if(p){var v=$n(p,void 0,void 0,o);v&&(a=v),Ie(p,["attrs","b"])==="on"&&(s=!0)}}else if(t>0&&n.isBandRowAttr===1&&r){if(i="",t%2==0&&r["a:band2H"]){var m=Ie(r,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(m){var x=$n(m,void 0,void 0,o);x&&(i=x)}var y=Ie(r,["a:band2H","a:tcTxStyle"]);if(y){var R=$n(y,void 0,void 0,o);R&&(a=R)}Ie(y,["attrs","b"])==="on"&&(s=!0)}if(t%2!=0&&r["a:band1H"]){var A=Ie(r,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(A){var b=$n(A,void 0,void 0,o);b&&(i=b)}var M=Ie(r,["a:band1H","a:tcTxStyle"]);if(M){var T=$n(M,void 0,void 0,o);T&&(a=T),Ie(M,["attrs","b"])==="on"&&(s=!0)}}}if(t===e.length-1&&n.isLstRowAttr===1&&r){var w=Ie(r,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(w){var L=$n(w,void 0,void 0,o);L&&(i=L)}var k=Ie(r,["a:lastRow","a:tcTxStyle"]);if(k){var E=$n(k,void 0,void 0,o);E&&(a=E),Ie(k,["attrs","b"])==="on"&&(s=!0)}}return{fillColor:i,fontColor:a,fontBold:s}}function LO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function cu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?LO(Object(n),!0).forEach(function(r){x9(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $i(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,c){if(l){if(typeof l=="string")return OO(l,c);var u=Object.prototype.toString.call(l).slice(8,-1);if(u==="Object"&&l.constructor&&(u=l.constructor.name),u==="Map"||u==="Set")return Array.from(l);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return OO(l,c)}}(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:o}}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 i,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,i=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function OO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qne(e){return uI.apply(this,arguments)}function uI(){return(uI=ui(Xn.mark(function e(t){var n,r,o,i,a,s,l,c,u,f,d,h;return Xn.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return n=[],p.next=3,gne.loadAsync(t);case 3:return r=p.sent,p.next=6,Zne(r);case 6:return o=p.sent,p.next=9,Bne(r);case 9:return i=p.sent,a=i.width,s=i.height,l=i.defaultTextStyle,p.next=15,Dne(r);case 15:c=p.sent,u=$i(o.slides),p.prev=17,u.s();case 19:if((f=u.n()).done){p.next=27;break}return d=f.value,p.next=23,Kne(r,d,c,l);case 23:h=p.sent,n.push(h);case 25:p.next=19;break;case 27:p.next=32;break;case 29:p.prev=29,p.t0=p.catch(17),u.e(p.t0);case 32:return p.prev=32,u.f(),p.finish(32);case 35:return p.abrupt("return",{slides:n,size:{width:a,height:s}});case 36:case"end":return p.stop()}},e,null,[[17,29,32,35]])}))).apply(this,arguments)}function Zne(e){return fI.apply(this,arguments)}function fI(){return(fI=ui(Xn.mark(function e(t){var n,r,o,i,a,s,l,c;return Xn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,Io(t,"[Content_Types].xml");case 2:n=u.sent,r=n.Types.Override,o=[],i=[],a=$i(r),u.prev=7,a.s();case 9:if((s=a.n()).done){u.next=20;break}l=s.value,u.t0=l.attrs.ContentType,u.next=u.t0==="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"?14:u.t0==="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"?16:18;break;case 14:return o.push(l.attrs.PartName.substr(1)),u.abrupt("break",18);case 16:return i.push(l.attrs.PartName.substr(1)),u.abrupt("break",18);case 18:u.next=9;break;case 20:u.next=25;break;case 22:u.prev=22,u.t1=u.catch(7),a.e(u.t1);case 25:return u.prev=25,a.f(),u.finish(25);case 28:return c=function(f,d){return+/(\d+)\.xml/.exec(f)[1]-+/(\d+)\.xml/.exec(d)[1]},o=o.sort(c),i=i.sort(c),u.abrupt("return",{slides:o,slideLayouts:i});case 32:case"end":return u.stop()}},e,null,[[7,22,25,28]])}))).apply(this,arguments)}function Bne(e){return dI.apply(this,arguments)}function dI(){return(dI=ui(Xn.mark(function e(t){var n,r,o;return Xn.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Io(t,"ppt/presentation.xml");case 2:return n=i.sent,r=n["p:presentation"]["p:sldSz"].attrs,o=n["p:presentation"]["p:defaultTextStyle"],i.abrupt("return",{width:parseInt(r.cx)*Dr,height:parseInt(r.cy)*Dr,defaultTextStyle:o});case 6:case"end":return i.stop()}},e)}))).apply(this,arguments)}function Dne(e){return hI.apply(this,arguments)}function hI(){return(hI=ui(Xn.mark(function e(t){var n,r,o,i,a,s;return Xn.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,Io(t,"ppt/_rels/presentation.xml.rels");case 2:if(n=l.sent,(r=n.Relationships.Relationship).constructor!==Array){l.next=25;break}i=$i(r),l.prev=6,i.s();case 8:if((a=i.n()).done){l.next=15;break}if((s=a.value).attrs.Type!=="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"){l.next=13;break}return o=s.attrs.Target,l.abrupt("break",15);case 13:l.next=8;break;case 15:l.next=20;break;case 17:l.prev=17,l.t0=l.catch(6),i.e(l.t0);case 20:return l.prev=20,i.f(),l.finish(20);case 23:l.next=26;break;case 25:r.attrs.Type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"&&(o=r.attrs.Target);case 26:if(o){l.next=28;break}throw Error("Can't open theme file.");case 28:return l.next=30,Io(t,"ppt/"+o);case 30:return l.abrupt("return",l.sent);case 31:case"end":return l.stop()}},e,null,[[6,17,20,23]])}))).apply(this,arguments)}function Kne(e,t,n,r){return Z3.apply(this,arguments)}function Z3(){return Z3=ui(Xn.mark(function e(t,n,r,o){var i,a,s,l,c,u,f,d,h,p,v,m,x,y,R,A,b,M,T,w,L,k,E,P,W,N,_,C,X,Y,$,le,Q,K,B,D,G,ae,se,J,Re,fe,me,ue,z,F,j,ie,q,te,re,he,ce,pe,xe,_e;return Xn.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return i=n.replace("slides/slide","slides/_rels/slide")+".rels",Ae.next=3,Io(t,i);case 3:if(a=Ae.sent,s=a.Relationships.Relationship,l="",c="",u={},s.constructor!==Array){Ae.next=35;break}f=$i(s),Ae.prev=10,f.s();case 12:if((d=f.n()).done){Ae.next=25;break}h=d.value,Ae.t0=h.attrs.Type,Ae.next=Ae.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"?17:Ae.t0==="http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"?19:(Ae.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"||Ae.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"||Ae.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"||Ae.t0,22);break;case 17:return l=h.attrs.Target.replace("../","ppt/"),Ae.abrupt("break",23);case 19:return c=h.attrs.Target.replace("../","ppt/"),u[h.attrs.Id]={type:h.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:h.attrs.Target.replace("../","ppt/")},Ae.abrupt("break",23);case 22:u[h.attrs.Id]={type:h.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:h.attrs.Target.replace("../","ppt/")};case 23:Ae.next=12;break;case 25:Ae.next=30;break;case 27:Ae.prev=27,Ae.t1=Ae.catch(10),f.e(Ae.t1);case 30:return Ae.prev=30,f.f(),Ae.finish(30);case 33:Ae.next=36;break;case 35:l=s.attrs.Target.replace("../","ppt/");case 36:return Ae.next=38,Io(t,l);case 38:return p=Ae.sent,Ae.next=41,TO(p);case 41:return v=Ae.sent,m=l.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",Ae.next=45,Io(t,m);case 45:if(x=Ae.sent,s=x.Relationships.Relationship,y="",R={},s.constructor!==Array){Ae.next=73;break}A=$i(s),Ae.prev=51,A.s();case 53:if((b=A.n()).done){Ae.next=63;break}M=b.value,Ae.t2=M.attrs.Type,Ae.next=Ae.t2==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"?58:60;break;case 58:return y=M.attrs.Target.replace("../","ppt/"),Ae.abrupt("break",61);case 60:R[M.attrs.Id]={type:M.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:M.attrs.Target.replace("../","ppt/")};case 61:Ae.next=53;break;case 63:Ae.next=68;break;case 65:Ae.prev=65,Ae.t3=Ae.catch(51),A.e(Ae.t3);case 68:return Ae.prev=68,A.f(),Ae.finish(68);case 71:Ae.next=74;break;case 73:y=s.attrs.Target.replace("../","ppt/");case 74:return Ae.next=76,Io(t,y);case 76:return T=Ae.sent,w=Ie(T,["p:sldMaster","p:txStyles"]),L=TO(T),k=y.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",Ae.next=82,Io(t,k);case 82:if(E=Ae.sent,s=E.Relationships.Relationship,P="",W={},s.constructor!==Array){Ae.next=109;break}N=$i(s),Ae.prev=88,N.s();case 90:if((_=N.n()).done){Ae.next=99;break}C=_.value,Ae.t4=C.attrs.Type,Ae.next=Ae.t4==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"?95:96;break;case 95:return Ae.abrupt("break",97);case 96:W[C.attrs.Id]={type:C.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:C.attrs.Target.replace("../","ppt/")};case 97:Ae.next=90;break;case 99:Ae.next=104;break;case 101:Ae.prev=101,Ae.t5=Ae.catch(88),N.e(Ae.t5);case 104:return Ae.prev=104,N.f(),Ae.finish(104);case 107:Ae.next=110;break;case 109:P=s.attrs.Target.replace("../","ppt/");case 110:if(X={},!P){Ae.next=118;break}return Y=P.split("/").pop(),$=P.replace(Y,"_rels/"+Y)+".rels",Ae.next=116,Io(t,$);case 116:if((le=Ae.sent)&&(s=le.Relationships.Relationship))if(s.constructor===Array){Q=$i(s);try{for(Q.s();!(K=Q.n()).done;)B=K.value,X[B.attrs.Id]={type:B.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:B.attrs.Target.replace("../","ppt/")}}catch(Be){Q.e(Be)}finally{Q.f()}}else X[s.attrs.Id]={type:s.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:s.attrs.Target.replace("../","ppt/")};case 118:if(D={},G={},!c){Ae.next=131;break}return ae=c.split("/").pop(),se=c.replace(ae,"_rels/"+ae)+".rels",Ae.next=125,Io(t,c);case 125:return(G=Ae.sent)&&G&&G&&(J=(J=JSON.stringify(G)).replace(/dsp:/g,"p:"),G=JSON.parse(J)),Ae.next=129,Io(t,se);case 129:if(Re=Ae.sent)if((s=Re.Relationships.Relationship).constructor===Array){fe=$i(s);try{for(fe.s();!(me=fe.n()).done;)ue=me.value,D[ue.attrs.Id]={type:ue.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:ue.attrs.Target.replace("../","ppt/")}}catch(Be){fe.e(Be)}finally{fe.f()}}else D[s.attrs.Id]={type:s.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:s.attrs.Target.replace("../","ppt/")};case 131:return Ae.next=133,Io(t,"ppt/tableStyles.xml");case 133:return z=Ae.sent,Ae.next=136,Io(t,n);case 136:return F=Ae.sent,j=F["p:sld"]["p:cSld"]["p:spTree"],ie={zip:t,slideLayoutContent:p,slideLayoutTables:v,slideMasterContent:T,slideMasterTables:L,slideContent:F,tableStyles:z,slideResObj:u,slideMasterTextStyles:w,layoutResObj:R,masterResObj:W,themeContent:r,themeResObj:X,digramFileContent:G,diagramResObj:D,defaultTextStyle:o},Ae.next=141,Ene(ie);case 141:q=Ae.sent,te=[],Ae.t6=Xn.keys(j);case 144:if((Ae.t7=Ae.t6()).done){Ae.next=174;break}if(re=Ae.t7.value,j[re].constructor!==Array){Ae.next=168;break}he=$i(j[re]),Ae.prev=148,he.s();case 150:if((ce=he.n()).done){Ae.next=158;break}return pe=ce.value,Ae.next=154,um(re,pe,ie,"slide");case 154:(xe=Ae.sent)&&te.push(xe);case 156:Ae.next=150;break;case 158:Ae.next=163;break;case 160:Ae.prev=160,Ae.t8=Ae.catch(148),he.e(Ae.t8);case 163:return Ae.prev=163,he.f(),Ae.finish(163);case 166:Ae.next=172;break;case 168:return Ae.next=170,um(re,j[re],ie,"slide");case 170:(_e=Ae.sent)&&te.push(_e);case 172:Ae.next=144;break;case 174:return Ae.abrupt("return",{fill:q,elements:te});case 175:case"end":return Ae.stop()}},e,null,[[10,27,30,33],[51,65,68,71],[88,101,104,107],[148,160,163,166]])})),Z3.apply(this,arguments)}function TO(e){var t=e[Object.keys(e)[0]]["p:cSld"]["p:spTree"],n={},r={},o={};for(var i in t)if(i!=="p:nvGrpSpPr"&&i!=="p:grpSpPr"){var a=t[i];if(a.constructor===Array){var s,l=$i(a);try{for(l.s();!(s=l.n()).done;){var c=s.value,u=c["p:nvSpPr"],f=Ie(u,["p:cNvPr","attrs","id"]),d=Ie(u,["p:nvPr","p:ph","attrs","idx"]),h=Ie(u,["p:nvPr","p:ph","attrs","type"]);f&&(n[f]=c),d&&(r[d]=c),h&&(o[h]=c)}}catch(y){l.e(y)}finally{l.f()}}else{var p=a["p:nvSpPr"],v=Ie(p,["p:cNvPr","attrs","id"]),m=Ie(p,["p:nvPr","p:ph","attrs","idx"]),x=Ie(p,["p:nvPr","p:ph","attrs","type"]);v&&(n[v]=a),m&&(r[m]=a),x&&(o[x]=a)}}return{idTable:n,idxTable:r,typeTable:o}}function um(e,t,n,r){return pI.apply(this,arguments)}function pI(){return(pI=ui(Xn.mark(function e(t,n,r,o){var i;return Xn.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:a.t0=t,a.next=a.t0==="p:sp"?3:a.t0==="p:cxnSp"?5:a.t0==="p:pic"?7:a.t0==="p:graphicFrame"?9:a.t0==="p:grpSp"?13:a.t0==="mc:AlternateContent"?17:21;break;case 3:return i=vI(n,r,o),a.abrupt("break",21);case 5:return i=Hne(n,r),a.abrupt("break",21);case 7:return i=Gne(n,r,o),a.abrupt("break",21);case 9:return a.next=11,zne(n,r,o);case 11:case 15:case 19:return i=a.sent,a.abrupt("break",21);case 13:return a.next=15,B3(n,r,o);case 17:return a.next=19,B3(Ie(n,["mc:Fallback"]),r,o);case 21:return a.abrupt("return",i);case 22:case"end":return a.stop()}},e)}))).apply(this,arguments)}function B3(e,t,n){return D3.apply(this,arguments)}function D3(){return D3=ui(Xn.mark(function e(t,n,r){var o,i,a,s,l,c,u,f,d,h,p,v,m,x,y,R,A,b;return Xn.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(o=Ie(t,["p:grpSpPr","a:xfrm"])){M.next=3;break}return M.abrupt("return",null);case 3:i=parseInt(o["a:off"].attrs.x)*Dr,a=parseInt(o["a:off"].attrs.y)*Dr,s=parseInt(o["a:chOff"].attrs.x)*Dr,l=parseInt(o["a:chOff"].attrs.y)*Dr,c=parseInt(o["a:ext"].attrs.cx)*Dr,u=parseInt(o["a:ext"].attrs.cy)*Dr,f=parseInt(o["a:chExt"].attrs.cx)*Dr,d=parseInt(o["a:chExt"].attrs.cy)*Dr,h=c/f,p=u/d,v=[],M.t0=Xn.keys(t);case 15:if((M.t1=M.t0()).done){M.next=45;break}if(m=M.t1.value,t[m].constructor!==Array){M.next=39;break}x=$i(t[m]),M.prev=19,x.s();case 21:if((y=x.n()).done){M.next=29;break}return R=y.value,M.next=25,um(m,R,n,r);case 25:(A=M.sent)&&v.push(A);case 27:M.next=21;break;case 29:M.next=34;break;case 31:M.prev=31,M.t2=M.catch(19),x.e(M.t2);case 34:return M.prev=34,x.f(),M.finish(34);case 37:M.next=43;break;case 39:return M.next=41,um(m,t[m],n,r);case 41:(b=M.sent)&&v.push(b);case 43:M.next=15;break;case 45:return M.abrupt("return",{type:"group",top:a,left:i,width:c,height:u,elements:v.map(function(T){return cu(cu({},T),{},{left:(T.left-s)*h,top:(T.top-l)*p,width:T.width*h,height:T.height*p})})});case 46:case"end":return M.stop()}},e,null,[[19,31,34,37]])})),D3.apply(this,arguments)}function vI(e,t,n){var r,o,i=Ie(e,["p:nvSpPr","p:cNvPr","attrs","name"]),a=Ie(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=Ie(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);return s?(r=t.slideLayoutTables.typeTable[s],o=t.slideMasterTables.typeTable[s]):a&&(r=t.slideLayoutTables.idxTable[a],o=t.slideMasterTables.idxTable[a]),s||Ie(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"&&(s="text"),s||(s=Ie(r,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=Ie(o,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=n==="diagramBg"?"diagram":"obj"),gI(e,r,o,i,s,t)}function Hne(e,t){return gI(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 gI(e,t,n,r,o,i){var a,s=["p:spPr","a:xfrm"],l=Ie(e,s),c=Ie(t,s),u=Ie(n,s),f=Ie(e,["p:spPr","a:prstGeom","attrs","prst"]),d=Ie(e,["p:spPr","a:custGeom"]),h=Qp(l,c,u),p=h.top,v=h.left,m=Zp(l,c,u),x=m.width,y=m.height,R=Ie(l,["attrs","flipV"])==="1",A=Ie(l,["attrs","flipH"])==="1",b=cm(Ie(l,["attrs","rot"])),M=Ie(e,["p:txXfrm"]);if(M){var T=Ie(M,["attrs","rot"]);T&&(a=cm(T)+90)}else a=b;var w="";e["p:txBody"]&&(w=Q3(e["p:txBody"],e,t,o,i));var L,k=nh(e,o,i),E=k.borderColor,P=k.borderWidth,W=k.borderType,N=k.strokeDasharray,_=lI(e,void 0,i)||"",C=Ie(e,["p:spPr","a:effectLst","a:outerShdw"]);C&&(L=cI(C,i));var X=function(K,B,D){var G=Ie(K,["p:txBody","a:bodyPr","attrs","anchor"]);return G||(G=Ie(B,["p:txBody","a:bodyPr","attrs","anchor"]))||(G=Ie(D,["p:txBody","a:bodyPr","attrs","anchor"]))||(G="t"),G==="ctr"?"mid":G==="b"?"down":"up"}(e,t,n),Y=Ie(e,["p:txBody","a:bodyPr","attrs","vert"])==="eaVert",$={left:v,top:p,width:x,height:y,borderColor:E,borderWidth:P,borderType:W,borderStrokeDasharray:N,fillColor:_,content:w,isFlipV:R,isFlipH:A,rotate:b,vAlign:X,name:r};if(L&&($.shadow=L),d&&o!=="diagram"){var le=Ie(l,["a:ext","attrs"]),Q=function(K,B,D){var G=Ie(K,["a:pathLst"]),ae=Ie(G,["a:path"]);Array.isArray(ae)&&(ae=ae.pop());var se=parseInt(ae.attrs.w),J=parseInt(ae.attrs.h),Re=se===0?0:1/se*B,fe=J===0?0:1/J*D,me="",ue=Ie(ae,["a:moveTo"]),z=ae["a:lnTo"],F=ae["a:cubicBezTo"],j=ae["a:arcTo"],ie=Ie(ae,["a:close"]);Array.isArray(ue)||(ue=[ue]);var q=[];if(ue.length>0){if(Object.keys(ue).forEach(function(Ye){var rt=ue[Ye]["a:pt"];rt&&Object.keys(rt).forEach(function(Ne){var Ke=rt[Ne],et=Ke.x,At=Ke.y,ut=Ke.order;q.push({type:"movto",x:et,y:At,order:ut})})}),z&&Object.keys(z).forEach(function(Ye){var rt=z[Ye]["a:pt"];rt&&Object.keys(rt).forEach(function(Ne){var Ke=rt[Ne],et=Ke.x,At=Ke.y,ut=Ke.order;q.push({type:"lnto",x:et,y:At,order:ut})})}),F){var te=[];Array.isArray(F)||(F=[F]),Object.keys(F).forEach(function(Ye){te.push(F[Ye]["a:pt"])}),te.forEach(function(Ye){var rt=[];Ye.forEach(function(Ke){var et={x:Ke.attrs.x,y:Ke.attrs.y};rt.push(et)});var Ne=Ye[0].attrs.order;q.push({type:"cubicBezTo",cubBzPt:rt,order:Ne})})}if(j){var re=j.attrs,he=re.order,ce=re.hR,pe=re.wR,xe=re.stAng,_e=re.swAng,Ae=0,Be=0,Te=Ie(j,["a:pt","attrs"]);Te&&(Ae=Te.x,Be=Te.y),q.push({type:"arcTo",hR:ce,wR:pe,stAng:xe,swAng:_e,shftX:Ae,shftY:Be,order:he})}ie&&(Array.isArray(ie)||(ie=[ie]),Object.keys(ie).forEach(function(){q.push({type:"close",order:1/0})})),q.sort(function(Ye,rt){return Ye.order-rt.order});for(var De=0;De<q.length;){if(q[De].type==="movto")me+=" M"+parseInt(q[De].x)*Re+","+parseInt(q[De].y)*fe;else if(q[De].type==="lnto")me+=" L"+parseInt(q[De].x)*Re+","+parseInt(q[De].y)*fe;else if(q[De].type==="cubicBezTo")me+=" C"+parseInt(q[De].cubBzPt[0].x)*Re+","+parseInt(q[De].cubBzPt[0].y)*fe+" "+parseInt(q[De].cubBzPt[1].x)*Re+","+parseInt(q[De].cubBzPt[1].y)*fe+" "+parseInt(q[De].cubBzPt[2].x)*Re+","+parseInt(q[De].cubBzPt[2].y)*fe;else if(q[De].type==="arcTo"){var ye=parseInt(q[De].hR)*Re,Le=parseInt(q[De].wR)*fe,Pe=parseInt(q[De].stAng)/6e4;me+=Une(Le,ye,Le,ye,Pe,Pe+parseInt(q[De].swAng)/6e4)}else q[De].type==="close"&&(me+="z");De++}}return me}(d,parseInt(le.cx)*Dr,parseInt(le.cy)*Dr);return cu(cu({},$),{},{type:"shape",shapType:"custom",path:Q})}return cu(cu({},$),{},!f||o!=="obj"&&o?{type:"text",isVertical:Y,rotate:a}:{type:"shape",shapType:f})}function Gne(e,t,n){return K3.apply(this,arguments)}function K3(){return K3=ui(Xn.mark(function e(t,n,r){var o,i,a,s,l,c,u,f,d,h,p,v,m,x,y,R,A,b,M,T,w,L,k,E,P,W,N,_,C,X,Y,$,le;return Xn.wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return o=r==="slideMasterBg"?n.masterResObj:r==="slideLayoutBg"?n.layoutResObj:n.slideResObj,i=t["p:blipFill"]["a:blip"].attrs["r:embed"],a=o[i].target,s=Xy(a).toLowerCase(),l=n.zip,Q.next=7,l.file(a).async("arraybuffer");case 7:if(c=Q.sent,u=t["p:spPr"]["a:xfrm"],f=V3(s),d=Qp(u,void 0,void 0),h=d.top,p=d.left,v=Zp(u,void 0,void 0),m=v.width,x=v.height,y="data:".concat(f,";base64,").concat(iI(c)),R=Ie(u,["attrs","flipV"])==="1",A=Ie(u,["attrs","flipH"])==="1",b=0,(M=Ie(t,["p:spPr","a:xfrm","attrs","rot"]))&&(b=cm(M)),T=Ie(t,["p:nvPicPr","p:nvPr","a:videoFile"]),N=!1,!T){Q.next=35;break}if(w=T.attrs["r:link"],!Fne(L=o[w].target)){Q.next=28;break}L=aI(L),N=!0,Q.next=35;break;case 28:if((k=Xy(L).toLowerCase())!=="mp4"&&k!=="webm"&&k!=="ogg"){Q.next=35;break}return Q.next=32,l.file(L).async("arraybuffer");case 32:P=Q.sent,E=V3(k),W=URL.createObjectURL(new Blob([P],{type:E}));case 35:if(!(_=Ie(t,["p:nvPicPr","p:nvPr","a:audioFile"]))){Q.next=45;break}if(C=_.attrs["r:link"],X=o[C].target,(Y=Xy(X).toLowerCase())!=="mp3"&&Y!=="wav"&&Y!=="ogg"){Q.next=45;break}return Q.next=43,l.file(X).async("arraybuffer");case 43:$=Q.sent,le=URL.createObjectURL(new Blob([$]));case 45:if(!T||N){Q.next=47;break}return Q.abrupt("return",{type:"video",top:h,left:p,width:m,height:x,rotate:b,blob:W});case 47:if(!T||!N){Q.next=49;break}return Q.abrupt("return",{type:"video",top:h,left:p,width:m,height:x,rotate:b,src:L});case 49:if(!_){Q.next=51;break}return Q.abrupt("return",{type:"audio",top:h,left:p,width:m,height:x,rotate:b,blob:le});case 51:return Q.abrupt("return",{type:"image",top:h,left:p,width:m,height:x,rotate:b,src:y,isFlipV:R,isFlipH:A});case 52:case"end":return Q.stop()}},e)})),K3.apply(this,arguments)}function zne(e,t,n){return H3.apply(this,arguments)}function H3(){return H3=ui(Xn.mark(function e(t,n,r){var o,i,a;return Xn.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:o=Ie(t,["a:graphic","a:graphicData","attrs","uri"]),s.t0=o,s.next=s.t0==="http://schemas.openxmlformats.org/drawingml/2006/table"?4:s.t0==="http://schemas.openxmlformats.org/drawingml/2006/chart"?6:s.t0==="http://schemas.openxmlformats.org/drawingml/2006/diagram"?10:s.t0==="http://schemas.openxmlformats.org/presentationml/2006/ole"?12:15;break;case 4:return i=Jne(t,n),s.abrupt("break",15);case 6:return s.next=8,$ne(t,n);case 8:return i=s.sent,s.abrupt("break",15);case 10:return i=jne(t,n),s.abrupt("break",15);case 12:return(a=Ie(t,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]))?B3(a,n,r):a=Ie(t,["a:graphic","a:graphicData","p:oleObj"]),s.abrupt("break",15);case 15:return s.abrupt("return",i);case 16:case"end":return s.stop()}},e)})),H3.apply(this,arguments)}function Jne(e,t){var n,r,o=Ie(e,["a:graphic","a:graphicData","a:tbl"]),i=Ie(e,["p:xfrm"]),a=Qp(i,void 0,void 0),s=a.top,l=a.left,c=Zp(i,void 0,void 0),u=c.width,f=c.height,d=Ie(e,["a:graphic","a:graphicData","a:tbl","a:tblPr"]),h=d.attrs?d.attrs.firstRow:void 0,p=d.attrs?d.attrs.firstCol:void 0,v=d.attrs?d.attrs.lastRow:void 0,m=d.attrs?d.attrs.lastCol:void 0,x=d.attrs?d.attrs.bandRow:void 0,y=d.attrs?d.attrs.bandCol:void 0,R={isFrstRowAttr:h&&h==="1"?1:0,isFrstColAttr:p&&p==="1"?1:0,isLstRowAttr:v&&v==="1"?1:0,isLstColAttr:m&&m==="1"?1:0,isBandRowAttr:x&&x==="1"?1:0,isBandColAttr:y&&y==="1"?1:0},A=d["a:tableStyleId"];if(A){var b=t.tableStyles["a:tblStyleLst"]["a:tblStyle"];if(b)if(b.constructor===Array)for(var M=0;M<b.length;M++)b[M].attrs.styleId===A&&(n=b[M]);else b.attrs.styleId===A&&(n=b)}n&&(n.tblStylAttrObj=R);var T=Ie(n,["a:wholeTbl","a:tcStyle"]),w=Ie(T,["a:tcBdr"]);if(w){var L=function(F,j){var ie={};if(F["a:bottom"]){var q=nh({"p:spPr":{"a:ln":F["a:bottom"]["a:ln"]}},void 0,j);ie.bottom=q}if(F["a:top"]){var te=nh({"p:spPr":{"a:ln":F["a:top"]["a:ln"]}},void 0,j);ie.top=te}if(F["a:right"]){var re=nh({"p:spPr":{"a:ln":F["a:right"]["a:ln"]}},void 0,j);ie.right=re}if(F["a:left"]){var he=nh({"p:spPr":{"a:ln":F["a:left"]["a:ln"]}},void 0,j);ie.left=he}return ie}(w,t);L&&(r=L.bottom||L.left||L.right||L.top)}var k="",E=Ie(n,["a:tblBg","a:fillRef"]);E&&(k=$n(E,void 0,void 0,t)),E===void 0&&(k=$n(E=Ie(n,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),void 0,void 0,t));var P=o["a:tr"];P.constructor!==Array&&(P=[P]);for(var W=[],N=0;N<P.length;N++){var _=P[N],C=Yne(P,N,R,n,t),X=C.fillColor,Y=C.fontColor,$=C.fontBold,le=_["a:tc"],Q=[];if(le.constructor===Array)for(var K=0;K<le.length;K++){var B=le[K],D=void 0;if(K===0&&R.isFrstColAttr===1)D="a:firstCol",R.isLstRowAttr===1&&N===P.length-1&&Ie(n,["a:seCell"])?D="a:seCell":R.isFrstRowAttr===1&&N===0&&Ie(n,["a:neCell"])&&(D="a:neCell");else if(K>0&&R.isBandColAttr===1&&(R.isFrstColAttr!==1||N!==0)&&(R.isLstRowAttr!==1||N!==P.length-1)&&K!==le.length-1&&K%2!=0){var G=Ie(n,["a:band2V"]);G===void 0?(G=Ie(n,["a:band1V"]))&&(D="a:band2V"):D="a:band2V"}K===le.length-1&&R.isLstColAttr===1&&(D="a:lastCol",R.isLstRowAttr===1&&N===P.length-1&&Ie(n,["a:swCell"])?D="a:swCell":R.isFrstRowAttr===1&&N===0&&Ie(n,["a:nwCell"])&&(D="a:nwCell"));var ae=Q3(B["a:txBody"],B,void 0,void 0,t),se=wO(B,n,D,t),J={text:ae};se.rowSpan&&(J.rowSpan=se.rowSpan),se.colSpan&&(J.colSpan=se.colSpan),se.vMerge&&(J.vMerge=se.vMerge),se.hMerge&&(J.hMerge=se.hMerge),(se.fontBold||$)&&(J.fontBold=se.fontBold||$),(se.fontColor||Y)&&(J.fontColor=se.fontColor||Y),(se.fillColor||X||k)&&(J.fillColor=se.fillColor||X||k),Q.push(J)}else{var Re=void 0;if(R.isFrstColAttr===1&&R.isLstRowAttr!==1)Re="a:firstCol";else if(R.isBandColAttr===1&&R.isLstRowAttr!==1){var fe=Ie(n,["a:band2V"]);(fe||(fe=Ie(n,["a:band1V"])))&&(Re="a:band2V")}R.isLstColAttr===1&&R.isLstRowAttr!==1&&(Re="a:lastCol");var me=Q3(le["a:txBody"],le,void 0,void 0,t),ue=wO(le,n,Re,t),z={text:me};ue.rowSpan&&(z.rowSpan=ue.rowSpan),ue.colSpan&&(z.colSpan=ue.colSpan),ue.vMerge&&(z.vMerge=ue.vMerge),ue.hMerge&&(z.hMerge=ue.hMerge),(ue.fontBold||$)&&(z.fontBold=ue.fontBold||$),(ue.fontColor||Y)&&(z.fontColor=ue.fontColor||Y),(ue.fillColor||X||k)&&(z.fillColor=ue.fillColor||X||k),Q.push(z)}W.push(Q)}return cu({type:"table",top:s,left:l,width:u,height:f,data:W},r||{})}function $ne(e,t){return G3.apply(this,arguments)}function G3(){return G3=ui(Xn.mark(function e(t,n){var r,o,i,a,s,l,c,u,f,d,h,p,v;return Xn.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return r=Ie(t,["p:xfrm"]),o=Qp(r,void 0,void 0),i=o.top,a=o.left,s=Zp(r,void 0,void 0),l=s.width,c=s.height,u=t["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],f=n.slideResObj[u].target,m.next=7,Io(n.zip,f);case 7:if(d=m.sent,h=Ie(d,["c:chartSpace","c:chart","c:plotArea"]),p=Xne(h)){m.next=12;break}return m.abrupt("return",{});case 12:return v={type:"chart",top:i,left:a,width:l,height:c,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),m.abrupt("return",v);case 19:case"end":return m.stop()}},e)})),G3.apply(this,arguments)}function jne(e,t){var n=Ie(e,["p:xfrm"]),r=Qp(n,void 0,void 0),o=r.left,i=r.top,a=Zp(n,void 0,void 0),s=a.width,l=a.height,c=Ie(t.digramFileContent,["p:drawing","p:spTree","p:sp"]),u=[];if(c){var f,d=$i(c);try{for(d.s();!(f=d.n()).done;){var h=vI(f.value,t,"diagramBg");h&&u.push(h)}}catch(p){d.e(p)}finally{d.f()}}return{type:"diagram",left:o,top:i,width:s,height:l,elements:u}}const Tr=" ";function qne(e){let t="";Array.isArray(e)||(e=[e]);for(let n=0;n<e.length;n++){const r=e[n];if(r.type===at.CLOSE_PATH)t+="z";else if(r.type===at.HORIZ_LINE_TO)t+=(r.relative?"h":"H")+r.x;else if(r.type===at.VERT_LINE_TO)t+=(r.relative?"v":"V")+r.y;else if(r.type===at.MOVE_TO)t+=(r.relative?"m":"M")+r.x+Tr+r.y;else if(r.type===at.LINE_TO)t+=(r.relative?"l":"L")+r.x+Tr+r.y;else if(r.type===at.CURVE_TO)t+=(r.relative?"c":"C")+r.x1+Tr+r.y1+Tr+r.x2+Tr+r.y2+Tr+r.x+Tr+r.y;else if(r.type===at.SMOOTH_CURVE_TO)t+=(r.relative?"s":"S")+r.x2+Tr+r.y2+Tr+r.x+Tr+r.y;else if(r.type===at.QUAD_TO)t+=(r.relative?"q":"Q")+r.x1+Tr+r.y1+Tr+r.x+Tr+r.y;else if(r.type===at.SMOOTH_QUAD_TO)t+=(r.relative?"t":"T")+r.x+Tr+r.y;else if(r.type===at.ARC)t+=(r.relative?"a":"A")+r.rX+Tr+r.rY+Tr+r.xRot+Tr+ +r.lArcFlag+Tr+ +r.sweepFlag+Tr+r.x+Tr+r.y;else throw new Error(`Unexpected command type "${r==null?void 0:r.type}" at index ${n}.`)}return t}function z3([e,t],n){return[e*Math.cos(n)-t*Math.sin(n),e*Math.sin(n)+t*Math.cos(n)]}function Xa(...e){for(let t=0;t<e.length;t++)if(typeof e[t]!="number")throw new Error(`assertNumbers arguments[${t}] is not a number. ${typeof e[t]} == typeof ${e[t]}`);return!0}const Kl=Math.PI;function n5(e,t,n){e.lArcFlag=e.lArcFlag===0?0:1,e.sweepFlag=e.sweepFlag===0?0:1;let{rX:r,rY:o}=e;const{x:i,y:a}=e;r=Math.abs(e.rX),o=Math.abs(e.rY);const[s,l]=z3([(t-i)/2,(n-a)/2],-e.xRot/180*Kl),c=Math.pow(s,2)/Math.pow(r,2)+Math.pow(l,2)/Math.pow(o,2);1<c&&(r*=Math.sqrt(c),o*=Math.sqrt(c)),e.rX=r,e.rY=o;const u=Math.pow(r,2)*Math.pow(l,2)+Math.pow(o,2)*Math.pow(s,2),f=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(o,2)-u)/u)),d=r*l/o*f,h=-o*s/r*f,p=z3([d,h],e.xRot/180*Kl);e.cX=p[0]+(t+i)/2,e.cY=p[1]+(n+a)/2,e.phi1=Math.atan2((l-h)/o,(s-d)/r),e.phi2=Math.atan2((-l-h)/o,(-s-d)/r),e.sweepFlag===0&&e.phi2>e.phi1&&(e.phi2-=2*Kl),e.sweepFlag===1&&e.phi2<e.phi1&&(e.phi2+=2*Kl),e.phi1*=180/Kl,e.phi2*=180/Kl}function kO(e,t,n){Xa(e,t,n);const r=e*e+t*t-n*n;if(0>r)return[];if(r===0)return[[e*n/(e*e+t*t),t*n/(e*e+t*t)]];const o=Math.sqrt(r);return[[(e*n+t*o)/(e*e+t*t),(t*n-e*o)/(e*e+t*t)],[(e*n-t*o)/(e*e+t*t),(t*n+e*o)/(e*e+t*t)]]}const Ys=Math.PI/180;function NO(e,t,n){return(1-n)*e+n*t}function PO(e,t,n,r){return e+Math.cos(r/180*Kl)*t+Math.sin(r/180*Kl)*n}function CO(e,t,n,r){const i=t-e,a=n-t,s=r-n,l=3*i+3*s-6*a,c=(a-i)*6,u=3*i;return Math.abs(l)<1e-6?[-u/c]:ere(c/l,u/l,1e-6)}function IO(e,t,n,r,o){const i=1-o,a=i*i*i,s=3*i*i*o,l=3*i*o*o,c=o*o*o;return e*a+t*s+n*l+r*c}function ere(e,t,n=1e-6){const r=e*e/4-t;if(r<-n)return[];if(r<=n)return[-e/2];const o=Math.sqrt(r);return[-(e/2)-o,-(e/2)+o]}function tre(e,t,n){e.cX||n5(e,t,n);const r=Math.min(e.phi1,e.phi2),o=Math.max(e.phi1,e.phi2),i=o-r,a=Math.ceil(i/90),s=new Array(a);let l=t,c=n;for(let u=0;u<a;u++){const f=NO(e.phi1,e.phi2,u/a),d=NO(e.phi1,e.phi2,(u+1)/a),h=d-f,p=4/3*Math.tan(h*Ys/4),[v,m]=[Math.cos(f*Ys)-p*Math.sin(f*Ys),Math.sin(f*Ys)+p*Math.cos(f*Ys)],[x,y]=[Math.cos(d*Ys),Math.sin(d*Ys)],[R,A]=[x+p*Math.sin(d*Ys),y-p*Math.cos(d*Ys)],b={relative:e.relative,type:at.CURVE_TO},M=(T,w)=>{const[L,k]=z3([T*e.rX,w*e.rY],e.xRot);return[e.cX+L,e.cY+k]};[b.x1,b.y1]=M(v,m),[b.x2,b.y2]=M(R,A),[b.x,b.y]=M(x,y),e.relative&&(b.x1-=l,b.y1-=c,b.x2-=l,b.y2-=c,b.x-=l,b.y-=c),[l,c]=[b.x,b.y],s[u]=b}return s}function nre(e=1e13){Xa(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 mI(){return Wa((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 rre(){return Wa((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 ore(e=!0,t=!0,n=!0){return Wa((r,o,i,a,s)=>{if(isNaN(a)&&!(r.type&at.MOVE_TO))throw new Error("path must start with moveto");return t&&r.type&at.HORIZ_LINE_TO&&(r.type=at.LINE_TO,r.y=r.relative?0:i),n&&r.type&at.VERT_LINE_TO&&(r.type=at.LINE_TO,r.x=r.relative?0:o),e&&r.type&at.CLOSE_PATH&&(r.type=at.LINE_TO,r.x=r.relative?a-o:a,r.y=r.relative?s-i:s),r.type&at.ARC&&(r.rX===0||r.rY===0)&&(r.type=at.LINE_TO,delete r.rX,delete r.rY,delete r.xRot,delete r.lArcFlag,delete r.sweepFlag),r})}function AI(){let e=NaN,t=NaN,n=NaN,r=NaN;return Wa((o,i,a)=>(o.type&at.SMOOTH_CURVE_TO&&(o.type=at.CURVE_TO,e=isNaN(e)?i:e,t=isNaN(t)?a:t,o.x1=o.relative?i-e:2*i-e,o.y1=o.relative?a-t:2*a-t),o.type&at.CURVE_TO?(e=o.relative?i+o.x2:o.x2,t=o.relative?a+o.y2:o.y2):(e=NaN,t=NaN),o.type&at.SMOOTH_QUAD_TO&&(o.type=at.QUAD_TO,n=isNaN(n)?i:n,r=isNaN(r)?a:r,o.x1=o.relative?i-n:2*i-n,o.y1=o.relative?a-r:2*a-r),o.type&at.QUAD_TO?(n=o.relative?i+o.x1:o.x1,r=o.relative?a+o.y1:o.y1):(n=NaN,r=NaN),o))}function RI(){let e=NaN,t=NaN;return Wa((n,r,o)=>{if(n.type&at.SMOOTH_QUAD_TO&&(n.type=at.QUAD_TO,e=isNaN(e)?r:e,t=isNaN(t)?o:t,n.x1=n.relative?r-e:2*r-e,n.y1=n.relative?o-t:2*o-t),n.type&at.QUAD_TO){e=n.relative?r+n.x1:n.x1,t=n.relative?o+n.y1:n.y1;const i=n.x1,a=n.y1;n.type=at.CURVE_TO,n.x1=((n.relative?0:r)+i*2)/3,n.y1=((n.relative?0:o)+a*2)/3,n.x2=(n.x+i*2)/3,n.y2=(n.y+a*2)/3}else e=NaN,t=NaN;return n})}function Wa(e){let t=0,n=0,r=NaN,o=NaN;return function(a){if(isNaN(r)&&!(a.type&at.MOVE_TO))throw new Error("path must start with moveto");const s=e(a,t,n,r,o);return a.type&at.CLOSE_PATH&&(t=r,n=o),"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&at.MOVE_TO&&(r=t,o=n),s}}function ire(e=0){Xa(e);let t=NaN,n=NaN,r=NaN,o=NaN;return Wa((i,a,s,l,c)=>{const u=Math.abs;let f=!1,d=0,h=0;if(i.type&at.SMOOTH_CURVE_TO&&(d=isNaN(t)?0:a-t,h=isNaN(n)?0:s-n),i.type&(at.CURVE_TO|at.SMOOTH_CURVE_TO)?(t=i.relative?a+i.x2:i.x2,n=i.relative?s+i.y2:i.y2):(t=NaN,n=NaN),i.type&at.SMOOTH_QUAD_TO?(r=isNaN(r)?a:2*a-r,o=isNaN(o)?s:2*s-o):i.type&at.QUAD_TO?(r=i.relative?a+i.x1:i.x1,o=i.relative?s+i.y1:i.y2):(r=NaN,o=NaN),i.type&at.LINE_COMMANDS||i.type&at.ARC&&(i.rX===0||i.rY===0||!i.lArcFlag)||i.type&at.CURVE_TO||i.type&at.SMOOTH_CURVE_TO||i.type&at.QUAD_TO||i.type&at.SMOOTH_QUAD_TO){const p=typeof i.x>"u"?0:i.relative?i.x:i.x-a,v=typeof i.y>"u"?0:i.relative?i.y:i.y-s;d=isNaN(r)?typeof i.x1>"u"?d:i.relative?i.x:i.x1-a:r-a,h=isNaN(o)?typeof i.y1>"u"?h:i.relative?i.y:i.y1-s:o-s;const m=typeof i.x2>"u"?0:i.relative?i.x:i.x2-a,x=typeof i.y2>"u"?0:i.relative?i.y:i.y2-s;u(p)<=e&&u(v)<=e&&u(d)<=e&&u(h)<=e&&u(m)<=e&&u(x)<=e&&(f=!0)}return i.type&at.CLOSE_PATH&&u(a-l)<=e&&u(s-c)<=e&&(f=!0),f?[]:i})}function kc(e,t,n,r,o,i){return Xa(e,t,n,r,o,i),Wa((a,s,l,c)=>{const u=a.x1,f=a.x2,d=a.relative&&!isNaN(c),h=typeof a.x<"u"?a.x:d?0:s,p=typeof a.y<"u"?a.y:d?0:l;a.type&at.HORIZ_LINE_TO&&t!==0&&(a.type=at.LINE_TO,a.y=a.relative?0:l),a.type&at.VERT_LINE_TO&&n!==0&&(a.type=at.LINE_TO,a.x=a.relative?0:s),typeof a.x<"u"&&(a.x=a.x*e+p*n+(d?0:o)),typeof a.y<"u"&&(a.y=h*t+a.y*r+(d?0:i)),typeof a.x1<"u"&&(a.x1=a.x1*e+a.y1*n+(d?0:o)),typeof a.y1<"u"&&(a.y1=u*t+a.y1*r+(d?0:i)),typeof a.x2<"u"&&(a.x2=a.x2*e+a.y2*n+(d?0:o)),typeof a.y2<"u"&&(a.y2=f*t+a.y2*r+(d?0:i));function v(x){return x*x}const m=e*r-t*n;if(typeof a.xRot<"u"&&(e!==1||t!==0||n!==0||r!==1))if(m===0)delete a.rX,delete a.rY,delete a.xRot,delete a.lArcFlag,delete a.sweepFlag,a.type=at.LINE_TO;else{const x=a.xRot*Math.PI/180,y=Math.sin(x),R=Math.cos(x),A=1/v(a.rX),b=1/v(a.rY),M=v(R)*A+v(y)*b,T=2*y*R*(A-b),w=v(y)*A+v(R)*b,L=M*r*r-T*t*r+w*t*t,k=T*(e*r+t*n)-2*(M*n*r+w*e*t),E=M*n*n-T*e*n+w*e*e,P=(Math.atan2(k,L-E)+Math.PI)%Math.PI/2,W=Math.sin(P),N=Math.cos(P);a.rX=Math.abs(m)/Math.sqrt(L*v(N)+k*W*N+E*v(W)),a.rY=Math.abs(m)/Math.sqrt(L*v(W)-k*W*N+E*v(N)),a.xRot=P*180/Math.PI}return typeof a.sweepFlag<"u"&&0>m&&(a.sweepFlag=+!a.sweepFlag),a})}function are(e,t=0,n=0){Xa(e,t,n);const r=Math.sin(e),o=Math.cos(e);return kc(o,r,-r,o,t-t*o+n*r,n-t*r-n*o)}function sre(e,t=0){return Xa(e,t),kc(1,0,0,1,e,t)}function lre(e,t=e){return Xa(e,t),kc(e,0,0,t,0,0)}function cre(e){return Xa(e),kc(1,0,Math.atan(e),1,0,0)}function ure(e){return Xa(e),kc(1,Math.atan(e),0,1,0,0)}function fre(e=0){return Xa(e),kc(-1,0,0,1,e,0)}function dre(e=0){return Xa(e),kc(1,0,0,-1,0,e)}function hre(){return Wa((e,t,n)=>at.ARC===e.type?tre(e,e.relative?0:t,e.relative?0:n):e)}function pre(){return Wa((e,t,n)=>(e.relative&&(t=0,n=0),at.ARC===e.type&&n5(e,t,n),e))}function yI(){return e=>({...e})}function vre(){const e=yI(),t=mI(),n=RI(),r=AI(),o=Wa((i,a,s)=>{const l=r(n(t(e(i))));function c(f){f>o.maxX&&(o.maxX=f),f<o.minX&&(o.minX=f)}function u(f){f>o.maxY&&(o.maxY=f),f<o.minY&&(o.minY=f)}if(l.type&at.DRAWING_COMMANDS&&(c(a),u(s)),l.type&at.HORIZ_LINE_TO&&c(l.x),l.type&at.VERT_LINE_TO&&u(l.y),l.type&at.LINE_TO&&(c(l.x),u(l.y)),l.type&at.CURVE_TO){c(l.x),u(l.y);const f=CO(a,l.x1,l.x2,l.x);for(const h of f)0<h&&1>h&&c(IO(a,l.x1,l.x2,l.x,h));const d=CO(s,l.y1,l.y2,l.y);for(const h of d)0<h&&1>h&&u(IO(s,l.y1,l.y2,l.y,h))}if(l.type&at.ARC){c(l.x),u(l.y),n5(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,[m,x]=l.phi1<l.phi2?[l.phi1,l.phi2]:-180>l.phi2?[l.phi2+360,l.phi1+360]:[l.phi2,l.phi1],y=([b,M])=>{const w=Math.atan2(M,b)*180/Math.PI;return w<m?w+360:w},R=kO(p,-d,0).map(y);for(const b of R)b>m&&b<x&&c(PO(l.cX,d,p,b));const A=kO(v,-h,0).map(y);for(const b of A)b>m&&b<x&&u(PO(l.cY,h,v,b))}return i});return o.minX=1/0,o.maxX=-1/0,o.minY=1/0,o.maxY=-1/0,o}const Zr={ROUND:nre,TO_ABS:mI,TO_REL:rre,NORMALIZE_HVZ:ore,NORMALIZE_ST:AI,QT_TO_C:RI,INFO:Wa,SANITIZE:ire,MATRIX:kc,ROTATE:are,TRANSLATE:sre,SCALE:lre,SKEW_X:cre,SKEW_Y:ure,X_AXIS_SYMMETRY:fre,Y_AXIS_SYMMETRY:dre,A_TO_C:hre,ANNOTATE_ARCS:pre,CLONE:yI,CALCULATE_BOUNDS:vre};class bI{round(t){return this.transform(Zr.ROUND(t))}toAbs(){return this.transform(Zr.TO_ABS())}toRel(){return this.transform(Zr.TO_REL())}normalizeHVZ(t,n,r){return this.transform(Zr.NORMALIZE_HVZ(t,n,r))}normalizeST(){return this.transform(Zr.NORMALIZE_ST())}qtToC(){return this.transform(Zr.QT_TO_C())}aToC(){return this.transform(Zr.A_TO_C())}sanitize(t){return this.transform(Zr.SANITIZE(t))}translate(t,n){return this.transform(Zr.TRANSLATE(t,n))}scale(t,n){return this.transform(Zr.SCALE(t,n))}rotate(t,n,r){return this.transform(Zr.ROTATE(t,n,r))}matrix(t,n,r,o,i,a){return this.transform(Zr.MATRIX(t,n,r,o,i,a))}skewX(t){return this.transform(Zr.SKEW_X(t))}skewY(t){return this.transform(Zr.SKEW_Y(t))}xSymmetry(t){return this.transform(Zr.X_AXIS_SYMMETRY(t))}ySymmetry(t){return this.transform(Zr.Y_AXIS_SYMMETRY(t))}annotateArcs(){return this.transform(Zr.ANNOTATE_ARCS())}}const gre=e=>e===" "||e===" "||e==="\r"||e===`
|
||
`,FO=e=>48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57;class mre extends bI{constructor(){super();er(this,"curNumber","");er(this,"curCommandType",-1);er(this,"curCommandRelative",!1);er(this,"canParseCommandOrComma",!0);er(this,"curNumberHasExp",!1);er(this,"curNumberHasExpDigits",!1);er(this,"curNumberHasDecimal",!1);er(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 o=i=>{r.push(i),this.curArgs.length=0,this.canParseCommandOrComma=!0};for(let i=0;i<n.length;i++){const a=n[i],s=this.curCommandType===at.ARC&&(this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber.length===1&&(this.curNumber==="0"||this.curNumber==="1"),l=FO(a)&&(this.curNumber==="0"&&a==="0"||s);if(FO(a)&&!l){this.curNumber+=a,this.curNumberHasExpDigits=this.curNumberHasExp;continue}if(a==="e"||a==="E"){this.curNumber+=a,this.curNumberHasExp=!0;continue}if((a==="-"||a==="+")&&this.curNumberHasExp&&!this.curNumberHasExpDigits){this.curNumber+=a;continue}if(a==="."&&!this.curNumberHasExp&&!this.curNumberHasDecimal&&!s){this.curNumber+=a,this.curNumberHasDecimal=!0;continue}if(this.curNumber&&this.curCommandType!==-1){const c=Number(this.curNumber);if(isNaN(c))throw new SyntaxError(`Invalid number ending at ${i}`);if(this.curCommandType===at.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>c)throw new SyntaxError(`Expected positive number, got "${c}" at index "${i}"`)}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 "${i}"`)}this.curArgs.push(c),this.curArgs.length===Are[this.curCommandType]&&(at.HORIZ_LINE_TO===this.curCommandType?o({type:at.HORIZ_LINE_TO,relative:this.curCommandRelative,x:c}):at.VERT_LINE_TO===this.curCommandType?o({type:at.VERT_LINE_TO,relative:this.curCommandRelative,y:c}):this.curCommandType===at.MOVE_TO||this.curCommandType===at.LINE_TO||this.curCommandType===at.SMOOTH_QUAD_TO?(o({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),at.MOVE_TO===this.curCommandType&&(this.curCommandType=at.LINE_TO)):this.curCommandType===at.CURVE_TO?o({type:at.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===at.SMOOTH_CURVE_TO?o({type:at.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===at.QUAD_TO?o({type:at.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===at.ARC&&o({type:at.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(!gre(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 ${i}.`);if(!this.canParseCommandOrComma)throw new SyntaxError(`Unexpected character "${a}" at index ${i}. Command cannot follow comma`);if(this.canParseCommandOrComma=!1,a==="z"||a==="Z"){r.push({type:at.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1;continue}else if(a==="h"||a==="H")this.curCommandType=at.HORIZ_LINE_TO,this.curCommandRelative=a==="h";else if(a==="v"||a==="V")this.curCommandType=at.VERT_LINE_TO,this.curCommandRelative=a==="v";else if(a==="m"||a==="M")this.curCommandType=at.MOVE_TO,this.curCommandRelative=a==="m";else if(a==="l"||a==="L")this.curCommandType=at.LINE_TO,this.curCommandRelative=a==="l";else if(a==="c"||a==="C")this.curCommandType=at.CURVE_TO,this.curCommandRelative=a==="c";else if(a==="s"||a==="S")this.curCommandType=at.SMOOTH_CURVE_TO,this.curCommandRelative=a==="s";else if(a==="q"||a==="Q")this.curCommandType=at.QUAD_TO,this.curCommandRelative=a==="q";else if(a==="t"||a==="T")this.curCommandType=at.SMOOTH_QUAD_TO,this.curCommandRelative=a==="t";else if(a==="a"||a==="A")this.curCommandType=at.ARC,this.curCommandRelative=a==="a";else throw new SyntaxError(`Unexpected character "${a}" at index ${i}.`)}}return r}transform(n){return Object.create(this,{parse:{value(o,i=[]){const a=Object.getPrototypeOf(this).parse.call(this,o);for(const s of a){const l=n(s);Array.isArray(l)?i.push(...l):i.push(l)}return i}}})}}const Qn=class Qn extends bI{constructor(n){super();er(this,"commands");typeof n=="string"?this.commands=Qn.parse(n):this.commands=n}encode(){return Qn.encode(this.commands)}getBounds(){const n=Zr.CALCULATE_BOUNDS();return this.transform(n),n}transform(n){const r=[];for(const o of this.commands){const i=n(o);Array.isArray(i)?r.push(...i):r.push(i)}return this.commands=r,this}static encode(n){return qne(n)}static parse(n){const r=new mre,o=[];return r.parse(n,o),r.finish(o),o}};er(Qn,"CLOSE_PATH",1),er(Qn,"MOVE_TO",2),er(Qn,"HORIZ_LINE_TO",4),er(Qn,"VERT_LINE_TO",8),er(Qn,"LINE_TO",16),er(Qn,"CURVE_TO",32),er(Qn,"SMOOTH_CURVE_TO",64),er(Qn,"QUAD_TO",128),er(Qn,"SMOOTH_QUAD_TO",256),er(Qn,"ARC",512),er(Qn,"LINE_COMMANDS",Qn.LINE_TO|Qn.HORIZ_LINE_TO|Qn.VERT_LINE_TO),er(Qn,"DRAWING_COMMANDS",Qn.HORIZ_LINE_TO|Qn.VERT_LINE_TO|Qn.LINE_TO|Qn.CURVE_TO|Qn.SMOOTH_CURVE_TO|Qn.QUAD_TO|Qn.SMOOTH_QUAD_TO|Qn.ARC);let at=Qn;const Are={[at.MOVE_TO]:2,[at.LINE_TO]:2,[at.HORIZ_LINE_TO]:1,[at.VERT_LINE_TO]:1,[at.CLOSE_PATH]:0,[at.QUAD_TO]:4,[at.SMOOTH_QUAD_TO]:2,[at.CURVE_TO]:6,[at.SMOOTH_CURVE_TO]:4,[at.ARC]:7};var Rre=function(){function e(t,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s=t[Symbol.iterator](),l;!(o=(l=s.next()).done)&&(r.push(l.value),!(n&&r.length===n));o=!0);}catch(c){i=!0,a=c}finally{try{!o&&s.return&&s.return()}finally{if(i)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")}}(),Nh=Math.PI*2,Vy=function(t,n,r,o,i,a,s){var l=t.x,c=t.y;l*=n,c*=r;var u=o*l-i*c,f=i*l+o*c;return{x:u+a,y:f+s}},yre=function(t,n){var r=n===1.5707963267948966?.551915024494:n===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(n/4),o=Math.cos(t),i=Math.sin(t),a=Math.cos(t+n),s=Math.sin(t+n);return[{x:o-i*r,y:i+o*r},{x:a+s*r,y:s-a*r},{x:a,y:s}]},_O=function(t,n,r,o){var i=t*o-n*r<0?-1:1,a=t*r+n*o;return a>1&&(a=1),a<-1&&(a=-1),i*Math.acos(a)},bre=function(t,n,r,o,i,a,s,l,c,u,f,d){var h=Math.pow(i,2),p=Math.pow(a,2),v=Math.pow(f,2),m=Math.pow(d,2),x=h*p-h*m-p*v;x<0&&(x=0),x/=h*m+p*v,x=Math.sqrt(x)*(s===l?-1:1);var y=x*i/a*d,R=x*-a/i*f,A=u*y-c*R+(t+r)/2,b=c*y+u*R+(n+o)/2,M=(f-y)/i,T=(d-R)/a,w=(-f-y)/i,L=(-d-R)/a,k=_O(1,0,M,T),E=_O(M,T,w,L);return l===0&&E>0&&(E-=Nh),l===1&&E<0&&(E+=Nh),[A,b,k,E]},xre=function(t){var n=t.px,r=t.py,o=t.cx,i=t.cy,a=t.rx,s=t.ry,l=t.xAxisRotation,c=l===void 0?0:l,u=t.largeArcFlag,f=u===void 0?0:u,d=t.sweepFlag,h=d===void 0?0:d,p=[];if(a===0||s===0)return[];var v=Math.sin(c*Nh/360),m=Math.cos(c*Nh/360),x=m*(n-o)/2+v*(r-i)/2,y=-v*(n-o)/2+m*(r-i)/2;if(x===0&&y===0)return[];a=Math.abs(a),s=Math.abs(s);var R=Math.pow(x,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=bre(n,r,o,i,a,s,f,h,v,m,x,y),b=Rre(A,4),M=b[0],T=b[1],w=b[2],L=b[3],k=Math.abs(L)/(Nh/4);Math.abs(1-k)<1e-7&&(k=1);var E=Math.max(Math.ceil(k),1);L/=E;for(var P=0;P<E;P++)p.push(yre(w,L)),w+=L;return p.map(function(W){var N=Vy(W[0],a,s,m,v,M,T),_=N.x,C=N.y,X=Vy(W[1],a,s,m,v,M,T),Y=X.x,$=X.y,le=Vy(W[2],a,s,m,v,M,T),Q=le.x,K=le.y;return{x1:_,y1:C,x2:Y,y2:$,x:Q,y:K}})};const Sre={1:"Z",2:"M",4:"H",8:"V",16:"L",32:"C",64:"S",128:"Q",256:"T",512:"A"},EO=e=>{const t=new at(e),n=[];for(const r of t.commands){const o=Sre[r.type];if((r.type===2||r.type===16)&&n.push({x:r.x,y:r.y,relative:r.relative,type:o}),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:o});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:o});else if(r.type===512){const i=n[n.length-1];if(!["M","L","Q","C"].includes(i.type))continue;const a=xre({px:i.x,py:i.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:o});else continue}return n},Mre=e=>{try{const t=new at(e),n=[],r=[];for(const o of t.commands){const i="x"in o?o.x:0,a="y"in o?o.y:0;n.push(i),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}}},XO=(e,t)=>e.replace(/font-size:\s*([\d.]+)pt/g,(n,r)=>`font-size: ${(parseFloat(r)*t).toFixed(1)}px`),wre=()=>{const e=st(),{theme:t}=Xe(st()),{addSlidesFromData:n}=t2(),{isEmptySlide:r}=Oc(),o=ve(!1),i=(l,c=!1)=>{const u=l[0],f=new FileReader;f.addEventListener("load",()=>{try{const d=JSON.parse(v9(f.result));c?(e.updateSlideIndex(0),e.setSlides(d)):r.value?e.setSlides(d):n(d)}catch{gn.error("无法正确读取 / 解析该文件")}}),f.readAsText(u)},a=l=>{let c=[0,0],u=[0,0];return!l.isFlipV&&!l.isFlipH?(c=[0,0],u=[l.width,l.height]):l.isFlipV&&l.isFlipH?(c=[l.width,l.height],u=[0,0]):l.isFlipV&&!l.isFlipH?(c=[0,l.height],u=[l.width,0]):(c=[l.width,0],u=[0,l.height]),{type:"line",id:ln(10),width:l.borderWidth||1,left:l.left,top:l.top,start:c,end:u,style:l.borderType==="solid"?"solid":"dashed",color:l.borderColor,points:["",l.shapType==="straightConnector1"?"arrow":""]}};return{importSpecificFile:i,importPPTXFile:l=>{const c=l[0];if(!c)return;o.value=!0;const u=[];for(const d of Xx)u.push(...d.children);const f=new FileReader;f.onload=async d=>{const h=await Qne(d.target.result),p=96/72,v=h.size.width;e.setViewportSize(v*p);const m=[];for(const x of h.slides){const{type:y,value:R}=x.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(T=>({...T,pos:parseInt(T.pos)})),rotate:R.rot}}:A={type:"solid",color:R};const b={id:ln(10),elements:[],background:A},M=T=>{for(const w of T){const L=w.width||1,k=w.height||1,E=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 W={type:"text",id:ln(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:XO(w.content,p),lineHeight:1,outline:{color:w.borderColor,width:w.borderWidth,style:w.borderType==="solid"?"solid":"dashed"},fill:w.fillColor,vertical:w.isVertical};w.shadow&&(W.shadow={h:w.shadow.h*p,v:w.shadow.v*p,blur:w.shadow.blur*p,color:w.shadow.color}),b.elements.push(W)}else if(w.type==="image")b.elements.push({type:"image",id:ln(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")b.elements.push({type:"audio",id:ln(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")b.elements.push({type:"video",id:ln(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 W=a(w);b.elements.push(W)}else{const W=u.find(C=>C.pptxShapeType===w.shapType),N={mid:"middle",down:"bottom",up:"top"},_={type:"shape",id:ln(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==="solid"?"solid":"dashed"},text:{content:XO(w.content,p),defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,align:N[w.vAlign]||"middle"},flipH:w.isFlipH,flipV:w.isFlipV};if(w.shadow&&(_.shadow={h:w.shadow.h*p,v:w.shadow.v*p,blur:w.shadow.blur*p,color:w.shadow.color}),W&&(_.path=W.path,_.viewBox=W.viewBox,W.pathFormula)){_.pathFormula=W.pathFormula,_.viewBox=[w.width,w.height];const C=zu[W.pathFormula];"editable"in C&&C.editable?(_.path=C.formula(w.width,w.height,C.defaultValue),_.keypoints=C.defaultValue):_.path=C.formula(w.width,w.height)}if(w.shapType==="custom")if(w.path.indexOf("NaN")!==-1)_.path="";else{_.special=!0,_.path=w.path;const{maxX:C,maxY:X}=Mre(_.path);_.viewBox=[C||L,X||k]}_.path&&b.elements.push(_)}else if(w.type==="table"){const W=w.data.length,N=w.data[0].length,_={fontname:t.value.fontName,color:t.value.fontColor},C=[];for(let Y=0;Y<W;Y++){const $=[];for(let le=0;le<N;le++){const Q=w.data[Y][le];let K=document.createElement("div");K.innerHTML=Q.text;const B=K.querySelector("p"),D=(B==null?void 0:B.style.textAlign)||"left",G=K.querySelector("span"),ae=G!=null&&G.style.fontSize?(parseInt(G==null?void 0:G.style.fontSize)*p).toFixed(1)+"px":"",se=(G==null?void 0:G.style.fontFamily)||"",J=(G==null?void 0:G.style.color)||Q.fontColor;$.push({id:ln(10),colspan:Q.colSpan||1,rowspan:Q.rowSpan||1,text:K.innerText,style:{..._,align:["left","right","center"].includes(D)?D:"left",fontsize:ae,fontname:se,color:J,bold:Q.fontBold,backcolor:Q.fillColor}}),K=null}C.push($)}const X=new Array(N).fill(1/N);b.elements.push({type:"table",id:ln(10),width:w.width,height:w.height,left:w.left,top:w.top,colWidths:X,rotate:0,data:C,outline:{width:w.borderWidth||2,style:w.borderType==="solid"?"solid":"dashed",color:w.borderColor||"#eeece1"},cellMinHeight:36})}else if(w.type==="chart"){let W,N,_;if(w.chartType==="scatterChart"||w.chartType==="bubbleChart"){const Y=w.data;W=Y[0].map($=>$+""),N=["系列1"],_=[Y[1]]}else{const Y=w.data;W=Object.values(Y[0].xlabels),N=Y.map($=>$.key),_=Y.map($=>$.values.map(le=>le.y))}const C={};let X="bar";switch(w.chartType){case"barChart":case"bar3DChart":X="bar",w.barDir==="bar"&&(C.horizontalBars=!0),(w.grouping==="stacked"||w.grouping==="percentStacked")&&(C.stackBars=!0);break;case"lineChart":case"line3DChart":case"areaChart":case"area3DChart":case"scatterChart":case"bubbleChart":X="line",(w.chartType==="areaChart"||w.chartType==="area3DChart")&&(C.showArea=!0),(w.chartType==="scatterChart"||w.chartType==="bubbleChart")&&(C.showLine=!1);break;case"pieChart":case"pie3DChart":case"doughnutChart":X="pie",w.chartType==="doughnutChart"&&(C.donut=!0);break}b.elements.push({type:"chart",id:ln(10),chartType:X,width:w.width,height:w.height,left:w.left,top:w.top,rotate:0,themeColor:[t.value.themeColor],gridColor:t.value.fontColor,data:{labels:W,legends:N,series:_},options:C})}else if(w.type==="group"||w.type==="diagram"){const W=w.elements.map(N=>({...N,left:N.left+E,top:N.top+P}));M(W)}}};M(x.elements),m.push(b)}e.updateSlideIndex(0),e.setSlides(m),o.value=!1},f.readAsArrayBuffer(c)},exporting:o}},Lre={class:"hotkey-doc"},Ore={class:"title"},Tre={class:"label"},kre={class:"value"},Nre=Ee({__name:"HotkeyDoc",setup(e){return(t,n)=>(U(),ee("div",Lre,[(U(!0),ee(We,null,nt(H(ZJ),r=>(U(),ee(We,{key:r.type},[V("div",Ore,vt(r.type),1),(U(!0),ee(We,null,nt(r.children,o=>(U(),ee("div",{class:"hotkey-item",key:o.label},[V("div",Tre,vt(o.label),1),V("div",kre,vt(o.value),1)]))),128))],64))),128))]))}}),Pre=Ue(Nre,[["__scopeId","data-v-0762be00"]]),Cre=["accept"],Ire=Ee({__name:"FileInput",props:{accept:{default:"image/*"}},emits:["change"],setup(e,{emit:t}){const n=t,r=ve(),o=()=>{r.value&&(r.value.value="",r.value.click())},i=a=>{const s=a.target.files;s&&n("change",s)};return(a,s)=>(U(),ee("div",{class:"file-input",onClick:s[1]||(s[1]=l=>o())},[sr(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=>i(l))},null,40,Cre)]))}}),Wu=Ue(Ire,[["__scopeId","data-v-1bd53d05"]]),Fre=e=>(zt("data-v-9856918a"),e=e(),Jt(),e),_re={key:0,class:"fullscreen-spin"},Ere={class:"spin"},Xre=Fre(()=>V("div",{class:"spinner"},null,-1)),Wre={class:"text"},Vre=Ee({__name:"FullscreenSpin",props:{loading:{type:Boolean,default:!1},tip:{default:""}},setup(e){return(t,n)=>t.loading?(U(),ee("div",_re,[V("div",Ere,[Xre,V("div",Wre,vt(t.tip),1)])])):Qe("",!0)}}),r5=Ue(Vre,[["__scopeId","data-v-9856918a"]]),Ure={class:"header"},Yre=Ee({__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,o=ve(!1),i=Me(()=>({width:n.width+"px",...n.contentStyle||{}}));return(a,s)=>{const l=Se("IconClose");return U(),ke(sx,{to:"body"},[O(Pu,{name:`drawer-slide-${a.placement}`,onAfterLeave:s[1]||(s[1]=c=>o.value=!1),onBeforeEnter:s[2]||(s[2]=c=>o.value=!0)},{default:oe(()=>[He(V("div",{class:Je(["drawer",a.placement]),style:we({width:n.width+"px"})},[V("div",Ure,[sr(a.$slots,"title",{},void 0,!0),V("span",{class:"close-btn",onClick:s[0]||(s[0]=c=>r("update:visible",!1))},[O(l)])]),o.value?(U(),ee("div",{key:0,class:"content",style:we(i.value)},[sr(a.$slots,"default",{},void 0,!0)],4)):Qe("",!0)],6),[[sl,a.visible]])]),_:3},8,["name"])])}}}),Qre=Ue(Yre,[["__scopeId","data-v-46f39759"]]),Zre={class:"prefix"},Bre=["disabled","value","placeholder"],Dre={class:"suffix"},Kre=Ee({__name:"Input",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},simple:{type:Boolean,default:!1}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{expose:t,emit:n}){const r=n,o=ve(!1),i=u=>{r("update:value",u.target.value)},a=u=>{o.value=!1,r("blur",u)},s=u=>{o.value=!0,r("focus",u)},l=ve();return t({focus:()=>{l.value&&l.value.focus()}}),(u,f)=>(U(),ee("div",{class:Je(["input",{disabled:u.disabled,focused:o.value,simple:u.simple}])},[V("span",Zre,[sr(u.$slots,"prefix",{},void 0,!0)]),V("input",{type:"text",ref_key:"inputRef",ref:l,disabled:u.disabled,value:u.value,placeholder:u.placeholder,onInput:f[0]||(f[0]=d=>i(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]=ll(d=>r("enter",d),["enter"]))},null,40,Bre),V("span",Dre,[sr(u.$slots,"suffix",{},void 0,!0)])],2))}}),Rc=Ue(Kre,[["__scopeId","data-v-e8b3d756"]]);var ii="top",ia="bottom",aa="right",ai="left",o5="auto",Bp=[ii,ia,aa,ai],Fd="start",lp="end",Hre="clippingParents",xI="viewport",w0="popper",Gre="reference",WO=Bp.reduce(function(e,t){return e.concat([t+"-"+Fd,t+"-"+lp])},[]),SI=[].concat(Bp,[o5]).reduce(function(e,t){return e.concat([t,t+"-"+Fd,t+"-"+lp])},[]),zre="beforeRead",Jre="read",$re="afterRead",jre="beforeMain",qre="main",eoe="afterMain",toe="beforeWrite",noe="write",roe="afterWrite",ooe=[zre,Jre,$re,jre,qre,eoe,toe,noe,roe];function Rs(e){return e?(e.nodeName||"").toLowerCase():null}function _i(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vu(e){var t=_i(e).Element;return e instanceof t||e instanceof Element}function ta(e){var t=_i(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function i5(e){if(typeof ShadowRoot>"u")return!1;var t=_i(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ioe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!ta(i)||!Rs(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function aoe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!ta(o)||!Rs(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const MI={name:"applyStyles",enabled:!0,phase:"write",fn:ioe,effect:aoe,requires:["computeStyles"]};function vs(e){return e.split("-")[0]}var Su=Math.max,fm=Math.min,_d=Math.round;function J3(){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 wI(){return!/^((?!chrome|android).)*safari/i.test(J3())}function Ed(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&ta(e)&&(o=e.offsetWidth>0&&_d(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&_d(r.height)/e.offsetHeight||1);var a=Vu(e)?_i(e):window,s=a.visualViewport,l=!wI()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/o,u=(r.top+(l&&s?s.offsetTop:0))/i,f=r.width/o,d=r.height/i;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function a5(e){var t=Ed(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 LI(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&i5(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ul(e){return _i(e).getComputedStyle(e)}function soe(e){return["table","td","th"].indexOf(Rs(e))>=0}function Nc(e){return((Vu(e)?e.ownerDocument:e.document)||window.document).documentElement}function h2(e){return Rs(e)==="html"?e:e.assignedSlot||e.parentNode||(i5(e)?e.host:null)||Nc(e)}function VO(e){return!ta(e)||ul(e).position==="fixed"?null:e.offsetParent}function loe(e){var t=/firefox/i.test(J3()),n=/Trident/i.test(J3());if(n&&ta(e)){var r=ul(e);if(r.position==="fixed")return null}var o=h2(e);for(i5(o)&&(o=o.host);ta(o)&&["html","body"].indexOf(Rs(o))<0;){var i=ul(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Dp(e){for(var t=_i(e),n=VO(e);n&&soe(n)&&ul(n).position==="static";)n=VO(n);return n&&(Rs(n)==="html"||Rs(n)==="body"&&ul(n).position==="static")?t:n||loe(e)||t}function s5(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ph(e,t,n){return Su(e,fm(t,n))}function coe(e,t,n){var r=Ph(e,t,n);return r>n?n:r}function OI(){return{top:0,right:0,bottom:0,left:0}}function TI(e){return Object.assign({},OI(),e)}function kI(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var uoe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,TI(typeof t!="number"?t:kI(t,Bp))};function foe(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=vs(n.placement),l=s5(s),c=[ai,aa].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var f=uoe(o.padding,n),d=a5(i),h=l==="y"?ii:ai,p=l==="y"?ia:aa,v=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],m=a[l]-n.rects.reference[l],x=Dp(i),y=x?l==="y"?x.clientHeight||0:x.clientWidth||0:0,R=v/2-m/2,A=f[h],b=y-d[u]-f[p],M=y/2-d[u]/2+R,T=Ph(A,M,b),w=l;n.modifiersData[r]=(t={},t[w]=T,t.centerOffset=T-M,t)}}function doe(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||LI(t.elements.popper,o)&&(t.elements.arrow=o))}const hoe={name:"arrow",enabled:!0,phase:"main",fn:foe,effect:doe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xd(e){return e.split("-")[1]}var poe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function voe(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:_d(n*o)/o||0,y:_d(r*o)/o||0}}function UO(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,v=p===void 0?0:p,m=typeof u=="function"?u({x:h,y:v}):{x:h,y:v};h=m.x,v=m.y;var x=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),R=ai,A=ii,b=window;if(c){var M=Dp(n),T="clientHeight",w="clientWidth";if(M===_i(n)&&(M=Nc(n),ul(M).position!=="static"&&s==="absolute"&&(T="scrollHeight",w="scrollWidth")),M=M,o===ii||(o===ai||o===aa)&&i===lp){A=ia;var L=f&&M===b&&b.visualViewport?b.visualViewport.height:M[T];v-=L-r.height,v*=l?1:-1}if(o===ai||(o===ii||o===ia)&&i===lp){R=aa;var k=f&&M===b&&b.visualViewport?b.visualViewport.width:M[w];h-=k-r.width,h*=l?1:-1}}var E=Object.assign({position:s},c&&poe),P=u===!0?voe({x:h,y:v},_i(n)):{x:h,y:v};if(h=P.x,v=P.y,l){var W;return Object.assign({},E,(W={},W[A]=y?"0":"",W[R]=x?"0":"",W.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",W))}return Object.assign({},E,(t={},t[A]=y?v+"px":"",t[R]=x?h+"px":"",t.transform="",t))}function goe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:vs(t.placement),variation:Xd(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,UO(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,UO(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const moe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:goe,data:{}};var Mv={passive:!0};function Aoe(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=_i(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,Mv)}),s&&l.addEventListener("resize",n.update,Mv),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Mv)}),s&&l.removeEventListener("resize",n.update,Mv)}}const Roe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Aoe,data:{}};var yoe={left:"right",right:"left",bottom:"top",top:"bottom"};function sg(e){return e.replace(/left|right|bottom|top/g,function(t){return yoe[t]})}var boe={start:"end",end:"start"};function YO(e){return e.replace(/start|end/g,function(t){return boe[t]})}function l5(e){var t=_i(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function c5(e){return Ed(Nc(e)).left+l5(e).scrollLeft}function xoe(e,t){var n=_i(e),r=Nc(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=wI();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+c5(e),y:l}}function Soe(e){var t,n=Nc(e),r=l5(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Su(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Su(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+c5(e),l=-r.scrollTop;return ul(o||n).direction==="rtl"&&(s+=Su(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function u5(e){var t=ul(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function NI(e){return["html","body","#document"].indexOf(Rs(e))>=0?e.ownerDocument.body:ta(e)&&u5(e)?e:NI(h2(e))}function Ch(e,t){var n;t===void 0&&(t=[]);var r=NI(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=_i(r),a=o?[i].concat(i.visualViewport||[],u5(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Ch(h2(a)))}function $3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Moe(e,t){var n=Ed(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 QO(e,t,n){return t===xI?$3(xoe(e,n)):Vu(t)?Moe(t,n):$3(Soe(Nc(e)))}function woe(e){var t=Ch(h2(e)),n=["absolute","fixed"].indexOf(ul(e).position)>=0,r=n&&ta(e)?Dp(e):e;return Vu(r)?t.filter(function(o){return Vu(o)&&LI(o,r)&&Rs(o)!=="body"}):[]}function Loe(e,t,n,r){var o=t==="clippingParents"?woe(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,c){var u=QO(e,c,r);return l.top=Su(u.top,l.top),l.right=fm(u.right,l.right),l.bottom=fm(u.bottom,l.bottom),l.left=Su(u.left,l.left),l},QO(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 PI(e){var t=e.reference,n=e.element,r=e.placement,o=r?vs(r):null,i=r?Xd(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case ii:l={x:a,y:t.y-n.height};break;case ia:l={x:a,y:t.y+t.height};break;case aa:l={x:t.x+t.width,y:s};break;case ai:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?s5(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case Fd:l[c]=l[c]-(t[u]/2-n[u]/2);break;case lp:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function cp(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,l=s===void 0?Hre:s,c=n.rootBoundary,u=c===void 0?xI:c,f=n.elementContext,d=f===void 0?w0:f,h=n.altBoundary,p=h===void 0?!1:h,v=n.padding,m=v===void 0?0:v,x=TI(typeof m!="number"?m:kI(m,Bp)),y=d===w0?Gre:w0,R=e.rects.popper,A=e.elements[p?y:d],b=Loe(Vu(A)?A:A.contextElement||Nc(e.elements.popper),l,u,a),M=Ed(e.elements.reference),T=PI({reference:M,element:R,strategy:"absolute",placement:o}),w=$3(Object.assign({},R,T)),L=d===w0?w:M,k={top:b.top-L.top+x.top,bottom:L.bottom-b.bottom+x.bottom,left:b.left-L.left+x.left,right:L.right-b.right+x.right},E=e.modifiersData.offset;if(d===w0&&E){var P=E[o];Object.keys(k).forEach(function(W){var N=[aa,ia].indexOf(W)>=0?1:-1,_=[ii,ia].indexOf(W)>=0?"y":"x";k[W]+=P[_]*N})}return k}function Ooe(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?SI:l,u=Xd(r),f=u?s?WO:WO.filter(function(p){return Xd(p)===u}):Bp,d=f.filter(function(p){return c.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,v){return p[v]=cp(e,{placement:v,boundary:o,rootBoundary:i,padding:a})[vs(v)],p},{});return Object.keys(h).sort(function(p,v){return h[p]-h[v]})}function Toe(e){if(vs(e)===o5)return[];var t=sg(e);return[YO(e),t,YO(t)]}function koe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,v=n.allowedAutoPlacements,m=t.options.placement,x=vs(m),y=x===m,R=l||(y||!p?[sg(m)]:Toe(m)),A=[m].concat(R).reduce(function(D,G){return D.concat(vs(G)===o5?Ooe(t,{placement:G,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:v}):G)},[]),b=t.rects.reference,M=t.rects.popper,T=new Map,w=!0,L=A[0],k=0;k<A.length;k++){var E=A[k],P=vs(E),W=Xd(E)===Fd,N=[ii,ia].indexOf(P)>=0,_=N?"width":"height",C=cp(t,{placement:E,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),X=N?W?aa:ai:W?ia:ii;b[_]>M[_]&&(X=sg(X));var Y=sg(X),$=[];if(i&&$.push(C[P]<=0),s&&$.push(C[X]<=0,C[Y]<=0),$.every(function(D){return D})){L=E,w=!1;break}T.set(E,$)}if(w)for(var le=p?3:1,Q=function(G){var ae=A.find(function(se){var J=T.get(se);if(J)return J.slice(0,G).every(function(Re){return Re})});if(ae)return L=ae,"break"},K=le;K>0;K--){var B=Q(K);if(B==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const Noe={name:"flip",enabled:!0,phase:"main",fn:koe,requiresIfExists:["offset"],data:{_skip:!1}};function ZO(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 BO(e){return[ii,aa,ia,ai].some(function(t){return e[t]>=0})}function Poe(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=cp(t,{elementContext:"reference"}),s=cp(t,{altBoundary:!0}),l=ZO(a,r),c=ZO(s,o,i),u=BO(l),f=BO(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Coe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Poe};function Ioe(e,t,n){var r=vs(e),o=[ai,ii].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ai,aa].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function Foe(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=SI.reduce(function(u,f){return u[f]=Ioe(f,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const _oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Foe};function Eoe(e){var t=e.state,n=e.name;t.modifiersData[n]=PI({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Xoe={name:"popperOffsets",enabled:!0,phase:"read",fn:Eoe,data:{}};function Woe(e){return e==="x"?"y":"x"}function Voe(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,v=p===void 0?0:p,m=cp(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),x=vs(t.placement),y=Xd(t.placement),R=!y,A=s5(x),b=Woe(A),M=t.modifiersData.popperOffsets,T=t.rects.reference,w=t.rects.popper,L=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,k=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(M){if(i){var W,N=A==="y"?ii:ai,_=A==="y"?ia:aa,C=A==="y"?"height":"width",X=M[A],Y=X+m[N],$=X-m[_],le=h?-w[C]/2:0,Q=y===Fd?T[C]:w[C],K=y===Fd?-w[C]:-T[C],B=t.elements.arrow,D=h&&B?a5(B):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:OI(),ae=G[N],se=G[_],J=Ph(0,T[C],D[C]),Re=R?T[C]/2-le-J-ae-k.mainAxis:Q-J-ae-k.mainAxis,fe=R?-T[C]/2+le+J+se+k.mainAxis:K+J+se+k.mainAxis,me=t.elements.arrow&&Dp(t.elements.arrow),ue=me?A==="y"?me.clientTop||0:me.clientLeft||0:0,z=(W=E==null?void 0:E[A])!=null?W:0,F=X+Re-z-ue,j=X+fe-z,ie=Ph(h?fm(Y,F):Y,X,h?Su($,j):$);M[A]=ie,P[A]=ie-X}if(s){var q,te=A==="x"?ii:ai,re=A==="x"?ia:aa,he=M[b],ce=b==="y"?"height":"width",pe=he+m[te],xe=he-m[re],_e=[ii,ai].indexOf(x)!==-1,Ae=(q=E==null?void 0:E[b])!=null?q:0,Be=_e?pe:he-T[ce]-w[ce]-Ae+k.altAxis,Te=_e?he+T[ce]+w[ce]-Ae-k.altAxis:xe,De=h&&_e?coe(Be,he,Te):Ph(h?Be:pe,he,h?Te:xe);M[b]=De,P[b]=De-he}t.modifiersData[r]=P}}const Uoe={name:"preventOverflow",enabled:!0,phase:"main",fn:Voe,requiresIfExists:["offset"]};function Yoe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Qoe(e){return e===_i(e)||!ta(e)?l5(e):Yoe(e)}function Zoe(e){var t=e.getBoundingClientRect(),n=_d(t.width)/e.offsetWidth||1,r=_d(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Boe(e,t,n){n===void 0&&(n=!1);var r=ta(t),o=ta(t)&&Zoe(t),i=Nc(t),a=Ed(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Rs(t)!=="body"||u5(i))&&(s=Qoe(t)),ta(t)?(l=Ed(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=c5(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Doe(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function Koe(e){var t=Doe(e);return ooe.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function Hoe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Goe(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var DO={placement:"bottom",modifiers:[],strategy:"absolute"};function KO(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function zoe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?DO:o;return function(s,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},DO,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},f=[],d=!1,h={state:u,setOptions:function(x){var y=typeof x=="function"?x(u.options):x;v(),u.options=Object.assign({},i,u.options,y),u.scrollParents={reference:Vu(s)?Ch(s):s.contextElement?Ch(s.contextElement):[],popper:Ch(l)};var R=Koe(Goe([].concat(r,u.options.modifiers)));return u.orderedModifiers=R.filter(function(A){return A.enabled}),p(),h.update()},forceUpdate:function(){if(!d){var x=u.elements,y=x.reference,R=x.popper;if(KO(y,R)){u.rects={reference:Boe(y,Dp(R),u.options.strategy==="fixed"),popper:a5(R)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(k){return u.modifiersData[k.name]=Object.assign({},k.data)});for(var A=0;A<u.orderedModifiers.length;A++){if(u.reset===!0){u.reset=!1,A=-1;continue}var b=u.orderedModifiers[A],M=b.fn,T=b.options,w=T===void 0?{}:T,L=b.name;typeof M=="function"&&(u=M({state:u,options:w,name:L,instance:h})||u)}}}},update:Hoe(function(){return new Promise(function(m){h.forceUpdate(),m(u)})}),destroy:function(){v(),d=!0}};if(!KO(s,l))return h;h.setOptions(c).then(function(m){!d&&c.onFirstUpdate&&c.onFirstUpdate(m)});function p(){u.orderedModifiers.forEach(function(m){var x=m.name,y=m.options,R=y===void 0?{}:y,A=m.effect;if(typeof A=="function"){var b=A({state:u,name:x,instance:h,options:R}),M=function(){};f.push(b||M)}})}function v(){f.forEach(function(m){return m()}),f=[]}return h}}var Joe=[Roe,Xoe,moe,MI,_oe,Noe,Uoe,hoe,Coe],$oe=zoe({defaultModifiers:Joe}),joe="tippy-box",CI="tippy-content",qoe="tippy-backdrop",II="tippy-arrow",FI="tippy-svg-arrow",eu={passive:!0,capture:!0},_I=function(){return document.body};function Uy(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function f5(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function EI(e,t){return typeof e=="function"?e.apply(void 0,t):e}function HO(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function eie(e){return e.split(/\s+/).filter(Boolean)}function Kf(e){return[].concat(e)}function GO(e,t){e.indexOf(t)===-1&&e.push(t)}function tie(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function nie(e){return e.split("-")[0]}function dm(e){return[].slice.call(e)}function zO(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Ih(){return document.createElement("div")}function p2(e){return["Element","Fragment"].some(function(t){return f5(e,t)})}function rie(e){return f5(e,"NodeList")}function oie(e){return f5(e,"MouseEvent")}function iie(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function aie(e){return p2(e)?[e]:rie(e)?dm(e):Array.isArray(e)?e:dm(document.querySelectorAll(e))}function Yy(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function JO(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function sie(e){var t,n=Kf(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function lie(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var i=o.popperRect,a=o.popperState,s=o.props,l=s.interactiveBorder,c=nie(a.placement),u=a.modifiersData.offset;if(!u)return!0;var f=c==="bottom"?u.top.y:0,d=c==="top"?u.bottom.y:0,h=c==="right"?u.left.x:0,p=c==="left"?u.right.x:0,v=i.top-r+f>l,m=r-i.bottom-d>l,x=i.left-n+h>l,y=n-i.right-p>l;return v||m||x||y})}function Qy(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function $O(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 ts={isTouch:!1},jO=0;function cie(){ts.isTouch||(ts.isTouch=!0,window.performance&&document.addEventListener("mousemove",XI))}function XI(){var e=performance.now();e-jO<20&&(ts.isTouch=!1,document.removeEventListener("mousemove",XI)),jO=e}function uie(){var e=document.activeElement;if(iie(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function fie(){document.addEventListener("touchstart",cie,eu),window.addEventListener("blur",uie)}var die=typeof window<"u"&&typeof document<"u",hie=die?!!window.msCrypto:!1,pie={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},vie={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Pa=Object.assign({appendTo:_I,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},pie,vie),gie=Object.keys(Pa),mie=function(t){var n=Object.keys(t);n.forEach(function(r){Pa[r]=t[r]})};function WI(e){var t=e.plugins||[],n=t.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var s;r[i]=e[i]!==void 0?e[i]:(s=Pa[i])!=null?s:a}return r},{});return Object.assign({},e,n)}function Aie(e,t){var n=t?Object.keys(WI(Object.assign({},Pa,{plugins:t}))):gie,r=n.reduce(function(o,i){var a=(e.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function qO(e,t){var n=Object.assign({},t,{content:EI(t.content,[e])},t.ignoreAttributes?{}:Aie(e,t.plugins));return n.aria=Object.assign({},Pa.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 Rie=function(){return"innerHTML"};function j3(e,t){e[Rie()]=t}function eT(e){var t=Ih();return e===!0?t.className=II:(t.className=FI,p2(e)?t.appendChild(e):j3(t,e)),t}function tT(e,t){p2(t.content)?(j3(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?j3(e,t.content):e.textContent=t.content)}function q3(e){var t=e.firstElementChild,n=dm(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(CI)}),arrow:n.find(function(r){return r.classList.contains(II)||r.classList.contains(FI)}),backdrop:n.find(function(r){return r.classList.contains(qoe)})}}function VI(e){var t=Ih(),n=Ih();n.className=joe,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ih();r.className=CI,r.setAttribute("data-state","hidden"),tT(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(i,a){var s=q3(t),l=s.box,c=s.content,u=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"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&tT(c,e.props),a.arrow?u?i.arrow!==a.arrow&&(l.removeChild(u),l.appendChild(eT(a.arrow))):l.appendChild(eT(a.arrow)):u&&l.removeChild(u)}return{popper:t,onUpdate:o}}VI.$$tippy=!0;var yie=1,wv=[],Zy=[];function bie(e,t){var n=qO(e,Object.assign({},Pa,WI(zO(t)))),r,o,i,a=!1,s=!1,l=!1,c=!1,u,f,d,h=[],p=HO(F,n.interactiveDebounce),v,m=yie++,x=null,y=tie(n.plugins),R={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},A={id:m,reference:e,popper:Ih(),popperInstance:x,props:n,state:R,plugins:y,clearDelayTimeouts:Be,setProps:Te,setContent:De,show:ye,hide:Le,hideWithInteractivity:Pe,enable:_e,disable:Ae,unmount:Ye,destroy:rt};if(!n.render)return A;var b=n.render(A),M=b.popper,T=b.onUpdate;M.setAttribute("data-tippy-root",""),M.id="tippy-"+A.id,A.popper=M,e._tippy=A,M._tippy=A;var w=y.map(function(Ne){return Ne.fn(A)}),L=e.hasAttribute("aria-expanded");return me(),le(),X(),Y("onCreate",[A]),n.showOnCreate&&pe(),M.addEventListener("mouseenter",function(){A.props.interactive&&A.state.isVisible&&A.clearDelayTimeouts()}),M.addEventListener("mouseleave",function(){A.props.interactive&&A.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",p)}),A;function k(){var Ne=A.props.touch;return Array.isArray(Ne)?Ne:[Ne,0]}function E(){return k()[0]==="hold"}function P(){var Ne;return!!((Ne=A.props.render)!=null&&Ne.$$tippy)}function W(){return v||e}function N(){var Ne=W().parentNode;return Ne?sie(Ne):document}function _(){return q3(M)}function C(Ne){return A.state.isMounted&&!A.state.isVisible||ts.isTouch||u&&u.type==="focus"?0:Uy(A.props.delay,Ne?0:1,Pa.delay)}function X(Ne){Ne===void 0&&(Ne=!1),M.style.pointerEvents=A.props.interactive&&!Ne?"":"none",M.style.zIndex=""+A.props.zIndex}function Y(Ne,Ke,et){if(et===void 0&&(et=!0),w.forEach(function(ut){ut[Ne]&&ut[Ne].apply(ut,Ke)}),et){var At;(At=A.props)[Ne].apply(At,Ke)}}function $(){var Ne=A.props.aria;if(Ne.content){var Ke="aria-"+Ne.content,et=M.id,At=Kf(A.props.triggerTarget||e);At.forEach(function(ut){var dt=ut.getAttribute(Ke);if(A.state.isVisible)ut.setAttribute(Ke,dt?dt+" "+et:et);else{var yt=dt&&dt.replace(et,"").trim();yt?ut.setAttribute(Ke,yt):ut.removeAttribute(Ke)}})}}function le(){if(!(L||!A.props.aria.expanded)){var Ne=Kf(A.props.triggerTarget||e);Ne.forEach(function(Ke){A.props.interactive?Ke.setAttribute("aria-expanded",A.state.isVisible&&Ke===W()?"true":"false"):Ke.removeAttribute("aria-expanded")})}}function Q(){N().removeEventListener("mousemove",p),wv=wv.filter(function(Ne){return Ne!==p})}function K(Ne){if(!(ts.isTouch&&(l||Ne.type==="mousedown"))){var Ke=Ne.composedPath&&Ne.composedPath()[0]||Ne.target;if(!(A.props.interactive&&$O(M,Ke))){if(Kf(A.props.triggerTarget||e).some(function(et){return $O(et,Ke)})){if(ts.isTouch||A.state.isVisible&&A.props.trigger.indexOf("click")>=0)return}else Y("onClickOutside",[A,Ne]);A.props.hideOnClick===!0&&(A.clearDelayTimeouts(),A.hide(),s=!0,setTimeout(function(){s=!1}),A.state.isMounted||ae())}}}function B(){l=!0}function D(){l=!1}function G(){var Ne=N();Ne.addEventListener("mousedown",K,!0),Ne.addEventListener("touchend",K,eu),Ne.addEventListener("touchstart",D,eu),Ne.addEventListener("touchmove",B,eu)}function ae(){var Ne=N();Ne.removeEventListener("mousedown",K,!0),Ne.removeEventListener("touchend",K,eu),Ne.removeEventListener("touchstart",D,eu),Ne.removeEventListener("touchmove",B,eu)}function se(Ne,Ke){Re(Ne,function(){!A.state.isVisible&&M.parentNode&&M.parentNode.contains(M)&&Ke()})}function J(Ne,Ke){Re(Ne,Ke)}function Re(Ne,Ke){var et=_().box;function At(ut){ut.target===et&&(Qy(et,"remove",At),Ke())}if(Ne===0)return Ke();Qy(et,"remove",f),Qy(et,"add",At),f=At}function fe(Ne,Ke,et){et===void 0&&(et=!1);var At=Kf(A.props.triggerTarget||e);At.forEach(function(ut){ut.addEventListener(Ne,Ke,et),h.push({node:ut,eventType:Ne,handler:Ke,options:et})})}function me(){E()&&(fe("touchstart",z,{passive:!0}),fe("touchend",j,{passive:!0})),eie(A.props.trigger).forEach(function(Ne){if(Ne!=="manual")switch(fe(Ne,z),Ne){case"mouseenter":fe("mouseleave",j);break;case"focus":fe(hie?"focusout":"blur",ie);break;case"focusin":fe("focusout",ie);break}})}function ue(){h.forEach(function(Ne){var Ke=Ne.node,et=Ne.eventType,At=Ne.handler,ut=Ne.options;Ke.removeEventListener(et,At,ut)}),h=[]}function z(Ne){var Ke,et=!1;if(!(!A.state.isEnabled||q(Ne)||s)){var At=((Ke=u)==null?void 0:Ke.type)==="focus";u=Ne,v=Ne.currentTarget,le(),!A.state.isVisible&&oie(Ne)&&wv.forEach(function(ut){return ut(Ne)}),Ne.type==="click"&&(A.props.trigger.indexOf("mouseenter")<0||a)&&A.props.hideOnClick!==!1&&A.state.isVisible?et=!0:pe(Ne),Ne.type==="click"&&(a=!et),et&&!At&&xe(Ne)}}function F(Ne){var Ke=Ne.target,et=W().contains(Ke)||M.contains(Ke);if(!(Ne.type==="mousemove"&&et)){var At=ce().concat(M).map(function(ut){var dt,yt=ut._tippy,_t=(dt=yt.popperInstance)==null?void 0:dt.state;return _t?{popperRect:ut.getBoundingClientRect(),popperState:_t,props:n}:null}).filter(Boolean);lie(At,Ne)&&(Q(),xe(Ne))}}function j(Ne){var Ke=q(Ne)||A.props.trigger.indexOf("click")>=0&&a;if(!Ke){if(A.props.interactive){A.hideWithInteractivity(Ne);return}xe(Ne)}}function ie(Ne){A.props.trigger.indexOf("focusin")<0&&Ne.target!==W()||A.props.interactive&&Ne.relatedTarget&&M.contains(Ne.relatedTarget)||xe(Ne)}function q(Ne){return ts.isTouch?E()!==Ne.type.indexOf("touch")>=0:!1}function te(){re();var Ne=A.props,Ke=Ne.popperOptions,et=Ne.placement,At=Ne.offset,ut=Ne.getReferenceClientRect,dt=Ne.moveTransition,yt=P()?q3(M).arrow:null,_t=ut?{getBoundingClientRect:ut,contextElement:ut.contextElement||W()}:e,Zt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Va){var uo=Va.state;if(P()){var rf=_(),Fc=rf.box;["placement","reference-hidden","escaped"].forEach(function(Os){Os==="placement"?Fc.setAttribute("data-placement",uo.placement):uo.attributes.popper["data-popper-"+Os]?Fc.setAttribute("data-"+Os,""):Fc.removeAttribute("data-"+Os)}),uo.attributes.popper={}}}},Tn=[{name:"offset",options:{offset:At}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!dt}},Zt];P()&&yt&&Tn.push({name:"arrow",options:{element:yt,padding:3}}),Tn.push.apply(Tn,(Ke==null?void 0:Ke.modifiers)||[]),A.popperInstance=$oe(_t,M,Object.assign({},Ke,{placement:et,onFirstUpdate:d,modifiers:Tn}))}function re(){A.popperInstance&&(A.popperInstance.destroy(),A.popperInstance=null)}function he(){var Ne=A.props.appendTo,Ke,et=W();A.props.interactive&&Ne===_I||Ne==="parent"?Ke=et.parentNode:Ke=EI(Ne,[et]),Ke.contains(M)||Ke.appendChild(M),A.state.isMounted=!0,te()}function ce(){return dm(M.querySelectorAll("[data-tippy-root]"))}function pe(Ne){A.clearDelayTimeouts(),Ne&&Y("onTrigger",[A,Ne]),G();var Ke=C(!0),et=k(),At=et[0],ut=et[1];ts.isTouch&&At==="hold"&&ut&&(Ke=ut),Ke?r=setTimeout(function(){A.show()},Ke):A.show()}function xe(Ne){if(A.clearDelayTimeouts(),Y("onUntrigger",[A,Ne]),!A.state.isVisible){ae();return}if(!(A.props.trigger.indexOf("mouseenter")>=0&&A.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(Ne.type)>=0&&a)){var Ke=C(!1);Ke?o=setTimeout(function(){A.state.isVisible&&A.hide()},Ke):i=requestAnimationFrame(function(){A.hide()})}}function _e(){A.state.isEnabled=!0}function Ae(){A.hide(),A.state.isEnabled=!1}function Be(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function Te(Ne){if(!A.state.isDestroyed){Y("onBeforeUpdate",[A,Ne]),ue();var Ke=A.props,et=qO(e,Object.assign({},Ke,zO(Ne),{ignoreAttributes:!0}));A.props=et,me(),Ke.interactiveDebounce!==et.interactiveDebounce&&(Q(),p=HO(F,et.interactiveDebounce)),Ke.triggerTarget&&!et.triggerTarget?Kf(Ke.triggerTarget).forEach(function(At){At.removeAttribute("aria-expanded")}):et.triggerTarget&&e.removeAttribute("aria-expanded"),le(),X(),T&&T(Ke,et),A.popperInstance&&(te(),ce().forEach(function(At){requestAnimationFrame(At._tippy.popperInstance.forceUpdate)})),Y("onAfterUpdate",[A,Ne])}}function De(Ne){A.setProps({content:Ne})}function ye(){var Ne=A.state.isVisible,Ke=A.state.isDestroyed,et=!A.state.isEnabled,At=ts.isTouch&&!A.props.touch,ut=Uy(A.props.duration,0,Pa.duration);if(!(Ne||Ke||et||At)&&!W().hasAttribute("disabled")&&(Y("onShow",[A],!1),A.props.onShow(A)!==!1)){if(A.state.isVisible=!0,P()&&(M.style.visibility="visible"),X(),G(),A.state.isMounted||(M.style.transition="none"),P()){var dt=_(),yt=dt.box,_t=dt.content;Yy([yt,_t],0)}d=function(){var Tn;if(!(!A.state.isVisible||c)){if(c=!0,M.offsetHeight,M.style.transition=A.props.moveTransition,P()&&A.props.animation){var ua=_(),Va=ua.box,uo=ua.content;Yy([Va,uo],ut),JO([Va,uo],"visible")}$(),le(),GO(Zy,A),(Tn=A.popperInstance)==null||Tn.forceUpdate(),Y("onMount",[A]),A.props.animation&&P()&&J(ut,function(){A.state.isShown=!0,Y("onShown",[A])})}},he()}}function Le(){var Ne=!A.state.isVisible,Ke=A.state.isDestroyed,et=!A.state.isEnabled,At=Uy(A.props.duration,1,Pa.duration);if(!(Ne||Ke||et)&&(Y("onHide",[A],!1),A.props.onHide(A)!==!1)){if(A.state.isVisible=!1,A.state.isShown=!1,c=!1,a=!1,P()&&(M.style.visibility="hidden"),Q(),ae(),X(!0),P()){var ut=_(),dt=ut.box,yt=ut.content;A.props.animation&&(Yy([dt,yt],At),JO([dt,yt],"hidden"))}$(),le(),A.props.animation?P()&&se(At,A.unmount):A.unmount()}}function Pe(Ne){N().addEventListener("mousemove",p),GO(wv,p),p(Ne)}function Ye(){A.state.isVisible&&A.hide(),A.state.isMounted&&(re(),ce().forEach(function(Ne){Ne._tippy.unmount()}),M.parentNode&&M.parentNode.removeChild(M),Zy=Zy.filter(function(Ne){return Ne!==A}),A.state.isMounted=!1,Y("onHidden",[A]))}function rt(){A.state.isDestroyed||(A.clearDelayTimeouts(),A.unmount(),ue(),delete e._tippy,A.state.isDestroyed=!0,Y("onDestroy",[A]))}}function qu(e,t){t===void 0&&(t={});var n=Pa.plugins.concat(t.plugins||[]);fie();var r=Object.assign({},t,{plugins:n}),o=aie(e),i=o.reduce(function(a,s){var l=s&&bie(s,r);return l&&a.push(l),a},[]);return p2(e)?i[0]:i}qu.defaultProps=Pa;qu.setDefaultProps=mie;qu.currentInput=ts;Object.assign({},MI,{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)}});qu.setDefaultProps({render:VI});const xie=Ee({__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,o=ve(),i=ve(),a=ve(),s=ve(!1),l=Me(()=>n.contentStyle||{});return wt(()=>n.value,()=>{o.value&&(n.value?o.value.show():o.value.hide())}),Sn(()=>{o.value&&o.value.destroy()}),Qt(()=>{o.value=qu(i.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}})}),(c,u)=>(U(),ee("div",{class:Je(["popover",{center:c.center}]),ref_key:"triggerRef",ref:i},[V("div",{class:"popover-content",style:we(l.value),ref_key:"contentRef",ref:a},[s.value?sr(c.$slots,"content",{key:0},void 0,!0):Qe("",!0)],4),sr(c.$slots,"default",{},void 0,!0)],2))}}),Pt=Ue(xie,[["__scopeId","data-v-6a57fbcf"]]),Sie=Ee({__name:"PopoverMenuItem",props:{center:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=t;return(r,o)=>(U(),ee("div",{class:Je(["popover-menu-item",{center:r.center}]),onClick:o[0]||(o[0]=i=>n("click"))},[sr(r.$slots,"default",{},void 0,!0)],2))}}),go=Ue(Sie,[["__scopeId","data-v-1f176c16"]]),Mie={class:"editor-header"},wie={class:"left"},Lie={class:"menu-item"},Oie={class:"title"},Tie=["title"],kie={class:"right"},Nie={class:"group-menu-item"},Pie={class:"arrow-btn"},Cie={class:"github-link",href:"https://github.com/pipipi-pikachu/PPTist",target:"_blank"},Iie={class:"menu-item"},Fie=Ee({__name:"index",setup(e){const t=ft(),n=st(),{title:r}=Xe(n),{enterScreening:o,enterScreeningFromStart:i}=Tc(),{importSpecificFile:a,importPPTXFile:s,exporting:l}=wre(),{resetSlides:c}=Oc(),u=ve(!1),f=ve(!1),d=ve(!1),h=ve(),p=ve(""),v=()=>{p.value=r.value,d.value=!0,pr(()=>{var R;return(R=h.value)==null?void 0:R.focus()})},m=()=>{n.setTitle(p.value),d.value=!1},x=R=>{window.open(R),u.value=!1},y=R=>{t.setDialogForExport(R),u.value=!1};return(R,A)=>{const b=Se("IconHamburgerButton"),M=Se("IconPpt"),T=Se("IconDown"),w=Se("IconDownload"),L=Se("IconGithub"),k=bn("tooltip");return U(),ee("div",Mie,[V("div",wie,[O(Pt,{trigger:"click",placement:"bottom-start",value:u.value,"onUpdate:value":A[7]||(A[7]=E=>u.value=E)},{content:oe(()=>[O(Wu,{accept:".pptist",onChange:A[0]||(A[0]=E=>{H(a)(E),u.value=!1})},{default:oe(()=>[O(go,null,{default:oe(()=>[Ve("导入 pptist 文件")]),_:1})]),_:1}),O(Wu,{accept:"application/vnd.openxmlformats-officedocument.presentationml.presentation",onChange:A[1]||(A[1]=E=>{H(s)(E),u.value=!1})},{default:oe(()=>[O(go,null,{default:oe(()=>[Ve("导入 pptx 文件(测试版)")]),_:1})]),_:1}),O(go,{onClick:A[2]||(A[2]=E=>y("pptx"))},{default:oe(()=>[Ve("导出文件")]),_:1}),O(go,{onClick:A[3]||(A[3]=E=>{H(c)(),u.value=!1})},{default:oe(()=>[Ve("重置幻灯片")]),_:1}),O(go,{onClick:A[4]||(A[4]=E=>x("https://github.com/pipipi-pikachu/PPTist/issues"))},{default:oe(()=>[Ve("意见反馈")]),_:1}),O(go,{onClick:A[5]||(A[5]=E=>x("https://github.com/pipipi-pikachu/PPTist/blob/master/doc/Q&A.md"))},{default:oe(()=>[Ve("常见问题")]),_:1}),O(go,{onClick:A[6]||(A[6]=E=>{u.value=!1,f.value=!0})},{default:oe(()=>[Ve("快捷操作")]),_:1})]),default:oe(()=>[V("div",Lie,[O(b,{class:"icon"})])]),_:1},8,["value"]),V("div",Oie,[d.value?(U(),ke(Rc,{key:0,class:"title-input",ref_key:"titleInputRef",ref:h,value:p.value,"onUpdate:value":A[8]||(A[8]=E=>p.value=E),onBlur:A[9]||(A[9]=E=>m())},null,8,["value"])):(U(),ee("div",{key:1,class:"title-text",onClick:A[10]||(A[10]=E=>v()),title:H(r)},vt(H(r)),9,Tie))])]),V("div",kie,[V("div",Nie,[He((U(),ee("div",{class:"menu-item",onClick:A[11]||(A[11]=E=>H(o)())},[O(M,{class:"icon"})])),[[k,"幻灯片放映(F5)"]]),O(Pt,{trigger:"click",center:""},{content:oe(()=>[O(go,{onClick:A[12]||(A[12]=E=>H(i)())},{default:oe(()=>[Ve("从头开始")]),_:1}),O(go,{onClick:A[13]||(A[13]=E=>H(o)())},{default:oe(()=>[Ve("从当前页开始")]),_:1})]),default:oe(()=>[V("div",Pie,[O(T,{class:"arrow"})])]),_:1})]),He((U(),ee("div",{class:"menu-item",onClick:A[14]||(A[14]=E=>y("pptx"))},[O(w,{class:"icon"})])),[[k,"导出"]]),He((U(),ee("a",Cie,[V("div",Iie,[O(L,{class:"icon"})])])),[[k,"Copyright © 2020-PRESENT pipipi-pikachu"]])]),O(Qre,{width:320,visible:f.value,"onUpdate:visible":A[15]||(A[15]=E=>f.value=E),placement:"right"},{title:oe(()=>[Ve("快捷操作")]),default:oe(()=>[O(Pre)]),_:1},8,["visible"]),O(r5,{loading:H(l),tip:"正在导入..."},null,8,["loading"])])}}}),_ie=Ue(Fie,[["__scopeId","data-v-57b3c954"]]),ef=Symbol(),d5=Symbol(),UI=Symbol(),Eie=()=>{const e=window.getSelection();e&&e.removeAllRanges()},Xie=e=>{const t=ve(0),n=ve(0),r=ft(),{canvasPercentage:o,canvasDragged:i}=Xe(r),{viewportRatio:a,viewportSize:s}=Xe(st()),l=()=>{if(!e.value)return;const h=e.value.clientWidth,p=e.value.clientHeight;if(p/h>a.value){const v=h*(o.value/100);r.setCanvasScale(v/s.value),t.value=(h-v)/2,n.value=(p-v*a.value)/2}else{const v=p*(o.value/100);r.setCanvasScale(v/(s.value*a.value)),t.value=(h-v/a.value)/2,n.value=(p-v)/2}};wt(o,(h,p)=>{if(!e.value)return;const v=e.value.clientWidth,m=e.value.clientHeight;if(m/v>a.value){const x=v*(h/100),y=v*(p/100),R=x*a.value,A=y*a.value;r.setCanvasScale(x/s.value),t.value=t.value-(x-y)/2,n.value=n.value-(R-A)/2}else{const x=m*(h/100),y=m*(p/100),R=x/a.value,A=y/a.value;r.setCanvasScale(x/(s.value*a.value)),t.value=t.value-(R-A)/2,n.value=n.value-(x-y)/2}}),wt(a,l),wt(s,l),wt(i,()=>{i.value||l()});const u=Me(()=>({width:s.value,height:s.value*a.value,left:t.value,top:n.value})),f=new ResizeObserver(l);return Qt(()=>{e.value&&f.observe(e.value)}),Sn(()=>{e.value&&f.unobserve(e.value)}),{viewportStyles:u,dragViewport:h=>{let p=!0;const v=h.pageX,m=h.pageY,x=t.value,y=n.value;document.onmousemove=R=>{if(!p)return;const A=R.pageX,b=R.pageY;t.value=x+(A-v),n.value=y+(b-m)},document.onmouseup=()=>{p=!1,document.onmousemove=null,document.onmouseup=null,r.setCanvasDragged(!0)}}}},Wie=(e,t)=>{const n=ft(),{canvasScale:r,hiddenElementIdList:o}=Xe(n),i=ve(!1),a=ve(1),s=ve({top:0,left:0,width:0,height:0});return{mouseSelection:s,mouseSelectionVisible:i,mouseSelectionQuadrant:a,updateMouseSelection:c=>{if(!t.value)return;let u=!0;const f=t.value.getBoundingClientRect(),d=5,h=c.pageX,p=c.pageY,v=(h-f.x)/r.value,m=(p-f.y)/r.value;s.value={top:m,left:v,width:0,height:0},i.value=!1,a.value=4,document.onmousemove=x=>{if(!u)return;const y=x.pageX,R=x.pageY,A=(y-h)/r.value,b=(R-p)/r.value,M=Math.abs(A),T=Math.abs(b);if(M<d||T<d)return;let w=0;A>0&&b>0?w=4:A<0&&b<0?w=2:A>0&&b<0?w=1:A<0&&b>0&&(w=3),s.value={...s.value,width:M,height:T},i.value=!0,a.value=w},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,u=!1;let x=[];for(let R=0;R<e.value.length;R++){const A=e.value[R],b=s.value.left,M=s.value.top,T=s.value.width,w=s.value.height,{minX:L,maxX:k,minY:E,maxY:P}=Ji(A);let W=!1;a.value===4?W=L>b&&k<b+T&&E>M&&P<M+w:a.value===2?W=L>b-T&&k<b-T+T&&E>M-w&&P<M-w+w:a.value===1?W=L>b&&k<b+T&&E>M-w&&P<M-w+w:a.value===3&&(W=L>b-T&&k<b-T+T&&E>M&&P<M+w),W&&!A.lock&&!o.value.includes(A.id)&&x.push(A)}x=x.filter(R=>{if(R.groupId){const A=x.map(M=>M.id);return e.value.filter(M=>M.groupId===R.groupId).every(M=>A.includes(M.id))}return!0});const y=x.map(R=>R.id);n.setActiveElementIdList(y),i.value=!1}}}},Vie=e=>{const{disableHotkeys:t}=Xe(ft()),{createImageElement:n,createTextElement:r}=Ju(),o=i=>{if(!i.dataTransfer||i.dataTransfer.items.length===0)return;const a=i.dataTransfer.items[0];if(a.kind==="file"&&a.type.indexOf("image")!==-1){const s=a.getAsFile();s&&Lc(s).then(l=>n(l))}else a.kind==="string"&&a.type==="text/plain"&&a.getAsString(s=>{if(t.value)return;const l=jg(s);r({left:0,top:0,width:600,height:50},{content:l})})};Qt(()=>{e.value&&e.value.addEventListener("drop",o),document.ondragleave=i=>i.preventDefault(),document.ondrop=i=>i.preventDefault(),document.ondragenter=i=>i.preventDefault(),document.ondragover=i=>i.preventDefault()}),Sn(()=>{e.value&&e.value.removeEventListener("drop",o),document.ondragleave=null,document.ondrop=null,document.ondragenter=null,document.ondragover=null})},Uie=(e,t)=>{const n=Math.atan2(e,t);return 180/Math.PI*n},YI=(e,t,n)=>{const r=st(),{addHistorySnapshot:o}=Ht();return{rotateElement:(a,s)=>{const l=!(a instanceof MouseEvent);if(l&&(!a.changedTouches||!a.changedTouches[0]))return;let c=!0,u=0;const f=s.rotate||0,d=s.left,h=s.top,p=s.width,v=s.height,m=d+p/2,x=h+v/2;if(!t.value)return;const y=t.value.getBoundingClientRect(),R=b=>{if(!c)return;const M=b instanceof MouseEvent?b.pageX:b.changedTouches[0].pageX,T=b instanceof MouseEvent?b.pageY:b.changedTouches[0].pageY,w=(M-y.left)/n.value,L=(T-y.top)/n.value,k=w-m,E=x-L;u=Uie(k,E);const P=5;Math.abs(u)<=P?u=0:u>0&&Math.abs(u-45)<=P?u-=u-45:u<0&&Math.abs(u+45)<=P?u-=u+45:u>0&&Math.abs(u-90)<=P?u-=u-90:u<0&&Math.abs(u+90)<=P?u-=u+90:u>0&&Math.abs(u-135)<=P?u-=u-135:u<0&&Math.abs(u+135)<=P?u-=u+135:u>0&&Math.abs(u-180)<=P?u-=u-180:u<0&&Math.abs(u+180)<=P&&(u-=u+180),e.value=e.value.map(W=>s.id===W.id?{...W,rotate:u}:W)},A=()=>{c=!1,document.onmousemove=null,document.onmouseup=null,f!==u&&(r.updateSlide({elements:e.value}),o())};l?(document.ontouchmove=R,document.ontouchend=A):(document.onmousemove=R,document.onmouseup=A)}}},rh={text:"文本",image:"图片",shape:"形状",line:"线条",chart:"图表",table:"表格",video:"视频",audio:"音频",latex:"公式"},QI={text:20,image:20,shape:20,chart:200,table:20,video:250,audio:20,latex:20},nT=(e,t)=>{const{left:n,top:r,width:o,height:i}=e,a=Math.sqrt(Math.pow(o,2)+Math.pow(i,2))/2,s=Math.atan(i/o)*180/Math.PI,l=(180-t-s)*Math.PI/180,c=(s-t)*Math.PI/180,u=(90-t)*Math.PI/180,f=t*Math.PI/180,d=o/2,h=i/2,p=n+d,v=r+h,m={left:p+a*Math.cos(l),top:v-a*Math.sin(l)},x={left:p+h*Math.cos(u),top:v-h*Math.sin(u)},y={left:p+a*Math.cos(c),top:v-a*Math.sin(c)},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)},b={left:p-h*Math.sin(f),top:v+h*Math.cos(f)},M={left:p-a*Math.cos(c),top:v+a*Math.sin(c)},T={left:p-d*Math.cos(f),top:v-d*Math.sin(f)};return{leftTopPoint:m,topPoint:x,rightTopPoint:y,rightPoint:R,rightBottomPoint:A,bottomPoint:b,leftBottomPoint:M,leftPoint:T}},rT=(e,t)=>({[mt.RIGHT_BOTTOM]:t.leftTopPoint,[mt.LEFT_BOTTOM]:t.rightTopPoint,[mt.LEFT_TOP]:t.rightBottomPoint,[mt.RIGHT_TOP]:t.leftBottomPoint,[mt.TOP]:t.bottomPoint,[mt.BOTTOM]:t.topPoint,[mt.LEFT]:t.rightPoint,[mt.RIGHT]:t.leftPoint})[e],ZI=(e,t,n)=>{const r=ft(),o=st(),{activeElementIdList:i,activeGroupElementId:a}=Xe(r),{viewportRatio:s,viewportSize:l}=Xe(o),{ctrlOrShiftKeyActive:c}=Xe(Ea()),{addHistorySnapshot:u}=Ht();return{scaleElement:(h,p,v)=>{const m=!(h instanceof MouseEvent);if(m&&(!h.changedTouches||!h.changedTouches[0]))return;let x=!0;r.setScalingState(!0);const y=p.left,R=p.top,A=p.width,b=p.height,M=p.type==="table"?p.cellMinHeight:0,T="rotate"in p&&p.rotate?p.rotate:0,w=Math.PI*T/180,L=c.value||"fixedRatio"in p&&p.fixedRatio,k=A/b,E=m?h.changedTouches[0].pageX:h.pageX,P=m?h.changedTouches[0].pageY:h.pageY,W=QI[p.type]||20,N=B=>B<W?W:B;let _,C=0,X=0,Y=[],$=[];if("rotate"in p&&p.rotate){const{left:B,top:D,width:G,height:ae}=p;_=nT({left:B,top:D,width:G,height:ae},T);const se=rT(v,_);C=se.left,X=se.top}else{const B=l.value,D=l.value*s.value,G=p.id===a.value;for(const ue of e.value){if("rotate"in ue&&ue.rotate||ue.type==="line"||G&&ue.id===p.id||!G&&i.value.includes(ue.id))continue;const z=ue.left,F=ue.top,j=ue.width,ie=ue.height,q=z+j,te=F+ie,re={value:F,range:[z,q]},he={value:te,range:[z,q]},ce={value:z,range:[F,te]},pe={value:q,range:[F,te]};Y.push(re,he),$.push(ce,pe)}const ae={value:0,range:[0,B]},se={value:D,range:[0,B]},J={value:D/2,range:[0,B]},Re={value:0,range:[0,D]},fe={value:B,range:[0,D]},me={value:B/2,range:[0,D]};Y.push(ae,se,J),$.push(Re,fe,me),Y=Jg(Y),$=Jg($)}const le=(B,D)=>{const ae=[];let se=!1,J=!1;const Re={offsetX:0,offsetY:0};if(D||D===0)for(let fe=0;fe<Y.length;fe++){const{value:me,range:ue}=Y[fe],z=Math.min(...ue,B||0),F=Math.max(...ue,B||0);Math.abs(D-me)<5&&!J&&(Re.offsetY=D-me,J=!0,ae.push({type:"horizontal",axis:{x:z-50,y:me},length:F-z+100}))}if(B||B===0)for(let fe=0;fe<$.length;fe++){const{value:me,range:ue}=$[fe],z=Math.min(...ue,D||0),F=Math.max(...ue,D||0);Math.abs(B-me)<5&&!se&&(Re.offsetX=B-me,se=!0,ae.push({type:"vertical",axis:{x:me,y:z-50},length:F-z+100}))}return t.value=ae,Re},Q=B=>{if(!x)return;const D=B instanceof MouseEvent?B.pageX:B.changedTouches[0].pageX,G=B instanceof MouseEvent?B.pageY:B.changedTouches[0].pageY,ae=D-E,se=G-P;let J=A,Re=b,fe=y,me=R;if(T){const ue=(Math.cos(w)*ae+Math.sin(w)*se)/n.value;let z=(Math.cos(w)*se-Math.sin(w)*ae)/n.value;L&&((v===mt.RIGHT_BOTTOM||v===mt.LEFT_TOP)&&(z=ue/k),(v===mt.LEFT_BOTTOM||v===mt.RIGHT_TOP)&&(z=-ue/k)),v===mt.RIGHT_BOTTOM?(J=N(A+ue),Re=N(b+z)):v===mt.LEFT_BOTTOM?(J=N(A-ue),Re=N(b+z),fe=y-(J-A)):v===mt.LEFT_TOP?(J=N(A-ue),Re=N(b-z),fe=y-(J-A),me=R-(Re-b)):v===mt.RIGHT_TOP?(J=N(A+ue),Re=N(b-z),me=R-(Re-b)):v===mt.TOP?(Re=N(b-z),me=R-(Re-b)):v===mt.BOTTOM?Re=N(b+z):v===mt.LEFT?(J=N(A-ue),fe=y-(J-A)):v===mt.RIGHT&&(J=N(A+ue));const F=nT({width:J,height:Re,left:fe,top:me},T),j=rT(v,F),ie=j.left,q=j.top,te=ie-C,re=q-X;fe=fe-te,me=me-re}else{let ue=ae/n.value,z=se/n.value;if(L&&((v===mt.RIGHT_BOTTOM||v===mt.LEFT_TOP)&&(z=ue/k),(v===mt.LEFT_BOTTOM||v===mt.RIGHT_TOP)&&(z=-ue/k)),v===mt.RIGHT_BOTTOM){const{offsetX:F,offsetY:j}=le(y+A+ue,R+b+z);ue=ue-F,z=z-j,L&&(j?ue=z*k:z=ue/k),J=N(A+ue),Re=N(b+z)}else if(v===mt.LEFT_BOTTOM){const{offsetX:F,offsetY:j}=le(y+ue,R+b+z);ue=ue-F,z=z-j,L&&(j?ue=-z*k:z=-ue/k),J=N(A-ue),Re=N(b+z),fe=y-(J-A)}else if(v===mt.LEFT_TOP){const{offsetX:F,offsetY:j}=le(y+ue,R+z);ue=ue-F,z=z-j,L&&(j?ue=z*k:z=ue/k),J=N(A-ue),Re=N(b-z),fe=y-(J-A),me=R-(Re-b)}else if(v===mt.RIGHT_TOP){const{offsetX:F,offsetY:j}=le(y+A+ue,R+z);ue=ue-F,z=z-j,L&&(j?ue=-z*k:z=-ue/k),J=N(A+ue),Re=N(b-z),me=R-(Re-b)}else if(v===mt.LEFT){const{offsetX:F}=le(y+ue,null);ue=ue-F,J=N(A-ue),fe=y-(J-A)}else if(v===mt.RIGHT){const{offsetX:F}=le(y+A+ue,null);ue=ue-F,J=N(A+ue)}else if(v===mt.TOP){const{offsetY:F}=le(null,R+z);z=z-F,Re=N(b-z),me=R-(Re-b)}else if(v===mt.BOTTOM){const{offsetY:F}=le(null,R+b+z);z=z-F,Re=N(b+z)}}e.value=e.value.map(ue=>{if(p.id!==ue.id)return ue;if(ue.type==="shape"&&"pathFormula"in ue&&ue.pathFormula){const z=zu[ue.pathFormula];let F="";return"editable"in z?F=z.formula(J,Re,ue.keypoints):F=z.formula(J,Re),{...ue,left:fe,top:me,width:J,height:Re,viewBox:[J,Re],path:F}}if(ue.type==="table"){let z=M+(Re-b)/ue.data.length;return z=z<36?36:z,z===M?{...ue,left:fe,width:J}:{...ue,left:fe,top:me,width:J,height:Re,cellMinHeight:z<36?36:z}}return{...ue,left:fe,top:me,width:J,height:Re}})},K=B=>{x=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const D=B instanceof MouseEvent?B.pageX:B.changedTouches[0].pageX,G=B instanceof MouseEvent?B.pageY:B.changedTouches[0].pageY;E===D&&P===G||(o.updateSlide({elements:e.value}),r.setScalingState(!1),u())};m?(document.ontouchmove=Q,document.ontouchend=K):(document.onmousemove=Q,document.onmouseup=K)},scaleMultiElement:(h,p,v)=>{let m=!0;const{minX:x,maxX:y,minY:R,maxY:A}=p,b=y-x,M=A-R,T=b/M,w=h.pageX,L=h.pageY,k=JSON.parse(JSON.stringify(e.value));document.onmousemove=E=>{if(!m)return;const P=E.pageX,W=E.pageY,N=(P-w)/n.value;let _=(W-L)/n.value;c.value&&((v===mt.RIGHT_BOTTOM||v===mt.LEFT_TOP)&&(_=N/T),(v===mt.LEFT_BOTTOM||v===mt.RIGHT_TOP)&&(_=-N/T));let C=x,X=y,Y=R,$=A;v===mt.RIGHT_BOTTOM?(X=y+N,$=A+_):v===mt.LEFT_BOTTOM?(C=x+N,$=A+_):v===mt.LEFT_TOP?(C=x+N,Y=R+_):v===mt.RIGHT_TOP?(X=y+N,Y=R+_):v===mt.TOP?Y=R+_:v===mt.BOTTOM?$=A+_:v===mt.LEFT?C=x+N:v===mt.RIGHT&&(X=y+N);const le=X-C,Q=$-Y;let K=le/b,B=Q/M;K<=0&&(K=0),B<=0&&(B=0),e.value=e.value.map(D=>{if((D.type==="image"||D.type==="shape")&&i.value.includes(D.id)){const G=k.find(ae=>ae.id===D.id);return{...D,width:G.width*K,height:G.height*B,left:C+(G.left-x)*K,top:Y+(G.top-R)*B}}return D})},document.onmouseup=E=>{m=!1,document.onmousemove=null,document.onmouseup=null,!(w===E.pageX&&L===E.pageY)&&(o.updateSlide({elements:e.value}),u())}}}},Yie=(e,t)=>{const n=ft(),{activeElementIdList:r,activeGroupElementId:o,handleElementId:i,editorAreaFocus:a}=Xe(n),{ctrlOrShiftKeyActive:s}=Xe(Ea());return{selectElement:(c,u,f=!0)=>{if(a.value||n.setEditorareaFocus(!0),r.value.includes(u.id)){if(s.value){let d=[];if(u.groupId){const h=[];e.value.forEach(p=>{p.groupId===u.groupId&&h.push(p.id)}),d=r.value.filter(p=>!h.includes(p))}else d=r.value.filter(h=>h!==u.id);d.length>0&&n.setActiveElementIdList(d)}else if(i.value!==u.id)n.setHandleElementId(u.id);else if(o.value!==u.id){const d=c instanceof MouseEvent?c.pageX:c.changedTouches[0].pageX,h=c instanceof MouseEvent?c.pageY:c.changedTouches[0].pageY;c.target.onmouseup=p=>{const v=p.pageX,m=p.pageY;d===v&&h===m&&(n.setActiveGroupElementId(u.id),p.target.onmouseup=null)}}}else{let d=[];if(s.value?d=[...r.value,u.id]:d=[u.id],u.groupId){const h=[];e.value.forEach(p=>{p.groupId===u.groupId&&h.push(p.id)}),d=[...d,...h]}n.setActiveElementIdList(On.uniq(d)),n.setHandleElementId(u.id)}f&&t(c,u)}}},BI=(e,t,n)=>{const r=st(),{activeElementIdList:o,activeGroupElementId:i}=Xe(ft()),{shiftKeyState:a}=Xe(Ea()),{viewportRatio:s,viewportSize:l}=Xe(r),{addHistorySnapshot:c}=Ht();return{dragElement:(f,d)=>{const h=!(f instanceof MouseEvent);if(h&&(!f.changedTouches||!f.changedTouches[0])||!o.value.includes(d.id))return;let p=!0;const v=l.value,m=l.value*s.value,x=5,R=JSON.parse(JSON.stringify(e.value)).filter(B=>o.value.includes(B.id)),A=d.left,b=d.top,M=d.width,T="height"in d&&d.height?d.height:0,w="rotate"in d&&d.rotate?d.rotate:0,L=h?f.changedTouches[0].pageX:f.pageX,k=h?f.changedTouches[0].pageY:f.pageY;let E=null;const P=d.id===i.value;let W=[],N=[];for(const B of e.value){if(B.type==="line"||P&&B.id===d.id||!P&&o.value.includes(B.id))continue;let D,G,ae,se;if("rotate"in B&&B.rotate){const{xRange:te,yRange:re}=Ad({left:B.left,top:B.top,width:B.width,height:B.height,rotate:B.rotate});D=te[0],G=re[0],ae=te[1]-te[0],se=re[1]-re[0]}else D=B.left,G=B.top,ae=B.width,se=B.height;const J=D+ae,Re=G+se,fe=G+se/2,me=D+ae/2,ue={value:G,range:[D,J]},z={value:Re,range:[D,J]},F={value:fe,range:[D,J]},j={value:D,range:[G,Re]},ie={value:J,range:[G,Re]},q={value:me,range:[G,Re]};W.push(ue,z,F),N.push(j,ie,q)}const _={value:0,range:[0,v]},C={value:m,range:[0,v]},X={value:m/2,range:[0,v]},Y={value:0,range:[0,m]},$={value:v,range:[0,m]},le={value:v/2,range:[0,m]};W.push(_,C,X),N.push(Y,$,le),W=Jg(W),N=Jg(N);const Q=B=>{const D=B instanceof MouseEvent?B.pageX:B.changedTouches[0].pageX,G=B instanceof MouseEvent?B.pageY:B.changedTouches[0].pageY;if(E!==!1&&(E=Math.abs(L-D)<x&&Math.abs(k-G)<x),!p||E)return;let ae=(D-L)/n.value,se=(G-k)/n.value;a.value&&(Math.abs(ae)>Math.abs(se)&&(se=0),Math.abs(ae)<Math.abs(se)&&(ae=0));let J=A+ae,Re=b+se,fe,me,ue,z;if(o.value.length===1||P)if(w){const{xRange:re,yRange:he}=Ad({left:J,top:Re,width:M,height:T,rotate:w});fe=re[0],me=re[1],ue=he[0],z=he[1]}else d.type==="line"?(fe=J,me=J+Math.max(d.start[0],d.end[0]),ue=Re,z=Re+Math.max(d.start[1],d.end[1])):(fe=J,me=J+M,ue=Re,z=Re+T);else{const re=[],he=[],ce=[],pe=[];for(let xe=0;xe<R.length;xe++){const _e=R[xe],Ae=_e.left+ae,Be=_e.top+se,Te=_e.width,De="height"in _e&&_e.height?_e.height:0,ye="rotate"in _e&&_e.rotate?_e.rotate:0;if("rotate"in _e&&_e.rotate){const{xRange:Le,yRange:Pe}=Ad({left:Ae,top:Be,width:Te,height:De,rotate:ye});re.push(Le[0]),he.push(Pe[0]),ce.push(Le[1]),pe.push(Pe[1])}else _e.type==="line"?(re.push(Ae),he.push(Be),ce.push(Ae+Math.max(_e.start[0],_e.end[0])),pe.push(Be+Math.max(_e.start[1],_e.end[1]))):(re.push(Ae),he.push(Be),ce.push(Ae+Te),pe.push(Be+De))}fe=Math.min(...re),me=Math.max(...ce),ue=Math.min(...he),z=Math.max(...pe)}const F=fe+(me-fe)/2,j=ue+(z-ue)/2,ie=[];let q=!1,te=!1;for(let re=0;re<W.length;re++){const{value:he,range:ce}=W[re],pe=Math.min(...ce,fe,me),xe=Math.max(...ce,fe,me);Math.abs(ue-he)<x&&!te&&(Re=Re-(ue-he),te=!0,ie.push({type:"horizontal",axis:{x:pe-50,y:he},length:xe-pe+100})),Math.abs(z-he)<x&&!te&&(Re=Re-(z-he),te=!0,ie.push({type:"horizontal",axis:{x:pe-50,y:he},length:xe-pe+100})),Math.abs(j-he)<x&&!te&&(Re=Re-(j-he),te=!0,ie.push({type:"horizontal",axis:{x:pe-50,y:he},length:xe-pe+100}))}for(let re=0;re<N.length;re++){const{value:he,range:ce}=N[re],pe=Math.min(...ce,ue,z),xe=Math.max(...ce,ue,z);Math.abs(fe-he)<x&&!q&&(J=J-(fe-he),q=!0,ie.push({type:"vertical",axis:{x:he,y:pe-50},length:xe-pe+100})),Math.abs(me-he)<x&&!q&&(J=J-(me-he),q=!0,ie.push({type:"vertical",axis:{x:he,y:pe-50},length:xe-pe+100})),Math.abs(F-he)<x&&!q&&(J=J-(F-he),q=!0,ie.push({type:"vertical",axis:{x:he,y:pe-50},length:xe-pe+100}))}if(t.value=ie,o.value.length===1||P)e.value=e.value.map(re=>re.id===d.id?{...re,left:J,top:Re}:re);else{const re=e.value.find(he=>he.id===d.id);if(!re)return;e.value=e.value.map(he=>o.value.includes(he.id)?he.id===d.id?{...he,left:J,top:Re}:{...he,left:he.left+(J-re.left),top:he.top+(Re-re.top)}:he)}},K=B=>{p=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const D=B instanceof MouseEvent?B.pageX:B.changedTouches[0].pageX,G=B instanceof MouseEvent?B.pageY:B.changedTouches[0].pageY;L===D&&k===G||(r.updateSlide({elements:e.value}),c())};h?(document.ontouchmove=Q,document.ontouchend=K):(document.onmousemove=Q,document.onmouseup=K)}}},Qie=e=>{const t=st(),{canvasScale:n}=Xe(ft()),{ctrlOrShiftKeyActive:r}=Xe(Ea()),{addHistorySnapshot:o}=Ht();return{dragLineElement:(a,s,l)=>{let c=!0;const u=8,f=a.pageX,d=a.pageY,h=[];for(let p=0;p<e.value.length;p++){const v=e.value[p];if(v.type==="line"||v.rotate)continue;const m=v.left,x=v.top,y=v.width,R=v.height,A=m+y,b=x+R,M=x+R/2,T=m+y/2,w={x:T,y:x},L={x:T,y:b},k={x:m,y:M},E={x:A,y:M},P={x:m,y:x},W={x:A,y:x},N={x:m,y:b},_={x:A,y:b};h.push(w,L,k,E,P,W,N,_)}document.onmousemove=p=>{if(!c)return;const v=p.pageX,m=p.pageY,x=(v-f)/n.value,y=(m-d)/n.value;let R=s.left+s.start[0],A=s.top+s.start[1],b=s.left+s.end[0],M=s.top+s.end[1];const T=s.broken||s.broken2||s.curve||[0,0];let w=s.left+T[0],L=s.top+T[1];const[k,E]=s.cubic||[[0,0],[0,0]];let P=s.left+k[0],W=s.top+k[1],N=s.left+E[0],_=s.top+E[1];if(l===Jo.START){R=R+x,A=A+y,Math.abs(R-b)<u&&(R=b),Math.abs(A-M)<u&&(A=M);for(const K of h){const{x:B,y:D}=K;if(Math.abs(B-R)<u&&Math.abs(D-A)<u){R=B,A=D;break}}}else if(l===Jo.END){b=b+x,M=M+y,Math.abs(R-b)<u&&(b=R),Math.abs(A-M)<u&&(M=A);for(const K of h){const{x:B,y:D}=K;if(Math.abs(B-b)<u&&Math.abs(D-M)<u){b=B,M=D;break}}}else l===Jo.C?(w=w+x,L=L+y,Math.abs(w-R)<u&&(w=R),Math.abs(L-A)<u&&(L=A),Math.abs(w-b)<u&&(w=b),Math.abs(L-M)<u&&(L=M),Math.abs(w-(R+b)/2)<u&&Math.abs(L-(A+M)/2)<u&&(w=(R+b)/2,L=(A+M)/2)):l===Jo.C1?(P=P+x,W=W+y,Math.abs(P-R)<u&&(P=R),Math.abs(W-A)<u&&(W=A),Math.abs(P-b)<u&&(P=b),Math.abs(W-M)<u&&(W=M)):l===Jo.C2&&(N=N+x,_=_+y,Math.abs(N-R)<u&&(N=R),Math.abs(_-A)<u&&(_=A),Math.abs(N-b)<u&&(N=b),Math.abs(_-M)<u&&(_=M));const C=Math.min(R,b),X=Math.min(A,M),Y=Math.max(R,b),$=Math.max(A,M),le=[0,0],Q=[Y-C,$-X];R>b&&(le[0]=Y-C,Q[0]=0),A>M&&(le[1]=$-X,Q[1]=0),e.value=e.value.map(K=>{if(K.id===s.id){const B={...K,left:C,top:X,start:le,end:Q};return l===Jo.START||l===Jo.END?(r.value?(s.broken&&(B.broken=[w-C,L-X]),s.curve&&(B.curve=[w-C,L-X]),s.cubic&&(B.cubic=[[P-C,W-X],[N-C,_-X]])):(s.broken&&(B.broken=[(le[0]+Q[0])/2,(le[1]+Q[1])/2]),s.curve&&(B.curve=[(le[0]+Q[0])/2,(le[1]+Q[1])/2]),s.cubic&&(B.cubic=[[(le[0]+Q[0])/2,(le[1]+Q[1])/2],[(le[0]+Q[0])/2,(le[1]+Q[1])/2]])),s.broken2&&(B.broken2=[(le[0]+Q[0])/2,(le[1]+Q[1])/2])):l===Jo.C?(s.broken&&(B.broken=[w-C,L-X]),s.curve&&(B.curve=[w-C,L-X]),s.broken2&&(Y-C>=$-X?B.broken2=[w-C,B.broken2[1]]:B.broken2=[B.broken2[0],L-X])):s.cubic&&(B.cubic=[[P-C,W-X],[N-C,_-X]]),B}return K})},document.onmouseup=p=>{c=!1,document.onmousemove=null,document.onmouseup=null;const v=p.pageX,m=p.pageY;f===v&&d===m||(t.updateSlide({elements:e.value}),o())}}}},Zie=(e,t)=>{const n=st(),{addHistorySnapshot:r}=Ht();return{moveShapeKeypoint:(i,a,s=0)=>{const l=!(i instanceof MouseEvent);if(l&&(!i.changedTouches||!i.changedTouches[0]))return;let c=!0;const u=l?i.changedTouches[0].pageX:i.pageX,f=l?i.changedTouches[0].pageY:i.pageY,d=a.keypoints,h=zu[a.pathFormula];let p=null;if("editable"in h&&h.editable){const x=h.getBaseSize[s],y=h.range[s],R=h.relative[s],A=d[s],b=x(a.width,a.height),M=b*A,[T,w]=y;p={baseSize:b,originPos:M,min:T,max:w,relative:R}}const v=x=>{if(!c)return;const y=x instanceof MouseEvent?x.pageX:x.changedTouches[0].pageX,R=x instanceof MouseEvent?x.pageY:x.changedTouches[0].pageY,A=(y-u)/t.value,b=(R-f)/t.value;e.value=e.value.map(M=>{if(M.id===a.id&&p){const{baseSize:T,originPos:w,min:L,max:k,relative:E}=p,P=M;let W=0;E==="center"?W=(w-A*2)/T:E==="left"?W=(w+A)/T:E==="right"?W=(w-A)/T:E==="top"?W=(w+b)/T:E==="bottom"?W=(w-b)/T:E==="left_bottom"?W=(w+A)/T:E==="right_bottom"?W=(w-A)/T:E==="top_right"?W=(w+b)/T:E==="bottom_right"&&(W=(w-b)/T),W<L&&(W=L),W>k&&(W=k);let N=[];return Array.isArray(d)?(N=[...d],N[s]=W):N=[W],{...M,keypoints:N,path:h.formula(P.width,P.height,N)}}return M})},m=x=>{c=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null;const y=x instanceof MouseEvent?x.pageX:x.changedTouches[0].pageX,R=x instanceof MouseEvent?x.pageY:x.changedTouches[0].pageY;u===y&&f===R||(n.updateSlide({elements:e.value}),r())};l?(document.ontouchmove=v,document.ontouchend=m):(document.onmousemove=v,document.onmouseup=m)}}},Bie=e=>{const t=ft(),{canvasScale:n,creatingElement:r}=Xe(t),o=u=>{const{start:f,end:d}=u;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,v]=f,[m,x]=d,y=Math.min(p,m),R=Math.max(p,m),A=Math.min(v,x),b=Math.max(v,x),M=(y-h.x)/n.value,T=(A-h.y)/n.value,w=(R-y)/n.value,L=(b-A)/n.value;return{left:M,top:T,width:w,height:L}},i=u=>{const{start:f,end:d}=u;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,v]=f,[m,x]=d,y=Math.min(p,m),R=Math.max(p,m),A=Math.min(v,x),b=Math.max(v,x),M=(y-h.x)/n.value,T=(A-h.y)/n.value,w=(R-y)/n.value,L=(b-A)/n.value;return{left:M,top:T,start:[p===y?0:w,v===A?0:L],end:[m===y?0:w,x===A?0:L]}},{createTextElement:a,createShapeElement:s,createLineElement:l}=Ju();return{formatCreateSelection:o,insertElementFromCreateSelection:u=>{if(!r.value)return;const f=r.value.type;if(f==="text"){const d=o(u);d&&a(d,{vertical:r.value.vertical})}else if(f==="shape"){const d=o(u);d&&s(d,r.value.data)}else if(f==="line"){const d=i(u);d&&l(d,r.value.data)}t.setCreatingElement(null)}}},v2=()=>{const e=st(),{activeElementIdList:t,activeElementList:n}=Xe(ft()),{currentSlide:r,viewportRatio:o,viewportSize:i}=Xe(e),{addHistorySnapshot:a}=Ht();return{alignElementToCanvas:l=>{const c=i.value,u=i.value*o.value,{minX:f,maxX:d,minY:h,maxY:p}=js(n.value),v=JSON.parse(JSON.stringify(r.value.elements));for(const m of v)if(t.value.includes(m.id)){if(l===nn.CENTER){const x=h+(p-h)/2-u/2,y=f+(d-f)/2-c/2;m.top=m.top-x,m.left=m.left-y}if(l===nn.TOP){const x=h-0;m.top=m.top-x}else if(l===nn.VERTICAL){const x=h+(p-h)/2-u/2;m.top=m.top-x}else if(l===nn.BOTTOM){const x=p-u;m.top=m.top-x}else if(l===nn.LEFT){const x=f-0;m.left=m.left-x}else if(l===nn.HORIZONTAL){const x=f+(d-f)/2-c/2;m.left=m.left-x}else if(l===nn.RIGHT){const x=d-c;m.left=m.left-x}}e.updateSlide({elements:v}),a()}}},Pc=e=>({shadowStyle:Me(()=>{if(e.value){const{h:n,v:r,blur:o,color:i}=e.value;return`${n}px ${r}px ${o}px ${i}`}return""})}),g2=(e,t)=>({flipStyle:Me(()=>{let r="";return e.value&&t.value?r="rotateX(180deg) rotateY(180deg)":t.value?r="rotateX(180deg)":e.value&&(r="rotateY(180deg)"),r})});var DI=(e=>(e.RECT="rect",e.ELLIPSE="ellipse",e.POLYGON="polygon",e))(DI||{});const eb={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`}},h5=e=>{const t=Me(()=>{let r=eb.rect;if(e.value.clip){const o=e.value.clip.shape||DI.RECT;r=eb[o]}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=Me(()=>{if(!e.value.clip)return{top:"0",left:"0",width:"100%",height:"100%"};const[r,o]=e.value.clip.range,i=(o[0]-r[0])/100,a=(o[1]-r[1])/100,s=r[0]/i,l=r[1]/a;return{left:-s+"%",top:-l+"%",width:100/i+"%",height:100/a+"%"}});return{clipShape:t,imgPosition:n}},KI=e=>({filter:Me(()=>{if(!e.value)return"";let n="";const r=Object.keys(e.value);for(const o of r)n+=`${o}(${e.value[o]}) `;return n})}),e0=e=>{const t=Me(()=>{var i;return((i=e.value)==null?void 0:i.width)??0}),n=Me(()=>{var i;return((i=e.value)==null?void 0:i.style)||"solid"}),r=Me(()=>{var i;return((i=e.value)==null?void 0:i.color)||"#d14424"}),o=Me(()=>{if(n.value!=="dashed")return"0 0";const i=t.value;return i<=6?`${i*4.5} ${i*2}`:`${i*4} ${i*1.5}`});return{outlineWidth:t,outlineStyle:n,outlineColor:r,strokeDashArray:o}},Die=["width","height"],Kie=["rx","ry","width","height","stroke","stroke-width","stroke-dasharray"],Hie=Ee({__name:"ImageRectOutline",props:{width:{},height:{},outline:{},radius:{default:"0"}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=e0(Bd(t,"outline"));return(i,a)=>i.outline?(U(),ee("svg",{key:0,class:"image-rect-outline",overflow:"visible",width:i.width,height:i.height},[V("rect",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",rx:i.radius,ry:i.radius,width:i.width,height:i.height,stroke:H(r),"stroke-width":H(n),"stroke-dasharray":H(o)},null,8,Kie)],8,Die)):Qe("",!0)}}),Gie=Ue(Hie,[["__scopeId","data-v-09a0319c"]]),zie=["width","height"],Jie=["cx","cy","rx","ry","stroke","stroke-width","stroke-dasharray"],$ie=Ee({__name:"ImageEllipseOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=e0(Bd(t,"outline"));return(i,a)=>i.outline?(U(),ee("svg",{key:0,class:"image-ellipse-outline",overflow:"visible",width:i.width,height:i.height},[V("ellipse",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",cx:i.width/2,cy:i.height/2,rx:i.width/2,ry:i.height/2,stroke:H(r),"stroke-width":H(n),"stroke-dasharray":H(o)},null,8,Jie)],8,zie)):Qe("",!0)}}),jie=Ue($ie,[["__scopeId","data-v-19e68d74"]]),qie=["width","height"],eae=["d","stroke","stroke-width","stroke-dasharray"],tae=Ee({__name:"ImagePolygonOutline",props:{width:{},height:{},createPath:{type:Function},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=e0(Bd(t,"outline"));return(i,a)=>i.outline?(U(),ee("svg",{key:0,class:"image-polygon-outline",overflow:"visible",width:i.width,height:i.height},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:i.createPath(i.width,i.height),stroke:H(r),"stroke-width":H(n),"stroke-dasharray":H(o)},null,8,eae)],8,qie)):Qe("",!0)}}),nae=Ue(tae,[["__scopeId","data-v-a036b0a3"]]),rae={class:"image-outline"},HI=Ee({__name:"index",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo),{clipShape:r}=h5(n);return(o,i)=>(U(),ee("div",rae,[H(r).type==="rect"?(U(),ke(Gie,{key:0,width:o.elementInfo.width,height:o.elementInfo.height,radius:H(r).radius,outline:o.elementInfo.outline},null,8,["width","height","radius","outline"])):H(r).type==="ellipse"?(U(),ke(jie,{key:1,width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"])):H(r).type==="polygon"?(U(),ke(nae,{key:2,width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline,createPath:H(r).createPath},null,8,["width","height","outline","createPath"])):Qe("",!0)]))}}),GI=e=>(zt("data-v-31b3b0f9"),e=e(),Jt(),e),oae=["src"],iae=["src"],aae=["onMousedown"],sae=GI(()=>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)),lae=[sae],cae=["onMousedown"],uae=GI(()=>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)),fae=[uae],dae=Ee({__name:"ImageClipHandler",props:{src:{},clipPath:{},width:{},height:{},top:{},left:{},rotate:{},clipData:{}},emits:["clip"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:o}=Xe(ft()),{ctrlOrShiftKeyActive:i}=Xe(Ea()),a=ve({top:"0",left:"0"}),s=ve(!1),l=ve(null),c=()=>{const[w,L]=n.clipData?n.clipData.range:[[0,0],[100,100]],k=(L[0]-w[0])/100,E=(L[1]-w[1])/100,P=w[0]/k,W=w[1]/E;return{widthScale:k,heightScale:E,left:P,top:W}},u=Me(()=>{const{widthScale:w,heightScale:L,left:k,top:E}=c();return{left:-k,top:-E,width:100/w,height:100/L}}),f=Me(()=>({top:u.value.top+"%",left:u.value.left+"%",width:u.value.width+"%",height:u.value.height+"%"})),d=ve({top:0,left:0,width:0,height:0}),h=Me(()=>{const{top:w,left:L,width:k,height:E}=d.value;return{top:w+"%",left:L+"%",width:k+"%",height:E+"%"}}),p=Me(()=>{const w=u.value.width,L=u.value.height,{top:k,left:E,width:P,height:W}=d.value;return{left:-E*(100/P)+"%",top:-k*(100/W)+"%",width:w/P*100+"%",height:L/W*100+"%"}}),v=()=>{const{left:w,top:L}=c();d.value={left:w,top:L,width:100,height:100},a.value={top:-L+"%",left:-w+"%"}},m=()=>{if(s.value)return;if(!l.value){r("clip",null);return}const{left:w,top:L}=c(),k={left:(d.value.left-w)/100*n.width,top:(d.value.top-L)/100*n.height,width:(d.value.width-100)/100*n.width,height:(d.value.height-100)/100*n.height},E={range:l.value,position:k};r("clip",E)},x=w=>{w.key.toUpperCase()===gt.ENTER&&m()};Qt(()=>{v(),document.addEventListener("keydown",x)}),Sn(()=>{document.removeEventListener("keydown",x)});const y=()=>{const w={left:parseInt(p.value.left),top:parseInt(p.value.top),width:parseInt(p.value.width),height:parseInt(p.value.height)},L=100/w.width,k=100/w.height,E=[-w.left*L,-w.top*k],P=[L*100+E[0],k*100+E[1]];l.value=[E,P]},R=w=>{s.value=!0;let L=!0;const k=w.pageX,E=w.pageY,P=u.value,W={...d.value};document.onmousemove=N=>{if(!L)return;const _=N.pageX,C=N.pageY,X=(_-k)/o.value,Y=(C-E)/o.value,$=Math.sqrt(X*X+Y*Y),Q=Math.atan2(Y,X)-n.rotate/180*Math.PI,K=$*Math.cos(Q)/n.width*100,B=$*Math.sin(Q)/n.height*100;let D=W.left+K,G=W.top+B;D<0?D=0:D+W.width>P.width&&(D=P.width-W.width),G<0?G=0:G+W.height>P.height&&(G=P.height-W.height),d.value={...d.value,left:D,top:G}},document.onmouseup=()=>{L=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>{s.value=!1},0)}},A=(w,L)=>{s.value=!0;let k=!0;const E=50/n.width*100,P=50/n.height*100,W=w.pageX,N=w.pageY,_=u.value,C={...d.value},X=d.value.width/d.value.height;document.onmousemove=Y=>{if(!k)return;const $=Y.pageX,le=Y.pageY,Q=($-W)/o.value,K=(le-N)/o.value,B=Math.sqrt(Q*Q+K*K),G=Math.atan2(K,Q)-n.rotate/180*Math.PI;let ae=B*Math.cos(G)/n.width*100,se=B*Math.sin(G)/n.height*100;i.value&&((L===mt.RIGHT_BOTTOM||L===mt.LEFT_TOP)&&(se=ae/X),(L===mt.LEFT_BOTTOM||L===mt.RIGHT_TOP)&&(se=-ae/X));let J,Re,fe,me;L===mt.LEFT_TOP?(C.left+ae<0&&(ae=-C.left),C.top+se<0&&(se=-C.top),C.width-ae<E&&(ae=C.width-E),C.height-se<P&&(se=C.height-P),fe=C.width-ae,me=C.height-se,J=C.left+ae,Re=C.top+se):L===mt.RIGHT_TOP?(C.left+C.width+ae>_.width&&(ae=_.width-(C.left+C.width)),C.top+se<0&&(se=-C.top),C.width+ae<E&&(ae=E-C.width),C.height-se<P&&(se=C.height-P),fe=C.width+ae,me=C.height-se,J=C.left,Re=C.top+se):L===mt.LEFT_BOTTOM?(C.left+ae<0&&(ae=-C.left),C.top+C.height+se>_.height&&(se=_.height-(C.top+C.height)),C.width-ae<E&&(ae=C.width-E),C.height+se<P&&(se=P-C.height),fe=C.width-ae,me=C.height+se,J=C.left+ae,Re=C.top):L===mt.RIGHT_BOTTOM?(C.left+C.width+ae>_.width&&(ae=_.width-(C.left+C.width)),C.top+C.height+se>_.height&&(se=_.height-(C.top+C.height)),C.width+ae<E&&(ae=E-C.width),C.height+se<P&&(se=P-C.height),fe=C.width+ae,me=C.height+se,J=C.left,Re=C.top):L===mt.TOP?(C.top+se<0&&(se=-C.top),C.height-se<P&&(se=C.height-P),fe=C.width,me=C.height-se,J=C.left,Re=C.top+se):L===mt.BOTTOM?(C.top+C.height+se>_.height&&(se=_.height-(C.top+C.height)),C.height+se<P&&(se=P-C.height),fe=C.width,me=C.height+se,J=C.left,Re=C.top):L===mt.LEFT?(C.left+ae<0&&(ae=-C.left),C.width-ae<E&&(ae=C.width-E),fe=C.width-ae,me=C.height,J=C.left+ae,Re=C.top):(C.left+C.width+ae>_.width&&(ae=_.width-(C.left+C.width)),C.width+ae<E&&(ae=E-C.width),me=C.height,fe=C.width+ae,J=C.left,Re=C.top),d.value={left:J,top:Re,width:fe,height:me}},document.onmouseup=()=>{k=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>s.value=!1,0)}},b=Me(()=>{const w="rotate-",L=n.rotate;return L>-22.5&&L<=22.5?w+0:L>22.5&&L<=67.5?w+45:L>67.5&&L<=112.5?w+90:L>112.5&&L<=157.5?w+135:L>157.5||L<=-157.5?w+0:L>-157.5&&L<=-112.5?w+45:L>-112.5&&L<=-67.5?w+90:L>-67.5&&L<=-22.5?w+135:w+0}),M=[mt.LEFT_TOP,mt.RIGHT_TOP,mt.LEFT_BOTTOM,mt.RIGHT_BOTTOM],T=[mt.TOP,mt.BOTTOM,mt.LEFT,mt.RIGHT];return(w,L)=>{const k=bn("click-outside");return He((U(),ee("div",{class:"image-clip-handler",style:we(a.value)},[V("img",{class:"bottom-img",src:w.src,draggable:!1,alt:"",style:we(f.value)},null,12,oae),V("div",{class:"top-image-content",style:we({...h.value,clipPath:w.clipPath})},[V("img",{class:"top-img",src:w.src,draggable:!1,alt:"",style:we(p.value)},null,12,iae)],4),V("div",{class:"operate",style:we(h.value),onMousedown:L[0]||(L[0]=Nt(E=>R(E),["stop"]))},[(U(),ee(We,null,nt(M,E=>V("div",{class:Je(["clip-point",E,b.value]),key:E,onMousedown:Nt(P=>A(P,E),["stop"])},lae,42,aae)),64)),(U(),ee(We,null,nt(T,E=>V("div",{class:Je(["clip-point",E,b.value]),key:E,onMousedown:Nt(P=>A(P,E),["stop"])},fae,42,cae)),64))],36)],4)),[[k,m]])}}}),hae=Ue(dae,[["__scopeId","data-v-31b3b0f9"]]),pae=["src"],vae=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{clipingImageElementId:o}=Xe(n),i=Me(()=>o.value===t.elementInfo.id),{addHistorySnapshot:a}=Ht(),s=Me(()=>t.elementInfo.shadow),{shadowStyle:l}=Pc(s),c=Me(()=>t.elementInfo.flipH),u=Me(()=>t.elementInfo.flipV),{flipStyle:f}=g2(c,u),d=Me(()=>t.elementInfo),{clipShape:h,imgPosition:p}=h5(d),v=Me(()=>t.elementInfo.filters),{filter:m}=KI(v),x=R=>{t.elementInfo.lock||(R.stopPropagation(),t.selectElement(R,t.elementInfo))},y=R=>{if(n.setClipingImageElementId(""),!R)return;const{range:A,position:b}=R,M=t.elementInfo.clip||{shape:"rect",range:[[0,0],[100,100]]},T=t.elementInfo.left+b.left,w=t.elementInfo.top+b.top,L=t.elementInfo.width+b.width,k=t.elementInfo.height+b.height;let E=0,P=0;if(t.elementInfo.rotate){const N=T+L/2-(t.elementInfo.left+t.elementInfo.width/2),_=-(w+k/2-(t.elementInfo.top+t.elementInfo.height/2)),C=-t.elementInfo.rotate*Math.PI/180,X=N*Math.cos(C)-_*Math.sin(C),Y=N*Math.sin(C)+_*Math.cos(C);E=X-N,P=-(Y-_)}const W={clip:{...M,range:A},left:T+E,top:w+P,width:L,height:k};r.updateElement({id:t.elementInfo.id,props:W}),a()};return(R,A)=>{const b=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-image",{lock:R.elementInfo.lock}]),style:we({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:we({transform:`rotate(${R.elementInfo.rotate}deg)`})},[i.value?(U(),ke(hae,{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:H(h).style,onClip:A[0]||(A[0]=M=>y(M))},null,8,["src","clipData","width","height","top","left","rotate","clipPath"])):He((U(),ee("div",{key:1,class:"element-content",style:we({filter:H(l)?`drop-shadow(${H(l)})`:"",transform:H(f)}),onMousedown:A[2]||(A[2]=M=>x(M)),onTouchstart:A[3]||(A[3]=M=>x(M))},[O(HI,{elementInfo:R.elementInfo},null,8,["elementInfo"]),V("div",{class:"image-content",style:we({clipPath:H(h).style})},[V("img",{src:R.elementInfo.src,draggable:!1,style:we({top:H(p).top,left:H(p).left,width:H(p).width,height:H(p).height,filter:H(m)}),onDragstart:A[1]||(A[1]=Nt(()=>{},["prevent"])),alt:""},null,44,pae),R.elementInfo.colorMask?(U(),ee("div",{key:0,class:"color-mask",style:we({backgroundColor:R.elementInfo.colorMask})},null,4)):Qe("",!0)],4)],36)),[[b,R.contextmenus]])],4)],6)}}}),zI=Ue(vae,[["__scopeId","data-v-86b9f3af"]]),gae=["width","height"],mae=["d","stroke","stroke-width","stroke-dasharray"],Aae=Ee({__name:"ElementOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=e0(Bd(t,"outline"));return(i,a)=>i.outline?(U(),ee("svg",{key:0,class:"element-outline",overflow:"visible",width:i.width,height:i.height},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:`M0,0 L${i.width},0 L${i.width},${i.height} L0,${i.height} Z`,stroke:H(r),"stroke-width":H(n),"stroke-dasharray":H(o)},null,8,mae)],8,gae)):Qe("",!0)}}),m2=Ue(Aae,[["__scopeId","data-v-e2ef58f5"]]),oo=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},up=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t};let tb=null;const Ks=function(e,t,n){let r=tb||(tb=document.createRange());return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},Rae=function(){tb=null},Uu=function(e,t,n,r){return n&&(oT(e,t,n,r,-1)||oT(e,t,n,r,1))},yae=/^(img|br|input|textarea|hr)$/i;function oT(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:ls(e))){let i=e.parentNode;if(!i||i.nodeType!=1||Kp(e)||yae.test(e.nodeName)||e.contentEditable=="false")return!1;t=oo(e)+(o<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(o<0?-1:0)],e.contentEditable=="false")return!1;t=o<0?ls(e):0}else return!1}}function ls(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function bae(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=ls(e)}else if(e.parentNode&&!Kp(e))t=oo(e),e=e.parentNode;else return null}}function xae(e,t){for(;;){if(e.nodeType==3&&t<e.nodeValue.length)return e;if(e.nodeType==1&&t<e.childNodes.length){if(e.contentEditable=="false")return null;e=e.childNodes[t],t=0}else if(e.parentNode&&!Kp(e))t=oo(e)+1,e=e.parentNode;else return null}}function Sae(e,t,n){for(let r=t==0,o=t==ls(e);r||o;){if(e==n)return!0;let i=oo(e);if(e=e.parentNode,!e)return!1;r=r&&i==0,o=o&&i==ls(e)}}function Kp(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const A2=function(e){return e.focusNode&&Uu(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function iu(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function Mae(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function wae(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}const ys=typeof navigator<"u"?navigator:null,iT=typeof document<"u"?document:null,Cc=ys&&ys.userAgent||"",nb=/Edge\/(\d+)/.exec(Cc),JI=/MSIE \d/.exec(Cc),rb=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Cc),si=!!(JI||rb||nb),cc=JI?document.documentMode:rb?+rb[1]:nb?+nb[1]:0,Ia=!si&&/gecko\/(\d+)/i.test(Cc);Ia&&+(/Firefox\/(\d+)/.exec(Cc)||[0,0])[1];const ob=!si&&/Chrome\/(\d+)/.exec(Cc),xo=!!ob,$I=ob?+ob[1]:0,Vo=!si&&!!ys&&/Apple Computer/.test(ys.vendor),Wd=Vo&&(/Mobile\/\w+/.test(Cc)||!!ys&&ys.maxTouchPoints>2),zi=Wd||(ys?/Mac/.test(ys.platform):!1),Lae=ys?/Win/.test(ys.platform):!1,La=/Android \d/.test(Cc),Hp=!!iT&&"webkitFontSmoothing"in iT.documentElement.style,Oae=Hp?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Tae(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 Qs(e,t){return typeof e=="number"?e:e[t]}function kae(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 aT(e,t,n){let r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument;for(let a=n||e.dom;a;a=up(a)){if(a.nodeType!=1)continue;let s=a,l=s==i.body,c=l?Tae(i):kae(s),u=0,f=0;if(t.top<c.top+Qs(r,"top")?f=-(c.top-t.top+Qs(o,"top")):t.bottom>c.bottom-Qs(r,"bottom")&&(f=t.bottom-t.top>c.bottom-c.top?t.top+Qs(o,"top")-c.top:t.bottom-c.bottom+Qs(o,"bottom")),t.left<c.left+Qs(r,"left")?u=-(c.left-t.left+Qs(o,"left")):t.right>c.right-Qs(r,"right")&&(u=t.right-c.right+Qs(o,"right")),u||f)if(l)i.defaultView.scrollBy(u,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),u&&(s.scrollLeft+=u);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 Nae(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,o;for(let i=(t.left+t.right)/2,a=n+1;a<Math.min(innerHeight,t.bottom);a+=5){let s=e.root.elementFromPoint(i,a);if(!s||s==e.dom||!e.dom.contains(s))continue;let l=s.getBoundingClientRect();if(l.top>=n-20){r=s,o=l.top;break}}return{refDOM:r,refTop:o,stack:jI(e.dom)}}function jI(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=up(r));return t}function Pae({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;qI(n,r==0?0:r-t)}function qI(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:o,left:i}=e[n];r.scrollTop!=o+t&&(r.scrollTop=o+t),r.scrollLeft!=i&&(r.scrollLeft=i)}}let Tf=null;function Cae(e){if(e.setActive)return e.setActive();if(Tf)return e.focus(Tf);let t=jI(e);e.focus(Tf==null?{get preventScroll(){return Tf={preventScroll:!0},!0}}:void 0),Tf||(Tf=!1,qI(t,0))}function eF(e,t){let n,r=2e8,o,i=0,a=t.top,s=t.top,l,c;for(let u=e.firstChild,f=0;u;u=u.nextSibling,f++){let d;if(u.nodeType==1)d=u.getClientRects();else if(u.nodeType==3)d=Ks(u).getClientRects();else continue;for(let h=0;h<d.length;h++){let p=d[h];if(p.top<=a&&p.bottom>=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<t.left?t.left-p.right:0;if(v<r){n=u,r=v,o=v&&n.nodeType==3?{left:p.right<t.left?p.right:p.left,top:t.top}:t,u.nodeType==1&&v&&(i=f+(t.left>=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!l&&p.left<=t.left&&p.right>=t.left&&(l=u,c={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)&&(i=f+1)}}return!n&&l&&(n=l,o=c,r=0),n&&n.nodeType==3?Iae(n,o):!n||r&&n.nodeType==1?{node:e,offset:i}:eF(n,o)}function Iae(e,t){let n=e.nodeValue.length,r=document.createRange();for(let o=0;o<n;o++){r.setEnd(e,o+1),r.setStart(e,o);let i=Ul(r,1);if(i.top!=i.bottom&&p5(t,i))return{node:e,offset:o+(t.left>=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}function p5(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function Fae(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}function _ae(e,t,n){let{node:r,offset:o}=eF(t,n),i=-1;if(r.nodeType==1&&!r.firstChild){let a=r.getBoundingClientRect();i=a.left!=a.right&&n.left>(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,o,i)}function Eae(e,t,n,r){let o=-1;for(let i=t,a=!1;i!=e.dom;){let s=e.docView.nearestDesc(i,!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?o=s.posBefore:(!a&&l.right<r.left||l.bottom<r.top)&&(o=s.posAfter),a=!0),!s.contentDOM&&o<0&&!s.node.isText)return(s.node.isBlock?r.top<(l.top+l.bottom)/2:r.left<(l.left+l.right)/2)?s.posBefore:s.posAfter}i=s.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,-1)}function tF(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let o=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),i=o;;){let a=e.childNodes[i];if(a.nodeType==1){let s=a.getClientRects();for(let l=0;l<s.length;l++){let c=s[l];if(p5(t,c))return tF(a,t,c)}}if((i=(i+1)%r)==o)break}return e}function Xae(e,t){let n=e.dom.ownerDocument,r,o=0,i=wae(n,t.left,t.top);i&&({node:r,offset:o}=i);let a=(e.root.elementFromPoint?e.root:n).elementFromPoint(t.left,t.top),s;if(!a||!e.dom.contains(a.nodeType!=1?a.parentNode:a)){let c=e.dom.getBoundingClientRect();if(!p5(t,c)||(a=tF(e.dom,t,c),!a))return null}if(Vo)for(let c=a;r&&c;c=up(c))c.draggable&&(r=void 0);if(a=Fae(a,t),r){if(Ia&&r.nodeType==1&&(o=Math.min(o,r.childNodes.length),o<r.childNodes.length)){let u=r.childNodes[o],f;u.nodeName=="IMG"&&(f=u.getBoundingClientRect()).right<=t.left&&f.bottom>t.top&&o++}let c;Hp&&o&&r.nodeType==1&&(c=r.childNodes[o-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=t.top&&o--,r==e.dom&&o==r.childNodes.length-1&&r.lastChild.nodeType==1&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(o==0||r.nodeType!=1||r.childNodes[o-1].nodeName!="BR")&&(s=Eae(e,r,o,t))}s==null&&(s=_ae(e,a,t));let l=e.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function sT(e){return e.top<e.bottom||e.left<e.right}function Ul(e,t){let n=e.getClientRects();if(n.length){let r=n[t<0?0:n.length-1];if(sT(r))return r}return Array.prototype.find.call(n,sT)||e.getBoundingClientRect()}const Wae=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function nF(e,t,n){let{node:r,offset:o,atom:i}=e.docView.domFromPos(t,n<0?-1:1),a=Hp||Ia;if(r.nodeType==3)if(a&&(Wae.test(r.nodeValue)||(n<0?!o:o==r.nodeValue.length))){let l=Ul(Ks(r,o,o),n);if(Ia&&o&&/\s/.test(r.nodeValue[o-1])&&o<r.nodeValue.length){let c=Ul(Ks(r,o-1,o-1),-1);if(c.top==l.top){let u=Ul(Ks(r,o,o+1),-1);if(u.top!=l.top)return L0(u,u.left<c.left)}}return l}else{let l=o,c=o,u=n<0?1:-1;return n<0&&!o?(c++,u=-1):n>=0&&o==r.nodeValue.length?(l--,u=1):n<0?l--:c++,L0(Ul(Ks(r,l,c),u),u<0)}if(!e.state.doc.resolve(t-(i||0)).parent.inlineContent){if(i==null&&o&&(n<0||o==ls(r))){let l=r.childNodes[o-1];if(l.nodeType==1)return By(l.getBoundingClientRect(),!1)}if(i==null&&o<ls(r)){let l=r.childNodes[o];if(l.nodeType==1)return By(l.getBoundingClientRect(),!0)}return By(r.getBoundingClientRect(),n>=0)}if(i==null&&o&&(n<0||o==ls(r))){let l=r.childNodes[o-1],c=l.nodeType==3?Ks(l,ls(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(c)return L0(Ul(c,1),!1)}if(i==null&&o<ls(r)){let l=r.childNodes[o];for(;l.pmViewDesc&&l.pmViewDesc.ignoreForCoords;)l=l.nextSibling;let c=l?l.nodeType==3?Ks(l,0,a?0:1):l.nodeType==1?l:null:null;if(c)return L0(Ul(c,-1),!0)}return L0(Ul(r.nodeType==3?Ks(r):r,-n),n>=0)}function L0(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 By(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 rF(e,t,n){let r=e.state,o=e.root.activeElement;r!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),o!=e.dom&&o&&o.focus()}}function Vae(e,t,n){let r=t.selection,o=n=="up"?r.$from:r.$to;return rF(e,t,()=>{let{node:i}=e.docView.domFromPos(o.pos,n=="up"?-1:1);for(;;){let s=e.docView.nearestDesc(i,!0);if(!s)break;if(s.node.isBlock){i=s.contentDOM||s.dom;break}i=s.dom.parentNode}let a=nF(e,o.pos,1);for(let s=i.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=Ks(s,0,s.nodeValue.length).getClientRects();else continue;for(let c=0;c<l.length;c++){let u=l[c];if(u.bottom>u.top+1&&(n=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const Uae=/[\u0590-\u08ac]/;function Yae(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,a=o==r.parent.content.size,s=e.domSelection();return!Uae.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?i:a:rF(e,t,()=>{let{focusNode:l,focusOffset:c,anchorNode:u,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(),m=p&&!h.contains(p.nodeType==1?p:p.parentNode)||l==p&&c==v;try{s.collapse(u,f),l&&(l!=u||c!=f)&&s.extend&&s.extend(l,c)}catch{}return d!=null&&(s.caretBidiLevel=d),m})}let lT=null,cT=null,uT=!1;function Qae(e,t,n){return lT==t&&cT==n?uT:(lT=t,cT=n,uT=n=="up"||n=="down"?Vae(e,t,n):Yae(e,t,n))}const na=0,fT=1,uu=2,bs=3;class Gp{constructor(t,n,r,o){this.parent=t,this.children=n,this.dom=r,this.contentDOM=o,this.dirty=na,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;n<this.children.length;n++)t+=this.children[n].size;return t}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let t=0;t<this.children.length;t++)this.children[t].destroy()}posBeforeChild(t){for(let n=0,r=this.posAtStart;;n++){let o=this.children[n];if(o==t)return r;r+=o.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(t,n,r){if(this.contentDOM&&this.contentDOM.contains(t.nodeType==1?t:t.parentNode))if(r<0){let i,a;if(t==this.contentDOM)i=t.childNodes[n-1];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;i=t.previousSibling}for(;i&&!((a=i.pmViewDesc)&&a.parent==this);)i=i.previousSibling;return i?this.posBeforeChild(a)+a.size:this.posAtStart}else{let i,a;if(t==this.contentDOM)i=t.childNodes[n];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;i=t.nextSibling}for(;i&&!((a=i.pmViewDesc)&&a.parent==this);)i=i.nextSibling;return i?this.posBeforeChild(a):this.posAtEnd}let o;if(t==this.dom&&this.contentDOM)o=n>oo(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))o=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let i=t;;i=i.parentNode){if(i==this.dom){o=!1;break}if(i.previousSibling)break}if(o==null&&n==t.childNodes.length)for(let i=t;;i=i.parentNode){if(i==this.dom){o=!0;break}if(i.nextSibling)break}}return o??r>0?this.posAtEnd:this.posAtStart}nearestDesc(t,n=!1){for(let r=!0,o=t;o;o=o.parentNode){let i=this.getDesc(o),a;if(i&&(!n||i.node))if(r&&(a=i.nodeDOM)&&!(a.nodeType==1?a.contains(t.nodeType==1?t:t.parentNode):a==t))r=!1;else return i}}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 o=t;o;o=o.parentNode){let i=this.getDesc(o);if(i)return i.localPosFromDOM(t,n,r)}return-1}descAt(t){for(let n=0,r=0;n<this.children.length;n++){let o=this.children[n],i=r+o.size;if(r==t&&i!=r){for(;!o.border&&o.children.length;)o=o.children[0];return o}if(t<i)return o.descAt(t-r-o.border);r=i}}domFromPos(t,n){if(!this.contentDOM)return{node:this.dom,offset:0,atom:t+1};let r=0,o=0;for(let i=0;r<this.children.length;r++){let a=this.children[r],s=i+a.size;if(s>t||a instanceof iF){o=t-i;break}i=s}if(o)return this.children[r].domFromPos(o-this.children[r].border,n);for(let i;r&&!(i=this.children[r-1]).size&&i instanceof oF&&i.side>=0;r--);if(n<=0){let i,a=!0;for(;i=r?this.children[r-1]:null,!(!i||i.dom.parentNode==this.contentDOM);r--,a=!1);return i&&n&&a&&!i.border&&!i.domAtom?i.domFromPos(i.size,n):{node:this.contentDOM,offset:i?oo(i.dom)+1:0}}else{let i,a=!0;for(;i=r<this.children.length?this.children[r]:null,!(!i||i.dom.parentNode==this.contentDOM);r++,a=!1);return i&&a&&!i.border&&!i.domAtom?i.domFromPos(0,n):{node:this.contentDOM,offset:i?oo(i.dom):this.contentDOM.childNodes.length}}}parseRange(t,n,r=0){if(this.children.length==0)return{node:this.contentDOM,from:t,to:n,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let o=-1,i=-1;for(let a=r,s=0;;s++){let l=this.children[s],c=a+l.size;if(o==-1&&t<=c){let u=a+l.border;if(t>=u&&n<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(t,n,u);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)){o=oo(d.dom)+1;break}t-=d.size}o==-1&&(o=0)}if(o>-1&&(c>n||s==this.children.length-1)){n=c;for(let u=s+1;u<this.children.length;u++){let f=this.children[u];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){i=oo(f.dom);break}n+=f.size}i==-1&&(i=this.contentDOM.childNodes.length);break}a=c}return{node:this.contentDOM,from:t,to:n,fromOffset:o,toOffset:i}}emptyChildAt(t){if(this.border||!this.contentDOM||!this.children.length)return!1;let n=this.children[t<0?0:this.children.length-1];return n.size==0||n.emptyChildAt(t)}domAfterPos(t){let{node:n,offset:r}=this.domFromPos(t,0);if(n.nodeType!=1||r==n.childNodes.length)throw new RangeError("No node after pos "+t);return n.childNodes[r]}setSelection(t,n,r,o=!1){let i=Math.min(t,n),a=Math.max(t,n);for(let d=0,h=0;d<this.children.length;d++){let p=this.children[d],v=h+p.size;if(i>h&&a<v)return p.setSelection(t-h-p.border,n-h-p.border,r,o);h=v}let s=this.domFromPos(t,t?-1:1),l=n==t?s:this.domFromPos(n,n?-1:1),c=r.getSelection(),u=!1;if((Ia||Vo)&&t==n){let{node:d,offset:h}=s;if(d.nodeType==3){if(u=!!(h&&d.nodeValue[h-1]==`
|
||
`),u&&h==d.nodeValue.length)for(let p=d,v;p;p=p.parentNode){if(v=p.nextSibling){v.nodeName=="BR"&&(s=l={node:v.parentNode,offset:oo(v)+1});break}let m=p.pmViewDesc;if(m&&m.node&&m.node.isBlock)break}}else{let p=d.childNodes[h-1];u=p&&(p.nodeName=="BR"||p.contentEditable=="false")}}if(Ia&&c.focusNode&&c.focusNode!=l.node&&c.focusNode.nodeType==1){let d=c.focusNode.childNodes[c.focusOffset];d&&d.contentEditable=="false"&&(o=!0)}if(!(o||u&&Vo)&&Uu(s.node,s.offset,c.anchorNode,c.anchorOffset)&&Uu(l.node,l.offset,c.focusNode,c.focusOffset))return;let f=!1;if((c.extend||t==n)&&!u){c.collapse(s.node,s.offset);try{t!=n&&c.extend(l.node,l.offset),f=!0}catch{}}if(!f){if(t>n){let h=s;s=l,l=h}let d=document.createRange();d.setEnd(l.node,l.offset),d.setStart(s.node,s.offset),c.removeAllRanges(),c.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,o=0;o<this.children.length;o++){let i=this.children[o],a=r+i.size;if(r==a?t<=a&&n>=r:t<a&&n>r){let s=r+i.border,l=a-i.border;if(t>=s&&n<=l){this.dirty=t==r||n==a?uu:fT,t==s&&n==l&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=bs:i.markDirty(t-s,n-s);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?uu:bs}r=a}this.dirty=uu}markParentsDirty(){let t=1;for(let n=this.parent;n;n=n.parent,t++){let r=t==1?uu:fT;n.dirty<r&&(n.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(t){return!1}}class oF extends Gp{constructor(t,n,r,o){let i,a=n.type.toDOM;if(typeof a=="function"&&(a=a(r,()=>{if(!i)return o;if(i.parent)return i.parent.posBeforeChild(i)})),!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,i=this}matchesWidget(t){return this.dirty==na&&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 Zae extends Gp{constructor(t,n,r,o){super(t,[],n,null),this.textDOM=r,this.text=o}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 Yu extends Gp{constructor(t,n,r,o){super(t,[],r,o),this.mark=n}static create(t,n,r,o){let i=o.nodeViews[n.type.name],a=i&&i(n,o,r);return(!a||!a.dom)&&(a=Kd.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new Yu(t,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&bs||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return this.dirty!=bs&&this.mark.eq(t)}markDirty(t,n){if(super.markDirty(t,n),this.dirty!=na){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=na}}slice(t,n,r){let o=Yu.create(this.parent,this.mark,!0,r),i=this.children,a=this.size;n<a&&(i=sb(i,n,a,r)),t>0&&(i=sb(i,0,t,r));for(let s=0;s<i.length;s++)i[s].parent=o;return o.children=i,o}}class uc extends Gp{constructor(t,n,r,o,i,a,s,l,c){super(t,[],i,a),this.node=n,this.outerDeco=r,this.innerDeco=o,this.nodeDOM=s}static create(t,n,r,o,i,a){let s=i.nodeViews[n.type.name],l,c=s&&s(n,i,()=>{if(!l)return a;if(l.parent)return l.parent.posBeforeChild(l)},r,o),u=c&&c.dom,f=c&&c.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:f}=Kd.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!f&&!n.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),n.type.spec.draggable&&(u.draggable=!0));let d=u;return u=lF(u,r,n),c?l=new Bae(t,n,r,o,u,f||null,d,c,i,a+1):n.isText?new R2(t,n,r,o,u,d,i):new uc(t,n,r,o,u,f||null,d,i,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=()=>ct.empty)}return t}matchesNode(t,n,r){return this.dirty==na&&t.eq(this.node)&&ab(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,o=n,i=t.composing?this.localCompositionInfo(t,n):null,a=i&&i.pos>-1?i:null,s=i&&i.pos<0,l=new Kae(this,a&&a.node,t);zae(this.node,this.innerDeco,(c,u,f)=>{c.spec.marks?l.syncToMarks(c.spec.marks,r,t):c.type.side>=0&&!f&&l.syncToMarks(u==this.node.childCount?Cn.none:this.node.child(u).marks,r,t),l.placeWidget(c,t,o)},(c,u,f,d)=>{l.syncToMarks(c.marks,r,t);let h;l.findNodeMatch(c,u,f,d)||s&&t.state.selection.from>o&&t.state.selection.to<o+c.nodeSize&&(h=l.findIndexWithChild(i.node))>-1&&l.updateNodeAt(c,u,f,h,t)||l.updateNextNode(c,u,f,t,d,o)||l.addNode(c,u,f,t,o),o+=c.nodeSize}),l.syncToMarks([],r,t),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==uu)&&(a&&this.protectLocalComposition(t,a),aF(this.contentDOM,this.children,t),Wd&&Jae(this.dom))}localCompositionInfo(t,n){let{from:r,to:o}=t.state.selection;if(!(t.state.selection instanceof En)||r<n||o>n+this.node.content.size)return null;let i=t.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let a=i.nodeValue,s=$ae(this.node.content,a,r-n,o-n);return s<0?null:{node:i,pos:s,text:a}}else return{node:i,pos:-1,text:""}}protectLocalComposition(t,{node:n,pos:r,text:o}){if(this.getDesc(n))return;let i=n;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new Zae(this,i,n,o);t.input.compositionNodes.push(a),this.children=sb(this.children,r,r+o.length,t,a)}update(t,n,r,o){return this.dirty==bs||!t.sameMarkup(this.node)?!1:(this.updateInner(t,n,r,o),!0)}updateInner(t,n,r,o){this.updateOuterDeco(n),this.node=t,this.innerDeco=r,this.contentDOM&&this.updateChildren(o,this.posAtStart),this.dirty=na}updateOuterDeco(t){if(ab(t,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=sF(this.dom,this.nodeDOM,ib(this.outerDeco,this.node,n),ib(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 dT(e,t,n,r,o){lF(r,t,e);let i=new uc(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}class R2 extends uc{constructor(t,n,r,o,i,a,s){super(t,n,r,o,i,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,o){return this.dirty==bs||this.dirty!=na&&!this.inParent()||!t.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=na||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,o.trackWrites==this.nodeDOM&&(o.trackWrites=null)),this.node=t,this.dirty=na,!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 o=this.node.cut(t,n),i=document.createTextNode(o.text);return new R2(this.parent,o,this.outerDeco,this.innerDeco,i,i,r)}markDirty(t,n){super.markDirty(t,n),this.dom!=this.nodeDOM&&(t==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=bs)}get domAtom(){return!1}isText(t){return this.node.text==t}}class iF extends Gp{parseRule(){return{ignore:!0}}matchesHack(t){return this.dirty==na&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class Bae extends uc{constructor(t,n,r,o,i,a,s,l,c,u){super(t,n,r,o,i,a,s,c,u),this.spec=l}update(t,n,r,o){if(this.dirty==bs)return!1;if(this.spec.update){let i=this.spec.update(t,n,r);return i&&this.updateInner(t,n,r,o),i}else return!this.contentDOM&&!t.isLeaf?!1:super.update(t,n,r,o)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,n,r,o){this.spec.setSelection?this.spec.setSelection(t,n,r):super.setSelection(t,n,r,o)}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 aF(e,t,n){let r=e.firstChild,o=!1;for(let i=0;i<t.length;i++){let a=t[i],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=hT(r),o=!0;r=r.nextSibling}else o=!0,e.insertBefore(s,r);if(a instanceof Yu){let l=r?r.previousSibling:e.lastChild;aF(a.contentDOM,a.children,n),r=l?l.nextSibling:e.firstChild}}for(;r;)r=hT(r),o=!0;o&&n.trackWrites==e&&(n.trackWrites=null)}const Fh=function(e){e&&(this.nodeName=e)};Fh.prototype=Object.create(null);const fu=[new Fh];function ib(e,t,n){if(e.length==0)return fu;let r=n?fu[0]:new Fh,o=[r];for(let i=0;i<e.length;i++){let a=e[i].type.attrs;if(a){a.nodeName&&o.push(r=new Fh(a.nodeName));for(let s in a){let l=a[s];l!=null&&(n&&o.length==1&&o.push(r=new Fh(t.isInline?"span":"div")),s=="class"?r.class=(r.class?r.class+" ":"")+l:s=="style"?r.style=(r.style?r.style+";":"")+l:s!="nodeName"&&(r[s]=l))}}}return o}function sF(e,t,n,r){if(n==fu&&r==fu)return t;let o=t;for(let i=0;i<r.length;i++){let a=r[i],s=n[i];if(i){let l;s&&s.nodeName==a.nodeName&&o!=e&&(l=o.parentNode)&&l.nodeName.toLowerCase()==a.nodeName||(l=document.createElement(a.nodeName),l.pmIsDeco=!0,l.appendChild(o),s=fu[0]),o=l}Dae(o,s||fu[0],a)}return o}function Dae(e,t,n){for(let r in t)r!="class"&&r!="style"&&r!="nodeName"&&!(r in n)&&e.removeAttribute(r);for(let r in n)r!="class"&&r!="style"&&r!="nodeName"&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(" ").filter(Boolean):[],o=n.class?n.class.split(" ").filter(Boolean):[];for(let i=0;i<r.length;i++)o.indexOf(r[i])==-1&&e.classList.remove(r[i]);for(let i=0;i<o.length;i++)r.indexOf(o[i])==-1&&e.classList.add(o[i]);e.classList.length==0&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,o;for(;o=r.exec(t.style);)e.style.removeProperty(o[1])}n.style&&(e.style.cssText+=n.style)}}function lF(e,t,n){return sF(e,e,fu,ib(t,n,e.nodeType!=1))}function ab(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function hT(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class Kae{constructor(t,n,r){this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=Hae(t.node.content,t)}destroyBetween(t,n){if(t!=n){for(let r=t;r<n;r++)this.top.children[r].destroy();this.top.children.splice(t,n-t),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(t,n,r){let o=0,i=this.stack.length>>1,a=Math.min(i,t.length);for(;o<a&&(o==i-1?this.top:this.stack[o+1<<1]).matchesMark(t[o])&&t[o].type.spec.spanning!==!1;)o++;for(;o<i;)this.destroyRest(),this.top.dirty=na,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<t.length;){this.stack.push(this.top,this.index+1);let s=-1;for(let l=this.index;l<Math.min(this.index+3,this.top.children.length);l++){let c=this.top.children[l];if(c.matchesMark(t[i])&&!this.isLocked(c.dom)){s=l;break}}if(s>-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=Yu.create(this.top,t[i],n,r);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,i++}}findNodeMatch(t,n,r,o){let i=-1,a;if(o>=this.preMatch.index&&(a=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&a.matchesNode(t,n,r))i=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s<l;s++){let c=this.top.children[s];if(c.matchesNode(t,n,r)&&!this.preMatch.matched.has(c)){i=s;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(t,n,r,o,i){let a=this.top.children[o];return a.dirty==bs&&a.dom==a.contentDOM&&(a.dirty=uu),a.update(t,n,r,i)?(this.destroyBetween(this.index,o),this.index++,!0):!1}findIndexWithChild(t){for(;;){let n=t.parentNode;if(!n)return-1;if(n==this.top.contentDOM){let r=t.pmViewDesc;if(r){for(let o=this.index;o<this.top.children.length;o++)if(this.top.children[o]==r)return o}return-1}t=n}}updateNextNode(t,n,r,o,i,a){for(let s=this.index;s<this.top.children.length;s++){let l=this.top.children[s];if(l instanceof uc){let c=this.preMatch.matched.get(l);if(c!=null&&c!=i)return!1;let u=l.dom,f,d=this.isLocked(u)&&!(t.isText&&l.node&&l.node.isText&&l.nodeDOM.nodeValue==t.text&&l.dirty!=bs&&ab(n,l.outerDeco));if(!d&&l.update(t,n,r,o))return this.destroyBetween(this.index,s),l.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(f=this.recreateWrapper(l,t,n,r,o,a)))return this.top.children[this.index]=f,f.contentDOM&&(f.dirty=uu,f.updateChildren(o,a+1),f.dirty=na),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(t,n,r,o,i,a){if(t.dirty||n.isAtom||!t.children.length||!t.node.content.eq(n.content))return null;let s=uc.create(this.top,n,r,o,i,a);if(s.contentDOM){s.children=t.children,t.children=[];for(let l of s.children)l.parent=s}return t.destroy(),s}addNode(t,n,r,o,i){let a=uc.create(this.top,t,n,r,o,i);a.contentDOM&&a.updateChildren(o,i+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(t,n,r){let o=this.index<this.top.children.length?this.top.children[this.index]:null;if(o&&o.matchesWidget(t)&&(t==o.widget||!o.widget.type.toDOM.parentNode))this.index++;else{let i=new oF(this.top,t,n,r);this.top.children.splice(this.index++,0,i),this.changed=!0}}addTextblockHacks(){let t=this.top.children[this.index-1],n=this.top;for(;t instanceof Yu;)n=t,t=n.children[n.children.length-1];(!t||!(t instanceof R2)||/\n$/.test(t.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(t.node.text))&&((Vo||xo)&&t&&t.dom.contentEditable=="false"&&this.addHackNode("IMG",n),this.addHackNode("BR",this.top))}addHackNode(t,n){if(n==this.top&&this.index<n.children.length&&n.children[this.index].matchesHack(t))this.index++;else{let r=document.createElement(t);t=="IMG"&&(r.className="ProseMirror-separator",r.alt=""),t=="BR"&&(r.className="ProseMirror-trailingBreak");let o=new iF(this.top,[],r,null);n!=this.top?n.children.push(o):n.children.splice(this.index++,0,o),this.changed=!0}}isLocked(t){return this.lock&&(t==this.lock||t.nodeType==1&&t.contains(this.lock.parentNode))}}function Hae(e,t){let n=t,r=n.children.length,o=e.childCount,i=new Map,a=[];e:for(;o>0;){let s;for(;;)if(r){let c=n.children[r-1];if(c instanceof Yu)n=c,r=c.children.length;else{s=c,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(o-1))break;--o,i.set(s,o),a.push(s)}}return{index:o,matched:i,matches:a.reverse()}}function Gae(e,t){return e.type.side-t.type.side}function zae(e,t,n,r){let o=t.locals(e),i=0;if(o.length==0){for(let c=0;c<e.childCount;c++){let u=e.child(c);r(u,o,t.forChild(i,u),c),i+=u.nodeSize}return}let a=0,s=[],l=null;for(let c=0;;){let u,f;for(;a<o.length&&o[a].to==i;){let m=o[a++];m.widget&&(u?(f||(f=[u])).push(m):u=m)}if(u)if(f){f.sort(Gae);for(let m=0;m<f.length;m++)n(f[m],c,!!l)}else n(u,c,!!l);let d,h;if(l)h=-1,d=l,l=null;else if(c<e.childCount)h=c,d=e.child(c++);else break;for(let m=0;m<s.length;m++)s[m].to<=i&&s.splice(m--,1);for(;a<o.length&&o[a].from<=i&&o[a].to>i;)s.push(o[a++]);let p=i+d.nodeSize;if(d.isText){let m=p;a<o.length&&o[a].from<m&&(m=o[a].from);for(let x=0;x<s.length;x++)s[x].to<m&&(m=s[x].to);m<p&&(l=d.cut(m-i),d=d.cut(0,m-i),p=m,h=-1)}else for(;a<o.length&&o[a].to<p;)a++;let v=d.isInline&&!d.isLeaf?s.filter(m=>!m.inline):s.slice();r(d,v,t.forChild(i,d),h),i=p}}function Jae(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 $ae(e,t,n,r){for(let o=0,i=0;o<e.childCount&&i<=r;){let a=e.child(o++),s=i;if(i+=a.nodeSize,!a.isText)continue;let l=a.text;for(;o<e.childCount;){let c=e.child(o++);if(i+=c.nodeSize,!c.isText)break;l+=c.text}if(i>=n){if(i>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;let c=s<r?l.lastIndexOf(t,r-s-1):-1;if(c>=0&&c+t.length+s>=n)return s+c;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}return-1}function sb(e,t,n,r,o){let i=[];for(let a=0,s=0;a<e.length;a++){let l=e[a],c=s,u=s+=l.size;c>=n||u<=t?i.push(l):(c<t&&i.push(l.slice(0,t-c,r)),o&&(i.push(o),o=void 0),u>n&&i.push(l.slice(n-c,l.size,r)))}return i}function v5(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),i=o&&o.size==0,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),l,c;if(A2(n)){for(l=s;o&&!o.node;)o=o.parent;let u=o.node;if(o&&u.isAtom&&Yt.isSelectable(u)&&o.parent&&!(u.isInline&&Sae(n.focusNode,n.focusOffset,o.dom))){let f=o.posBefore;c=new Yt(a==f?s:r.resolve(f))}}else{let u=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(u<0)return null;l=r.resolve(u)}if(!c){let u=t=="pointer"||e.state.selection.head<s.pos&&!i?1:-1;c=g5(e,l,s,u)}return c}function cF(e){return e.editable?e.hasFocus():fF(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function ol(e,t=!1){let n=e.state.selection;if(uF(e,n),!!cF(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&xo){let r=e.domSelectionRange(),o=e.domObserver.currentSelection;if(r.anchorNode&&o.anchorNode&&Uu(r.anchorNode,r.anchorOffset,o.anchorNode,o.anchorOffset)){e.input.mouseDown.delayedSelectionSync=!0,e.domObserver.setCurSelection();return}}if(e.domObserver.disconnectSelection(),e.cursorWrapper)qae(e);else{let{anchor:r,head:o}=n,i,a;pT&&!(n instanceof En)&&(n.$from.parent.inlineContent||(i=vT(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(a=vT(e,n.to))),e.docView.setSelection(r,o,e.root,t),pT&&(i&&gT(i),a&&gT(a)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&jae(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const pT=Vo||xo&&$I<63;function vT(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),o=r<n.childNodes.length?n.childNodes[r]:null,i=r?n.childNodes[r-1]:null;if(Vo&&o&&o.contentEditable=="false")return Dy(o);if((!o||o.contentEditable=="false")&&(!i||i.contentEditable=="false")){if(o)return Dy(o);if(i)return Dy(i)}}function Dy(e){return e.contentEditable="true",Vo&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function gT(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function jae(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{(n.anchorNode!=r||n.anchorOffset!=o)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{(!cF(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")},20))})}function qae(e){let t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,o=r.nodeName=="IMG";o?n.setEnd(r.parentNode,oo(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&si&&cc<=11&&(r.disabled=!0,r.disabled=!1)}function uF(e,t){if(t instanceof Yt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(mT(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else mT(e)}function mT(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function g5(e,t,n,r){return e.someProp("createSelectionBetween",o=>o(e,t,n))||En.between(t,n,r)}function AT(e){return e.editable&&!e.hasFocus()?!1:fF(e)}function fF(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 ese(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return Uu(t.node,t.offset,n.anchorNode,n.anchorOffset)}function lb(e,t){let{$anchor:n,$head:r}=e.selection,o=t>0?n.max(r):n.min(r),i=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return i&&yn.findFrom(i,t)}function Hl(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function RT(e,t,n){let r=e.state.selection;if(r instanceof En)if(n.indexOf("s")>-1){let{$head:o}=r,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(o.pos+i.nodeSize*(t<0?-1:1));return Hl(e,new En(r.$anchor,a))}else if(r.empty){if(e.endOfTextblock(t>0?"forward":"backward")){let o=lb(e.state,t);return o&&o instanceof Yt?Hl(e,o):!1}else if(!(zi&&n.indexOf("m")>-1)){let o=r.$head,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter,a;if(!i||i.isText)return!1;let s=t<0?o.pos-i.nodeSize:o.pos;return i.isAtom||(a=e.docView.descAt(s))&&!a.contentDOM?Yt.isSelectable(i)?Hl(e,new Yt(t<0?e.state.doc.resolve(o.pos-i.nodeSize):o)):Hp?Hl(e,new En(e.state.doc.resolve(t<0?s:s+i.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Yt&&r.node.isInline)return Hl(e,new En(t>0?r.$to:r.$from));{let o=lb(e.state,t);return o?Hl(e,o):!1}}}function hm(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function _h(e,t){let n=e.pmViewDesc;return n&&n.size==0&&(t<0||e.nextSibling||e.nodeName!="BR")}function kf(e,t){return t<0?tse(e):nse(e)}function tse(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,a=!1;for(Ia&&n.nodeType==1&&r<hm(n)&&_h(n.childNodes[r],-1)&&(a=!0);;)if(r>0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(_h(s,-1))o=n,i=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(dF(n))break;{let s=n.previousSibling;for(;s&&_h(s,-1);)o=n.parentNode,i=oo(s),s=s.previousSibling;if(s)n=s,r=hm(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?cb(e,n,r):o&&cb(e,o,i)}function nse(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o=hm(n),i,a;for(;;)if(r<o){if(n.nodeType!=1)break;let s=n.childNodes[r];if(_h(s,1))i=n,a=++r;else break}else{if(dF(n))break;{let s=n.nextSibling;for(;s&&_h(s,1);)i=s.parentNode,a=oo(s)+1,s=s.nextSibling;if(s)n=s,r=0,o=hm(n);else{if(n=n.parentNode,n==e.dom)break;r=o=0}}}i&&cb(e,i,a)}function dF(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function rse(e,t){for(;e&&t==e.childNodes.length&&!Kp(e);)t=oo(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(n.nodeType==3)return n;if(n.nodeType==1&&n.contentEditable=="false")break;e=n,t=0}}function ose(e,t){for(;e&&!t&&!Kp(e);)t=oo(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(n.nodeType==3)return n;if(n.nodeType==1&&n.contentEditable=="false")break;e=n,t=e.childNodes.length}}function cb(e,t,n){if(t.nodeType!=3){let i,a;(a=rse(t,n))?(t=a,n=0):(i=ose(t,n))&&(t=i,n=i.nodeValue.length)}let r=e.domSelection();if(A2(r)){let i=document.createRange();i.setEnd(t,n),i.setStart(t,n),r.removeAllRanges(),r.addRange(i)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:o}=e;setTimeout(()=>{e.state==o&&ol(e)},50)}function yT(e,t){let n=e.state.doc.resolve(t);if(!(xo||Lae)&&n.parent.inlineContent){let o=e.coordsAtPos(t);if(t>n.start()){let i=e.coordsAtPos(t-1),a=(i.top+i.bottom)/2;if(a>o.top&&a<o.bottom&&Math.abs(i.left-o.left)>1)return i.left<o.left?"ltr":"rtl"}if(t<n.end()){let i=e.coordsAtPos(t+1),a=(i.top+i.bottom)/2;if(a>o.top&&a<o.bottom&&Math.abs(i.left-o.left)>1)return i.left>o.left?"ltr":"rtl"}}return getComputedStyle(e.dom).direction=="rtl"?"rtl":"ltr"}function bT(e,t,n){let r=e.state.selection;if(r instanceof En&&!r.empty||n.indexOf("s")>-1||zi&&n.indexOf("m")>-1)return!1;let{$from:o,$to:i}=r;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let a=lb(e.state,t);if(a&&a instanceof Yt)return Hl(e,a)}if(!o.parent.inlineContent){let a=t<0?o:i,s=r instanceof oi?yn.near(a,t):yn.findFrom(a,t);return s?Hl(e,s):!1}return!1}function xT(e,t){if(!(e.state.selection instanceof En))return!0;let{$head:n,$anchor:r,empty:o}=e.state.selection;if(!n.sameParent(r))return!0;if(!o)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let i=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(i&&!i.isText){let a=e.state.tr;return t<0?a.delete(n.pos-i.nodeSize,n.pos):a.delete(n.pos,n.pos+i.nodeSize),e.dispatch(a),!0}return!1}function ST(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function ise(e){if(!Vo||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;ST(e,r,"true"),setTimeout(()=>ST(e,r,"false"),20)}return!1}function ase(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function sse(e,t){let n=t.keyCode,r=ase(t);if(n==8||zi&&n==72&&r=="c")return xT(e,-1)||kf(e,-1);if(n==46&&!t.shiftKey||zi&&n==68&&r=="c")return xT(e,1)||kf(e,1);if(n==13||n==27)return!0;if(n==37||zi&&n==66&&r=="c"){let o=n==37?yT(e,e.state.selection.from)=="ltr"?-1:1:-1;return RT(e,o,r)||kf(e,o)}else if(n==39||zi&&n==70&&r=="c"){let o=n==39?yT(e,e.state.selection.from)=="ltr"?1:-1:1;return RT(e,o,r)||kf(e,o)}else{if(n==38||zi&&n==80&&r=="c")return bT(e,-1,r)||kf(e,-1);if(n==40||zi&&n==78&&r=="c")return ise(e)||bT(e,1,r)||kf(e,1);if(r==(zi?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function hF(e,t){e.someProp("transformCopied",h=>{t=h(t,e)});let n=[],{content:r,openStart:o,openEnd:i}=t;for(;o>1&&i>1&&r.childCount==1&&r.firstChild.childCount==1;){o--,i--;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")||Kd.fromSchema(e.state.schema),s=RF(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c=l.firstChild,u,f=0;for(;c&&c.nodeType==1&&(u=AF[c.nodeName.toLowerCase()]);){for(let h=u.length-1;h>=0;h--){let p=s.createElement(u[h]);for(;l.firstChild;)p.appendChild(l.firstChild);l.appendChild(p),f++}c=l.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${o} ${i}${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 pF(e,t,n,r,o){let i=o.parent.type.spec.code,a,s;if(!n&&!t)return null;let l=t&&(r||i||!n);if(l){if(e.someProp("transformPastedText",d=>{t=d(t,i||r,e)}),i)return t?new bt(ct.from(e.state.schema.text(t.replace(/\r\n?/g,`
|
||
`))),0,0):bt.empty;let f=e.someProp("clipboardTextParser",d=>d(t,o,r,e));if(f)s=f;else{let d=o.marks(),{schema:h}=e.state,p=Kd.fromSchema(h);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(v=>{let m=a.appendChild(document.createElement("p"));v&&m.appendChild(p.serializeNode(h.text(v,d)))})}}else e.someProp("transformPastedHTML",f=>{n=f(n,e)}),a=use(n),Hp&&fse(a);let c=a&&a.querySelector("[data-pm-slice]"),u=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let f=+u[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")||hx.fromSchema(e.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||u),context:o,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!lse.test(d.parentNode.nodeName)?{ignore:!0}:null}})),u)s=dse(MT(s,+u[1],+u[2]),u[4]);else if(s=bt.maxOpen(cse(s.content,o),!0),s.openStart||s.openEnd){let f=0,d=0;for(let h=s.content.firstChild;f<s.openStart&&!h.type.spec.isolating;f++,h=h.firstChild);for(let h=s.content.lastChild;d<s.openEnd&&!h.type.spec.isolating;d++,h=h.lastChild);s=MT(s,f,d)}return e.someProp("transformPasted",f=>{s=f(s,e)}),s}const lse=/^(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 cse(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let o=t.node(n).contentMatchAt(t.index(n)),i,a=[];if(e.forEach(s=>{if(!a)return;let l=o.findWrapping(s.type),c;if(!l)return a=null;if(c=a.length&&i.length&&gF(l,i,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=mF(a[a.length-1],i.length));let u=vF(s,l);a.push(u),o=o.matchType(u.type),i=l}}),a)return ct.from(a)}return e}function vF(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,ct.from(e));return e}function gF(e,t,n,r,o){if(o<e.length&&o<t.length&&e[o]==t[o]){let i=gF(e,t,n,r.lastChild,o+1);if(i)return r.copy(r.content.replaceChild(r.childCount-1,i));if(r.contentMatchAt(r.childCount).matchType(o==e.length-1?n.type:e[o+1]))return r.copy(r.content.append(ct.from(vF(n,e,o+1))))}}function mF(e,t){if(t==0)return e;let n=e.content.replaceChild(e.childCount-1,mF(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(ct.empty,!0);return e.copy(n.append(r))}function ub(e,t,n,r,o,i){let a=t<0?e.firstChild:e.lastChild,s=a.content;return e.childCount>1&&(i=0),o<r-1&&(s=ub(s,t,n,r,o+1,i)),o>=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,i<=o).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(ct.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function MT(e,t,n){return t<e.openStart&&(e=new bt(ub(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new bt(ub(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const AF={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let wT=null;function RF(){return wT||(wT=document.implementation.createHTMLDocument("title"))}function use(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=RF().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e),o;if((o=r&&AF[r[1].toLowerCase()])&&(e=o.map(i=>"<"+i+">").join("")+e+o.map(i=>"</"+i+">").reverse().join("")),n.innerHTML=e,o)for(let i=0;i<o.length;i++)n=n.querySelector(o[i])||n;return n}function fse(e){let t=e.querySelectorAll(xo?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let r=t[n];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}function dse(e,t){if(!e.size)return e;let n=e.content.firstChild.type.schema,r;try{r=JSON.parse(t)}catch{return e}let{content:o,openStart:i,openEnd:a}=e;for(let s=r.length-2;s>=0;s-=2){let l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;o=ct.from(l.create(r[s+1],o)),i++,a++}return new bt(o,i,a)}const Uo={},Yo={},hse={touchstart:!0,touchmove:!0};class pse{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 vse(e){for(let t in Uo){let n=Uo[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=r=>{mse(e,r)&&!m5(e,r)&&(e.editable||!(r.type in Yo))&&n(e,r)},hse[t]?{passive:!0}:void 0)}Vo&&e.dom.addEventListener("input",()=>null),fb(e)}function rc(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function gse(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 fb(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=r=>m5(e,r))})}function m5(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function mse(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 Ase(e,t){!m5(e,t)&&Uo[t.type]&&(e.editable||!(t.type in Yo))&&Uo[t.type](e,t)}Yo.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!bF(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(La&&xo&&n.keyCode==13)))if(n.keyCode!=229&&e.domObserver.forceFlush(),Wd&&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",o=>o(e,iu(13,"Enter"))),e.input.lastIOSEnter=0)},200)}else e.someProp("handleKeyDown",r=>r(e,n))||sse(e,n)?n.preventDefault():rc(e,"key")};Yo.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)};Yo.keypress=(e,t)=>{let n=t;if(bF(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||zi&&n.metaKey)return;if(e.someProp("handleKeyPress",o=>o(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof En)||!r.$from.sameParent(r.$to)){let o=String.fromCharCode(n.charCode);!/[\r\n]/.test(o)&&!e.someProp("handleTextInput",i=>i(e,r.$from.pos,r.$to.pos,o))&&e.dispatch(e.state.tr.insertText(o).scrollIntoView()),n.preventDefault()}};function y2(e){return{left:e.clientX,top:e.clientY}}function Rse(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function A5(e,t,n,r,o){if(r==-1)return!1;let i=e.state.doc.resolve(r);for(let a=i.depth+1;a>0;a--)if(e.someProp(t,s=>a>i.depth?s(e,n,i.nodeAfter,i.before(a),o,!0):s(e,n,i.node(a),i.before(a),o,!1)))return!0;return!1}function xd(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);r.setMeta("pointer",!0),e.dispatch(r)}function yse(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&Yt.isSelectable(r)?(xd(e,new Yt(n)),!0):!1}function bse(e,t){if(t==-1)return!1;let n=e.state.selection,r,o;n instanceof Yt&&(r=n.node);let i=e.state.doc.resolve(t);for(let a=i.depth+1;a>0;a--){let s=a>i.depth?i.nodeAfter:i.node(a);if(Yt.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&i.before(n.$from.depth+1)==n.$from.pos?o=i.before(n.$from.depth):o=i.before(a);break}}return o!=null?(xd(e,Yt.create(e.state.doc,o)),!0):!1}function xse(e,t,n,r,o){return A5(e,"handleClickOn",t,n,r)||e.someProp("handleClick",i=>i(e,t,r))||(o?bse(e,n):yse(e,n))}function Sse(e,t,n,r){return A5(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",o=>o(e,t,r))}function Mse(e,t,n,r){return A5(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",o=>o(e,t,r))||wse(e,n,r)}function wse(e,t,n){if(n.button!=0)return!1;let r=e.state.doc;if(t==-1)return r.inlineContent?(xd(e,En.create(r,0,r.content.size)),!0):!1;let o=r.resolve(t);for(let i=o.depth+1;i>0;i--){let a=i>o.depth?o.nodeAfter:o.node(i),s=o.before(i);if(a.inlineContent)xd(e,En.create(r,s+1,s+1+a.content.size));else if(Yt.isSelectable(a))xd(e,Yt.create(r,s));else continue;return!0}}function R5(e){return pm(e)}const yF=zi?"metaKey":"ctrlKey";Uo.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=R5(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time<500&&Rse(n,e.input.lastClick)&&!n[yF]&&(e.input.lastClick.type=="singleClick"?i="doubleClick":e.input.lastClick.type=="doubleClick"&&(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};let a=e.posAtCoords(y2(n));a&&(i=="singleClick"?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new Lse(e,a,n,!!r)):(i=="doubleClick"?Sse:Mse)(e,a.pos,a.inside,n)?n.preventDefault():rc(e,"pointer"))};class Lse{constructor(t,n,r,o){this.view=t,this.pos=n,this.event=r,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[yF],this.allowDefault=r.shiftKey;let i,a;if(n.inside>-1)i=t.state.doc.nodeAt(n.inside),a=n.inside;else{let u=t.state.doc.resolve(n.pos);i=u.parent,a=u.depth?u.before():0}const s=o?null:r.target,l=s?t.docView.nearestDesc(s,!0):null;this.target=l&&l.dom.nodeType==1?l.dom:null;let{selection:c}=t.state;(r.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||c instanceof Yt&&c.from<=a&&c.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Ia&&!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)),rc(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(()=>ol(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(y2(t))),this.updateAllowDefault(t),this.allowDefault||!n?rc(this.view,"pointer"):xse(this.view,n.pos,n.inside,t,this.selectNode)?t.preventDefault():t.button==0&&(this.flushed||Vo&&this.mightDrag&&!this.mightDrag.node.isAtom||xo&&!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)?(xd(this.view,yn.near(this.view.state.doc.resolve(n.pos))),t.preventDefault()):rc(this.view,"pointer")}move(t){this.updateAllowDefault(t),rc(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)}}Uo.touchstart=e=>{e.input.lastTouch=Date.now(),R5(e),rc(e,"pointer")};Uo.touchmove=e=>{e.input.lastTouch=Date.now(),rc(e,"pointer")};Uo.contextmenu=e=>R5(e);function bF(e,t){return e.composing?!0:Vo&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}const Ose=La?5e3:-1;Yo.compositionstart=Yo.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(),pm(e,!0),e.markCursor=null;else if(pm(e),Ia&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=e.domSelectionRange();for(let o=r.focusNode,i=r.focusOffset;o&&o.nodeType==1&&i!=0;){let a=i<0?o.lastChild:o.childNodes[i-1];if(!a)break;if(a.nodeType==3){e.domSelection().collapse(a,a.nodeValue.length);break}else o=a,i=-1}}e.input.composing=!0}xF(e,Ose)};Yo.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++,xF(e,20))};function xF(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>pm(e),t))}function SF(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=kse());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function Tse(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=bae(t.focusNode,t.focusOffset),r=xae(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let o=r.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!o||!o.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 kse(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function pm(e,t=!1){if(!(La&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),SF(e),t||e.docView&&e.docView.dirty){let n=v5(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}function Nse(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(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}const fp=si&&cc<15||Wd&&Oae<604;Uo.copy=Yo.cut=(e,t)=>{let n=t,r=e.state.selection,o=n.type=="cut";if(r.empty)return;let i=fp?null:n.clipboardData,a=r.content(),{dom:s,text:l}=hF(e,a);i?(n.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",l)):Nse(e,s),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function Pse(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function Cse(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 o=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?dp(e,r.value,null,o,t):dp(e,r.textContent,r.innerHTML,o,t)},50)}function dp(e,t,n,r,o){let i=pF(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",l=>l(e,o,i||bt.empty)))return!0;if(!i)return!1;let a=Pse(i),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(i);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function MF(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," "):""}Yo.paste=(e,t)=>{let n=t;if(e.composing&&!La)return;let r=fp?null:n.clipboardData,o=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&dp(e,MF(r),r.getData("text/html"),o,n)?n.preventDefault():Cse(e,n)};class wF{constructor(t,n,r){this.slice=t,this.move=n,this.node=r}}const LF=zi?"altKey":"ctrlKey";Uo.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let o=e.state.selection,i=o.empty?null:e.posAtCoords(y2(n)),a;if(!(i&&i.pos>=o.from&&i.pos<=(o instanceof Yt?o.to-1:o.to))){if(r&&r.mightDrag)a=Yt.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=Yt.create(e.state.doc,f.posBefore))}}let s=(a||e.state.selection).content(),{dom:l,text:c,slice:u}=hF(e,s);(!n.dataTransfer.files.length||!xo||$I>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(fp?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",fp||n.dataTransfer.setData("text/plain",c),e.dragging=new wF(u,!n[LF],a)};Uo.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)};Yo.dragover=Yo.dragenter=(e,t)=>t.preventDefault();Yo.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let o=e.posAtCoords(y2(n));if(!o)return;let i=e.state.doc.resolve(o.pos),a=r&&r.slice;a?e.someProp("transformPasted",p=>{a=p(a,e)}):a=pF(e,MF(n.dataTransfer),fp?null:n.dataTransfer.getData("text/html"),!1,i);let s=!!(r&&!n[LF]);if(e.someProp("handleDrop",p=>p(e,n,a||bt.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?nP(e.state.doc,i.pos,a):i.pos;l==null&&(l=i.pos);let c=e.state.tr;if(s){let{node:p}=r;p?p.replace(c):c.deleteSelection()}let u=c.mapping.map(l),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=c.doc;if(f?c.replaceRangeWith(u,u,a.content.firstChild):c.replaceRange(u,u,a),c.doc.eq(d))return;let h=c.doc.resolve(u);if(f&&Yt.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new Yt(h));else{let p=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((v,m,x,y)=>p=y),c.setSelection(g5(e,h,c.doc.resolve(p)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))};Uo.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())&&ol(e)},20))};Uo.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)};Uo.beforeinput=(e,t)=>{if(xo&&La&&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",i=>i(e,iu(8,"Backspace")))))return;let{$cursor:o}=e.state.selection;o&&o.pos>0&&e.dispatch(e.state.tr.delete(o.pos-1,o.pos).scrollIntoView())},50)}};for(let e in Yo)Uo[e]=Yo[e];function hp(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 vm{constructor(t,n){this.toDOM=t,this.spec=n||Mu,this.side=this.spec.side||0}map(t,n,r,o){let{pos:i,deleted:a}=t.mapResult(n.from+o,this.side<0?-1:1);return a?null:new Ci(i-r,i-r,this)}valid(){return!0}eq(t){return this==t||t instanceof vm&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&hp(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class fc{constructor(t,n){this.attrs=t,this.spec=n||Mu}map(t,n,r,o){let i=t.map(n.from+o,this.spec.inclusiveStart?-1:1)-r,a=t.map(n.to+o,this.spec.inclusiveEnd?1:-1)-r;return i>=a?null:new Ci(i,a,this)}valid(t,n){return n.from<n.to}eq(t){return this==t||t instanceof fc&&hp(this.attrs,t.attrs)&&hp(this.spec,t.spec)}static is(t){return t.type instanceof fc}destroy(){}}class y5{constructor(t,n){this.attrs=t,this.spec=n||Mu}map(t,n,r,o){let i=t.mapResult(n.from+o,1);if(i.deleted)return null;let a=t.mapResult(n.to+o,-1);return a.deleted||a.pos<=i.pos?null:new Ci(i.pos-r,a.pos-r,this)}valid(t,n){let{index:r,offset:o}=t.content.findIndex(n.from),i;return o==n.from&&!(i=t.child(r)).isText&&o+i.nodeSize==n.to}eq(t){return this==t||t instanceof y5&&hp(this.attrs,t.attrs)&&hp(this.spec,t.spec)}destroy(){}}class Ci{constructor(t,n,r){this.from=t,this.to=n,this.type=r}copy(t,n){return new Ci(t,n,this.type)}eq(t,n=0){return this.type.eq(t.type)&&this.from+n==t.from&&this.to+n==t.to}map(t,n,r){return this.type.map(t,this,n,r)}static widget(t,n,r){return new Ci(t,t,new vm(n,r))}static inline(t,n,r,o){return new Ci(t,n,new fc(r,o))}static node(t,n,r,o){return new Ci(t,n,new y5(r,o))}get spec(){return this.type.spec}get inline(){return this.type instanceof fc}get widget(){return this.type instanceof vm}}const Hf=[],Mu={};class Cr{constructor(t,n){this.local=t.length?t:Hf,this.children=n.length?n:Hf}static create(t,n){return n.length?gm(n,t,0,Mu):vo}find(t,n,r){let o=[];return this.findInner(t??0,n??1e9,o,0,r),o}findInner(t,n,r,o,i){for(let a=0;a<this.local.length;a++){let s=this.local[a];s.from<=n&&s.to>=t&&(!i||i(s.spec))&&r.push(s.copy(s.from+o,s.to+o))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<n&&this.children[a+1]>t){let s=this.children[a]+1;this.children[a+2].findInner(t-s,n-s,r,o+s,i)}}map(t,n,r){return this==vo||t.maps.length==0?this:this.mapInner(t,n,0,0,r||Mu)}mapInner(t,n,r,o,i){let a;for(let s=0;s<this.local.length;s++){let l=this.local[s].map(t,r,o);l&&l.type.valid(n,l)?(a||(a=[])).push(l):i.onRemove&&i.onRemove(this.local[s].spec)}return this.children.length?Ise(this.children,a||[],t,n,r,o,i):a?new Cr(a.sort(wu),Hf):vo}add(t,n){return n.length?this==vo?Cr.create(t,n):this.addInner(t,n,0):this}addInner(t,n,r){let o,i=0;t.forEach((s,l)=>{let c=l+r,u;if(u=TF(n,s,c)){for(o||(o=this.children.slice());i<o.length&&o[i]<l;)i+=3;o[i]==l?o[i+2]=o[i+2].addInner(s,u,c+1):o.splice(i,0,l,l+s.nodeSize,gm(u,s,c+1,Mu)),i+=3}});let a=OF(i?kF(n):n,-r);for(let s=0;s<a.length;s++)a[s].type.valid(t,a[s])||a.splice(s--,1);return new Cr(a.length?this.local.concat(a).sort(wu):this.local,o||this.children)}remove(t){return t.length==0||this==vo?this:this.removeInner(t,0)}removeInner(t,n){let r=this.children,o=this.local;for(let i=0;i<r.length;i+=3){let a,s=r[i]+n,l=r[i+1]+n;for(let u=0,f;u<t.length;u++)(f=t[u])&&f.from>s&&f.to<l&&(t[u]=null,(a||(a=[])).push(f));if(!a)continue;r==this.children&&(r=this.children.slice());let c=r[i+2].removeInner(a,s+1);c!=vo?r[i+2]=c:(r.splice(i,3),i-=3)}if(o.length){for(let i=0,a;i<t.length;i++)if(a=t[i])for(let s=0;s<o.length;s++)o[s].eq(a,n)&&(o==this.local&&(o=this.local.slice()),o.splice(s--,1))}return r==this.children&&o==this.local?this:o.length||r.length?new Cr(o,r):vo}forChild(t,n){if(this==vo)return this;if(n.isLeaf)return Cr.empty;let r,o;for(let s=0;s<this.children.length;s+=3)if(this.children[s]>=t){this.children[s]==t&&(r=this.children[s+2]);break}let i=t+1,a=i+n.content.size;for(let s=0;s<this.local.length;s++){let l=this.local[s];if(l.from<a&&l.to>i&&l.type instanceof fc){let c=Math.max(i,l.from)-i,u=Math.min(a,l.to)-i;c<u&&(o||(o=[])).push(l.copy(c,u))}}if(o){let s=new Cr(o.sort(wu),Hf);return r?new ql([s,r]):s}return r||vo}eq(t){if(this==t)return!0;if(!(t instanceof Cr)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(let n=0;n<this.local.length;n++)if(!this.local[n].eq(t.local[n]))return!1;for(let n=0;n<this.children.length;n+=3)if(this.children[n]!=t.children[n]||this.children[n+1]!=t.children[n+1]||!this.children[n+2].eq(t.children[n+2]))return!1;return!0}locals(t){return b5(this.localsInner(t))}localsInner(t){if(this==vo)return Hf;if(t.inlineContent||!this.local.some(fc.is))return this.local;let n=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof fc||n.push(this.local[r]);return n}}Cr.empty=new Cr([],[]);Cr.removeOverlap=b5;const vo=Cr.empty;class ql{constructor(t){this.members=t}map(t,n){const r=this.members.map(o=>o.map(t,n,Mu));return ql.from(r)}forChild(t,n){if(n.isLeaf)return Cr.empty;let r=[];for(let o=0;o<this.members.length;o++){let i=this.members[o].forChild(t,n);i!=vo&&(i instanceof ql?r=r.concat(i.members):r.push(i))}return ql.from(r)}eq(t){if(!(t instanceof ql)||t.members.length!=this.members.length)return!1;for(let n=0;n<this.members.length;n++)if(!this.members[n].eq(t.members[n]))return!1;return!0}locals(t){let n,r=!0;for(let o=0;o<this.members.length;o++){let i=this.members[o].localsInner(t);if(i.length)if(!n)n=i;else{r&&(n=n.slice(),r=!1);for(let a=0;a<i.length;a++)n.push(i[a])}}return n?b5(r?n:n.sort(wu)):Hf}static from(t){switch(t.length){case 0:return vo;case 1:return t[0];default:return new ql(t.every(n=>n instanceof Cr)?t:t.reduce((n,r)=>n.concat(r instanceof Cr?r:r.members),[]))}}}function Ise(e,t,n,r,o,i,a){let s=e.slice();for(let c=0,u=i;c<n.maps.length;c++){let f=0;n.maps[c].forEach((d,h,p,v)=>{let m=v-p-(h-d);for(let x=0;x<s.length;x+=3){let y=s[x+1];if(y<0||d>y+u-f)continue;let R=s[x]+u-f;h>=R?s[x+1]=d<=R?-2:-1:d>=u&&m&&(s[x]+=m,s[x+1]+=m)}f+=m}),u=n.maps[c].map(u,-1)}let l=!1;for(let c=0;c<s.length;c+=3)if(s[c+1]<0){if(s[c+1]==-2){l=!0,s[c+1]=-1;continue}let u=n.map(e[c]+i),f=u-o;if(f<0||f>=r.content.size){l=!0;continue}let d=n.map(e[c+1]+i,-1),h=d-o,{index:p,offset:v}=r.content.findIndex(f),m=r.maybeChild(p);if(m&&v==f&&v+m.nodeSize==h){let x=s[c+2].mapInner(n,m,u+1,e[c]+i+1,a);x!=vo?(s[c]=f,s[c+1]=h,s[c+2]=x):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=Fse(s,e,t,n,o,i,a),u=gm(c,r,0,a);t=u.local;for(let f=0;f<s.length;f+=3)s[f+1]<0&&(s.splice(f,3),f-=3);for(let f=0,d=0;f<u.children.length;f+=3){let h=u.children[f];for(;d<s.length&&s[d]<h;)d+=3;s.splice(d,0,u.children[f],u.children[f+1],u.children[f+2])}}return new Cr(t.sort(wu),s)}function OF(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let o=e[r];n.push(new Ci(o.from+t,o.to+t,o.type))}return n}function Fse(e,t,n,r,o,i,a){function s(l,c){for(let u=0;u<l.local.length;u++){let f=l.local[u].map(r,o,c);f?n.push(f):a.onRemove&&a.onRemove(l.local[u].spec)}for(let u=0;u<l.children.length;u+=3)s(l.children[u+2],l.children[u]+c+1)}for(let l=0;l<e.length;l+=3)e[l+1]==-1&&s(e[l+2],t[l]+i+1);return n}function TF(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,o=null;for(let i=0,a;i<e.length;i++)(a=e[i])&&a.from>n&&a.to<r&&((o||(o=[])).push(a),e[i]=null);return o}function kF(e){let t=[];for(let n=0;n<e.length;n++)e[n]!=null&&t.push(e[n]);return t}function gm(e,t,n,r){let o=[],i=!1;t.forEach((s,l)=>{let c=TF(e,s,l+n);if(c){i=!0;let u=gm(c,s,n+l+1,r);u!=vo&&o.push(l,l+s.nodeSize,u)}});let a=OF(i?kF(e):e,-n).sort(wu);for(let s=0;s<a.length;s++)a[s].type.valid(t,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||o.length?new Cr(a,o):vo}function wu(e,t){return e.from-t.from||e.to-t.to}function b5(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let o=n+1;o<t.length;o++){let i=t[o];if(i.from==r.from){i.to!=r.to&&(t==e&&(t=e.slice()),t[o]=i.copy(i.from,r.to),LT(t,o+1,i.copy(r.to,i.to)));continue}else{i.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,i.from),LT(t,o,r.copy(i.from,r.to)));break}}}return t}function LT(e,t,n){for(;t<e.length&&wu(n,e[t])>0;)t++;e.splice(t,0,n)}function Ky(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=vo&&t.push(r)}),e.cursorWrapper&&t.push(Cr.create(e.state.doc,[e.cursorWrapper.deco])),ql.from(t)}const _se={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},Ese=si&&cc<=11;class Xse{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 Wse{constructor(t,n){this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new Xse,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let o=0;o<r.length;o++)this.queue.push(r[o]);si&&cc<=11&&r.some(o=>o.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),Ese&&(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,_se)),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;n<t.length;n++)this.queue.push(t[n]);window.setTimeout(()=>this.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(AT(this.view)){if(this.suppressingSelectionUpdates)return ol(this.view);if(si&&cc<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&Uu(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 i=t.focusNode;i;i=up(i))n.add(i);for(let i=t.anchorNode;i;i=up(i))if(n.has(i)){r=i;break}let o=r&&this.view.docView.nearestDesc(r);if(o&&o.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(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&AT(t)&&!this.ignoreSelectionChange(r),i=-1,a=-1,s=!1,l=[];if(t.editable)for(let u=0;u<n.length;u++){let f=this.registerMutation(n[u],l);f&&(i=i<0?f.from:Math.min(f.from,i),a=a<0?f.to:Math.max(f.to,a),f.typeOver&&(s=!0))}if(Ia&&l.length){let u=l.filter(f=>f.nodeName=="BR");if(u.length==2){let[f,d]=u;f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let d of u){let h=d.parentNode;h&&h.nodeName=="LI"&&(!f||Yse(t,f)!=h)&&d.remove()}}}let c=null;i<0&&o&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)<Date.now()-300&&A2(r)&&(c=v5(t))&&c.eq(yn.near(t.state.doc.resolve(0),1))?(t.input.lastFocus=0,ol(t),this.currentSelection.set(r),t.scrollToSelection()):(i>-1||o)&&(i>-1&&(t.docView.markDirty(i,a),Vse(t)),this.handleDOMChange(i,a,s,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(r)||ol(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 u=0;u<t.addedNodes.length;u++){let f=t.addedNodes[u];n.push(f),f.nodeType==3&&(this.lastChangedTextNode=f)}if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(t.target))return{from:r.posBefore,to:r.posAfter};let o=t.previousSibling,i=t.nextSibling;if(si&&cc<=11&&t.addedNodes.length)for(let u=0;u<t.addedNodes.length;u++){let{previousSibling:f,nextSibling:d}=t.addedNodes[u];(!f||Array.prototype.indexOf.call(t.addedNodes,f)<0)&&(o=f),(!d||Array.prototype.indexOf.call(t.addedNodes,d)<0)&&(i=d)}let a=o&&o.parentNode==t.target?oo(o)+1:0,s=r.localPosFromDOM(t.target,a,-1),l=i&&i.parentNode==t.target?oo(i):t.target.childNodes.length,c=r.localPosFromDOM(t.target,l,1);return{from:s,to:c}}else return t.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:(this.lastChangedTextNode=t.target,{from:r.posAtStart,to:r.posAtEnd,typeOver:t.target.nodeValue==t.oldValue})}}let OT=new WeakMap,TT=!1;function Vse(e){if(!OT.has(e)&&(OT.set(e,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)!==-1)){if(e.requiresGeckoHackNode=Ia,TT)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),TT=!0}}function kT(e,t){let n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,a=e.domAtPos(e.state.selection.anchor);return Uu(a.node,a.offset,o,i)&&([n,r,o,i]=[o,i,n,r]),{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}}function Use(e,t){if(t.getComposedRanges){let o=t.getComposedRanges(e.root)[0];if(o)return kT(e,o)}let n;function r(o){o.preventDefault(),o.stopImmediatePropagation(),n=o.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",r,!0),n?kT(e,n):null}function Yse(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let r=e.docView.nearestDesc(n,!0);if(r&&r.node.isBlock)return n}return null}function Qse(e,t,n){let{node:r,fromOffset:o,toOffset:i,from:a,to:s}=e.docView.parseRange(t,n),l=e.domSelectionRange(),c,u=l.anchorNode;if(u&&e.dom.contains(u.nodeType==1?u:u.parentNode)&&(c=[{node:u,offset:l.anchorOffset}],A2(l)||c.push({node:l.focusNode,offset:l.focusOffset})),xo&&e.input.lastKeyCode===8)for(let m=i;m>o;m--){let x=r.childNodes[m-1],y=x.pmViewDesc;if(x.nodeName=="BR"&&!y){i=m;break}if(!y||y.size)break}let f=e.state.doc,d=e.someProp("domParser")||hx.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:o,to:i,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:Zse,context:h});if(c&&c[0].pos!=null){let m=c[0].pos,x=c[1]&&c[1].pos;x==null&&(x=m),p={anchor:m+a,head:x+a}}return{doc:v,sel:p,from:a,to:s}}function Zse(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName=="BR"&&e.parentNode){if(Vo&&/^(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||Vo&&/^(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 Bse=/^(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 Dse(e,t,n,r,o){let i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let L=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,k=v5(e,L);if(k&&!e.state.selection.eq(k)){if(xo&&La&&e.input.lastKeyCode===13&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",P=>P(e,iu(13,"Enter"))))return;let E=e.state.tr.setSelection(k);L=="pointer"?E.setMeta("pointer",!0):L=="key"&&E.scrollIntoView(),i&&E.setMeta("composition",i),e.dispatch(E)}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,c=Qse(e,t,n),u=e.state.doc,f=u.slice(c.from,c.to),d,h;e.input.lastKeyCode===8&&Date.now()-100<e.input.lastKeyCodeTime?(d=e.state.selection.to,h="end"):(d=e.state.selection.from,h="start"),e.input.lastKeyCode=null;let p=Gse(f.content,c.doc.content,c.from,d,h);if((Wd&&e.input.lastIOSEnter>Date.now()-225||La)&&o.some(L=>L.nodeType==1&&!Bse.test(L.nodeName))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",L=>L(e,iu(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!p)if(r&&l instanceof En&&!l.empty&&l.$head.sameParent(l.$anchor)&&!e.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))p={start:l.from,endA:l.to,endB:l.to};else{if(c.sel){let L=NT(e,e.state.doc,c.sel);if(L&&!L.eq(e.state.selection)){let k=e.state.tr.setSelection(L);i&&k.setMeta("composition",i),e.dispatch(k)}}return}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&p.start==p.endB&&e.state.selection instanceof En&&(p.start>e.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=c.from?p.start=e.state.selection.from:p.endA<e.state.selection.to&&p.endA>=e.state.selection.to-2&&e.state.selection.to<=c.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),si&&cc<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>c.from&&c.doc.textBetween(p.start-c.from-1,p.start-c.from+1)==" "&&(p.start--,p.endA--,p.endB--);let v=c.doc.resolveNoCache(p.start-c.from),m=c.doc.resolveNoCache(p.endB-c.from),x=u.resolve(p.start),y=v.sameParent(m)&&v.parent.inlineContent&&x.end()>=p.endA,R;if((Wd&&e.input.lastIOSEnter>Date.now()-225&&(!y||o.some(L=>L.nodeName=="DIV"||L.nodeName=="P"))||!y&&v.pos<c.doc.content.size&&!v.sameParent(m)&&(R=yn.findFrom(c.doc.resolve(v.pos+1),1,!0))&&R.head==m.pos)&&e.someProp("handleKeyDown",L=>L(e,iu(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>p.start&&Hse(u,p.start,p.endA,v,m)&&e.someProp("handleKeyDown",L=>L(e,iu(8,"Backspace")))){La&&xo&&e.domObserver.suppressSelectionUpdates();return}xo&&La&&p.endB==p.start&&(e.input.lastAndroidDelete=Date.now()),La&&!y&&v.start()!=m.start()&&m.parentOffset==0&&v.depth==m.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==p.endA&&(p.endB-=2,m=c.doc.resolveNoCache(p.endB-c.from),setTimeout(()=>{e.someProp("handleKeyDown",function(L){return L(e,iu(13,"Enter"))})},20));let A=p.start,b=p.endA,M,T,w;if(y){if(v.pos==m.pos)si&&cc<=11&&v.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>ol(e),20)),M=e.state.tr.delete(A,b),T=u.resolve(p.start).marksAcross(u.resolve(p.endA));else if(p.endA==p.endB&&(w=Kse(v.parent.content.cut(v.parentOffset,m.parentOffset),x.parent.content.cut(x.parentOffset,p.endA-x.start()))))M=e.state.tr,w.type=="add"?M.addMark(A,b,w.mark):M.removeMark(A,b,w.mark);else if(v.parent.child(v.index()).isText&&v.index()==m.index()-(m.textOffset?0:1)){let L=v.parent.textBetween(v.parentOffset,m.parentOffset);if(e.someProp("handleTextInput",k=>k(e,A,b,L)))return;M=e.state.tr.insertText(L,A,b)}}if(M||(M=e.state.tr.replace(A,b,c.doc.slice(p.start-c.from,p.endB-c.from))),c.sel){let L=NT(e,M.doc,c.sel);L&&!(xo&&La&&e.composing&&L.empty&&(p.start!=p.endB||e.input.lastAndroidDelete<Date.now()-100)&&(L.head==A||L.head==M.mapping.map(b)-1)||si&&L.empty&&L.head==A)&&M.setSelection(L)}T&&M.ensureMarks(T),i&&M.setMeta("composition",i),e.dispatch(M.scrollIntoView())}function NT(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:g5(e,t.resolve(n.anchor),t.resolve(n.head))}function Kse(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,o=n,i=r,a,s,l;for(let u=0;u<r.length;u++)o=r[u].removeFromSet(o);for(let u=0;u<n.length;u++)i=n[u].removeFromSet(i);if(o.length==1&&i.length==0)s=o[0],a="add",l=u=>u.mark(s.addToSet(u.marks));else if(o.length==0&&i.length==1)s=i[0],a="remove",l=u=>u.mark(s.removeFromSet(u.marks));else return null;let c=[];for(let u=0;u<t.childCount;u++)c.push(l(t.child(u)));if(ct.from(c).eq(e))return{mark:s,type:a}}function Hse(e,t,n,r,o){if(n-t<=o.pos-r.pos||Hy(r,!0,!1)<o.pos)return!1;let i=e.resolve(t);if(!r.parent.isTextblock){let s=i.nodeAfter;return s!=null&&n==t+s.nodeSize}if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let a=e.resolve(Hy(i,!0,!0));return!a.parent.isTextblock||a.pos>n||Hy(a,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function Hy(e,t,n){let r=e.depth,o=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n){let i=e.node(r).maybeChild(e.indexAfter(r));for(;i&&!i.isLeaf;)i=i.firstChild,o++}return o}function Gse(e,t,n,r,o){let i=e.findDiffStart(t,n);if(i==null)return null;let{a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if(o=="end"){let l=Math.max(0,i-Math.min(a,s));r-=a+l-i}if(a<i&&e.size<t.size){let l=r<=i&&r>=a?i-r:0;i-=l,i&&i<t.size&&PT(t.textBetween(i-1,i+1))&&(i+=l?1:-1),s=i+(s-a),a=i}else if(s<i){let l=r<=i&&r>=s?i-r:0;i-=l,i&&i<e.size&&PT(e.textBetween(i-1,i+1))&&(i+=l?1:-1),a=i+(a-s),s=i}return{start:i,endA:a,endB:s}}function PT(e){if(e.length!=2)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}class zse{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 pse,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(ET),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=FT(this),IT(this),this.nodeViews=_T(this),this.docView=dT(this.state.doc,CT(this),Ky(this),this.dom,this),this.domObserver=new Wse(this,(r,o,i,a)=>Dse(this,r,o,i,a)),this.domObserver.start(),vse(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&&fb(this);let n=this._props;this._props=t,t.plugins&&(t.plugins.forEach(ET),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 o=this.state,i=!1,a=!1;t.storedMarks&&this.composing&&(SF(this),a=!0),this.state=t;let s=o.plugins!=t.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=_T(this);$se(h,this.nodeViews)&&(this.nodeViews=h,i=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&fb(this),this.editable=FT(this),IT(this);let l=Ky(this),c=CT(this),u=o.plugins!=t.plugins&&!o.doc.eq(t.doc)?"reset":t.scrollToSelection>o.scrollToSelection?"to selection":"preserve",f=i||!this.docView.matchesNode(t.doc,c,l);(f||!t.selection.eq(o.selection))&&(a=!0);let d=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&Nae(this);if(a){this.domObserver.stop();let h=f&&(si||xo)&&!this.composing&&!o.selection.empty&&!t.selection.empty&&Jse(o.selection,t.selection);if(f){let p=xo?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Tse(this)),(i||!this.docView.update(t.doc,c,l,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=dT(t.doc,c,l,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&ese(this))?ol(this,h):(uF(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(o),!((r=this.dragging)===null||r===void 0)&&r.node&&!o.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,o),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():d&&Pae(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Yt){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&aT(this,n.getBoundingClientRect(),t)}else aT(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;n<this.directPlugins.length;n++){let r=this.directPlugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let n=0;n<this.state.plugins.length;n++){let r=this.state.plugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let n=0;n<this.pluginViews.length;n++){let r=this.pluginViews[n];r.update&&r.update(this,t)}}updateDraggedNode(t,n){let r=t.node,o=-1;if(this.state.doc.nodeAt(r.from)==r.node)o=r.from;else{let i=r.from+(this.state.doc.content.size-n.doc.content.size);(i>0&&this.state.doc.nodeAt(i))==r.node&&(o=i)}this.dragging=new wF(t.slice,t.move,o<0?void 0:Yt.create(this.state.doc,o))}someProp(t,n){let r=this._props&&this._props[t],o;if(r!=null&&(o=n?n(r):r))return o;for(let a=0;a<this.directPlugins.length;a++){let s=this.directPlugins[a].props[t];if(s!=null&&(o=n?n(s):s))return o}let i=this.state.plugins;if(i)for(let a=0;a<i.length;a++){let s=i[a].props[t];if(s!=null&&(o=n?n(s):s))return o}}hasFocus(){if(si){let t=this.root.activeElement;if(t==this.dom)return!0;if(!t||!this.dom.contains(t))return!1;for(;t&&this.dom!=t&&this.dom.contains(t);){if(t.contentEditable=="false")return!1;t=t.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&Cae(this.dom),ol(this),this.domObserver.start()}get root(){let t=this._root;if(t==null){for(let n=this.dom.parentNode;n;n=n.parentNode)if(n.nodeType==9||n.nodeType==11&&n.host)return n.getSelection||(Object.getPrototypeOf(n).getSelection=()=>n.ownerDocument.getSelection()),this._root=n}return t||document}updateRoot(){this._root=null}posAtCoords(t){return Xae(this,t)}coordsAtPos(t,n=1){return nF(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 o=this.docView.posFromDOM(t,n,r);if(o==null)throw new RangeError("DOM position not inside the editor");return o}endOfTextblock(t,n){return Qae(this,n||this.state,t)}pasteHTML(t,n){return dp(this,"",t,!1,n||new ClipboardEvent("paste"))}pasteText(t,n){return dp(this,t,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(gse(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Ky(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Rae())}get isDestroyed(){return this.docView==null}dispatchEvent(t){return Ase(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 Vo&&this.root.nodeType===11&&Mae(this.dom.ownerDocument)==this.dom&&Use(this,t)||t}domSelection(){return this.root.getSelection()}}function CT(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"),[Ci.node(0,e.state.doc.content.size,t)]}function IT(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:Ci.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function FT(e){return!e.someProp("editable",t=>t(e.state)===!1)}function Jse(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 _T(e){let t=Object.create(null);function n(r){for(let o in r)Object.prototype.hasOwnProperty.call(t,o)||(t[o]=r[o])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function $se(e,t){let n=0,r=0;for(let o in e){if(e[o]!=t[o])return!0;n++}for(let o in t)r++;return n!=r}function ET(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 yc={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:"'"},mm={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},jse=typeof navigator<"u"&&/Mac/.test(navigator.platform),qse=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var io=0;io<10;io++)yc[48+io]=yc[96+io]=String(io);for(var io=1;io<=24;io++)yc[io+111]="F"+io;for(var io=65;io<=90;io++)yc[io]=String.fromCharCode(io+32),mm[io]=String.fromCharCode(io);for(var Gy in yc)mm.hasOwnProperty(Gy)||(mm[Gy]=yc[Gy]);function ele(e){var t=jse&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||qse&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?mm:yc)[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 tle=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function nle(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n=="Space"&&(n=" ");let r,o,i,a;for(let s=0;s<t.length-1;s++){let l=t[s];if(/^(cmd|meta|m)$/i.test(l))a=!0;else if(/^a(lt)?$/i.test(l))r=!0;else if(/^(c|ctrl|control)$/i.test(l))o=!0;else if(/^s(hift)?$/i.test(l))i=!0;else if(/^mod$/i.test(l))tle?a=!0:o=!0;else throw new Error("Unrecognized modifier name: "+l)}return r&&(n="Alt-"+n),o&&(n="Ctrl-"+n),a&&(n="Meta-"+n),i&&(n="Shift-"+n),n}function rle(e){let t=Object.create(null);for(let n in e)t[nle(n)]=e[n];return t}function zy(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function XT(e){return new Gd({props:{handleKeyDown:NF(e)}})}function NF(e){let t=rle(e);return function(n,r){let o=ele(r),i,a=t[zy(o,r)];if(a&&a(n.state,n.dispatch,n))return!0;if(o.length==1&&o!=" "){if(r.shiftKey){let s=t[zy(o,r,!1)];if(s&&s(n.state,n.dispatch,n))return!0}if((r.shiftKey||r.altKey||r.metaKey||o.charCodeAt(0)>127)&&(i=yc[r.keyCode])&&i!=o){let s=t[zy(i,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var Am=200,Gr=function(){};Gr.prototype.append=function(t){return t.length?(t=Gr.from(t),!this.length&&t||t.length<Am&&this.leafAppend(t)||this.length<Am&&t.leafPrepend(this)||this.appendInner(t)):this};Gr.prototype.prepend=function(t){return t.length?Gr.from(t).append(this):this};Gr.prototype.appendInner=function(t){return new ole(this,t)};Gr.prototype.slice=function(t,n){return t===void 0&&(t=0),n===void 0&&(n=this.length),t>=n?Gr.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))};Gr.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};Gr.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)};Gr.prototype.map=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var o=[];return this.forEach(function(i,a){return o.push(t(i,a))},n,r),o};Gr.from=function(t){return t instanceof Gr?t:t&&t.length?new PF(t):Gr.empty};var PF=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(o,i){return o==0&&i==this.length?this:new t(this.values.slice(o,i))},t.prototype.getInner=function(o){return this.values[o]},t.prototype.forEachInner=function(o,i,a,s){for(var l=i;l<a;l++)if(o(this.values[l],s+l)===!1)return!1},t.prototype.forEachInvertedInner=function(o,i,a,s){for(var l=i-1;l>=a;l--)if(o(this.values[l],s+l)===!1)return!1},t.prototype.leafAppend=function(o){if(this.length+o.length<=Am)return new t(this.values.concat(o.flatten()))},t.prototype.leafPrepend=function(o){if(this.length+o.length<=Am)return new t(o.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(Gr);Gr.empty=new PF([]);var ole=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 r<this.left.length?this.left.get(r):this.right.get(r-this.left.length)},t.prototype.forEachInner=function(r,o,i,a){var s=this.left.length;if(o<s&&this.left.forEachInner(r,o,Math.min(i,s),a)===!1||i>s&&this.right.forEachInner(r,Math.max(o-s,0),Math.min(this.length,i)-s,a+s)===!1)return!1},t.prototype.forEachInvertedInner=function(r,o,i,a){var s=this.left.length;if(o>s&&this.right.forEachInvertedInner(r,o-s,Math.max(i,s)-s,a+s)===!1||i<s&&this.left.forEachInvertedInner(r,Math.min(o,s),i,a)===!1)return!1},t.prototype.sliceInner=function(r,o){if(r==0&&o==this.length)return this;var i=this.left.length;return o<=i?this.left.slice(r,o):r>=i?this.right.slice(r-i,o-i):this.left.slice(r,i).append(this.right.slice(0,o-i))},t.prototype.leafAppend=function(r){var o=this.right.leafAppend(r);if(o)return new t(this.left,o)},t.prototype.leafPrepend=function(r){var o=this.left.leafPrepend(r);if(o)return new t(o,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}(Gr);const ile=500;class Ta{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 o,i;n&&(o=this.remapping(r,this.items.length),i=o.maps.length);let a=t.tr,s,l,c=[],u=[];return this.items.forEach((f,d)=>{if(!f.step){o||(o=this.remapping(r,d+1),i=o.maps.length),i--,u.push(f);return}if(o){u.push(new Ja(f.map));let h=f.step.map(o.slice(i)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],c.push(new Ja(p,void 0,void 0,c.length+u.length))),i--,p&&o.appendMap(p,i)}else a.maybeStep(f.step);if(f.selection)return s=o?f.selection.map(o.slice(i)):f.selection,l=new Ta(this.items.slice(0,r).append(u.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,n,r,o){let i=[],a=this.eventCount,s=this.items,l=!o&&s.length?s.get(s.length-1):null;for(let u=0;u<t.steps.length;u++){let f=t.steps[u].invert(t.docs[u]),d=new Ja(t.mapping.maps[u],f,n),h;(h=l&&l.merge(d))&&(d=h,u?i.pop():s=s.slice(0,s.length-1)),i.push(d),n&&(a++,n=void 0),o||(l=d)}let c=a-r.depth;return c>sle&&(s=ale(s,c),a-=c),new Ta(s.append(i),a)}remapping(t,n){let r=new pd;return this.items.forEach((o,i)=>{let a=o.mirrorOffset!=null&&i-o.mirrorOffset>=t?r.maps.length-o.mirrorOffset:void 0;r.appendMap(o.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new Ta(this.items.append(t.map(n=>new Ja(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],o=Math.max(0,this.items.length-n),i=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},o);let l=n;this.items.forEach(d=>{let h=i.getMirror(--l);if(h==null)return;a=Math.min(a,h);let p=i.maps[h];if(d.step){let v=t.steps[h].invert(t.docs[h]),m=d.selection&&d.selection.map(i.slice(l+1,h));m&&s++,r.push(new Ja(p,v,m))}else r.push(new Ja(p))},o);let c=[];for(let d=n;d<a;d++)c.push(new Ja(i.maps[d]));let u=this.items.slice(0,o).append(c).append(r),f=new Ta(u,s);return f.emptyItemCount()>ile&&(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,o=[],i=0;return this.items.forEach((a,s)=>{if(s>=t)o.push(a),a.selection&&i++;else if(a.step){let l=a.step.map(n.slice(r)),c=l&&l.getMap();if(r--,c&&n.appendMap(c,r),l){let u=a.selection&&a.selection.map(n.slice(r));u&&i++;let f=new Ja(c.invert(),l,u),d,h=o.length-1;(d=o.length&&o[h].merge(f))?o[h]=d:o.push(f)}}else a.map&&r--},this.items.length,0),new Ta(Gr.from(o.reverse()),i)}}Ta.empty=new Ta(Gr.empty,0);function ale(e,t){let n;return e.forEach((r,o)=>{if(r.selection&&t--==0)return n=o,!1}),e.slice(n)}class Ja{constructor(t,n,r,o){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=o}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Ja(n.getMap().invert(),n,this.selection)}}}class Gl{constructor(t,n,r,o,i){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=o,this.prevComposition=i}}const sle=20;function lle(e,t,n,r){let o=n.getMeta(dc),i;if(o)return o.historyState;n.getMeta(ule)&&(e=new Gl(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(dc))return a.getMeta(dc).redo?new Gl(e.done.addTransform(n,void 0,r,lg(t)),e.undone,WT(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new Gl(e.done,e.undone.addTransform(n,void 0,r,lg(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||!cle(n,e.prevRanges)),c=a?Jy(e.prevRanges,n.mapping):WT(n.mapping.maps[n.steps.length-1]);return new Gl(e.done.addTransform(n,l?t.selection.getBookmark():void 0,r,lg(t)),Ta.empty,c,n.time,s??e.prevComposition)}else return(i=n.getMeta("rebased"))?new Gl(e.done.rebased(n,i),e.undone.rebased(n,i),Jy(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new Gl(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),Jy(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function cle(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,o)=>{for(let i=0;i<t.length;i+=2)r<=t[i+1]&&o>=t[i]&&(n=!0)}),n}function WT(e){let t=[];return e.forEach((n,r,o,i)=>t.push(o,i)),t}function Jy(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let o=t.map(e[r],1),i=t.map(e[r+1],-1);o<=i&&n.push(o,i)}return n}function CF(e,t,n,r){let o=lg(t),i=dc.get(t).spec.config,a=(r?e.undone:e.done).popEvent(t,o);if(!a)return;let s=a.selection.resolve(a.transform.doc),l=(r?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),i,o),c=new Gl(r?l:a.remaining,r?a.remaining:l,null,0,-1);n(a.transform.setSelection(s).setMeta(dc,{redo:r,historyState:c}).scrollIntoView())}let $y=!1,VT=null;function lg(e){let t=e.plugins;if(VT!=t){$y=!1,VT=t;for(let n=0;n<t.length;n++)if(t[n].spec.historyPreserveItems){$y=!0;break}}return $y}const dc=new cP("history"),ule=new cP("closeHistory");function fle(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new Gd({key:dc,state:{init(){return new Gl(Ta.empty,Ta.empty,null,0,-1)},apply(t,n,r){return lle(n,r,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(t,n){let r=n.inputType,o=r=="historyUndo"?IF:r=="historyRedo"?FF:null;return o?(n.preventDefault(),o(t.state,t.dispatch)):!1}}}})}const IF=(e,t)=>{let n=dc.getState(e);return!n||n.done.eventCount==0?!1:(t&&CF(n,e,t,!1),!0)},FF=(e,t)=>{let n=dc.getState(e);return!n||n.undone.eventCount==0?!1:(t&&CF(n,e,t,!0),!0)};function dle(e={}){return new Gd({view(t){return new hle(t,e)}})}class hle{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(o=>{let i=a=>{this[o](a)};return t.dom.addEventListener(o,i),{name:o,handler:i}})}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 c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let u=c.getBoundingClientRect(),f=s?u.bottom:u.top;s&&l&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.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 o=this.editorView.dom.offsetParent;this.element||(this.element=o.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 i,a;if(!o||o==document.body&&getComputedStyle(o).position=="static")i=-pageXOffset,a=-pageYOffset;else{let s=o.getBoundingClientRect();i=s.left-o.scrollLeft,a=s.top-o.scrollTop}this.element.style.left=r.left-i+"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),o=r&&r.type.spec.disableDropCursor,i=typeof o=="function"?o(this.editorView,n,t):o;if(n&&!i){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=nP(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 yr extends yn{constructor(t){super(t,t)}map(t,n){let r=t.resolve(n.map(this.head));return yr.valid(r)?new yr(r):yn.near(r)}content(){return bt.empty}eq(t){return t instanceof yr&&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 yr(t.resolve(n.pos))}getBookmark(){return new x5(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!ple(t)||!vle(t))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let o=n.contentMatchAt(t.index()).defaultType;return o&&o.isTextblock}static findGapCursorFrom(t,n,r=!1){e:for(;;){if(!r&&yr.valid(t))return t;let o=t.pos,i=null;for(let a=t.depth;;a--){let s=t.node(a);if(n>0?t.indexAfter(a)<s.childCount:t.index(a)>0){i=s.child(n>0?t.indexAfter(a):t.index(a)-1);break}else if(a==0)return null;o+=n;let l=t.doc.resolve(o);if(yr.valid(l))return l}for(;;){let a=n>0?i.firstChild:i.lastChild;if(!a){if(i.isAtom&&!i.isText&&!Yt.isSelectable(i)){t=t.doc.resolve(o+i.nodeSize*n),r=!1;continue e}break}i=a,o+=n;let s=t.doc.resolve(o);if(yr.valid(s))return s}return null}}}yr.prototype.visible=!1;yr.findFrom=yr.findGapCursorFrom;yn.jsonID("gapcursor",yr);class x5{constructor(t){this.pos=t}map(t){return new x5(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return yr.valid(n)?new yr(n):yn.near(n)}}function ple(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 o=r.child(n-1);;o=o.lastChild){if(o.childCount==0&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}function vle(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 o=r.child(n);;o=o.firstChild){if(o.childCount==0&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}function gle(){return new Gd({props:{decorations:yle,createSelectionBetween(e,t,n){return t.pos==n.pos&&yr.valid(n)?new yr(n):null},handleClick:Ale,handleKeyDown:mle,handleDOMEvents:{beforeinput:Rle}}})}const mle=NF({ArrowLeft:Lv("horiz",-1),ArrowRight:Lv("horiz",1),ArrowUp:Lv("vert",-1),ArrowDown:Lv("vert",1)});function Lv(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(r,o,i){let a=r.selection,s=t>0?a.$to:a.$from,l=a.empty;if(a instanceof En){if(!i.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(t>0?s.after():s.before())}let c=yr.findGapCursorFrom(s,t,l);return c?(o&&o(r.tr.setSelection(new yr(c))),!0):!1}}function Ale(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!yr.valid(r))return!1;let o=e.posAtCoords({left:n.clientX,top:n.clientY});return o&&o.inside>-1&&Yt.isSelectable(e.state.doc.nodeAt(o.inside))?!1:(e.dispatch(e.state.tr.setSelection(new yr(r))),!0)}function Rle(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof yr))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 o=ct.empty;for(let a=r.length-1;a>=0;a--)o=ct.from(r[a].createAndFill(null,o));let i=e.state.tr.replace(n.pos,n.pos,new bt(o,0,0));return i.setSelection(En.near(i.doc.resolve(n.pos+1))),e.dispatch(i),!1}function yle(e){if(!(e.selection instanceof yr))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",Cr.create(e.doc,[Ci.widget(e.selection.head,t,{key:"gapcursor"})])}const ble=["li",0],xle={parseDOM:[{tag:"li"}],toDOM(){return ble},defining:!0};function Sle(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=!1,l=a;if(!a)return!1;if(a.depth>=2&&o.node(a.depth-1).type.compatibleContent(e)&&a.startIndex==0){if(o.index(a.depth-1)==0)return!1;let u=n.doc.resolve(a.start-2);l=new _g(u,u,a.depth),a.endIndex<a.parent.childCount&&(a=new _g(o,n.doc.resolve(i.end(a.depth)),a.depth)),s=!0}let c=vx(l,e,t,a);return c?(r&&r(Mle(n.tr,a,c,s,e).scrollIntoView()),!0):!1}}function Mle(e,t,n,r,o){let i=ct.empty;for(let u=n.length-1;u>=0;u--)i=ct.from(n[u].type.create(n[u].attrs,i));e.step(new lo(t.start-(r?2:0),t.end,t.start,t.end,new bt(i,0,0),n.length,!0));let a=0;for(let u=0;u<n.length;u++)n[u].type==o&&(a=u+1);let s=n.length-a,l=t.start+n.length-(r?2:0),c=t.parent;for(let u=t.startIndex,f=t.endIndex,d=!0;u<f;u++,d=!1)!d&&vd(e.doc,l,s)&&(e.split(l,s),l+=2*s),l+=c.child(u).nodeSize;return e}function wle(e,t){return function(n,r){let{$from:o,$to:i,node:a}=n.selection;if(a&&a.isBlock||o.depth<2||!o.sameParent(i))return!1;let s=o.node(-1);if(s.type!=e)return!1;if(o.parent.content.size==0&&o.node(-1).childCount==o.indexAfter(-1)){if(o.depth==3||o.node(-3).type!=e||o.index(-2)!=o.node(-2).childCount-1)return!1;if(r){let f=ct.empty,d=o.index(-1)?1:o.index(-2)?2:3;for(let x=o.depth-d;x>=o.depth-3;x--)f=ct.from(o.node(x).copy(f));let h=o.indexAfter(-1)<o.node(-2).childCount?1:o.indexAfter(-2)<o.node(-3).childCount?2:3;f=f.append(ct.from(e.createAndFill()));let p=o.before(o.depth-(d-1)),v=n.tr.replace(p,o.after(-h),new bt(f,4-d,0)),m=-1;v.doc.nodesBetween(p,v.doc.content.size,(x,y)=>{if(m>-1)return!1;x.isTextblock&&x.content.size==0&&(m=y+1)}),m>-1&&v.setSelection(yn.near(v.doc.resolve(m))),r(v.scrollIntoView())}return!0}let l=i.pos==o.end()?s.contentMatchAt(0).defaultType:null,c=n.tr.delete(o.pos,i.pos),u=l?[null,{type:l}]:void 0;return vd(c.doc,o.pos,2,u)?(r&&r(c.split(o.pos,2,u).scrollIntoView()),!0):!1}}function _F(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,a=>a.childCount>0&&a.firstChild.type==e);return i?n?r.node(i.depth-1).type==e?Lle(t,n,e,i):Ole(t,n,i):!0:!1}}function Lle(e,t,n,r){let o=e.tr,i=r.end,a=r.$to.end(r.depth);i<a&&(o.step(new lo(i-1,a,i,a,new bt(ct.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new _g(o.doc.resolve(r.$from.pos),o.doc.resolve(a),r.depth));const s=Lp(r);if(s==null)return!1;o.lift(r,s);let l=o.mapping.map(i,-1)-1;return Hd(o.doc,l)&&o.join(l),t(o.scrollIntoView()),!0}function Ole(e,t,n){let r=e.tr,o=n.parent;for(let h=n.end,p=n.endIndex-1,v=n.startIndex;p>v;p--)h-=o.child(p).nodeSize,r.delete(h-1,h+1);let i=r.doc.resolve(n.start),a=i.nodeAfter;if(r.mapping.map(n.end)!=n.start+i.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,l=n.endIndex==o.childCount,c=i.node(-1),u=i.index(-1);if(!c.canReplace(u+(s?0:1),u+1,a.content.append(l?ct.empty:ct.from(o))))return!1;let f=i.pos,d=f+a.nodeSize;return r.step(new lo(f-(s?1:0),d+(l?1:0),f+1,d-1,new bt((s?ct.empty:ct.from(o.copy(ct.empty))).append(l?ct.empty:ct.from(o.copy(ct.empty))),s?0:1,l?0:1),s?0:1)),t(r.scrollIntoView()),!0}function UT(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,c=>c.childCount>0&&c.firstChild.type==e);if(!i)return!1;let a=i.startIndex;if(a==0)return!1;let s=i.parent,l=s.child(a-1);if(l.type!=e)return!1;if(n){let c=l.lastChild&&l.lastChild.type==s.type,u=ct.from(c?e.create():null),f=new bt(ct.from(e.create(null,ct.from(s.type.create(null,u)))),c?3:1,0),d=i.start,h=i.end;n(t.tr.step(new lo(d-(c?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}class pl{constructor(t,n,r={}){this.match=t,this.match=t,this.handler=typeof n=="string"?Tle(n):n,this.undoable=r.undoable!==!1,this.inCode=r.inCode||!1}}function Tle(e){return function(t,n,r,o){let i=e;if(n[1]){let a=n[0].lastIndexOf(n[1]);i+=n[0].slice(a+n[1].length),r+=a;let s=r-o;s>0&&(i=n[0].slice(a-s,a)+i,r=o)}return t.tr.insertText(i,r,o)}}const kle=500;function Nle({rules:e}){let t=new Gd({state:{init(){return null},apply(n,r){let o=n.getMeta(this);return o||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,o,i){return YT(n,r,o,i,e,t)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&YT(n,r.pos,r.pos,"",e,t)})}}},isInputRules:!0});return t}function YT(e,t,n,r,o,i){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t),l=s.parent.textBetween(Math.max(0,s.parentOffset-kle),s.parentOffset,null,"")+r;for(let c=0;c<o.length;c++){let u=o[c];if(s.parent.type.spec.code){if(!u.inCode)continue}else if(u.inCode==="only")continue;let f=u.match.exec(l),d=f&&u.handler(a,f,t-(f[0].length-r.length),n);if(d)return u.undoable&&d.setMeta(i,{transform:d,from:t,to:n,text:r}),e.dispatch(d),!0}return!1}const Ple=(e,t)=>{let n=e.plugins;for(let r=0;r<n.length;r++){let o=n[r],i;if(o.spec.isInputRules&&(i=o.getState(e))){if(t){let a=e.tr,s=i.transform;for(let l=s.steps.length-1;l>=0;l--)a.step(s.steps[l].invert(s.docs[l]));if(i.text){let l=a.doc.resolve(i.from).marks();a.replaceWith(i.from,i.to,e.schema.text(i.text,l))}else a.delete(i.from,i.to);t(a)}return!0}}return!1},Cle=new pl(/--$/,"—"),Ile=new pl(/\.\.\.$/,"…"),Fle=new pl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),_le=new pl(/"$/,"”"),Ele=new pl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),Xle=new pl(/'$/,"’"),Wle=[Fle,_le,Ele,Xle];function S5(e,t,n=null,r){return new pl(e,(o,i,a,s)=>{let l=n instanceof Function?n(i):n,c=o.tr.delete(a,s),u=c.doc.resolve(a),f=u.blockRange(),d=f&&vx(f,t,l);if(!d)return null;c.wrap(f,d);let h=c.doc.resolve(a-1).nodeBefore;return h&&h.type==t&&Hd(c.doc,a-1)&&(!r||r(i,h))&&c.join(a-1),c})}const Vle=e=>{const t={},n=(r,o)=>t[r]=o;return n("Alt-ArrowUp",OG),n("Alt-ArrowDown",TG),n("Mod-z",IF),n("Mod-y",FF),n("Backspace",Ple),n("Escape",IG),n("Mod-b",Pr(e.marks.strong)),n("Mod-i",Pr(e.marks.em)),n("Mod-u",Pr(e.marks.underline)),n("Mod-d",Pr(e.marks.strikethrough)),n("Mod-e",Pr(e.marks.code)),n("Mod-;",Pr(e.marks.superscript)),n("Mod-'",Pr(e.marks.subscript)),n("Enter",Hm(wle(e.nodes.list_item),hP,pP,vP,CG)),n("Mod-[",_F(e.nodes.list_item)),n("Mod-]",UT(e.nodes.list_item)),n("Tab",UT(e.nodes.list_item)),t},Ule=e=>S5(/^\s*>\s$/,e),Yle=e=>S5(/^(\d+)\.\s$/,e,t=>({order:+t[1]}),(t,n)=>n.childCount+n.attrs.order===+t[1]),Qle=e=>S5(/^\s*([-+*])\s$/,e),Zle=()=>{const e=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;return new pl(e,(t,n,r,o)=>{const{schema:i}=t,a=t.tr.insertText(`${n[2]} `,r,o),s=i.marks.code.create();return a.addMark(r,r+n[2].length,s)})},Ble=()=>{const e=/(?:https?:\/\/)?[\w-]+(?:\.[\w-]+)+\.?(?:\d+)?(?:\/\S*)?$/;return new pl(e,(t,n,r,o)=>{const{schema:i}=t,a=t.tr.insertText(n[0],r,o),s=i.marks.link.create({href:n[0],title:n[0]});return a.addMark(r,r+n[0].length,s)})},Dle=e=>{const t=[...Wle,Ile,Cle];return t.push(Ule(e.nodes.blockquote)),t.push(Yle(e.nodes.ordered_list)),t.push(Qle(e.nodes.bullet_list)),t.push(Zle()),t.push(Ble()),Nle({rules:t})},Kle=e=>e.type.name==="paragraph"&&e.nodeSize===2,Hle=e=>new Gd({props:{decorations(t){const{$from:n}=t.selection;if(Kle(n.parent)){const r=Ci.node(n.before(),n.after(),{"data-placeholder":e});return Cr.create(t.doc,[r])}}}}),Gle=(e,t)=>{const n=t==null?void 0:t.placeholder,r=[Dle(e),XT(Vle(e)),XT(UG),dle(),gle(),fle()];return n&&r.push(Hle(n)),r},zle=["p",0],Jle=["blockquote",0],$le=["hr"],jle=["pre",["code",0]],qle=["br"],EF={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return zle}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return Jle}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return $le}},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 jle}},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 qle}}},ece=["em",0],tce=["strong",0],nce=["code",0],XF={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 ece}},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 tce}},code:{parseDOM:[{tag:"code"}],toDOM(){return nce}}};new KN({nodes:EF,marks:XF});const rce={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:o,color:i}=e.style;return r&&(n.listStyleType=r),o&&(n.fontsize=o),i&&(n.color=i),n}}],toDOM:e=>{const{order:t,listStyleType:n,fontsize:r,color:o}=e.attrs;let i="";n&&(i+=`list-style-type: ${n};`),r&&(i+=`font-size: ${r};`),o&&(i+=`color: ${o};`);const a={style:i};return t!==1&&(a.start=t),["ol",a,0]}},oce={attrs:{listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ul",getAttrs:e=>{const t={},{listStyleType:n,fontSize:r,color:o}=e.style;return n&&(t.listStyleType=n),r&&(t.fontsize=r),o&&(t.color=o),t}}],toDOM:e=>{const{listStyleType:t,fontsize:n,color:r}=e.attrs;let o="";return t&&(o+=`list-style-type: ${t};`),n&&(o+=`font-size: ${n};`),r&&(o+=`color: ${r};`),["ul",{style:o},0]}},ice={...xle,content:"paragraph block*",group:"block"},ace={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 o=0;n&&(/em/.test(n)?o=parseInt(n):/px/.test(n)&&(o=Math.floor(parseInt(n)/20),o||(o=1)));const i=+(e.getAttribute("data-indent")||0);return{align:r,indent:i,textIndent:o}}},{tag:"img",ignore:!0},{tag:"pre",skip:!0}],toDOM:e=>{const{align:t,indent:n,textIndent:r}=e.attrs;let o="";t&&t!=="left"&&(o+=`text-align: ${t};`),r&&(o+=`text-indent: ${r*20}px;`);const i={style:o};return n&&(i["data-indent"]=n),["p",i,0]}},{doc:sce,blockquote:lce,text:cce}=EF,uce={doc:sce,paragraph:ace,blockquote:lce,text:cce,ordered_list:rce,bullet_list:oce,list_item:ice},fce={excludes:"subscript",parseDOM:[{tag:"sub"},{style:"vertical-align",getAttrs:e=>e==="sub"&&null}],toDOM:()=>["sub",0]},dce={excludes:"superscript",parseDOM:[{tag:"sup"},{style:"vertical-align",getAttrs:e=>e==="super"&&null}],toDOM:()=>["sup",0]},hce={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]},pce={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]},vce={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]}},gce={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]}},mce={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]}},Ace={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]}},Rce={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]},yce={attrs:{index:{default:null}},parseDOM:[{tag:"mark",getAttrs:e=>({index:e.dataset.index})}],toDOM:e=>["mark",{"data-index":e.attrs.index},0]},{em:bce,strong:xce,code:Sce}=XF,Mce={em:bce,strong:xce,fontsize:mce,fontname:Ace,code:Sce,forecolor:vce,backcolor:gce,subscript:fce,superscript:dce,strikethrough:hce,underline:pce,link:Rce,mark:yce},wce=uce,Lce=Mce,WF=new KN({nodes:wce,marks:Lce}),M5=e=>{const t=`<div>${e}</div>`,r=new window.DOMParser().parseFromString(t,"text/html").body.firstElementChild;return hx.fromSchema(WF).parse(r)},VF=(e,t,n,r)=>new zse(e,{state:zf.create({doc:M5(t),plugins:Gle(WF,r)}),...n});function Oce(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(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(t,n)})}}}var Hr=(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))(Hr||{});const ao=Oce(),Tce=(e,t,n)=>{const{selection:r,doc:o}=e;if(!r||!o)return e;const{from:i,to:a}=r,{nodes:s}=t,l=s.blockquote,c=s.list_item,u=s.paragraph,f=[];n=n||"";const d=new Set([l,c,u]);return o.nodesBetween(i,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:m}=h;let{attrs:x}=p;n?x={...x,align:n}:x={...x,align:null},e=e.setNodeMarkup(v,m,x,p.marks)}),e},kce=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=Tce(n.tr.setSelection(o),r,t);e.dispatch(i)};function Nce(e,t,n,r){if(!e.doc)return e;const o=e.doc.nodeAt(t);if(!o)return e;const i=0,a=8;let s=(o.attrs[r]||0)+n;if(s<i&&(s=i),s>a&&(s=a),s===o.attrs[r])return e;const l={...o.attrs,[r]:s};return e.setNodeMarkup(t,o.type,l,o.marks)}const UF=(e,t,n,r)=>{const{selection:o,doc:i}=e;if(!o||!i||!(o instanceof En||o instanceof oi))return e;const{from:a,to:s}=o;return i.nodesBetween(a,s,(l,c)=>{const u=l.type;return u.name==="paragraph"||u.name==="blockquote"?(e=Nce(e,c,n,r),!1):!Vg(l,t)}),e},Pce=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=UF(n.tr.setSelection(o),r,t,"indent");return i.docChanged?(e.dispatch(i),!0):!1},Cce=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=UF(n.tr.setSelection(o),r,t,"textIndent");return i.docChanged?(e.dispatch(i),!0):!1},Rm=(e,t,n,r={})=>(o,i)=>{const{schema:a,selection:s}=o,{$from:l,$to:c}=s,u=l.blockRange(c);if(!u)return!1;const f=bP(h=>Vg(h,a))(s);if(u.depth>=1&&f&&u.depth-f.depth<=1){if(f.node.type===e&&!n)return _F(t)(o,i);if(Vg(f.node,a)&&e.validContent(f.node.content)){const{tr:h}=o,p={...f.node.attrs,...r};return n&&(p.listStyleType=n),h.setNodeMarkup(f.pos,e,p),i&&i(h),!1}}const d={...r};return n&&(d.listStyleType=n),Sle(e,d)(o,i)},O0=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=n.tr.setSelection(o),{doc:a}=i;if(!a)return i;const{from:s,to:l}=o;a.nodesBetween(s,l,(c,u)=>{if(Vg(c,r)&&s-3<=u&&l+3>=u+c.nodeSize){const f=Array.isArray(t)?t:[t];for(const d of f)i.setNodeAttribute(u,d.key,d.value)}return!1}),e.dispatch(i)},Ice=Ee({__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,o=n,i=ft(),{handleElementId:a,textFormatPainter:s,richTextAttrs:l}=Xe(i),c=ve();let u;const f=On.debounce(function(b=!1){r.value.replace(/ style=\"\"/g,"")!==u.dom.innerHTML.replace(/ style=\"\"/g,"")&&o("update",{value:u.dom.innerHTML,ignore:b})},300,{trailing:!0}),d=()=>{i.setDisableHotkeysState(!0),o("focus")},h=()=>{i.setDisableHotkeysState(!1),o("blur")},p=On.debounce(function(){const b=z4(u,{color:r.defaultColor,fontname:r.defaultFontName});i.setRichtextAttrs(b)},30,{trailing:!0}),v=(b,M)=>{const{ctrlKey:T,shiftKey:w,metaKey:L}=M,k=T||w||L,E=M.key.toUpperCase(),P=k&&(E===gt.Z||E===gt.Y);f(P),p()},m=Me(()=>r.value);wt(m,()=>{if(!u||u.hasFocus())return;const{doc:b,tr:M}=u.state;u.dispatch(M.replaceRangeWith(0,b.content.size,M5(m.value)))}),wt(()=>r.editable,()=>{u.setProps({editable:()=>r.editable})}),t({focus:()=>u.focus()});const y=({target:b,action:M})=>{if(!b&&a.value!==r.elementId||b&&b!==r.elementId)return;const T="command"in M?[M]:M;for(const w of T)if(w.command==="fontname"&&w.value){const L=u.state.schema.marks.fontname.create({fontname:w.value});Er(u),za(u,L)}else if(w.command==="fontsize"&&w.value){const L=u.state.schema.marks.fontsize.create({fontsize:w.value});Er(u),za(u,L),O0(u,{key:"fontsize",value:w.value})}else if(w.command==="fontsize-add"){const L=w.value?+w.value:2;Er(u);const k=IM(u)+L+"px",E=u.state.schema.marks.fontsize.create({fontsize:k});za(u,E),O0(u,{key:"fontsize",value:k})}else if(w.command==="fontsize-reduce"){const L=w.value?+w.value:2;Er(u);let k=IM(u)-L;k<12&&(k=12);const E=u.state.schema.marks.fontsize.create({fontsize:k+"px"});za(u,E),O0(u,{key:"fontsize",value:k+"px"})}else if(w.command==="color"&&w.value){const L=u.state.schema.marks.forecolor.create({color:w.value});Er(u),za(u,L),O0(u,{key:"color",value:w.value})}else if(w.command==="backcolor"&&w.value){const L=u.state.schema.marks.backcolor.create({backcolor:w.value});Er(u),za(u,L)}else if(w.command==="bold")Er(u),Pr(u.state.schema.marks.strong)(u.state,u.dispatch);else if(w.command==="em")Er(u),Pr(u.state.schema.marks.em)(u.state,u.dispatch);else if(w.command==="underline")Er(u),Pr(u.state.schema.marks.underline)(u.state,u.dispatch);else if(w.command==="strikethrough")Er(u),Pr(u.state.schema.marks.strikethrough)(u.state,u.dispatch);else if(w.command==="subscript")Pr(u.state.schema.marks.subscript)(u.state,u.dispatch);else if(w.command==="superscript")Pr(u.state.schema.marks.superscript)(u.state,u.dispatch);else if(w.command==="blockquote")Bv("blockquote",u.state)?kG(u.state,u.dispatch):XG(u.state.schema.nodes.blockquote)(u.state,u.dispatch);else if(w.command==="code")Pr(u.state.schema.marks.code)(u.state,u.dispatch);else if(w.command==="align"&&w.value)kce(u,w.value);else if(w.command==="indent"&&w.value)Pce(u,+w.value);else if(w.command==="textIndent"&&w.value)Cce(u,+w.value);else if(w.command==="bulletList"){const L=w.value||"",{bullet_list:k,list_item:E}=u.state.schema.nodes,P={color:l.value.color,fontsize:l.value.fontsize};Rm(k,E,L,P)(u.state,u.dispatch)}else if(w.command==="orderedList"){const L=w.value||"",{ordered_list:k,list_item:E}=u.state.schema.nodes,P={color:l.value.color,fontsize:l.value.fontsize};Rm(k,E,L,P)(u.state,u.dispatch)}else if(w.command==="clear"){Er(u);const{$from:L,$to:k}=u.state.selection;u.dispatch(u.state.tr.removeMark(L.pos,k.pos)),O0(u,[{key:"fontsize",value:""},{key:"color",value:""}])}else if(w.command==="link"){const L=u.state.schema.marks.link,{from:k,to:E}=u.state.selection,P=YG(u.state.doc,k,E,L);if(P)if(w.value){const W=u.state.schema.marks.link.create({href:w.value,title:w.value});za(u,W,{from:P.from.pos,to:P.to.pos+1})}else u.dispatch(u.state.tr.removeMark(P.from.pos,P.to.pos+1,L));else if(DG(u.state,L))if(w.value){const W=u.state.schema.marks.link.create({href:w.value,title:w.value});za(u,W)}else Pr(L)(u.state,u.dispatch);else w.value&&(Er(u),Pr(L,{href:w.value,title:w.value})(u.state,u.dispatch))}else w.command==="insert"&&w.value&&u.dispatch(u.state.tr.insertText(w.value));u.focus(),f(),p()},R=()=>{if(!s.value)return;const{keep:b,...M}=s.value,T=[{command:"clear"}];for(const w of Object.keys(M)){const L=w,k=s.value[w];k===!0?T.push({command:L}):k&&T.push({command:L,value:k})}y({action:T}),b||i.setTextFormatPainter(null)};Qt(()=>{u=VF(c.value,m.value,{handleDOMEvents:{focus:d,blur:h,keydown:v,click:p,mouseup:R},editable:()=>r.editable}),r.autoFocus&&u.focus()}),Sn(()=>{u&&u.destroy()});const A=()=>{a.value===r.elementId&&p()};return ao.on(Hr.RICH_TEXT_COMMAND,y),ao.on(Hr.SYNC_RICH_TEXT_ATTRS_TO_STORE,A),Sn(()=>{ao.off(Hr.RICH_TEXT_COMMAND,y),ao.off(Hr.SYNC_RICH_TEXT_ATTRS_TO_STORE,A)}),(b,M)=>(U(),ee("div",{class:Je(["prosemirror-editor",{"format-painter":H(s)}]),ref_key:"editorViewRef",ref:c,onMousedown:M[0]||(M[0]=T=>o("mousedown",T))},null,34))}}),YF=Ue(Ice,[["__scopeId","data-v-d7122e81"]]),QF=e=>(zt("data-v-3b68a2d9"),e=e(),Jt(),e),Fce=QF(()=>V("div",{class:"drag-handler top"},null,-1)),_ce=QF(()=>V("div",{class:"drag-handler bottom"},null,-1)),Ece=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{handleElementId:o,isScaling:i}=Xe(n),{addHistorySnapshot:a}=Ht(),s=ve(),l=Me(()=>t.elementInfo.shadow),{shadowStyle:c}=Pc(l),u=(y,R=!0)=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo,R))},f=ve(-1),d=ve(-1);wt(i,()=>{o.value===t.elementInfo.id&&(i.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,b=R.width+20;!t.elementInfo.vertical&&t.elementInfo.height!==A&&(i.value?f.value=A:r.updateElement({id:t.elementInfo.id,props:{height:A}})),t.elementInfo.vertical&&t.elementInfo.width!==b&&(i.value?d.value=b:r.updateElement({id:t.elementInfo.id,props:{width:b}}))},p=new ResizeObserver(h);Qt(()=>{s.value&&p.observe(s.value)}),Sn(()=>{s.value&&p.unobserve(s.value)});const v=(y,R=!1)=>{r.updateElement({id:t.elementInfo.id,props:{content:y}}),R||a()},m=On.debounce(function(){t.elementInfo.content.replace(/<[^>]+>/g,"")||r.deleteElement(t.elementInfo.id)},300,{trailing:!0}),x=Me(()=>o.value===t.elementInfo.id);return wt(x,()=>{x.value||m()}),(y,R)=>{const A=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-text",{lock:y.elementInfo.lock}]),style:we({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:we({transform:`rotate(${y.elementInfo.rotate}deg)`})},[He((U(),ee("div",{class:"element-content",ref_key:"elementRef",ref:s,style:we({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:H(c),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]=b=>u(b)),onTouchstart:R[3]||(R[3]=b=>u(b))},[O(m2,{width:y.elementInfo.width,height:y.elementInfo.height,outline:y.elementInfo.outline},null,8,["width","height","outline"]),O(YF,{class:"text",elementId:y.elementInfo.id,defaultColor:y.elementInfo.defaultColor,defaultFontName:y.elementInfo.defaultFontName,editable:!y.elementInfo.lock,value:y.elementInfo.content,style:we({"--paragraphSpace":`${y.elementInfo.paragraphSpace===void 0?5:y.elementInfo.paragraphSpace}px`}),onUpdate:R[0]||(R[0]=({value:b,ignore:M})=>v(b,M)),onMousedown:R[1]||(R[1]=b=>u(b,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value","style"]),Fce,_ce],36)),[[A,y.contextmenus]])],4)],6)}}}),ZF=Ue(Ece,[["__scopeId","data-v-3b68a2d9"]]),Xce=["id","gradientTransform"],Wce=["offset","stop-color"],Vce=["id"],Uce=["offset","stop-color"],BF=Ee({__name:"GradientDefs",props:{id:{},type:{},colors:{},rotate:{default:0}},setup(e){return(t,n)=>t.type==="linear"?(U(),ee("linearGradient",{key:0,id:t.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%",gradientTransform:`rotate(${t.rotate},0.5,0.5)`},[(U(!0),ee(We,null,nt(t.colors,(r,o)=>(U(),ee("stop",{key:o,offset:`${r.pos}%`,"stop-color":r.color},null,8,Wce))),128))],8,Xce)):(U(),ee("radialGradient",{key:1,id:t.id},[(U(!0),ee(We,null,nt(t.colors,(r,o)=>(U(),ee("stop",{key:o,offset:`${r.pos}%`,"stop-color":r.color},null,8,Uce))),128))],8,Vce))}}),Yce=["width","height"],Qce={key:0},Zce=["transform"],Bce=["d","fill","stroke","stroke-width","stroke-dasharray"],Dce=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{handleElementId:o,shapeFormatPainter:i}=Xe(n),{addHistorySnapshot:a}=Ht(),s=(w,L=!0)=>{t.elementInfo.lock||(w.stopPropagation(),t.selectElement(w,t.elementInfo,L))},l=()=>{if(!i.value)return;const{keep:w,...L}=i.value;r.updateElement({id:t.elementInfo.id,props:L}),a(),w||n.setShapeFormatPainter(null)},c=Me(()=>t.elementInfo.outline),{outlineWidth:u,outlineColor:f,strokeDashArray:d}=e0(c),h=Me(()=>t.elementInfo.shadow),{shadowStyle:p}=Pc(h),v=Me(()=>t.elementInfo.flipH),m=Me(()=>t.elementInfo.flipV),{flipStyle:x}=g2(v,m),y=ve(!1);wt(o,()=>{o.value!==t.elementInfo.id&&y.value&&(y.value=!1)});const R=Me(()=>{const w={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:w}),A=(w,L=!1)=>{const k={...R.value,content:w};r.updateElement({id:t.elementInfo.id,props:{text:k}}),L||a()},b=()=>{if(!t.elementInfo.text)return;t.elementInfo.text.content.replace(/<[^>]+>/g,"")||(r.removeElementProps({id:t.elementInfo.id,propName:"text"}),a())},M=ve(),T=()=>{y.value=!0,pr(()=>M.value&&M.value.focus())};return(w,L)=>{const k=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-shape",{lock:w.elementInfo.lock,"format-painter":H(i)}]),style:we({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:we({transform:`rotate(${w.elementInfo.rotate}deg)`})},[He((U(),ee("div",{class:"element-content",style:we({opacity:w.elementInfo.opacity,filter:H(p)?`drop-shadow(${H(p)})`:"",transform:H(x),color:R.value.defaultColor,fontFamily:R.value.defaultFontName}),onMousedown:L[3]||(L[3]=E=>s(E)),onMouseup:L[4]||(L[4]=E=>l()),onTouchstart:L[5]||(L[5]=E=>s(E)),onDblclick:L[6]||(L[6]=E=>T())},[(U(),ee("svg",{overflow:"visible",width:w.elementInfo.width,height:w.elementInfo.height},[w.elementInfo.gradient?(U(),ee("defs",Qce,[O(BF,{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"])])):Qe("",!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:H(f),"stroke-width":H(u),"stroke-dasharray":H(d)},null,8,Bce)],8,Zce)],8,Yce)),V("div",{class:Je(["shape-text",[R.value.align,{editable:y.value||R.value.content}]])},[y.value||R.value.content?(U(),ke(YF,{key:0,ref_key:"prosemirrorEditorRef",ref:M,elementId:w.elementInfo.id,defaultColor:R.value.defaultColor,defaultFontName:R.value.defaultFontName,editable:!w.elementInfo.lock,value:R.value.content,onUpdate:L[0]||(L[0]=({value:E,ignore:P})=>A(E,P)),onBlur:L[1]||(L[1]=E=>b()),onMousedown:L[2]||(L[2]=E=>s(E,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value"])):Qe("",!0)],2)],36)),[[k,w.contextmenus]])],4)],6)}}}),DF=Ue(Dce,[["__scopeId","data-v-f67a7b76"]]),Kce=["id","markerWidth","markerHeight","refX","refY"],Hce=["d","fill","transform"],Vd=Ee({__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},o=Me(()=>n[t.type]),i=Me(()=>r[`${t.type}-${t.position}`]||0),a=Me(()=>t.baseSize<2?2:t.baseSize);return(s,l)=>(U(),ee("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:o.value,fill:s.color,transform:`scale(${a.value*.3}, ${a.value*.3}) rotate(${i.value}, 5, 5)`},null,8,Hce)],8,Kce))}}),Gce=["width","height"],zce=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Jce=["d"],$ce=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=c=>{t.elementInfo.lock||(c.stopPropagation(),t.selectElement(c,t.elementInfo))},r=Me(()=>t.elementInfo.shadow),{shadowStyle:o}=Pc(r),i=Me(()=>{const c=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return c<24?24:c}),a=Me(()=>{const c=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return c<24?24:c}),s=Me(()=>{if(t.elementInfo.style!=="dashed")return"0 0";const c=t.elementInfo.width;return c<=8?`${c*5} ${c*2.5}`:`${c*5} ${c*1.5}`}),l=Me(()=>Ex(t.elementInfo));return(c,u)=>{const f=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-shape",{lock:c.elementInfo.lock}]),style:we({top:c.elementInfo.top+"px",left:c.elementInfo.left+"px"})},[V("div",{class:"element-content",style:we({filter:H(o)?`drop-shadow(${H(o)})`:""}),onMousedown:u[0]||(u[0]=d=>n(d)),onTouchstart:u[1]||(u[1]=d=>n(d))},[(U(),ee("svg",{overflow:"visible",width:i.value,height:a.value},[V("defs",null,[c.elementInfo.points[0]?(U(),ke(Vd,{key:0,id:c.elementInfo.id,position:"start",type:c.elementInfo.points[0],color:c.elementInfo.color,baseSize:c.elementInfo.width},null,8,["id","type","color","baseSize"])):Qe("",!0),c.elementInfo.points[1]?(U(),ke(Vd,{key:1,id:c.elementInfo.id,position:"end",type:c.elementInfo.points[1],color:c.elementInfo.color,baseSize:c.elementInfo.width},null,8,["id","type","color","baseSize"])):Qe("",!0)]),V("path",{class:"line-point",d:l.value,stroke:c.elementInfo.color,"stroke-width":c.elementInfo.width,"stroke-dasharray":s.value,fill:"none","marker-start":c.elementInfo.points[0]?`url(#${c.elementInfo.id}-${c.elementInfo.points[0]}-start)`:"","marker-end":c.elementInfo.points[1]?`url(#${c.elementInfo.id}-${c.elementInfo.points[1]}-end)`:""},null,8,zce),He(V("path",{class:"line-path",d:l.value,stroke:"transparent","stroke-width":"20",fill:"none"},null,8,Jce),[[f,c.contextmenus]])],8,Gce))],36)],6)}}}),KF=Ue($ce,[["__scopeId","data-v-7ecafe01"]]),oh={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},jce=8,QT={"&":"&","<":"<",">":">",'"':""","'":"'"};function ZT(e,t){return typeof e=="number"?e+t:e}function ym(e){if(typeof e=="string"){const t=/^(\d+)\s*(.*)$/g.exec(e);return{value:t?+t[1]:0,unit:(t==null?void 0:t[2])||void 0}}return{value:Number(e)}}function w5(e){return String.fromCharCode(97+e%26)}const jy=2221e-19;function qce(e){return Math.floor(Math.log(Math.abs(e))/Math.LN10)}function T0(e,t,n){return t/n.range*e}function eue(e,t){const n=Math.pow(10,jce);return Math.round(e*n)/n}function tue(e){if(e===1)return e;function t(a,s){return a%s===0?s:t(s,a%s)}function n(a){return a*a+1}let r=2,o=2,i;if(e%2===0)return 2;do r=n(r)%e,o=n(n(o))%e,i=t(Math.abs(r-o),e);while(i===1);return i}function qy(e,t,n,r){const o=(r-90)*Math.PI/180;return{x:e+n*Math.cos(o),y:t+n*Math.sin(o)}}function nue(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const o={high:t.high,low:t.low,valueRange:0,oom:0,step:0,min:0,max:0,range:0,numberOfSteps:0,values:[]};o.valueRange=o.high-o.low,o.oom=qce(o.valueRange),o.step=Math.pow(10,o.oom),o.min=Math.floor(o.low/o.step)*o.step,o.max=Math.ceil(o.high/o.step)*o.step,o.range=o.max-o.min,o.numberOfSteps=Math.round(o.range/o.step);const a=T0(e,o.step,o)<n,s=r?tue(o.range):0;if(r&&T0(e,1,o)>=n)o.step=1;else if(r&&s<o.step&&T0(e,s,o)>=n)o.step=s;else{let d=0;for(;;){if(a&&T0(e,o.step,o)<=n)o.step*=2;else if(!a&&T0(e,o.step/2,o)>=n){if(o.step/=2,r&&o.step%1!==0){o.step*=2;break}}else break;if(d++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}}o.step=Math.max(o.step,jy);function l(d,h){return d===(d+=h)&&(d*=1+(h>0?jy:-jy)),d}let c=o.min,u=o.max;for(;c+o.step<=o.low;)c=l(c,o.step);for(;u-o.step>=o.high;)u=l(u,-o.step);o.min=c,o.max=u,o.range=o.max-o.min;const f=[];for(let d=o.min;d<=o.max;d=l(d,o.step)){const h=eue(d);h!==f[f.length-1]&&f.push(h)}return o.values=f,o}function Qu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(let o=0;o<n.length;o++){const i=n[o];for(const a in i){const s=i[a];typeof s=="object"&&s!==null&&!(s instanceof Array)?e[a]=Qu(e[a],s):e[a]=s}}return e}const pp=e=>e;function db(e,t){return Array.from({length:e},t?(n,r)=>t(r):()=>{})}const rue=(e,t)=>e+(t||0),oue=(e,t)=>db(Math.max(...e.map(n=>n.length)),n=>t(...e.map(r=>r[n])));function zn(e,t){return e!==null&&typeof e=="object"&&Reflect.has(e,t)}function Eh(e){return e!==null&&isFinite(e)}function HF(e){return!e&&e!==0}function Sd(e){return Eh(e)?Number(e):void 0}function iue(e){return Array.isArray(e)?e.every(Array.isArray):!1}function GF(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=0;e[n?"reduceRight":"reduce"]((o,i,a)=>t(i,r++,a),void 0)}function zF(e,t){const n=Array.isArray(e)?e[t]:zn(e,"data")?e.data[t]:null;return zn(n,"meta")?n.meta:void 0}function JF(e){return e==null||typeof e=="number"&&isNaN(e)}function aue(e){return Array.isArray(e)&&e.every(t=>Array.isArray(t)||zn(t,"data"))}function sue(e){return typeof e=="object"&&e!==null&&(Reflect.has(e,"x")||Reflect.has(e,"y"))}function L5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y";return sue(e)&&zn(e,t)?Sd(e[t]):Sd(e)}function hb(e,t,n){t={...t,...n?n==="x"?t.axisX:t.axisY:{}};const r={high:t.high===void 0?-Number.MAX_VALUE:+t.high,low:t.low===void 0?Number.MAX_VALUE:+t.low},o=t.high===void 0,i=t.low===void 0;function a(s){if(!JF(s))if(Array.isArray(s))for(let l=0;l<s.length;l++)a(s[l]);else{const l=Number(n&&zn(s,n)?s[n]:s);o&&l>r.high&&(r.high=l),i&&l<r.low&&(r.low=l)}}return(o||i)&&a(e),(t.referenceValue||t.referenceValue===0)&&(r.high=Math.max(t.referenceValue,r.high),r.low=Math.min(t.referenceValue,r.low)),r.high<=r.low&&(r.low===0?r.high=1:r.low<0?r.high=0:(r.high>0||(r.high=1),r.low=0)),r}function O5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o;const i={labels:(e.labels||[]).slice(),series:uue(e.series,n,r)},a=i.labels.length;return iue(i.series)?(o=Math.max(a,...i.series.map(s=>s.length)),i.series.forEach(s=>{s.push(...db(Math.max(0,o-s.length)))})):o=i.series.length,i.labels.push(...db(Math.max(0,o-a),()=>"")),t&&lue(i),i}function lue(e){var t;(t=e.labels)===null||t===void 0||t.reverse(),e.series.reverse();for(const n of e.series)zn(n,"data")?n.data.reverse():Array.isArray(n)&&n.reverse()}function cue(e,t){let n,r;if(typeof e!="object"){const o=Sd(e);t==="x"?n=o:r=o}else zn(e,"x")&&(n=Sd(e.x)),zn(e,"y")&&(r=Sd(e.y));if(!(n===void 0&&r===void 0))return{x:n,y:r}}function BT(e,t){if(!JF(e))return t?cue(e,t):Sd(e)}function pb(e,t){return Array.isArray(e)?e.map(n=>zn(n,"value")?BT(n.value,t):BT(n,t)):pb(e.data,t)}function uue(e,t,n){if(aue(e))return e.map(o=>pb(o,t));const r=pb(e,t);return n?r.map(o=>[o]):r}function fue(e,t,n){const r={increasingX:!1,fillHoles:!1,...n},o=[];let i=!0;for(let a=0;a<e.length;a+=2)L5(t[a/2].value)===void 0?r.fillHoles||(i=!0):(r.increasingX&&a>=2&&e[a]<=e[a-2]&&(i=!0),i&&(o.push({pathCoordinates:[],valueData:[]}),i=!1),o[o.length-1].pathCoordinates.push(e[a],e[a+1]),o[o.length-1].valueData.push(t[a/2]));return o}function vp(e){let t="";return e==null?e:(typeof e=="number"?t=""+e:typeof e=="object"?t=JSON.stringify({data:e}):t=String(e),Object.keys(QT).reduce((n,r)=>n.replaceAll(r,QT[r]),t))}class due{call(t,n){return this.svgElements.forEach(r=>Reflect.apply(r[t],r,n)),this}attr(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("attr",n)}elem(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("elem",n)}root(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("root",n)}getNode(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("getNode",n)}foreignObject(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("foreignObject",n)}text(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("text",n)}empty(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("empty",n)}remove(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("remove",n)}addClass(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("addClass",n)}removeClass(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("removeClass",n)}removeAllClasses(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("removeAllClasses",n)}animate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.call("animate",n)}constructor(t){this.svgElements=[];for(let n=0;n<t.length;n++)this.svgElements.push(new oc(t[n]))}}const $F={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function DT(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4?arguments[4]:void 0;const{easing:i,...a}=n,s={};let l,c;i&&(l=Array.isArray(i)?i:$F[i]),a.begin=ZT(a.begin,"ms"),a.dur=ZT(a.dur,"ms"),l&&(a.calcMode="spline",a.keySplines=l.join(" "),a.keyTimes="0;1"),r&&(a.fill="freeze",s[t]=a.from,e.attr(s),c=ym(a.begin||0).value,a.begin="indefinite");const u=e.elem("animate",{attributeName:t,...a});r&&setTimeout(()=>{try{u._node.beginElement()}catch{s[t]=a.to,e.attr(s),u.remove()}},c);const f=u.getNode();o&&f.addEventListener("beginEvent",()=>o.emit("animationBegin",{element:e,animate:f,params:n})),f.addEventListener("endEvent",()=>{o&&o.emit("animationEnd",{element:e,animate:f,params:n}),r&&(s[t]=a.to,e.attr(s),u.remove())})}class oc{attr(t,n){return typeof t=="string"?n?this._node.getAttributeNS(n,t):this._node.getAttribute(t):(Object.keys(t).forEach(r=>{if(t[r]!==void 0)if(r.indexOf(":")!==-1){const o=r.split(":");this._node.setAttributeNS(oh[o[0]],r,String(t[r]))}else this._node.setAttribute(r,String(t[r]))}),this)}elem(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return new oc(t,n,r,this,o)}parent(){return this._node.parentNode instanceof SVGElement?new oc(this._node.parentNode):null}root(){let t=this._node;for(;t.nodeName!=="svg"&&t.parentElement;)t=t.parentElement;return new oc(t)}querySelector(t){const n=this._node.querySelector(t);return n?new oc(n):null}querySelectorAll(t){const n=this._node.querySelectorAll(t);return new due(n)}getNode(){return this._node}foreignObject(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;if(typeof t=="string"){const s=document.createElement("div");s.innerHTML=t,i=s.firstChild}else i=t;i instanceof Element&&i.setAttribute("xmlns",oh.xmlns);const a=this.elem("foreignObject",n,r,o);return a._node.appendChild(i),a}text(t){return this._node.appendChild(document.createTextNode(t)),this}empty(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this}remove(){var t;return(t=this._node.parentNode)===null||t===void 0||t.removeChild(this._node),this.parent()}replace(t){var n;return(n=this._node.parentNode)===null||n===void 0||n.replaceChild(t._node,this._node),t}append(t){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this}classes(){const t=this._node.getAttribute("class");return t?t.trim().split(/\s+/):[]}addClass(t){return this._node.setAttribute("class",this.classes().concat(t.trim().split(/\s+/)).filter(function(n,r,o){return o.indexOf(n)===r}).join(" ")),this}removeClass(t){const n=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes().filter(r=>n.indexOf(r)===-1).join(" ")),this}removeAllClasses(){return this._node.setAttribute("class",""),this}height(){return this._node.getBoundingClientRect().height}width(){return this._node.getBoundingClientRect().width}animate(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2?arguments[2]:void 0;return Object.keys(t).forEach(o=>{const i=t[o];Array.isArray(i)?i.forEach(a=>DT(this,o,a,!1,r)):DT(this,o,i,n,r)}),this}constructor(t,n,r,o,i=!1){t instanceof Element?this._node=t:(this._node=document.createElementNS(oh.svg,t),t==="svg"&&this.attr({"xmlns:ct":oh.ct})),n&&this.attr(n),r&&this.addClass(r),o&&(i&&o._node.firstChild?o._node.insertBefore(this._node,o._node.firstChild):o._node.appendChild(this._node))}}oc.Easing=$F;function T5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"100%",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"100%",r=arguments.length>3?arguments[3]:void 0;Array.from(e.querySelectorAll("svg")).filter(i=>i.getAttributeNS(oh.xmlns,"ct")).forEach(i=>e.removeChild(i));const o=new oc("svg").attr({width:t,height:n}).attr({style:"width: ".concat(t,"; height: ").concat(n,";")});return r&&o.addClass(r),e.appendChild(o.getNode()),o}function hue(e){return typeof e=="number"?{top:e,right:e,bottom:e,left:e}:e===void 0?{top:0,right:0,bottom:0,left:0}:{top:typeof e.top=="number"?e.top:0,right:typeof e.right=="number"?e.right:0,bottom:typeof e.bottom=="number"?e.bottom:0,left:typeof e.left=="number"?e.left:0}}function k5(e,t){var n,r,o,i;const a=!!(t.axisX||t.axisY),s=((n=t.axisY)===null||n===void 0?void 0:n.offset)||0,l=((r=t.axisX)===null||r===void 0?void 0:r.offset)||0,c=(o=t.axisY)===null||o===void 0?void 0:o.position,u=(i=t.axisX)===null||i===void 0?void 0:i.position;let f=e.width()||ym(t.width).value||0,d=e.height()||ym(t.height).value||0;const h=hue(t.chartPadding);f=Math.max(f,s+h.left+h.right),d=Math.max(d,l+h.top+h.bottom);const p={x1:0,x2:0,y1:0,y2:0,padding:h,width(){return this.x2-this.x1},height(){return this.y1-this.y2}};return a?(u==="start"?(p.y2=h.top+l,p.y1=Math.max(d-h.bottom,p.y2+1)):(p.y2=h.top,p.y1=Math.max(d-h.bottom-l,p.y2+1)),c==="start"?(p.x1=h.left+s,p.x2=Math.max(f-h.right,p.x1+1)):(p.x1=h.left,p.x2=Math.max(f-h.right-s,p.x1+1))):(p.x1=h.left,p.x2=Math.max(f-h.right,p.x1+1),p.y2=h.top,p.y1=Math.max(d-h.bottom,p.y2+1)),p}function pue(e,t,n,r,o,i,a,s){const l={["".concat(n.units.pos,"1")]:e,["".concat(n.units.pos,"2")]:e,["".concat(n.counterUnits.pos,"1")]:r,["".concat(n.counterUnits.pos,"2")]:r+o},c=i.elem("line",l,a.join(" "));s.emit("draw",{type:"grid",axis:n,index:t,group:i,element:c,...l})}function jF(e,t,n,r){const o=e.elem("rect",{x:t.x1,y:t.y2,width:t.width(),height:t.height()},n,!0);r.emit("draw",{type:"gridBackground",group:e,element:o})}function vue(e,t,n,r,o,i,a,s,l,c){const u={[o.units.pos]:e+a[o.units.pos],[o.counterUnits.pos]:a[o.counterUnits.pos],[o.units.len]:t,[o.counterUnits.len]:Math.max(0,i-10)},f=Math.round(u[o.units.len]),d=Math.round(u[o.counterUnits.len]),h=document.createElement("span");h.className=l.join(" "),h.style[o.units.len]=f+"px",h.style[o.counterUnits.len]=d+"px",h.textContent=String(r);const p=s.foreignObject(h,{style:"overflow: visible;",...u});c.emit("draw",{type:"label",axis:o,index:n,group:s,element:p,text:r,...u})}function KT(e,t,n){let r;const o=[];function i(s){const l=r;r=Qu({},e),t&&t.forEach(c=>{window.matchMedia(c[0]).matches&&(r=Qu(r,c[1]))}),n&&s&&n.emit("optionsChanged",{previousOptions:l,currentOptions:r})}function a(){o.forEach(s=>s.removeEventListener("change",i))}if(window.matchMedia)t&&t.forEach(s=>{const l=window.matchMedia(s[0]);l.addEventListener("change",i),o.push(l)});else throw new Error("window.matchMedia not found! Make sure you're using a polyfill.");return i(),{removeMediaQueryListeners:a,getCurrentOptions(){return r}}}const vb={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},gue={accuracy:3};function Ov(e,t,n,r,o,i){const a={command:o?e.toLowerCase():e.toUpperCase(),...t,...i?{data:i}:{}};n.splice(r,0,a)}function e4(e,t){e.forEach((n,r)=>{vb[n.command.toLowerCase()].forEach((o,i)=>{t(n,o,r,i,e)})})}class tl{static join(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const o=new tl(n,r);for(let i=0;i<t.length;i++){const a=t[i];for(let s=0;s<a.pathElements.length;s++)o.pathElements.push(a.pathElements[s])}return o}position(t){return t!==void 0?(this.pos=Math.max(0,Math.min(this.pathElements.length,t)),this):this.pos}remove(t){return this.pathElements.splice(this.pos,t),this}move(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3?arguments[3]:void 0;return Ov("M",{x:+t,y:+n},this.pathElements,this.pos++,r,o),this}line(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3?arguments[3]:void 0;return Ov("L",{x:+t,y:+n},this.pathElements,this.pos++,r,o),this}curve(t,n,r,o,i,a){let s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,l=arguments.length>7?arguments[7]:void 0;return Ov("C",{x1:+t,y1:+n,x2:+r,y2:+o,x:+i,y:+a},this.pathElements,this.pos++,s,l),this}arc(t,n,r,o,i,a,s){let l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,c=arguments.length>8?arguments[8]:void 0;return Ov("A",{rx:t,ry:n,xAr:r,lAf:o,sf:i,x:a,y:s},this.pathElements,this.pos++,l,c),this}parse(t){const n=t.replace(/([A-Za-z])(-?[0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce((o,i)=>(i.match(/[A-Za-z]/)&&o.push([]),o[o.length-1].push(i),o),[]);n[n.length-1][0].toUpperCase()==="Z"&&n.pop();const r=n.map(o=>{const i=o.shift(),a=vb[i.toLowerCase()];return{command:i,...a.reduce((s,l,c)=>(s[l]=+o[c],s),{})}});return this.pathElements.splice(this.pos,0,...r),this.pos+=r.length,this}stringify(){const t=Math.pow(10,this.options.accuracy);return this.pathElements.reduce((n,r)=>{const o=vb[r.command.toLowerCase()].map(i=>{const a=r[i];return this.options.accuracy?Math.round(a*t)/t:a});return n+r.command+o.join(",")},"")+(this.close?"Z":"")}scale(t,n){return e4(this.pathElements,(r,o)=>{r[o]*=o[0]==="x"?t:n}),this}translate(t,n){return e4(this.pathElements,(r,o)=>{r[o]+=o[0]==="x"?t:n}),this}transform(t){return e4(this.pathElements,(n,r,o,i,a)=>{const s=t(n,r,o,i,a);(s||s===0)&&(n[r]=s)}),this}clone(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const n=new tl(t||this.close);return n.pos=this.pos,n.pathElements=this.pathElements.slice().map(r=>({...r})),n.options={...this.options},n}splitByCommand(t){const n=[new tl];return this.pathElements.forEach(r=>{r.command===t.toUpperCase()&&n[n.length-1].pathElements.length!==0&&n.push(new tl),n[n.length-1].pathElements.push(r)}),n}constructor(t=!1,n){this.close=t,this.pathElements=[],this.pos=0,this.options={...gue,...n}}}function gb(e){const t={fillHoles:!1,...e};return function(r,o){const i=new tl;let a=!0;for(let s=0;s<r.length;s+=2){const l=r[s],c=r[s+1],u=o[s/2];L5(u.value)!==void 0?(a?i.move(l,c,!1,u):i.line(l,c,!1,u),a=!1):t.fillHoles||(a=!0)}return i}}function mue(e){const t={fillHoles:!1,...e};return function n(r,o){const i=fue(r,o,{fillHoles:t.fillHoles,increasingX:!0});if(i.length){if(i.length>1)return tl.join(i.map(a=>n(a.pathCoordinates,a.valueData)));{if(r=i[0].pathCoordinates,o=i[0].valueData,r.length<=4)return gb()(r,o);const a=[],s=[],l=r.length/2,c=[],u=[],f=[],d=[];for(let p=0;p<l;p++)a[p]=r[p*2],s[p]=r[p*2+1];for(let p=0;p<l-1;p++)f[p]=s[p+1]-s[p],d[p]=a[p+1]-a[p],u[p]=f[p]/d[p];c[0]=u[0],c[l-1]=u[l-2];for(let p=1;p<l-1;p++)u[p]===0||u[p-1]===0||u[p-1]>0!=u[p]>0?c[p]=0:(c[p]=3*(d[p-1]+d[p])/((2*d[p]+d[p-1])/u[p-1]+(d[p]+2*d[p-1])/u[p]),isFinite(c[p])||(c[p]=0));const h=new tl().move(a[0],s[0],!1,o[0]);for(let p=0;p<l-1;p++)h.curve(a[p]+d[p]/3,s[p]+c[p]*d[p]/3,a[p+1]-d[p]/3,s[p+1]-c[p+1]*d[p]/3,a[p+1],s[p+1],!1,o[p+1]);return h}}else return gb()([],[])}}class Aue{on(t,n){const{allListeners:r,listeners:o}=this;t==="*"?r.add(n):(o.has(t)||o.set(t,new Set),o.get(t).add(n))}off(t,n){const{allListeners:r,listeners:o}=this;if(t==="*")n?r.delete(n):r.clear();else if(o.has(t)){const i=o.get(t);n?i.delete(n):i.clear(),i.size||o.delete(t)}}emit(t,n){const{allListeners:r,listeners:o}=this;o.has(t)&&o.get(t).forEach(i=>i(n)),r.forEach(i=>i(t,n))}constructor(){this.listeners=new Map,this.allListeners=new Set}}const t4=new WeakMap;class N5{update(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(t&&(this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),n&&(this.options=Qu({},r?this.options:this.defaultOptions,n),!this.initializeTimeoutId)){var o;(o=this.optionsProvider)===null||o===void 0||o.removeMediaQueryListeners(),this.optionsProvider=KT(this.options,this.responsiveOptions,this.eventEmitter)}return!this.initializeTimeoutId&&this.optionsProvider&&this.createChart(this.optionsProvider.getCurrentOptions()),this}detach(){if(this.initializeTimeoutId)window.clearTimeout(this.initializeTimeoutId);else{var t;window.removeEventListener("resize",this.resizeListener),(t=this.optionsProvider)===null||t===void 0||t.removeMediaQueryListeners()}return t4.delete(this.container),this}on(t,n){return this.eventEmitter.on(t,n),this}off(t,n){return this.eventEmitter.off(t,n),this}initialize(){window.addEventListener("resize",this.resizeListener),this.optionsProvider=KT(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.on("optionsChanged",()=>this.update()),this.options.plugins&&this.options.plugins.forEach(t=>{Array.isArray(t)?t[0](this,t[1]):t(this)}),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=null}constructor(t,n,r,o,i){this.data=n,this.defaultOptions=r,this.options=o,this.responsiveOptions=i,this.eventEmitter=new Aue,this.resizeListener=()=>this.update(),this.initializeTimeoutId=setTimeout(()=>this.initialize(),0);const a=typeof t=="string"?document.querySelector(t):t;if(!a)throw new Error("Target element is not found");this.container=a;const s=t4.get(a);s&&s.detach(),t4.set(a,this)}}const _o={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}};class qF{createGridAndLabels(t,n,r,o){const i=this.units.pos==="x"?r.axisX:r.axisY,a=this.ticks.map((l,c)=>this.projectValue(l,c)),s=this.ticks.map(i.labelInterpolationFnc);a.forEach((l,c)=>{const u=s[c],f={x:0,y:0};let d;a[c+1]?d=a[c+1]-l:d=Math.max(this.axisLength-l,this.axisLength/this.ticks.length),!(u!==""&&HF(u))&&(this.units.pos==="x"?(l=this.chartRect.x1+l,f.x=r.axisX.labelOffset.x,r.axisX.position==="start"?f.y=this.chartRect.padding.top+r.axisX.labelOffset.y+5:f.y=this.chartRect.y1+r.axisX.labelOffset.y+5):(l=this.chartRect.y1-l,f.y=r.axisY.labelOffset.y-d,r.axisY.position==="start"?f.x=this.chartRect.padding.left+r.axisY.labelOffset.x:f.x=this.chartRect.x2+r.axisY.labelOffset.x+10),i.showGrid&&pue(l,c,this,this.gridOffset,this.chartRect[this.counterUnits.len](),t,[r.classNames.grid,r.classNames[this.units.dir]],o),i.showLabel&&vue(l,d,c,u,this,i.offset,f,n,[r.classNames.label,r.classNames[this.units.dir],i.position==="start"?r.classNames[i.position]:r.classNames.end],o))})}constructor(t,n,r){this.units=t,this.chartRect=n,this.ticks=r,this.counterUnits=t===_o.x?_o.y:_o.x,this.axisLength=n[this.units.rectEnd]-n[this.units.rectStart],this.gridOffset=n[this.units.rectOffset]}}class mb extends qF{projectValue(t){const n=Number(L5(t,this.units.pos));return this.axisLength*(n-this.bounds.min)/this.bounds.range}constructor(t,n,r,o){const i=o.highLow||hb(n,o,t.pos),a=nue(r[t.rectEnd]-r[t.rectStart],i,o.scaleMinSpace||20,o.onlyInteger),s={min:a.min,max:a.max};super(t,r,a.values),this.bounds=a,this.range=s}}class cg extends qF{projectValue(t,n){return this.stepLength*n}constructor(t,n,r,o){const i=o.ticks||[];super(t,r,i);const a=Math.max(1,i.length-(o.stretch?1:0));this.stepLength=this.axisLength/a,this.stretch=!!o.stretch}}function k0(e,t,n){var r;if(zn(e,"name")&&e.name&&(!((r=t.series)===null||r===void 0)&&r[e.name])){const i=(t==null?void 0:t.series[e.name])[n];return i===void 0?t[n]:i}else return t[n]}const HT={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:pp,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:pp,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};class Rue extends N5{createChart(t){const{data:n}=this,r=O5(n,t.reverseData,!0),o=T5(this.container,t.width,t.height,t.classNames.chart);this.svg=o;const i=o.elem("g").addClass(t.classNames.gridGroup),a=o.elem("g"),s=o.elem("g").addClass(t.classNames.labelGroup),l=k5(o,t);let c,u;t.axisX.type===void 0?c=new cg(_o.x,r.series,l,{...t.axisX,ticks:r.labels,stretch:t.fullWidth}):c=new t.axisX.type(_o.x,r.series,l,t.axisX),t.axisY.type===void 0?u=new mb(_o.y,r.series,l,{...t.axisY,high:Eh(t.high)?t.high:t.axisY.high,low:Eh(t.low)?t.low:t.axisY.low}):u=new t.axisY.type(_o.y,r.series,l,t.axisY),c.createGridAndLabels(i,s,t,this.eventEmitter),u.createGridAndLabels(i,s,t,this.eventEmitter),t.showGridBackground&&jF(i,l,t.classNames.gridBackground,this.eventEmitter),GF(n.series,(f,d)=>{const h=a.elem("g"),p=zn(f,"name")&&f.name,v=zn(f,"className")&&f.className,m=zn(f,"meta")?f.meta:void 0;p&&h.attr({"ct:series-name":p}),m&&h.attr({"ct:meta":vp(m)}),h.addClass([t.classNames.series,v||"".concat(t.classNames.series,"-").concat(w5(d))].join(" "));const x=[],y=[];r.series[d].forEach((M,T)=>{const w={x:l.x1+c.projectValue(M,T,r.series[d]),y:l.y1-u.projectValue(M,T,r.series[d])};x.push(w.x,w.y),y.push({value:M,valueIndex:T,meta:zF(f,T)})});const R={lineSmooth:k0(f,t,"lineSmooth"),showPoint:k0(f,t,"showPoint"),showLine:k0(f,t,"showLine"),showArea:k0(f,t,"showArea"),areaBase:k0(f,t,"areaBase")};let A;typeof R.lineSmooth=="function"?A=R.lineSmooth:A=R.lineSmooth?mue():gb();const b=A(x,y);if(R.showPoint&&b.pathElements.forEach(M=>{const{data:T}=M,w=h.elem("line",{x1:M.x,y1:M.y,x2:M.x+.01,y2:M.y},t.classNames.point);if(T){let L,k;zn(T.value,"x")&&(L=T.value.x),zn(T.value,"y")&&(k=T.value.y),w.attr({"ct:value":[L,k].filter(Eh).join(","),"ct:meta":vp(T.meta)})}this.eventEmitter.emit("draw",{type:"point",value:T==null?void 0:T.value,index:(T==null?void 0:T.valueIndex)||0,meta:T==null?void 0:T.meta,series:f,seriesIndex:d,axisX:c,axisY:u,group:h,element:w,x:M.x,y:M.y,chartRect:l})}),R.showLine){const M=h.elem("path",{d:b.stringify()},t.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:r.series[d],path:b.clone(),chartRect:l,index:d,series:f,seriesIndex:d,meta:m,axisX:c,axisY:u,group:h,element:M})}if(R.showArea&&u.range){const M=Math.max(Math.min(R.areaBase,u.range.max),u.range.min),T=l.y1-u.projectValue(M);b.splitByCommand("M").filter(w=>w.pathElements.length>1).map(w=>{const L=w.pathElements[0],k=w.pathElements[w.pathElements.length-1];return w.clone(!0).position(0).remove(1).move(L.x,T).line(L.x,L.y).position(w.pathElements.length+1).line(k.x,T)}).forEach(w=>{const L=h.elem("path",{d:w.stringify()},t.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:r.series[d],path:w.clone(),series:f,seriesIndex:d,axisX:c,axisY:u,chartRect:l,index:d,group:h,element:L,meta:m})})}},t.reverseData),this.eventEmitter.emit("created",{chartRect:l,axisX:c,axisY:u,svg:o,options:t})}constructor(t,n,r,o){super(t,n,HT,Qu({},HT,r),o),this.data=n}}function yue(e){return oue(e,function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Array.from(n).reduce((o,i)=>({x:o.x+(zn(i,"x")?i.x:0),y:o.y+(zn(i,"y")?i.y:0)}),{x:0,y:0})})}const GT={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:pp,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:pp,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};class bue extends N5{createChart(t){const{data:n}=this,r=O5(n,t.reverseData,t.horizontalBars?"x":"y",!0),o=T5(this.container,t.width,t.height,t.classNames.chart+(t.horizontalBars?" "+t.classNames.horizontalBars:"")),i=t.stackBars&&t.stackMode!==!0&&r.series.length?hb([yue(r.series)],t,t.horizontalBars?"x":"y"):hb(r.series,t,t.horizontalBars?"x":"y");this.svg=o;const a=o.elem("g").addClass(t.classNames.gridGroup),s=o.elem("g"),l=o.elem("g").addClass(t.classNames.labelGroup);typeof t.high=="number"&&(i.high=t.high),typeof t.low=="number"&&(i.low=t.low);const c=k5(o,t);let u;const f=t.distributeSeries&&t.stackBars?r.labels.slice(0,1):r.labels;let d,h,p;t.horizontalBars?(t.axisX.type===void 0?u=h=new mb(_o.x,r.series,c,{...t.axisX,highLow:i,referenceValue:0}):u=h=new t.axisX.type(_o.x,r.series,c,{...t.axisX,highLow:i,referenceValue:0}),t.axisY.type===void 0?d=p=new cg(_o.y,r.series,c,{ticks:f}):d=p=new t.axisY.type(_o.y,r.series,c,t.axisY)):(t.axisX.type===void 0?d=h=new cg(_o.x,r.series,c,{ticks:f}):d=h=new t.axisX.type(_o.x,r.series,c,t.axisX),t.axisY.type===void 0?u=p=new mb(_o.y,r.series,c,{...t.axisY,highLow:i,referenceValue:0}):u=p=new t.axisY.type(_o.y,r.series,c,{...t.axisY,highLow:i,referenceValue:0}));const v=t.horizontalBars?c.x1+u.projectValue(0):c.y1-u.projectValue(0),m=t.stackMode==="accumulate",x=t.stackMode==="accumulate-relative",y=[],R=[];let A=y;d.createGridAndLabels(a,l,t,this.eventEmitter),u.createGridAndLabels(a,l,t,this.eventEmitter),t.showGridBackground&&jF(a,c,t.classNames.gridBackground,this.eventEmitter),GF(n.series,(b,M)=>{const T=M-(n.series.length-1)/2;let w;t.distributeSeries&&!t.stackBars?w=d.axisLength/r.series.length/2:t.distributeSeries&&t.stackBars?w=d.axisLength/2:w=d.axisLength/r.series[M].length/2;const L=s.elem("g"),k=zn(b,"name")&&b.name,E=zn(b,"className")&&b.className,P=zn(b,"meta")?b.meta:void 0;k&&L.attr({"ct:series-name":k}),P&&L.attr({"ct:meta":vp(P)}),L.addClass([t.classNames.series,E||"".concat(t.classNames.series,"-").concat(w5(M))].join(" ")),r.series[M].forEach((W,N)=>{const _=zn(W,"x")&&W.x,C=zn(W,"y")&&W.y;let X;t.distributeSeries&&!t.stackBars?X=M:t.distributeSeries&&t.stackBars?X=0:X=N;let Y;t.horizontalBars?Y={x:c.x1+u.projectValue(_||0,N,r.series[M]),y:c.y1-d.projectValue(C||0,X,r.series[M])}:Y={x:c.x1+d.projectValue(_||0,X,r.series[M]),y:c.y1-u.projectValue(C||0,N,r.series[M])},d instanceof cg&&(d.stretch||(Y[d.units.pos]+=w*(t.horizontalBars?-1:1)),Y[d.units.pos]+=t.stackBars||t.distributeSeries?0:T*t.seriesBarDistance*(t.horizontalBars?-1:1)),x&&(A=C>=0||_>=0?y:R);const $=A[N]||v;if(A[N]=$-(v-Y[d.counterUnits.pos]),W===void 0)return;const le={["".concat(d.units.pos,"1")]:Y[d.units.pos],["".concat(d.units.pos,"2")]:Y[d.units.pos]};t.stackBars&&(m||x||!t.stackMode)?(le["".concat(d.counterUnits.pos,"1")]=$,le["".concat(d.counterUnits.pos,"2")]=A[N]):(le["".concat(d.counterUnits.pos,"1")]=v,le["".concat(d.counterUnits.pos,"2")]=Y[d.counterUnits.pos]),le.x1=Math.min(Math.max(le.x1,c.x1),c.x2),le.x2=Math.min(Math.max(le.x2,c.x1),c.x2),le.y1=Math.min(Math.max(le.y1,c.y2),c.y1),le.y2=Math.min(Math.max(le.y2,c.y2),c.y1);const Q=zF(b,N),K=L.elem("line",le,t.classNames.bar).attr({"ct:value":[_,C].filter(Eh).join(","),"ct:meta":vp(Q)});this.eventEmitter.emit("draw",{type:"bar",value:W,index:N,meta:Q,series:b,seriesIndex:M,axisX:h,axisY:p,chartRect:c,group:L,element:K,...le})})},t.reverseData),this.eventEmitter.emit("created",{chartRect:c,axisX:h,axisY:p,svg:o,options:t})}constructor(t,n,r,o){super(t,n,GT,Qu({},GT,r),o),this.data=n}}const zT={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:pp,labelDirection:"neutral",ignoreEmptyValues:!1};function xue(e,t,n){const r=t.x>e.x;return r&&n==="explode"||!r&&n==="implode"?"start":r&&n==="implode"||!r&&n==="explode"?"end":"middle"}class Sue extends N5{createChart(t){const{data:n}=this,r=O5(n),o=[];let i,a,s=t.startAngle;const l=T5(this.container,t.width,t.height,t.donut?t.classNames.chartDonut:t.classNames.chartPie);this.svg=l;const c=k5(l,t);let u=Math.min(c.width()/2,c.height()/2);const f=t.total||r.series.reduce(rue,0),d=ym(t.donutWidth);d.unit==="%"&&(d.value*=u/100),u-=t.donut?d.value/2:0,t.labelPosition==="outside"||t.donut?a=u:t.labelPosition==="center"?a=0:a=u/2,t.labelOffset&&(a+=t.labelOffset);const h={x:c.x1+c.width()/2,y:c.y2+c.height()/2},p=n.series.filter(v=>zn(v,"value")?v.value!==0:v!==0).length===1;n.series.forEach((v,m)=>o[m]=l.elem("g")),t.showLabel&&(i=l.elem("g")),n.series.forEach((v,m)=>{var x,y;if(r.series[m]===0&&t.ignoreEmptyValues)return;const R=zn(v,"name")&&v.name,A=zn(v,"className")&&v.className,b=zn(v,"meta")?v.meta:void 0;R&&o[m].attr({"ct:series-name":R}),o[m].addClass([(x=t.classNames)===null||x===void 0?void 0:x.series,A||"".concat((y=t.classNames)===null||y===void 0?void 0:y.series,"-").concat(w5(m))].join(" "));let M=f>0?s+r.series[m]/f*360:0;const T=Math.max(0,s-(m===0||p?0:.2));M-T>=359.99&&(M=T+359.99);const w=qy(h.x,h.y,u,T),L=qy(h.x,h.y,u,M),k=new tl(!t.donut).move(L.x,L.y).arc(u,u,0,+(M-s>180),0,w.x,w.y);t.donut||k.line(h.x,h.y);const E=o[m].elem("path",{d:k.stringify()},t.donut?t.classNames.sliceDonut:t.classNames.slicePie);if(E.attr({"ct:value":r.series[m],"ct:meta":vp(b)}),t.donut&&E.attr({style:"stroke-width: "+d.value+"px"}),this.eventEmitter.emit("draw",{type:"slice",value:r.series[m],totalDataSum:f,index:m,meta:b,series:v,group:o[m],element:E,path:k.clone(),center:h,radius:u,startAngle:s,endAngle:M,chartRect:c}),t.showLabel){let P;n.series.length===1?P={x:h.x,y:h.y}:P=qy(h.x,h.y,a,s+(M-s)/2);let W;r.labels&&!HF(r.labels[m])?W=r.labels[m]:W=r.series[m];const N=t.labelInterpolationFnc(W,m);if(N||N===0){const _=i.elem("text",{dx:P.x,dy:P.y,"text-anchor":xue(h,P,t.labelDirection)},t.classNames.label).text(String(N));this.eventEmitter.emit("draw",{type:"label",index:m,group:i,element:_,text:""+N,chartRect:c,series:v,meta:b,...P})}}s=M}),this.eventEmitter.emit("created",{chartRect:c,svg:l,options:t})}constructor(t,n,r,o){super(t,n,zT,Qu({},zT,r),o),this.data=n}}const Mue=Ee({__name:"Chart",props:{width:{},height:{},type:{},data:{},themeColor:{},legends:{},options:{},gridColor:{},legend:{}},setup(e){const t=e,n=ve(),r=ri(ef)||ve(1);let o;const i=Me(()=>t.legend?t.height-20:t.height),a=()=>({...t.data,series:t.data.series[0]}),s=()=>({...t.options||{},width:t.width*r.value,height:i.value*r.value}),l=()=>{if(!n.value)return;const h=s();t.type==="bar"&&(o=new bue(n.value,t.data,h)),t.type==="line"&&(o=new Rue(n.value,t.data,h)),t.type==="pie"&&(o=new Sue(n.value,a(),h))};wt([()=>t.width,()=>t.height,()=>t.data,()=>t.options,r],()=>{pr(()=>{if(!o){l();return}const h=s(),p=t.type==="pie"?a():t.data;o.update(p,h)})}),Qt(l);const u=Me(()=>{let h=[];if(t.themeColor.length>=10)h=t.themeColor;else if(t.themeColor.length===1)h=ot(t.themeColor[0]).analogous(10).map(p=>p.toRgbString());else{const p=t.themeColor.length,v=ot(t.themeColor[p-1]).analogous(11-p).map(m=>m.toRgbString());h=[...t.themeColor.slice(0,p-1),...v]}return h}),f=()=>{if(n.value)for(let h=0;h<10;h++)n.value.style.setProperty(`--theme-color-${h+1}`,u.value[h])};wt(u,f),Qt(f);const d=()=>{n.value&&t.gridColor&&n.value.style.setProperty("--grid-color",t.gridColor)};return wt(()=>t.gridColor,d),Qt(d),(h,p)=>(U(),ee("div",{class:"chart",style:we({flexDirection:h.legend==="top"?"column-reverse":"column"})},[V("div",{class:"chart-content",ref_key:"chartRef",ref:n,style:we({width:h.width+"px",height:i.value+"px",transform:`scale(${1/H(r)})`})},null,4),h.legend?(U(),ee("div",{key:0,class:"legends",style:we({transform:`scale(${1/H(r)})`})},[(U(!0),ee(We,null,nt(h.legends,(v,m)=>(U(),ee("div",{class:"legend",key:m,style:we({color:h.gridColor})},[V("div",{class:"block",style:we({backgroundColor:u.value[m]})},null,4),Ve(" "+vt(v),1)],4))),128))],4)):Qe("",!0)],4))}}),e_=Ue(Mue,[["__scopeId","data-v-5b4061b3"]]),wue=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=o=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo))},r=()=>{ao.emit(Hr.OPEN_CHART_DATA_EDITOR)};return(o,i)=>{const a=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-chart",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[He((U(),ee("div",{class:"element-content",style:we({backgroundColor:o.elementInfo.fill}),onMousedown:i[0]||(i[0]=s=>n(s)),onTouchstart:i[1]||(i[1]=s=>n(s)),onDblclick:i[2]||(i[2]=s=>r())},[O(m2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),O(e_,{width:o.elementInfo.width,height:o.elementInfo.height,type:o.elementInfo.chartType,data:o.elementInfo.data,options:o.elementInfo.options,themeColor:o.elementInfo.themeColor,gridColor:o.elementInfo.gridColor,legends:o.elementInfo.data.legends,legend:o.elementInfo.legend||""},null,8,["width","height","type","data","options","themeColor","gridColor","legends","legend"])],36)),[[a,o.contextmenus]])],4)],6)}}}),t_=Ue(wue,[["__scopeId","data-v-e98d2ede"]]),n_=e=>{if(!e)return{};const{bold:t,em:n,underline:r,strikethrough:o,color:i,backcolor:a,fontsize:s,fontname:l,align:c}=e;let u=`${r?"underline":""} ${o?"line-through":""}`;return u===" "&&(u="none"),{fontWeight:t?"bold":"normal",fontStyle:n?"italic":"normal",textDecoration:u,color:i||"#000",backgroundColor:a||"",fontSize:s||"14px",fontFamily:l||"微软雅黑",textAlign:c||"left"}},r_=e=>e.replace(/\n/g,"</br>").replace(/ /g," "),o_=e=>({hideCells:Me(()=>{const n=[];for(let r=0;r<e.value.length;r++){const o=e.value[r];for(let i=0;i<o.length;i++){const a=o[i];if(a.colspan>1||a.rowspan>1)for(let s=r;s<r+a.rowspan;s++)for(let l=s===r?i+1:i;l<i+a.colspan;l++)n.push(`${s}_${l}`)}}return n})}),i_=e=>{const t=ve(["",""]);return wt(()=>e.value,()=>{e.value&&(t.value=R9(e.value.color))},{immediate:!0}),{subThemeColor:t}},Lue=["innerHTML"],Oue=Ee({__name:"CustomTextarea",props:{value:{default:""}},emits:["updateValue","insertExcelData"],setup(e,{emit:t}){const n=e,r=t,o=ve(),i=ve(""),a=ve(!1);wt(()=>n.value,()=>{a.value||(i.value=n.value,o.value&&(o.value.innerHTML=n.value))},{immediate:!0});const s=()=>{if(!o.value)return;const u=o.value.innerHTML;r("updateValue",u)},l=()=>{a.value=!0,o.value&&(o.value.onpaste=u=>{if(u.preventDefault(),!u.clipboardData)return;const f=u.clipboardData.items[0];f&&f.kind==="string"&&f.type==="text/plain"&&f.getAsString(d=>{if(typeof _x(d)=="object")return;const p=A9(d);if(p){r("insertExcelData",p),o.value&&(o.value.innerHTML=p[0][0]);return}document.execCommand("insertText",!1,d)})})},c=()=>{a.value=!1,o.value&&(o.value.onpaste=null)};return Du(()=>{o.value&&(o.value.onpaste=null)}),(u,f)=>(U(),ee("div",{class:"custom-textarea",ref_key:"textareaRef",ref:o,contenteditable:!0,onFocus:f[0]||(f[0]=d=>l()),onBlur:f[1]||(f[1]=d=>c()),onInput:f[2]||(f[2]=d=>s()),innerHTML:i.value},null,40,Lue))}}),Tue=Ue(Oue,[["__scopeId","data-v-cfadb975"]]),kue={key:0,class:"handler"},Nue=["onMousedown"],Pue=["width"],Cue=["rowspan","colspan","data-cell-index","onMousedown","onMouseenter"],Iue=["innerHTML"],Fue=Ee({__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:o}=Xe(ft()),i=ve(!1),a=ve([]),s=ve([]),l=Me({get(){return n.data},set(fe){r("change",fe)}}),c=Me(()=>n.theme),{subThemeColor:u}=i_(c),f=ve([]),d=Me(()=>f.value.reduce((fe,me)=>fe+me));wt([()=>n.colWidths,()=>n.width],()=>{f.value=n.colWidths.map(fe=>fe*n.width)},{immediate:!0});const h=()=>{a.value=[],s.value=[]};wt(()=>n.editable,()=>{n.editable||h()});const p=Me(()=>{const fe=[];for(let me=1;me<f.value.length+1;me++){const ue=f.value.slice(0,me).reduce((z,F)=>z+F);fe.push(ue)}return fe}),v=Me(()=>n.data),{hideCells:m}=o_(v),x=Me(()=>{if(!a.value.length)return[];const[fe,me]=a.value;if(!s.value.length)return[`${fe}_${me}`];const[ue,z]=s.value;if(fe===ue&&me===z)return[`${fe}_${me}`];const F=[],j=Math.min(fe,ue),ie=Math.min(me,z),q=Math.max(fe,ue),te=Math.max(me,z);for(let re=0;re<l.value.length;re++){const he=l.value[re];for(let ce=0;ce<he.length;ce++)re>=j&&re<=q&&ce>=ie&&ce<=te&&F.push(`${re}_${ce}`)}return F});wt(x,(fe,me)=>{On.isEqual(fe,me)||r("changeSelectedCells",x.value)});const y=Me(()=>x.value.length>1?null:x.value[0]),R=()=>i.value=!1,A=(fe,me,ue)=>{fe.button===0&&(s.value=[],i.value=!0,a.value=[me,ue])},b=(fe,me)=>{i.value&&(s.value=[fe,me])};Qt(()=>{document.addEventListener("mouseup",R)}),Sn(()=>{document.removeEventListener("mouseup",R)});const M=(fe,me)=>m.value.includes(`${fe}_${me}`),T=fe=>{const me=l.value.length-1;a.value=[0,fe],s.value=[me,fe]},w=fe=>{const me=l.value[fe].length-1;a.value=[fe,0],s.value=[fe,me]},L=()=>{const fe=l.value.length-1,me=l.value[fe].length-1;a.value=[0,0],s.value=[fe,me]},k=fe=>{const me=JSON.parse(JSON.stringify(l.value)),ue=l.value[fe],z=[];for(let F=0;F<ue.length;F++)M(fe,F)&&z.push(F);for(const F of z)for(let j=fe;j>=0;j--)if(!M(j,F)){me[j][F].rowspan=me[j][F].rowspan-1;break}me.splice(fe,1),l.value=me},E=fe=>{const me=JSON.parse(JSON.stringify(l.value)),ue=[];for(let z=0;z<l.value.length;z++)M(z,fe)&&ue.push(z);for(const z of ue)for(let F=fe;F>=0;F--)if(!M(z,F)){me[z][F].colspan=me[z][F].colspan-1;break}l.value=me.map(z=>(z.splice(fe,1),z)),f.value.splice(fe,1),r("changeColWidths",f.value)},P=fe=>{const me=JSON.parse(JSON.stringify(l.value)),ue=[];for(let z=0;z<me[0].length;z++)ue.push({colspan:1,rowspan:1,text:"",id:ln(10)});me.splice(fe,0,ue),l.value=me},W=fe=>{l.value=l.value.map(me=>{const ue={colspan:1,rowspan:1,text:"",id:ln(10)};return me.splice(fe,0,ue),me}),f.value.splice(fe,0,100),r("changeColWidths",f.value)},N=(fe,me)=>{let ue=JSON.parse(JSON.stringify(l.value));const z={colspan:1,rowspan:1,text:""};if(fe){const F=[];for(let j=0;j<fe;j++){const ie=[];for(let q=0;q<ue[0].length;q++)ie.push({...z,id:ln(10)});F.push(ie)}ue=[...ue,...F]}me&&(ue=ue.map(F=>{const j=[];for(let ie=0;ie<me;ie++){const q={...z,id:ln(10)};j.push(q)}return[...F,...j]}),f.value=[...f.value,...new Array(me).fill(100)],r("changeColWidths",f.value)),l.value=ue},_=()=>{const[fe,me]=a.value,[ue,z]=s.value,F=Math.min(fe,ue),j=Math.min(me,z),ie=Math.max(fe,ue),q=Math.max(me,z),te=JSON.parse(JSON.stringify(l.value));te[F][j].rowspan=ie-F+1,te[F][j].colspan=q-j+1,l.value=te,h()},C=(fe,me)=>{const ue=JSON.parse(JSON.stringify(l.value));ue[fe][me].rowspan=1,ue[fe][me].colspan=1,l.value=ue,h()},X=(fe,me)=>{h();let ue=!0;const z=f.value[me],F=fe.pageX,j=50;document.onmousemove=ie=>{if(!ue)return;const q=(ie.pageX-F)/o.value,te=z+q<j?j:Math.round(z+q);f.value[me]=te},document.onmouseup=()=>{ue=!1,document.onmousemove=null,document.onmouseup=null,r("changeColWidths",f.value)}},Y=()=>{const fe=JSON.parse(JSON.stringify(l.value));for(let me=0;me<fe.length;me++)for(let ue=0;ue<fe[me].length;ue++)x.value.includes(`${me}_${ue}`)&&(fe[me][ue].text="");l.value=fe},$=()=>{pr(()=>{const fe=document.querySelector(".cell-text.active");fe&&fe.focus()})},le=()=>{const fe=(F,j)=>l.value[F]?l.value[F][j]?M(F,j)?fe(F,j+1):[F,j]:fe(F+1,0):null;s.value=[];const me=a.value[0],ue=a.value[1]+1,z=fe(me,ue);z?a.value=z:(P(me+1),a.value=[me+1,0]),$()},Q=fe=>{const me=+x.value[0].split("_")[0],ue=+x.value[0].split("_")[1],z=l.value.length,F=l.value[0].length,j=ie=>{if(ie[0]<0||ie[1]<0||ie[0]>z-1||ie[1]>F-1)return[0,0];const q=`${ie[0]}_${ie[1]}`;return m.value.includes(q)?fe==="UP"?j([ie[0],ie[1]-1]):fe==="DOWN"?j([ie[0],ie[1]-1]):fe==="LEFT"?j([ie[0]-1,ie[1]]):fe==="RIGHT"?j([ie[0]-1,ie[1]]):[0,0]:ie};if(fe==="UP"){const ie=me-1;if(ie<0)return;s.value=[],a.value=j([ie,ue])}else if(fe==="DOWN"){const ie=me+1;if(ie>z-1)return;s.value=[],a.value=j([ie,ue])}else if(fe==="LEFT"){const ie=ue-1;if(ie<0)return;s.value=[],a.value=j([me,ie])}else if(fe==="RIGHT"){const ie=ue+1;if(ie>F-1)return;s.value=[],a.value=j([me,ie])}$()},K=fe=>{var ue;const me=window.getSelection();if(me&&me.rangeCount>0){const z=me.getRangeAt(0),F=z.cloneRange();F.selectNodeContents(fe),F.setEnd(z.startContainer,z.startOffset);const j=F.toString().length;F.setEnd(z.endContainer,z.endOffset);const ie=F.toString().length,q=((ue=fe.textContent)==null?void 0:ue.length)||0;return{start:j,end:ie,len:q}}return null},B=fe=>{if(!n.editable||!x.value.length)return;const me=fe.key.toUpperCase();if(x.value.length<2){if(me===gt.TAB)fe.preventDefault(),le();else if(fe.ctrlKey&&me===gt.UP){fe.preventDefault();const ue=+x.value[0].split("_")[0];P(ue)}else if(fe.ctrlKey&&me===gt.DOWN){fe.preventDefault();const ue=+x.value[0].split("_")[0];P(ue+1)}else if(fe.ctrlKey&&me===gt.LEFT){fe.preventDefault();const ue=+x.value[0].split("_")[1];W(ue)}else if(fe.ctrlKey&&me===gt.RIGHT){fe.preventDefault();const ue=+x.value[0].split("_")[1];W(ue+1)}else if(me===gt.UP){const ue=K(fe.target);ue&&ue.start===ue.end&&ue.start===0&&Q("UP")}else if(me===gt.DOWN){const ue=K(fe.target);ue&&ue.start===ue.end&&ue.start===ue.len&&Q("DOWN")}else if(me===gt.LEFT){const ue=K(fe.target);ue&&ue.start===ue.end&&ue.start===0&&Q("LEFT")}else if(me===gt.RIGHT){const ue=K(fe.target);ue&&ue.start===ue.end&&ue.start===ue.len&&Q("RIGHT")}}else me===gt.DELETE&&Y()};Qt(()=>{document.addEventListener("keydown",B)}),Sn(()=>{document.removeEventListener("keydown",B)});const D=On.debounce(function(fe,me,ue){l.value[me][ue].text=fe,r("change",l.value)},300,{trailing:!0}),G=(fe,me,ue)=>{const z=fe.length,F=fe[0].length;let j=0,ie=0;me+z>l.value.length&&(j=me+z-l.value.length),ue+F>l.value[0].length&&(ie=ue+F-l.value[0].length),(j||ie)&&N(j,ie),pr(()=>{for(let q=0;q<z;q++)for(let te=0;te<F;te++)l.value[me+q][ue+te]&&(l.value[me+q][ue+te].text=fe[q][te]);r("change",l.value)})},ae=()=>{const fe=[];for(let me=0;me<l.value.length;me++){const ue=l.value[me],z=[];for(let F=0;F<ue.length;F++)M(me,F)||z.push(ue[F]);z.length&&fe.push(z)}return fe},se=()=>{const fe=ae(),me=fe.length>1,ue=fe[0].length>1;return{canDeleteRow:me,canDeleteCol:ue}},J=(fe,me)=>{const ue=x.value.length>1,z=l.value[fe][me],F=ue,j=!ue&&(z.rowspan>1||z.colspan>1);return{canMerge:F,canSplit:j}},Re=fe=>{const me=fe.dataset.cellIndex,ue=+me.split("_")[0],z=+me.split("_")[1];x.value.includes(`${ue}_${z}`)||(a.value=[ue,z],s.value=[]);const{canMerge:F,canSplit:j}=J(ue,z),{canDeleteRow:ie,canDeleteCol:q}=se();return[{text:"插入列",children:[{text:"到左侧",handler:()=>W(z)},{text:"到右侧",handler:()=>W(z+1)}]},{text:"插入行",children:[{text:"到上方",handler:()=>P(ue)},{text:"到下方",handler:()=>P(ue+1)}]},{text:"删除列",disable:!q,handler:()=>E(z)},{text:"删除行",disable:!ie,handler:()=>k(ue)},{divider:!0},{text:"合并单元格",disable:!F,handler:_},{text:"取消合并单元格",disable:!j,handler:()=>C(ue,z)},{divider:!0},{text:"选中当前列",handler:()=>T(z)},{text:"选中当前行",handler:()=>w(ue)},{text:"选中全部单元格",handler:L}]};return(fe,me)=>{var z,F,j,ie,q;const ue=bn("contextmenu");return U(),ee("div",{class:"editable-table",style:we({width:d.value+"px"})},[fe.editable?(U(),ee("div",kue,[(U(!0),ee(We,null,nt(p.value,(te,re)=>(U(),ee("div",{class:"drag-line",key:re,style:we({left:te+"px"}),onMousedown:he=>X(he,re)},null,44,Nue))),128))])):Qe("",!0),V("table",{class:Je({theme:c.value,"row-header":(z=c.value)==null?void 0:z.rowHeader,"row-footer":(F=c.value)==null?void 0:F.rowFooter,"col-header":(j=c.value)==null?void 0:j.colHeader,"col-footer":(ie=c.value)==null?void 0:ie.colFooter}),style:we(`--themeColor: ${(q=c.value)==null?void 0:q.color}; --subThemeColor1: ${H(u)[0]}; --subThemeColor2: ${H(u)[1]}`)},[V("colgroup",null,[(U(!0),ee(We,null,nt(f.value,(te,re)=>(U(),ee("col",{span:"1",key:re,width:te},null,8,Pue))),128))]),V("tbody",null,[(U(!0),ee(We,null,nt(l.value,(te,re)=>(U(),ee("tr",{key:re,style:we({height:fe.cellMinHeight+"px"})},[(U(!0),ee(We,null,nt(te,(he,ce)=>He((U(),ee("td",{class:Je(["cell",{selected:x.value.includes(`${re}_${ce}`)&&x.value.length>1,active:y.value===`${re}_${ce}`}]),style:we({borderStyle:fe.outline.style,borderColor:fe.outline.color,borderWidth:fe.outline.width+"px",...H(n_)(he.style)}),key:he.id,rowspan:he.rowspan,colspan:he.colspan,"data-cell-index":`${re}_${ce}`,onMousedown:pe=>A(pe,re,ce),onMouseenter:pe=>b(re,ce)},[y.value===`${re}_${ce}`?(U(),ke(Tue,{key:0,class:Je(["cell-text",{active:y.value===`${re}_${ce}`}]),style:we({minHeight:fe.cellMinHeight-4+"px"}),value:he.text,onUpdateValue:pe=>H(D)(pe,re,ce),onInsertExcelData:pe=>G(pe,re,ce)},null,8,["class","style","value","onUpdateValue","onInsertExcelData"])):(U(),ee("div",{key:1,class:"cell-text",style:we({minHeight:fe.cellMinHeight-4+"px"}),innerHTML:H(r_)(he.text)},null,12,Iue))],46,Cue)),[[sl,!H(m).includes(`${re}_${ce}`)],[ue,pe=>Re(pe)]])),128))],4))),128))])],6)],4)}}}),_ue=Ue(Fue,[["__scopeId","data-v-938823e2"]]),Eue={class:"element-content"},Xue=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{canvasScale:o,handleElementId:i,isScaling:a}=Xe(n),s=ve(),{addHistorySnapshot:l}=Ht(),c=y=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo))},u=ve(!1);wt(i,()=>{i.value!==t.elementInfo.id&&(u.value=!1)}),wt(u,()=>{n.setDisableHotkeysState(u.value)});const f=()=>{t.elementInfo.lock||(u.value=!0)},d=ve(-1);wt(a,()=>{i.value===t.elementInfo.id&&(a.value&&(u.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);Qt(()=>{s.value&&p.observe(s.value)}),Sn(()=>{s.value&&p.unobserve(s.value)});const v=y=>{r.updateElement({id:t.elementInfo.id,props:{data:y}}),l()},m=y=>{const R=y.reduce((b,M)=>b+M),A=y.map(b=>b/R);r.updateElement({id:t.elementInfo.id,props:{width:R,colWidths:A}}),l()},x=y=>{pr(()=>n.setSelectedTableCells(y))};return(y,R)=>{const A=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-table",{lock:y.elementInfo.lock}]),ref_key:"elementRef",ref:s,style:we({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${y.elementInfo.rotate}deg)`})},[He((U(),ee("div",Eue,[O(_ue,{onMousedown:R[0]||(R[0]=Nt(()=>{},["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:u.value,onChange:R[1]||(R[1]=b=>v(b)),onChangeColWidths:R[2]||(R[2]=b=>m(b)),onChangeSelectedCells:R[3]||(R[3]=b=>x(b))},null,8,["data","width","cellMinHeight","colWidths","outline","theme","editable"]),!u.value||y.elementInfo.lock?(U(),ee("div",{key:0,class:Je(["table-mask",{lock:y.elementInfo.lock}]),onDblclick:R[4]||(R[4]=b=>f()),onMousedown:R[5]||(R[5]=b=>c(b)),onTouchstart:R[6]||(R[6]=b=>c(b))},[H(i)===y.elementInfo.id?(U(),ee("div",{key:0,class:"mask-tip",style:we({transform:`scale(${1/H(o)})`})},"双击编辑",4)):Qe("",!0)],34)):Qe("",!0)])),[[A,y.contextmenus]])],4)],6)}}}),a_=Ue(Xue,[["__scopeId","data-v-7795910a"]]),Wue=["width","height","stroke","stroke-width"],Vue=["transform"],Uue=["d"],Yue=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=o=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo))},r=()=>{ao.emit(Hr.OPEN_LATEX_EDITOR)};return(o,i)=>{const a=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-latex",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[He((U(),ee("div",{class:"element-content",onMousedown:i[0]||(i[0]=s=>n(s)),onTouchstart:i[1]||(i[1]=s=>n(s)),onDblclick:i[2]||(i[2]=s=>r())},[(U(),ee("svg",{overflow:"visible",width:o.elementInfo.width,height:o.elementInfo.height,stroke:o.elementInfo.color,"stroke-width":o.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${o.elementInfo.width/o.elementInfo.viewBox[0]}, ${o.elementInfo.height/o.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{d:o.elementInfo.path},null,8,Uue)],8,Vue)],8,Wue))],32)),[[a,o.contextmenus]])],4)],6)}}}),s_=Ue(Yue,[["__scopeId","data-v-b73586f6"]]),Que=(e,t)=>{Qt(()=>{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 o=new r;o.loadSource(e),o.attachMedia(t.value)}}else if(n==="flv"){const r=window.flvjs;if(r&&r.isSupported()){const o=r.createPlayer({type:"flv",url:e});o.attachMediaElement(t.value),o.load()}}})},P5=e=>(zt("data-v-597c0901"),e=e(),Jt(),e),Zue={key:0,class:"load-error"},Bue=["src","autoplay","poster"],Due={class:"bezel"},Kue=P5(()=>V("div",{class:"controller-mask"},null,-1)),Hue={class:"controller"},Gue={class:"icons icons-left"},zue={class:"icon-content"},Jue={class:"volume"},$ue={class:"icon-content"},jue=P5(()=>V("span",{class:"thumb"},null,-1)),que=[jue],efe={class:"time"},tfe={class:"ptime"},nfe={class:"dtime"},rfe={class:"icons icons-right"},ofe={class:"speed"},ife={class:"icon speed-icon"},afe=["onClick"],sfe={class:"icon-content"},lfe={class:"bar"},cfe=P5(()=>V("span",{class:"thumb"},null,-1)),ufe=[cfe],ffe=Ee({__name:"index",props:{width:{},height:{},src:{},poster:{default:""},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e){const t=e,n=(F=0)=>{if(F===0||isNaN(F))return"00:00";const j=re=>re<10?"0"+re:""+re,ie=Math.floor(F/3600),q=Math.floor((F-ie*3600)/60),te=Math.floor(F-ie*3600-q*60);return(ie>0?[ie,q,te]:[q,te]).map(j).join(":")},r=F=>F.getBoundingClientRect().left,o=ve(),i=ve(),a=ve(),s=ve(.5),l=ve(!0),c=ve(0),u=ve(0),f=ve(0),d=ve(!1),h=ve(!1),p=ve(1),v=ve(!1),m=ve("00:00"),x=ve("0"),y=Me(()=>n(c.value)),R=Me(()=>n(u.value)),A=Me(()=>c.value/u.value*100+"%"),b=Me(()=>f.value/u.value*100+"%"),M=Me(()=>s.value*100+"%"),T=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}],L=F=>{o.value&&(F=Math.max(F,0),F=Math.min(F,u.value),o.value.currentTime=F,c.value=F)},k=()=>{o.value&&(l.value=!1,o.value.play(),h.value=!0)},E=()=>{o.value&&(l.value=!0,o.value.pause(),h.value=!0)},P=()=>{l.value?k():E()},W=F=>{o.value&&(F=Math.max(F,0),F=Math.min(F,1),o.value.volume=F,s.value=F,o.value.muted&&F!==0&&(o.value.muted=!1))},N=F=>{o.value&&(o.value.playbackRate=F),p.value=F},_=()=>{var F;u.value=((F=o.value)==null?void 0:F.duration)||0},C=()=>{var F;c.value=((F=o.value)==null?void 0:F.currentTime)||0},X=()=>{d.value?(L(0),k()):E()},Y=()=>{var F;f.value=(F=o.value)!=null&&F.buffered.length?o.value.buffered.end(o.value.buffered.length-1):0},$=ve(!1),le=()=>$.value=!0,Q=F=>{if(!o.value||!i.value)return;let ie=(("clientX"in F?F.clientX:F.changedTouches[0].clientX)-r(i.value))/i.value.clientWidth;ie=Math.max(ie,0),ie=Math.min(ie,1);const q=ie*u.value;o.value.currentTime=q,c.value=q},K=F=>{if(!o.value||!i.value)return;let ie=(("clientX"in F?F.clientX:F.changedTouches[0].clientX)-r(i.value))/i.value.clientWidth;ie=Math.max(ie,0),ie=Math.min(ie,1);const q=ie*u.value;o.value.currentTime=q,c.value=q,document.removeEventListener("mousemove",Q),document.removeEventListener("touchmove",Q),document.removeEventListener("mouseup",K),document.removeEventListener("touchend",K)},B=()=>{document.addEventListener("mousemove",Q),document.addEventListener("touchmove",Q),document.addEventListener("mouseup",K),document.addEventListener("touchend",K)},D=F=>{if(!a.value)return;const ie=(("clientX"in F?F.clientX:F.changedTouches[0].clientX)-r(a.value))/45;W(ie)},G=()=>{document.removeEventListener("mousemove",D),document.removeEventListener("touchmove",D),document.removeEventListener("mouseup",G),document.removeEventListener("touchend",G)},ae=()=>{document.addEventListener("mousemove",D),document.addEventListener("touchmove",D),document.addEventListener("mouseup",G),document.addEventListener("touchend",G)},se=F=>{if(!a.value)return;const j=(F.clientX-r(a.value))/45;W(j)},J=F=>{if(u.value&&i.value){const j=i.value.getBoundingClientRect().left,ie=F.clientX-j;if(ie<0||ie>i.value.offsetWidth)return;const q=u.value*(ie/i.value.offsetWidth);x.value=`${ie-(q>=3600?25:20)}px`,m.value=n(q),v.value=!0}},Re=()=>{o.value&&(o.value.muted?(o.value.muted=!1,W(.5)):(o.value.muted=!0,W(0)))},fe=()=>{d.value=!d.value},me=ve(-1),ue=ve(!1),z=()=>{ue.value=!1,clearTimeout(me.value),me.value=setTimeout(()=>{var F;(F=o.value)!=null&&F.played.length&&(ue.value=!0)},3e3)};return Que(t.src,o),(F,j)=>{const ie=Se("IconPause"),q=Se("IconPlayOne"),te=Se("IconVolumeMute"),re=Se("IconVolumeNotice"),he=Se("IconVolumeSmall");return U(),ee("div",{class:Je(["video-player",{"hide-controller":ue.value}]),style:we({width:F.width*F.scale+"px",height:F.height*F.scale+"px",transform:`scale(${1/F.scale})`}),onMousemove:j[22]||(j[22]=ce=>z()),onClick:j[23]||(j[23]=ce=>z())},[V("div",{class:"video-wrap",onClick:j[8]||(j[8]=ce=>P())},[$.value?(U(),ee("div",Zue,"视频加载失败")):Qe("",!0),V("video",{class:"video",ref_key:"videoRef",ref:o,src:F.src,autoplay:F.autoplay,poster:F.poster,"webkit-playsinline":"",playsinline:"",onDurationchange:j[0]||(j[0]=ce=>_()),onTimeupdate:j[1]||(j[1]=ce=>C()),onEnded:j[2]||(j[2]=ce=>X()),onProgress:j[3]||(j[3]=ce=>Y()),onPlay:j[4]||(j[4]=ce=>{z(),l.value=!1}),onPause:j[5]||(j[5]=ce=>z()),onError:j[6]||(j[6]=ce=>le())},null,40,Bue),V("div",Due,[V("span",{class:Je(["bezel-icon",{"bezel-transition":h.value}]),onAnimationend:j[7]||(j[7]=ce=>h.value=!1)},[l.value?(U(),ke(ie,{key:0})):(U(),ke(q,{key:1}))],34)])]),Kue,V("div",Hue,[V("div",Gue,[V("div",{class:"icon play-icon",onClick:j[9]||(j[9]=ce=>P())},[V("span",zue,[l.value?(U(),ke(q,{key:0})):(U(),ke(ie,{key:1}))])]),V("div",Jue,[V("div",{class:"icon volume-icon",onClick:j[10]||(j[10]=ce=>Re())},[V("span",$ue,[s.value===0?(U(),ke(te,{key:0})):s.value===1?(U(),ke(re,{key:1})):(U(),ke(he,{key:2}))])]),V("div",{class:"volume-bar-wrap",onMousedown:j[11]||(j[11]=ce=>ae()),onTouchstart:j[12]||(j[12]=ce=>ae()),onClick:j[13]||(j[13]=ce=>se(ce))},[V("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:a},[V("div",{class:"volume-bar-inner",style:we({width:M.value})},que,4)],512)],32)]),V("span",efe,[V("span",tfe,vt(y.value),1),Ve(" / "),V("span",nfe,vt(R.value),1)])]),V("div",rfe,[V("div",ofe,[V("div",ife,[V("span",{class:"icon-content",onClick:j[14]||(j[14]=ce=>T.value=!T.value)},vt(p.value===1?"倍速":p.value+"x"),1),T.value?(U(),ee("div",{key:0,class:"speed-menu",onMouseleave:j[15]||(j[15]=ce=>T.value=!1)},[(U(),ee(We,null,nt(w,ce=>V("div",{class:Je(["speed-menu-item",{active:ce.value===p.value}]),key:ce.label,onClick:pe=>N(ce.value)},vt(ce.label),11,afe)),64))],32)):Qe("",!0)])]),V("div",{class:"loop",onClick:j[16]||(j[16]=ce=>fe())},[V("div",{class:Je(["icon loop-icon",{active:d.value}])},[V("span",sfe,"循环"+vt(d.value?"开":"关"),1)],2)])]),V("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:i,onMousedown:j[17]||(j[17]=ce=>B()),onTouchstart:j[18]||(j[18]=ce=>B()),onMousemove:j[19]||(j[19]=ce=>J(ce)),onMouseenter:j[20]||(j[20]=ce=>v.value=!0),onMouseleave:j[21]||(j[21]=ce=>v.value=!1)},[V("div",{class:Je(["bar-time",{hidden:!v.value}]),style:we({left:x.value})},vt(m.value),7),V("div",lfe,[V("div",{class:"loaded",style:we({width:b.value})},null,4),V("div",{class:"played",style:we({width:A.value})},ufe,4)])],544)])],38)}}}),l_=Ue(ffe,[["__scopeId","data-v-597c0901"]]),dfe=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n}=Xe(ft()),r=(o,i=!0)=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo,i))};return(o,i)=>{const a=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-video",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[He((U(),ee("div",{class:"element-content",onMousedown:i[2]||(i[2]=s=>r(s,!1)),onTouchstart:i[3]||(i[3]=s=>r(s,!1))},[O(l_,{width:o.elementInfo.width,height:o.elementInfo.height,src:o.elementInfo.src,poster:o.elementInfo.poster,scale:H(n)},null,8,["width","height","src","poster","scale"]),(U(),ee(We,null,nt(["t","b","l","r"],s=>V("div",{class:Je(["handler-border",s]),key:s,onMousedown:i[0]||(i[0]=l=>r(l)),onTouchstart:i[1]||(i[1]=l=>r(l))},null,34)),64))],32)),[[a,o.contextmenus]])],4)],6)}}}),c_=Ue(dfe,[["__scopeId","data-v-c50d3bc7"]]),u_=e=>(zt("data-v-32038f5c"),e=e(),Jt(),e),hfe=["src","autoplay"],pfe={class:"controller"},vfe={class:"icons"},gfe={class:"icon-content"},mfe={class:"volume"},Afe={class:"icon-content"},Rfe=u_(()=>V("span",{class:"thumb"},null,-1)),yfe=[Rfe],bfe={class:"time"},xfe={class:"ptime"},Sfe={class:"dtime"},Mfe={class:"bar"},wfe=u_(()=>V("span",{class:"thumb"},null,-1)),Lfe=[wfe],Ofe=Ee({__name:"AudioPlayer",props:{src:{},loop:{type:Boolean},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e,{expose:t}){const n=e,r=(G=0)=>{if(G===0||isNaN(G))return"00:00";const ae=fe=>fe<10?"0"+fe:""+fe,se=Math.floor(G/3600),J=Math.floor((G-se*3600)/60),Re=Math.floor(G-se*3600-J*60);return(se>0?[se,J,Re]:[J,Re]).map(ae).join(":")},o=G=>G.getBoundingClientRect().left,i=ve(),a=ve(),s=ve(),l=ve(.5),c=ve(!0),u=ve(0),f=ve(0),d=ve(0),h=ve(!1),p=ve("00:00"),v=ve("0"),m=Me(()=>r(u.value)),x=Me(()=>r(f.value)),y=Me(()=>u.value/f.value*100+"%"),R=Me(()=>d.value/f.value*100+"%"),A=Me(()=>l.value*100+"%"),b=G=>{i.value&&(G=Math.max(G,0),G=Math.min(G,f.value),i.value.currentTime=G,u.value=G)},M=()=>{i.value&&(c.value=!1,i.value.play())},T=()=>{i.value&&(c.value=!0,i.value.pause())},w=()=>{c.value?M():T()},L=G=>{i.value&&(G=Math.max(G,0),G=Math.min(G,1),i.value.volume=G,l.value=G,i.value.muted&&G!==0&&(i.value.muted=!1))},k=()=>{var G;f.value=((G=i.value)==null?void 0:G.duration)||0},E=()=>{var G;u.value=((G=i.value)==null?void 0:G.currentTime)||0},P=()=>{c.value=!1},W=()=>{n.loop?(b(0),M()):T()},N=()=>{var G;d.value=(G=i.value)!=null&&G.buffered.length?i.value.buffered.end(i.value.buffered.length-1):0},_=()=>gn.error("视频加载失败"),C=G=>{if(!i.value||!a.value)return;let se=(("clientX"in G?G.clientX:G.changedTouches[0].clientX)-o(a.value))/a.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const J=se*f.value;i.value.currentTime=J,u.value=J},X=G=>{if(!i.value||!a.value)return;let se=(("clientX"in G?G.clientX:G.changedTouches[0].clientX)-o(a.value))/a.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const J=se*f.value;i.value.currentTime=J,u.value=J,document.removeEventListener("mousemove",C),document.removeEventListener("touchmove",C),document.removeEventListener("mouseup",X),document.removeEventListener("touchend",X)},Y=()=>{document.addEventListener("mousemove",C),document.addEventListener("touchmove",C),document.addEventListener("mouseup",X),document.addEventListener("touchend",X)},$=G=>{if(!s.value)return;const se=(("clientX"in G?G.clientX:G.changedTouches[0].clientX)-o(s.value))/45;L(se)},le=()=>{document.removeEventListener("mousemove",$),document.removeEventListener("touchmove",$),document.removeEventListener("mouseup",le),document.removeEventListener("touchend",le)},Q=()=>{document.addEventListener("mousemove",$),document.addEventListener("touchmove",$),document.addEventListener("mouseup",le),document.addEventListener("touchend",le)},K=G=>{if(!s.value)return;const ae=(G.clientX-o(s.value))/45;L(ae)},B=G=>{if(f.value&&a.value){const ae=a.value.getBoundingClientRect().left,se=G.clientX-ae;if(se<0||se>a.value.offsetWidth)return;const J=f.value*(se/a.value.offsetWidth);v.value=`${se-(J>=3600?25:20)}px`,p.value=r(J),h.value=!0}},D=()=>{i.value&&(i.value.muted?(i.value.muted=!1,L(.5)):(i.value.muted=!0,L(0)))};return t({toggle:w}),(G,ae)=>{const se=Se("IconPlayOne"),J=Se("IconPause"),Re=Se("IconVolumeMute"),fe=Se("IconVolumeNotice"),me=Se("IconVolumeSmall");return U(),ee("div",{class:"audio-player",style:we({transform:`scale(${1/G.scale})`})},[V("audio",{class:"audio",ref_key:"audioRef",ref:i,src:G.src,autoplay:G.autoplay,onDurationchange:ae[0]||(ae[0]=ue=>k()),onTimeupdate:ae[1]||(ae[1]=ue=>E()),onPlay:ae[2]||(ae[2]=ue=>P()),onEnded:ae[3]||(ae[3]=ue=>W()),onProgress:ae[4]||(ae[4]=ue=>N()),onError:ae[5]||(ae[5]=ue=>_())},null,40,hfe),V("div",pfe,[V("div",vfe,[V("div",{class:"icon play-icon",onClick:ae[6]||(ae[6]=ue=>w())},[V("span",gfe,[c.value?(U(),ke(se,{key:0})):(U(),ke(J,{key:1}))])]),V("div",mfe,[V("div",{class:"icon volume-icon",onClick:ae[7]||(ae[7]=ue=>D())},[V("span",Afe,[l.value===0?(U(),ke(Re,{key:0})):l.value===1?(U(),ke(fe,{key:1})):(U(),ke(me,{key:2}))])]),V("div",{class:"volume-bar-wrap",onMousedown:ae[8]||(ae[8]=ue=>Q()),onTouchstart:ae[9]||(ae[9]=ue=>Q()),onClick:ae[10]||(ae[10]=ue=>K(ue))},[V("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:s},[V("div",{class:"volume-bar-inner",style:we({width:A.value})},yfe,4)],512)],32)])]),V("span",bfe,[V("span",xfe,vt(m.value),1),Ve(" / "),V("span",Sfe,vt(x.value),1)]),V("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:a,onMousedown:ae[11]||(ae[11]=ue=>Y()),onTouchstart:ae[12]||(ae[12]=ue=>Y()),onMousemove:ae[13]||(ae[13]=ue=>B(ue)),onMouseenter:ae[14]||(ae[14]=ue=>h.value=!0),onMouseleave:ae[15]||(ae[15]=ue=>h.value=!1)},[V("div",{class:Je(["bar-time",{hidden:!h.value}]),style:we({left:v.value})},vt(p.value),7),V("div",Mfe,[V("div",{class:"loaded",style:we({width:R.value})},null,4),V("div",{class:"played",style:we({width:y.value})},Lfe,4)])],544)])],4)}}}),f_=Ue(Ofe,[["__scopeId","data-v-32038f5c"]]),Tfe=Ee({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n,handleElementId:r}=Xe(ft()),{viewportRatio:o,viewportSize:i}=Xe(st()),a=Me(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),s=Me(()=>{const c=i.value,u=i.value*o.value,f=280/n.value,d=50/n.value,h=t.elementInfo.width,p=t.elementInfo.height,v=t.elementInfo.left,m=t.elementInfo.top;let x=0,y=p;return v+f>=c&&(x=h-f),m+p+d>=u&&(y=-d),{left:x+"px",top:y+"px"}}),l=c=>{t.elementInfo.lock||(c.stopPropagation(),t.selectElement(c,t.elementInfo))};return(c,u)=>{const f=Se("IconVolumeNotice"),d=bn("contextmenu");return U(),ee("div",{class:Je(["editable-element-audio",{lock:c.elementInfo.lock}]),style:we({top:c.elementInfo.top+"px",left:c.elementInfo.left+"px",width:c.elementInfo.width+"px",height:c.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${c.elementInfo.rotate}deg)`})},[He((U(),ee("div",{class:"element-content",onMousedown:u[1]||(u[1]=h=>l(h)),onTouchstart:u[2]||(u[2]=h=>l(h))},[O(f,{class:"audio-icon",style:we({fontSize:a.value,color:c.elementInfo.color})},null,8,["style"]),H(r)===c.elementInfo.id?(U(),ke(f_,{key:0,class:"audio-player",style:we({...s.value}),src:c.elementInfo.src,loop:c.elementInfo.loop,scale:H(n),onMousedown:u[0]||(u[0]=Nt(()=>{},["stop"]))},null,8,["style","src","loop","scale"])):Qe("",!0)],32)),[[d,c.contextmenus]])],4)],6)}}}),d_=Ue(Tfe,[["__scopeId","data-v-07f623ea"]]),kfe=["id"],Nfe=Ee({__name:"EditableElement",props:{elementInfo:{},elementIndex:{},isMultiSelect:{type:Boolean},selectElement:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,n=Me(()=>({[Tt.IMAGE]:zI,[Tt.TEXT]:ZF,[Tt.SHAPE]:DF,[Tt.LINE]:KF,[Tt.CHART]:t_,[Tt.TABLE]:a_,[Tt.LATEX]:s_,[Tt.VIDEO]:c_,[Tt.AUDIO]:d_})[t.elementInfo.type]||null),{orderElement:r}=_p(),{alignElementToCanvas:o}=v2(),{combineElements:i,uncombineElements:a}=Vx(),{deleteElement:s}=Fp(),{lockElement:l,unlockElement:c}=y9(),{copyElement:u,pasteElement:f,cutElement:d}=Ux(),{selectAllElements:h}=n2(),p=()=>t.elementInfo.lock?[{text:"解锁",handler:()=>c(t.elementInfo)}]:[{text:"剪切",subText:"Ctrl + X",handler:d},{text:"复制",subText:"Ctrl + C",handler:u},{text:"粘贴",subText:"Ctrl + V",handler:f},{divider:!0},{text:"水平居中",handler:()=>o(nn.HORIZONTAL),children:[{text:"水平垂直居中",handler:()=>o(nn.CENTER)},{text:"水平居中",handler:()=>o(nn.HORIZONTAL)},{text:"左对齐",handler:()=>o(nn.LEFT)},{text:"右对齐",handler:()=>o(nn.RIGHT)}]},{text:"垂直居中",handler:()=>o(nn.VERTICAL),children:[{text:"水平垂直居中",handler:()=>o(nn.CENTER)},{text:"垂直居中",handler:()=>o(nn.VERTICAL)},{text:"顶部对齐",handler:()=>o(nn.TOP)},{text:"底部对齐",handler:()=>o(nn.BOTTOM)}]},{divider:!0},{text:"置于顶层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,dr.TOP),children:[{text:"置于顶层",handler:()=>r(t.elementInfo,dr.TOP)},{text:"上移一层",handler:()=>r(t.elementInfo,dr.UP)}]},{text:"置于底层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,dr.BOTTOM),children:[{text:"置于底层",handler:()=>r(t.elementInfo,dr.BOTTOM)},{text:"下移一层",handler:()=>r(t.elementInfo,dr.DOWN)}]},{divider:!0},{text:"设置链接",handler:t.openLinkDialog},{text:t.elementInfo.groupId?"取消组合":"组合",subText:"Ctrl + G",handler:t.elementInfo.groupId?a:i,hide:!t.isMultiSelect},{text:"全选",subText:"Ctrl + A",handler:h},{text:"锁定",subText:"Ctrl + L",handler:l},{text:"删除",subText:"Delete",handler:s}];return(v,m)=>(U(),ee("div",{class:"editable-element",ref:"elementRef",id:`editable-element-${v.elementInfo.id}`,style:we({zIndex:v.elementIndex})},[(U(),ke(ws(n.value),{elementInfo:v.elementInfo,selectElement:v.selectElement,contextmenus:p},null,8,["elementInfo","selectElement"]))],12,kfe))}}),Pfe=Ee({__name:"MouseSelection",props:{top:{},left:{},width:{},height:{},quadrant:{}},setup(e){return(t,n)=>(U(),ee("div",{class:Je(`mouse-selection quadrant-${t.quadrant}`),style:we({top:t.top+"px",left:t.left+"px",width:t.width+"px",height:t.height+"px"})},null,6))}}),Cfe=Ue(Pfe,[["__scopeId","data-v-053bfa3e"]]),Ife={class:"grid-lines"},Ffe=["d","stroke"],_fe=Ee({__name:"GridLines",setup(e){const{canvasScale:t,gridLineSize:n}=Xe(ft()),{currentSlide:r,viewportRatio:o,viewportSize:i}=Xe(st()),a=Me(()=>{var c;return(c=r.value)==null?void 0:c.background}),s=Me(()=>{var f;const c=((f=a.value)==null?void 0:f.color)||"#fff",u=["#000","#fff"];return ot.mostReadable(c,u,{includeFallbackColors:!0}).setAlpha(.5).toRgbString()}),l=Me(()=>{const c=i.value,u=i.value*o.value;let f="";for(let d=0;d<=Math.floor(u/n.value);d++)f+=`M0 ${d*n.value} L${c} ${d*n.value} `;for(let d=0;d<=Math.floor(c/n.value);d++)f+=`M${d*n.value} 0 L${d*n.value} ${u} `;return f});return(c,u)=>(U(),ee("svg",Ife,[V("path",{style:we({transform:`scale(${H(t)})`}),d:l.value,fill:"none",stroke:s.value,"stroke-width":"0.3","stroke-dasharray":"5"},null,12,Ffe)]))}}),Efe=Ue(_fe,[["__scopeId","data-v-93264269"]]),b2=e=>({backgroundStyle:Me(()=>{if(!e.value)return{backgroundColor:"#fff"};const{type:n,color:r,image:o,gradient:i}=e.value;if(n==="solid")return{backgroundColor:r};if(n==="image"&&o){const{src:a,size:s}=o;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"&&i){const{type:a,colors:s,rotate:l}=i,c=s.map(u=>`${u.color} ${u.pos}%`);return a==="radial"?{backgroundImage:`radial-gradient(${c.join(",")}`}:{backgroundImage:`linear-gradient(${l}deg, ${c.join(",")}`}}return{backgroundColor:"#fff"}})}),Xfe=Ee({__name:"ViewportBackground",setup(e){const{gridLineSize:t}=Xe(ft()),{currentSlide:n}=Xe(st()),r=Me(()=>{var i;return(i=n.value)==null?void 0:i.background}),{backgroundStyle:o}=b2(r);return(i,a)=>(U(),ee("div",{class:"viewport-background",style:we(H(o))},[H(t)?(U(),ke(Efe,{key:0})):Qe("",!0)],4))}}),Wfe=Ue(Xfe,[["__scopeId","data-v-203ea8ff"]]),Vfe=Ee({__name:"AlignmentLine",props:{type:{},axis:{},length:{},canvasScale:{}},setup(e){const t=e,n=Me(()=>t.axis.x*t.canvasScale+"px"),r=Me(()=>t.axis.y*t.canvasScale+"px"),o=Me(()=>t.type==="vertical"?{height:t.length*t.canvasScale+"px"}:{width:t.length*t.canvasScale+"px"});return(i,a)=>(U(),ee("div",{class:"alignment-line",style:we({left:n.value,top:r.value})},[V("div",{class:Je(["line",i.type]),style:we(o.value)},null,6)],4))}}),h_=Ue(Vfe,[["__scopeId","data-v-7cd3d25d"]]),Ufe={class:"ruler"},Yfe={key:0},Qfe={key:0},Zfe=Ee({__name:"Ruler",props:{viewportStyles:{},elementList:{}},setup(e){const t=e,{canvasScale:n,activeElementIdList:r}=Xe(ft()),{viewportRatio:o,viewportSize:i}=Xe(st()),a=ve(null);Dd(()=>{const l=t.elementList.filter(c=>r.value.includes(c.id));if(!l.length)return a.value=null;a.value=js(l)});const s=Me(()=>t.viewportStyles.width*n.value/(i.value/100));return(l,c)=>(U(),ee("div",Ufe,[V("div",{class:"h",style:we({width:l.viewportStyles.width*H(n)+"px",left:l.viewportStyles.left+"px"})},[(U(),ee(We,null,nt(20,u=>V("div",{class:Je(["ruler-marker-100",{hide:s.value<36,omit:s.value<72}]),key:`h-marker-100-${u}`,style:we({width:s.value+"px"})},[u*100<=H(i)?(U(),ee("span",Yfe,vt(u*100),1)):Qe("",!0)],6)),64)),a.value?(U(),ee("div",{key:0,class:"range",style:we({left:a.value.minX*H(n)+"px",width:(a.value.maxX-a.value.minX)*H(n)+"px"})},null,4)):Qe("",!0)],4),V("div",{class:"v",style:we({height:l.viewportStyles.height*H(n)+"px",top:l.viewportStyles.top+"px"})},[(U(),ee(We,null,nt(20,u=>V("div",{class:Je(["ruler-marker-100",{hide:s.value<36,omit:s.value<72}]),key:`v-marker-100-${u}`,style:we({height:s.value+"px"})},[u*100<=H(i)*H(o)?(U(),ee("span",Qfe,vt(u*100),1)):Qe("",!0)],6)),64)),a.value?(U(),ee("div",{key:0,class:"range",style:we({top:a.value.minY*H(n)+"px",height:(a.value.maxY-a.value.minY)*H(n)+"px"})},null,4)):Qe("",!0)],4)]))}}),Bfe=Ue(Zfe,[["__scopeId","data-v-c6df5cc2"]]),Dfe=["width","height"],Kfe=["d"],Hfe=Ee({__name:"ElementCreateSelection",emits:["created"],setup(e,{emit:t}){const n=t,r=ft(),{creatingElement:o}=Xe(r),{ctrlOrShiftKeyActive:i}=Xe(Ea()),a=ve(),s=ve(),l=ve(),c=ve({x:0,y:0});Qt(()=>{if(!l.value)return;const{x:h,y:p}=l.value.getBoundingClientRect();c.value={x:h,y:p}});const u=h=>{let p=!0;const v=h.pageX,m=h.pageY;a.value=[v,m],document.onmousemove=x=>{if(!o.value||!p)return;let y=x.pageX,R=x.pageY;if(i.value){const A=y-v,b=R-m,M=Math.abs(A),T=Math.abs(b);if(o.value.type==="shape"){const w=b>0&&A<0||b<0&&A>0;M>T?R=w?m-A:m+A:y=w?v-b:v+b}else o.value.type==="line"&&(M>T?R=m:y=v)}s.value=[y,R]},document.onmouseup=x=>{var b,M;if(document.onmousemove=null,document.onmouseup=null,x.button===2){setTimeout(()=>r.setCreatingElement(null),0);return}p=!1;const y=x.pageX,R=x.pageY,A=30;if(((b=o.value)==null?void 0:b.type)==="line"&&(Math.abs(y-v)>=A||Math.abs(R-m)>=A))n("created",{start:a.value,end:s.value});else if(((M=o.value)==null?void 0:M.type)!=="line"&&Math.abs(y-v)>=A&&Math.abs(R-m)>=A)n("created",{start:a.value,end:s.value});else{const w=Math.min(y,v),L=Math.min(R,m),k=Math.max(y,v),E=Math.max(R,m),P=k-w>=A?k-w:200,W=E-L>=A?E-L:200;n("created",{start:[w,L],end:[w+P,L+W]})}}},f=Me(()=>{if(!a.value||!s.value||!o.value||o.value.type!=="line")return null;const[h,p]=a.value,[v,m]=s.value,x=Math.min(h,v),y=Math.max(h,v),R=Math.min(p,m),A=Math.max(p,m),b=y-x>=24?y-x:24,M=A-R>=24?A-R:24,T=h===x?0:y-x,w=p===R?0:A-R,L=v===x?0:y-x,k=m===R?0:A-R,E=`M${T}, ${w} L${L}, ${k}`;return{svgWidth:b,svgHeight:M,startX:T,startY:w,endX:L,endY:k,path:E}}),d=Me(()=>{if(!a.value||!s.value)return{};const[h,p]=a.value,[v,m]=s.value,x=Math.min(h,v),y=Math.max(h,v),R=Math.min(p,m),A=Math.max(p,m),b=y-x,M=A-R;return{left:x-c.value.x+"px",top:R-c.value.y+"px",width:b+"px",height:M+"px"}});return(h,p)=>{var v,m;return U(),ee("div",{class:"element-create-selection",ref_key:"selectionRef",ref:l,onMousedown:p[0]||(p[0]=Nt(x=>u(x),["stop"])),onContextmenu:p[1]||(p[1]=Nt(()=>{},["stop","prevent"]))},[a.value&&s.value?(U(),ee("div",{key:0,class:Je(["selection",(v=H(o))==null?void 0:v.type]),style:we(d.value)},[((m=H(o))==null?void 0:m.type)==="line"&&f.value?(U(),ee("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,Kfe)],8,Dfe)):Qe("",!0)],6)):Qe("",!0)],544)}}}),Gfe=Ue(Hfe,[["__scopeId","data-v-7b17a883"]]),zfe={overflow:"visible"},Jfe=["d","fill"],$fe=Ee({__name:"ShapeCreateCanvas",emits:["created"],setup(e,{emit:t}){const n=t,r=ft(),{ctrlOrShiftKeyActive:o}=Xe(Ea()),{theme:i}=Xe(st()),a=ve(),s=ve(!1),l=ve({x:0,y:0});Qt(()=>{if(!a.value)return;const{x:A,y:b}=a.value.getBoundingClientRect();l.value={x:A,y:b}});const c=ve(null),u=ve([]),f=ve(!1),d=(A,b=!1)=>{let M=A.pageX-l.value.x,T=A.pageY-l.value.y;if(b)return{pageX:M,pageY:T};if(o.value&&u.value.length){const[w,L]=u.value[u.value.length-1];Math.abs(w-M)-Math.abs(L-T)>0?T=L:M=w}return{pageX:M,pageY:T}},h=A=>{if(s.value){const{pageX:T,pageY:w}=d(A,!0);u.value.push([T,w]),c.value=null;return}const{pageX:b,pageY:M}=d(A);if(c.value=[b,M],u.value.length>=2){const[T,w]=u.value[0];Math.abs(T-b)<5&&Math.abs(w-M)<5?f.value=!0:f.value=!1}else f.value=!1},p=Me(()=>{let A="";for(let b=0;b<u.value.length;b++){const M=u.value[b];b===0?A+=`M ${M[0]} ${M[1]} `:A+=`L ${M[0]} ${M[1]} `}return u.value.length&&c.value&&(A+=`L ${c.value[0]} ${c.value[1]}`),A}),v=(A=!0)=>{const b=u.value.map(C=>C[0]),M=u.value.map(C=>C[1]),T=Math.min(...b),w=Math.min(...M),L=Math.max(...b),k=Math.max(...M),E=u.value.map(C=>[C[0]-T,C[1]-w]);let P="";for(let C=0;C<E.length;C++){const X=E[C];C===0?P+=`M ${X[0]} ${X[1]} `:P+=`L ${X[0]} ${X[1]} `}A&&(P+="Z");const W=[T+l.value.x,w+l.value.y],N=[L+l.value.x,k+l.value.y],_=[L-T,k-w];return{start:W,end:N,path:P,viewBox:_}},m=A=>{const{pageX:b,pageY:M}=d(A);s.value=!0,f.value?n("created",v()):u.value.push([b,M]),document.onmouseup=()=>{s.value=!1}},x=()=>{r.setCreatingCustomShapeState(!1)},y=()=>{n("created",{...v(!1),fill:"rgba(0, 0, 0, 0)",outline:{width:2,color:i.value.themeColor,style:"solid"}}),x()},R=A=>{const b=A.key.toUpperCase();b===gt.ESC&&x(),b===gt.ENTER&&y()};return Qt(()=>{gn.success("点击绘制任意形状,首尾闭合完成绘制,按 ESC 键或鼠标右键取消,按 ENTER 键提前完成",{duration:0}),document.addEventListener("keydown",R)}),Sn(()=>{document.removeEventListener("keydown",R),gn.closeAll()}),(A,b)=>(U(),ee("div",{class:"shape-create-canvas",ref_key:"shapeCanvasRef",ref:a,onMousedown:b[0]||(b[0]=Nt(M=>m(M),["stop"])),onMousemove:b[1]||(b[1]=M=>h(M)),onContextmenu:b[2]||(b[2]=Nt(M=>x(),["stop","prevent"]))},[(U(),ee("svg",zfe,[V("path",{d:p.value,stroke:"#d14424",fill:f.value?"rgba(226, 83, 77, 0.15)":"none","stroke-width":"2"},null,8,Jfe)]))],544))}}),jfe=Ue($fe,[["__scopeId","data-v-8ea8c340"]]),tf=(e,t)=>{const n=Me(()=>[{direction:mt.LEFT_TOP,style:{}},{direction:mt.TOP,style:{left:e.value/2+"px"}},{direction:mt.RIGHT_TOP,style:{left:e.value+"px"}},{direction:mt.LEFT,style:{top:t.value/2+"px"}},{direction:mt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}},{direction:mt.LEFT_BOTTOM,style:{top:t.value+"px"}},{direction:mt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}},{direction:mt.RIGHT_BOTTOM,style:{left:e.value+"px",top:t.value+"px"}}]),r=Me(()=>[{direction:mt.LEFT,style:{top:t.value/2+"px"}},{direction:mt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}}]),o=Me(()=>[{direction:mt.TOP,style:{left:e.value/2+"px"}},{direction:mt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}}]),i=Me(()=>[{type:K0.T,style:{width:e.value+"px"}},{type:K0.B,style:{top:t.value+"px",width:e.value+"px"}},{type:K0.L,style:{height:t.value+"px"}},{type:K0.R,style:{left:e.value+"px",height:t.value+"px"}}]);return{resizeHandlers:n,textElementResizeHandlers:r,verticalTextElementResizeHandlers:o,borderLines:i}},qfe=Ee({__name:"ResizeHandler",props:{type:{},rotate:{default:0}},setup(e){const t=e,n=Me(()=>{const r="rotate-",o=t.rotate;return o>-22.5&&o<=22.5?r+0:o>22.5&&o<=67.5?r+45:o>67.5&&o<=112.5?r+90:o>112.5&&o<=157.5?r+135:o>157.5||o<=-157.5?r+0:o>-157.5&&o<=-112.5?r+45:o>-112.5&&o<=-67.5?r+90:o>-67.5&&o<=-22.5?r+135:r+0});return(r,o)=>(U(),ee("div",{class:Je(["resize-handler",n.value,r.type])},null,2))}}),Ic=Ue(qfe,[["__scopeId","data-v-bb3f9e62"]]),ede=Ee({__name:"BorderLine",props:{type:{},isWide:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),ee("div",{class:Je(["border-line",t.type,{wide:t.isWide}])},null,2))}}),nf=Ue(ede,[["__scopeId","data-v-7114fb45"]]),tde=Ee({__name:"MultiSelectOperate",props:{elementList:{},scaleMultiElement:{type:Function}},setup(e){const t=e,{activeElementIdList:n,canvasScale:r}=Xe(ft()),o=Me(()=>t.elementList.filter(d=>n.value.includes(d.id))),i=ve({minX:0,maxX:0,minY:0,maxY:0}),a=Me(()=>(i.value.maxX-i.value.minX)*r.value),s=Me(()=>(i.value.maxY-i.value.minY)*r.value),{resizeHandlers:l,borderLines:c}=tf(a,s);Dd(()=>{const{minX:d,maxX:h,minY:p,maxY:v}=js(o.value);i.value={minX:d,maxX:h,minY:p,maxY:v}});const f=Me(()=>o.value.some(d=>!((d.type==="image"||d.type==="shape")&&!d.rotate)));return(d,h)=>(U(),ee("div",{class:"multi-select-operate",style:we({left:i.value.minX*H(r)+"px",top:i.value.minY*H(r)+"px"})},[(U(!0),ee(We,null,nt(H(c),p=>(U(),ke(nf,{key:p.type,type:p.type,style:we(p.style)},null,8,["type","style"]))),128)),f.value?Qe("",!0):(U(!0),ee(We,{key:0},nt(H(l),p=>(U(),ke(Ic,{key:p.direction,type:p.direction,style:we(p.style),onMousedown:Nt(v=>d.scaleMultiElement(v,i.value,p.direction),["stop"])},null,8,["type","style","onMousedown"]))),128))],4))}}),nde=Ue(tde,[["__scopeId","data-v-135c8cb7"]]),rde={},ode={class:"rotate-handler"};function ide(e,t){return U(),ee("div",ode)}const t0=Ue(rde,[["render",ide],["__scopeId","data-v-9f21fc0f"]]),ade={inheritAttrs:!1},sde=Ee({...ade,__name:"ImageElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n,clipingImageElementId:r}=Xe(ft()),o=Me(()=>r.value===t.elementInfo.id),i=Me(()=>t.elementInfo.width*n.value),a=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:s,borderLines:l}=tf(i,a);return(c,u)=>(U(),ee("div",{class:Je(["image-element-operate",{cliping:o.value}])},[(U(!0),ee(We,null,nt(H(l),f=>(U(),ke(nf,{class:"operate-border-line",key:f.type,type:f.type,style:we(f.style)},null,8,["type","style"]))),128)),c.handlerVisible?(U(),ee(We,{key:0},[(U(!0),ee(We,null,nt(H(s),f=>(U(),ke(Ic,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:c.elementInfo.rotate,style:we(f.style),onMousedown:Nt(d=>c.scaleElement(d,c.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(t0,{class:"operate-rotate-handler",style:we({left:i.value/2+"px"}),onMousedown:u[0]||(u[0]=Nt(f=>c.rotateElement(f,c.elementInfo),["stop"]))},null,8,["style"])],64)):Qe("",!0)],2))}}),lde=Ue(sde,[["__scopeId","data-v-2a1bef4e"]]),cde={class:"text-element-operate"},ude={inheritAttrs:!1},fde=Ee({...ude,__name:"TextElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Xe(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{textElementResizeHandlers:i,verticalTextElementResizeHandlers:a,borderLines:s}=tf(r,o),l=Me(()=>t.elementInfo.vertical?a.value:i.value);return(c,u)=>(U(),ee("div",cde,[(U(!0),ee(We,null,nt(H(s),f=>(U(),ke(nf,{class:"operate-border-line",key:f.type,type:f.type,style:we(f.style)},null,8,["type","style"]))),128)),c.handlerVisible?(U(),ee(We,{key:0},[(U(!0),ee(We,null,nt(l.value,f=>(U(),ke(Ic,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:c.elementInfo.rotate,style:we(f.style),onMousedown:Nt(d=>c.scaleElement(d,c.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(t0,{class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Nt(f=>c.rotateElement(f,c.elementInfo),["stop"]))},null,8,["style"])],64)):Qe("",!0)]))}}),dde={class:"shape-element-operate"},hde=["onMousedown"],pde={inheritAttrs:!1},vde=Ee({...pde,__name:"ShapeElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},moveShapeKeypoint:{type:Function}},setup(e){const t=e,{canvasScale:n}=Xe(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:i,borderLines:a}=tf(r,o),s=Me(()=>{if(!t.elementInfo.pathFormula||t.elementInfo.keypoints===void 0)return[];const l=zu[t.elementInfo.pathFormula];return t.elementInfo.keypoints.map((c,u)=>{const f=l.getBaseSize[u],d=l.relative[u],h=f(t.elementInfo.width,t.elementInfo.height)*c;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:c,styles:p}})});return(l,c)=>(U(),ee("div",dde,[(U(!0),ee(We,null,nt(H(a),u=>(U(),ke(nf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),ee(We,{key:0},[(U(!0),ee(We,null,nt(H(i),u=>(U(),ke(Ic,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:l.elementInfo.rotate,style:we(u.style),onMousedown:Nt(f=>l.scaleElement(f,l.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(t0,{class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:c[0]||(c[0]=Nt(u=>l.rotateElement(u,l.elementInfo),["stop"]))},null,8,["style"]),(U(!0),ee(We,null,nt(s.value,(u,f)=>(U(),ee("div",{class:"operate-keypoint-handler",key:f,style:we(u.styles),onMousedown:Nt(d=>l.moveShapeKeypoint(d,l.elementInfo,f),["stop"])},null,44,hde))),128))],64)):Qe("",!0)]))}}),gde=Ue(vde,[["__scopeId","data-v-11747e5a"]]),mde={class:"line-element-operate"},Ade=["width","height","stroke"],Rde={key:0},yde=["x1","y1","x2","y2"],bde=["x1","y1","x2","y2"],xde=["x1","y1","x2","y2"],Sde=["x1","y1","x2","y2"],Mde={inheritAttrs:!1},wde=Ee({...Mde,__name:"LineElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},dragLineElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Xe(ft()),r=Me(()=>Math.max(t.elementInfo.start[0],t.elementInfo.end[0])),o=Me(()=>Math.max(t.elementInfo.start[1],t.elementInfo.end[1])),i=Me(()=>{const a=[{handler:Jo.START,style:{left:t.elementInfo.start[0]*n.value+"px",top:t.elementInfo.start[1]*n.value+"px"}},{handler:Jo.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:Jo.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:Jo.C1,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}}),a.push({handler:Jo.C2,style:{left:l[0]*n.value+"px",top:l[1]*n.value+"px"}})}return a});return(a,s)=>(U(),ee("div",mde,[a.handlerVisible?(U(),ee(We,{key:0},[(U(!0),ee(We,null,nt(i.value,l=>(U(),ke(Ic,{class:"operate-resize-handler",key:l.handler,style:we(l.style),onMousedown:Nt(c=>a.dragLineElement(c,a.elementInfo,l.handler),["stop"])},null,8,["style","onMousedown"]))),128)),(U(),ee("svg",{width:r.value||1,height:o.value||1,stroke:a.elementInfo.color,overflow:"visible",style:we({transform:`scale(${H(n)})`})},[a.elementInfo.curve?(U(),ee("g",Rde,[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,yde),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,bde)])):Qe("",!0),a.elementInfo.cubic?(U(!0),ee(We,{key:1},nt(a.elementInfo.cubic,(l,c)=>(U(),ee("g",{key:c},[c===0?(U(),ee("line",{key:0,class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:l[0],y2:l[1]},null,8,xde)):Qe("",!0),c===1?(U(),ee("line",{key:1,class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:l[0],y2:l[1]},null,8,Sde)):Qe("",!0)]))),128)):Qe("",!0)],12,Ade))],64)):Qe("",!0)]))}}),Lde=Ue(wde,[["__scopeId","data-v-9dea4d6a"]]),Ode={class:"table-element-operate"},Tde={inheritAttrs:!1},kde=Ee({...Tde,__name:"TableElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Xe(ft()),r=Me(()=>t.elementInfo.outline.width||1),o=Me(()=>(t.elementInfo.width+r.value)*n.value),i=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:a,borderLines:s}=tf(o,i);return(l,c)=>(U(),ee("div",Ode,[(U(!0),ee(We,null,nt(H(s),u=>(U(),ke(nf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),ee(We,{key:0},[(U(!0),ee(We,null,nt(H(a),u=>(U(),ke(Ic,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:l.elementInfo.rotate,style:we(u.style),onMousedown:Nt(f=>l.scaleElement(f,l.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(t0,{class:"operate-rotate-handler",style:we({left:o.value/2+"px"}),onMousedown:c[0]||(c[0]=Nt(u=>l.rotateElement(u,l.elementInfo),["stop"]))},null,8,["style"])],64)):Qe("",!0)]))}}),Nde={class:"common-element-operate"},Pde={inheritAttrs:!1},Tv=Ee({...Pde,__name:"CommonElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Xe(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:i,borderLines:a}=tf(r,o),s=Me(()=>["chart","video","audio"].includes(t.elementInfo.type));return(l,c)=>(U(),ee("div",Nde,[(U(!0),ee(We,null,nt(H(a),u=>(U(),ke(nf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),ee(We,{key:0},[(U(!0),ee(We,null,nt(H(i),u=>(U(),ke(Ic,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:l.elementInfo.rotate,style:we(u.style),onMousedown:Nt(f=>l.scaleElement(f,l.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),s.value?Qe("",!0):(U(),ke(t0,{key:0,class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:c[0]||(c[0]=Nt(u=>l.rotateElement(u,l.elementInfo),["stop"]))},null,8,["style"]))],64)):Qe("",!0)]))}}),p_=()=>{const e=st(),{addHistorySnapshot:t}=Ht();return{setLink:(o,i)=>{const a=/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/;if(i.type==="web"&&!a.test(i.target))return gn.error("不是正确的网页链接地址"),!1;if(i.type==="slide"&&!i.target)return gn.error("请先选择链接目标"),!1;const s={link:i};return e.updateElement({id:o.id,props:s}),t(),!0},removeLink:o=>{e.removeElementProps({id:o.id,propName:"link"}),t()}}},Cde=Ee({__name:"Divider",props:{type:{default:"horizontal"},margin:{default:-1}},setup(e){return(t,n)=>(U(),ee("div",{class:Je(["divider",t.type]),style:we({margin:t.type==="horizontal"?`${t.margin>=0?t.margin:24}px 0`:`0 ${t.margin>=0?t.margin:8}px`})},null,6))}}),Ft=Ue(Cde,[["__scopeId","data-v-80adabfa"]]),Ide=["href"],Fde={class:"btns"},_de=Ee({__name:"LinkHandler",props:{elementInfo:{},link:{},openLinkDialog:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{canvasScale:o}=Xe(n),{slides:i}=Xe(r),{removeLink:a}=p_(),s=Me(()=>t.elementInfo.type==="line"?0:t.elementInfo.height),l=c=>{const u=i.value.findIndex(f=>f.id===c);u!==-1&&(n.setActiveElementIdList([]),r.updateSlideIndex(u))};return(c,u)=>(U(),ee("div",{class:"link-handler",style:we({top:s.value*H(o)+10+"px"})},[c.link.type==="web"?(U(),ee("a",{key:0,class:"link",href:c.link.target,target:"_blank"},vt(c.link.target),9,Ide)):(U(),ee("a",{key:1,class:"link",onClick:u[0]||(u[0]=f=>l(c.link.target))},"幻灯片页面 "+vt(c.link.target),1)),V("div",Fde,[V("div",{class:"btn",onClick:u[1]||(u[1]=f=>c.openLinkDialog())},"更换"),O(Ft,{type:"vertical"}),V("div",{class:"btn",onClick:u[2]||(u[2]=f=>H(a)(c.elementInfo))},"移除")])],4))}}),Ede=Ue(_de,[["__scopeId","data-v-f8f46f78"]]),Xde={key:1,class:"animation-index"},Wde=Ee({__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}=Xe(ft()),{formatedAnimations:o}=Xe(st()),i=Me(()=>({[Tt.IMAGE]:lde,[Tt.TEXT]:fde,[Tt.SHAPE]:gde,[Tt.LINE]:Lde,[Tt.TABLE]:kde,[Tt.CHART]:Tv,[Tt.LATEX]:Tv,[Tt.VIDEO]:Tv,[Tt.AUDIO]:Tv})[t.elementInfo.type]||null),a=Me(()=>{const c=[];for(let u=0;u<o.value.length;u++)o.value[u].animations.map(d=>d.elId).includes(t.elementInfo.id)&&c.push(u);return c}),s=Me(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),l=Me(()=>"height"in t.elementInfo?t.elementInfo.height:0);return(c,u)=>(U(),ee("div",{class:Je(["operate",{"multi-select":c.isMultiSelect&&!c.isActive}]),style:we({top:c.elementInfo.top*H(n)+"px",left:c.elementInfo.left*H(n)+"px",transform:`rotate(${s.value}deg)`,transformOrigin:`${c.elementInfo.width*H(n)/2}px ${l.value*H(n)/2}px`})},[c.isSelected?(U(),ke(ws(i.value),{key:0,elementInfo:c.elementInfo,handlerVisible:!c.elementInfo.lock&&(c.isActiveGroupElement||!c.isMultiSelect),rotateElement:c.rotateElement,scaleElement:c.scaleElement,dragLineElement:c.dragLineElement,moveShapeKeypoint:c.moveShapeKeypoint},null,8,["elementInfo","handlerVisible","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])):Qe("",!0),H(r)==="elAnimation"&&a.value.length?(U(),ee("div",Xde,[(U(!0),ee(We,null,nt(a.value,f=>(U(),ee("div",{class:"index-item",key:f},vt(f+1),1))),128))])):Qe("",!0),c.isActive&&c.elementInfo.link?(U(),ke(Ede,{key:2,elementInfo:c.elementInfo,link:c.elementInfo.link,openLinkDialog:c.openLinkDialog,onMousedown:u[0]||(u[0]=Nt(()=>{},["stop"]))},null,8,["elementInfo","link","openLinkDialog"])):Qe("",!0)],6))}}),Vde=Ue(Wde,[["__scopeId","data-v-7c6be7e7"]]),Ude=["src"],Yde=Ee({__name:"BaseImageElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=Pc(n),o=Me(()=>t.elementInfo.flipH),i=Me(()=>t.elementInfo.flipV),{flipStyle:a}=g2(o,i),s=Me(()=>t.elementInfo),{clipShape:l,imgPosition:c}=h5(s),u=Me(()=>t.elementInfo.filters),{filter:f}=KI(u);return(d,h)=>(U(),ee("div",{class:"base-element-image",style:we({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:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({filter:H(r)?`drop-shadow(${H(r)})`:"",transform:H(a)})},[O(HI,{elementInfo:d.elementInfo},null,8,["elementInfo"]),V("div",{class:"image-content",style:we({clipPath:H(l).style})},[V("img",{src:d.elementInfo.src,draggable:!1,style:we({top:H(c).top,left:H(c).left,width:H(c).width,height:H(c).height,filter:H(f)}),alt:""},null,12,Ude),d.elementInfo.colorMask?(U(),ee("div",{key:0,class:"color-mask",style:we({backgroundColor:d.elementInfo.colorMask})},null,4)):Qe("",!0)],4)],4)],4)],4))}}),v_=Ue(Yde,[["__scopeId","data-v-67c9bdc0"]]),Qde=["innerHTML"],Zde=Ee({__name:"BaseTextElement",props:{elementInfo:{},target:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=Pc(n);return(o,i)=>(U(),ee("div",{class:"base-element-text",style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({width:o.elementInfo.vertical?"auto":o.elementInfo.width+"px",height:o.elementInfo.vertical?o.elementInfo.height+"px":"auto",backgroundColor:o.elementInfo.fill,opacity:o.elementInfo.opacity,textShadow:H(r),lineHeight:o.elementInfo.lineHeight,letterSpacing:(o.elementInfo.wordSpace||0)+"px",color:o.elementInfo.defaultColor,fontFamily:o.elementInfo.defaultFontName,writingMode:o.elementInfo.vertical?"vertical-rl":"horizontal-tb"})},[O(m2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),V("div",{class:Je(["text ProseMirror-static",{thumbnail:o.target==="thumbnail"}]),style:we({"--paragraphSpace":`${o.elementInfo.paragraphSpace===void 0?5:o.elementInfo.paragraphSpace}px`}),innerHTML:o.elementInfo.content},null,14,Qde)],4)],4)],4))}}),g_=Ue(Zde,[["__scopeId","data-v-a3ec163d"]]),Bde=["width","height"],Dde={key:0},Kde=["transform"],Hde=["d","fill","stroke","stroke-width","stroke-dasharray"],Gde=["innerHTML"],zde=Ee({__name:"BaseShapeElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.outline),{outlineWidth:r,outlineColor:o,strokeDashArray:i}=e0(n),a=Me(()=>t.elementInfo.shadow),{shadowStyle:s}=Pc(a),l=Me(()=>t.elementInfo.flipH),c=Me(()=>t.elementInfo.flipV),{flipStyle:u}=g2(l,c),f=Me(()=>{const d={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:d});return(d,h)=>(U(),ee("div",{class:"base-element-shape",style:we({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:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({opacity:d.elementInfo.opacity,filter:H(s)?`drop-shadow(${H(s)})`:"",transform:H(u),color:f.value.defaultColor,fontFamily:f.value.defaultFontName})},[(U(),ee("svg",{overflow:"visible",width:d.elementInfo.width,height:d.elementInfo.height},[d.elementInfo.gradient?(U(),ee("defs",Dde,[O(BF,{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"])])):Qe("",!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:H(o),"stroke-width":H(r),"stroke-dasharray":H(i)},null,8,Hde)],8,Kde)],8,Bde)),V("div",{class:Je(["shape-text",f.value.align])},[V("div",{class:"ProseMirror-static",innerHTML:f.value.content},null,8,Gde)],2)],4)],4)],4))}}),m_=Ue(zde,[["__scopeId","data-v-f83934a3"]]),Jde=["width","height"],$de=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],jde=Ee({__name:"BaseLineElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=Pc(n),o=Me(()=>{const l=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return l<24?24:l}),i=Me(()=>{const l=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return l<24?24:l}),a=Me(()=>{if(t.elementInfo.style!=="dashed")return"0 0";const l=t.elementInfo.width;return l<=8?`${l*5} ${l*2.5}`:`${l*5} ${l*1.5}`}),s=Me(()=>Ex(t.elementInfo));return(l,c)=>(U(),ee("div",{class:"base-element-line",style:we({top:l.elementInfo.top+"px",left:l.elementInfo.left+"px"})},[V("div",{class:"element-content",style:we({filter:H(r)?`drop-shadow(${H(r)})`:""})},[(U(),ee("svg",{overflow:"visible",width:o.value,height:i.value},[V("defs",null,[l.elementInfo.points[0]?(U(),ke(Vd,{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"])):Qe("",!0),l.elementInfo.points[1]?(U(),ke(Vd,{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"])):Qe("",!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,$de)],8,Jde))],4)],4))}}),A_=Ue(jde,[["__scopeId","data-v-e7dc2b42"]]),qde=Ee({__name:"BaseChartElement",props:{elementInfo:{}},setup(e){const t=ri(ef)||ve(1),n=Me(()=>t.value<1),r=Me(()=>n.value?1/t.value:1);return(o,i)=>(U(),ee("div",{class:"base-element-chart",style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({backgroundColor:o.elementInfo.fill})},[O(m2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),O(e_,{width:o.elementInfo.width*r.value,height:o.elementInfo.height*r.value,type:o.elementInfo.chartType,data:o.elementInfo.data,options:o.elementInfo.options,themeColor:o.elementInfo.themeColor,gridColor:o.elementInfo.gridColor,legends:o.elementInfo.data.legends,legend:o.elementInfo.legend||"",style:we({zoom:1/r.value})},null,8,["width","height","type","data","options","themeColor","gridColor","legends","legend","style"])],4)],4)],4))}}),R_=Ue(qde,[["__scopeId","data-v-37ca5799"]]),e0e=["width"],t0e=["rowspan","colspan"],n0e=["innerHTML"],r0e=Ee({__name:"StaticTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},setup(e){const t=e,n=ve([]),r=Me(()=>n.value.reduce((l,c)=>l+c));wt([()=>t.colWidths,()=>t.width],()=>{n.value=t.colWidths.map(l=>l*t.width)},{immediate:!0});const o=Me(()=>t.data),{hideCells:i}=o_(o),a=Me(()=>t.theme),{subThemeColor:s}=i_(a);return(l,c)=>{var u,f,d,h,p;return U(),ee("div",{class:"static-table",style:we({width:r.value+"px"})},[V("table",{class:Je({theme:a.value,"row-header":(u=a.value)==null?void 0:u.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:we(`--themeColor: ${(p=a.value)==null?void 0:p.color}; --subThemeColor1: ${H(s)[0]}; --subThemeColor2: ${H(s)[1]}`)},[V("colgroup",null,[(U(!0),ee(We,null,nt(n.value,(v,m)=>(U(),ee("col",{span:"1",key:m,width:v},null,8,e0e))),128))]),V("tbody",null,[(U(!0),ee(We,null,nt(l.data,(v,m)=>(U(),ee("tr",{key:m,style:we({height:l.cellMinHeight+"px"})},[(U(!0),ee(We,null,nt(v,(x,y)=>He((U(),ee("td",{class:"cell",style:we({borderStyle:l.outline.style,borderColor:l.outline.color,borderWidth:l.outline.width+"px",...H(n_)(x.style)}),key:x.id,rowspan:x.rowspan,colspan:x.colspan},[V("div",{class:"cell-text",style:we({minHeight:l.cellMinHeight-4+"px"}),innerHTML:H(r_)(x.text)},null,12,n0e)],12,t0e)),[[sl,!H(i).includes(`${m}_${y}`)]])),128))],4))),128))])],6)],4)}}}),o0e=Ue(r0e,[["__scopeId","data-v-6d887dcd"]]),i0e={class:"element-content"},a0e=Ee({__name:"BaseTableElement",props:{elementInfo:{}},setup(e){return(t,n)=>(U(),ee("div",{class:"base-element-table",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",i0e,[O(o0e,{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))}}),y_=Ue(a0e,[["__scopeId","data-v-77cfa6e4"]]),s0e={class:"element-content"},l0e=["width","height","stroke","stroke-width"],c0e=["transform"],u0e=["d"],f0e=Ee({__name:"BaseLatexElement",props:{elementInfo:{}},setup(e){return(t,n)=>(U(),ee("div",{class:"base-element-latex",style:we({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:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",s0e,[(U(),ee("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,u0e)],8,c0e)],8,l0e))])],4)],4))}}),b_=Ue(f0e,[["__scopeId","data-v-93374af9"]]),d0e=Ee({__name:"BaseVideoElement",props:{elementInfo:{}},setup(e){return(t,n)=>{const r=Se("IconPlayOne");return U(),ee("div",{class:"base-element-video",style:we({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:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({backgroundImage:t.elementInfo.poster?`url(${t.elementInfo.poster})`:""})},[O(r,{class:"icon"})],4)],4)],4)}}}),h0e=Ue(d0e,[["__scopeId","data-v-2fb0e771"]]),p0e={class:"element-content"},v0e=Ee({__name:"BaseAudioElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px");return(r,o)=>{const i=Se("IconVolumeNotice");return U(),ee("div",{class:"base-element-audio",style:we({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:we({transform:`rotate(${r.elementInfo.rotate}deg)`})},[V("div",p0e,[O(i,{class:"audio-icon",style:we({fontSize:n.value,color:r.elementInfo.color})},null,8,["style"])])],4)],4)}}}),g0e=Ue(v0e,[["__scopeId","data-v-b33e6120"]]),m0e=Ee({__name:"ThumbnailElement",props:{elementInfo:{},elementIndex:{}},setup(e){const t=e,n=Me(()=>({[Tt.IMAGE]:v_,[Tt.TEXT]:g_,[Tt.SHAPE]:m_,[Tt.LINE]:A_,[Tt.CHART]:R_,[Tt.TABLE]:y_,[Tt.LATEX]:b_,[Tt.VIDEO]:h0e,[Tt.AUDIO]:g0e})[t.elementInfo.type]||null);return(r,o)=>(U(),ee("div",{class:Je(["base-element",`base-element-${r.elementInfo.id}`]),style:we({zIndex:r.elementIndex})},[(U(),ke(ws(n.value),{elementInfo:r.elementInfo,target:"thumbnail"},null,8,["elementInfo"]))],6))}}),A0e={key:1,class:"placeholder"},R0e=Ee({__name:"index",props:{slide:{},size:{},visible:{type:Boolean,default:!0}},setup(e){const t=e,{viewportRatio:n,viewportSize:r}=Xe(st()),o=Me(()=>t.slide.background),{backgroundStyle:i}=b2(o),a=Me(()=>t.size/r.value);return Ku(ef,a),(s,l)=>(U(),ee("div",{class:"thumbnail-slide",style:we({width:s.size+"px",height:s.size*H(n)+"px"})},[s.visible?(U(),ee("div",{key:0,class:"elements",style:we({width:H(r)+"px",height:H(r)*H(n)+"px",transform:`scale(${a.value})`})},[V("div",{class:"background",style:we(H(i))},null,4),(U(!0),ee(We,null,nt(s.slide.elements,(c,u)=>(U(),ke(m0e,{key:c.id,elementInfo:c,elementIndex:u+1},null,8,["elementInfo","elementIndex"]))),128))],4)):(U(),ee("div",A0e,"加载中 ..."))],4))}}),Fa=Ue(R0e,[["__scopeId","data-v-c8cdb1af"]]),y0e=["onClick"],b0e=Ee({__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,o)=>(U(),ee("div",{class:Je(["tabs",{card:r.card,"space-around":r.spaceAround,"space-between":r.spaceBetween}]),style:we(r.tabsStyle||{})},[(U(!0),ee(We,null,nt(r.tabs,i=>(U(),ee("div",{class:Je(["tab",{active:i.key===r.value}]),key:i.key,style:we({...r.tabStyle||{},"--color":i.color}),onClick:a=>n("update:value",i.key)},vt(i.label),15,y0e))),128))],6))}}),_a=Ue(b0e,[["__scopeId","data-v-c7f9dce0"]]),x0e=Ee({__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,o=()=>{n.disabled||r("click")};return(i,a)=>(U(),ee("button",{class:Je(["button",{disabled:i.disabled,checked:!i.disabled&&i.checked,default:!i.disabled&&i.type==="default",primary:!i.disabled&&i.type==="primary",checkbox:!i.disabled&&i.type==="checkbox",radio:!i.disabled&&i.type==="radio",small:i.size==="small",first:i.first,last:i.last}]),onClick:a[0]||(a[0]=s=>o())},[sr(i.$slots,"default",{},void 0,!0)],2))}}),je=Ue(x0e,[["__scopeId","data-v-3a484f58"]]),S0e={key:0,class:"select-wrap"},M0e={class:"selector"},w0e={class:"icon"},L0e=["onClick"],O0e={class:"selector"},T0e={class:"icon"},k0e=Ee({__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,o=ve(!1),i=ve(),a=ve(),s=ve(0),l=ve(""),c=Me(()=>{var p;return((p=n.options.find(v=>v.value===n.value))==null?void 0:p.label)||n.value}),u=Me(()=>{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});wt(o,()=>{o.value?pr(()=>{a.value&&a.value.focus()}):l.value=""}),Du(()=>{l.value=""});const f=()=>{i.value&&(s.value=i.value.clientWidth)},d=new ResizeObserver(f);Qt(()=>{i.value&&d.observe(i.value)}),Sn(()=>{i.value&&d.unobserve(i.value)});const h=p=>{p.disabled||(r("update:value",p.value),o.value=!1)};return(p,v)=>{const m=Se("IconDown");return p.disabled?(U(),ee("div",S0e,[V("div",{class:"select disabled",ref_key:"selectRef",ref:i},[V("div",M0e,vt(p.value),1),V("div",w0e,[sr(p.$slots,"icon",{},()=>[O(m,{size:14})],!0)])],512)])):(U(),ke(Pt,{key:1,class:"select-wrap",trigger:"click",value:o.value,"onUpdate:value":v[1]||(v[1]=x=>o.value=x),placement:"bottom",contentStyle:{padding:0,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)"}},{content:oe(()=>[p.search?(U(),ee(We,{key:0},[O(Rc,{ref_key:"searchInputRef",ref:a,simple:"",placeholder:p.searchLabel,value:l.value,"onUpdate:value":v[0]||(v[0]=x=>l.value=x),style:we({width:s.value+2+"px"})},null,8,["placeholder","value","style"]),O(Ft,{margin:0})],64)):Qe("",!0),V("div",{class:"options",style:we({width:s.value+2+"px"})},[(U(!0),ee(We,null,nt(u.value,x=>(U(),ee("div",{class:Je(["option",{disabled:x.disabled,selected:x.value===p.value}]),key:x.value,onClick:y=>h(x)},vt(x.label),11,L0e))),128))],4)]),default:oe(()=>[V("div",{class:"select",ref_key:"selectRef",ref:i},[V("div",O0e,vt(c.value),1),V("div",T0e,[sr(p.$slots,"icon",{},()=>[O(m,{size:14})],!0)])],512)]),_:3},8,["value"]))}}}),Hn=Ue(k0e,[["__scopeId","data-v-77e63752"]]),N0e=e=>(zt("data-v-853e5bc2"),e=e(),Jt(),e),P0e={class:"link-dialog"},C0e={key:2,class:"preview"},I0e=N0e(()=>V("div",null,"预览:",-1)),F0e={class:"btns"},_0e=Ee({__name:"LinkDialog",emits:["close"],setup(e,{emit:t}){var p;const n=t,{handleElement:r}=Xe(ft()),{slides:o,currentSlide:i}=Xe(st()),a=ve("web"),s=ve(""),l=ve(""),c=Me(()=>o.value.map((v,m)=>({label:`幻灯片 ${m+1}`,value:v.id,disabled:i.value.id===v.id})));l.value=((p=o.value.find(v=>v.id!==i.value.id))==null?void 0:p.id)||"";const u=Me(()=>l.value&&o.value.find(v=>v.id===l.value)||null),f=[{key:"web",label:"网页链接"},{key:"slide",label:"幻灯片页面"}],{setLink:d}=p_();Qt(()=>{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,m)=>(U(),ee("div",P0e,[O(_a,{tabs:f,value:a.value,"onUpdate:value":m[0]||(m[0]=x=>a.value=x),tabsStyle:{marginBottom:"20px"}},null,8,["value"]),a.value==="web"?(U(),ke(Rc,{key:0,class:"input",value:s.value,"onUpdate:value":m[1]||(m[1]=x=>s.value=x),placeholder:"请输入网页链接地址"},null,8,["value"])):Qe("",!0),a.value==="slide"?(U(),ke(Hn,{key:1,class:"input",value:l.value,"onUpdate:value":m[2]||(m[2]=x=>l.value=x),options:c.value},null,8,["value","options"])):Qe("",!0),a.value==="slide"&&u.value?(U(),ee("div",C0e,[I0e,O(Fa,{class:"thumbnail",slide:u.value,size:500},null,8,["slide"])])):Qe("",!0),V("div",F0e,[O(je,{onClick:m[3]||(m[3]=x=>n("close")),style:{"margin-right":"10px"}},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{type:"primary",onClick:m[4]||(m[4]=x=>h())},{default:oe(()=>[Ve("确认")]),_:1})])]))}}),E0e=Ue(_0e,[["__scopeId","data-v-853e5bc2"]]),X0e=Ee({__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}=$g,r=e,o=ve(),i=t,a=ve(!1),s=Me(()=>({width:r.width+"px",...r.contentStyle||{}}));wt(()=>r.visible,()=>{r.visible&&pr(()=>o.value.focus())});const l=()=>{i("update:visible",!1),i("closed")},c=()=>{r.visible&&r.closeOnEsc&&l()},u=()=>{r.closeOnClickMask&&l()};return(f,d)=>(U(),ke(sx,{to:"body"},[O(Pu,{name:"modal-fade"},{default:oe(()=>[He(V("div",{class:"modal",ref_key:"modalRef",ref:o,tabindex:"-1",onKeyup:d[4]||(d[4]=ll(h=>c(),["esc"]))},[V("div",{class:"mask",onClick:d[0]||(d[0]=h=>u())}),O(Pu,{name:"modal-zoom",onAfterLeave:d[2]||(d[2]=h=>a.value=!1),onBeforeEnter:d[3]||(d[3]=h=>a.value=!0)},{default:oe(()=>[He(V("div",{class:"modal-content",style:we(s.value)},[f.closeButton?(U(),ee("span",{key:0,class:"close-btn",onClick:d[1]||(d[1]=h=>l())},[O(H(n))])):Qe("",!0),a.value?sr(f.$slots,"default",{key:1},void 0,!0):Qe("",!0)],4),[[sl,f.visible]])]),_:3})],544),[[sl,f.visible]])]),_:3})]))}}),n0=Ue(X0e,[["__scopeId","data-v-4d27bcca"]]),W0e={class:"operates"},V0e={key:2,class:"drag-mask"},U0e=Ee({__name:"index",setup(e){const t=ft(),{activeElementIdList:n,activeGroupElementId:r,handleElementId:o,hiddenElementIdList:i,editorAreaFocus:a,gridLineSize:s,showRuler:l,creatingElement:c,creatingCustomShape:u,canvasScale:f,textFormatPainter:d}=Xe(t),{currentSlide:h}=Xe(st()),{ctrlKeyState:p,spaceKeyState:v}=Xe(Ea()),m=ve(),x=ve([]),y=ve(!1),R=()=>y.value=!0;wt(o,()=>{t.setActiveGroupElementId("")});const A=ve([]);Dd(()=>{A.value=h.value?JSON.parse(JSON.stringify(h.value.elements)):[]});const M=ve(),{dragViewport:T,viewportStyles:w}=Xie(M);Vie(M);const{mouseSelection:L,mouseSelectionVisible:k,mouseSelectionQuadrant:E,updateMouseSelection:P}=Wie(A,m),{dragElement:W}=BI(A,x,f),{dragLineElement:N}=Qie(A),{selectElement:_}=Yie(A,W),{scaleElement:C,scaleMultiElement:X}=ZI(A,x,f),{rotateElement:Y}=YI(A,m,f),{moveShapeKeypoint:$}=Zie(A,f),{selectAllElements:le}=n2(),{deleteAllElements:Q}=Fp(),{pasteElement:K}=Ux(),{enterScreeningFromStart:B}=Tc(),{updateSlideIndex:D}=Oc(),{createTextElement:G,createShapeElement:ae}=Ju();Qt(()=>{n.value.length&&pr(()=>t.setActiveElementIdList([]))});const se=re=>{n.value.length&&t.setActiveElementIdList([]),v.value?T(re):P(re),a.value||t.setEditorareaFocus(!0),d.value&&t.setTextFormatPainter(null),Eie()},J=re=>{if(n.value.length||c.value||u.value||!m.value)return;const he=m.value.getBoundingClientRect(),ce=(re.pageX-he.x)/f.value,pe=(re.pageY-he.y)/f.value;G({left:ce,top:pe,width:200/f.value,height:0})};Sn(()=>{d.value&&t.setTextFormatPainter(null)});const Re=()=>{a.value&&t.setEditorareaFocus(!1)},{scaleCanvas:fe}=Qx(),me=On.throttle(fe,100,{leading:!0,trailing:!1}),ue=On.throttle(D,300,{leading:!0,trailing:!1}),z=re=>{re.preventDefault(),p.value?re.deltaY>0?me("-"):re.deltaY<0&&me("+"):re.deltaY>0?ue(gt.DOWN):re.deltaY<0&&ue(gt.UP)},F=()=>{t.setRulerState(!l.value)},{insertElementFromCreateSelection:j,formatCreateSelection:ie}=Bie(m),q=re=>{const{start:he,end:ce,path:pe,viewBox:xe}=re,_e=ie({start:he,end:ce});if(_e){const Ae={};re.fill&&(Ae.fill=re.fill),re.outline&&(Ae.outline=re.outline),ae(_e,{path:pe,viewBox:xe},Ae)}t.setCreatingCustomShapeState(!1)},te=()=>[{text:"粘贴",subText:"Ctrl + V",handler:K},{text:"全选",subText:"Ctrl + A",handler:le},{text:"标尺",subText:l.value?"√":"",handler:F},{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:Q},{divider:!0},{text:"幻灯片放映",subText:"F5",handler:B}];return Ku(ef,f),(re,he)=>{const ce=bn("contextmenu"),pe=bn("click-outside");return He((U(),ee("div",{class:"canvas",ref_key:"canvasRef",ref:M,onWheel:he[4]||(he[4]=xe=>z(xe)),onMousedown:he[5]||(he[5]=xe=>se(xe)),onDblclick:he[6]||(he[6]=xe=>J(xe))},[H(c)?(U(),ke(Gfe,{key:0,onCreated:he[0]||(he[0]=xe=>H(j)(xe))})):Qe("",!0),H(u)?(U(),ke(jfe,{key:1,onCreated:he[1]||(he[1]=xe=>q(xe))})):Qe("",!0),V("div",{class:"viewport-wrapper",style:we({width:H(w).width*H(f)+"px",height:H(w).height*H(f)+"px",left:H(w).left+"px",top:H(w).top+"px"})},[V("div",W0e,[(U(!0),ee(We,null,nt(x.value,(xe,_e)=>(U(),ke(h_,{key:_e,type:xe.type,axis:xe.axis,length:xe.length,canvasScale:H(f)},null,8,["type","axis","length","canvasScale"]))),128)),H(n).length>1?(U(),ke(nde,{key:0,elementList:A.value,scaleMultiElement:H(X)},null,8,["elementList","scaleMultiElement"])):Qe("",!0),(U(!0),ee(We,null,nt(A.value,xe=>He((U(),ke(Vde,{key:xe.id,elementInfo:xe,isSelected:H(n).includes(xe.id),isActive:H(o)===xe.id,isActiveGroupElement:H(r)===xe.id,isMultiSelect:H(n).length>1,rotateElement:H(Y),scaleElement:H(C),openLinkDialog:R,dragLineElement:H(N),moveShapeKeypoint:H($)},null,8,["elementInfo","isSelected","isActive","isActiveGroupElement","isMultiSelect","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])),[[sl,!H(i).includes(xe.id)]])),128)),O(Wfe)]),V("div",{class:"viewport",ref_key:"viewportRef",ref:m,style:we({transform:`scale(${H(f)})`})},[H(k)?(U(),ke(Cfe,{key:0,top:H(L).top,left:H(L).left,width:H(L).width,height:H(L).height,quadrant:H(E)},null,8,["top","left","width","height","quadrant"])):Qe("",!0),(U(!0),ee(We,null,nt(A.value,(xe,_e)=>He((U(),ke(Nfe,{key:xe.id,elementInfo:xe,elementIndex:_e+1,isMultiSelect:H(n).length>1,selectElement:H(_),openLinkDialog:R},null,8,["elementInfo","elementIndex","isMultiSelect","selectElement"])),[[sl,!H(i).includes(xe.id)]])),128))],4)],4),H(v)?(U(),ee("div",V0e)):Qe("",!0),H(l)?(U(),ke(Bfe,{key:3,viewportStyles:H(w),elementList:A.value},null,8,["viewportStyles","elementList"])):Qe("",!0),O(n0,{visible:y.value,"onUpdate:visible":he[3]||(he[3]=xe=>y.value=xe),width:540},{default:oe(()=>[O(E0e,{onClose:he[2]||(he[2]=xe=>y.value=!1)})]),_:1},8,["visible"])],32)),[[ce,te],[pe,Re]])}}}),Y0e=Ue(U0e,[["__scopeId","data-v-904dbab0"]]),Q0e={class:"shape-item-thumbnail"},Z0e={class:"shape-content"},B0e={overflow:"visible",width:"18",height:"18"},D0e=["transform"],K0e=["fill","stroke","d"],H0e=Ee({__name:"ShapeItemThumbnail",props:{shape:{}},setup(e){return(t,n)=>(U(),ee("div",Q0e,[V("div",Z0e,[(U(),ee("svg",B0e,[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:Je(["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,K0e)],8,D0e)]))])]))}}),x_=Ue(H0e,[["__scopeId","data-v-2896ae03"]]),G0e={class:"shape-pool"},z0e={class:"category-name"},J0e={class:"shape-list"},$0e=Ee({__name:"ShapePool",emits:["select"],setup(e,{emit:t}){const n=t,r=o=>{n("select",o)};return(o,i)=>(U(),ee("div",G0e,[(U(!0),ee(We,null,nt(H(Xx),a=>(U(),ee("div",{class:"category",key:a.type},[V("div",z0e,vt(a.type),1),V("div",J0e,[(U(!0),ee(We,null,nt(a.children,(s,l)=>(U(),ke(x_,{class:"shape-item",key:l,shape:s,onClick:c=>r(s)},null,8,["shape","onClick"]))),128))])]))),128))]))}}),j0e=Ue($0e,[["__scopeId","data-v-d87cc3f1"]]),q0e=[{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}]}],ehe={class:"line-pool"},the={class:"category-name"},nhe={class:"line-list"},rhe=["onClick"],ohe={overflow:"visible",width:"20",height:"20"},ihe=["d","stroke-dasharray","marker-start","marker-end"],ahe=Ee({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const n=t,r=o=>{n("select",o)};return(o,i)=>(U(),ee("div",ehe,[(U(!0),ee(We,null,nt(H(q0e),(a,s)=>(U(),ee("div",{class:"category",key:a.type},[V("div",the,vt(a.type),1),V("div",nhe,[(U(!0),ee(We,null,nt(a.children,(l,c)=>(U(),ee("div",{class:"line-item",key:c},[V("div",{class:"line-content",onClick:u=>r(l)},[(U(),ee("svg",ohe,[V("defs",null,[l.points[0]?(U(),ke(Vd,{key:0,class:"line-marker",id:`preset-line-${s}-${c}`,position:"start",type:l.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):Qe("",!0),l.points[1]?(U(),ke(Vd,{key:1,class:"line-marker",id:`preset-line-${s}-${c}`,position:"end",type:l.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):Qe("",!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}-${c}`}-${l.points[0]}-start)`:"","marker-end":l.points[1]?`url(#${`preset-line-${s}-${c}`}-${l.points[1]}-end)`:""},null,8,ihe)]))],8,rhe)]))),128))])]))),128))]))}}),she=Ue(ahe,[["__scopeId","data-v-b07efd40"]]),lhe={class:"chart-pool"},che=["onClick"],uhe=Ee({__name:"ChartPool",emits:["select"],setup(e,{emit:t}){const n=t,r=["bar","horizontalBar","line","area","scatter","pie","ring"],o=i=>{n("select",i)};return(i,a)=>{const s=Se("IconChartLine"),l=Se("IconChartHistogram"),c=Se("IconChartPie"),u=Se("IconChartHistogramOne"),f=Se("IconChartLineArea"),d=Se("IconChartRing"),h=Se("IconChartScatter");return U(),ee("ul",lhe,[(U(),ee(We,null,nt(r,(p,v)=>V("li",{class:"chart-item",key:v},[V("div",{class:"chart-content",onClick:m=>o(p)},[p==="line"?(U(),ke(s,{key:0,size:"24"})):p==="bar"?(U(),ke(l,{key:1,size:"24"})):p==="pie"?(U(),ke(c,{key:2,size:"24"})):p==="horizontalBar"?(U(),ke(u,{key:3,size:"24"})):p==="area"?(U(),ke(f,{key:4,size:"24"})):p==="ring"?(U(),ke(d,{key:5,size:"24"})):p==="scatter"?(U(),ke(h,{key:6,size:"24"})):Qe("",!0)],8,che)])),64))])}}}),fhe=Ue(uhe,[["__scopeId","data-v-a4bc3ce2"]]),S_=e=>(zt("data-v-ba8ef208"),e=e(),Jt(),e),dhe={class:"prefix"},hhe={class:"input-wrap"},phe=["disabled","placeholder"],vhe={class:"handlers"},ghe=S_(()=>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)),mhe=[ghe],Ahe=S_(()=>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)),Rhe=[Ahe],yhe={class:"suffix"},bhe=Ee({__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,o=ve(0),i=ve(!1);wt(()=>n.value,()=>{n.value!==o.value&&(o.value=n.value)},{immediate:!0}),wt(o,()=>{const u=+o.value;if(!isNaN(u)){{if(u>n.max)return;if(u<n.min)return}o.value=u,r("update:value",o.value)}});const a=()=>{let u=+o.value;isNaN(u)?u=n.min:u>n.max?u=n.max:u<n.min&&(u=n.min),o.value=u,r("update:value",o.value)},s=u=>{a(),r("enter",u)},l=u=>{a(),i.value=!1,r("blur",u)},c=u=>{i.value=!0,r("focus",u)};return(u,f)=>(U(),ee("div",{class:Je(["number-input",{disabled:u.disabled,focused:i.value}])},[V("span",dhe,[sr(u.$slots,"prefix",{},void 0,!0)]),V("div",hhe,[He(V("input",{type:"text",disabled:u.disabled,"onUpdate:modelValue":f[0]||(f[0]=d=>o.value=d),placeholder:u.placeholder,onInput:f[1]||(f[1]=d=>r("input",d)),onFocus:f[2]||(f[2]=d=>c(d)),onBlur:f[3]||(f[3]=d=>l(d)),onChange:f[4]||(f[4]=d=>r("change",d)),onKeydown:f[5]||(f[5]=ll(d=>s(d),["enter"]))},null,40,phe),[[zh,o.value]]),V("div",vhe,[V("span",{class:"handler",onClick:f[6]||(f[6]=d=>o.value+=u.step)},mhe),V("span",{class:"handler",onClick:f[7]||(f[7]=d=>o.value-=u.step)},Rhe)])]),V("span",yhe,[sr(u.$slots,"suffix",{},void 0,!0)])],2))}}),ei=Ue(bhe,[["__scopeId","data-v-ba8ef208"]]),M_=e=>(zt("data-v-73ce6b29"),e=e(),Jt(),e),xhe={class:"table-generator"},She={class:"title"},Mhe={class:"lef"},whe=["onMouseenter"],Lhe={key:1,class:"custom"},Ohe={class:"row"},The=M_(()=>V("div",{class:"label",style:{width:"25%"}},"行数:",-1)),khe={class:"row"},Nhe=M_(()=>V("div",{class:"label",style:{width:"25%"}},"列数:",-1)),Phe={class:"btns"},Che=Ee({__name:"TableGenerator",emits:["insert","close"],setup(e,{emit:t}){const n=t,r=ve([]),o=ve(3),i=ve(3),a=ve(!1),s=()=>{if(!r.value.length)return;const[u,f]=r.value;n("insert",{row:u,col:f})},l=()=>{if(o.value<1||o.value>20||i.value<1||i.value>20)return gn.warning("行数/列数必须在0~20之间!");n("insert",{row:o.value,col:i.value}),a.value=!1},c=()=>{n("close"),a.value=!1};return(u,f)=>(U(),ee("div",xhe,[V("div",She,[V("div",Mhe,"表格 "+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(),ee("div",Lhe,[V("div",Ohe,[The,O(ei,{min:1,max:20,value:o.value,"onUpdate:value":f[3]||(f[3]=d=>o.value=d),style:{width:"75%"}},null,8,["value"])]),V("div",khe,[Nhe,O(ei,{min:1,max:20,value:i.value,"onUpdate:value":f[4]||(f[4]=d=>i.value=d),style:{width:"75%"}},null,8,["value"])]),V("div",Phe,[O(je,{class:"btn",onClick:f[5]||(f[5]=d=>c())},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{class:"btn",type:"primary",onClick:f[6]||(f[6]=d=>l())},{default:oe(()=>[Ve("确认")]),_:1})])])):(U(),ee("table",{key:0,onMouseleave:f[1]||(f[1]=d=>r.value=[]),onClick:f[2]||(f[2]=d=>s())},[V("tbody",null,[(U(),ee(We,null,nt(10,d=>V("tr",{key:d},[(U(),ee(We,null,nt(10,h=>V("td",{onMouseenter:p=>r.value=[d,h],key:h},[V("div",{class:Je(["cell",{active:r.value.length&&d<=r.value[0]&&h<=r.value[1]}])},null,2)],40,whe)),64))])),64))])],32))]))}}),Ihe=Ue(Che,[["__scopeId","data-v-73ce6b29"]]),Fhe={class:"media-input"},_he={class:"btns"},Ehe={class:"btns"},Xhe=Ee({__name:"MediaInput",emits:["insertVideo","insertAudio","close"],setup(e,{emit:t}){const n=t,r=ve("video"),o=ve("https://mazwai.com/videvo_files/video/free/2019-01/small_watermarked/181004_04_Dolphins-Whale_06_preview.webm"),i=ve("https://freesound.org/data/previews/614/614107_11861866-lq.mp3"),a=[{key:"video",label:"视频"},{key:"audio",label:"音频"}],s=()=>{if(!o.value)return gn.error("请先输入正确的视频地址");n("insertVideo",o.value)},l=()=>{if(!i.value)return gn.error("请先输入正确的音频地址");n("insertAudio",i.value)};return(c,u)=>(U(),ee("div",Fhe,[O(_a,{tabs:a,value:r.value,"onUpdate:value":u[0]||(u[0]=f=>r.value=f),tabsStyle:{marginBottom:"15px"}},null,8,["value"]),r.value==="video"?(U(),ee(We,{key:0},[O(Rc,{value:o.value,"onUpdate:value":u[1]||(u[1]=f=>o.value=f),placeholder:"请输入视频地址,e.g. https://xxx.mp4"},null,8,["value"]),V("div",_he,[O(je,{onClick:u[2]||(u[2]=f=>n("close")),style:{"margin-right":"10px"}},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{type:"primary",onClick:u[3]||(u[3]=f=>s())},{default:oe(()=>[Ve("确认")]),_:1})])],64)):Qe("",!0),r.value==="audio"?(U(),ee(We,{key:1},[O(Rc,{value:i.value,"onUpdate:value":u[4]||(u[4]=f=>i.value=f),placeholder:"请输入音频地址,e.g. https://xxx.mp3"},null,8,["value"]),V("div",Ehe,[O(je,{onClick:u[5]||(u[5]=f=>n("close")),style:{"margin-right":"10px"}},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{type:"primary",onClick:u[6]||(u[6]=f=>l())},{default:oe(()=>[Ve("确认")]),_:1})])],64)):Qe("",!0)]))}}),Whe=Ue(Xhe,[["__scopeId","data-v-999b18ca"]]);var kv=82;function ed(e){return Ab[e]==null&&Vhe(e),Ab[e]}function Vhe(e){var t=Uhe[e];if(t!=null){for(var n=t.substring(3,5),r=1*n.charCodeAt(0)-kv,o=1*n.charCodeAt(1)-kv,i=t.substring(5),a=[[]],s=1/0,l=-1/0,c=1/0,u=-1/0,f=0;f<i.length;){var d=i.substring(f,f+2);if(d==" R")a.push([]);else{var h=d.charCodeAt(0)-kv-r,p=d.charCodeAt(1)-kv;s=Math.min(p,s),l=Math.max(p,l),c=Math.min(h,c),u=Math.max(h,u),a[a.length-1].push([h,p])}f+=2}Ab[e]={w:o-r,xmin:c,xmax:u,ymin:s,ymax:l,polylines:a}}}var Ab={},Uhe={1:" 9MWRMNV RRMVV RPSTS",2:" 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",3:" 11MXVNTMRMPNOPOSPURVTVVU",4:" 12MWOMOV ROMRMTNUPUSTURVOV",5:" 12MWOMOV ROMUM ROQSQ ROVUV",6:" 9MVOMOV ROMUM ROQSQ",7:" 15MXVNTMRMPNOPOSPURVTVVUVR RSRVR",8:" 9MWOMOV RUMUV ROQUQ",9:" 3PTRMRV",10:" 7NUSMSTRVPVOTOS",11:" 9MWOMOV RUMOS RQQUV",12:" 6MVOMOV ROVUV",13:" 12LXNMNV RNMRV RVMRV RVMVV",14:" 9MWOMOV ROMUV RUMUV",15:" 14MXRMPNOPOSPURVSVUUVSVPUNSMRM",16:" 10MWOMOV ROMSMUNUQSROR",17:" 17MXRMPNOPOSPURVSVUUVSVPUNSMRM RSTVW",18:" 13MWOMOV ROMSMUNUQSROR RRRUV",19:" 13MWUNSMQMONOOPPTRUSUUSVQVOU",20:" 6MWRMRV RNMVM",21:" 9MXOMOSPURVSVUUVSVM",22:" 6MWNMRV RVMRV",23:" 12LXNMPV RRMPV RRMTV RVMTV",24:" 6MWOMUV RUMOV",25:" 7MWNMRQRV RVMRQ",26:" 9MWUMOV ROMUM ROVUV",27:" 9MWRMNV RRMVV RPSTS",28:" 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",29:" 6MVOMOV ROMUM",30:" 9MWRMNV RRMVV RNVVV",31:" 12MWOMOV ROMUM ROQSQ ROVUV",32:" 9MWUMOV ROMUM ROVUV",33:" 9MWOMOV RUMUV ROQUQ",34:" 20MXRMPNOPOSPURVSVUUVSVPUNSMRM RQQTR RTQQR",35:" 3PTRMRV",36:" 9MWOMOV RUMOS RQQUV",37:" 6MWRMNV RRMVV",38:" 12LXNMNV RNMRV RVMRV RVMVV",39:" 9MWOMOV ROMUV RUMUV",40:" 12MWOMUM RPQTR RTQPR ROVUV",41:" 14MXRMPNOPOSPURVSVUUVSVPUNSMRM",42:" 9MWOMOV RUMUV ROMUM",43:" 10MWOMOV ROMSMUNUQSROR",44:" 10MWOMRQOV ROMUM ROVUV",45:" 6MWRMRV RNMVM",46:" 15MWNONNOMPMQNRPRV RVOVNUMTMSNRP",47:" 13LXRMRV RPONPNSPTTTVSVPTOPO",48:" 6MWOMUV RUMOV",49:" 12LXRMRV RNOOPOSQTSTUSUPVO",50:" 13MXOVQVOROPPNRMSMUNVPVRTVVV",200:" 12MWRMPNOPOSPURVTUUSUPTNRM",201:" 4MWPORMRV",202:" 9MWONQMSMUNUPTROVUV",203:" 15MWONQMSMUNUPSQ RRQSQURUUSVQVOU",204:" 7MWSMSV RSMNSVS",205:" 14MWPMOQQPRPTQUSTURVQVOU RPMTM",206:" 14MWTMRMPNOPOSPURVTUUSTQRPPQOS",207:" 6MWUMQV ROMUM",208:" 19MWQMONOPQQSQUPUNSMQM RQQOROUQVSVUUURSQ",209:" 14MWUPTRRSPROPPNRMTNUPUSTURVPV",210:" 6PURURVSVSURU",211:" 7PUSVRVRUSUSWRY",212:" 12PURPRQSQSPRP RRURVSVSURU",213:" 13PURPRQSQSPRP RSVRVRUSUSWRY",214:" 12PURMRR RSMSR RRURVSVSURU",215:" 17NWPNRMSMUNUPRQRRSRSQUP RRURVSVSURU",216:" 3PTRMRQ",217:" 6NVPMPQ RTMTQ",218:" 10NVQMPNPPQQSQTPTNSMQM",219:" 16MWUNSMQMONOPQQTRUSUUSVQVOU RRLRW",220:" 3MWVLNW",221:" 7OVTLRNQPQSRUTW",222:" 7NUPLRNSPSSRUPW",223:" 3PTRLRW",224:" 3LXNRVR",225:" 6LXRNRV RNRVR",226:" 6LXNPVP RNTVT",227:" 6MWOOUU RUOOU",228:" 9MWRORU ROPUT RUPOT",229:" 6PURQRRSRSQRQ",230:" 7PUSMRORQSQSPRP",231:" 7PUSNRNRMSMSORQ",232:" 7LXSOVRSU RNRVR",233:" 12MXRLPW RULSW ROPVP ROSVS",234:" 21LXVRURTSSURVOVNUNSORRQSPSNRMPMONOPQSSUUVVV",235:" 20LXNNOQOSNV RVNUQUSVV RNNQOSOVN RNVQUSUVV",501:" 9I[RFJ[ RRFZ[ RMTWT",502:" 24G\\KFK[ RKFTFWGXHYJYLXNWOTP RKPTPWQXRYTYWXYWZT[K[",503:" 19H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZV",504:" 16G\\KFK[ RKFRFUGWIXKYNYSXVWXUZR[K[",505:" 12H[LFL[ RLFYF RLPTP RL[Y[",506:" 9HZLFL[ RLFYF RLPTP",507:" 23H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZVZS RUSZS",508:" 9G]KFK[ RYFY[ RKPYP",509:" 3NVRFR[",510:" 11JZVFVVUYTZR[P[NZMYLVLT",511:" 9G\\KFK[ RYFKT RPOY[",512:" 6HYLFL[ RL[X[",513:" 12F^JFJ[ RJFR[ RZFR[ RZFZ[",514:" 9G]KFK[ RKFY[ RYFY[",515:" 22G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF",516:" 14G\\KFK[ RKFTFWGXHYJYMXOWPTQKQ",517:" 25G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RSWY]",518:" 17G\\KFK[ RKFTFWGXHYJYLXNWOTPKP RRPY[",519:" 21H\\YIWGTFPFMGKIKKLMMNOOUQWRXSYUYXWZT[P[MZKX",520:" 6JZRFR[ RKFYF",521:" 11G]KFKULXNZQ[S[VZXXYUYF",522:" 6I[JFR[ RZFR[",523:" 12F^HFM[ RRFM[ RRFW[ R\\FW[",524:" 6H\\KFY[ RYFK[",525:" 7I[JFRPR[ RZFRP",526:" 9H\\YFK[ RKFYF RK[Y[",527:" 9I[RFJ[ RRFZ[ RMTWT",528:" 24G\\KFK[ RKFTFWGXHYJYLXNWOTP RKPTPWQXRYTYWXYWZT[K[",529:" 6HYLFL[ RLFXF",530:" 9I[RFJ[ RRFZ[ RJ[Z[",531:" 12H[LFL[ RLFYF RLPTP RL[Y[",532:" 9H\\YFK[ RKFYF RK[Y[",533:" 9G]KFK[ RYFY[ RKPYP",534:" 25G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF ROPUP",535:" 3NVRFR[",536:" 9G\\KFK[ RYFKT RPOY[",537:" 6I[RFJ[ RRFZ[",538:" 12F^JFJ[ RJFR[ RZFR[ RZFZ[",539:" 9G]KFK[ RKFY[ RYFY[",540:" 9I[KFYF ROPUP RK[Y[",541:" 22G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF",542:" 9G]KFK[ RYFY[ RKFYF",543:" 14G\\KFK[ RKFTFWGXHYJYMXOWPTQKQ",544:" 10I[KFRPK[ RKFYF RK[Y[",545:" 6JZRFR[ RKFYF",546:" 19I[KKKILGMFOFPGQIRMR[ RYKYIXGWFUFTGSIRM",547:" 21H\\RFR[ RPKMLLMKOKRLTMUPVTVWUXTYRYOXMWLTKPK",548:" 6H\\KFY[ RK[YF",549:" 18G]RFR[ RILJLKMLQMSNTQUSUVTWSXQYMZL[L",550:" 17H\\K[O[LTKPKLLINGQFSFVGXIYLYPXTU[Y[",551:" 20G[G[IZLWOSSLVFV[UXSUQSNQLQKRKTLVNXQZT[Y[",552:" 41F]SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFXFZG[I[KZMYNWOTP RSPTPWQXRYTYWXYWZU[R[PZOX",553:" 24H\\TLTMUNWNYMZKZIYGWFTFQGOIMLLNKRKVLYMZO[Q[TZVXWV",554:" 35G^TFRGQIPMOSNVMXKZI[G[FZFXGWIWKXMZP[S[VZXXZT[O[KZHYGWFTFRHRJSMUPWRZT\\U",555:" 28H\\VJVKWLYLZKZIYGVFRFOGNINLONPOSPPPMQLRKTKWLYMZP[S[VZXXYV",556:" 28H\\RLPLNKMINGQFTFXG[G]F RXGVNTTRXPZN[L[JZIXIVJULUNV RQPZP",557:" 29G^G[IZMVPQQNRJRGQFPFOGNINLONQOUOXNYMZKZQYVXXVZS[O[LZJXIVIT",558:" 38F^MMKLJJJIKGMFNFPGQIQKPONULYJ[H[GZGX RMRVOXN[L]J^H^G]F\\FZHXLVRUWUZV[W[YZZY\\V",559:" 25IZWVUTSQROQLQIRGSFUFVGWIWLVQTVSXQZO[M[KZJXJVKUMUOV",560:" 25JYT^R[PVOPOJPGRFTFUGVJVMURR[PaOdNfLgKfKdLaN^P\\SZWX",561:" 39F^MMKLJJJIKGMFNFPGQIQKPONULYJ[H[GZGX R^I^G]F\\FZGXIVLTNROPO RROSQSXTZU[V[XZYY[V",562:" 29I\\MRORSQVOXMYKYHXFVFUGTISNRSQVPXNZL[J[IZIXJWLWNXQZT[V[YZ[X",563:" 45@aEMCLBJBICGEFFFHGIIIKHPGTE[ RGTJLLHMGOFPFRGSISKRPQTO[ RQTTLVHWGYFZF\\G]I]K\\PZWZZ[[\\[^Z_YaV",564:" 32E]JMHLGJGIHGJFKFMGNINKMPLTJ[ RLTOLQHRGTFVFXGYIYKXPVWVZW[X[ZZ[Y]V",565:" 29H]TFQGOIMLLNKRKVLYMZO[Q[TZVXXUYSZOZKYHXGVFTFRHRKSNUQWSZU\\V",566:" 31F_SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFZF\\G]H^J^M]O\\PZQWQUPTO",567:" 32H^ULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWSSWPYNZK[I[HZHXIWKWMXPZS[V[YZ[X",568:" 38F_SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFYF[G\\H]J]M\\O[PYQVQSPTQUSUXVZX[ZZ[Y]V",569:" 28H\\H[JZLXOTQQSMTJTGSFRFQGPIPKQMSOVQXSYUYWXYWZT[P[MZKXJVJT",570:" 25H[RLPLNKMINGQFTFXG[G]F RXGVNTTRXPZN[L[JZIXIVJULUNV",571:" 33E]JMHLGJGIHGJFKFMGNINKMOLRKVKXLZN[P[RZSYUUXMZF RXMWQVWVZW[X[ZZ[Y]V",572:" 32F]KMILHJHIIGKFLFNGOIOKNOMRLVLYM[O[QZTWVTXPYMZIZGYFXFWGVIVKWNYP[Q",573:" 25C_HMFLEJEIFGHFIFKGLILLK[ RUFK[ RUFS[ RaF_G\\JYNVTS[",574:" 36F^NLLLKKKILGNFPFRGSISLQUQXRZT[V[XZYXYVXUVU R]I]G\\FZFXGVITLPUNXLZJ[H[GZGX",575:" 38F]KMILHJHIIGKFLFNGOIOKNOMRLVLXMZN[P[RZTXVUWSYM R[FYMVWT]RbPfNgMfMdNaP^S[VY[V",576:" 40H]ULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWTTWPZN[K[JZJXKWNWPXQYR[R^QaPcNfLgKfKdLaN^Q[TYZV",583:" 9I[JFR[ RZFR[ RJFZF",601:" 18I\\XMX[ RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",602:" 18H[LFL[ RLPNNPMSMUNWPXSXUWXUZS[P[NZLX",603:" 15I[XPVNTMQMONMPLSLUMXOZQ[T[VZXX",604:" 18I\\XFX[ RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",605:" 18I[LSXSXQWOVNTMQMONMPLSLUMXOZQ[T[VZXX",606:" 9MYWFUFSGRJR[ ROMVM",607:" 23I\\XMX]W`VaTbQbOa RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",608:" 11I\\MFM[ RMQPNRMUMWNXQX[",609:" 9NVQFRGSFREQF RRMR[",610:" 12MWRFSGTFSERF RSMS^RaPbNb",611:" 9IZMFM[ RWMMW RQSX[",612:" 3NVRFR[",613:" 19CaGMG[ RGQJNLMOMQNRQR[ RRQUNWMZM\\N]Q][",614:" 11I\\MMM[ RMQPNRMUMWNXQX[",615:" 18I\\QMONMPLSLUMXOZQ[T[VZXXYUYSXPVNTMQM",616:" 18H[LMLb RLPNNPMSMUNWPXSXUWXUZS[P[NZLX",617:" 18I\\XMXb RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",618:" 9KXOMO[ ROSPPRNTMWM",619:" 18J[XPWNTMQMNNMPNRPSUTWUXWXXWZT[Q[NZMX",620:" 9MYRFRWSZU[W[ ROMVM",621:" 11I\\MMMWNZP[S[UZXW RXMX[",622:" 6JZLMR[ RXMR[",623:" 12G]JMN[ RRMN[ RRMV[ RZMV[",624:" 6J[MMX[ RXMM[",625:" 10JZLMR[ RXMR[P_NaLbKb",626:" 9J[XMM[ RMMXM RM[X[",627:" 24H]QMONMPLRKUKXLZN[P[RZUWWTYPZM RQMSMTNUPWXXZY[Z[",628:" 31I\\UFSGQIOMNPMTLZKb RUFWFYHYKXMWNUORO RROTPVRWTWWVYUZS[Q[OZNYMV",629:" 17I\\JPLNNMOMQNROSRSVR[ RZMYPXRR[P_Ob",630:" 24I[TMQMONMPLSLVMYNZP[R[TZVXWUWRVOTMRKQIQGRFTFVGXI",631:" 19JZWOVNTMQMONOPPRSS RSSOTMVMXNZP[S[UZWX",632:" 23JYTFRGQHQIRJUKXK RXKTMQONRMUMWNYP[S]T_TaSbQbP`",633:" 19H\\IQJOLMNMONOPNTL[ RNTPPRNTMVMXOXRWWTb",634:" 27G\\HQIOKMMMNNNPMUMXNZO[Q[SZUWVUWRXMXJWGUFSFRHRJSMUPWRZT",635:" 9LWRMPTOXOZP[R[TYUW",636:" 19I[OMK[ RYNXMWMUNQROSNS RNSPTQUSZT[U[VZ",637:" 9JZKFMFOGPHX[ RRML[",638:" 21H]OMIb RNQMVMYO[Q[SZUXWT RYMWTVXVZW[Y[[Y\\W",639:" 14I[LMOMNSMXL[ RYMXPWRUURXOZL[",640:" 29JZTFRGQHQIRJUKXK RUKRLPMOOOQQSTTVT RTTPUNVMXMZO\\S^T_TaRbPb",641:" 18J[RMPNNPMSMVNYOZQ[S[UZWXXUXRWOVNTMRM",642:" 13G]PML[ RUMVSWXX[ RIPKNNM[M",643:" 19I[MSMVNYOZQ[S[UZWXXUXRWOVNTMRMPNNPMSIb",644:" 18I][MQMONMPLSLVMYNZP[R[TZVXWUWRVOUNSM",645:" 8H\\SMP[ RJPLNOMZM",646:" 16H\\IQJOLMNMONOPMVMYO[Q[TZVXXTYPYM",647:" 21G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb",648:" 14I[KMMMOOU`WbYb RZMYOWRM]K`Jb",649:" 20F]VFNb RGQHOJMLMMNMPLULXMZO[Q[TZVXXUZP[M",650:" 23F]NMLNJQITIWJZK[M[OZQW RRSQWRZS[U[WZYWZTZQYNXM",651:" 22L\\UUTSRRPRNSMTLVLXMZO[Q[SZTXVRUWUZV[W[YZZY\\V",652:" 23M[MVOSRNSLTITGSFQGPIOMNTNZO[P[RZTXUUURVVWWYW[V",653:" 14MXTTTSSRQROSNTMVMXNZP[S[VYXV",654:" 24L\\UUTSRRPRNSMTLVLXMZO[Q[SZTXZF RVRUWUZV[W[YZZY\\V",655:" 17NXOYQXRWSUSSRRQROSNUNXOZQ[S[UZVYXV",656:" 24OWOVSQUNVLWIWGVFTGSIQQNZKaJdJfKgMfNcOZP[R[TZUYWV",657:" 28L[UUTSRRPRNSMTLVLXMZO[Q[SZTY RVRTYPdOfMgLfLdMaP^S\\U[XY[V",658:" 29M\\MVOSRNSLTITGSFQGPIOMNSM[ RM[NXOVQSSRURVSVUUXUZV[W[YZZY\\V",659:" 16PWSMSNTNTMSM RPVRRPXPZQ[R[TZUYWV",660:" 20PWSMSNTNTMSM RPVRRLdKfIgHfHdIaL^O\\Q[TYWV",661:" 33M[MVOSRNSLTITGSFQGPIOMNSM[ RM[NXOVQSSRURVSVUTVQV RQVSWTZU[V[XZYY[V",662:" 18OWOVQSTNULVIVGUFSGRIQMPTPZQ[R[TZUYWV",663:" 33E^EVGSIRJSJTIXH[ RIXJVLSNRPRQSQTPXO[ RPXQVSSURWRXSXUWXWZX[Y[[Z\\Y^V",664:" 23J\\JVLSNROSOTNXM[ RNXOVQSSRURVSVUUXUZV[W[YZZY\\V",665:" 23LZRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXWXYWZV",666:" 24KZKVMSNQMUGg RMUNSPRRRTSUUUWTYSZQ[ RMZO[R[UZWYZV",667:" 27L[UUTSRRPRNSMTLVLXMZO[Q[SZ RVRUUSZPaOdOfPgRfScS\\U[XY[V",668:" 15MZMVOSPQPSSSTTTVSYSZT[U[WZXYZV",669:" 16NYNVPSQQQSSVTXTZR[ RNZP[T[VZWYYV",670:" 16OXOVQSSO RVFPXPZQ[S[UZVYXV RPNWN",671:" 19L[LVNRLXLZM[O[QZSXUU RVRTXTZU[V[XZYY[V",672:" 17L[LVNRMWMZN[O[RZTXUUUR RURVVWWYW[V",673:" 25I^LRJTIWIYJ[L[NZPX RRRPXPZQ[S[UZWXXUXR RXRYVZW\\W^V",674:" 20JZJVLSNRPRQSQZR[U[XYZV RWSVRTRSSOZN[L[KZ",675:" 23L[LVNRLXLZM[O[QZSXUU RVRPdOfMgLfLdMaP^S\\U[XY[V",676:" 23LZLVNSPRRRTTTVSXQZN[P\\Q^QaPdOfMgLfLdMaP^S\\WYZV",677:" 22J\\K[NZQXSVUSWOXKXIWGUFSGRHQJPOPTQXRZT[V[XZYY",683:" 26I[WUWRVOUNSMQMONMPLSLVMYNZP[R[TZVXWUXPXKWHVGTFRFPGNI",684:" 16JZWNUMRMPNNPMSMVNYOZQ[T[VZ RMTUT",685:" 23J[TFRGPJOLNOMTMXNZO[Q[SZUWVUWRXMXIWGVFTF RNPWP",686:" 21H\\VFNb RQMNNLPKSKVLXNZQ[S[VZXXYUYRXPVNSMQM",687:" 16I[XOWNTMQMNNMOLQLSMUOWSZT\\T^S_Q_",700:" 18H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF",701:" 5H\\NJPISFS[",702:" 15H\\LKLJMHNGPFTFVGWHXJXLWNUQK[Y[",703:" 16H\\MFXFRNUNWOXPYSYUXXVZS[P[MZLYKW",704:" 7H\\UFKTZT RUFU[",705:" 18H\\WFMFLOMNPMSMVNXPYSYUXXVZS[P[MZLYKW",706:" 24H\\XIWGTFRFOGMJLOLTMXOZR[S[VZXXYUYTXQVOSNRNOOMQLT",707:" 6H\\YFO[ RKFYF",708:" 30H\\PFMGLILKMMONSOVPXRYTYWXYWZT[P[MZLYKWKTLRNPQOUNWMXKXIWGTFPF",709:" 24H\\XMWPURRSQSNRLPKMKLLINGQFRFUGWIXMXRWWUZR[P[MZLX",710:" 6MWRYQZR[SZRY",711:" 9MWSZR[QZRYSZS\\R^Q_",712:" 12MWRMQNROSNRM RRYQZR[SZRY",713:" 15MWRMQNROSNRM RSZR[QZRYSZS\\R^Q_",714:" 9MWRFRT RRYQZR[SZRY",715:" 21I[LKLJMHNGPFTFVGWHXJXLWNVORQRT RRYQZR[SZRY",716:" 3NVRFRM",717:" 6JZNFNM RVFVM",718:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",719:" 27H\\PBP_ RTBT_ RYIWGTFPFMGKIKKLMMNOOUQWRXSYUYXWZT[P[MZKX",720:" 3G][BIb",721:" 11KYVBTDRGPKOPOTPYR]T`Vb",722:" 11KYNBPDRGTKUPUTTYR]P`Nb",723:" 3NVRBRb",724:" 3E_IR[R",725:" 6E_RIR[ RIR[R",726:" 6E_IO[O RIU[U",727:" 6G]KKYY RYKKY",728:" 9JZRLRX RMOWU RWOMU",729:" 6MWRQQRRSSRRQ",730:" 8MWSFRGQIQKRLSKRJ",731:" 8MWRHQGRFSGSIRKQL",732:" 9E_UMXP[RXTUW RIR[R",733:" 12H]SBLb RYBRb RLOZO RKUYU",734:" 35E_\\O\\N[MZMYNXPVUTXRZP[L[JZIYHWHUISJRQNRMSKSIRGPFNGMIMKNNPQUXWZY[[[\\Z\\Y",735:" 28G]IIJKKOKUJYI[ R[IZKYOYUZY[[ RIIKJOKUKYJ[I RI[KZOYUYYZ[[",737:" 6KYOBO[ RUBU[",738:" 6F^RBR[ RI[[[",739:" 4F^[BI[[[",740:" 18E_RIQJRKSJRI RIYHZI[JZIY R[YZZ[[\\Z[Y",741:" 33F^RHNLKPJSJUKWMXOXQWRU RRHVLYPZSZUYWWXUXSWRU RRUQYP\\ RRUSYT\\ RP\\T\\",742:" 26F^RNQKPINHMHKIJKJOKRLTNWR\\ RRNSKTIVHWHYIZKZOYRXTVWR\\",743:" 20F^RGPJLOIR RRGTJXO[R RIRLUPZR] R[RXUTZR]",744:" 48F^RTTWVXXXZW[U[SZQXPVPSQ RSQUOVMVKUISHQHOINKNMOOQQ RQQNPLPJQISIUJWLXNXPWRT RRTQYP\\ RRTSYT\\ RP\\T\\",745:" 55F^RRR[Q\\ RRVQ\\ RRIQHOHNINKONRR RRISHUHVIVKUNRR RRRNOLNJNIOIQJR RRRVOXNZN[O[QZR RRRNULVJVIUISJR RRRVUXVZV[U[SZR",746:" 55F^ISJSLTMVMXLZ RISIRJQLQMRNTNWMYLZ RRGPIOLOOQUQXPZR\\ RRGTIULUOSUSXTZR\\ R[S[RZQXQWRVTVWWYXZ R[SZSXTWVWXXZ RKVYV",750:" 18PSSRRSQSPRPQQPRPSQSSRUQV RQQQRRRRQQQ",751:" 16PTQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",752:" 9NVPOTU RTOPU RNRVR",753:" 28MWRKQMOPMR RRKSMUPWR RRMOQ RRMUQ RROPQ RROTQ RQQSQ RMRWR",754:" 26MWMRMQNOONQMSMUNVOWQWR RPNTN ROOUO RNPVP RNQVQ RMRWR",755:" 14LRLFLRRRLF RLIPQ RLLOR RLOMQ",756:" 10MWRKQMOPMR RRKSMUPWR",757:" 11MWWRWQVOUNSMQMONNOMQMR",758:" 13G]]R]P\\MZJWHTGPGMHJJHMGPGR",759:" 11MWMRMSNUOVQWSWUVVUWSWR",760:" 7LXLPNRQSSSVRXP",761:" 6RURUTTURTPRO",762:" 7RVRRUPVNVLUKTK",763:" 7NRRROPNNNLOKPK",764:" 21MWWHVGTFQFOGNHMJMLNNOOUSVTWVWXVZU[S\\P\\N[MZ",765:" 21G]IWHVGTGQHOINKMMMONPOTUUVWWYW[V\\U]S]P\\N[M",766:" 31G]RRTUUVWWYW[V\\U]S]Q\\O[NYMWMUNTOPUOVMWKWIVHUGSGQHOINKMMMONPORR",767:" 22H\\KFK[ RHF[FQP[Z RZV[Y\\[ RZVZY RWYZY RWYZZ\\[",768:" 30KYUARBPCNELHKLKRLUNWQXSXVWXUYR RKPLMNKQJSJVKXMYPYVXZV]T_R`Oa",796:" 3>f>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:" 34<hP<K=G?DAAD?G=K<P<T=Y?]A`DcGeKgPhThYg]e`cc`e]gYhThPgKeGcD`A]?Y=T<P<",907:" 50){O)I*E+@-;073370;-@+E*I)O)U*[+_-d0i3m7q;t@wEyIzO{U{[z_ydwitmqqmtiwdy_z[{U{OzIyEw@t;q7m3i0d-_+[*U)O)",908:" 34>fRAPCMDJDGCEA>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<P@OFNNNVO^PdQhSnUs",2404:" 28I[L+O1R8T=UAVFWNWVV^UcTgRlOsLy RO1Q6S<T@UFVNVVU^TdShQnOs",2405:" 14I[M+MRMy RN+NRNy RM+X+ RMyXy",2406:" 14I[V+VRVy RW+WRWy RL+W+ RLyWy",2407:" 48I[V+S-Q/P1O4O8P<TDUGUJTMRP RS-Q0P4P8Q;UCVGVJUMRPNRRTUWVZV]UaQiPlPpQtSw RRTTWUZU]T`PhOlOpPsQuSwVy",2408:" 48I[N+Q-S/T1U4U8T<PDOGOJPMRP RQ-S0T4T8S;OCNGNJOMRPVRRTOWNZN]OaSiTlTpStQw RRTPWOZO]P`ThUlUpTsSuQwNy",2409:" 32I[V.S1Q4O8N=NCOIPMSXT\\UbUgTlSoQs RS1Q5P8O=OBPHQLTWU[VaVgUlSpQsNv",2410:" 32I[N.Q1S4U8V=VCUITMQXP\\ObOgPlQoSs RQ1S5T8U=UBTHSLPWO[NaNgOlQpSsVv",2411:' 147Z:RARRo R@RQo R?RRr RZ"VJRr',2412:" 57Ca].\\.[/[0\\1]1^0^.],[+Y+W,U.T0S3R:QJQjPsOv R\\/\\0]0]/\\/ RR:Rj RU.T1S:SZRjQqPtOvMxKyIyGxFvFtGsHsItIuHvGv RGtGuHuHtGt",2501:" 20H\\RFJ[ RRIK[J[ RRIY[Z[ RRFZ[ RMUWU RLVXV",2502:" 44H\\LFL[ RMGMZ RLFTFWGXHYJYMXOWPTQ RMGTGWHXJXMWOTP RMPTPWQXRYTYWXYWZT[L[ RMQTQWRXTXWWYTZMZ",2503:" 38H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZV RZKYKXIWHUGQGOHMKLNLSMVOYQZUZWYXXYVZV",2504:" 32H]LFL[ RMGMZ RLFSFVGXIYKZNZSYVXXVZS[L[ RMGSGVHWIXKYNYSXVWXVYSZMZ",2505:" 27I\\MFM[ RNGNZ RMFYF RNGYGYF RNPTPTQ RNQTQ RNZYZY[ RM[Y[",2506:" 21I[MFM[ RNGN[M[ RMFYF RNGYGYF RNPTPTQ RNQTQ",2507:" 44H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZVZRUR RZKYKXIWHUGQGOHNIMKLNLSMVNXOYQZUZWYXXYVYSUSUR",2508:" 22G]KFK[ RKFLFL[K[ RYFXFX[Y[ RYFY[ RLPXP RLQXQ",2509:" 8NWRFR[S[ RRFSFS[",2510:" 20J[VFVVUYSZQZOYNVMV RVFWFWVVYUZS[Q[OZNYMV",2511:" 22H]LFL[M[ RLFMFM[ RZFYFMR RZFMS RPOY[Z[ RQOZ[",2512:" 14IZMFM[ RMFNFNZ RNZYZY[ RM[Y[",2513:" 26F^JFJ[ RKKK[J[ RKKR[ RJFRX RZFRX RYKR[ RYKY[Z[ RZFZ[",2514:" 20G]KFK[ RLIL[K[ RLIY[ RKFXX RXFXX RXFYFY[",2515:" 40G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RQGNHLKKNKSLVNYQZSZVYXVYSYNXKVHSGQG",2516:" 27H\\LFL[ RMGM[L[ RLFUFWGXHYJYMXOWPUQMQ RMGUGWHXJXMWOUPMP",2517:" 48G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RQGNHLKKNKSLVNYQZSZVYXVYSYNXKVHSGQG RSXX]Y] RSXTXY]",2518:" 34H\\LFL[ RMGM[L[ RLFTFWGXHYJYMXOWPTQMQ RMGTGWHXJXMWOTPMP RRQX[Y[ RSQY[",2519:" 43H\\YIWGTFPFMGKIKKLMMNOOTQVRWSXUXXWYTZPZNYMXKX RYIWIVHTGPGMHLILKMMONTPVQXSYUYXWZT[P[MZKX",2520:" 15J[RGR[ RSGS[R[ RLFYFYG RLFLGYG",2521:" 24G]KFKULXNZQ[S[VZXXYUYF RKFLFLUMXNYQZSZVYWXXUXFYF",2522:" 14H\\JFR[ RJFKFRX RZFYFRX RZFR[",2523:" 26E_GFM[ RGFHFMX RRFMX RRIM[ RRIW[ RRFWX R]F\\FWX R]FW[",2524:" 16H\\KFX[Y[ RKFLFY[ RYFXFK[ RYFL[K[",2525:" 17I\\KFRPR[S[ RKFLFSP RZFYFRP RZFSPS[",2526:" 20H\\XFK[ RYFL[ RKFYF RKFKGXG RLZYZY[ RK[Y[",2551:" 38E\\XFVHTKQPOSLWIZG[E[DZDXEWFXEY RXFWJUTT[ RXFU[ RT[TYSVRTPRNQLQKRKTLWOZR[V[XZ",2552:" 70F^UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFXFZG[I[KZMXNTORO RXFYGZIZKYMXN RTOWPXQYSYVXYWZU[S[RZRXSU RTOVPWQXSXVWYU[",2553:" 41H]KHJJJLKNNOQOUNWMYKZIZGYFWFTGQJOMMQLULXMZP[R[UZWXXVXTWRURSSRU RWFUGRJPMNQMUMXNZP[",2554:" 43F]UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWJWLXNZP[S[UZWXYTZOZLYIWGUFPFMGKIJKJMKNMNNMOK",2555:" 49I\\WIVJVLWMYMZKZIYGWFTFRGQHPJPLQNSO RTFRHQJQMSO RSOQONPLRKTKWLYMZO[R[UZWXXVXTWRURSSRU RQOOPMRLTLXMZ",2556:" 46G\\WHVJTORUQWOZM[ RQLPNNOLOKMKKLINGQF[FXGWHVKTSSVRXPZM[K[IZHYHXIWJXIY RSFWGXG ROSPRRQVQXPZMXT",2557:" 53G]JIIKIMJOLPOPROTNWKXHXGWFVFTGRIQKPNPQQSSTUTWSYQZO RWFUGSIRKQNQRST RZOYSWWUYSZO[L[JZIXIWJVKWJX RYSWVUXRZO[",2558:" 55F^LLKKKILGOFRFOQMWLYKZI[G[FZFXGWHXGY RRFOONRLWKYI[ RJTKSMRVOXN[L]J^H^G]F\\FZGXJWLURTVTYV[W[YZ[X R\\FZHXLVRUVUYV[",2559:" 33IYWHUKSPQUPWNZL[ RYLWNTOQOONNLNJOHQGUFYFWHVJTPRVQXOZL[J[IZIXJWKXJY",2560:" 34IZYFWHUKSPPYN] RYMWOTPQPOONMNKOIQGUFYFWIVKSTQXPZN]M^K_J^J\\KZMXOWRVVU",2561:" 59F^LLKKKIMGPFRFOQMWLYKZI[G[FZFXGWHXGY RRFOONRLWKYI[ RZGWKUMSNPO R]G\\H]I^H^G]F\\FZGWLVMTNPO RPOSPTRUYV[ RPORPSRTYV[W[YZ[X",2562:" 40I[MILKLMMOOPRPUOWNZK[H[GZFYFWGVHTKPUOWMZK[ RVHTLRSQVPXNZK[I[HZHXIWKWMXPZR[U[WZYX",2563:" 49D`RFNOKUIXGZE[C[BZBXCWDXCY RRFPMOQNVNZP[ RRFQJPOOVOZP[ R[FWORXP[ R[FYMXQWVWZY[Z[\\Z^X R[FZJYOXVXZY[",2564:" 38G^RFQJOPMULWJZH[F[EZEXFWGXFY RRFRKSVT[ RRFSKTVT[ R`G_H`IaHaG`F^F\\GZJYLWQUWT[",2565:" 34H]SFQGOIMLLNKRKVLYMZO[Q[TZVXXUYSZOZKYHXGWGUHSJQNPSPV RQGOJMNLRLVMYO[",2566:" 53F]UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFVFYGZH[J[MZOYPVQTQRP RVFXGYHZJZMYOXPVQ",2567:" 43H]UJULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWSSWPYNZK[I[HZHXIWKWMXPZS[V[XZZX RWFXGYIYMXPVSSVOYK[",2568:" 65F^UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFWFZG[I[KZMYNVORO RWFYGZIZKYMXNVO RROUPVRWYX[ RROTPURVYX[Y[[Z]X",2569:" 36H\\NIMKMMNOPPSPVOXN[K\\H\\G[FZFXGWHVJUMSTRWPZN[ RVJUNTUSXQZN[K[IZHXHWIVJWIX",2570:" 38I[YHXJVOTUSWQZO[ RSLRNPONOMMMKNIPGSF\\FZGYHXKVSUVTXRZO[M[KZJYJXKWLXKY RUFYGZG",2571:" 39G]HJJGLFMFOHOKNNKVKYL[ RMFNHNKKSJVJYL[N[PZSWUTVR RZFVRUVUYW[X[ZZ\\X R[FWRVVVYW[",2572:" 36G\\HJJGLFMFOHOKNOLVLYM[ RMFNHNKLRKVKYM[N[QZTWVTXPYMZIZGYFXFWGVIVLWNYP[Q]Q",2573:" 41F]ILHLGKGIHGJFNFMHLLKUJ[ RLLLUK[ RVFTHRLOUMYK[ RVFUHTLSUR[ RTLTUS[ R`F^G\\IZLWUUYS[",2574:" 52H\\PKOLMLLKLIMGOFQFSGTITLSPQUOXMZJ[H[GZGXHWIXHY RQFRGSISLRPPUNXLZJ[ R]G\\H]I^H^G]F[FYGWIULSPRURXSZT[U[WZYX",2575:" 42G]JJLGNFOFQGQIOOORPT ROFPGPINONRPTRTUSWQYNZL R\\FZLWTUX R]F[LYQWUUXSZP[L[JZIXIWJVKWJX",2576:" 44G\\ZHYJWOVRUTSWQYOZL[ RSLRNPONOMMMKNIPGSF]F[GZHYKXOVUTXQZL[H[GZGXHWJWLXOZQ[T[WZYX RVFZG[G",2601:" 36H\\WMW[X[ RWMXMX[ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2602:" 36H\\LFL[M[ RLFMFM[ RMPONQMTMVNXPYSYUXXVZT[Q[OZMX RMPQNTNVOWPXSXUWXVYTZQZMX",2603:" 32I[XPVNTMQMONMPLSLUMXOZQ[T[VZXX RXPWQVOTNQNOONPMSMUNXOYQZTZVYWWXX",2604:" 36H\\WFW[X[ RWFXFX[ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2605:" 36I[MTXTXQWOVNTMQMONMPLSLUMXOZQ[T[VZXX RMSWSWQVOTNQNOONPMSMUNXOYQZTZVYWWXX",2606:" 24LZWFUFSGRJR[S[ RWFWGUGSH RTGSJS[ ROMVMVN ROMONVN",2607:" 48H\\XMWMW\\V_U`SaQaO`N_L_ RXMX\\W_UaSbPbNaL_ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2608:" 25H\\LFL[M[ RLFMFM[ RMQPNRMUMWNXQX[ RMQPORNTNVOWQW[X[",2609:" 24NWRFQGQHRISITHTGSFRF RRGRHSHSGRG RRMR[S[ RRMSMS[",2610:" 24NWRFQGQHRISITHTGSFRF RRGRHSHSGRG RRMRbSb RRMSMSb",2611:" 22H[LFL[M[ RLFMFM[ RXMWMMW RXMMX RPTV[X[ RQSX[",2612:" 8NWRFR[S[ RRFSFS[",2613:" 42CbGMG[H[ RGMHMH[ RHQKNMMPMRNSQS[ RHQKOMNONQORQR[S[ RSQVNXM[M]N^Q^[ RSQVOXNZN\\O]Q][^[",2614:" 25H\\LML[M[ RLMMMM[ RMQPNRMUMWNXQX[ RMQPORNTNVOWQW[X[",2615:" 36I\\QMONMPLSLUMXOZQ[T[VZXXYUYSXPVNTMQM RQNOONPMSMUNXOYQZTZVYWXXUXSWPVOTNQN",2616:" 36H\\LMLbMb RLMMMMb RMPONQMTMVNXPYSYUXXVZT[Q[OZMX RMPQNTNVOWPXSXUWXVYTZQZMX",2617:" 36H\\WMWbXb RWMXMXb RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2618:" 21KYOMO[P[ ROMPMP[ RPSQPSNUMXM RPSQQSOUNXNXM",2619:" 50J[XPWNTMQMNNMPNRPSUUWV RVUWWWXVZ RWYTZQZNY ROZNXMX RXPWPVN RWOTNQNNO RONNPOR RNQPRUTWUXWXXWZT[Q[NZMX",2620:" 16MXRFR[S[ RRFSFS[ ROMVMVN ROMONVN",2621:" 25H\\LMLWMZO[R[TZWW RLMMMMWNYPZRZTYWW RWMW[X[ RWMXMX[",2622:" 14JZLMR[ RLMMMRY RXMWMRY RXMR[",2623:" 26F^IMN[ RIMJMNX RRMNX RRPN[ RRPV[ RRMVX R[MZMVX R[MV[",2624:" 16I[LMW[X[ RLMMMX[ RXMWML[ RXMM[L[",2625:" 17JZLMR[ RLMMMRY RXMWMRYNb RXMR[ObNb",2626:" 20I[VNL[ RXMNZ RLMXM RLMLNVN RNZXZX[ RL[X[",2651:" 33K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RVRTXTZV[XZYY[V RWRUXUZV[",2652:" 23LZLVNSPO RSFMXMZO[P[RZTXUUURVVWWXWZV RTFNXNZO[",2653:" 22LXTSSTTTTSSRQROSNTMVMXNZP[S[VYXV RQROTNVNYP[",2654:" 33K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RZFTXTZV[XZYY[V R[FUXUZV[",2655:" 23LXOYQXRWSUSSRRQROSNTMVMXNZP[S[VYXV RQROTNVNYP[",2656:" 27OXRRUOWLXIXGWFUGTIKdKfLgNfOcPZQ[S[UZVYXV RTISNRRO[M`Kd",2657:" 38K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RVRPd RWRT[R`PdOfMgLfLdMaO_R]V[YY[V",2658:" 30L[LVNSPO RSFL[ RTFM[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2659:" 19NVSLRMSNTMSL RQROXOZQ[SZTYVV RRRPXPZQ[",2660:" 24NVSLRMSNTMSL RQRKd RRRO[M`KdJfHgGfGdHaJ_M]Q[TYVV",2661:" 31LZLVNSPO RSFL[ RTFM[ RURUSVSURTRRTOU ROURVSZT[ ROUQVRZT[U[XYZV",2662:" 17NVNVPSRO RUFOXOZQ[SZTYVV RVFPXPZQ[",2663:" 45E^EVGSIRKSKUI[ RIRJSJUH[ RKUMSORPRRSRUP[ RPRQSQUO[ RRUTSVRWRYSYUXXXZY[ RWRXSXUWXWZY[[Z\\Y^V",2664:" 32I[IVKSMROSOUM[ RMRNSNUL[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2665:" 29KYRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXVXXWYV RPRNTMVMYO[",2666:" 30L[LVNSPO RQLHg RRLIg ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2667:" 35K[UUTSRRPRNSMTLVLXMZO[Q[SZ RPRNTMVMYO[ RVRPdPfQgSfTcT[V[YY[V RWRT[R`Pd",2668:" 24LZLVNSPRRSRUP[ RPRQSQUO[ RRUTSVRWRVU RVRVUWWXWZV",2669:" 22NZNVPSQQQSTUUWUYTZR[ RQSSUTWTYR[ RNZP[U[XYZV",2670:" 20NVNVPSRO RUFOXOZQ[SZTYVV RVFPXPZQ[ RPNVN",2671:" 27K[NRLXLZN[O[QZSXUU RORMXMZN[ RVRTXTZV[XZYY[V RWRUXUZV[",2672:" 23KZNRMTLWLZN[O[RZTXUUUR RORNTMWMZN[ RURVVWWXWZV",2673:" 36H]LRJTIWIZK[L[NZPX RMRKTJWJZK[ RRRPXPZR[S[UZWXXUXR RSRQXQZR[ RXRYVZW[W]V",2674:" 42JZJVLSNRPRQSQUPXOZM[L[KZKYLYKZ RWSVTWTWSVRURSSRUQXQZR[U[XYZV RQSRU RSSQU RPXQZ RQXOZ",2675:" 32K[NRLXLZN[O[QZSXUU RORMXMZN[ RVRPd RWRT[R`PdOfMgLfLdMaO_R]V[YY[V",2676:" 38LYLVNSPRRRTSTVSXPZN[ RRRSSSVRXPZ RN[P\\Q^QaPdNfLgKfKdLaO^R\\VYYV RN[O\\P^PaOdNf",2700:" 42H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF ROGMJLOLRMWOZ RNYQZSZVY RUZWWXRXOWJUG RVHSGQGNH",2701:" 12H\\NJPISFS[ RNJNKPJRHR[S[",2702:" 34H\\LKLJMHNGPFTFVGWHXJXLWNUQL[ RLKMKMJNHPGTGVHWJWLVNTQK[ RLZYZY[ RK[Y[",2703:" 48H\\MFXFQO RMFMGWG RWFPO RQNSNVOXQYTYUXXVZS[P[MZLYKWLW RPOSOVPXS RTOWQXTXUWXTZ RXVVYSZPZMYLW ROZLX",2704:" 18H\\UIU[V[ RVFV[ RVFKVZV RUILV RLUZUZV",2705:" 53H\\MFLO RNGMN RMFWFWG RNGWG RMNPMSMVNXPYSYUXXVZS[P[MZLYKWLW RLOMOONSNVOXR RTNWPXSXUWXTZ RXVVYSZPZMYLW ROZLX",2706:" 62H\\VGWIXIWGTFRFOGMJLOLTMXOZR[S[VZXXYUYTXQVOSNRNOOMQ RWHTGRGOH RPGNJMOMTNXQZ RMVOYRZSZVYXV RTZWXXUXTWQTO RXSVPSOROOPMS RQONQMT",2707:" 12H\\KFYFO[ RKFKGXG RXFN[O[",2708:" 68H\\PFMGLILKMMNNPOTPVQWRXTXWWYTZPZMYLWLTMRNQPPTOVNWMXKXIWGTFPF RNGMIMKNMPNTOVPXRYTYWXYWZT[P[MZLYKWKTLRNPPOTNVMWKWIVG RWHTGPGMH RLXOZ RUZXX",2709:" 62H\\WPURRSQSNRLPKMKLLINGQFRFUGWIXMXRWWUZR[P[MZLXMXNZ RWMVPSR RWNUQRRQRNQLN RPRMPLMLLMIPG RLKNHQGRGUHWK RSGVIWMWRVWTZ RUYRZPZMY",2710:" 16MXRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2711:" 24MXTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",2712:" 32MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2713:" 40MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",2714:" 24MXRFRTST RRFSFST RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2715:" 58I\\LKLJMHNGQFTFWGXHYJYLXNWOUPRQ RLKMKMJNHQGTGWHXJXLWNUORP RMIPG RUGXI RXMTP RRPRTSTSP RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2716:" 24MXTFRGQIQLRMSMTLTKSJRJQK RRKRLSLSKRK RRGQK RQIRJ",2717:" 24MXTHSIRIQHQGRFSFTGTJSLQM RRGRHSHSGRG RSITJ RTHSL",2718:" 71F_\\MZMXNWPUVTXSYQZMZKYJWJUKSLRQOSMTKTISGQFPFNGMIMKNNPQUWXZZ[\\[ R\\M\\NZNXO RYNXPVVUXSZQ[M[KZJYIWIUJSLQQNRMSKSIRG RSHQGPGNH ROGNINKONQQVWXYZZ\\Z\\[",2719:" 51I\\RBR_S_ RRBSBS_ RWIYIWGTFQFNGLILKMMNNVRWSXUXWWYTZQZOYNX RWIVHTGQGNHMIMKNMVQXSYUYWXYWZT[Q[NZLXNX RXXUZ",2720:" 8G^[BIbJb R[B\\BJb",2721:" 24KYUBSDQGOKNPNTOYQ]S`UbVb RUBVBTDRGPKOPOTPYR]T`Vb",2722:" 24KYNBPDRGTKUPUTTYR]P`NbOb RNBOBQDSGUKVPVTUYS]Q`Ob",2723:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",2724:" 8F_JQ[Q[R RJQJR[R",2725:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",2726:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",2727:" 11NWSFRGRM RSGRM RSFTGRM",2728:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",2729:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",2750:" 42H]TFQGOIMLLOKSKVLYMZO[Q[TZVXXUYRZNZKYHXGVFTF RTFRGPINLMOLSLVMYO[ RQ[SZUXWUXRYNYKXHVF",2751:" 15H]TJO[ RVFP[ RVFSIPKNL RUIQKNL",2752:" 42H]OJPKOLNKNJOHPGSFVFYGZIZKYMWOTQPSMUKWI[ RVFXGYIYKXMVOPS RJYKXMXRZUZWYXW RMXR[U[WZXW",2753:" 50H]OJPKOLNKNJOHPGSFVFYGZIZKYMVOSP RVFXGYIYKXMVO RQPSPVQWRXTXWWYVZS[O[LZKYJWJVKULVKW RSPUQVRWTWWVYUZS[",2754:" 10H]XGR[ RYFS[ RYFJUZU",2755:" 39H]QFLP RQF[F RQGVG[F RLPMOPNSNVOWPXRXUWXUZR[O[LZKYJWJVKULVKW RSNUOVPWRWUVXTZR[",2756:" 46H]YIXJYKZJZIYGWFTFQGOIMLLOKSKWLYMZO[R[UZWXXVXSWQVPTOQOOPMRLT RTFRGPINLMOLSLXMZ RR[TZVXWVWRVP",2757:" 30H]NFLL R[FZIXLSRQUPWO[ RXLRRPUOWN[ RMIPFRFWI RNHPGRGWIYIZH[F",2758:" 63H]SFPGOHNJNMOOQPTPXOYNZLZIYGVFSF RSFQGPHOJOMPOQP RTPWOXNYLYIXGVF RQPMQKSJUJXKZN[R[VZWYXWXTWRVQTP RQPNQLSKUKXLZN[ RR[UZVYWWWSVQ",2759:" 46H]YMXOVQTRQROQNPMNMKNIPGSFVFXGYHZJZNYRXUVXTZQ[N[LZKXKWLVMWLX ROQNONKOIQGSF RXGYIYNXRWUUXSZQ[",2760:" 6MXPYOZP[QZPY",2761:" 8MXP[OZPYQZQ[P]N_",2762:" 11MXSMRNSOTNSM RPYOZP[QZ",2763:" 14MXSMRNSOTNSM RP[OZPYQZQ[P]N_",2764:" 17MXUFTGRS RUGRS RUFVGRS RPYOZP[QZPY",2765:" 34H]OJPKOLNKNJOHPGSFWFZG[I[KZMYNSPQQQSRTTT RWFYGZIZKYMXNVO RPYOZP[QZPY",2766:" 8MXVFTHSJSKTLUKTJ",2767:" 8MXUHTGUFVGVHUJSL",2768:" 55E_\\N[O\\P]O]N\\M[MYNWPRXPZN[K[HZGXGVHTISKRPPROTMUKUITGRFPGOIOLPRQUSXUZW[Y[ZYZX RK[IZHXHVITJSPP ROLPQQTSWUYWZYZZY",2769:" 41H]TBL_ RYBQ_ RZJYKZL[K[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJVKULVKW",2770:" 3G]_BEb",2771:" 20KZZBVESHQKOONTNXO]P`Qb RVESIQMPPOUOZP_Qb",2772:" 20JYSBTDUGVLVPUUSYQ\\N_Jb RSBTEUJUOTTSWQ[N_",2773:" 9J[TFTR ROIYO RYIOO",2774:" 3E_IR[R",2775:" 6E_RIR[ RIR[R",2776:" 6E_IO[O RIU[U",2777:" 6NWUFSM RVFSM",2778:" 12I[PFNM RQFNM RYFWM RZFWM",2779:" 14KZSFQGPIPKQMSNUNWMXKXIWGUFSF",2801:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2802:" 31G]LFL[ RMFM[ RIFYFYLXF RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2803:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2804:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2805:" 31F^NFNLMTLXKZJ[ RXFX[ RYFY[ RKF\\F RG[\\[ RG[Gb RH[Gb R[[\\b R\\[\\b",2806:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2807:" 71CbRFR[ RSFS[ ROFVF RGGHHGIFHFGGFHFIGJIKMLONPWPYOZM[I\\G]F^F_G_H^I]H^G RNPLQKSJXIZH[ RNPMQLSKXJZI[G[FZEX RWPYQZS[X\\Z][ RWPXQYSZX[Z\\[^[_Z`X RO[V[",2808:" 45H\\LIKFKLLINGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[O[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2809:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RXHLY RH[O[ RU[\\[",2810:" 37F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RXHLY RH[O[ RU[\\[ RN@N?M?M@NBPCTCVBW@",2811:" 43F^KFK[ RLFL[ RHFOF RLPSPUOVMWIXGYFZF[G[HZIYHZG RSPUQVSWXXZY[ RSPTQUSVXWZX[Z[[Z\\X RH[O[",2812:" 25E^MFMLLTKXJZI[H[GZGYHXIYHZ RXFX[ RYFY[ RJF\\F RU[\\[",2813:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2814:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2815:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2816:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2817:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2818:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2819:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2820:" 24H]KFRV RLFSV RZFSVQYPZN[M[LZLYMXNYMZ RIFOF RVF\\F",2821:" 48F_RFR[ RSFS[ ROFVF RPILJJLIOIRJULWPXUXYW[U\\R\\O[LYJUIPI RPIMJKLJOJRKUMWPX RUXXWZU[R[OZLXJUI RO[V[",2822:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2823:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RH[\\[ R[[\\b R\\[\\b",2824:" 28F]KFKQLSOTRTUSWQ RLFLQMSOT RWFW[ RXFX[ RHFOF RTF[F RT[[[",2825:" 30BcGFG[ RHFH[ RRFR[ RSFS[ R]F][ R^F^[ RDFKF ROFVF RZFaF RD[a[",2826:" 36BcGFG[ RHFH[ RRFR[ RSFS[ R]F][ R^F^[ RDFKF ROFVF RZFaF RD[a[ R`[ab Ra[ab",2827:" 31F`PFP[ RQFQ[ RIFHLHFTF RQPXP[Q\\R]T]W\\Y[ZX[M[ RXPZQ[R\\T\\W[YZZX[",2828:" 41CaHFH[ RIFI[ REFLF RIPPPSQTRUTUWTYSZP[E[ RPPRQSRTTTWSYRZP[ R[F[[ R\\F\\[ RXF_F RX[_[",2829:" 29H]MFM[ RNFN[ RJFQF RNPUPXQYRZTZWYYXZU[J[ RUPWQXRYTYWXYWZU[",2830:" 39H]LIKFKLLINGQFSFVGXIYKZNZSYVXXVZS[P[MZLYKWKVLUMVLW RSFUGWIXKYNYSXVWXUZS[ RPPYP",2831:" 59CbHFH[ RIFI[ REFLF RE[L[ RVFSGQIPKOOORPVQXSZV[X[[Z]X^V_R_O^K]I[GXFVF RVFTGRIQKPOPRQVRXTZV[ RX[ZZ\\X]V^R^O]K\\IZGXF RIPOP",2832:" 45G]WFW[ RXFX[ R[FOFLGKHJJJLKNLOOPWP ROFMGLHKJKLLNMOOP RRPPQORLYKZJZIY RPQOSMZL[J[IYIX RT[[[",2901:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2902:" 48H\\XFWGQINKLNKQKULXNZQ[S[VZXXYUYSXPVNSMQMNNLPKS RXFWHUIQJNLLN RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2903:" 37H\\MMM[ RNMN[ RJMUMXNYPYQXSUT RUMWNXPXQWSUT RNTUTXUYWYXXZU[J[ RUTWUXWXXWZU[",2904:" 14HZMMM[ RNMN[ RJMXMXRWM RJ[Q[",2905:" 22F]NMNQMWLZK[ RWMW[ RXMX[ RKM[M RI[H`H[[[[`Z[",2906:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2907:" 59E`RMR[ RSMS[ ROMVM RJNIOHNIMJMKNMRNSPTUTWSXRZN[M\\M]N\\O[N RPTNUMVKZJ[ RPTNVLZK[I[HZGX RUTWUXVZZ[[ RUTWVYZZ[\\[]Z^X RO[V[",2908:" 42I[MOLMLQMONNPMTMWNXPXQWSTT RTMVNWPWQVSTT RQTTTWUXWXXWZT[P[MZLXLWMVNWMX RTTVUWWWXVZT[",2909:" 27G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[P[ RT[[[ RWNMZ",2910:" 37G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[P[ RT[[[ RWNMZ ROGOFNFNGOIQJSJUIVG",2911:" 38H\\MMM[ RNMN[ RJMQM RNTPTSSTRVNWMXMYNXOWN RPTSUTVVZW[ RPTRUSVUZV[X[YZZX RJ[Q[",2912:" 22G]NMNQMWLZK[J[IZJYKZ RWMW[ RXMX[ RKM[M RT[[[",2913:" 30G^LML[ RLMR[ RMMRY RXMR[ RXMX[ RYMY[ RIMMM RXM\\M RI[O[ RU[\\[",2914:" 27G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RMTWT RI[P[ RT[[[",2915:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2916:" 21G]LML[ RMMM[ RWMW[ RXMX[ RIM[M RI[P[ RT[[[",2917:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2918:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2919:" 16I\\RMR[ RSMS[ RMMLRLMYMYRXM RO[V[",2920:" 22I[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2921:" 52H]RFRb RSFSb ROFSF RRPQNPMNMLNKQKWLZN[P[QZRX RNMMNLQLWMZN[ RWMXNYQYWXZW[ RSPTNUMWMYNZQZWYZW[U[TZSX RObVb",2922:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2923:" 23G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[[[[`Z[",2924:" 28G]LMLTMVPWRWUVWT RMMMTNVPW RWMW[ RXMX[ RIMPM RTM[M RT[[[",2925:" 30CbHMH[ RIMI[ RRMR[ RSMS[ R\\M\\[ R]M][ REMLM ROMVM RYM`M RE[`[",2926:" 32CbHMH[ RIMI[ RRMR[ RSMS[ R\\M\\[ R]M][ REMLM ROMVM RYM`M RE[`[``_[",2927:" 27H]QMQ[ RRMR[ RLMKRKMUM RRTVTYUZWZXYZV[N[ RVTXUYWYXXZV[",2928:" 37E_JMJ[ RKMK[ RGMNM RKTOTRUSWSXRZO[G[ ROTQURWRXQZO[ RYMY[ RZMZ[ RVM]M RV[][",2929:" 25J[OMO[ RPMP[ RLMSM RPTTTWUXWXXWZT[L[ RTTVUWWWXVZT[",2930:" 34I\\MOLMLQMONNPMSMVNXPYSYUXXVZS[P[NZLXLWMVNWMX RSMUNWPXSXUWXUZS[ RRTXT",2931:" 51DaIMI[ RJMJ[ RFMMM RF[M[ RVMSNQPPSPUQXSZV[X[[Z]X^U^S]P[NXMVM RVMTNRPQSQURXTZV[ RX[ZZ\\X]U]S\\PZNXM RJTPT",2932:" 40G\\VMV[ RWMW[ RZMOMLNKPKQLSOTVT ROMMNLPLQMSOT RTTQUPVNZM[ RTTRUQVOZN[L[KZJX RS[Z[",3001:" 36H\\RFKZ RQIW[ RRIX[ RRFY[ RMUVU RI[O[ RT[[[ RKZJ[ RKZM[ RWZU[ RWYV[ RXYZ[",3002:" 78G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZLYNXOUP RXHYJYLXN RUFWGXIXMWOUP RNPUPXQYRZTZWYYXZU[I[ RXRYTYWXY RUPWQXSXXWZU[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3003:" 37G\\XIYFYLXIVGTFQFNGLIKKJNJSKVLXNZQ[T[VZXXYV RMILKKNKSLVMX RQFOGMJLNLSMWOZQ[",3004:" 62G]LFL[ RMGMZ RNFN[ RIFSFVGXIYKZNZSYVXXVZS[I[ RWIXKYNYSXVWX RSFUGWJXNXSWWUZS[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3005:" 83G\\LFL[ RMGMZ RNFN[ RIFYFYL RNPTP RTLTT RI[Y[YU RJFLG RKFLH ROFNH RPFNG RTFYG RVFYH RWFYI RXFYL RTLSPTT RTNRPTR RTOPPTQ RLZJ[ RLYK[ RNYO[ RNZP[ RT[YZ RV[YY RW[YX RX[YU",3006:" 70G[LFL[ RMGMZ RNFN[ RIFYFYL RNPTP RTLTT RI[Q[ RJFLG RKFLH ROFNH RPFNG RTFYG RVFYH RWFYI RXFYL RTLSPTT RTNRPTR RTOPPTQ RLZJ[ RLYK[ RNYO[ RNZP[",3007:" 60G^XIYFYLXIVGTFQFNGLIKKJNJSKVLXNZQ[T[VZXZY[YS RMILKKNKSLVMX RQFOGMJLNLSMWOZQ[ RXTXY RWSWYVZ RTS\\S RUSWT RVSWU RZSYU R[SYT",3008:" 81F^KFK[ RLGLZ RMFM[ RWFW[ RXGXZ RYFY[ RHFPF RTF\\F RMPWP RH[P[ RT[\\[ RIFKG RJFKH RNFMH ROFMG RUFWG RVFWH RZFYH R[FYG RKZI[ RKYJ[ RMYN[ RMZO[ RWZU[ RWYV[ RYYZ[ RYZ[[",3009:" 39LXQFQ[ RRGRZ RSFS[ RNFVF RN[V[ ROFQG RPFQH RTFSH RUFSG RQZO[ RQYP[ RSYT[ RSZU[",3010:" 45JYSFSWRZQ[ RTGTWSZ RUFUWTZQ[O[MZLXLVMUNUOVOWNXMX RMVMWNWNVMV RPFXF RQFSG RRFSH RVFUH RWFUG",3011:" 69F\\KFK[ RLGLZ RMFM[ RXGMR RPPW[ RQPX[ RQNY[ RHFPF RUF[F RH[P[ RT[[[ RIFKG RJFKH RNFMH ROFMG RWFXG RZFXG RKZI[ RKYJ[ RMYN[ RMZO[ RWYU[ RWYZ[",3012:" 52I[NFN[ ROGOZ RPFP[ RKFSF RK[Z[ZU RLFNG RMFNH RQFPH RRFPG RNZL[ RNYM[ RPYQ[ RPZR[ RU[ZZ RW[ZY RX[ZX RY[ZU",3013:" 63E_JFJZ RJFQ[ RKFQX RLFRX RXFQ[ RXFX[ RYGYZ RZFZ[ RGFLF RXF]F RG[M[ RU[][ RHFJG R[FZH R\\FZG RJZH[ RJZL[ RXZV[ RXYW[ RZY[[ RZZ\\[",3014:" 39F^KFKZ RKFY[ RLFXX RMFYX RYGY[ RHFMF RVF\\F RH[N[ RIFKG RWFYG R[FYG RKZI[ RKZM[",3015:" 54G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RMILKKNKSLVMX RWXXVYSYNXKWI RQFOGMJLNLSMWOZQ[ RS[UZWWXSXNWJUGSF",3016:" 59G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZMYOXPUQNQ RXHYJYMXO RUFWGXIXNWPUQ RI[Q[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3017:" 77G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RMILKKNKSLVMX RWXXVYSYNXKWI RQFOGMJLNLSMWOZQ[ RS[UZWWXSXNWJUGSF RNXOVQURUTVUXV^W`Y`Z^Z\\ RV\\W^X_Y_ RUXW]X^Y^Z]",3018:" 80G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZLYNXOUPNP RXHYJYLXN RUFWGXIXMWOUP RRPTQUSWYX[Z[[Y[W RWWXYYZZZ RTQURXXYYZY[X RI[Q[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3019:" 44H\\XIYFYLXIVGSFPFMGKIKLLNOPURWSXUXXWZ RLLMNOOUQWRXT RMGLILKMMONUPXRYTYWXYWZT[Q[NZLXKUK[LX",3020:" 57H\\JFJL RQFQ[ RRGRZ RSFS[ RZFZL RJFZF RN[V[ RKFJL RLFJI RMFJH ROFJG RUFZG RWFZH RXFZI RYFZL RQZO[ RQYP[ RSYT[ RSZU[",3021:" 45F^KFKULXNZQ[S[VZXXYUYG RLGLVMX RMFMVNYOZQ[ RHFPF RVF\\F RIFKG RJFKH RNFMH ROFMG RWFYG R[FYG",3022:" 34H\\KFR[ RLFRXR[ RMFSX RYGR[ RIFPF RUF[F RJFLH RNFMH ROFMG RWFYG RZFYG",3023:" 55F^JFN[ RKFNVN[ RLFOV RRFOVN[ RRFV[ RSFVVV[ RTFWV RZGWVV[ RGFOF RRFTF RWF]F RHFKG RIFKH RMFLH RNFLG RXFZG R\\FZG",3024:" 54H\\KFW[ RLFX[ RMFY[ RXGLZ RIFPF RUF[F RI[O[ RT[[[ RJFMH RNFMH ROFMG RVFXG RZFXG RLZJ[ RLZN[ RWZU[ RWYV[ RWYZ[",3025:" 48G]JFQQQ[ RKFRQRZ RLFSQS[ RYGSQ RHFOF RVF\\F RN[V[ RIFKG RNFLG RWFYG R[FYG RQZO[ RQYP[ RSYT[ RSZU[",3026:" 41H\\YFKFKL RWFK[ RXFL[ RYFM[ RK[Y[YU RLFKL RMFKI RNFKH RPFKG RT[YZ RV[YY RW[YX RX[YU",3051:" 38H\\UFIZ RSJT[ RTHUZ RUFUHVYV[ RLUTU RF[L[ RQ[X[ RIZG[ RIZK[ RTZR[ RTYS[ RVYW[",3052:" 78F^OFI[ RPFJ[ RQFK[ RLFWFZG[I[KZNYOVP RYGZIZKYNXO RWFXGYIYKXNVP RNPVPXQYSYUXXVZR[F[ RWQXSXUWXUZ RVPWRWUVXTZR[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3053:" 41H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RQHOJNLMOLSLWMY RTFRGPJOLNOMSMXNZP[",3054:" 63F]OFI[ RPFJ[ RQFK[ RLFUFXGYHZKZOYSWWUYSZO[F[ RWGXHYKYOXSVWTY RUFWHXKXOWSUWRZO[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3055:" 80F]OFI[ RPFJ[ RQFK[ RULST RLF[FZL RNPTP RF[U[WV RMFPG RNFOH RRFPH RSFPG RWFZG RXFZH RYFZI RZFZL RULSPST RTNRPSR RTOQPSQ RJZG[ RJYH[ RKYL[ RJZM[ RP[UZ RR[UY RUYWV",3056:" 70F\\OFI[ RPFJ[ RQFK[ RULST RLF[FZL RNPTP RF[N[ RMFPG RNFOH RRFPH RSFPG RWFZG RXFZH RYFZI RZFZL RULSPST RTNRPSR RTOQPSQ RJZG[ RJYH[ RKYL[ RJZM[",3057:" 65H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RQHOJNLMOLSLWMY RVXWWXT RTFRGPJOLNOMSMXNZP[ RR[TZVWWT RTT\\T RUTWU RVTWW RZTXV R[TXU",3058:" 81E_NFH[ ROFI[ RPFJ[ RZFT[ R[FU[ R\\FV[ RKFSF RWF_F RLPXP RE[M[ RQ[Y[ RLFOG RMFNH RQFOH RRFOG RXF[G RYFZH R]F[H R^F[G RIZF[ RIYG[ RJYK[ RIZL[ RUZR[ RUYS[ RVYW[ RUZX[",3059:" 39KYTFN[ RUFO[ RVFP[ RQFYF RK[S[ RRFUG RSFTH RWFUH RXFUG ROZL[ ROYM[ RPYQ[ ROZR[",3060:" 47I\\WFRWQYO[ RXFTSSVRX RYFUSSXQZO[M[KZJXJVKULUMVMWLXKX RKVKWLWLVKV RTF\\F RUFXG RVFWH RZFXH R[FXG",3061:" 72F]OFI[ RPFJ[ RQFK[ R\\GMR RQOU[ RROV[ RSNWZ RLFTF RYF_F RF[N[ RR[Y[ RMFPG RNFOH RRFPH RSFPG RZF\\G R^F\\G RJZG[ RJYH[ RKYL[ RJZM[ RUZS[ RUYT[ RVYX[",3062:" 49H\\QFK[ RRFL[ RSFM[ RNFVF RH[W[YU ROFRG RPFQH RTFRH RUFRG RLZI[ RLYJ[ RMYN[ RLZO[ RR[WZ RT[XX RV[YU",3063:" 68D`MFGZ RMGNYN[ RNFOY ROFPX R[FPXN[ R[FU[ R\\FV[ R]FW[ RJFOF R[F`F RD[J[ RR[Z[ RKFMG RLFMH R^F\\H R_F\\G RGZE[ RGZI[ RVZS[ RVYT[ RWYX[ RVZY[",3064:" 43F_OFIZ ROFV[ RPFVX RQFWX R\\GWXV[ RLFQF RYF_F RF[L[ RMFPG RNFPH RZF\\G R^F\\G RIZG[ RIZK[",3065:" 56G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF ROIMLLOKSKWLY RUXWUXRYNYJXH RSFQGOJNLMOLSLXMZN[ RQ[SZUWVUWRXNXIWGVF",3066:" 60F]OFI[ RPFJ[ RQFK[ RLFXF[G\\I\\K[NYPUQMQ RZG[I[KZNXP RXFYGZIZKYNWPUQ RF[N[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3067:" 78G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF ROIMLLOKSKWLY RUXWUXRYNYJXH RSFQGOJNLMOLSLXMZN[ RQ[SZUWVUWRXNXIWGVF RLXMVOUPURVSXT]U^V^W] RT^U_V_ RSXS_T`V`W]W\\",3068:" 78F^OFI[ RPFJ[ RQFK[ RLFWFZG[I[KZNYOVPNP RYGZIZKYNXO RWFXGYIYKXNVP RRPTQURWXXYYYZX RWYXZYZ RURVZW[Y[ZXZW RF[N[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3069:" 44G^ZH[H\\F[L[JZHYGVFRFOGMIMLNNPPVSWUWXVZ RNLONVRWT ROGNINKOMUPWRXTXWWYVZS[O[LZKYJWJUI[JYKY",3070:" 54G]TFN[ RUFO[ RVFP[ RMFKL R]F\\L RMF]F RK[S[ RNFKL RPFLI RRFMG RYF\\G RZF\\H R[F\\I R\\F\\L ROZL[ ROYM[ RPYQ[ ROZR[",3071:" 48F_NFKQJUJXKZN[R[UZWXXU\\G ROFLQKUKYLZ RPFMQLULYN[ RKFSF RYF_F RLFOG RMFNH RQFOH RRFOG RZF\\G R^F\\G",3072:" 35H\\NFNHOYO[ ROGPX RPFQW R[GO[ RLFSF RXF^F RMFNH RQFPH RRFOG RYF[G R]F[G",3073:" 57E_MFMHKYK[ RNGLX ROFMW RUFMWK[ RUFUHSYS[ RVGTX RWFUW R]GUWS[ RJFRF RUFWF RZF`F RKFNG RLFMH RPFNI RQFNG R[F]G R_F]G",3074:" 54G]NFT[ ROFU[ RPFV[ R[GIZ RLFSF RXF^F RF[L[ RQ[X[ RMFOH RQFPH RRFPG RYF[G R]F[G RIZG[ RIZK[ RTZR[ RTYS[ RUYW[",3075:" 51G]MFQPN[ RNFRPO[ ROFSPP[ R\\GSP RKFRF RYF_F RK[S[ RLFNG RPFOH RQFNG RZF\\G R^F\\G ROZL[ ROYM[ RPYQ[ ROZR[",3076:" 35G]ZFH[ R[FI[ R\\FJ[ R\\FNFLL RH[V[XU ROFLL RPFMI RRFNG RR[VZ RT[WX RU[XU",3101:" 54I]NPNOOOOQMQMONNPMTMVNWOXQXXYZZ[ RVOWQWXXZ RTMUNVPVXWZZ[[[ RVRUSPTMULWLXMZP[S[UZVX RNUMWMXNZ RUSQTOUNWNXOZP[",3102:" 47G\\LFL[MZOZ RMGMY RIFNFNZ RNPONQMSMVNXPYSYUXXVZS[Q[OZNX RWPXRXVWX RSMUNVOWRWVVYUZS[ RJFLG RKFLH",3103:" 34H[WQWPVPVRXRXPVNTMQMNNLPKSKULXNZQ[S[VZXX RMPLRLVMX RQMONNOMRMVNYOZQ[",3104:" 52H]VFV[[[ RWGWZ RSFXFX[ RVPUNSMQMNNLPKSKULXNZQ[S[UZVX RMPLRLVMX RQMONNOMRMVNYOZQ[ RTFVG RUFVH RXYY[ RXZZ[",3105:" 41H[MSXSXQWOVNSMQMNNLPKSKULXNZQ[S[VZXX RWRWQVO RMPLRLVMX RVSVPUNSM RQMONNOMRMVNYOZQ[",3106:" 40KYWHWGVGVIXIXGWFTFRGQHPKP[ RRHQKQZ RTFSGRIR[ RMMVM RM[U[ RPZN[ RPYO[ RRYS[ RRZT[",3107:" 89I\\XNYOZNYMXMVNUO RQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM ROONQNSOU RUUVSVQUO RQMPNOPOTPVQW RSWTVUTUPTNSM RNUMVLXLYM[N\\Q]U]X^Y_ RN[Q\\U\\X] RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[ RObMaL_L^M\\O[",3108:" 65G^LFL[ RMGMZ RIFNFN[ RNQOOPNRMUMWNXOYRY[ RWOXRXZ RUMVNWQW[ RI[Q[ RT[\\[ RJFLG RKFLH RLZJ[ RLYK[ RNYO[ RNZP[ RWZU[ RWYV[ RYYZ[ RYZ[[",3109:" 43LXQFQHSHSFQF RRFRH RQGSG RQMQ[ RRNRZ RNMSMS[ RN[V[ ROMQN RPMQO RQZO[ RQYP[ RSYT[ RSZU[",3110:" 41KXRFRHTHTFRF RSFSH RRGTG RRMR^QaPb RSNS]R` ROMTMT]S`RaPbMbLaL_N_NaMaM` RPMRN RQMRO",3111:" 61G]LFL[ RMGMZ RIFNFN[ RWNNW RRSY[ RRTX[ RQTW[ RTM[M RI[Q[ RT[[[ RJFLG RKFLH RUMWN RZMWN RLZJ[ RLYK[ RNYO[ RNZP[ RWYU[ RVYZ[",3112:" 31LXQFQ[ RRGRZ RNFSFS[ RN[V[ ROFQG RPFQH RQZO[ RQYP[ RSYT[ RSZU[",3113:" 99AcFMF[ RGNGZ RCMHMH[ RHQIOJNLMOMQNROSRS[ RQORRRZ ROMPNQQQ[ RSQTOUNWMZM\\N]O^R^[ R\\O]R]Z RZM[N\\Q\\[ RC[K[ RN[V[ RY[a[ RDMFN REMFO RFZD[ RFYE[ RHYI[ RHZJ[ RQZO[ RQYP[ RSYT[ RSZU[ R\\ZZ[ R\\Y[[ R^Y_[ R^Z`[",3114:" 65G^LML[ RMNMZ RIMNMN[ RNQOOPNRMUMWNXOYRY[ RWOXRXZ RUMVNWQW[ RI[Q[ RT[\\[ RJMLN RKMLO RLZJ[ RLYK[ RNYO[ RNZP[ RWZU[ RWYV[ RYYZ[ RYZ[[",3115:" 46H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RMPLRLVMX RWXXVXRWP RQMONNOMRMVNYOZQ[ RS[UZVYWVWRVOUNSM",3116:" 60G\\LMLb RMNMa RIMNMNb RNPONQMSMVNXPYSYUXXVZS[Q[OZNX RWPXRXVWX RSMUNVOWRWVVYUZS[ RIbQb RJMLN RKMLO RLaJb RL`Kb RN`Ob RNaPb",3117:" 55H\\VNVb RWOWa RUNWNXMXb RVPUNSMQMNNLPKSKULXNZQ[S[UZVX RMPLRLVMX RQMONNOMRMVNYOZQ[ RSb[b RVaTb RV`Ub RX`Yb RXaZb",3118:" 43IZNMN[ RONOZ RKMPMP[ RWOWNVNVPXPXNWMUMSNQPPS RK[S[ RLMNN RMMNO RNZL[ RNYM[ RPYQ[ RPZR[",3119:" 43J[WOXMXQWOVNTMPMNNMOMQNSPTUUWVXY RNNMQ RNRPSUTWU RXVWZ RMONQPRUSWTXVXYWZU[Q[OZNYMWM[NY",3120:" 22KZPHPVQYRZT[V[XZYX RQHQWRY RPHRFRWSZT[ RMMVM",3121:" 43G^LMLVMYNZP[S[UZVYWW RMNMWNY RIMNMNWOZP[ RWMW[\\[ RXNXZ RTMYMY[ RJMLN RKMLO RYYZ[ RYZ[[",3122:" 31I[LMR[ RMMRY RNMSY RXNSYR[ RJMQM RTMZM RKMNO RPMNN RVMXN RYMXN",3123:" 45F^JMN[ RKMNX RLMOX RRMOXN[ RRMV[ RSMVX RRMTMWX RZNWXV[ RGMOM RWM]M RHMKN RNMLN RXMZN R\\MZN",3124:" 48H\\LMV[ RMMW[ RNMX[ RWNMZ RJMQM RTMZM RJ[P[ RS[Z[ RKMMN RPMNN RUMWN RYMWN RMZK[ RMZO[ RVZT[ RWZY[",3125:" 40H[LMR[ RMMRY RNMSY RXNSYP_NaLbJbIaI_K_KaJaJ` RJMQM RTMZM RKMNO RPMNN RVMXN RYMXN",3126:" 41I[VML[ RWMM[ RXMN[ RXMLMLQ RL[X[XW RMMLQ RNMLP ROMLO RQMLN RS[XZ RU[XY RV[XX RW[XW",3151:" 50G]WMUTUXVZW[Y[[Y\\W RXMVTVZ RWMYMWTVX RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RNNLQKTKWLY RPMNOMQLTLWMZN[",3152:" 52I\\PFNMMSMWNYOZQ[S[VZXWYTYRXOWNUMSMQNPOOQNT RQFOMNQNWOZ RVYWWXTXQWO RMFRFPMNT RS[UYVWWTWQVNUM RNFQG ROFPH",3153:" 34I[WQWPVPVRXRXPWNUMRMONMQLTLVMYNZP[R[UZWW ROONQMTMWNY RRMPOOQNTNWOZP[",3154:" 58G]YFVQUUUXVZW[Y[[Y\\W RZFWQVUVZ RVF[FWTVX RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RMOLQKTKWLY RPMNOMQLTLWMZN[ RWFZG RXFYH",3155:" 33I[MVQUTTWRXPWNUMRMONMQLTLVMYNZP[R[UZWX ROONQMTMWNY RRMPOOQNTNWOZP[",3156:" 45JZZHZGYGYI[I[GZFXFVGTISKRNQRO[N^M`Kb RTJSMRRP[O^ RXFVHUJTMSRQZP]O_MaKbIbHaH_J_JaIaI` RNMYM",3157:" 57H]XMT[S^QaOb RYMU[S_ RXMZMV[T_RaObLbJaI`I^K^K`J`J_ RVTVQUNSMQMNNLQKTKVLYMZO[Q[SZTYUWVT RNOMQLTLWMY RQMOONQMTMWNZO[",3158:" 41G]OFI[K[ RPFJ[ RLFQFK[ RMTOPQNSMUMWNXPXSVX RWNWRVVVZ RWPUUUXVZW[Y[[Y\\W RMFPG RNFOH",3159:" 35KXSFSHUHUFSF RTFTH RSGUG RLQMOOMQMRNSPSSQX RRNRRQVQZ RRPPUPXQZR[T[VYWW",3160:" 45KXUFUHWHWFUF RVFVH RUGWG RMQNOPMRMSNTPTSRZQ]P_NaLbJbIaI_K_KaJaJ` RSNSSQZP]O_ RSPRTP[O^N`Lb",3161:" 49G]OFI[K[ RPFJ[ RLFQFK[ RYOYNXNXPZPZNYMWMUNQROS RMSOSQTRUTYUZWZ RQUSYTZ ROSPTRZS[U[WZYW RMFPG RNFOH",3162:" 26LXTFQQPUPXQZR[T[VYWW RUFRQQUQZ RQFVFRTQX RRFUG RSFTH",3163:" 61@cAQBODMFMGNHPHSF[ RGNGSE[ RGPFTD[F[ RHSJPLNNMPMRNSPSSQ[ RRNRSP[ RRPQTO[Q[ RSSUPWNYM[M]N^P^S\\X R]N]R\\V\\Z R]P[U[X\\Z][_[aYbW",3164:" 42F^GQHOJMLMMNNPNSL[ RMNMSK[ RMPLTJ[L[ RNSPPRNTMVMXNYPYSWX RXNXRWVWZ RXPVUVXWZX[Z[\\Y]W",3165:" 46H\\QMNNLQKTKVLYMZP[S[VZXWYTYRXOWNTMQM RNOMQLTLWMY RVYWWXTXQWO RQMOONQMTMWNZP[ RS[UYVWWTWQVNTM",3166:" 66G]HQIOKMMMNNOPOSNWKb RNNNSMWJb RNPMTIb ROTPQQORNTMVMXNYOZRZTYWWZT[R[PZOWOT RXOYQYTXWWY RVMWNXQXTWWVYT[ RFbNb RJaGb RJ`Hb RK`Lb RJaMb",3167:" 57G\\WMQb RXMRb RWMYMSb RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RMOLQKTKWLY RPMNOMQLTLWMZN[ RNbVb RRaOb RR`Pb RS`Tb RRaUb",3168:" 30I[JQKOMMOMPNQPQTO[ RPNPTN[ RPPOTM[O[ RYOYNXNXPZPZNYMWMUNSPQT",3169:" 47J[XPXOWOWQYQYOXNUMRMONNONQOSQTTUVVWX RONNQ RORQSTTVU RWVVZ RNOOQQRTSVTWVWXVZS[P[MZLYLWNWNYMYMX",3170:" 23KYTFQQPUPXQZR[T[VYWW RUFRQQUQZ RTFVFRTQX RNMXM",3171:" 42F^GQHOJMLMMNNPNSLX RMNMRLVLZ RMPKUKXLZN[P[RZTXVU RXMVUVXWZX[Z[\\Y]W RYMWUWZ RXMZMXTWX",3172:" 29H\\IQJOLMNMONPPPSNX RONORNVNZ ROPMUMXNZP[R[TZVXXUYQYMXMXNYP",3173:" 48CaDQEOGMIMJNKPKSIX RJNJRIVIZ RJPHUHXIZK[M[OZQXRU RTMRURXSZU[W[YZ[X]U^Q^M]M]N^P RUMSUSZ RTMVMTTSX",3174:" 51G]JQLNNMPMRNSPSR RPMQNQRPVOXMZK[I[HZHXJXJZIZIY RRORRQVQY RZOZNYNYP[P[NZMXMVNTPSRRVRZS[ RPVPXQZS[U[WZYW",3175:" 49G]HQIOKMMMNNOPOSMX RNNNRMVMZ RNPLULXMZO[Q[SZUXWT RYMU[T^RaPb RZMV[T_ RYM[MW[U_SaPbMbKaJ`J^L^L`K`K_",3176:" 39H\\YMXOVQNWLYK[ RXOOOMPLR RVORNONNO RVORMOMMOLR RLYUYWXXV RNYRZUZVY RNYR[U[WYXV",3200:" 50H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RNHMJLNLSMWNY RVYWWXSXNWJVH RQFOGNIMNMSNXOZQ[ RS[UZVXWSWNVIUGSF",3201:" 28H\\QHQ[ RRHRZ RSFS[ RSFPINJ RM[W[ RQZO[ RQYP[ RSYT[ RSZU[",3202:" 62H\\LJLKMKMJLJ RLIMINJNKMLLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RWHXJXLWN RTFVGWJWLVNTPPR RKYLXNXSYWYYX RNXSZWZXY RNXS[W[XZYXYV",3203:" 76H\\LJLKMKMJLJ RLIMINJNKMLLLKKKJLHMGPFTFWGXIXLWNTO RVGWIWLVN RSFUGVIVLUNSO RQOTOVPXRYTYWXYWZT[P[MZLYKWKVLUMUNVNWMXLX RWRXTXWWY RSOUPVQWTWWVZT[ RLVLWMWMVLV",3204:" 28H\\SIS[ RTHTZ RUFU[ RUFJUZU RP[X[ RSZQ[ RSYR[ RUYV[ RUZW[",3205:" 55H\\MFKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMUNVNWMXLX RWPXRXVWX RSMUNVOWRWVVYUZS[ RLVLWMWMVLV RMFWF RMGUG RMHQHUGWF",3206:" 69H\\VIVJWJWIVI RWHVHUIUJVKWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNQNOONPMR RNIMKLOLUMXNY RWXXVXSWQ RRFPGOHNJMNMUNXOZQ[ RS[UZVYWVWSVPUOSN",3207:" 43H\\KFKL RYFYIXLTQSSRWR[ RSRRTQWQ[ RXLSQQTPWP[R[ RKJLHNFPFUIWIXHYF RMHNGPGRH RKJLINHPHUI",3208:" 79H\\PFMGLILLMNPOTOWNXLXIWGTFPF RNGMIMLNN RVNWLWIVG RPFOGNINLONPO RTOUNVLVIUGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RMQLSLWMY RWYXWXSWQ RPONPMSMWNZP[ RT[VZWWWSVPTO",3209:" 69H\\MWMXNXNWMW RWOVQURSSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNVOWOXNYMY RMPLNLKMI RVHWIXLXRWVVX RQSORNQMNMKNHOGQF RSFUGVIWLWSVWUYTZR[",3210:" 16MXRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3211:" 24MXTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",3212:" 32MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3213:" 40MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",3214:" 34MXRFQGQIRQ RRFRTST RRFSFST RSFTGTISQ RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3215:" 52I\\MKMJNJNLLLLJMHNGPFTFWGXHYJYLXNWOSQ RWHXIXMWN RTFVGWIWMVOUP RRQRTSTSQRQ RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3216:" 24MXTFRGQIQLRMSMTLTKSJRJQK RRKRLSLSKRK RRGQK RQIRJ",3217:" 24MXTHSIRIQHQGRFSFTGTJSLQM RRGRHSHSGRG RSITJ RTHSL",3218:" 74E_[O[NZNZP\\P\\N[MZMYNXPVUTXRZP[L[JZIXIUJSPORMSKSIRGPFNGMIMLNOPRTWWZY[[[\\Y\\X RKZJXJUKSLR RRMSI RSKRG RNGMK RNNPQTVWYYZ RN[LZKXKULSPO RMINMQQUVXYZZ[Z\\Y",3219:" 56H\\PBP_ RTBT_ RXKXJWJWLYLYJXHWGTFPFMGKIKLLNOPURWSXUXXWZ RLLMNOOUQWRXT RMGLILKMMONUPXRYTYWXYWZT[P[MZLYKWKUMUMWLWLV",3220:" 8G^[BIbJb R[B\\BJb",3221:" 27KYUBSDQGOKNPNTOYQ]S`Ub RQHPKOOOUPYQ\\ RSDRFQIPOPUQ[R^S`",3222:" 27KYOBQDSGUKVPVTUYS]Q`Ob RSHTKUOUUTYS\\ RQDRFSITOTUS[R^Q`",3223:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",3224:" 8F_JQ[Q[R RJQJR[R",3225:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3226:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3227:" 11NWSFRGRM RSGRM RSFTGRM",3228:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",3229:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",3250:" 58H]TFQGOIMLLOKSKVLYMZO[Q[TZVXXUYRZNZKYHXGVFTF RQHOJNLMOLSLWMY RTYVWWUXRYNYJXH RTFRGPJOLNOMSMXNZO[ RQ[SZUWVUWRXNXIWGVF",3251:" 20H]TJO[Q[ RWFUJP[ RWFQ[ RWFTIQKOL RTJRKOL",3252:" 52H]OKOJPJPLNLNJOHPGSFVFYGZIZKYMWOMUKWI[ RXGYIYKXMVOSQ RVFWGXIXKWMUOMU RJYKXMXRYWYXX RMXRZWZ RMXR[U[WZXXXW",3253:" 64H]OKOJPJPLNLNJOHPGSFVFYGZIZKYMXNVOSP RXGYIYKXMWN RVFWGXIXKWMUOSP RQPSPVQWRXTXWWYUZR[O[LZKYJWJULULWKWKV RVRWTWWVY RSPUQVSVWUYTZR[",3254:" 15H]WJR[T[ RZFXJS[ RZFT[ RZFJUZU",3255:" 49H]QFLP RQF[F RQGYG RPHUHYG[F RLPMOPNSNVOWPXRXUWXUZQ[N[LZKYJWJULULWKWKV RVPWRWUVXTZ RSNUOVQVUUXSZQ[",3256:" 61H]YJYIXIXKZKZIYGWFTFQGOIMLLOKSKVLYMZO[R[UZWXXVXSWQVPTOQOOPNQMS RPINLMOLSLWMY RVXWVWSVQ RTFRGPJOLNOMSMXNZO[ RR[TZUYVVVRUPTO",3257:" 39H]NFLL R[FZIXLTQRTQWP[ RRSPWO[ RXLRRPUOWN[P[ RMIPFRFWI ROGRGWI RMIOHRHWIYIZH[F",3258:"104H]SFPGOHNJNMOOQPTPWOYNZLZIYGWFSF RUFPG RPHOJONPO ROORP RSPWO RXNYLYIXG RYGUF RSFQHPJPNQP RTPVOWNXLXHWF RQPMQKSJUJXKZN[R[VZWYXWXTWRVQTP RRPMQ RNQLSKUKXLZ RKZP[VZ RVYWWWTVR RVQSP RQPOQMSLULXMZN[ RR[TZUYVWVSUQTP",3259:" 61H]XNWPVQTRQROQNPMNMKNIPGSFVFXGYHZKZNYRXUVXTZQ[N[LZKXKVMVMXLXLW ROPNNNKOI RXHYJYNXRWUUX RQRPQOOOKPHQGSF RVFWGXIXNWRVUUWSZQ[",3260:" 16MXPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3261:" 22MXQ[P[OZOYPXQXRYR[Q]P^N_ RPYPZQZQYPY RQ[Q\\P^",3262:" 32MXSMRNROSPTPUOUNTMSM RSNSOTOTNSN RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3263:" 38MXSMRNROSPTPUOUNTMSM RSNSOTOTNSN RQ[P[OZOYPXQXRYR[Q]P^N_ RPYPZQZQYPY RQ[Q\\P^",3264:" 34MXVFUFTGRT RVGUGRT RVGVHRT RVFWGWHRT RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3265:" 59H]OKOJPJPLNLNJOHPGSFWFZG[I[KZMYNWOSPQQQSSTTT RUFZG RYGZIZKYMXNVO RWFXGYIYKXMWNSPRQRSST RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3266:" 22MXWFUGTHSJSLTMUMVLVKUJTJ RUGTITJ RTKTLULUKTK",3267:" 22MXVIUITHTGUFVFWGWIVKULSM RUGUHVHVGUG RVIVJUL",3268:" 72E_\\O\\N[N[P]P]N\\M[MYNWPRXPZN[K[HZGXGVHTISKRPPROTMUKUITGRFPGOIOLPRQURWTZV[X[YYYX RL[HZ RIZHXHVITJSLR RPPQSTYVZ RK[JZIXIVJTKSMRRO ROLPOQRSVUYWZXZYY",3269:" 52H]TBL_ RYBQ_ RZKZJYJYL[L[JZHYGVFRFOGMIMLNNPPVSWUWXVZ RNLONVRWT ROGNINKOMUPWRXTXWWYVZS[O[LZKYJWJULULWKWKV",3270:" 8G^_BEbFb R_B`BFb",3271:" 32JZZBXCUERHPKNOMSMXN\\O_Qb RSHQKOONTN\\ RZBWDTGRJQLPOOSN\\ RNTO]P`Qb",3272:" 32JZSBUEVHWLWQVUTYR\\O_LaJb RVHVPUUSYQ\\ RSBTDUGVP RVHUQTUSXRZP]M`Jb",3273:" 39J[TFSGUQTR RTFTR RTFUGSQTR ROIPIXOYO ROIYO ROIOJYNYO RYIXIPOOO RYIOO RYIYJONOO",3274:" 8F_JQ[Q[R RJQJR[R",3275:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3276:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3277:" 11MWUFTGRM RUGRM RUFVGRM",3278:" 22H\\PFOGMM RPGMM RPFQGMM RZFYGWM RZGWM RZF[GWM",3279:" 30KZSFQGPIPKQMSNUNWMXKXIWGUFSF RSFPIQMUNXKWGSF RUFQGPKSNWMXIUF",3301:" 62F^IHJIIJHIIGKFMFOGPHQKQOPRNTLUIV ROHPKPPOR RMFNGOJOPNSLU RLVOY RKVOZ RIVN[UV R\\G[H\\H\\G[FYFWGVHUJUYW[[W RWHVJVXXZ RYFXGWJWWYY",3302:"101E_GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRRQUOW RPHQJQT RNFOGPJPUOW RRISGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KRP RYM[O\\R\\U[XYZV[S[PZJWIWHX RXNYN[P RVNYO[Q\\S RTZRZLWKW RZYXZUZRYNWKVIVHXHZI[JZIY",3303:" 79F^RHPFNFLGJJINIRJVLYNZQ[T[WZYY[W RLHKJJMJRKVMYPZ RNFMGLIKMKQLUMWOYRZUZXY[W RUFRHQIPKPLQNTPURUT RQKQLUPUQ RQIQJRLUNVPVRUTSURUPTOR RUFVGXHZH RUGVHWH RTGVIXIZH[G",3304:" 79E_HLHKIIKGNFRFUGWHYJ[M\\Q\\U[XYZV[S[PZJWIWHX RKHMGRGUHWIYK[N RTZRZLWKW RHKJIMHRHUIWJYL[O\\R RZYXZUZRYNWKVIVHXHZI[JZIY RPHMKLMLONSNU RMNMONQNR RMKMMOQOSNUMVKVJUJT",3305:" 95F^RHPFNFLGJJINIRJVLYNZQ[T[WZYY[W RLHKJJMJRKVMYPZ RNFMGLIKMKQLUMWOYRZUZXY[W RUFRHQIPKPLQNTPURUT RQKQLUPUQ RQIQJRLUNVPVRUTSURUPTOR RUFVGXHZH RUGVHWH RTGVIXIZH[G RUNYK RYKZL\\L RXLYMZM RWMXNZN\\L",3306:" 94F^MNKMJKJIKGNFQFTGXI RKHMGRGUH RJKKIMHRHXIZI[H[GZFYF RSHRIQKQMROVSWVWYV\\U]S^ RTPWSXVXYW[ RQMSOVQXSYVYYX[V]S^O^L]K\\JZJWLTLRKQ RL\\K[KWLU RO^M]L[LWMTMRLQJQIRIS RUPYL RYLZM\\M RXMYNZN RWNXOZO\\M",3307:" 99E_UJTHSGQFNFKGIJHNHRIUJWLYNZQ[T[WZYY[W\\T\\Q[NYL RKHJJIMIRJUKW RZW[U[QZNYM RNFLGKIJMJRKVLXNZ RWZYXZUZQYOWM RUFRHPJOLOMPOSQTSTU RPLPMTQTR RPJPKQMTOUQUSTURVQVOUNS RTOYLZJ R\\FZJ RYG]I R\\F[GYGZHZJ[I]I\\H\\F",3308:" 92F_RFPGNIMKMMNOPQQSQU RNLNMQQQR RNINKOMQORQRSQUPVNWLWJVIUHSHQIPJQIR RRFTHVHXG RQGSH RPGQHSIUIXG RRPYK RYK[N\\Q\\T[WYYVZR[ RXLZN[Q[UZW RVMWMYOZRZVYXXYVZ RVZTZRYPYNZM\\N^P_R_T^ RSZQZ RR[PZNZ",3309:" 83F_PPNPLOKNJLJJKHLGOFQFTGWJYK RLHNGRGTHUI RJJKIMHQHTIVJYK[K\\J\\H[GYG RJXKYJZIYIWJVLVNWPYR\\T^ RNXOYQ\\R] RLVMWNYP\\Q]S^V^X]Y\\ZZZWYUWRVPVO RYXYWVRVQ RX]Y[YYXWVTURUPWNYNZOZP",3310:" 83F_PPNPLOKNJLJJKHLGOFQFTGWJYK RLHNGRGTHUI RJJKIMHQHTIVJYK[K\\J\\H[GYG RJXKYJZIYIWJVLVNWPYR\\T^ RNXOYQ\\R] RLVMWNYP\\Q]S^V^X]Y\\ZZZWYUWRVPVO RYXYWVRVQ RX]Y[YYXWVTURUPWNYNZOZP",3311:" 81E_[KZIXGUFRFOGMILKLNMQPWPYN[ RMNMOPUPV RNHMJMMNOPSQVQXPZN[L[JZ RHVJZ RGYKW RHVHXGYIYJZJXKWIWHV RNONMOKQJTJVKXMYM RUKWM RRJTKULVN RYMPQ RUOYXZY[Y RTPXXZZ RSPWYY[\\X",3312:" 73G^ZSYTVTUSUQVOXLYJYH RVQVPYLYK RWTVSVRWPYNZLZJYHXGUFPFMGLHKJKLLNNQOSOTNV RLKLLOQOR RLHLJMLOOPQPSOUMWJY RMWOWRYUZXZZY RNXOXSZTZ RJYLXMXQZT[V[YZZY[W",3313:"128BbEQERFSHSJRJOIMGJGHIF RIOGK RHSIRIPGMFKFIGGIFKFMGOIPLPROUNWLYI[HZGZ RNIOLORNUMW RJZIYHY RKFMHNKNRMVLXKYJXIXF[ RNGPFRFTGVIWLWRVUUWSYQ[PZOZ RUIVLVRUV RRZQYPY RRFTHUKUSTWSYRXQXN[ RUHVGXFZF\\G]H^J_K R\\H]J RZF[G\\J]K_K R_K\\M[NZQZT[X][`X R\\N[P[T\\W^Z R_K]M\\O\\S]W_Y",3314:" 96D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGRISLSRRUQWOYL[KZIZG[ RQIRKRRQUPWOX RMZKYIY RNFPHQKQRPVNYLXJXG[ RRHSGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KYMXNWQWTXXZ[]X RYNXPXTYW[Z R\\KZMYOYSZW\\Y",3315:" 72D`PFNGLIKKKMMQMS RLLLMMOMP RLILKNONQMSLTJTISIR RPFQGWIZK[M\\P\\S[VZXXZU[R[OZIWHWGX RPGQHWJYKZL RPFPHQIWKYL[N\\P RSZQZKWJW RYYWZTZQYMWJVHVGXGZH[IZHY",3316:"100E`HQHRISKSMRMOLMJJJHLF RLOJK RKSLRLPJMIKIIJGLFOFQGRHSJSU RSWS\\R^P_M_L^L\\M[N\\M] RQHRJR\\Q^ ROFPGQJQU RQWQ\\P^O_ RSJXF RXFZI[K\\O\\R[UYXV[ RWGZK[N[O RVHXJZM[P[SZVYX RWYUVSU RQUOVMX RWZUWSVPV RV[TXSW RQWOWMX",3317:" 88D`PFNGLIKKKMMQMS RLLLMMOMP RLILKNONQMSLTJTISIR RPFQGWIZK[M\\P\\S[VZX RXZU[R[OZIWHWGX RPGQHWJYKZL RPFPHQIWKYL[N\\P RSZQZKWJW RXZTZQYMWJVHVGXGZH[IZHY RTXVVXV\\Z]Z RWWXW[Z RUWVWZ[\\[^Y",3318:" 96D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRVQXOZM[K[IZ RPHQJQVPX RNFOGPJPVOYM[ RGVIZ RFYJW RGVGXFYHYIZIXJWHWGV RRISGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KRP RTOXYZ[]X RUOYX[Z RVNZX[Y\\Y",3319:" 83E`\\H[G\\F]G]I\\KZKVISHOHKIIK RYJVHSGOGLH R]I\\JZJVGSFOFLGJIIKHNHRIUJWLYNZQ[U[XZZY\\W]T]Q\\OZNWNUOSRQSOS RLXNYQZUZYY RIUKWMXPYUYYX[W\\V]T RXOWOSSRS R]Q[OYOWPUSSTQTOSNQNOOMQL",3320:" 81F_LNJMIKIIJGMFRFUGYJ[J\\I RJHLGRGUHXJ RIKJILHRHUIYK[K\\I\\G[FZG[H RUIRLQNQPSTSV RRORPSRSS RRLRNTRTTSVRWPWOVOT RJYKZJ[IZIXJVLVOWSYVZYZ[Y RLWMWSZUZ RIXJWKWMXQZT[W[ZZ\\X",3321:" 45G]JHKHLILWJX RKGMHMXPZ RIILFNHNWPYRY RJXKXMYO[RYVV RTHUHVIVYX[[X RUGWHWYYZ RSIVFYHXIXXYYZY",3322:"100D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRRQUOW RPHQJQT RNFOGPJPUOW RRISGUFWFYG[J\\K RYHZJ RWFXGYJZK\\K RZKXKWLWNXP[R\\T RXO[Q RWMXN[P\\R\\V[XYZW[S[PZJWIWHX RTZRZLWKW RZYXZUZRYNWKVIVHXHZI[JZIY",3323:"143BcEQERFSHSJRJOIMGJGHIF RIOGK RHSIRIPGMFKFIGGIFLFNGOHPJPNOQMTKV RNHOJOONR RLFMGNJNOMSKV RNGPFSFUG RWFTGSISMTPVSWUWWVY RTMTNWSWT RWFUGTITLUNWQXTXVWXUZS[O[MZKXIWGWFX RNZKWJW RQ[OZLWJVGVFXFZG[HZGY RWFZF\\G^J_K R\\H]J RZF[G\\J]K_K R]K[KZLZN[P^R_T R[O^Q RZM[N^P_R_W^Y]Z[[X[UZ RYZXZVY R^Y\\ZZZXYWX",3324:" 86F^KHMHOIPJQMQO RQQQUPXM[KZI[ RNZLYKY ROYNYLXI[ RMGPHQIRLRUSWUYWZ RIINFPGRISLSO RSQSTTWUXWYYY RQURXTZV[[X RSLTIWFYG[F RVGXHYH RUHVHXI[F RKSMOQO RSOWOYM RMPWP RKSMQQQ RSQWQYM",3325:" 74E_HQHRISKSMRMOLMJJJHLF RLOJK RKSLRLPJMIKIIJGLFOFQGRHSJSORRQTQUSWTW RQHRJRPQSPUSX ROFPGQJQPPTOVRYUV RSJ[F RYGYZX] RZGZXY[ R[F[VZZY\\W^T_P_M^K\\JZKYLZK[",3326:" 74F^NIOGQFTFVGWHXJXMWOVPTQ RQQOPNN RVHWIWNVO RTFUGVIVNUPTQ RMUNSORQQTQWRYTZVZZY\\W^T_P_N^KZJY RXTYVYZX\\ RTQWSXUX[W]V^T_ RO^N]LZKY RR_P^O]MZLYIYHZH\\I]J]",3401:" 46J[TMQNOONPMSMVNYO[UX RNVOYPZ RQNOPNSNUOXQZ RRNSOUPUYW[ZX RSNVPVXXZ RTMUNWOXO RWPXO RWPWXXYYY",3402:" 50J[LHMINK RTFQGOINKNXMY RPIOKOXRZ RTFRGQHPKPXRYSZ RMYNYPZQ[TZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3403:" 27KXRNTPVOTMRNOPNRNWOYQ[UY RSNUO RPPOROWPYQZ RQOPQPVQXSZ",3404:" 47J[QFNINKOLSNVPWRWUVXTZ ROJOKSMVOWP ROHOIPJUMWOXRXUWXTZQ[ RRNNPNXMY ROPOXRZ RPOPXRYSZ RMYNYPZQ[",3405:" 27KXPUVQSMOPNRNWOYQ[UY RUQRN RPPOROWPYQZ RTRROQOPQPVQXSZ",3406:" 49LYXFWGUGSFQFPHPMOONP RVHTHRGQG RXFWHVITIRHQHPI RPKQMRNTOVOVP RNPPP RRPVP RPPPTQ` RSOPOQNQ[ RRPRTQ`",3407:" 53J[TMQNOONPMSMVNYO[UX RNWOYPZ RQNOPNSNUOXQZ RRNSOUPUXV[V]U_ RSNVPVZ RTMUNWOXO RWPXO RWPW\\V^U_S`P`N_M^M]N]N^",3408:" 50J[LHMINK RTFQGOINKNXMY RPIOKOYPZ RTFRGQHPKPXQYRY RMYOZP[SX RPPVMWOXSXWWZV\\T^Q` RUNVOWR RTNVQWTWWV[T^",3409:" 39MWRFQGQHRISHSGRF RQGSH RQHSG ROOPOQPQYS[VX RPNRORXTZ RNPQMRNTO RSPTO RSPSXTYUY",3410:" 45MWRFQGQHRISHSGRF RQGSH RQHSG ROOPOQPQ[P^O_M` RPNROR[Q] RNPQMRNTO RSPTO RSPS[R]P_M` RS[T]U^",3411:" 63KYNHOIPK RUFSGQIPKPMOONP RPPPXOY RRIQKQM RQOPOQMQXSZ RUFSHRKRO RRPRXSYTY ROYQZR[UX RRLVIWJWLUNSO RUJVKVLUN RROWOWP RNPPP RRPWP",3412:" 29MWOHPIQK RWFTGRIQKQXPY RSIRKRYTZ RWFUGTHSKSXTYUY RPYRZS[VX",3413:" 74E_GOHOIPIXHYJ[ RHNJPJXIYJZKYJX RFPIMKOKXLYJ[ RNNPOQQQXPYR[ RPNQORQRXQYRZSYRX RKPNNPMRNSPSXTYR[ RVNWOYPYY[[^X RWNZPZX\\Z RSPVNXMYN[O\\O R[P\\O R[P[X\\Y]Y",3414:" 49I[KOLOMPMXLYN[ RLNNPNXMYNZOYNX RJPMMOOOXPYN[ RRNSOUPUYW[ZX RSNVPVXXZ ROPRNTMUNWOXO RWPXO RWPWXXYYY",3415:" 41J[NPNXMY ROPOXRZ RQOPPPXRYSZ RMYNYPZQ[TZ RNPQOVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3416:" 57J[OJMLMNNQNXLZ RNYO` RNMNNOQO[ RNKNLONPQPXQXSYTZ RPYO` RSZQY RTZR[PY RNYLZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3417:" 43J[TMQNOONPMSMVNYO[UX RNWOYPZ RQNOPNSNUOXQZ RRNSOUPUXV` RSNVPV[ RTMUNWOXO RWPXO RWPWXV`",3418:" 32KYNOOOPPPXOY RONQPQYSZ RMPPMRORXSYTY ROYQZR[UX RTNUPWOVMRO RUNVO",3419:" 42LWXFWGUGSFQFPHPMOONP RVHTHRGQG RXFWHVITIRHQHPI RPKRP RPPPTQ` RQOPOQNQ[ RRPRTQ` RNPPP",3420:" 37LXSIRLQNPONP RSISOVOVP RNPQP RSPVP RQPQXPY RROQORMRXTZ RSPSXTYUY RPYRZS[VX",3421:" 47I[KOLOMPMXLY RLNNPNXPZ RJPMMOOOXQYRZ RLYMYOZP[RZUX RVMTOUPUYW[ZX RVPWOVNUOVPVXXZ RVMXOWPWXXYYY",3422:" 47J[OKMMMONRNXMY RNNNOOROXRZ RNLNMOOPRPXRYSZ RMYNYPZQ[TZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3423:" 72F_KKIMIOJRJXIYK[ RJNJOKRKXJYKZLYKX RJLJMKOLRLXMYK[ RONQORQRXQY RQNROSQSXVZ RLPONQMSNTPTXVYWZ RQYRYTZU[XZ RTPZM[O\\R\\T[XZYXZ RYNZO[Q RXNZP[S[UZXXZ",3424:" 44KZOOPOQPQXPXNYM[M]N_P`S`V_V^U^U_ RPNRPRXUZ RNPQMSOSXUYVZ RXYT[SZQYOYM[ RUNVPXOWMSO RVNWO",3425:" 47J[OKMMMONRNXMY RNNNOOROYQZ RNLNMOOPRPXQYRY RMYOZP[SX RPPVMWOXSXWWZV\\T^Q` RUNVOWR RTNVQWTWWV[T^",3426:" 43KYNPSMUNVPVRUTQV RSNUO RRNTOUQURTTSU RSUUWVYV]U_S`Q`O_N]N[OYQXWV RRVTWUY RQVTXUZU]T_S`",3427:" 61JZRMPNMPMRNU RNPNROT RPNOOORPT RPNROTOVNWMWKVJTJ RQNSN RRMTNVN RNUVRWUWWVYR[ RUSVUVXUY RTSUUUXTZ RTZRYOYL[ RSZQZ RR[PZNZL[",3428:" 78J[VFUGSGQFOFNHNMMOLP RTHRHPGOG RVFUHTIRIPHOHNI RNKPP RNPNTO` ROONOONO[ RPPPTO` RLPNP RPPUMWNXPXRWTSV RUNWO RTNVOWQWRVTUU RUUWVXXX[W]U_R` RUVWW RSVTVVWWYW\\V^",3429:" 62J[PIOLNNMOKP RPIPXQYO[ ROONOONOXNYOZPYOX RKPNPNXMYO[ RPPUMWNXPXRWTSV RUNWO RTNVOWQWRVTUU RUUWVXXX[W]U_R` RUVWW RSVTVVWWYW\\V^",3501:" 60G]LINGPFRFSGZW[X]X RQGRHYXZZ[YYX RNGPGQHXXYZZ[[[]X RLMMLOKPKQL RPLPM RMLOLPN RG[IYKXNXPY RJYNYOZ RG[JZMZN[PY RRJLX RNSVS",3502:"110F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RRIQJPLPU RQKQS RRIRRQTPU RRIXFZG[I[KYMUO RXGZIZK RVGXHYIYLWN RWNZP[R[X RYPZRZW RWNXOYQYX RJ[MYPXTXWY RLZOYTYVZ RJ[NZSZU[WYYX[X RUOUX RURYR RUUYU",3503:" 69E]NGLHJJILHOHSIVJXMZP[S[VZXYZW[U RJKINISKWNYQZTZWY RNGLIKKJNJRKUNXQYTYWXYW[U RPJPV RQJQT RRIRSQUPV RPJRIUFWGYGZF RTGVHXH RSHUIWIYHZF RWIWX",3504:" 72G^IFWFYGZIZX RKGWGYIYW RIFJGLHWHXIXX ROKNLMNMOKOJPJRKQMQMV RNMNT RKPNP ROKOSNUMV RI[LYOXSXVY RKZNYSYUZ RI[MZRZT[VYXXZX RRHRX RRMTNVNXM RRSTRVRXS",3505:" 94G]IHKFMFOGQF RLGNG RIHKGMHOHQF RNKMLLNLOJOIPIRJQLQLW RMMMU RJPMP RNKNTMVLW RQMRJSHTGVFXF[G RTHVGXGZH RRJSIUHWHYI[G RQURRSPTOVOXP RTPVPWQ RRRSQUQVRXP RK[NYRXWX[Y RMZPYWYZZ RK[OZVZY[[Y RQMQX",3506:" 91F]JHLFOFQGSF RMGPG RJHLGNHQHSF RPKOLNNNOLOKPKRLQNQNV ROMOT RLPOP RPKPSOUNV RSJSYRZQZMXKXIYG[ RTJTX RTPXP RPZOZMYJY RUIUOXO RXQUQUWTYP[N[LZJZG[ RSJUIXFZG\\G]F RWGYH[H RVHXIZI\\H]F RXIXW",3507:" 87E^NGLHJJILHOHRIUJWLYNZQ[U[XZZX[V[SZQYPWOUO RJKINISJV RNGLIKKJNJSKVLXNZ RYXZWZSYQ RU[WZXYYWYSXQWPUO RPJPW RQJQU RRIRTQVPW RPJRIUFWGYGZF RTGVHXH RSHUIWIYHZF RYHUOU[ RUSYS RUVYV",3508:"112F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXSXUY RLZOYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRITGVFXFZG RWGXGYH RTGVGXIZG RUOWNYLZM[P[TZXX[ RXMYNZPZUYX RWNXNYPYUX[ RUOUY RURYR RUUYU",3509:" 67I\\LHNFQFTGVF ROGSG RLHNGQHTHVF RSKRLQNQOOONPNROQQQQV RRMRT ROPRP RSKSSRUQV RYHWJVMVXUZSZOXMXKYI[ RWKWW RRZQZOYLY RYHXJXVWXUZS[P[NZKZI[",3510:" 65H\\LHNFQFTGVF ROGSG RLHNGQHTHVF RSKRLQNQOOONPNROQQQQV RRMRT ROPRP RSKSSRUQV RYHWJVMVXUZ RWKWW RYHXJXVWXUZR[O[LZJXJVKULUMVLWKW RJVMV",3511:"115F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXSXUY RLZNYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRITGVFXFZG RWGXGYH RTGVGXIZG RUOXLYM[N RWMYN[N R[NYQWSUU RWSYTZX[Z\\Z RYVZZ RWSXTYZZ[[[\\Z RUOUY",3512:" 85G]IHKFNFPGRF RLGOG RIHKGMHPHRF RNKMLLNLOJOIPIRJQLQLW RMMMU RJPMP RNKNTMVLW RK[NYRXWX[Y RMZPYWYZZ RK[OZVZY[[Y RSIRJQLQU RRKRS RSISRRTQU RSIUGWFYF[G RXGYGZH RUGWGYI[G RWGWX",3513:"107D`LJKKJMJOHOGPGRHQJQJU RKLKS RHPKP RLJLRKTJU RE[GYIXKXMYNYOX RHYKYMZ RE[GZJZL[M[NZOX RLJPFTJTWUYVY RPGSJSXRYSZTYSX RPPSP RNHOHRKROOO ROQRQRXQYS[VYWX RTJXF\\J\\W]Y^Y RXG[J[X]Z RXP[P RVHWHZKZOWO RWQZQZY\\[^Y ROHOX RWHWX",3514:" 84E^GIIGKFMFOGQJVUXXYY RMGOIPKVWYZ RIGKGMHOKTVVYWZY[ RVHXIZI\\H]F RWGYH[H RVHXFZG\\G]F RKOIOHPHRIQKQ RIPKP RG[IYKXNXPY RJYMYOZ RG[JZMZN[PY RKGKX RYIY[ RRLSMUNWNYM RKTMSQSST",3515:" 79E_NFLGJIIKHNHRIUJWLYNZQ[S[VZXYZW[U\\R\\N[KZIXGVFUGRIOJ RJJIMISJV RNFLHKJJMJSKVLXNZ RZV[S[MYIXH RVZXXYVZSZMYKWHUG ROJOW RPJPU RQJQTPVOW RUGUZ RUMWNXNZM RUSWRXRZS",3516:" 70H^KFLGMIMOKOJPJRKQMQMYJ[MZMbO` RMHNJN` RKPNP RKFMGNHOJO` ROKRIVFZJZX RVGYJYX RTHUHXKXY RRXUXXY RSYUYWZ RRZTZV[XYZX RRIR_ RRMTNVNXM RRSTRVRXS",3517:" 99E_NFLGJIIKHNHRIUJWLYNZP[T[VZXYZW[U\\R\\N[KZIXGVFUGRIOJ RJJIMISJV RNFLHKJJMJSKVLXNZ RZV[S[MYIXH RVZXXYVZSZMYKWHUG ROJOW RPJPU RQJQTPVOW RUGUZ RUMWNXNZM RUSWRXRZS RP[QZRZT[X`Za[a RT\\V_XaYa RRZS[VaXbZb[a",3518:"108F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXRXUY RLZNYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRIUGWFYGZIZLYNXOTQRR RWGXGYIYMXN RUGWHXJXMWOTQ RTQVRWSZX[Y\\Y RWTYX[Z RTQVSXYZ[\\Y",3519:" 94G^UITHRGOF RVHTG RWGSFOFLGKHJJKLLMONWNYOZPZRYU RKKLLOMXMZN[O[QZS RKHKJLKOLYL[M\\O\\QYUU[ RIOJPLQUQVRVSUU RJQLRTRUS RIOIPJRLSSSUTUU RI[LYPXSXVY RKZNYRYUZ RI[MZRZU[ RWGUISL RRNPQ ROSMUKVJVJUKV",3520:" 71E]JJILHOHSIVKYMZP[S[VZXYZW[U RISJVLXNYQZTZWY RJJIMIQJTLWNXQYTYWXYW[U RHIIGKFOFUGYG[F RPGTHXH RHIIHKGNGTIWIYH[F RSIRJPKPV RQKQT RRJRSQUPV RWIWX",3521:" 89F^HHJFLFOGQF RKGNG RHHJGMHOHQF RKJJLIOISJVKXMZP[S[VZXYZ[\\Y RJSKVNYQZTZ RKJJNJQKTLVNXQYUYXX RUIQJPLPV RQKQT RRJRSQUPV RUIWHYFZG\\HZIZW[Y\\Y RYIZHYGXHYIYX[Z RWHXIXX RUIUY RUNXN RURXR",3522:" 72G^JFKGLILOJOIPIRJQLQLXJY RLHMJMX RJPMP RNYQYSZ RJFLGMHNJNXRXUY RJYMYPZR[UYXXZX RRJUIWHYFZG\\HZIZX RYIZHYGXHYIYW RWHXIXX RRJRX RRMTNVNXM RRSTRVRXS",3523:" 95E`HFIGJIJOHOGPGRHQJQJXHY RJHKJKX RHPKP RLYNYPZ RHFJGKHLJLXOXQY RHYKYNZO[QYTXVYW[YY\\X ROHRFTHTXWXYY RRGSHSX ROHQHRIRXQY RWYXZ RWHZF\\H\\X RZG[H[X RWHYHZIZXYY ROHOX RWHWX RONRN RORRR RWNZN RWRZR",3524:" 65G]HIJGLFNFOGWYXZZZ RMGNHVYWZ RJGLGMHUZV[X[ZZ\\X RWFYG[G\\F RWGXHZH RVHWIYI[H\\F RH[IYKXMXNY RJYLYMZ RH[IZKZM[ RWFSO RQRM[ RLPPP RSPXP",3525:" 86G^JFKGLILOJOIPIRJQLQLXJY RLHMJMX RJPMP RNYQYSZ RJFLGMHNJNXRXUY RJYMYPZR[UYXX RRJUIWHYFZG\\HZIZ^Y`WbUaQ`L` RYIZHYGXHYIYY RWHXIXXZ[ RXaV`S` RY`V_P_L` RRJRX RRMTNVNXM RRSTRVRXS",3526:" 57H\\XGWIROOSMWJ[ RVKNV RZFWJUNRRMXLZ RJHLFOGUGZF RKGOHSHWG RJHNIRIVHXG RLZNYRXVXZY RMZQYUYYZ RJ[OZUZX[ZY RMPQP RTPXP",3601:" 53J[PRNTMVMXNZP[RYUX RMVNXOYQZ RNTNVOXQYRY RNPPPSOUNVMXOWPWXXYYY RONNOQO RTOWOVNVYWZ RMOOMPNROUPUYW[YY RMORT",3602:" 44I[LHMJMXKY RNJMHNGNXQZ RLHOFOXQYRZ RKYMYOZP[RZUYWY ROPROTNUMVNXOYOWPWY RTNVOVX RROSOUPUY",3603:" 35JXNONXLYMYOZP[ ROOOYQZ RPOPXRYSYQZP[ RNORNTMUNWOXO RSNTOVO RPORNTPVPXO",3604:" 41IZRMPNMOMXKY RNONXQZ RRMOOOXQYRZ RKYMYOZP[RZUYWY RMHPFQIWOWY RPINHOGPIVOVX RMHUPUY",3605:" 32JXNONXLYMYOZP[ ROOOYQZ RPOPXRYSYQZP[ RNORNTMWQURPU RSNVQ RPORNUR",3606:" 41JWNHNXLYMYOZP[ ROHOYQZ RPHPXRYSYQZP[ RNHQGSFTGVHWH RRGSHUH RPHQGSIUIWH RKMNM RPMTM",3607:" 56I[MOMXKYLYNZO[PZRYUX RNPNYPZ ROOOXQYRY RMOOORNTMUNWOYOWPW\\V_TaRbQaO`M` RSNVPV\\ RSaQ`P` RRNSOUPUZV]V_ RTaS`Q_O_M`",3608:" 47I[LHMJMXKYLYNZO[ RNJMHNGNYPZ RLHOFOXQYO[ ROPROTNUMVNXOYOWPWYU[T] RTNVOVYU[ RROSOUPUYT]T`UbVbT`",3609:" 35MWRFPHRITHRF RRGQHSHRG RRMQNOOQPQYS[UY RRPSORNQORPRYSZ RRMSNUOSPSXTYUY",3610:" 39MWRFPHRITHRF RRGQHSHRG RRMQNOOQPQYS[T] RRPSORNQORPRYS[ RRMSNUOSPSYT]T`RbPbPaRb",3611:" 50IZLHMJMXKYLYNZO[ RNJMHNGNYPZ RLHOFOXQYO[ ROPRNTMVPSROU RSNUP RRNTQ RSRTSVXWYXY RSSTTUYVZ RRSSTTYV[XY",3612:" 22MWPHQJQXOYPYRZS[ RRJQHRGRYTZ RPHSFSXUYVYTZS[",3613:" 67E_GOHOIPIXGYHYJZK[ RINJOJYLZ RGOIMKOKXMYK[ RKPNOPNQMSOSXUYS[ RPNRORYTZ RNOOOQPQXPYRZS[ RSPVOXNYMZN\\O]O[P[X\\Y]Y RXNZOZY[Z RVOWOYPYY[[]Y",3614:" 45I[KOLOMPMXKYLYNZO[ RMNNONYPZ RKOMMOOOXQYO[ ROPROTNUMVNXOYOWPWXXYYY RTNVOVYWZ RROSOUPUYW[YY",3615:" 40I[MOMXKY RNPNXQZ ROOOXQYRZ RKYMYOZP[RZUYWY RMOOORNTMUNWOYOWPWY RSNVPVX RRNSOUPUY",3616:" 54I[LMMOMXKYMYMb RMNNONaO`N^ RNYOYQZ RLMNNOOOXQYRZ ROZP[RZUYWY ROZO^P`Mb ROPROTNUMVNXOYOWPWY RTNVOVX RROSOUPUY",3617:" 44I[MOMXKY RNPNYPZ ROOOXQYRY RKYLYNZO[PZRYUX RMOOORNTMUNWOYOWPWb RSNVPVaU`V^ RRNSOUPU^T`Wb",3618:" 38JXLOMONPNXLYMYOZP[ RMNOOOYQZ RLONMPOPXRYSYQZP[ RPOTMUNWOXO RSNTOVO RRNTPVPXO",3619:" 59JZMOMSOTUTWUWY RNONS RVUVY RPNOOOSQT RSTUUUYTZ RMOPNRMTNVNWM RQNSN RPNROTOVN RWYTZR[PZNZL[ RSZQZ RTZRYOYL[ RWMVOTROWL[",3620:" 28MWPHQJQXOYPYRZS[ RRJQHRGRYTZ RPHSFSXUYVYTZS[ RNMQM RSMVM",3621:" 47I[KOLOMPMXKY RLNNONYPZ RKOMMOOOXQYRY RKYLYNZO[PZRYUX RUMVNXOYOWPWXXYYY RTNVOVYWZ RUMSOUPUYW[YY",3622:" 36I[LMMOMXP[RYUXWX RMNNONXQZ RLMNNOOOWPXRY RUMVNXOYOWPWX RTNVOVW RUMSOUPUX",3623:" 57E_HMIOIXL[NYQX RINJOJXMZ RHMJNKOKWLXNY RQMOOQPQXT[VYYX[X RPNRORXUZ RQMRNTOSPSWTXVY RYMZN\\O]O[P[X RXNZOZW RYMWOYPYX",3624:" 59H[KOLONPOQSYTZV[XY RMNOOTYVZ RKOMMONPOTWUXWYXY RRSUMVNXNYM RUNVOWO RTOVPXOYM RQUN[MZKZJ[ RNZMYLY ROYMXKYJ[ RMTPT RSTVT",3625:" 60I[KOLOMPMXKY RLNNONYPZ RKOMMOOOXQYRY RKYLYNZO[PZRYUX RUMVNXOYOWPW\\V_TaRbQaO`M` RTNVOV\\ RSaQ`P` RUMSOUPUZV]V_ RTaS`Q_O_M`",3626:" 38I[XML[ RLONPQPTOXM RMNOOSO RLONMPNTNXM RL[PYSXVXXY RQYUYWZ RL[PZTZV[XY RNTVT",3700:" 42H\\LHLXJY RMIMXPZ RNHNXPYQZ RLHNHSGUF RSGTHVIVY RTGWIWX RUFVGXHZHXIXY RJYLYNZO[QZVYXY",3701:" 27H\\OHPIQKQXOY RQIPHQGRIRYTZ ROHRFSHSXUYVY ROYPYRZS[TZVY",3702:" 48H\\LHNHPGQFSGVHXH RPHRG RLHNIPIRHSG RVHVP RWIWO RXHXPQPNQLSKVK[ RK[OYSXVXZY RNZQYVYYZ RK[PZUZX[ZY",3703:" 57H\\LHMHOGPFRGVHXH ROHQG RLHNIPIRG RVHVO RWIWN RXHXOVOSPQQ RQPSQVRXRXY RWSWX RVRVY RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3704:" 41H\\UFKPKUTU RVUZU[V[TZU RLPLT RMNMU RTGTXRY RUJVHUGUYWZ RUFWHVJVXXYYY RRYSYUZV[WZYY",3705:" 53H\\LFLO RLFXF RMGVG RLHUHWGXF RVLUMSNOOLO RSNTNVOVY RUMWNWX RVLWMYNZNXOXY RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3706:" 59H\\LHLXJY RMIMXPZ RNHNXPYQZ RLHNHRGTFUGWHXH RSGUH RRGTIVIXH RNPOPSOUNVM RSOTOVPVY RUNWPWX RVMWNYOZOXPXY RJYLYNZO[QZVYXY",3707:" 38H\\KHMFPGUGZF RLGOHTHWG RKHOIRIVHZF RZFYHWKSOQRPUPXQ[ RRQQTQWRZ RUMSPRSRVSYQ[",3708:" 71H\\LILO RMJMN RNINO RLINISHUGVF RSHTHVIVO RUGWHWN RVFWGYHZHXIXO RLONOVRXR RXOVONRLR RLRLXJY RMSMXPZ RNRNXPYQZ RVRVY RWSWX RXRXY RJYLYNZO[QZVYXY",3709:" 60H\\LHLQJR RMIMROS RNHNQPRQR RLHNHSGUF RSGTHVIVY RTGWIWX RUFVGXHZHXIXY RJRKRMSNTOSQRUQVQ RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3710:" 11LXRXPZR[TZRX RRYQZSZRY",3711:" 14LXR^R\\PZRXSZS\\R^P_ RRYQZR[RY",3712:" 22LXRMPORPTORM RRNQOSORN RRXPZR[TZRX RRYQZSZRY",3713:" 25LXRMPORPTORM RRNQOSORN RR^R\\PZRXSZS\\R^P_ RRYQZR[RY",3714:" 30LXRFQGOHQIRT RRISHRGQHRIRT RRFSGUHSIRT RRXPZR[TZRX RRYQZSZRY",3715:" 51I[LJMHNGQFSFVGWHXJXLWNUPSQ RMJNH RVHWIWMVN RLJNKNIOGQF RSFUGVIVMUOSQ RRQRTSQQQRT RRXPZR[TZRX RRYQZSZRY",3716:" 14LXTFRGQIQKRMTKRIRG RRJRLSKRJ",3717:" 14LXRLRJPHRFSHSJRLPM RRGQHRIRG",3718:" 62E_YNZO[O\\N RXOYP[P RXPYQZQ[P\\N RYNST RRUL[HVNP ROOSKOFJLPRTXVZX[Z[[Z\\X RLZIV RRKOG RKLPQTWVYXZ[Z RMZIU RRLNG RKKQQUWVXXY[Y\\X",3719:" 60H\\PBP_ RTBT_ RTFVGWIWKYJXHWGTFPFMGKIKLLNOPURWSXUXXWZ RXJWH RLLMNOOUQWRXT RMYLW RMGLILKMMONUPXRYTYWXYWZT[P[MZLYKWMVMXNZP[",3720:" 8G^[BIbJb R[B\\BJb",3721:" 27KYUBSDQGOKNPNTOYQ]S`Ub RQHPKOOOUPYQ\\ RSDRFQIPOPUQ[R^S`",3722:" 27KYOBQDSGUKVPVTUYS]Q`Ob RSHTKUOUUTYS\\ RQDRFSITOTUS[R^Q`",3723:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",3724:" 8F_JQ[Q[R RJQJR[R",3725:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3726:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3727:" 11NWSFRGRM RSGRM RSFTGRM",3728:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",3729:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",3801:" 52E_NHLIJKIMHPHSIUKV RJLIOISJU RNHLJKLJOJRKVKXJZH[ RVHXHXYVY RYHYY RZGZZ RHFKGQHVHZG\\F RJPXP RH[KZQYVYZZ\\[",3802:" 65E_LGLZ RMGMZ RPFNGNZP[ RHJJHLGPFUFXGZIZKYM RXHYIYKXM RUFWGXIXKWL RQUOTNRNPONPMSLVLYM[O\\Q\\T[WYYWZT[P[LZJYHW RZO[Q[UZW RVLYNZQZUYXWZ",3803:" 60E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[Y\\[ R[HZMZT[Y RZKYJ RZNYKXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RYWZV RVZXXYVZS",3804:" 46E_KGKZ RLGLZ RNFMGMZN[ RHKIIKGNFSFVGXHZJ[L\\O\\R[UZWXYVZS[N[KZIXHV RZK[N[SZV RVGXIYKZNZSYVXXVZ",3805:" 86E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[Y\\[ R[HZMZT[Y RZKYJ RZMXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RYWZV RVZXXYVZS RJPKONOUQXQZP RPPRQURWRYQ RMORRUSWSYRZP RZMYLXLWMXNYM",3806:" 69E_JHJZ RMGKHKY ROFMGLILYNY RHJJHLGOFSFVGXHYI\\F R\\F[HZLZO[S\\U RZIYK RVGXIYLZO RLPMOOOTPWPYO RQPTQVQXP RNOTRVRXQYOYLXKWKVLWMXL RH[JZNYSYYZ\\[",3807:" 90E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[T[VZXYYXZV[Y\\[ R[HZMZT[Y RZKYJ RZNYKXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RXXYVYR RVZWYXVXQ RKSLRMSLTKTJS RJPKNMMOMRNUPWQ RKOMNONROTP RJPLOOOUQYQZP",3808:" 50E_JGJZH[ RKHKZ RNHLHLZ RHFJGNHSHYG\\F RLPMNOLRKVKYL[N\\Q\\T[UYV RZN[P[SZU RVKXLYMZOZSYVYXZZ\\[ RH[LZPZU[",3809:" 23E_QIQY RRJRX RSISY RHFLHPITIXH\\F RH[KZOYUYYZ\\[",3810:" 42E_TIVIVXUZS[ RWIWXVY RXHXY RHFLHPITIXH\\F RIOHQHUIXKZN[S[VZXYZW\\T RIUJXKY RHSJUKXLZN[",3811:" 70E_JGJZH[ RKHKZ RNHLHLZ RHFJGNHSHYG\\F RLPMNOLRKUKXLYMYOXPSRQSPTPUQVRUQT RWLXMXOWP RUKWMWOVPSR RSRVRYSZUZWYX RWSYUYW RSRVSXUYXZZ[[\\[ RH[LZPZU[",3812:" 45E_JGJZ RKHKY RNHLHLYNY R\\KZNYPXSXUYW[X RZOYRYUZW R\\K[MZQZT[X\\[ RHFJGNHSHYG\\F RH[JZNYSYYZ\\[",3813:" 68E_QIQY RRJRX RSISY RNYLWJVIUHRHMIJKHMGPFTFWGYH[J\\M\\R[UZVXWVY RJUIRIMJJ RLWKUJRJLKIMG RZJ[M[RZU RWGYIZLZRYUXW RHFLHPITIXH\\F RH[KZOYUYYZ\\[",3814:" 48E_JHJZH[ RLHKIKZ ROFMGLILZ RHJJHLGOFSFVGXHZJ[L\\O\\S[UYV RZK[N[RZU RVGXIYKZNZRYVYXZZ[[\\[ RH[LZPZU[",3815:" 54E_QFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXHVGSFQF RJKINISJV RNGLIKKJNJSKVLXNZ RZV[S[NZK RVZXXYVZSZNYKXIVG",3816:" 51E_JIJZ RMHKJKY RQFOGMILKLYNY RHKJINGQFTFWGYH[J\\M\\O[RYTVURUOTMRLO RZJ[L[PZR RWGYIZLZPYSVU RH[JZNYSYYZ\\[",3817:" 74E_QFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXHVGSFQF RJKINISJV RNGLIKKJNJSKVLXNZ RZV[S[NZK RVZXXYVZSZNYKXIVG RJSKUNVTW[W\\X\\Z[[[Z\\Y RPWRW RKUNWQXSXTW",3818:" 69E_JIJZH[ RKIKZ RLHLZ RHKJILHNGQFUFYG[I\\K\\N[PZQ RYHZI[K[NZP RUFWGYIZKZOYQ RXRUSRSPRPPROUOXPZR\\U\\W[XZX RXQYR[V[WZT RTOVPXRYTZX[Z\\[ RH[LZPZU[",3819:" 94E_TFZG\\F[H[JYHWGTFPFMGJJIMIOJRLTOURUTTUSVQVP R[GZH[J RJPKRLSOTRTTS RKIJKJNKPMRPSRSTRVPWOXO RLQMQNPPNRMUMWNYPZRZUYXWZ RPMRLULXMZO[R[UZW RIWJYIZ RNPNOOMPLRKUKXL[O\\R\\T[WYYWZT[P[MZKYIWIYH[JZP[",3820:" 66E_QHMHKIJJILHOHSIVJXKYMZP[S[VZXYZW[U\\R\\N[KYIWH RUHTITKULVKUJ RISJVLXNYQZTZWY RJJINIQJTLWNXQYTYWXYW[T\\R RHFKI RKHLG RIGJGKFMGQHWHZG\\F",3821:" 51E_LHJJILHOHRIUJWLYNZQ[U[XZZY RKJJLIOISJV RKILJLKKMJPJSKVLXNZ RVHXHXXWZU[ RYHYXXY RZGZY\\[ RHFKGQHVHZG\\F",3822:" 31E_HFR[ RIGJHQWRY RJGKHRWSX R\\FR[ RWNUS RYLUQTTTV RHFJGOHUHZG\\F",3823:" 67E_LHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXH RJLIOIRJUKW RJJKKKLJOJRKVLXNZ RYWZU[R[OZL RVZXXYVZRZOYLYKZJ RQIQ[ RRJRZ RSIS[ RHFLHPITIXH\\F",3824:" 41E_HFXYYZ RIGKHZZ RLH\\[ R\\FSP RQRJZ RPSMULW RQRMTLUKWKY RHFLHPITIXH\\F RH[JZNYSYYZ\\[",3825:" 47E_XHXZ RYHYY RZGZY RKHIJHMHPISKUMVPWSWVVXU RLUOVUV RHPIRKTNUTUVV RHFLHPITIXH\\F RHWJYLZP[T[XZ\\X",3826:" 73E_HFIGKHNHSFVFYGZIZKYM RXGYIYKXM RVFWGXIXL RXNTOROPNPLRKTKXL RTKVLWMVNTO RYM[O\\R\\T[WYYWZT[P[MZKYIWHTHRIOJNLMNMPNPPOQNPOO RXMZO[Q[UZW RXNYOZQZUYXWZ",3901:" 42J[PQMTMXP[TY RNTNXPZ ROROWRZ RRSMNNMONNO RONSNUMWOWXXY RUNVOVXUYVZWYVX RSNUPUXTYV[XY",3902:" 31IZNHLFMJMXP[UYWX RNHNXPZ RNHPFOJOWRZ ROOTMWPWX RTNVPVX RRNUQUY",3903:" 23KWNPNYP[RY ROPOYPZ RPOPXQYRY RNPTMVOTPRN RSNUO",3904:" 32JZRMMPMXP[RZUYWY RNPNXPZ ROOOWRZ RPIPFQIWPWY RPIVPVX RPIMIPJUPUY",3905:" 25KXNPNYP[RY ROPOYPZ RPOPXQYRY RNPTMWQPU RSNVQ RRNUR",3906:" 32KWOIOXNYP[ RPIPXOYPZQYPX RQHQXRYP[ ROIUFWHUISG RTGVH RLMOM RQMUM",3907:" 41J[MPMXP[UY RNPNXPZ ROOOWRZ RMPOOTMWPW]V_U`SaQaO`MaObQa RTNVPV]U_ RPaNa RRNUQU^T`Sa",3908:" 42I[NHLFMJMXLYN[ RNHNXMYNZOYNX RNHPFOJOXPYN[ ROORNTMWPWYT]T`UbVbT` RTNVPVYU[ RRNUQUZT]",3909:" 37MWRFPHRJTHRF RRGQHRISHRG RRMPOQPQXPYR[ RRPSORNQORPRXQYRZSYRX RRMTOSPSXTYR[",3910:" 37MWRFPHRJTHRF RRGQHRISHRG RRMPOQPQYT] RRPSORNQORPRYS[ RRMTOSPSZT]T`RbPaPbRb",3911:" 51IZNHLFMJMXLYN[ RNHNXMYNZOYNX RNHPFOJOXPYN[ ROPRNTMVPSROU RSNUP RRNTQ RRSSTTYV[XY RSSTUUYVZ RSRTSVXWYXY",3912:" 21MWRHPFQJQXPYR[ RRHRXQYRZSYRX RRHTFSJSXTYR[",3913:" 66E_GOHOIPIXHYJ[ RINJOJXIYJZKYJX RGOIMKOKXLYJ[ RKONNPMSOSXTYR[ RPNRORXQYRZSYRX RNNQPQXPYR[ RSOVNXM[O[X\\YZ[ RXNZOZXYYZZ[YZX RVNYPYXXYZ[",3914:" 44I[KOLOMPMXLYN[ RMNNONXMYNZOYNX RKOMMOOOXPYN[ ROORNTMWOWXXYV[ RTNVOVXUYVZWYVX RRNUPUXTYV[",3915:" 28JZMPMXP[UYWX RNPNXPZ ROOOWRZ RMPOOTMWPWX RTNVPVX RRNUQUY",3916:" 47IZLMMOMXKYMYM_LbN` RNON` RLMNNOOOXQYRZ RNYOYQZ ROZP[UYWX ROZO_PbN` ROORNTMWPWX RTNVPVX RRNUQUY",3917:" 31J[MPMXP[UY RNPNXPZ ROOOWRZ RMPOOTMWPW_XbV` RTNVPV` RRNUQU_TbV`",3918:" 31KXMONOOPOXNYP[ RONPOPXOYPZQYPX RMOOMQOQXRYP[ RQOUMWOUPSN RTNVO",3919:" 41JZMPMSOUURWTWX RNPNSOT ROOOSPT RUSVTVX RTSUTUY RMPSMVNTOQN RRNUN RWXQ[MYOXSZ ROYQZ",3920:" 27MWRHPFQJQXPYR[ RRHRXQYRZSYRX RRHTFSJSXTYR[ RNMQM RSMVM",3921:" 40I[KOLOMPMYP[UY RMNNONYPZ RKOMMOOOXRZ RVMXOWPWXXYYY RVPWOVNUOVPVYWZ RVMTOUPUYW[YY",3922:" 36I[LMMOMXQ[SYWW RMNNONXQZ RLMNNOOOWRYSY RVMXOWPWW RVPWOVNUOVPVW RVMTOUPUX",3923:" 59E_HMIOIXM[OYQX RINJOJXMZ RHMJNKOKWNYOY RRMPOQPQXU[WY[W RRPSORNQORPRXUZ RRMTOSPSWVYWY RZM\\O[P[W RZP[OZNYOZPZW RZMXOYPYX",3924:" 39I[LONPUZV[XY RMNOOUYWZ RLONMONVXXY RXMVMVOXOXMVOSS RQUNYL[N[NYLYL[ RNTQT RSTVT",3925:" 49I[KOLOMPMYP[UY RMNNONYPZ RKOMMOOOXRZ RVMXOWPW]V_U`SaQaO`MaObQa RVPWOVNUOVPV^U_ RPaNa RVMTOUPU^T`Sa",3926:" 43L[RNOPOORNTMWOWSRU RTNVOVS RRNUPUSTT RRUWWW]V_U`SaQaO`MaObQa RVWV^U_ RPaNa RTVUWU^T`Sa"},dn={"\\frac":{glyph:0,arity:2,flags:{}},"\\binom":{glyph:0,arity:2,flags:{}},"\\sqrt":{glyph:2267,arity:1,flags:{opt:!0,xfl:!0,yfl:!0}},"^":{glyph:0,arity:1,flags:{}},_:{glyph:0,arity:1,flags:{}},"(":{glyph:2221,arity:0,flags:{yfl:!0}},")":{glyph:2222,arity:0,flags:{yfl:!0}},"[":{glyph:2223,arity:0,flags:{yfl:!0}},"]":{glyph:2224,arity:0,flags:{yfl:!0}},"\\langle":{glyph:2227,arity:0,flags:{yfl:!0}},"\\rangle":{glyph:2228,arity:0,flags:{yfl:!0}},"|":{glyph:2229,arity:0,flags:{yfl:!0}},"\\|":{glyph:2230,arity:0,flags:{yfl:!0}},"\\{":{glyph:2225,arity:0,flags:{yfl:!0}},"\\}":{glyph:2226,arity:0,flags:{yfl:!0}},"\\#":{glyph:2275,arity:0,flags:{}},"\\$":{glyph:2274,arity:0,flags:{}},"\\&":{glyph:2273,arity:0,flags:{}},"\\%":{glyph:2271,arity:0,flags:{}},"\\begin":{glyph:0,arity:1,flags:{}},"\\end":{glyph:0,arity:1,flags:{}},"\\left":{glyph:0,arity:1,flags:{}},"\\right":{glyph:0,arity:1,flags:{}},"\\middle":{glyph:0,arity:1,flags:{}},"\\cdot":{glyph:2236,arity:0,flags:{}},"\\pm":{glyph:2233,arity:0,flags:{}},"\\mp":{glyph:2234,arity:0,flags:{}},"\\times":{glyph:2235,arity:0,flags:{}},"\\div":{glyph:2237,arity:0,flags:{}},"\\leqq":{glyph:2243,arity:0,flags:{}},"\\geqq":{glyph:2244,arity:0,flags:{}},"\\leq":{glyph:2243,arity:0,flags:{}},"\\geq":{glyph:2244,arity:0,flags:{}},"\\propto":{glyph:2245,arity:0,flags:{}},"\\sim":{glyph:2246,arity:0,flags:{}},"\\equiv":{glyph:2240,arity:0,flags:{}},"\\dagger":{glyph:2277,arity:0,flags:{}},"\\ddagger":{glyph:2278,arity:0,flags:{}},"\\ell":{glyph:662,arity:0,flags:{}},"\\vec":{glyph:2261,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\overrightarrow":{glyph:2261,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\overleftarrow":{glyph:2263,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\bar":{glyph:2231,arity:1,flags:{hat:!0,xfl:!0}},"\\overline":{glyph:2231,arity:1,flags:{hat:!0,xfl:!0}},"\\widehat":{glyph:2247,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\hat":{glyph:2247,arity:1,flags:{hat:!0}},"\\acute":{glyph:2248,arity:1,flags:{hat:!0}},"\\grave":{glyph:2249,arity:1,flags:{hat:!0}},"\\breve":{glyph:2250,arity:1,flags:{hat:!0}},"\\tilde":{glyph:2246,arity:1,flags:{hat:!0}},"\\underline":{glyph:2231,arity:1,flags:{mat:!0,xfl:!0}},"\\not":{glyph:2220,arity:1,flags:{}},"\\neq":{glyph:2239,arity:1,flags:{}},"\\ne":{glyph:2239,arity:1,flags:{}},"\\exists":{glyph:2279,arity:0,flags:{}},"\\in":{glyph:2260,arity:0,flags:{}},"\\subset":{glyph:2256,arity:0,flags:{}},"\\supset":{glyph:2258,arity:0,flags:{}},"\\cup":{glyph:2257,arity:0,flags:{}},"\\cap":{glyph:2259,arity:0,flags:{}},"\\infty":{glyph:2270,arity:0,flags:{}},"\\partial":{glyph:2265,arity:0,flags:{}},"\\nabla":{glyph:2266,arity:0,flags:{}},"\\aleph":{glyph:2077,arity:0,flags:{}},"\\wp":{glyph:2190,arity:0,flags:{}},"\\therefore":{glyph:740,arity:0,flags:{}},"\\mid":{glyph:2229,arity:0,flags:{}},"\\sum":{glyph:2402,arity:0,flags:{big:!0}},"\\prod":{glyph:2401,arity:0,flags:{big:!0}},"\\bigoplus":{glyph:2284,arity:0,flags:{big:!0}},"\\bigodot":{glyph:2281,arity:0,flags:{big:!0}},"\\int":{glyph:2412,arity:0,flags:{yfl:!0}},"\\oint":{glyph:2269,arity:0,flags:{yfl:!0}},"\\oplus":{glyph:1284,arity:0,flags:{}},"\\odot":{glyph:1281,arity:0,flags:{}},"\\perp":{glyph:738,arity:0,flags:{}},"\\angle":{glyph:739,arity:0,flags:{}},"\\triangle":{glyph:842,arity:0,flags:{}},"\\Box":{glyph:841,arity:0,flags:{}},"\\rightarrow":{glyph:2261,arity:0,flags:{}},"\\to":{glyph:2261,arity:0,flags:{}},"\\leftarrow":{glyph:2263,arity:0,flags:{}},"\\gets":{glyph:2263,arity:0,flags:{}},"\\circ":{glyph:902,arity:0,flags:{}},"\\bigcirc":{glyph:904,arity:0,flags:{}},"\\bullet":{glyph:828,arity:0,flags:{}},"\\star":{glyph:856,arity:0,flags:{}},"\\diamond":{glyph:743,arity:0,flags:{}},"\\ast":{glyph:728,arity:0,flags:{}},"\\log":{glyph:0,arity:0,flags:{txt:!0}},"\\ln":{glyph:0,arity:0,flags:{txt:!0}},"\\exp":{glyph:0,arity:0,flags:{txt:!0}},"\\mod":{glyph:0,arity:0,flags:{txt:!0}},"\\lim":{glyph:0,arity:0,flags:{txt:!0,big:!0}},"\\sin":{glyph:0,arity:0,flags:{txt:!0}},"\\cos":{glyph:0,arity:0,flags:{txt:!0}},"\\tan":{glyph:0,arity:0,flags:{txt:!0}},"\\csc":{glyph:0,arity:0,flags:{txt:!0}},"\\sec":{glyph:0,arity:0,flags:{txt:!0}},"\\cot":{glyph:0,arity:0,flags:{txt:!0}},"\\sinh":{glyph:0,arity:0,flags:{txt:!0}},"\\cosh":{glyph:0,arity:0,flags:{txt:!0}},"\\tanh":{glyph:0,arity:0,flags:{txt:!0}},"\\csch":{glyph:0,arity:0,flags:{txt:!0}},"\\sech":{glyph:0,arity:0,flags:{txt:!0}},"\\coth":{glyph:0,arity:0,flags:{txt:!0}},"\\arcsin":{glyph:0,arity:0,flags:{txt:!0}},"\\arccos":{glyph:0,arity:0,flags:{txt:!0}},"\\arctan":{glyph:0,arity:0,flags:{txt:!0}},"\\arccsc":{glyph:0,arity:0,flags:{txt:!0}},"\\arcsec":{glyph:0,arity:0,flags:{txt:!0}},"\\arccot":{glyph:0,arity:0,flags:{txt:!0}},"\\text":{glyph:0,arity:1,flags:{}},"\\mathnormal":{glyph:0,arity:1,flags:{}},"\\mathrm":{glyph:0,arity:1,flags:{}},"\\mathit":{glyph:0,arity:1,flags:{}},"\\mathbf":{glyph:0,arity:1,flags:{}},"\\mathsf":{glyph:0,arity:1,flags:{}},"\\mathtt":{glyph:0,arity:1,flags:{}},"\\mathfrak":{glyph:0,arity:1,flags:{}},"\\mathcal":{glyph:0,arity:1,flags:{}},"\\mathbb":{glyph:0,arity:1,flags:{}},"\\mathscr":{glyph:0,arity:1,flags:{}},"\\rm":{glyph:0,arity:1,flags:{}},"\\it":{glyph:0,arity:1,flags:{}},"\\bf":{glyph:0,arity:1,flags:{}},"\\sf":{glyph:0,arity:1,flags:{}},"\\tt":{glyph:0,arity:1,flags:{}},"\\frak":{glyph:0,arity:1,flags:{}},"\\cal":{glyph:0,arity:1,flags:{}},"\\bb":{glyph:0,arity:1,flags:{}},"\\scr":{glyph:0,arity:1,flags:{}},"\\quad":{glyph:0,arity:0,flags:{}},"\\,":{glyph:0,arity:0,flags:{}},"\\.":{glyph:0,arity:0,flags:{}},"\\;":{glyph:0,arity:0,flags:{}},"\\!":{glyph:0,arity:0,flags:{}},"\\alpha":{glyph:2127,flags:{}},"\\beta":{glyph:2128,flags:{}},"\\gamma":{glyph:2129,flags:{}},"\\delta":{glyph:2130,flags:{}},"\\varepsilon":{glyph:2131,flags:{}},"\\zeta":{glyph:2132,flags:{}},"\\eta":{glyph:2133,flags:{}},"\\vartheta":{glyph:2134,flags:{}},"\\iota":{glyph:2135,flags:{}},"\\kappa":{glyph:2136,flags:{}},"\\lambda":{glyph:2137,flags:{}},"\\mu":{glyph:2138,flags:{}},"\\nu":{glyph:2139,flags:{}},"\\xi":{glyph:2140,flags:{}},"\\omicron":{glyph:2141,flags:{}},"\\pi":{glyph:2142,flags:{}},"\\rho":{glyph:2143,flags:{}},"\\sigma":{glyph:2144,flags:{}},"\\tau":{glyph:2145,flags:{}},"\\upsilon":{glyph:2146,flags:{}},"\\varphi":{glyph:2147,flags:{}},"\\chi":{glyph:2148,flags:{}},"\\psi":{glyph:2149,flags:{}},"\\omega":{glyph:2150,flags:{}},"\\epsilon":{glyph:2184,flags:{}},"\\theta":{glyph:2185,flags:{}},"\\phi":{glyph:2186,flags:{}},"\\varsigma":{glyph:2187,flags:{}},"\\Alpha":{glyph:2027,flags:{}},"\\Beta":{glyph:2028,flags:{}},"\\Gamma":{glyph:2029,flags:{}},"\\Delta":{glyph:2030,flags:{}},"\\Epsilon":{glyph:2031,flags:{}},"\\Zeta":{glyph:2032,flags:{}},"\\Eta":{glyph:2033,flags:{}},"\\Theta":{glyph:2034,flags:{}},"\\Iota":{glyph:2035,flags:{}},"\\Kappa":{glyph:2036,flags:{}},"\\Lambda":{glyph:2037,flags:{}},"\\Mu":{glyph:2038,flags:{}},"\\Nu":{glyph:2039,flags:{}},"\\Xi":{glyph:2040,flags:{}},"\\Omicron":{glyph:2041,flags:{}},"\\Pi":{glyph:2042,flags:{}},"\\Rho":{glyph:2043,flags:{}},"\\Sigma":{glyph:2044,flags:{}},"\\Tau":{glyph:2045,flags:{}},"\\Upsilon":{glyph:2046,flags:{}},"\\Phi":{glyph:2047,flags:{}},"\\Chi":{glyph:2048,flags:{}},"\\Psi":{glyph:2049,flags:{}},"\\Omega":{glyph:2050,flags:{}}};function ug(e,t="math"){let n=e.charCodeAt(0);if(65<=n&&n<=90){let r=n-65;return t=="text"||t=="rm"?r+2001:t=="tt"?r+501:t=="bf"||t=="bb"?r+3001:t=="sf"?r+2501:t=="frak"?r+3301:t=="scr"||t=="cal"?r+2551:r+2051}if(97<=n&&n<=122){let r=n-97;return t=="text"||t=="rm"?r+2101:t=="tt"?r+601:t=="bf"||t=="bb"?r+3101:t=="sf"?r+2601:t=="frak"?r+3401:t=="scr"||t=="cal"?r+2651:r+2151}if(48<=n&&n<=57){let r=n-48;return t=="it"?r+2750:t=="bf"?r+3200:t=="tt"?r+700:r+2200}return{".":2210,",":2211,":":2212,";":2213,"!":2214,"?":2215,"'":2216,'"':2217,"*":2219,"/":2220,"-":2231,"+":2232,"=":2238,"<":2241,">":2242,"~":2246,"@":2273,"\\":804}[e]}var Li={SUB_SUP_SCALE:.75,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function Yhe(e){e=e.replace(/\n/g," ");let t=0,n=[],r="";for(;t<e.length;)e[t]==" "?r.length&&(n.push(r),r=""):e[t]=="\\"?r.length==1&&r[0]=="\\"?r+=e[t]:(r.length&&n.push(r),r=e[t]):/[A-Za-z0-9\.]/.test(e[t])?r+=e[t]:(r.length&&r!="\\"&&(n.push(r),r=""),r+=e[t],n.push(r),r=""),t++;return r.length&&n.push(r),n}function Qhe(e){return{type:dn[e]?"symb":"char",mode:"math",text:e,chld:[],bbox:null}}function Rb(e){let t=0,n={type:"node",text:"",mode:"math",chld:[],bbox:null};function r(){if(e[t]!="[")return null;let i=0,a=t,s;for(;a<e.length;){if(e[a]=="[")i++;else if(e[a]=="]"&&(i--,!i))break;a++}return s=Rb(e.slice(t+1,a)),t=a,s}function o(i){let a=t,s=a,l=0,c=0,u=[];for(;a<e.length;){if(e[a]=="{")l||(s=a),l++;else if(e[a]=="}"){if(l--,!l&&(u.push(Rb(e.slice(s+1,a))),c++,c==i))break}else if(l==0&&(u.push(Qhe(e[a])),c++,c==i))break;a++}return t=a,u}for(t=0;t<e.length;t++){let i=dn[e[t]],a={type:"",text:e[t],mode:"math",chld:[],bbox:null};if(i)if(i.arity){t++,a.type="func";let s=null;i.flags.opt&&(s=r(),s&&t++);let l=o(i.arity);a.chld=l,s&&a.chld.push(s)}else a.type="symb";else e[t]=="{"?(a.type="node",a.text="",a.chld=o(1)):a.type="char";n.chld.push(a)}return n.chld.length==1&&(n=n.chld[0]),n}function w_(e){let t=0;for(;t<e.length;){if(e[t].text=="\\begin"){let n;for(n=t;n<e.length&&e[n].text!="\\end";n++);let r=e.splice(t+1,n-(t+1));w_(r),e[t].text=e[t].chld[0].text,e[t].chld=r,e.splice(t+1,1)}t++}}function Fo(e,t,n,r,o,i){if(n==null&&(n=t),!!e.bbox){i&&(e.bbox.x*=t,e.bbox.y*=n),e.bbox.w*=t,e.bbox.h*=n;for(var a=0;a<e.chld.length;a++)Fo(e.chld[a],t,n,0,0,!0);e.bbox.x+=r,e.bbox.y+=o}}function L_(e){let t=1/0,n=-1/0,r=1/0,o=-1/0;for(let i=0;i<e.length;i++)e[i].bbox&&(t=Math.min(t,e[i].bbox.x),r=Math.min(r,e[i].bbox.y),n=Math.max(n,e[i].bbox.x+e[i].bbox.w),o=Math.max(o,e[i].bbox.y+e[i].bbox.h));return{x:t,y:r,w:n-t,h:o-r}}function Zhe(e){if(!e.length)return null;let t=L_(e);for(let r=0;r<e.length;r++)e[r].bbox&&(e[r].bbox.x-=t.x,e[r].bbox.y-=t.y);return{type:"node",text:"",mode:"math",chld:e,bbox:t}}function Bhe(e,t="center"){for(let c=0;c<e.length;c++)if(e[c].text=="^"||e[c].text=="'"){let u=0,f=c;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;u=e[f].bbox.y,e[c].text=="'"?e[c].bbox.y=u:(Fo(e[c],Li.SUB_SUP_SCALE,null,0,0),dn[e[f].text]&&dn[e[f].text].flags.big?e[c].bbox.y=u-e[c].bbox.h:e[f].text=="\\int"?e[c].bbox.y=u:e[c].bbox.y=u-e[c].bbox.h/2)}else if(e[c].text=="_"){let u=1,f=c;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;u=e[f].bbox.y+e[f].bbox.h,Fo(e[c],Li.SUB_SUP_SCALE,null,0,0),dn[e[f].text]&&dn[e[f].text].flags.big?e[c].bbox.y=u:e[f].text=="\\int"?e[c].bbox.y=u-e[c].bbox.h:e[c].bbox.y=u-e[c].bbox.h/2}function n(c,u,f,d,h){let p=c,v=h,m=1/0,x=-1/0;for(;d>0?p<e.length:p>=0;){if(e[p].text==u)v++;else if(e[p].text==f){if(v--,v==0)break}else e[p].text=="^"||e[p].text=="_"||e[p].bbox&&(m=Math.min(m,e[p].bbox.y),x=Math.max(x,e[p].bbox.y+e[p].bbox.h));p+=d}return[m,x]}for(let c=0;c<e.length;c++)if(e[c].text=="\\left"){const[u,f]=n(c,"\\left","\\right",1,0);u!=1/0&&f!=-1/0&&(e[c].bbox.y=u,Fo(e[c],1,(f-u)/e[c].bbox.h,0,0))}else if(e[c].text=="\\right"){const[u,f]=n(c,"\\right","\\left",-1,0);u!=1/0&&f!=-1/0&&(e[c].bbox.y=u,Fo(e[c],1,(f-u)/e[c].bbox.h,0,0))}else if(e[c].text=="\\middle"){const[u,f]=n(c,"\\right","\\left",-1,1),[d,h]=n(c,"\\left","\\right",1,1);let p=Math.min(u,d),v=Math.max(f,h);p!=1/0&&v!=-1/0&&(e[c].bbox.y=p,Fo(e[c],1,(v-p)/e[c].bbox.h,0,0))}if(!e.some(c=>c.text=="&"||c.text=="\\\\"))return;let r=[],o=[],i=[];for(let c=0;c<e.length;c++)e[c].text=="&"?(o.push(i),i=[]):e[c].text=="\\\\"?(i.length&&(o.push(i),i=[]),r.push(o),o=[]):i.push(e[c]);i.length&&o.push(i),o.length&&r.push(o);let a=[],s=[];for(let c=0;c<r.length;c++){let u=[];for(let f=0;f<r[c].length;f++){let d=Zhe(r[c][f]);d&&(a[f]=a[f]||0,a[f]=Math.max(d.bbox.w+1,a[f])),u[f]=d}s.push(u)}let l=[];for(let c=0;c<s.length;c++){let u=1/0,f=-1/0;for(let d=0;d<s[c].length;d++)s[c][d]&&(u=Math.min(u,s[c][d].bbox.y),f=Math.max(f,s[c][d].bbox.y+s[c][d].bbox.h));l.push([u,f])}for(let c=0;c<l.length;c++)(l[c][0]==1/0||l[c][1]==1/0)&&(l[c][0]=c==0?0:l[c-1][1],l[c][1]=l[c][0]+2);for(let c=1;c<s.length;c++){let u=l[c-1][1]-l[c][0]+Li.LINE_SPACING;for(let f=0;f<s[c].length;f++)s[c][f]&&(s[c][f].bbox.y+=u);l[c][0]+=u,l[c][1]+=u}e.splice(0,e.length);for(let c=0;c<s.length;c++){let u=0;for(let f=0;f<s[c].length;f++){let d=s[c][f];if(!d){u+=a[f];continue}d.bbox.x+=u,u+=a[f]-d.bbox.w,t=="center"?d.bbox.x+=(a[f]-d.bbox.w)/2:t=="left"||(t=="right"||t=="equation"&&f!=s[c].length-1)&&(d.bbox.x+=a[f]-d.bbox.w),e.push(d)}}}function Ga(e,t="math"){var n,r,o;let i=(n={"\\text":"text","\\mathnormal":"math","\\mathrm":"rm","\\mathit":"it","\\mathbf":"bf","\\mathsf":"sf","\\mathtt":"tt","\\mathfrak":"frak","\\mathcal":"cal","\\mathbb":"bb","\\mathscr":"scr","\\rm":"rm","\\it":"it","\\bf":"bf","\\sf":"tt","\\tt":"tt","\\frak":"frak","\\cal":"cal","\\bb":"bb","\\scr":"scr"}[e.text])!=null?n:t;if(!e.chld.length){if(dn[e.text])if(dn[e.text].flags.big)e.text=="\\lim"?e.bbox={x:0,y:0,w:3.5,h:2}:e.bbox={x:0,y:-.5,w:3,h:3};else if(dn[e.text].flags.txt){let s=0;for(var a=1;a<e.text.length;a++)s+=ed(ug(e.text[a],"text")).w;s/=16,e.bbox={x:0,y:0,w:s,h:2}}else if(dn[e.text].glyph){let s=ed(dn[e.text].glyph).w;s/=16,e.text=="\\int"||e.text=="\\oint"?e.bbox={x:0,y:-1.5,w:s,h:5}:e.bbox={x:0,y:0,w:s,h:2}}else e.bbox={x:0,y:0,w:1,h:2};else{let s=0;for(var a=0;a<e.text.length;a++)ed(ug(e.text[a],i))&&(i=="tt"?s+=16:s+=ed(ug(e.text[a],i)).w);s/=16,e.bbox={x:0,y:0,w:s,h:2}}e.mode=i;return}if(e.text=="\\frac"){let s=e.chld[0],l=e.chld[1],c=Li.FRAC_SCALE;Ga(s),Ga(l),s.bbox.x=0,s.bbox.y=0,l.bbox.x=0,l.bbox.y=0;let u=Math.max(s.bbox.w,l.bbox.w)*c;Fo(s,c,null,(u-s.bbox.w*c)/2,0),Fo(l,c,null,(u-l.bbox.w*c)/2,s.bbox.h+Li.FRAC_SPACING),e.bbox={x:0,y:-s.bbox.h+1-Li.FRAC_SPACING/2,w:u,h:s.bbox.h+l.bbox.h+Li.FRAC_SPACING}}else if(e.text=="\\binom"){let s=e.chld[0],l=e.chld[1];Ga(s),Ga(l),s.bbox.x=0,s.bbox.y=0,l.bbox.x=0,l.bbox.y=0;let c=Math.max(s.bbox.w,l.bbox.w);Fo(s,1,null,(c-s.bbox.w)/2+1,0),Fo(l,1,null,(c-l.bbox.w)/2+1,s.bbox.h),e.bbox={x:0,y:-s.bbox.h+1,w:c+2,h:s.bbox.h+l.bbox.h}}else if(e.text=="\\sqrt"){let s=e.chld[0];Ga(s);let l=e.chld[1],c=0;l&&(Ga(l),c=Math.max(l.bbox.w*Li.SQRT_MAG_SCALE-.5,0),Fo(l,Li.SQRT_MAG_SCALE,null,0,.5)),Fo(s,1,null,1+c,.5),e.bbox={x:0,y:2-s.bbox.h-.5,w:s.bbox.w+1+c,h:s.bbox.h+.5}}else if(dn[e.text]&&dn[e.text].flags.hat){let s=e.chld[0];Ga(s),Fo(s,1,null,0,.5),e.bbox={x:0,y:-.5,w:s.bbox.w,h:s.bbox.h+.5}}else if(dn[e.text]&&dn[e.text].flags.mat){let s=e.chld[0];Ga(s),e.bbox={x:0,y:0,w:s.bbox.w,h:s.bbox.h+.5}}else{let s=0,l=0,c=1;for(let v=0;v<e.chld.length;v++){let m=e.chld[v],x=(r={"\\quad":2,"\\,":2*3/18,"\\:":2*4/18,"\\;":2*5/18,"\\!":2*-3/18}[m.text])!=null?r:null;if(m.text=="\\\\"){l+=c,s=0,c=1;continue}else{if(m.text=="&")continue;if(x!=null){s+=x;continue}else{if(Ga(m,i),Fo(m,1,null,s,l),m.text=="^"||m.text=="_"||m.text=="'"){let y=v;for(;y>0&&(e.chld[y].text=="^"||e.chld[y].text=="_"||e.chld[y].text=="'");)y--;let R=dn[e.chld[y].text]&&dn[e.chld[y].text].flags.big;if(m.text=="'"){let A=y+1,b=0;for(;A<v;)e.chld[A].text=="'"&&b++,A++;m.bbox.x=e.chld[y].bbox.x+e.chld[y].bbox.w+m.bbox.w*b,s=Math.max(s,m.bbox.x+m.bbox.w)}else if(R){let A=e.chld[y].bbox.x+(e.chld[y].bbox.w-m.bbox.w*Li.SUB_SUP_SCALE)/2;m.bbox.x=A,s=Math.max(s,e.chld[y].bbox.x+e.chld[y].bbox.w+(m.bbox.w*Li.SUB_SUP_SCALE-e.chld[y].bbox.w)/2)}else m.bbox.x=e.chld[y].bbox.x+e.chld[y].bbox.w,s=Math.max(s,m.bbox.x+m.bbox.w*Li.SUB_SUP_SCALE)}else s+=m.bbox.w;t=="text"&&(s+=1),c=Math.max(m.bbox.y+m.bbox.h-l,c)}}}l+=c;let u={bmatrix:["[","]"],pmatrix:["(",")"],Bmatrix:["\\{","\\}"],cases:["\\{"]},f=(o={bmatrix:"center",pmatrix:"center",Bmatrix:"center",cases:"left",matrix:"center",aligned:"equation"}[e.text])!=null?o:"left",d=!!u[e.text],h=!!u[e.text]&&u[e.text].length>1;Bhe(e.chld,f);let p=L_(e.chld);e.text=="\\text"&&(p.x-=1,p.w+=2);for(let v=0;v<e.chld.length;v++)Fo(e.chld[v],1,null,-p.x+(d?1.5:0),-p.y);e.bbox={x:0,y:0,w:p.w+1.5*Number(d)+1.5*Number(h),h:p.h},d&&e.chld.unshift({type:"symb",text:u[e.text][0],mode:e.mode,chld:[],bbox:{x:0,y:0,w:1,h:p.h}}),h&&e.chld.push({type:"symb",text:u[e.text][1],mode:e.mode,chld:[],bbox:{x:p.w+2,y:0,w:1,h:p.h}}),(d||h||e.text=="matrix")&&(e.type="node",e.text="",e.bbox.y-=(e.bbox.h-2)/2)}}function Dhe(e){function t(r,o,i){let a=[];if(r.bbox){if(o+=r.bbox.x,i+=r.bbox.y,r.text=="\\frac"){let l=r.chld[1].bbox.y-(r.chld[0].bbox.y+r.chld[0].bbox.h),c={type:"symb",mode:r.mode,text:"\\bar",bbox:{x:o,y:i+(r.chld[1].bbox.y-l/2)-l/2,w:r.bbox.w,h:l},chld:[]};a.push(c)}else if(r.text=="\\sqrt"){let l=r.chld[0].bbox.y,c=Math.max(0,r.chld[0].bbox.x-r.chld[0].bbox.h/2),u={type:"symb",mode:r.mode,text:"\\sqrt",bbox:{x:o+c,y:i+l/2,w:r.chld[0].bbox.x-c,h:r.bbox.h-l/2},chld:[]};a.push(u),a.push({type:"symb",text:"\\bar",mode:r.mode,bbox:{x:o+r.chld[0].bbox.x,y:i,w:r.bbox.w-r.chld[0].bbox.x,h:l},chld:[]})}else if(r.text=="\\binom"){let l=Math.min(r.chld[0].bbox.x,r.chld[1].bbox.x),c={type:"symb",mode:r.mode,text:"(",bbox:{x:o,y:i,w:l,h:r.bbox.h},chld:[]};a.push(c),a.push({type:"symb",text:")",mode:r.mode,bbox:{x:o+r.bbox.w-l,y:i,w:l,h:r.bbox.h},chld:[]})}else if(dn[r.text]&&dn[r.text].flags.hat){let l=r.chld[0].bbox.y,c={type:"symb",mode:r.mode,text:r.text,bbox:{x:o,y:i,w:r.bbox.w,h:l},chld:[]};a.push(c)}else if(dn[r.text]&&dn[r.text].flags.mat){let l=r.chld[0].bbox.h,c={type:"symb",text:r.text,mode:r.mode,bbox:{x:o,y:i+l,w:r.bbox.w,h:r.bbox.h-l},chld:[]};a.push(c)}else if(r.type!="node"&&r.text!="^"&&r.text!="_"){let l={type:r.type=="func"?"symb":r.type,text:r.text,mode:r.mode,bbox:{x:o,y:i,w:r.bbox.w,h:r.bbox.h},chld:[]};a.push(l)}}for(var s=0;s<r.chld.length;s++){let l=t(r.chld[s],o,i);a.push(...l)}return a}let n=t(e,-e.bbox.x,-e.bbox.y);e.type="node",e.text="",e.chld=n}function Khe(e){let t=[];for(let n=0;n<e.chld.length;n++){let r=e.chld[n],o=r.bbox.h/2,i=!1;if(dn[r.text]&&dn[r.text].flags.hat&&!dn[r.text].flags.xfl&&!dn[r.text].flags.yfl&&(o*=4,i=!0),dn[r.text]&&dn[r.text].glyph){let a=ed(dn[r.text].glyph);for(let s=0;s<a.polylines.length;s++){let l=[];for(let c=0;c<a.polylines[s].length;c++){let u=a.polylines[s][c][0],f=a.polylines[s][c][1];if(dn[r.text].flags.xfl)u=(u-a.xmin)/Math.max(a.xmax-a.xmin,1)*r.bbox.w,u+=r.bbox.x;else if(a.w/16*o>r.bbox.w)u=u/Math.max(a.w,1)*r.bbox.w,u+=r.bbox.x;else{u=u/16*o;let d=(r.bbox.w-a.w/16*o)/2;u+=r.bbox.x+d}if(dn[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*o,i){let d=(a.ymax+a.ymin)/2;f-=d/16*o}f+=r.bbox.y+r.bbox.h/2}l.push([u,f])}t.push(l)}}else if(dn[r.text]&&dn[r.text].flags.txt||r.type=="char"){let a=r.bbox.x,s=!!(dn[r.text]&&dn[r.text].flags.txt);for(let l=Number(s);l<r.text.length;l++){let c=ed(ug(r.text[l],s?"text":r.mode));if(!c){console.warn("unmapped character: "+r.text[l]);continue}for(let u=0;u<c.polylines.length;u++){let f=[];for(let d=0;d<c.polylines[u].length;d++){let h=c.polylines[u][d][0],p=c.polylines[u][d][1];h/=16,p/=16,h*=o,p*=o,r.mode=="tt"&&(c.w>16?h*=16/c.w:h+=(16-c.w)/2/16),h+=a,p+=r.bbox.y+r.bbox.h/2,f.push([h,p])}t.push(f)}r.mode=="tt"?a+=o:a+=c.w/16*o}}}return t}function Ka(e){return Math.round(e*100)/100}var C5=class{constructor(e){this._latex=e,this._tokens=Yhe(e),this._tree=Rb(this._tokens),w_(this._tree.chld),Ga(this._tree),Dhe(this._tree),this._polylines=Khe(this._tree)}resolveScale(e){var t,n,r,o;if(e==null)return[16,16,16,16];let i=(t=e.SCALE_X)!=null?t:16,a=(n=e.SCALE_Y)!=null?n:16;if(e.MIN_CHAR_H!=null){let c=0;for(let f=0;f<this._tree.chld.length;f++){let d=this._tree.chld[f];(d.type=="char"||dn[d.text]&&(dn[d.text].flags.txt||!Object.keys(dn[d.text].flags).length))&&(c=Math.min(d.bbox.h,c))}let u=Math.max(1,e.MIN_CHAR_H/c);i*=u,a*=u}if(e.MAX_W!=null){let c=i;i=Math.min(i,e.MAX_W/this._tree.bbox.w),a*=i/c}if(e.MAX_H!=null){let c=a;a=Math.min(a,e.MAX_H/this._tree.bbox.h),i*=a/c}let s=(r=e.MARGIN_X)!=null?r:i,l=(o=e.MARGIN_Y)!=null?o:a;return[s,l,i,a]}polylines(e){e||(e={});let t=[],[n,r,o,i]=this.resolveScale(e);for(let a=0;a<this._polylines.length;a++){t.push([]);for(let s=0;s<this._polylines[a].length;s++){let[l,c]=this._polylines[a][s];t[t.length-1].push([n+l*o,r+c*i])}}return t}pathd(e){e||(e={});let t="",[n,r,o,i]=this.resolveScale(e);for(let a=0;a<this._polylines.length;a++)for(let s=0;s<this._polylines[a].length;s++){let[l,c]=this._polylines[a][s];t+=s?"L":"M",t+=`${Ka(n+l*o)} ${Ka(r+c*i)}`}return t}svg(e){var t,n;e||(e={});let[r,o,i,a]=this.resolveScale(e),s=Ka(this._tree.bbox.w*i+r*2),l=Ka(this._tree.bbox.h*a+o*2),c=`<svg
|
||
xmlns="http://www.w3.org/2000/svg"
|
||
width="${s}" height="${l}"
|
||
fill="none" stroke="${(t=e.FG_COLOR)!=null?t:"black"}" stroke-width="${(n=e.STROKE_W)!=null?n:1}"
|
||
stroke-linecap="round" stroke-linejoin="round"
|
||
>`;e.BG_COLOR&&(c+=`<rect x="0" y="0" width="${s}" height="${l}" fill="${e.BG_COLOR}" stroke="none"></rect>`),c+='<path d="';for(let u=0;u<this._polylines.length;u++){c+="M";for(let f=0;f<this._polylines[u].length;f++){let[d,h]=this._polylines[u][f];c+=Ka(r+d*i)+" "+Ka(o+h*a)+" "}}return c+='"/>',c+="</svg>",c}pdf(e){var t;e||(e={});let[n,r,o,i]=this.resolveScale(e),a=Ka(this._tree.bbox.w*o+n*2),s=Ka(this._tree.bbox.h*i+r*2),l=`%PDF-1.1
|
||
%%¥±ë
|
||
1 0 obj
|
||
<< /Type /Catalog
|
||
/Pages 2 0 R
|
||
>>endobj
|
||
2 0 obj
|
||
<< /Type /Pages
|
||
/Kids [3 0 R]
|
||
/Count 1
|
||
/MediaBox [0 0 ${a} ${s}]
|
||
>>
|
||
endobj
|
||
3 0 obj
|
||
<< /Type /Page
|
||
/Parent 2 0 R
|
||
/Resources
|
||
<< /Font
|
||
<< /F1
|
||
<< /Type /Font
|
||
/Subtype /Type1
|
||
/BaseFont /Times-Roman
|
||
>>
|
||
>>
|
||
>>
|
||
/Contents [`,c="",u=4;for(let p=0;p<this._polylines.length;p++){c+=`${u} 0 obj
|
||
<< /Length 0 >>
|
||
stream
|
||
1 j 1 J ${(t=e.STROKE_W)!=null?t:1} w
|
||
`;for(var f=0;f<this._polylines[p].length;f++){var[d,h]=this._polylines[p][f];c+=`${Ka(n+d*o)} ${Ka(s-(r+h*i))} ${f?"l":"m"} `}c+=`
|
||
S
|
||
endstream
|
||
endobj
|
||
`,l+=`${u} 0 R `,u++}return l+=`]
|
||
>>
|
||
endobj
|
||
`,c+=`
|
||
trailer
|
||
<< /Root 1 0 R
|
||
/Size 0
|
||
>>startxref
|
||
|
||
%%EOF
|
||
`,l+c}boxes(e){e||(e={});let[t,n,r,o]=this.resolveScale(e),i=[];for(let a=0;a<this._tree.chld.length;a++){let{x:s,y:l,w:c,h:u}=this._tree.chld[a].bbox;i.push({x:t+s*r,y:n+l*o,w:c*r,h:u*o})}return i}box(e){e||(e={});let[t,n,r,o]=this.resolveScale(e);return{x:t+this._tree.bbox.x*r,y:n+this._tree.bbox.y*o,w:this._tree.bbox.w*r,h:this._tree.bbox.h*o}}};Li.SUB_SUP_SCALE=.5;const Hhe=[{label:"高斯公式",latex:"\\int\\int\\int _ { \\Omega } \\left( \\frac { \\partial {P} } { \\partial {x} } + \\frac { \\partial {Q} } { \\partial {y} } + \\frac { \\partial {R} }{ \\partial {z} } \\right) \\mathrm { d } V = \\oint _ { \\partial \\Omega } ( P \\cos \\alpha + Q \\cos \\beta + R \\cos \\gamma ) \\mathrm{ d} S"},{label:"傅里叶级数",latex:"f(x) = \\frac {a_0} 2 + \\sum_{n = 1}^\\infty {({a_n}\\cos {nx} + {b_n}\\sin {nx})}"},{label:"泰勒展开式",latex:"e ^ { x } = 1 + \\frac { x } { 1 ! } + \\frac { x ^ { 2 } } { 2 ! } + \\frac { x ^ { 3 } } { 3 ! } + ... , \\quad - \\infty < x < \\infty"},{label:"定积分",latex:"\\lim_ { n \\rightarrow + \\infty } \\sum _ { i = 1 } ^ { n } f \\left[ a + \\frac { i } { n } ( b - a ) \\right] \\frac { b - a } { n } = \\int _ { a } ^ { b } f ( x ) dx"},{label:"三角恒等式1",latex:"\\sin \\alpha \\pm \\sin \\beta = 2 \\sin \\frac { 1 } { 2 } ( \\alpha \\pm \\beta ) \\cos \\frac { 1 } { 2 } ( \\alpha \\mp \\beta )"},{label:"三角恒等式2",latex:"\\cos \\alpha + \\cos \\beta = 2 \\cos \\frac { 1 } { 2 } ( \\alpha + \\beta ) \\cos \\frac { 1 } { 2 } ( \\alpha - \\beta )"},{label:"和的展开式",latex:"( 1 + x ) ^ { n } = 1 + \\frac { n x } { 1 ! } + \\frac { n ( n - 1 ) x ^ { 2 } } { 2 ! } + ..."},{label:"欧拉公式",latex:" e^{ix} = \\cos {x} + i\\sin {x}"},{label:"贝努利方程",latex:"\\frac {dy} {dx} + P(x)y = Q(x) y^n ({n} \\not= {0,1})"},{label:"全微分方程",latex:"du(x,y) = P(x,y)dx + Q(x,y)dy = 0"},{label:"非齐次方程",latex:"y = (\\int Q(x) e^{\\int {P(x)dx}}dx + C)e^{-\\int {P(x)dx}}"},{label:"柯西中值定理",latex:"\\frac{{f(b) - f(a)}}{{F(b) - F(a)}} = \\frac{{f'(\\xi )}}{{F'(\\xi )}}"},{label:"拉格朗日中值定理",latex:"f(b) - f(a) = f'(\\xi )(b - a)"},{label:"导数公式",latex:"(\\arcsin x)' = \\frac{1}{{\\sqrt {1 - x^2} }}"},{label:"三角函数积分",latex:"\\int {tgxdx = - \\ln \\left| {\\cos x} \\right| + C}"},{label:"二次曲面",latex:"\\frac{{{x^2}}}{{{a^2}}} + \\frac{{{y^2}}}{{{b^2}}} - \\frac{{{z^2}}}{{{c^2}}} = 1"},{label:"二阶微分",latex:"\\frac {{d^2}y} {dx^2} + P(x) \\frac {dy} {dx} + Q(x)y = f(x)"},{label:"方向导数",latex:"\\frac{{\\partial f}}{{\\partial l}} = \\frac{{\\partial f}}{{\\partial x}}\\cos \\phi + \\frac{{\\partial f}}{{\\partial y}}\\sin \\phi"}],n4=[{type:"operators",label:"数学",children:[{latex:"\\cdot"},{latex:"\\pm"},{latex:"\\mp"},{latex:"+"},{latex:"-"},{latex:"\\times"},{latex:"\\div"},{latex:"<"},{latex:">"},{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"}]}],Ghe=["width","height"],zhe=["transform"],Jhe=["d"],$he=Ee({__name:"FormulaContent",props:{latex:{},width:{},height:{}},setup(e){const t=e,n=ve({x:0,y:0,w:0,h:0}),r=ve("");wt(()=>t.latex,()=>{const i=new C5(t.latex);r.value=i.pathd({}),n.value=i.box({})},{immediate:!0});const o=Me(()=>{const i=n.value.w+32,a=n.value.h+32;return i>t.width||a>t.height?i/a>t.width/t.height?t.width/i:t.height/a:1});return(i,a)=>(U(),ee("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(${o.value}, ${o.value}) translate(0,0) matrix(1,0,0,1,0,0)`,"transform-origin":"0 50%"},[V("path",{d:r.value},null,8,Jhe)],8,zhe)],8,Ghe))}}),JT=Ue($he,[["__scopeId","data-v-fa1b116d"]]),jhe=["innerHTML"],qhe=Ee({__name:"SymbolContent",props:{latex:{}},setup(e){const t=e,n=Me(()=>new C5(t.latex).svg({SCALE_X:10,SCALE_Y:10}));return(r,o)=>(U(),ee("div",{class:"symbol-content",innerHTML:n.value},null,8,jhe))}}),epe=["disabled","value","rows","placeholder"],tpe=Ee({__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"],setup(e,{expose:t,emit:n}){const r=n,o=s=>{r("update:value",s.target.value)},i=ve();return t({focus:()=>{i.value&&i.value.focus()}}),(s,l)=>(U(),ee("textarea",{class:Je(["textarea",{disabled:s.disabled,resizable:s.resizable}]),ref_key:"textareaRef",ref:i,disabled:s.disabled,value:s.value,rows:s.rows,placeholder:s.placeholder,style:we({padding:s.padding?`${s.padding}px`:"10px"}),onInput:l[0]||(l[0]=c=>o(c)),onFocus:l[1]||(l[1]=c=>r("focus",c)),onBlur:l[2]||(l[2]=c=>r("blur",c))},null,46,epe))}}),yb=Ue(tpe,[["__scopeId","data-v-2b83189c"]]),npe={class:"latex-editor"},rpe={class:"container"},ope={class:"left"},ipe={class:"input-area"},ape={class:"preview"},spe={key:0,class:"placeholder"},lpe={key:1,class:"preview-content"},cpe={class:"right"},upe={class:"content"},fpe={key:0,class:"symbol"},dpe={class:"symbol-pool"},hpe=["onClick"],ppe={key:1,class:"formula"},vpe={class:"formula-title"},gpe=["onClick"],mpe={class:"footer"},Ape=Ee({__name:"index",props:{value:{default:""}},emits:["update","close"],setup(e,{emit:t}){const n=[{label:"常用符号",key:"symbol"},{label:"预置公式",key:"formula"}],r=e,o=t,i=Hhe,a=n4.map(p=>({label:p.label,key:p.type})),s=ve(""),l=ve("symbol"),c=ve(),u=ve(n4[0].type),f=Me(()=>{const p=n4.find(v=>v.type===u.value);return(p==null?void 0:p.children)||[]});Qt(()=>{r.value&&(s.value=r.value)});const d=()=>{if(!s.value)return gn.error("公式不能为空");const p=new C5(s.value),v=p.pathd({}),m=p.box({});o("update",{latex:s.value,path:v,w:m.w+32,h:m.h+32})},h=p=>{c.value&&(c.value.focus(),document.execCommand("insertText",!1,p))};return(p,v)=>(U(),ee("div",npe,[V("div",rpe,[V("div",ope,[V("div",ipe,[O(yb,{value:s.value,"onUpdate:value":v[0]||(v[0]=m=>s.value=m),placeholder:"输入 LaTeX 公式",ref_key:"textAreaRef",ref:c},null,8,["value"])]),V("div",ape,[s.value?(U(),ee("div",lpe,[O(JT,{width:518,height:138,latex:s.value},null,8,["latex"])])):(U(),ee("div",spe,"公式预览"))])]),V("div",cpe,[O(_a,{tabs:n,value:l.value,"onUpdate:value":v[1]||(v[1]=m=>l.value=m),card:""},null,8,["value"]),V("div",upe,[l.value==="symbol"?(U(),ee("div",fpe,[O(_a,{tabs:H(a),value:u.value,"onUpdate:value":v[2]||(v[2]=m=>u.value=m),spaceBetween:"",tabsStyle:{margin:"10px 10px 0"}},null,8,["tabs","value"]),V("div",dpe,[(U(!0),ee(We,null,nt(f.value,m=>(U(),ee("div",{class:"symbol-item",key:m.latex,onClick:x=>h(m.latex)},[O(qhe,{latex:m.latex},null,8,["latex"])],8,hpe))),128))])])):(U(),ee("div",ppe,[(U(!0),ee(We,null,nt(H(i),m=>(U(),ee("div",{class:"formula-item",key:m.label},[V("div",vpe,vt(m.label),1),V("div",{class:"formula-item-content",onClick:x=>s.value=m.latex},[O(JT,{width:236,height:60,latex:m.latex},null,8,["latex"])],8,gpe)]))),128))]))])])]),V("div",mpe,[O(je,{class:"btn",onClick:v[3]||(v[3]=m=>o("close"))},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{class:"btn",type:"primary",onClick:v[4]||(v[4]=m=>d())},{default:oe(()=>[Ve("确定")]),_:1})])]))}}),O_=Ue(Ape,[["__scopeId","data-v-fc449335"]]),Rpe={class:"canvas-tool"},ype={class:"left-handler"},bpe={class:"more"},xpe={class:"add-element-handler"},Spe={class:"handler-item group-btn"},Mpe={class:"handler-item group-btn",offset:10},wpe={class:"right-handler"},Lpe={class:"text"},Ope=Ee({__name:"index",setup(e){const t=ft(),{creatingElement:n,creatingCustomShape:r,showSelectPanel:o,showSearchPanel:i,showNotesPanel:a}=Xe(t),{canUndo:s,canRedo:l}=Xe(qm()),{redo:c,undo:u}=Ht(),{scaleCanvas:f,setCanvasScalePercentage:d,resetCanvas:h,canvasScalePercentage:p}=Qx(),v=[200,150,125,100,75,50],m=ve(!1),x=D=>{d(D),m.value=!1},{createImageElement:y,createChartElement:R,createTableElement:A,createLatexElement:b,createVideoElement:M,createAudioElement:T}=Ju(),w=D=>{const G=D[0];G&&Lc(G).then(ae=>y(ae))},L=ve(!1),k=ve(!1),E=ve(!1),P=ve(!1),W=ve(!1),N=ve(!1),_=ve(!1),C=ve(!1),X=(D=!1)=>{t.setCreatingElement({type:"text",vertical:D})},Y=D=>{t.setCreatingElement({type:"shape",data:D}),L.value=!1},$=()=>{t.setCreatingCustomShapeState(!0),L.value=!1},le=D=>{t.setCreatingElement({type:"line",data:D}),k.value=!1},Q=()=>{t.setSelectPanelState(!o.value)},K=()=>{t.setSearchPanelState(!i.value)},B=()=>{t.setNotesPanelState(!a.value)};return(D,G)=>{var Be;const ae=Se("IconBack"),se=Se("IconNext"),J=Se("IconComment"),Re=Se("IconMoveOne"),fe=Se("IconSearch"),me=Se("IconFontSize"),ue=Se("IconTextRotationNone"),z=Se("IconTextRotationDown"),F=Se("IconDown"),j=Se("IconGraphicDesign"),ie=Se("IconPicture"),q=Se("IconConnection"),te=Se("IconChartProportion"),re=Se("IconInsertTable"),he=Se("IconFormula"),ce=Se("IconVideoTwo"),pe=Se("IconMinus"),xe=Se("IconPlus"),_e=Se("IconFullScreen"),Ae=bn("tooltip");return U(),ee("div",Rpe,[V("div",ype,[He(O(ae,{class:Je(["handler-item",{disable:!H(s)}]),onClick:G[0]||(G[0]=Te=>H(u)())},null,8,["class"]),[[Ae,"撤销(Ctrl + Z)"]]),He(O(se,{class:Je(["handler-item",{disable:!H(l)}]),onClick:G[1]||(G[1]=Te=>H(c)())},null,8,["class"]),[[Ae,"重做(Ctrl + Y)"]]),V("div",bpe,[O(Ft,{type:"vertical",style:{height:"20px"}}),He(O(J,{class:Je(["handler-item",{active:H(a)}]),onClick:G[2]||(G[2]=Te=>B())},null,8,["class"]),[[Ae,"批注"]]),He(O(Re,{class:Je(["handler-item",{active:H(o)}]),onClick:G[3]||(G[3]=Te=>Q())},null,8,["class"]),[[Ae,"选择窗格"]]),He(O(fe,{class:Je(["handler-item",{active:H(i)}]),onClick:G[4]||(G[4]=Te=>K())},null,8,["class"]),[[Ae,"查找/替换(Ctrl + F)"]])])]),V("div",xpe,[He((U(),ee("div",Spe,[O(me,{class:Je(["icon",{active:((Be=H(n))==null?void 0:Be.type)==="text"}]),onClick:G[5]||(G[5]=Te=>X())},null,8,["class"]),O(Pt,{trigger:"click",value:_.value,"onUpdate:value":G[8]||(G[8]=Te=>_.value=Te),style:{height:"100%"},offset:10},{content:oe(()=>[O(go,{center:"",onClick:G[6]||(G[6]=()=>{X(),_.value=!1})},{default:oe(()=>[O(ue),Ve(" 横向文本框")]),_:1}),O(go,{center:"",onClick:G[7]||(G[7]=()=>{X(!0),_.value=!1})},{default:oe(()=>[O(z),Ve(" 竖向文本框")]),_:1})]),default:oe(()=>[O(F,{class:"arrow"})]),_:1},8,["value"])])),[[Ae,"插入文字"]]),He((U(),ee("div",Mpe,[O(Pt,{trigger:"click",style:{height:"100%"},value:L.value,"onUpdate:value":G[10]||(G[10]=Te=>L.value=Te),offset:10},{content:oe(()=>[O(j0e,{onSelect:G[9]||(G[9]=Te=>Y(Te))})]),default:oe(()=>{var Te;return[O(j,{class:Je(["icon",{active:H(r)||((Te=H(n))==null?void 0:Te.type)==="shape"}])},null,8,["class"])]}),_:1},8,["value"]),O(Pt,{trigger:"click",value:C.value,"onUpdate:value":G[12]||(G[12]=Te=>C.value=Te),style:{height:"100%"},offset:10},{content:oe(()=>[O(go,{center:"",onClick:G[11]||(G[11]=()=>{$(),C.value=!1})},{default:oe(()=>[Ve("自由绘制")]),_:1})]),default:oe(()=>[O(F,{class:"arrow"})]),_:1},8,["value"])])),[[Ae,"插入形状"]]),O(Wu,{onChange:G[13]||(G[13]=Te=>w(Te))},{default:oe(()=>[He(O(ie,{class:"handler-item"},null,512),[[Ae,"插入图片"]])]),_:1}),O(Pt,{trigger:"click",value:k.value,"onUpdate:value":G[15]||(G[15]=Te=>k.value=Te),offset:10},{content:oe(()=>[O(she,{onSelect:G[14]||(G[14]=Te=>le(Te))})]),default:oe(()=>{var Te;return[He(O(q,{class:Je(["handler-item",{active:((Te=H(n))==null?void 0:Te.type)==="line"}])},null,8,["class"]),[[Ae,"插入线条"]])]}),_:1},8,["value"]),O(Pt,{trigger:"click",value:E.value,"onUpdate:value":G[17]||(G[17]=Te=>E.value=Te),offset:10},{content:oe(()=>[O(fhe,{onSelect:G[16]||(G[16]=Te=>{H(R)(Te),E.value=!1})})]),default:oe(()=>[He(O(te,{class:"handler-item"},null,512),[[Ae,"插入图表"]])]),_:1},8,["value"]),O(Pt,{trigger:"click",value:P.value,"onUpdate:value":G[20]||(G[20]=Te=>P.value=Te),offset:10},{content:oe(()=>[O(Ihe,{onClose:G[18]||(G[18]=Te=>P.value=!1),onInsert:G[19]||(G[19]=({row:Te,col:De})=>{H(A)(Te,De),P.value=!1})})]),default:oe(()=>[He(O(re,{class:"handler-item"},null,512),[[Ae,"插入表格"]])]),_:1},8,["value"]),He(O(he,{class:"handler-item",onClick:G[21]||(G[21]=Te=>N.value=!0)},null,512),[[Ae,"插入公式"]]),O(Pt,{trigger:"click",value:W.value,"onUpdate:value":G[25]||(G[25]=Te=>W.value=Te),offset:10},{content:oe(()=>[O(Whe,{onClose:G[22]||(G[22]=Te=>W.value=!1),onInsertVideo:G[23]||(G[23]=Te=>{H(M)(Te),W.value=!1}),onInsertAudio:G[24]||(G[24]=Te=>{H(T)(Te),W.value=!1})})]),default:oe(()=>[He(O(ce,{class:"handler-item"},null,512),[[Ae,"插入音视频"]])]),_:1},8,["value"])]),V("div",wpe,[He(O(pe,{class:"handler-item viewport-size",onClick:G[26]||(G[26]=Te=>H(f)("-"))},null,512),[[Ae,"画布缩小(Ctrl + -)"]]),O(Pt,{trigger:"click",value:m.value,"onUpdate:value":G[28]||(G[28]=Te=>m.value=Te)},{content:oe(()=>[(U(),ee(We,null,nt(v,Te=>O(go,{center:"",key:Te,onClick:De=>x(Te)},{default:oe(()=>[Ve(vt(Te)+"%",1)]),_:2},1032,["onClick"])),64)),O(go,{center:"",onClick:G[27]||(G[27]=Te=>H(h)())},{default:oe(()=>[Ve("适应屏幕")]),_:1})]),default:oe(()=>[V("span",Lpe,vt(H(p)),1)]),_:1},8,["value"]),He(O(xe,{class:"handler-item viewport-size",onClick:G[29]||(G[29]=Te=>H(f)("+"))},null,512),[[Ae,"画布放大(Ctrl + =)"]]),He(O(_e,{class:"handler-item viewport-size-adaptation",onClick:G[30]||(G[30]=Te=>H(h)())},null,512),[[Ae,"适应屏幕(Ctrl + 0)"]])]),O(n0,{visible:N.value,"onUpdate:visible":G[33]||(G[33]=Te=>N.value=Te),width:880},{default:oe(()=>[O(O_,{onClose:G[31]||(G[31]=Te=>N.value=!1),onUpdate:G[32]||(G[32]=Te=>{H(b)(Te),N.value=!1})})]),_:1},8,["visible"])])}}}),Tpe=Ue(Ope,[["__scopeId","data-v-c887fa94"]]),kpe=()=>{const e=st(),{slides:t}=Xe(e),{addHistorySnapshot:n}=Ht(),{deleteSlide:r}=Oc();return{createSection:()=>{e.updateSlide({sectionTag:{id:ln(6)}}),n()},removeSection:c=>{if(!c)return;const u=t.value.find(f=>{var d;return((d=f.sectionTag)==null?void 0:d.id)===c});e.removeSlideProps({id:u.id,propName:"sectionTag"}),n()},removeAllSection:()=>{const c=t.value.map(u=>(u.sectionTag&&delete u.sectionTag,u));e.setSlides(c),n()},removeSectionSlides:c=>{let u=0;c&&(u=t.value.findIndex(d=>{var h;return((h=d.sectionTag)==null?void 0:h.id)===c}));const f=[];for(let d=u;d<t.value.length;d++){const h=t.value[d];if(d!==u&&h.sectionTag)break;f.push(h.id)}r(f)},updateSectionTitle:(c,u)=>{if(u){if(c==="default")e.updateSlide({sectionTag:{id:ln(6),title:u}},t.value[0].id);else{const f=t.value.find(d=>{var h;return((h=d.sectionTag)==null?void 0:h.id)===c});if(!f)return;e.updateSlide({sectionTag:{...f.sectionTag,title:u}},f.id)}n()}}}},zp=()=>{const{slides:e}=Xe(st()),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 Qt(r),Sn(()=>{t.value&&clearTimeout(t.value)}),{slidesLoadLimit:n}},Npe=e=>(zt("data-v-5a791b40"),e=e(),Jt(),e),Ppe={class:"layout-pool"},Cpe=Npe(()=>V("div",{class:"header"},"页面模板",-1)),Ipe={class:"list"},Fpe={class:"btns"},_pe=Ee({__name:"LayoutPool",emits:["select"],setup(e,{emit:t}){const n=t,r=st(),{layouts:o}=Xe(r),i=a=>{n("select",a)};return(a,s)=>(U(),ee("div",Ppe,[Cpe,V("div",Ipe,[(U(!0),ee(We,null,nt(H(o),l=>(U(),ee("div",{class:"layout-item",key:l.id},[O(Fa,{class:"thumbnail",slide:l,size:180},null,8,["slide"]),V("div",Fpe,[O(je,{class:"btn",type:"primary",size:"small",onClick:c=>i(l)},{default:oe(()=>[Ve("插入模板")]),_:2},1032,["onClick"])])]))),128))])]))}}),Epe=Ue(_pe,[["__scopeId","data-v-5a791b40"]]);var T_={exports:{}};const Xpe=Rx(fH);/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function $T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function xs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$T(Object(n),!0).forEach(function(r){Wpe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$T(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fg(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fg=function(t){return typeof t}:fg=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fg(e)}function Wpe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(){return sa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sa.apply(this,arguments)}function Vpe(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Upe(e,t){if(e==null)return{};var n=Vpe(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ype(e){return Qpe(e)||Zpe(e)||Bpe(e)||Dpe()}function Qpe(e){if(Array.isArray(e))return bb(e)}function Zpe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bpe(e,t){if(e){if(typeof e=="string")return bb(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 bb(e,t)}}function bb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dpe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Kpe="1.14.0";function il(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var vl=il(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Jp=il(/Edge/i),jT=il(/firefox/i),Xh=il(/safari/i)&&!il(/chrome/i)&&!il(/android/i),k_=il(/iP(ad|od|hone)/i),Hpe=il(/chrome/i)&&il(/android/i),N_={capture:!1,passive:!1};function vn(e,t,n){e.addEventListener(t,n,!vl&&N_)}function cn(e,t,n){e.removeEventListener(t,n,!vl&&N_)}function bm(e,t){if(t){if(t[0]===">"&&(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 Gpe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function wa(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&bm(e,t):bm(e,t))||r&&e===n)return e;if(e===n)break}while(e=Gpe(e))}return null}var qT=/\s+/g;function ur(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(qT," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(qT," ")}}function Lt(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 Lu(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Lt(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function P_(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function gs(){var e=document.scrollingElement;return e||document.documentElement}function or(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var i,a,s,l,c,u,f;if(e!==window&&e.parentNode&&e!==gs()?(i=e.getBoundingClientRect(),a=i.top,s=i.left,l=i.bottom,c=i.right,u=i.height,f=i.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!vl))do if(o&&o.getBoundingClientRect&&(Lt(o,"transform")!=="none"||n&&Lt(o,"position")!=="static")){var d=o.getBoundingClientRect();a-=d.top+parseInt(Lt(o,"border-top-width")),s-=d.left+parseInt(Lt(o,"border-left-width")),l=a+i.height,c=s+i.width;break}while(o=o.parentNode);if(r&&e!==window){var h=Lu(o||e),p=h&&h.a,v=h&&h.d;h&&(a/=v,s/=p,f/=p,u/=v,l=a+u,c=s+f)}return{top:a,left:s,bottom:l,right:c,width:f,height:u}}}function ek(e,t,n){for(var r=ic(e,!0),o=or(e)[t];r;){var i=or(r)[n],a=void 0;if(a=o>=i,!a)return r;if(r===gs())break;r=ic(r,!1)}return!1}function Ud(e,t,n,r){for(var o=0,i=0,a=e.children;i<a.length;){if(a[i].style.display!=="none"&&a[i]!==Vt.ghost&&(r||a[i]!==Vt.dragged)&&wa(a[i],n.draggable,e,!1)){if(o===t)return a[i];o++}i++}return null}function I5(e,t){for(var n=e.lastElementChild;n&&(n===Vt.ghost||Lt(n,"display")==="none"||t&&!bm(n,t));)n=n.previousElementSibling;return n||null}function Rr(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Vt.clone&&(!t||bm(e,t))&&n++;return n}function tk(e){var t=0,n=0,r=gs();if(e)do{var o=Lu(e),i=o.a,a=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function zpe(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function ic(e,t){if(!e||!e.getBoundingClientRect)return gs();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Lt(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return gs();if(r||t)return n;r=!0}}while(n=n.parentNode);return gs()}function Jpe(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function r4(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Wh;function C_(e,t){return function(){if(!Wh){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Wh=setTimeout(function(){Wh=void 0},t)}}}function $pe(){clearTimeout(Wh),Wh=void 0}function I_(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function F5(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function nk(e,t){Lt(e,"position","absolute"),Lt(e,"top",t.top),Lt(e,"left",t.left),Lt(e,"width",t.width),Lt(e,"height",t.height)}function o4(e){Lt(e,"position",""),Lt(e,"top",""),Lt(e,"left",""),Lt(e,"width",""),Lt(e,"height","")}var yo="Sortable"+new Date().getTime();function jpe(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(Lt(o,"display")==="none"||o===Vt.ghost)){e.push({target:o,rect:or(o)});var i=xs({},e[e.length-1].rect);if(o.thisAnimationDuration){var a=Lu(o,!0);a&&(i.top-=a.f,i.left-=a.e)}o.fromRect=i}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(zpe(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var i=!1,a=0;e.forEach(function(s){var l=0,c=s.target,u=c.fromRect,f=or(c),d=c.prevFromRect,h=c.prevToRect,p=s.rect,v=Lu(c,!0);v&&(f.top-=v.f,f.left-=v.e),c.toRect=f,c.thisAnimationDuration&&r4(d,f)&&!r4(u,f)&&(p.top-f.top)/(p.left-f.left)===(u.top-f.top)/(u.left-f.left)&&(l=e1e(p,d,h,o.options)),r4(f,u)||(c.prevFromRect=u,c.prevToRect=f,l||(l=o.options.animation),o.animate(c,p,f,l)),l&&(i=!0,a=Math.max(a,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(t),i?t=setTimeout(function(){typeof r=="function"&&r()},a):typeof r=="function"&&r(),e=[]},animate:function(r,o,i,a){if(a){Lt(r,"transition",""),Lt(r,"transform","");var s=Lu(this.el),l=s&&s.a,c=s&&s.d,u=(o.left-i.left)/(l||1),f=(o.top-i.top)/(c||1);r.animatingX=!!u,r.animatingY=!!f,Lt(r,"transform","translate3d("+u+"px,"+f+"px,0)"),this.forRepaintDummy=qpe(r),Lt(r,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),Lt(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Lt(r,"transition",""),Lt(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},a)}}}}function qpe(e){return e.offsetWidth}function e1e(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var Nf=[],i4={initializeByDefault:!0},$p={mount:function(t){for(var n in i4)i4.hasOwnProperty(n)&&!(n in t)&&(t[n]=i4[n]);Nf.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Nf.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var i=t+"Global";Nf.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][i]&&n[a.pluginName][i](xs({sortable:n},r)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](xs({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Nf.forEach(function(s){var l=s.pluginName;if(!(!t.options[l]&&!s.initializeByDefault)){var c=new s(t,n,t.options);c.sortable=t,c.options=t.options,t[l]=c,sa(r,c.defaults)}});for(var i in t.options)if(t.options.hasOwnProperty(i)){var a=this.modifyOption(t,i,t.options[i]);typeof a<"u"&&(t.options[i]=a)}},getEventProperties:function(t,n){var r={};return Nf.forEach(function(o){typeof o.eventProperties=="function"&&sa(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return Nf.forEach(function(i){t[i.pluginName]&&i.optionListeners&&typeof i.optionListeners[n]=="function"&&(o=i.optionListeners[n].call(t[i.pluginName],r))}),o}};function ih(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[yo],!!t){var v,m=t.options,x="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!vl&&!Jp?v=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(v=document.createEvent("Event"),v.initEvent(r,!0,!0)),v.to=a||n,v.from=s||n,v.item=o||n,v.clone=i,v.oldIndex=l,v.newIndex=c,v.oldDraggableIndex=u,v.newDraggableIndex=f,v.originalEvent=d,v.pullMode=h?h.lastPutMode:void 0;var y=xs(xs({},p),$p.getEventProperties(r,t));for(var R in y)v[R]=y[R];n&&n.dispatchEvent(v),m[x]&&m[x].call(t,v)}}var t1e=["evt"],Ho=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,i=Upe(r,t1e);$p.pluginEvent.bind(Vt)(t,n,xs({dragEl:ht,parentEl:gr,ghostEl:tn,rootEl:tr,nextEl:tu,lastDownEl:dg,cloneEl:mr,cloneHidden:ec,dragStarted:ah,putSortable:eo,activeSortable:Vt.active,originalEvent:o,oldIndex:td,oldDraggableIndex:Vh,newIndex:xi,newDraggableIndex:zl,hideGhostForTarget:X_,unhideGhostForTarget:W_,cloneNowHidden:function(){ec=!0},cloneNowShown:function(){ec=!1},dispatchSortableEvent:function(s){Co({sortable:n,name:s,originalEvent:o})}},i))};function Co(e){ih(xs({putSortable:eo,cloneEl:mr,targetEl:ht,rootEl:tr,oldIndex:td,oldDraggableIndex:Vh,newIndex:xi,newDraggableIndex:zl},e))}var ht,gr,tn,tr,tu,dg,mr,ec,td,xi,Vh,zl,Nv,eo,Gf=!1,xm=!1,Sm=[],zc,ga,a4,s4,rk,ok,ah,Pf,Uh,Yh=!1,Pv=!1,hg,po,l4=[],xb=!1,Mm=[],x2=typeof document<"u",Cv=k_,ik=Jp||vl?"cssFloat":"float",n1e=x2&&!Hpe&&!k_&&"draggable"in document.createElement("div"),F_=function(){if(x2){if(vl)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),__=function(t,n){var r=Lt(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),i=Ud(t,0,n),a=Ud(t,1,n),s=i&&Lt(i),l=a&&Lt(a),c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+or(i).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+or(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(i&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return i&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||c>=o&&r[ik]==="none"||a&&r[ik]==="none"&&c+u>o)?"vertical":"horizontal"},r1e=function(t,n,r){var o=r?t.left:t.top,i=r?t.right:t.bottom,a=r?t.width:t.height,s=r?n.left:n.top,l=r?n.right:n.bottom,c=r?n.width:n.height;return o===s||i===l||o+a/2===s+c/2},o1e=function(t,n){var r;return Sm.some(function(o){var i=o[yo].options.emptyInsertThreshold;if(!(!i||I5(o))){var a=or(o),s=t>=a.left-i&&t<=a.right+i,l=n>=a.top-i&&n<=a.bottom+i;if(s&&l)return r=o}}),r},E_=function(t){function n(i,a){return function(s,l,c,u){var f=s.options.group.name&&l.options.group.name&&s.options.group.name===l.options.group.name;if(i==null&&(a||f))return!0;if(i==null||i===!1)return!1;if(a&&i==="clone")return i;if(typeof i=="function")return n(i(s,l,c,u),a)(s,l,c,u);var d=(a?s:l).options.group.name;return i===!0||typeof i=="string"&&i===d||i.join&&i.indexOf(d)>-1}}var r={},o=t.group;(!o||fg(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},X_=function(){!F_&&tn&&Lt(tn,"display","none")},W_=function(){!F_&&tn&&Lt(tn,"display","")};x2&&document.addEventListener("click",function(e){if(xm)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),xm=!1,!1},!0);var Jc=function(t){if(ht){t=t.touches?t.touches[0]:t;var n=o1e(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[yo]._onDragOver(r)}}},i1e=function(t){ht&&ht.parentNode[yo]._isOutsideThisEl(t.target)};function Vt(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=sa({},t),e[yo]=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 __(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:Vt.supportPointer!==!1&&"PointerEvent"in window&&!Xh,emptyInsertThreshold:5};$p.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);E_(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:n1e,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?vn(e,"pointerdown",this._onTapStart):(vn(e,"mousedown",this._onTapStart),vn(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(vn(e,"dragover",this),vn(e,"dragenter",this)),Sm.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),sa(this,jpe())}Vt.prototype={constructor:Vt,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Pf=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,ht):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,i=o.preventOnFilter,a=t.type,s=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(s||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,u=o.filter;if(h1e(r),!ht&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||o.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Xh&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=wa(l,o.draggable,r,!1),!(l&&l.animated)&&dg!==l)){if(td=Rr(l),Vh=Rr(l,o.draggable),typeof u=="function"){if(u.call(this,t,l,this)){Co({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),Ho("filter",n,{evt:t}),i&&t.cancelable&&t.preventDefault();return}}else if(u&&(u=u.split(",").some(function(f){if(f=wa(c,f.trim(),r,!1),f)return Co({sortable:n,rootEl:f,name:"filter",targetEl:l,fromEl:r,toEl:r}),Ho("filter",n,{evt:t}),!0}),u)){i&&t.cancelable&&t.preventDefault();return}o.handle&&!wa(c,o.handle,r,!1)||this._prepareDragStart(t,s,l)}}},_prepareDragStart:function(t,n,r){var o=this,i=o.el,a=o.options,s=i.ownerDocument,l;if(r&&!ht&&r.parentNode===i){var c=or(r);if(tr=i,ht=r,gr=ht.parentNode,tu=ht.nextSibling,dg=r,Nv=a.group,Vt.dragged=ht,zc={target:ht,clientX:(n||t).clientX,clientY:(n||t).clientY},rk=zc.clientX-c.left,ok=zc.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ht.style["will-change"]="all",l=function(){if(Ho("delayEnded",o,{evt:t}),Vt.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!jT&&o.nativeDraggable&&(ht.draggable=!0),o._triggerDragStart(t,n),Co({sortable:o,name:"choose",originalEvent:t}),ur(ht,a.chosenClass,!0)},a.ignore.split(",").forEach(function(u){P_(ht,u.trim(),c4)}),vn(s,"dragover",Jc),vn(s,"mousemove",Jc),vn(s,"touchmove",Jc),vn(s,"mouseup",o._onDrop),vn(s,"touchend",o._onDrop),vn(s,"touchcancel",o._onDrop),jT&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ht.draggable=!0),Ho("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Jp||vl))){if(Vt.eventCanceled){this._onDrop();return}vn(s,"mouseup",o._disableDelayedDrag),vn(s,"touchend",o._disableDelayedDrag),vn(s,"touchcancel",o._disableDelayedDrag),vn(s,"mousemove",o._delayedDragTouchMoveHandler),vn(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&vn(s,"pointermove",o._delayedDragTouchMoveHandler),o._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(){ht&&c4(ht),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;cn(t,"mouseup",this._disableDelayedDrag),cn(t,"touchend",this._disableDelayedDrag),cn(t,"touchcancel",this._disableDelayedDrag),cn(t,"mousemove",this._delayedDragTouchMoveHandler),cn(t,"touchmove",this._delayedDragTouchMoveHandler),cn(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?vn(document,"pointermove",this._onTouchMove):n?vn(document,"touchmove",this._onTouchMove):vn(document,"mousemove",this._onTouchMove):(vn(ht,"dragend",this),vn(tr,"dragstart",this._onDragStart));try{document.selection?pg(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Gf=!1,tr&&ht){Ho("dragStarted",this,{evt:n}),this.nativeDraggable&&vn(document,"dragover",i1e);var r=this.options;!t&&ur(ht,r.dragClass,!1),ur(ht,r.ghostClass,!0),Vt.active=this,t&&this._appendGhost(),Co({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(ga){this._lastX=ga.clientX,this._lastY=ga.clientY,X_();for(var t=document.elementFromPoint(ga.clientX,ga.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(ga.clientX,ga.clientY),t!==n);)n=t;if(ht.parentNode[yo]._isOutsideThisEl(t),n)do{if(n[yo]){var r=void 0;if(r=n[yo]._onDragOver({clientX:ga.clientX,clientY:ga.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);W_()}},_onTouchMove:function(t){if(zc){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,i=t.touches?t.touches[0]:t,a=tn&&Lu(tn,!0),s=tn&&a&&a.a,l=tn&&a&&a.d,c=Cv&&po&&tk(po),u=(i.clientX-zc.clientX+o.x)/(s||1)+(c?c[0]-l4[0]:0)/(s||1),f=(i.clientY-zc.clientY+o.y)/(l||1)+(c?c[1]-l4[1]:0)/(l||1);if(!Vt.active&&!Gf){if(r&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(tn){a?(a.e+=u-(a4||0),a.f+=f-(s4||0)):a={a:1,b:0,c:0,d:1,e:u,f};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");Lt(tn,"webkitTransform",d),Lt(tn,"mozTransform",d),Lt(tn,"msTransform",d),Lt(tn,"transform",d),a4=u,s4=f,ga=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!tn){var t=this.options.fallbackOnBody?document.body:tr,n=or(ht,!0,Cv,!0,t),r=this.options;if(Cv){for(po=t;Lt(po,"position")==="static"&&Lt(po,"transform")==="none"&&po!==document;)po=po.parentNode;po!==document.body&&po!==document.documentElement?(po===document&&(po=gs()),n.top+=po.scrollTop,n.left+=po.scrollLeft):po=gs(),l4=tk(po)}tn=ht.cloneNode(!0),ur(tn,r.ghostClass,!1),ur(tn,r.fallbackClass,!0),ur(tn,r.dragClass,!0),Lt(tn,"transition",""),Lt(tn,"transform",""),Lt(tn,"box-sizing","border-box"),Lt(tn,"margin",0),Lt(tn,"top",n.top),Lt(tn,"left",n.left),Lt(tn,"width",n.width),Lt(tn,"height",n.height),Lt(tn,"opacity","0.8"),Lt(tn,"position",Cv?"absolute":"fixed"),Lt(tn,"zIndex","100000"),Lt(tn,"pointerEvents","none"),Vt.ghost=tn,t.appendChild(tn),Lt(tn,"transform-origin",rk/parseInt(tn.style.width)*100+"% "+ok/parseInt(tn.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,i=r.options;if(Ho("dragStart",this,{evt:t}),Vt.eventCanceled){this._onDrop();return}Ho("setupClone",this),Vt.eventCanceled||(mr=F5(ht),mr.draggable=!1,mr.style["will-change"]="",this._hideClone(),ur(mr,this.options.chosenClass,!1),Vt.clone=mr),r.cloneId=pg(function(){Ho("clone",r),!Vt.eventCanceled&&(r.options.removeCloneOnHide||tr.insertBefore(mr,ht),r._hideClone(),Co({sortable:r,name:"clone"}))}),!n&&ur(ht,i.dragClass,!0),n?(xm=!0,r._loopId=setInterval(r._emulateDragOver,50)):(cn(document,"mouseup",r._onDrop),cn(document,"touchend",r._onDrop),cn(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(r,o,ht)),vn(document,"drop",r),Lt(ht,"transform","translateZ(0)")),Gf=!0,r._dragStartId=pg(r._dragStarted.bind(r,n,t)),vn(document,"selectstart",r),ah=!0,Xh&&Lt(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,i,a,s=this.options,l=s.group,c=Vt.active,u=Nv===l,f=s.sort,d=eo||c,h,p=this,v=!1;if(xb)return;function m(Y,$){Ho(Y,p,xs({evt:t,isOwner:u,axis:h?"vertical":"horizontal",revert:a,dragRect:o,targetRect:i,canSort:f,fromSortable:d,target:r,completed:y,onMove:function(Q,K){return Iv(tr,n,ht,o,Q,or(Q),t,K)},changed:R},$))}function x(){m("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function y(Y){return m("dragOverCompleted",{insertion:Y}),Y&&(u?c._hideClone():c._showClone(p),p!==d&&(ur(ht,eo?eo.options.ghostClass:c.options.ghostClass,!1),ur(ht,s.ghostClass,!0)),eo!==p&&p!==Vt.active?eo=p:p===Vt.active&&eo&&(eo=null),d===p&&(p._ignoreWhileAnimating=r),p.animateAll(function(){m("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(r===ht&&!ht.animated||r===n&&!r.animated)&&(Pf=null),!s.dragoverBubble&&!t.rootEl&&r!==document&&(ht.parentNode[yo]._isOutsideThisEl(t.target),!Y&&Jc(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function R(){xi=Rr(ht),zl=Rr(ht,s.draggable),Co({sortable:p,name:"change",toEl:n,newIndex:xi,newDraggableIndex:zl,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=wa(r,s.draggable,n,!0),m("dragOver"),Vt.eventCanceled)return v;if(ht.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||p._ignoreWhileAnimating===r)return y(!1);if(xm=!1,c&&!s.disabled&&(u?f||(a=gr!==tr):eo===this||(this.lastPutMode=Nv.checkPull(this,c,ht,t))&&l.checkPut(this,c,ht,t))){if(h=this._getDirection(t,r)==="vertical",o=or(ht),m("dragOverValid"),Vt.eventCanceled)return v;if(a)return gr=tr,x(),this._hideClone(),m("revert"),Vt.eventCanceled||(tu?tr.insertBefore(ht,tu):tr.appendChild(ht)),y(!0);var A=I5(n,s.draggable);if(!A||c1e(t,h,this)&&!A.animated){if(A===ht)return y(!1);if(A&&n===t.target&&(r=A),r&&(i=or(r)),Iv(tr,n,ht,o,r,i,t,!!r)!==!1)return x(),n.appendChild(ht),gr=n,R(),y(!0)}else if(A&&l1e(t,h,this)){var b=Ud(n,0,s,!0);if(b===ht)return y(!1);if(r=b,i=or(r),Iv(tr,n,ht,o,r,i,t,!1)!==!1)return x(),n.insertBefore(ht,b),gr=n,R(),y(!0)}else if(r.parentNode===n){i=or(r);var M=0,T,w=ht.parentNode!==n,L=!r1e(ht.animated&&ht.toRect||o,r.animated&&r.toRect||i,h),k=h?"top":"left",E=ek(r,"top","top")||ek(ht,"top","top"),P=E?E.scrollTop:void 0;Pf!==r&&(T=i[k],Yh=!1,Pv=!L&&s.invertSwap||w),M=u1e(t,r,i,h,L?1:s.swapThreshold,s.invertedSwapThreshold==null?s.swapThreshold:s.invertedSwapThreshold,Pv,Pf===r);var W;if(M!==0){var N=Rr(ht);do N-=M,W=gr.children[N];while(W&&(Lt(W,"display")==="none"||W===tn))}if(M===0||W===r)return y(!1);Pf=r,Uh=M;var _=r.nextElementSibling,C=!1;C=M===1;var X=Iv(tr,n,ht,o,r,i,t,C);if(X!==!1)return(X===1||X===-1)&&(C=X===1),xb=!0,setTimeout(s1e,30),x(),C&&!_?n.appendChild(ht):r.parentNode.insertBefore(ht,C?_:r),E&&I_(E,0,P-E.scrollTop),gr=ht.parentNode,T!==void 0&&!Pv&&(hg=Math.abs(T-or(r)[k])),R(),y(!0)}if(n.contains(ht))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){cn(document,"mousemove",this._onTouchMove),cn(document,"touchmove",this._onTouchMove),cn(document,"pointermove",this._onTouchMove),cn(document,"dragover",Jc),cn(document,"mousemove",Jc),cn(document,"touchmove",Jc)},_offUpEvents:function(){var t=this.el.ownerDocument;cn(t,"mouseup",this._onDrop),cn(t,"touchend",this._onDrop),cn(t,"pointerup",this._onDrop),cn(t,"touchcancel",this._onDrop),cn(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(xi=Rr(ht),zl=Rr(ht,r.draggable),Ho("drop",this,{evt:t}),gr=ht&&ht.parentNode,xi=Rr(ht),zl=Rr(ht,r.draggable),Vt.eventCanceled){this._nulling();return}Gf=!1,Pv=!1,Yh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Sb(this.cloneId),Sb(this._dragStartId),this.nativeDraggable&&(cn(document,"drop",this),cn(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Xh&&Lt(document.body,"user-select",""),Lt(ht,"transform",""),t&&(ah&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),tn&&tn.parentNode&&tn.parentNode.removeChild(tn),(tr===gr||eo&&eo.lastPutMode!=="clone")&&mr&&mr.parentNode&&mr.parentNode.removeChild(mr),ht&&(this.nativeDraggable&&cn(ht,"dragend",this),c4(ht),ht.style["will-change"]="",ah&&!Gf&&ur(ht,eo?eo.options.ghostClass:this.options.ghostClass,!1),ur(ht,this.options.chosenClass,!1),Co({sortable:this,name:"unchoose",toEl:gr,newIndex:null,newDraggableIndex:null,originalEvent:t}),tr!==gr?(xi>=0&&(Co({rootEl:gr,name:"add",toEl:gr,fromEl:tr,originalEvent:t}),Co({sortable:this,name:"remove",toEl:gr,originalEvent:t}),Co({rootEl:gr,name:"sort",toEl:gr,fromEl:tr,originalEvent:t}),Co({sortable:this,name:"sort",toEl:gr,originalEvent:t})),eo&&eo.save()):xi!==td&&xi>=0&&(Co({sortable:this,name:"update",toEl:gr,originalEvent:t}),Co({sortable:this,name:"sort",toEl:gr,originalEvent:t})),Vt.active&&((xi==null||xi===-1)&&(xi=td,zl=Vh),Co({sortable:this,name:"end",toEl:gr,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Ho("nulling",this),tr=ht=gr=tn=tu=mr=dg=ec=zc=ga=ah=xi=zl=td=Vh=Pf=Uh=eo=Nv=Vt.dragged=Vt.ghost=Vt.clone=Vt.active=null,Mm.forEach(function(t){t.checked=!0}),Mm.length=a4=s4=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ht&&(this._onDragOver(t),a1e(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,i=r.length,a=this.options;o<i;o++)n=r[o],wa(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||d1e(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(i,a){var s=o.children[a];wa(s,this.options.draggable,o,!1)&&(r[i]=s)},this),n&&this.captureAnimationState(),t.forEach(function(i){r[i]&&(o.removeChild(r[i]),o.appendChild(r[i]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return wa(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=$p.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&E_(r)},destroy:function(){Ho("destroy",this);var t=this.el;t[yo]=null,cn(t,"mousedown",this._onTapStart),cn(t,"touchstart",this._onTapStart),cn(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(cn(t,"dragover",this),cn(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Sm.splice(Sm.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ec){if(Ho("hideClone",this),Vt.eventCanceled)return;Lt(mr,"display","none"),this.options.removeCloneOnHide&&mr.parentNode&&mr.parentNode.removeChild(mr),ec=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(ec){if(Ho("showClone",this),Vt.eventCanceled)return;ht.parentNode==tr&&!this.options.group.revertClone?tr.insertBefore(mr,ht):tu?tr.insertBefore(mr,tu):tr.appendChild(mr),this.options.group.revertClone&&this.animate(ht,mr),Lt(mr,"display",""),ec=!1}}};function a1e(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Iv(e,t,n,r,o,i,a,s){var l,c=e[yo],u=c.options.onMove,f;return window.CustomEvent&&!vl&&!Jp?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=i||or(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),u&&(f=u.call(c,l,a)),f}function c4(e){e.draggable=!1}function s1e(){xb=!1}function l1e(e,t,n){var r=or(Ud(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function c1e(e,t,n){var r=or(I5(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||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+o}function u1e(e,t,n,r,o,i,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a){if(s&&hg<c*o){if(!Yh&&(Uh===1?l>u+c*i/2:l<f-c*i/2)&&(Yh=!0),Yh)d=!0;else if(Uh===1?l<u+hg:l>f-hg)return-Uh}else if(l>u+c*(1-o)/2&&l<f-c*(1-o)/2)return f1e(t)}return d=d||a,d&&(l<u+c*i/2||l>f-c*i/2)?l>u+c/2?1:-1:0}function f1e(e){return Rr(ht)<Rr(e)?1:-1}function d1e(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function h1e(e){Mm.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Mm.push(r)}}function pg(e){return setTimeout(e,0)}function Sb(e){return clearTimeout(e)}x2&&vn(document,"touchmove",function(e){(Vt.active||Gf)&&e.cancelable&&e.preventDefault()});Vt.utils={on:vn,off:cn,css:Lt,find:P_,is:function(t,n){return!!wa(t,n,t,!1)},extend:Jpe,throttle:C_,closest:wa,toggleClass:ur,clone:F5,index:Rr,nextTick:pg,cancelNextTick:Sb,detectDirection:__,getChild:Ud};Vt.get=function(e){return e[yo]};Vt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Vt.utils=xs(xs({},Vt.utils),r.utils)),$p.mount(r)})};Vt.create=function(e,t){return new Vt(e,t)};Vt.version=Kpe;var kr=[],sh,Mb,wb=!1,u4,f4,wm,lh;function p1e(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?vn(document,"dragover",this._handleAutoScroll):this.options.supportPointer?vn(document,"pointermove",this._handleFallbackAutoScroll):r.touches?vn(document,"touchmove",this._handleFallbackAutoScroll):vn(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?cn(document,"dragover",this._handleAutoScroll):(cn(document,"pointermove",this._handleFallbackAutoScroll),cn(document,"touchmove",this._handleFallbackAutoScroll),cn(document,"mousemove",this._handleFallbackAutoScroll)),ak(),vg(),$pe()},nulling:function(){wm=Mb=sh=wb=lh=u4=f4=null,kr.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,i=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,s=document.elementFromPoint(i,a);if(wm=n,r||this.options.forceAutoScrollFallback||Jp||vl||Xh){d4(n,this.options,s,r);var l=ic(s,!0);wb&&(!lh||i!==u4||a!==f4)&&(lh&&ak(),lh=setInterval(function(){var c=ic(document.elementFromPoint(i,a),!0);c!==l&&(l=c,vg()),d4(n,o.options,c,r)},10),u4=i,f4=a)}else{if(!this.options.bubbleScroll||ic(s,!0)===gs()){vg();return}d4(n,this.options,ic(s,!1),!1)}}},sa(e,{pluginName:"scroll",initializeByDefault:!0})}function vg(){kr.forEach(function(e){clearInterval(e.pid)}),kr=[]}function ak(){clearInterval(lh)}var d4=C_(function(e,t,n,r){if(t.scroll){var o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,s=t.scrollSpeed,l=gs(),c=!1,u;Mb!==n&&(Mb=n,vg(),sh=t.scroll,u=t.scrollFn,sh===!0&&(sh=ic(n,!0)));var f=0,d=sh;do{var h=d,p=or(h),v=p.top,m=p.bottom,x=p.left,y=p.right,R=p.width,A=p.height,b=void 0,M=void 0,T=h.scrollWidth,w=h.scrollHeight,L=Lt(h),k=h.scrollLeft,E=h.scrollTop;h===l?(b=R<T&&(L.overflowX==="auto"||L.overflowX==="scroll"||L.overflowX==="visible"),M=A<w&&(L.overflowY==="auto"||L.overflowY==="scroll"||L.overflowY==="visible")):(b=R<T&&(L.overflowX==="auto"||L.overflowX==="scroll"),M=A<w&&(L.overflowY==="auto"||L.overflowY==="scroll"));var P=b&&(Math.abs(y-o)<=a&&k+R<T)-(Math.abs(x-o)<=a&&!!k),W=M&&(Math.abs(m-i)<=a&&E+A<w)-(Math.abs(v-i)<=a&&!!E);if(!kr[f])for(var N=0;N<=f;N++)kr[N]||(kr[N]={});(kr[f].vx!=P||kr[f].vy!=W||kr[f].el!==h)&&(kr[f].el=h,kr[f].vx=P,kr[f].vy=W,clearInterval(kr[f].pid),(P!=0||W!=0)&&(c=!0,kr[f].pid=setInterval((function(){r&&this.layer===0&&Vt.active._onTouchMove(wm);var _=kr[this.layer].vy?kr[this.layer].vy*s:0,C=kr[this.layer].vx?kr[this.layer].vx*s:0;typeof u=="function"&&u.call(Vt.dragged.parentNode[yo],C,_,e,wm,kr[this.layer].el)!=="continue"||I_(kr[this.layer].el,C,_)}).bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==l&&(d=ic(d,!1)));wb=c}},30),V_=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,i=t.activeSortable,a=t.dispatchSortableEvent,s=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var c=r||i;s();var u=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(u.clientX,u.clientY);l(),c&&!c.el.contains(f)&&(a("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function _5(){}_5.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=Ud(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:V_};sa(_5,{pluginName:"revertOnSpill"});function E5(){}E5.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:V_};sa(E5,{pluginName:"removeOnSpill"});var Ki;function v1e(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;Ki=r},dragOverValid:function(n){var r=n.completed,o=n.target,i=n.onMove,a=n.activeSortable,s=n.changed,l=n.cancel;if(a.options.swap){var c=this.sortable.el,u=this.options;if(o&&o!==c){var f=Ki;i(o)!==!1?(ur(o,u.swapClass,!0),Ki=o):Ki=null,f&&f!==Ki&&ur(f,u.swapClass,!1)}s(),r(!0),l()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,i=n.dragEl,a=o||this.sortable,s=this.options;Ki&&ur(Ki,s.swapClass,!1),Ki&&(s.swap||o&&o.options.swap)&&i!==Ki&&(a.captureAnimationState(),a!==r&&r.captureAnimationState(),g1e(i,Ki),a.animateAll(),a!==r&&r.animateAll())},nulling:function(){Ki=null}},sa(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Ki}}})}function g1e(e,t){var n=e.parentNode,r=t.parentNode,o,i;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Rr(e),i=Rr(t),n.isEqualNode(r)&&o<i&&i++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[i]))}var jt=[],bi=[],N0,ma,P0=!1,Go=!1,Cf=!1,Bn,C0,Fv;function m1e(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?vn(document,"pointerup",this._deselectMultiDrag):(vn(document,"mouseup",this._deselectMultiDrag),vn(document,"touchend",this._deselectMultiDrag)),vn(document,"keydown",this._checkKeyDown),vn(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,i){var a="";jt.length&&ma===t?jt.forEach(function(s,l){a+=(l?", ":"")+s.textContent}):a=i.textContent,o.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;Bn=r},delayEnded:function(){this.isMultiDrag=~jt.indexOf(Bn)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var i=0;i<jt.length;i++)bi.push(F5(jt[i])),bi[i].sortableIndex=jt[i].sortableIndex,bi[i].draggable=!1,bi[i].style["will-change"]="",ur(bi[i],this.options.selectedClass,!1),jt[i]===Bn&&ur(bi[i],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,i=n.dispatchSortableEvent,a=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||jt.length&&ma===r&&(sk(!0,o),i("clone"),a()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,i=n.cancel;this.isMultiDrag&&(sk(!1,o),bi.forEach(function(a){Lt(a,"display","")}),r(),Fv=!1,i())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,i=n.cancel;this.isMultiDrag&&(bi.forEach(function(a){Lt(a,"display","none"),r.options.removeCloneOnHide&&a.parentNode&&a.parentNode.removeChild(a)}),o(),Fv=!0,i())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&ma&&ma.multiDrag._deselectMultiDrag(),jt.forEach(function(r){r.sortableIndex=Rr(r)}),jt=jt.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),Cf=!0},dragStarted:function(n){var r=this,o=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){jt.forEach(function(a){a!==Bn&&Lt(a,"position","absolute")});var i=or(Bn,!1,!0,!0);jt.forEach(function(a){a!==Bn&&nk(a,i)}),Go=!0,P0=!0}o.animateAll(function(){Go=!1,P0=!1,r.options.animation&&jt.forEach(function(a){o4(a)}),r.options.sort&&_v()})}},dragOver:function(n){var r=n.target,o=n.completed,i=n.cancel;Go&&~jt.indexOf(r)&&(o(!1),i())},revert:function(n){var r=n.fromSortable,o=n.rootEl,i=n.sortable,a=n.dragRect;jt.length>1&&(jt.forEach(function(s){i.addAnimationState({target:s,rect:Go?or(s):a}),o4(s),s.fromRect=a,r.removeAnimationState(s)}),Go=!1,A1e(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,i=n.insertion,a=n.activeSortable,s=n.parentEl,l=n.putSortable,c=this.options;if(i){if(o&&a._hideClone(),P0=!1,c.animation&&jt.length>1&&(Go||!o&&!a.options.sort&&!l)){var u=or(Bn,!1,!0,!0);jt.forEach(function(d){d!==Bn&&(nk(d,u),s.appendChild(d))}),Go=!0}if(!o)if(Go||_v(),jt.length>1){var f=Fv;a._showClone(r),a.options.animation&&!Fv&&f&&bi.forEach(function(d){a.addAnimationState({target:d,rect:C0}),d.fromRect=C0,d.thisAnimationDuration=null})}else a._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,i=n.activeSortable;if(jt.forEach(function(s){s.thisAnimationDuration=null}),i.options.animation&&!o&&i.multiDrag.isMultiDrag){C0=sa({},r);var a=Lu(Bn,!0);C0.top-=a.f,C0.left-=a.e}},dragOverAnimationComplete:function(){Go&&(Go=!1,_v())},drop:function(n){var r=n.originalEvent,o=n.rootEl,i=n.parentEl,a=n.sortable,s=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,u=c||this.sortable;if(r){var f=this.options,d=i.children;if(!Cf)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),ur(Bn,f.selectedClass,!~jt.indexOf(Bn)),~jt.indexOf(Bn))jt.splice(jt.indexOf(Bn),1),N0=null,ih({sortable:a,rootEl:o,name:"deselect",targetEl:Bn,originalEvt:r});else{if(jt.push(Bn),ih({sortable:a,rootEl:o,name:"select",targetEl:Bn,originalEvt:r}),r.shiftKey&&N0&&a.el.contains(N0)){var h=Rr(N0),p=Rr(Bn);if(~h&&~p&&h!==p){var v,m;for(p>h?(m=h,v=p):(m=p,v=h+1);m<v;m++)~jt.indexOf(d[m])||(ur(d[m],f.selectedClass,!0),jt.push(d[m]),ih({sortable:a,rootEl:o,name:"select",targetEl:d[m],originalEvt:r}))}}else N0=Bn;ma=u}if(Cf&&this.isMultiDrag){if(Go=!1,(i[yo].options.sort||i!==o)&&jt.length>1){var x=or(Bn),y=Rr(Bn,":not(."+this.options.selectedClass+")");if(!P0&&f.animation&&(Bn.thisAnimationDuration=null),u.captureAnimationState(),!P0&&(f.animation&&(Bn.fromRect=x,jt.forEach(function(A){if(A.thisAnimationDuration=null,A!==Bn){var b=Go?or(A):x;A.fromRect=b,u.addAnimationState({target:A,rect:b})}})),_v(),jt.forEach(function(A){d[y]?i.insertBefore(A,d[y]):i.appendChild(A),y++}),l===Rr(Bn))){var R=!1;jt.forEach(function(A){if(A.sortableIndex!==Rr(A)){R=!0;return}}),R&&s("update")}jt.forEach(function(A){o4(A)}),u.animateAll()}ma=u}(o===i||c&&c.lastPutMode!=="clone")&&bi.forEach(function(A){A.parentNode&&A.parentNode.removeChild(A)})}},nullingGlobal:function(){this.isMultiDrag=Cf=!1,bi.length=0},destroyGlobal:function(){this._deselectMultiDrag(),cn(document,"pointerup",this._deselectMultiDrag),cn(document,"mouseup",this._deselectMultiDrag),cn(document,"touchend",this._deselectMultiDrag),cn(document,"keydown",this._checkKeyDown),cn(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Cf<"u"&&Cf)&&ma===this.sortable&&!(n&&wa(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;jt.length;){var r=jt[0];ur(r,this.options.selectedClass,!1),jt.shift(),ih({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)}},sa(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[yo];!r||!r.options.multiDrag||~jt.indexOf(n)||(ma&&ma!==r&&(ma.multiDrag._deselectMultiDrag(),ma=r),ur(n,r.options.selectedClass,!0),jt.push(n))},deselect:function(n){var r=n.parentNode[yo],o=jt.indexOf(n);!r||!r.options.multiDrag||!~o||(ur(n,r.options.selectedClass,!1),jt.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return jt.forEach(function(i){r.push({multiDragElement:i,index:i.sortableIndex});var a;Go&&i!==Bn?a=-1:Go?a=Rr(i,":not(."+n.options.selectedClass+")"):a=Rr(i),o.push({multiDragElement:i,index:a})}),{items:Ype(jt),clones:[].concat(bi),oldIndicies:r,newIndicies:o}},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 A1e(e,t){jt.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function sk(e,t){bi.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function _v(){jt.forEach(function(e){e!==Bn&&e.parentNode&&e.parentNode.removeChild(e)})}Vt.mount(new p1e);Vt.mount(E5,_5);const R1e=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:m1e,Sortable:Vt,Swap:v1e,default:Vt},Symbol.toStringTag,{value:"Module"})),y1e=Rx(R1e);(function(e,t){(function(r,o){e.exports=o(Xpe,y1e)})(typeof self<"u"?self:kt,function(n,r){return function(o){var i={};function a(s){if(i[s])return i[s].exports;var l=i[s]={i:s,l:!1,exports:{}};return o[s].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=o,a.c=i,a.d=function(s,l,c){a.o(s,l)||Object.defineProperty(s,l,{enumerable:!0,get:c})},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 c=Object.create(null);if(a.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:s}),l&2&&typeof s!="string")for(var u in s)a.d(c,u,(function(f){return s[f]}).bind(null,u));return c},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(o,i,a){var s=a("b622"),l=s("toStringTag"),c={};c[l]="z",o.exports=String(c)==="[object z]"},"0366":function(o,i,a){var s=a("1c0b");o.exports=function(l,c,u){if(s(l),c===void 0)return l;switch(u){case 0:return function(){return l.call(c)};case 1:return function(f){return l.call(c,f)};case 2:return function(f,d){return l.call(c,f,d)};case 3:return function(f,d,h){return l.call(c,f,d,h)}}return function(){return l.apply(c,arguments)}}},"057f":function(o,i,a){var s=a("fc6a"),l=a("241c").f,c={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(d){try{return l(d)}catch{return u.slice()}};o.exports.f=function(h){return u&&c.call(h)=="[object Window]"?f(h):l(s(h))}},"06cf":function(o,i,a){var s=a("83ab"),l=a("d1e7"),c=a("5c6c"),u=a("fc6a"),f=a("c04e"),d=a("5135"),h=a("0cfb"),p=Object.getOwnPropertyDescriptor;i.f=s?p:function(m,x){if(m=u(m),x=f(x,!0),h)try{return p(m,x)}catch{}if(d(m,x))return c(!l.f.call(m,x),m[x])}},"0cfb":function(o,i,a){var s=a("83ab"),l=a("d039"),c=a("cc12");o.exports=!s&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,i,a){var s=a("23e7"),l=a("d58f").left,c=a("a640"),u=a("ae40"),f=c("reduce"),d=u("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(o,i,a){var s=a("c6b6"),l=a("9263");o.exports=function(c,u){var f=c.exec;if(typeof f=="function"){var d=f.call(c,u);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(s(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,u)}},"159b":function(o,i,a){var s=a("da84"),l=a("fdbc"),c=a("17c2"),u=a("9112");for(var f in l){var d=s[f],h=d&&d.prototype;if(h&&h.forEach!==c)try{u(h,"forEach",c)}catch{h.forEach=c}}},"17c2":function(o,i,a){var s=a("b727").forEach,l=a("a640"),c=a("ae40"),u=l("forEach"),f=c("forEach");o.exports=!u||!f?function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,i,a){var s=a("d066");o.exports=s("document","documentElement")},"1c0b":function(o,i){o.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(o,i,a){var s=a("b622"),l=s("iterator"),c=!1;try{var u=0,f={next:function(){return{done:!!u++}},return:function(){c=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}o.exports=function(d,h){if(!h&&!c)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(o,i){o.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(o,i,a){var s=a("d039"),l=a("b622"),c=a("2d00"),u=l("species");o.exports=function(f){return c>=51||!s(function(){var d=[],h=d.constructor={};return h[u]=function(){return{foo:1}},d[f](Boolean).foo!==1})}},"23cb":function(o,i,a){var s=a("a691"),l=Math.max,c=Math.min;o.exports=function(u,f){var d=s(u);return d<0?l(d+f,0):c(d,f)}},"23e7":function(o,i,a){var s=a("da84"),l=a("06cf").f,c=a("9112"),u=a("6eeb"),f=a("ce4e"),d=a("e893"),h=a("94ca");o.exports=function(p,v){var m=p.target,x=p.global,y=p.stat,R,A,b,M,T,w;if(x?A=s:y?A=s[m]||f(m,{}):A=(s[m]||{}).prototype,A)for(b in v){if(T=v[b],p.noTargetGet?(w=l(A,b),M=w&&w.value):M=A[b],R=h(x?b:m+(y?".":"#")+b,p.forced),!R&&M!==void 0){if(typeof T==typeof M)continue;d(T,M)}(p.sham||M&&M.sham)&&c(T,"sham",!0),u(A,b,T,p)}}},"241c":function(o,i,a){var s=a("ca84"),l=a("7839"),c=l.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(f){return s(f,c)}},"25f0":function(o,i,a){var s=a("6eeb"),l=a("825a"),c=a("d039"),u=a("ad6d"),f="toString",d=RegExp.prototype,h=d[f],p=c(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),v=h.name!=f;(p||v)&&s(RegExp.prototype,f,function(){var x=l(this),y=String(x.source),R=x.flags,A=String(R===void 0&&x instanceof RegExp&&!("flags"in d)?u.call(x):R);return"/"+y+"/"+A},{unsafe:!0})},"2ca0":function(o,i,a){var s=a("23e7"),l=a("06cf").f,c=a("50c4"),u=a("5a34"),f=a("1d80"),d=a("ab13"),h=a("c430"),p="".startsWith,v=Math.min,m=d("startsWith"),x=!h&&!m&&!!function(){var y=l(String.prototype,"startsWith");return y&&!y.writable}();s({target:"String",proto:!0,forced:!x&&!m},{startsWith:function(R){var A=String(f(this));u(R);var b=c(v(arguments.length>1?arguments[1]:void 0,A.length)),M=String(R);return p?p.call(A,M,b):A.slice(b,b+M.length)===M}})},"2d00":function(o,i,a){var s=a("da84"),l=a("342f"),c=s.process,u=c&&c.versions,f=u&&u.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]))),o.exports=h&&+h},"342f":function(o,i,a){var s=a("d066");o.exports=s("navigator","userAgent")||""},"35a1":function(o,i,a){var s=a("f5df"),l=a("3f8c"),c=a("b622"),u=c("iterator");o.exports=function(f){if(f!=null)return f[u]||f["@@iterator"]||l[s(f)]}},"37e8":function(o,i,a){var s=a("83ab"),l=a("9bf2"),c=a("825a"),u=a("df75");o.exports=s?Object.defineProperties:function(d,h){c(d);for(var p=u(h),v=p.length,m=0,x;v>m;)l.f(d,x=p[m++],h[x]);return d}},"3bbe":function(o,i,a){var s=a("861d");o.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,i,a){var s=a("6547").charAt,l=a("69f3"),c=a("7dd0"),u="String Iterator",f=l.set,d=l.getterFor(u);c(String,"String",function(h){f(this,{type:u,string:String(h),index:0})},function(){var p=d(this),v=p.string,m=p.index,x;return m>=v.length?{value:void 0,done:!0}:(x=s(v,m),p.index+=x.length,{value:x,done:!1})})},"3f8c":function(o,i){o.exports={}},4160:function(o,i,a){var s=a("23e7"),l=a("17c2");s({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,i,a){var s=a("da84");o.exports=s},"44ad":function(o,i,a){var s=a("d039"),l=a("c6b6"),c="".split;o.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(u){return l(u)=="String"?c.call(u,""):Object(u)}:Object},"44d2":function(o,i,a){var s=a("b622"),l=a("7c73"),c=a("9bf2"),u=s("unscopables"),f=Array.prototype;f[u]==null&&c.f(f,u,{configurable:!0,value:l(null)}),o.exports=function(d){f[u][d]=!0}},"44e7":function(o,i,a){var s=a("861d"),l=a("c6b6"),c=a("b622"),u=c("match");o.exports=function(f){var d;return s(f)&&((d=f[u])!==void 0?!!d:l(f)=="RegExp")}},4930:function(o,i,a){var s=a("d039");o.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(o,i,a){var s=a("fc6a"),l=a("50c4"),c=a("23cb"),u=function(f){return function(d,h,p){var v=s(d),m=l(v.length),x=c(p,m),y;if(f&&h!=h){for(;m>x;)if(y=v[x++],y!=y)return!0}else for(;m>x;x++)if((f||x in v)&&v[x]===h)return f||x||0;return!f&&-1}};o.exports={includes:u(!0),indexOf:u(!1)}},"4de4":function(o,i,a){var s=a("23e7"),l=a("b727").filter,c=a("1dde"),u=a("ae40"),f=c("filter"),d=u("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(o,i,a){var s=a("0366"),l=a("7b0b"),c=a("9bdd"),u=a("e95a"),f=a("50c4"),d=a("8418"),h=a("35a1");o.exports=function(v){var m=l(v),x=typeof this=="function"?this:Array,y=arguments.length,R=y>1?arguments[1]:void 0,A=R!==void 0,b=h(m),M=0,T,w,L,k,E,P;if(A&&(R=s(R,y>2?arguments[2]:void 0,2)),b!=null&&!(x==Array&&u(b)))for(k=b.call(m),E=k.next,w=new x;!(L=E.call(k)).done;M++)P=A?c(k,R,[L.value,M],!0):L.value,d(w,M,P);else for(T=f(m.length),w=new x(T);T>M;M++)P=A?R(m[M],M):m[M],d(w,M,P);return w.length=M,w}},"4fad":function(o,i,a){var s=a("23e7"),l=a("6f53").entries;s({target:"Object",stat:!0},{entries:function(u){return l(u)}})},"50c4":function(o,i,a){var s=a("a691"),l=Math.min;o.exports=function(c){return c>0?l(s(c),9007199254740991):0}},5135:function(o,i){var a={}.hasOwnProperty;o.exports=function(s,l){return a.call(s,l)}},5319:function(o,i,a){var s=a("d784"),l=a("825a"),c=a("7b0b"),u=a("50c4"),f=a("a691"),d=a("1d80"),h=a("8aa5"),p=a("14c3"),v=Math.max,m=Math.min,x=Math.floor,y=/\$([$&'`]|\d\d?|<[^>]*>)/g,R=/\$([$&'`]|\d\d?)/g,A=function(b){return b===void 0?b:String(b)};s("replace",2,function(b,M,T,w){var L=w.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,k=w.REPLACE_KEEPS_$0,E=L?"$":"$0";return[function(N,_){var C=d(this),X=N==null?void 0:N[b];return X!==void 0?X.call(N,C,_):M.call(String(C),N,_)},function(W,N){if(!L&&k||typeof N=="string"&&N.indexOf(E)===-1){var _=T(M,W,this,N);if(_.done)return _.value}var C=l(W),X=String(this),Y=typeof N=="function";Y||(N=String(N));var $=C.global;if($){var le=C.unicode;C.lastIndex=0}for(var Q=[];;){var K=p(C,X);if(K===null||(Q.push(K),!$))break;var B=String(K[0]);B===""&&(C.lastIndex=h(X,u(C.lastIndex),le))}for(var D="",G=0,ae=0;ae<Q.length;ae++){K=Q[ae];for(var se=String(K[0]),J=v(m(f(K.index),X.length),0),Re=[],fe=1;fe<K.length;fe++)Re.push(A(K[fe]));var me=K.groups;if(Y){var ue=[se].concat(Re,J,X);me!==void 0&&ue.push(me);var z=String(N.apply(void 0,ue))}else z=P(se,X,J,Re,me,N);J>=G&&(D+=X.slice(G,J)+z,G=J+se.length)}return D+X.slice(G)}];function P(W,N,_,C,X,Y){var $=_+W.length,le=C.length,Q=R;return X!==void 0&&(X=c(X),Q=y),M.call(Y,Q,function(K,B){var D;switch(B.charAt(0)){case"$":return"$";case"&":return W;case"`":return N.slice(0,_);case"'":return N.slice($);case"<":D=X[B.slice(1,-1)];break;default:var G=+B;if(G===0)return K;if(G>le){var ae=x(G/10);return ae===0?K:ae<=le?C[ae-1]===void 0?B.charAt(1):C[ae-1]+B.charAt(1):K}D=C[G-1]}return D===void 0?"":D})}})},5692:function(o,i,a){var s=a("c430"),l=a("c6cd");(o.exports=function(c,u){return l[c]||(l[c]=u!==void 0?u:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,i,a){var s=a("d066"),l=a("241c"),c=a("7418"),u=a("825a");o.exports=s("Reflect","ownKeys")||function(d){var h=l.f(u(d)),p=c.f;return p?h.concat(p(d)):h}},"5a34":function(o,i,a){var s=a("44e7");o.exports=function(l){if(s(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,i){o.exports=function(a,s){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:s}}},"5db7":function(o,i,a){var s=a("23e7"),l=a("a2bf"),c=a("7b0b"),u=a("50c4"),f=a("1c0b"),d=a("65f0");s({target:"Array",proto:!0},{flatMap:function(p){var v=c(this),m=u(v.length),x;return f(p),x=d(v,0),x.length=l(x,v,v,m,0,1,p,arguments.length>1?arguments[1]:void 0),x}})},6547:function(o,i,a){var s=a("a691"),l=a("1d80"),c=function(u){return function(f,d){var h=String(l(f)),p=s(d),v=h.length,m,x;return p<0||p>=v?u?"":void 0:(m=h.charCodeAt(p),m<55296||m>56319||p+1===v||(x=h.charCodeAt(p+1))<56320||x>57343?u?h.charAt(p):m:u?h.slice(p,p+2):(m-55296<<10)+(x-56320)+65536)}};o.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(o,i,a){var s=a("861d"),l=a("e8b5"),c=a("b622"),u=c("species");o.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[u],h===null&&(h=void 0))),new(h===void 0?Array:h)(d===0?0:d)}},"69f3":function(o,i,a){var s=a("7f9a"),l=a("da84"),c=a("861d"),u=a("9112"),f=a("5135"),d=a("f772"),h=a("d012"),p=l.WeakMap,v,m,x,y=function(L){return x(L)?m(L):v(L,{})},R=function(L){return function(k){var E;if(!c(k)||(E=m(k)).type!==L)throw TypeError("Incompatible receiver, "+L+" required");return E}};if(s){var A=new p,b=A.get,M=A.has,T=A.set;v=function(L,k){return T.call(A,L,k),k},m=function(L){return b.call(A,L)||{}},x=function(L){return M.call(A,L)}}else{var w=d("state");h[w]=!0,v=function(L,k){return u(L,w,k),k},m=function(L){return f(L,w)?L[w]:{}},x=function(L){return f(L,w)}}o.exports={set:v,get:m,has:x,enforce:y,getterFor:R}},"6eeb":function(o,i,a){var s=a("da84"),l=a("9112"),c=a("5135"),u=a("ce4e"),f=a("8925"),d=a("69f3"),h=d.get,p=d.enforce,v=String(String).split("String");(o.exports=function(m,x,y,R){var A=R?!!R.unsafe:!1,b=R?!!R.enumerable:!1,M=R?!!R.noTargetGet:!1;if(typeof y=="function"&&(typeof x=="string"&&!c(y,"name")&&l(y,"name",x),p(y).source=v.join(typeof x=="string"?x:"")),m===s){b?m[x]=y:u(x,y);return}else A?!M&&m[x]&&(b=!0):delete m[x];b?m[x]=y:l(m,x,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||f(this)})},"6f53":function(o,i,a){var s=a("83ab"),l=a("df75"),c=a("fc6a"),u=a("d1e7").f,f=function(d){return function(h){for(var p=c(h),v=l(p),m=v.length,x=0,y=[],R;m>x;)R=v[x++],(!s||u.call(p,R))&&y.push(d?[R,p[R]]:p[R]);return y}};o.exports={entries:f(!0),values:f(!1)}},"73d9":function(o,i,a){var s=a("44d2");s("flatMap")},7418:function(o,i){i.f=Object.getOwnPropertySymbols},"746f":function(o,i,a){var s=a("428f"),l=a("5135"),c=a("e538"),u=a("9bf2").f;o.exports=function(f){var d=s.Symbol||(s.Symbol={});l(d,f)||u(d,f,{value:c.f(f)})}},7839:function(o,i){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,i,a){var s=a("1d80");o.exports=function(l){return Object(s(l))}},"7c73":function(o,i,a){var s=a("825a"),l=a("37e8"),c=a("7839"),u=a("d012"),f=a("1be4"),d=a("cc12"),h=a("f772"),p=">",v="<",m="prototype",x="script",y=h("IE_PROTO"),R=function(){},A=function(L){return v+x+p+L+v+"/"+x+p},b=function(L){L.write(A("")),L.close();var k=L.parentWindow.Object;return L=null,k},M=function(){var L=d("iframe"),k="java"+x+":",E;return L.style.display="none",f.appendChild(L),L.src=String(k),E=L.contentWindow.document,E.open(),E.write(A("document.F=Object")),E.close(),E.F},T,w=function(){try{T=document.domain&&new ActiveXObject("htmlfile")}catch{}w=T?b(T):M();for(var L=c.length;L--;)delete w[m][c[L]];return w()};u[y]=!0,o.exports=Object.create||function(k,E){var P;return k!==null?(R[m]=s(k),P=new R,R[m]=null,P[y]=k):P=w(),E===void 0?P:l(P,E)}},"7dd0":function(o,i,a){var s=a("23e7"),l=a("9ed3"),c=a("e163"),u=a("d2bb"),f=a("d44e"),d=a("9112"),h=a("6eeb"),p=a("b622"),v=a("c430"),m=a("3f8c"),x=a("ae93"),y=x.IteratorPrototype,R=x.BUGGY_SAFARI_ITERATORS,A=p("iterator"),b="keys",M="values",T="entries",w=function(){return this};o.exports=function(L,k,E,P,W,N,_){l(E,k,P);var C=function(ae){if(ae===W&&Q)return Q;if(!R&&ae in $)return $[ae];switch(ae){case b:return function(){return new E(this,ae)};case M:return function(){return new E(this,ae)};case T:return function(){return new E(this,ae)}}return function(){return new E(this)}},X=k+" Iterator",Y=!1,$=L.prototype,le=$[A]||$["@@iterator"]||W&&$[W],Q=!R&&le||C(W),K=k=="Array"&&$.entries||le,B,D,G;if(K&&(B=c(K.call(new L)),y!==Object.prototype&&B.next&&(!v&&c(B)!==y&&(u?u(B,y):typeof B[A]!="function"&&d(B,A,w)),f(B,X,!0,!0),v&&(m[X]=w))),W==M&&le&&le.name!==M&&(Y=!0,Q=function(){return le.call(this)}),(!v||_)&&$[A]!==Q&&d($,A,Q),m[k]=Q,W)if(D={values:C(M),keys:N?Q:C(b),entries:C(T)},_)for(G in D)(R||Y||!(G in $))&&h($,G,D[G]);else s({target:k,proto:!0,forced:R||Y},D);return D}},"7f9a":function(o,i,a){var s=a("da84"),l=a("8925"),c=s.WeakMap;o.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(o,i,a){var s=a("861d");o.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,i,a){var s=a("d039");o.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,i,a){var s=a("c04e"),l=a("9bf2"),c=a("5c6c");o.exports=function(u,f,d){var h=s(f);h in u?l.f(u,h,c(0,d)):u[h]=d}},"861d":function(o,i){o.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(o,i,a){var s,l,c;(function(u,f){l=[],s=f,c=typeof s=="function"?s.apply(i,l):s,c!==void 0&&(o.exports=c)})(typeof self<"u"?self:this,function(){function u(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==u&&document.currentScript)return document.currentScript;try{throw new Error}catch(T){var d=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=d.exec(T.stack)||h.exec(T.stack),v=p&&p[1]||!1,m=p&&p[2]||!1,x=document.location.href.replace(document.location.hash,""),y,R,A,b=document.getElementsByTagName("script");v===x&&(y=document.documentElement.outerHTML,R=new RegExp("(?:[^\\n]+?\\n){0,"+(m-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),A=y.replace(R,"$1").trim());for(var M=0;M<b.length;M++)if(b[M].readyState==="interactive"||b[M].src===v||v===x&&b[M].innerHTML&&b[M].innerHTML.trim()===A)return b[M];return null}}return u})},8925:function(o,i,a){var s=a("c6cd"),l=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(c){return l.call(c)}),o.exports=s.inspectSource},"8aa5":function(o,i,a){var s=a("6547").charAt;o.exports=function(l,c,u){return c+(u?s(l,c).length:1)}},"8bbf":function(o,i){o.exports=n},"90e3":function(o,i){var a=0,s=Math.random();o.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++a+s).toString(36)}},9112:function(o,i,a){var s=a("83ab"),l=a("9bf2"),c=a("5c6c");o.exports=s?function(u,f,d){return l.f(u,f,c(1,d))}:function(u,f,d){return u[f]=d,u}},9263:function(o,i,a){var s=a("ad6d"),l=a("9f7f"),c=RegExp.prototype.exec,u=String.prototype.replace,f=c,d=function(){var m=/a/,x=/b*/g;return c.call(m,"a"),c.call(x,"a"),m.lastIndex!==0||x.lastIndex!==0}(),h=l.UNSUPPORTED_Y||l.BROKEN_CARET,p=/()??/.exec("")[1]!==void 0,v=d||p||h;v&&(f=function(x){var y=this,R,A,b,M,T=h&&y.sticky,w=s.call(y),L=y.source,k=0,E=x;return T&&(w=w.replace("y",""),w.indexOf("g")===-1&&(w+="g"),E=String(x).slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&x[y.lastIndex-1]!==`
|
||
`)&&(L="(?: "+L+")",E=" "+E,k++),A=new RegExp("^(?:"+L+")",w)),p&&(A=new RegExp("^"+L+"$(?!\\s)",w)),d&&(R=y.lastIndex),b=c.call(T?A:y,E),T?b?(b.input=b.input.slice(k),b[0]=b[0].slice(k),b.index=y.lastIndex,y.lastIndex+=b[0].length):y.lastIndex=0:d&&b&&(y.lastIndex=y.global?b.index+b[0].length:R),p&&b&&b.length>1&&u.call(b[0],A,function(){for(M=1;M<arguments.length-2;M++)arguments[M]===void 0&&(b[M]=void 0)}),b}),o.exports=f},"94ca":function(o,i,a){var s=a("d039"),l=/#|\.prototype\./,c=function(p,v){var m=f[u(p)];return m==h?!0:m==d?!1:typeof v=="function"?s(v):!!v},u=c.normalize=function(p){return String(p).replace(l,".").toLowerCase()},f=c.data={},d=c.NATIVE="N",h=c.POLYFILL="P";o.exports=c},"99af":function(o,i,a){var s=a("23e7"),l=a("d039"),c=a("e8b5"),u=a("861d"),f=a("7b0b"),d=a("50c4"),h=a("8418"),p=a("65f0"),v=a("1dde"),m=a("b622"),x=a("2d00"),y=m("isConcatSpreadable"),R=9007199254740991,A="Maximum allowed index exceeded",b=x>=51||!l(function(){var L=[];return L[y]=!1,L.concat()[0]!==L}),M=v("concat"),T=function(L){if(!u(L))return!1;var k=L[y];return k!==void 0?!!k:c(L)},w=!b||!M;s({target:"Array",proto:!0,forced:w},{concat:function(k){var E=f(this),P=p(E,0),W=0,N,_,C,X,Y;for(N=-1,C=arguments.length;N<C;N++)if(Y=N===-1?E:arguments[N],T(Y)){if(X=d(Y.length),W+X>R)throw TypeError(A);for(_=0;_<X;_++,W++)_ in Y&&h(P,W,Y[_])}else{if(W>=R)throw TypeError(A);h(P,W++,Y)}return P.length=W,P}})},"9bdd":function(o,i,a){var s=a("825a");o.exports=function(l,c,u,f){try{return f?c(s(u)[0],u[1]):c(u)}catch(h){var d=l.return;throw d!==void 0&&s(d.call(l)),h}}},"9bf2":function(o,i,a){var s=a("83ab"),l=a("0cfb"),c=a("825a"),u=a("c04e"),f=Object.defineProperty;i.f=s?f:function(h,p,v){if(c(h),p=u(p,!0),c(v),l)try{return f(h,p,v)}catch{}if("get"in v||"set"in v)throw TypeError("Accessors not supported");return"value"in v&&(h[p]=v.value),h}},"9ed3":function(o,i,a){var s=a("ae93").IteratorPrototype,l=a("7c73"),c=a("5c6c"),u=a("d44e"),f=a("3f8c"),d=function(){return this};o.exports=function(h,p,v){var m=p+" Iterator";return h.prototype=l(s,{next:c(1,v)}),u(h,m,!1,!0),f[m]=d,h}},"9f7f":function(o,i,a){var s=a("d039");function l(c,u){return RegExp(c,u)}i.UNSUPPORTED_Y=s(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),i.BROKEN_CARET=s(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(o,i,a){var s=a("e8b5"),l=a("50c4"),c=a("0366"),u=function(f,d,h,p,v,m,x,y){for(var R=v,A=0,b=x?c(x,y,3):!1,M;A<p;){if(A in h){if(M=b?b(h[A],A,d):h[A],m>0&&s(M))R=u(f,d,M,l(M.length),R,m-1)-1;else{if(R>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[R]=M}R++}A++}return R};o.exports=u},a352:function(o,i){o.exports=r},a434:function(o,i,a){var s=a("23e7"),l=a("23cb"),c=a("a691"),u=a("50c4"),f=a("7b0b"),d=a("65f0"),h=a("8418"),p=a("1dde"),v=a("ae40"),m=p("splice"),x=v("splice",{ACCESSORS:!0,0:0,1:2}),y=Math.max,R=Math.min,A=9007199254740991,b="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!m||!x},{splice:function(T,w){var L=f(this),k=u(L.length),E=l(T,k),P=arguments.length,W,N,_,C,X,Y;if(P===0?W=N=0:P===1?(W=0,N=k-E):(W=P-2,N=R(y(c(w),0),k-E)),k+W-N>A)throw TypeError(b);for(_=d(L,N),C=0;C<N;C++)X=E+C,X in L&&h(_,C,L[X]);if(_.length=N,W<N){for(C=E;C<k-N;C++)X=C+N,Y=C+W,X in L?L[Y]=L[X]:delete L[Y];for(C=k;C>k-N+W;C--)delete L[C-1]}else if(W>N)for(C=k-N;C>E;C--)X=C+N-1,Y=C+W-1,X in L?L[Y]=L[X]:delete L[Y];for(C=0;C<W;C++)L[C+E]=arguments[C+2];return L.length=k-N+W,_}})},a4d3:function(o,i,a){var s=a("23e7"),l=a("da84"),c=a("d066"),u=a("c430"),f=a("83ab"),d=a("4930"),h=a("fdbf"),p=a("d039"),v=a("5135"),m=a("e8b5"),x=a("861d"),y=a("825a"),R=a("7b0b"),A=a("fc6a"),b=a("c04e"),M=a("5c6c"),T=a("7c73"),w=a("df75"),L=a("241c"),k=a("057f"),E=a("7418"),P=a("06cf"),W=a("9bf2"),N=a("d1e7"),_=a("9112"),C=a("6eeb"),X=a("5692"),Y=a("f772"),$=a("d012"),le=a("90e3"),Q=a("b622"),K=a("e538"),B=a("746f"),D=a("d44e"),G=a("69f3"),ae=a("b727").forEach,se=Y("hidden"),J="Symbol",Re="prototype",fe=Q("toPrimitive"),me=G.set,ue=G.getterFor(J),z=Object[Re],F=l.Symbol,j=c("JSON","stringify"),ie=P.f,q=W.f,te=k.f,re=N.f,he=X("symbols"),ce=X("op-symbols"),pe=X("string-to-symbol-registry"),xe=X("symbol-to-string-registry"),_e=X("wks"),Ae=l.QObject,Be=!Ae||!Ae[Re]||!Ae[Re].findChild,Te=f&&p(function(){return T(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a!=7})?function(ut,dt,yt){var _t=ie(z,dt);_t&&delete z[dt],q(ut,dt,yt),_t&&ut!==z&&q(z,dt,_t)}:q,De=function(ut,dt){var yt=he[ut]=T(F[Re]);return me(yt,{type:J,tag:ut,description:dt}),f||(yt.description=dt),yt},ye=h?function(ut){return typeof ut=="symbol"}:function(ut){return Object(ut)instanceof F},Le=function(dt,yt,_t){dt===z&&Le(ce,yt,_t),y(dt);var Zt=b(yt,!0);return y(_t),v(he,Zt)?(_t.enumerable?(v(dt,se)&&dt[se][Zt]&&(dt[se][Zt]=!1),_t=T(_t,{enumerable:M(0,!1)})):(v(dt,se)||q(dt,se,M(1,{})),dt[se][Zt]=!0),Te(dt,Zt,_t)):q(dt,Zt,_t)},Pe=function(dt,yt){y(dt);var _t=A(yt),Zt=w(_t).concat(et(_t));return ae(Zt,function(Tn){(!f||rt.call(_t,Tn))&&Le(dt,Tn,_t[Tn])}),dt},Ye=function(dt,yt){return yt===void 0?T(dt):Pe(T(dt),yt)},rt=function(dt){var yt=b(dt,!0),_t=re.call(this,yt);return this===z&&v(he,yt)&&!v(ce,yt)?!1:_t||!v(this,yt)||!v(he,yt)||v(this,se)&&this[se][yt]?_t:!0},Ne=function(dt,yt){var _t=A(dt),Zt=b(yt,!0);if(!(_t===z&&v(he,Zt)&&!v(ce,Zt))){var Tn=ie(_t,Zt);return Tn&&v(he,Zt)&&!(v(_t,se)&&_t[se][Zt])&&(Tn.enumerable=!0),Tn}},Ke=function(dt){var yt=te(A(dt)),_t=[];return ae(yt,function(Zt){!v(he,Zt)&&!v($,Zt)&&_t.push(Zt)}),_t},et=function(dt){var yt=dt===z,_t=te(yt?ce:A(dt)),Zt=[];return ae(_t,function(Tn){v(he,Tn)&&(!yt||v(z,Tn))&&Zt.push(he[Tn])}),Zt};if(d||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor");var dt=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),yt=le(dt),_t=function(Zt){this===z&&_t.call(ce,Zt),v(this,se)&&v(this[se],yt)&&(this[se][yt]=!1),Te(this,yt,M(1,Zt))};return f&&Be&&Te(z,yt,{configurable:!0,set:_t}),De(yt,dt)},C(F[Re],"toString",function(){return ue(this).tag}),C(F,"withoutSetter",function(ut){return De(le(ut),ut)}),N.f=rt,W.f=Le,P.f=Ne,L.f=k.f=Ke,E.f=et,K.f=function(ut){return De(Q(ut),ut)},f&&(q(F[Re],"description",{configurable:!0,get:function(){return ue(this).description}}),u||C(z,"propertyIsEnumerable",rt,{unsafe:!0}))),s({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:F}),ae(w(_e),function(ut){B(ut)}),s({target:J,stat:!0,forced:!d},{for:function(ut){var dt=String(ut);if(v(pe,dt))return pe[dt];var yt=F(dt);return pe[dt]=yt,xe[yt]=dt,yt},keyFor:function(dt){if(!ye(dt))throw TypeError(dt+" is not a symbol");if(v(xe,dt))return xe[dt]},useSetter:function(){Be=!0},useSimple:function(){Be=!1}}),s({target:"Object",stat:!0,forced:!d,sham:!f},{create:Ye,defineProperty:Le,defineProperties:Pe,getOwnPropertyDescriptor:Ne}),s({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:Ke,getOwnPropertySymbols:et}),s({target:"Object",stat:!0,forced:p(function(){E.f(1)})},{getOwnPropertySymbols:function(dt){return E.f(R(dt))}}),j){var At=!d||p(function(){var ut=F();return j([ut])!="[null]"||j({a:ut})!="{}"||j(Object(ut))!="{}"});s({target:"JSON",stat:!0,forced:At},{stringify:function(dt,yt,_t){for(var Zt=[dt],Tn=1,ua;arguments.length>Tn;)Zt.push(arguments[Tn++]);if(ua=yt,!(!x(yt)&&dt===void 0||ye(dt)))return m(yt)||(yt=function(Va,uo){if(typeof ua=="function"&&(uo=ua.call(this,Va,uo)),!ye(uo))return uo}),Zt[1]=yt,j.apply(null,Zt)}})}F[Re][fe]||_(F[Re],fe,F[Re].valueOf),D(F,J),$[se]=!0},a630:function(o,i,a){var s=a("23e7"),l=a("4df4"),c=a("1c7e"),u=!c(function(f){Array.from(f)});s({target:"Array",stat:!0,forced:u},{from:l})},a640:function(o,i,a){var s=a("d039");o.exports=function(l,c){var u=[][l];return!!u&&s(function(){u.call(null,c||function(){throw 1},1)})}},a691:function(o,i){var a=Math.ceil,s=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?s:a)(l)}},ab13:function(o,i,a){var s=a("b622"),l=s("match");o.exports=function(c){var u=/./;try{"/./"[c](u)}catch{try{return u[l]=!1,"/./"[c](u)}catch{}}return!1}},ac1f:function(o,i,a){var s=a("23e7"),l=a("9263");s({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,i,a){var s=a("825a");o.exports=function(){var l=s(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(o,i,a){var s=a("83ab"),l=a("d039"),c=a("5135"),u=Object.defineProperty,f={},d=function(h){throw h};o.exports=function(h,p){if(c(f,h))return f[h];p||(p={});var v=[][h],m=c(p,"ACCESSORS")?p.ACCESSORS:!1,x=c(p,0)?p[0]:d,y=c(p,1)?p[1]:void 0;return f[h]=!!v&&!l(function(){if(m&&!s)return!0;var R={length:-1};m?u(R,1,{enumerable:!0,get:d}):R[1]=1,v.call(R,x,y)})}},ae93:function(o,i,a){var s=a("e163"),l=a("9112"),c=a("5135"),u=a("b622"),f=a("c430"),d=u("iterator"),h=!1,p=function(){return this},v,m,x;[].keys&&(x=[].keys(),"next"in x?(m=s(s(x)),m!==Object.prototype&&(v=m)):h=!0),v==null&&(v={}),!f&&!c(v,d)&&l(v,d,p),o.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:h}},b041:function(o,i,a){var s=a("00ee"),l=a("f5df");o.exports=s?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,i,a){var s=a("83ab"),l=a("9bf2").f,c=Function.prototype,u=c.toString,f=/^\s*function ([^ (]*)/,d="name";s&&!(d in c)&&l(c,d,{configurable:!0,get:function(){try{return u.call(this).match(f)[1]}catch{return""}}})},b622:function(o,i,a){var s=a("da84"),l=a("5692"),c=a("5135"),u=a("90e3"),f=a("4930"),d=a("fdbf"),h=l("wks"),p=s.Symbol,v=d?p:p&&p.withoutSetter||u;o.exports=function(m){return c(h,m)||(f&&c(p,m)?h[m]=p[m]:h[m]=v("Symbol."+m)),h[m]}},b64b:function(o,i,a){var s=a("23e7"),l=a("7b0b"),c=a("df75"),u=a("d039"),f=u(function(){c(1)});s({target:"Object",stat:!0,forced:f},{keys:function(h){return c(l(h))}})},b727:function(o,i,a){var s=a("0366"),l=a("44ad"),c=a("7b0b"),u=a("50c4"),f=a("65f0"),d=[].push,h=function(p){var v=p==1,m=p==2,x=p==3,y=p==4,R=p==6,A=p==5||R;return function(b,M,T,w){for(var L=c(b),k=l(L),E=s(M,T,3),P=u(k.length),W=0,N=w||f,_=v?N(b,P):m?N(b,0):void 0,C,X;P>W;W++)if((A||W in k)&&(C=k[W],X=E(C,W,L),p)){if(v)_[W]=X;else if(X)switch(p){case 3:return!0;case 5:return C;case 6:return W;case 2:d.call(_,C)}else if(y)return!1}return R?-1:x||y?y:_}};o.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(o,i,a){var s=a("861d");o.exports=function(l,c){if(!s(l))return l;var u,f;if(c&&typeof(u=l.toString)=="function"&&!s(f=u.call(l))||typeof(u=l.valueOf)=="function"&&!s(f=u.call(l))||!c&&typeof(u=l.toString)=="function"&&!s(f=u.call(l)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(o,i){o.exports=!1},c6b6:function(o,i){var a={}.toString;o.exports=function(s){return a.call(s).slice(8,-1)}},c6cd:function(o,i,a){var s=a("da84"),l=a("ce4e"),c="__core-js_shared__",u=s[c]||l(c,{});o.exports=u},c740:function(o,i,a){var s=a("23e7"),l=a("b727").findIndex,c=a("44d2"),u=a("ae40"),f="findIndex",d=!0,h=u(f);f in[]&&Array(1)[f](function(){d=!1}),s({target:"Array",proto:!0,forced:d||!h},{findIndex:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}}),c(f)},c8ba:function(o,i){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}o.exports=a},c975:function(o,i,a){var s=a("23e7"),l=a("4d64").indexOf,c=a("a640"),u=a("ae40"),f=[].indexOf,d=!!f&&1/[1].indexOf(1,-0)<0,h=c("indexOf"),p=u("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:d||!h||!p},{indexOf:function(m){return d?f.apply(this,arguments)||0:l(this,m,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,i,a){var s=a("5135"),l=a("fc6a"),c=a("4d64").indexOf,u=a("d012");o.exports=function(f,d){var h=l(f),p=0,v=[],m;for(m in h)!s(u,m)&&s(h,m)&&v.push(m);for(;d.length>p;)s(h,m=d[p++])&&(~c(v,m)||v.push(m));return v}},caad:function(o,i,a){var s=a("23e7"),l=a("4d64").includes,c=a("44d2"),u=a("ae40"),f=u("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:!f},{includes:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(o,i,a){var s=a("da84"),l=a("861d"),c=s.document,u=l(c)&&l(c.createElement);o.exports=function(f){return u?c.createElement(f):{}}},ce4e:function(o,i,a){var s=a("da84"),l=a("9112");o.exports=function(c,u){try{l(s,c,u)}catch{s[c]=u}return u}},d012:function(o,i){o.exports={}},d039:function(o,i){o.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(o,i,a){var s=a("428f"),l=a("da84"),c=function(u){return typeof u=="function"?u:void 0};o.exports=function(u,f){return arguments.length<2?c(s[u])||c(l[u]):s[u]&&s[u][f]||l[u]&&l[u][f]}},d1e7:function(o,i,a){var s={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!s.call({1:2},1);i.f=c?function(f){var d=l(this,f);return!!d&&d.enumerable}:s},d28b:function(o,i,a){var s=a("746f");s("iterator")},d2bb:function(o,i,a){var s=a("825a"),l=a("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,u={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(u,[]),c=u instanceof Array}catch{}return function(h,p){return s(h),l(p),c?f.call(h,p):h.__proto__=p,h}}():void 0)},d3b7:function(o,i,a){var s=a("00ee"),l=a("6eeb"),c=a("b041");s||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(o,i,a){var s=a("9bf2").f,l=a("5135"),c=a("b622"),u=c("toStringTag");o.exports=function(f,d,h){f&&!l(f=h?f:f.prototype,u)&&s(f,u,{configurable:!0,value:d})}},d58f:function(o,i,a){var s=a("1c0b"),l=a("7b0b"),c=a("44ad"),u=a("50c4"),f=function(d){return function(h,p,v,m){s(p);var x=l(h),y=c(x),R=u(x.length),A=d?R-1:0,b=d?-1:1;if(v<2)for(;;){if(A in y){m=y[A],A+=b;break}if(A+=b,d?A<0:R<=A)throw TypeError("Reduce of empty array with no initial value")}for(;d?A>=0:R>A;A+=b)A in y&&(m=p(m,y[A],A,x));return m}};o.exports={left:f(!1),right:f(!0)}},d784:function(o,i,a){a("ac1f");var s=a("6eeb"),l=a("d039"),c=a("b622"),u=a("9263"),f=a("9112"),d=c("species"),h=!l(function(){var y=/./;return y.exec=function(){var R=[];return R.groups={a:"7"},R},"".replace(y,"$<a>")!=="7"}),p=function(){return"a".replace(/./,"$0")==="$0"}(),v=c("replace"),m=function(){return/./[v]?/./[v]("a","$0")==="":!1}(),x=!l(function(){var y=/(?:)/,R=y.exec;y.exec=function(){return R.apply(this,arguments)};var A="ab".split(y);return A.length!==2||A[0]!=="a"||A[1]!=="b"});o.exports=function(y,R,A,b){var M=c(y),T=!l(function(){var W={};return W[M]=function(){return 7},""[y](W)!=7}),w=T&&!l(function(){var W=!1,N=/a/;return y==="split"&&(N={},N.constructor={},N.constructor[d]=function(){return N},N.flags="",N[M]=/./[M]),N.exec=function(){return W=!0,null},N[M](""),!W});if(!T||!w||y==="replace"&&!(h&&p&&!m)||y==="split"&&!x){var L=/./[M],k=A(M,""[y],function(W,N,_,C,X){return N.exec===u?T&&!X?{done:!0,value:L.call(N,_,C)}:{done:!0,value:W.call(_,N,C)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:m}),E=k[0],P=k[1];s(String.prototype,y,E),s(RegExp.prototype,M,R==2?function(W,N){return P.call(W,this,N)}:function(W){return P.call(W,this)})}b&&f(RegExp.prototype[M],"sham",!0)}},d81d:function(o,i,a){var s=a("23e7"),l=a("b727").map,c=a("1dde"),u=a("ae40"),f=c("map"),d=u("map");s({target:"Array",proto:!0,forced:!f||!d},{map:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,i,a){(function(s){var l=function(c){return c&&c.Math==Math&&c};o.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof s=="object"&&s)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(o,i,a){var s=a("23e7"),l=a("83ab"),c=a("56ef"),u=a("fc6a"),f=a("06cf"),d=a("8418");s({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(p){for(var v=u(p),m=f.f,x=c(v),y={},R=0,A,b;x.length>R;)b=m(v,A=x[R++]),b!==void 0&&d(y,A,b);return y}})},dbf1:function(o,i,a){(function(s){a.d(i,"a",function(){return c});function l(){return typeof window<"u"?window.console:s.console}var c=l()}).call(this,a("c8ba"))},ddb0:function(o,i,a){var s=a("da84"),l=a("fdbc"),c=a("e260"),u=a("9112"),f=a("b622"),d=f("iterator"),h=f("toStringTag"),p=c.values;for(var v in l){var m=s[v],x=m&&m.prototype;if(x){if(x[d]!==p)try{u(x,d,p)}catch{x[d]=p}if(x[h]||u(x,h,v),l[v]){for(var y in c)if(x[y]!==c[y])try{u(x,y,c[y])}catch{x[y]=c[y]}}}}},df75:function(o,i,a){var s=a("ca84"),l=a("7839");o.exports=Object.keys||function(u){return s(u,l)}},e01a:function(o,i,a){var s=a("23e7"),l=a("83ab"),c=a("da84"),u=a("5135"),f=a("861d"),d=a("9bf2").f,h=a("e893"),p=c.Symbol;if(l&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var v={},m=function(){var M=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),T=this instanceof m?new p(M):M===void 0?p():p(M);return M===""&&(v[T]=!0),T};h(m,p);var x=m.prototype=p.prototype;x.constructor=m;var y=x.toString,R=String(p("test"))=="Symbol(test)",A=/^Symbol\((.*)\)[^)]+$/;d(x,"description",{configurable:!0,get:function(){var M=f(this)?this.valueOf():this,T=y.call(M);if(u(v,M))return"";var w=R?T.slice(7,-1):T.replace(A,"$1");return w===""?void 0:w}}),s({global:!0,forced:!0},{Symbol:m})}},e163:function(o,i,a){var s=a("5135"),l=a("7b0b"),c=a("f772"),u=a("e177"),f=c("IE_PROTO"),d=Object.prototype;o.exports=u?Object.getPrototypeOf:function(h){return h=l(h),s(h,f)?h[f]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?d:null}},e177:function(o,i,a){var s=a("d039");o.exports=!s(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,i,a){var s=a("fc6a"),l=a("44d2"),c=a("3f8c"),u=a("69f3"),f=a("7dd0"),d="Array Iterator",h=u.set,p=u.getterFor(d);o.exports=f(Array,"Array",function(v,m){h(this,{type:d,target:s(v),index:0,kind:m})},function(){var v=p(this),m=v.target,x=v.kind,y=v.index++;return!m||y>=m.length?(v.target=void 0,{value:void 0,done:!0}):x=="keys"?{value:y,done:!1}:x=="values"?{value:m[y],done:!1}:{value:[y,m[y]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(o,i,a){var s=a("23e7"),l=a("d039"),c=a("fc6a"),u=a("06cf").f,f=a("83ab"),d=l(function(){u(1)}),h=!f||d;s({target:"Object",stat:!0,forced:h,sham:!f},{getOwnPropertyDescriptor:function(v,m){return u(c(v),m)}})},e538:function(o,i,a){var s=a("b622");i.f=s},e893:function(o,i,a){var s=a("5135"),l=a("56ef"),c=a("06cf"),u=a("9bf2");o.exports=function(f,d){for(var h=l(d),p=u.f,v=c.f,m=0;m<h.length;m++){var x=h[m];s(f,x)||p(f,x,v(d,x))}}},e8b5:function(o,i,a){var s=a("c6b6");o.exports=Array.isArray||function(c){return s(c)=="Array"}},e95a:function(o,i,a){var s=a("b622"),l=a("3f8c"),c=s("iterator"),u=Array.prototype;o.exports=function(f){return f!==void 0&&(l.Array===f||u[c]===f)}},f5df:function(o,i,a){var s=a("00ee"),l=a("c6b6"),c=a("b622"),u=c("toStringTag"),f=l(function(){return arguments}())=="Arguments",d=function(h,p){try{return h[p]}catch{}};o.exports=s?l:function(h){var p,v,m;return h===void 0?"Undefined":h===null?"Null":typeof(v=d(p=Object(h),u))=="string"?v:f?l(p):(m=l(p))=="Object"&&typeof p.callee=="function"?"Arguments":m}},f772:function(o,i,a){var s=a("5692"),l=a("90e3"),c=s("keys");o.exports=function(u){return c[u]||(c[u]=l(u))}},fb15:function(o,i,a){if(a.r(i),typeof window<"u"){var s=window.document.currentScript;{var l=a("8875");s=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(a.p=c[1])}a("99af"),a("4de4"),a("4160"),a("c975"),a("d81d"),a("a434"),a("159b"),a("a4d3"),a("e439"),a("dbb4"),a("b64b");function u(ye,Le,Pe){return Le in ye?Object.defineProperty(ye,Le,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):ye[Le]=Pe,ye}function f(ye,Le){var Pe=Object.keys(ye);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(ye);Le&&(Ye=Ye.filter(function(rt){return Object.getOwnPropertyDescriptor(ye,rt).enumerable})),Pe.push.apply(Pe,Ye)}return Pe}function d(ye){for(var Le=1;Le<arguments.length;Le++){var Pe=arguments[Le]!=null?arguments[Le]:{};Le%2?f(Object(Pe),!0).forEach(function(Ye){u(ye,Ye,Pe[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ye,Object.getOwnPropertyDescriptors(Pe)):f(Object(Pe)).forEach(function(Ye){Object.defineProperty(ye,Ye,Object.getOwnPropertyDescriptor(Pe,Ye))})}return ye}function h(ye){if(Array.isArray(ye))return ye}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function p(ye,Le){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(ye)))){var Pe=[],Ye=!0,rt=!1,Ne=void 0;try{for(var Ke=ye[Symbol.iterator](),et;!(Ye=(et=Ke.next()).done)&&(Pe.push(et.value),!(Le&&Pe.length===Le));Ye=!0);}catch(At){rt=!0,Ne=At}finally{try{!Ye&&Ke.return!=null&&Ke.return()}finally{if(rt)throw Ne}}return Pe}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function v(ye,Le){(Le==null||Le>ye.length)&&(Le=ye.length);for(var Pe=0,Ye=new Array(Le);Pe<Le;Pe++)Ye[Pe]=ye[Pe];return Ye}function m(ye,Le){if(ye){if(typeof ye=="string")return v(ye,Le);var Pe=Object.prototype.toString.call(ye).slice(8,-1);if(Pe==="Object"&&ye.constructor&&(Pe=ye.constructor.name),Pe==="Map"||Pe==="Set")return Array.from(ye);if(Pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pe))return v(ye,Le)}}function x(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y(ye,Le){return h(ye)||p(ye,Le)||m(ye,Le)||x()}function R(ye){if(Array.isArray(ye))return v(ye)}function A(ye){if(typeof Symbol<"u"&&Symbol.iterator in Object(ye))return Array.from(ye)}function b(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function M(ye){return R(ye)||A(ye)||m(ye)||b()}var T=a("a352"),w=a.n(T);function L(ye){ye.parentElement!==null&&ye.parentElement.removeChild(ye)}function k(ye,Le,Pe){var Ye=Pe===0?ye.children[0]:ye.children[Pe-1].nextSibling;ye.insertBefore(Le,Ye)}var E=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function P(ye){var Le=Object.create(null);return function(Ye){var rt=Le[Ye];return rt||(Le[Ye]=ye(Ye))}}var W=/-(\w)/g,N=P(function(ye){return ye.replace(W,function(Le,Pe){return Pe.toUpperCase()})});a("5db7"),a("73d9");var _=["Start","Add","Remove","Update","End"],C=["Choose","Unchoose","Sort","Filter","Clone"],X=["Move"],Y=[X,_,C].flatMap(function(ye){return ye}).map(function(ye){return"on".concat(ye)}),$={manage:X,manageAndEmit:_,emit:C};function le(ye){return Y.indexOf(ye)!==-1}a("caad"),a("2ca0");var Q=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function K(ye){return Q.includes(ye)}function B(ye){return["transition-group","TransitionGroup"].includes(ye)}function D(ye){return["id","class","role","style"].includes(ye)||ye.startsWith("data-")||ye.startsWith("aria-")||ye.startsWith("on")}function G(ye){return ye.reduce(function(Le,Pe){var Ye=y(Pe,2),rt=Ye[0],Ne=Ye[1];return Le[rt]=Ne,Le},{})}function ae(ye){var Le=ye.$attrs,Pe=ye.componentData,Ye=Pe===void 0?{}:Pe,rt=G(Object.entries(Le).filter(function(Ne){var Ke=y(Ne,2),et=Ke[0];return Ke[1],D(et)}));return d(d({},rt),Ye)}function se(ye){var Le=ye.$attrs,Pe=ye.callBackBuilder,Ye=G(J(Le));Object.entries(Pe).forEach(function(Ne){var Ke=y(Ne,2),et=Ke[0],At=Ke[1];$[et].forEach(function(ut){Ye["on".concat(ut)]=At(ut)})});var rt="[data-draggable]".concat(Ye.draggable||"");return d(d({},Ye),{},{draggable:rt})}function J(ye){return Object.entries(ye).filter(function(Le){var Pe=y(Le,2),Ye=Pe[0];return Pe[1],!D(Ye)}).map(function(Le){var Pe=y(Le,2),Ye=Pe[0],rt=Pe[1];return[N(Ye),rt]}).filter(function(Le){var Pe=y(Le,2),Ye=Pe[0];return Pe[1],!le(Ye)})}a("c740");function Re(ye,Le){if(!(ye instanceof Le))throw new TypeError("Cannot call a class as a function")}function fe(ye,Le){for(var Pe=0;Pe<Le.length;Pe++){var Ye=Le[Pe];Ye.enumerable=Ye.enumerable||!1,Ye.configurable=!0,"value"in Ye&&(Ye.writable=!0),Object.defineProperty(ye,Ye.key,Ye)}}function me(ye,Le,Pe){return Le&&fe(ye.prototype,Le),ye}var ue=function(Le){var Pe=Le.el;return Pe},z=function(Le,Pe){return Le.__draggable_context=Pe},F=function(Le){return Le.__draggable_context},j=function(){function ye(Le){var Pe=Le.nodes,Ye=Pe.header,rt=Pe.default,Ne=Pe.footer,Ke=Le.root,et=Le.realList;Re(this,ye),this.defaultNodes=rt,this.children=[].concat(M(Ye),M(rt),M(Ne)),this.externalComponent=Ke.externalComponent,this.rootTransition=Ke.transition,this.tag=Ke.tag,this.realList=et}return me(ye,[{key:"render",value:function(Pe,Ye){var rt=this.tag,Ne=this.children,Ke=this._isRootComponent,et=Ke?{default:function(){return Ne}}:Ne;return Pe(rt,Ye,et)}},{key:"updated",value:function(){var Pe=this.defaultNodes,Ye=this.realList;Pe.forEach(function(rt,Ne){z(ue(rt),{element:Ye[Ne],index:Ne})})}},{key:"getUnderlyingVm",value:function(Pe){return F(Pe)}},{key:"getVmIndexFromDomIndex",value:function(Pe,Ye){var rt=this.defaultNodes,Ne=rt.length,Ke=Ye.children,et=Ke.item(Pe);if(et===null)return Ne;var At=F(et);if(At)return At.index;if(Ne===0)return 0;var ut=ue(rt[0]),dt=M(Ke).findIndex(function(yt){return yt===ut});return Pe<dt?0:Ne}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),ye}(),ie=a("8bbf");function q(ye,Le){var Pe=ye[Le];return Pe?Pe():[]}function te(ye){var Le=ye.$slots,Pe=ye.realList,Ye=ye.getKey,rt=Pe||[],Ne=["header","footer"].map(function(yt){return q(Le,yt)}),Ke=y(Ne,2),et=Ke[0],At=Ke[1],ut=Le.item;if(!ut)throw new Error("draggable element must have an item slot");var dt=rt.flatMap(function(yt,_t){return ut({element:yt,index:_t}).map(function(Zt){return Zt.key=Ye(yt),Zt.props=d(d({},Zt.props||{}),{},{"data-draggable":!0}),Zt})});if(dt.length!==rt.length)throw new Error("Item slot must have only one child");return{header:et,footer:At,default:dt}}function re(ye){var Le=B(ye),Pe=!K(ye)&&!Le;return{transition:Le,externalComponent:Pe,tag:Pe?Object(ie.resolveComponent)(ye):Le?ie.TransitionGroup:ye}}function he(ye){var Le=ye.$slots,Pe=ye.tag,Ye=ye.realList,rt=ye.getKey,Ne=te({$slots:Le,realList:Ye,getKey:rt}),Ke=re(Pe);return new j({nodes:Ne,root:Ke,realList:Ye})}function ce(ye,Le){var Pe=this;Object(ie.nextTick)(function(){return Pe.$emit(ye.toLowerCase(),Le)})}function pe(ye){var Le=this;return function(Pe,Ye){if(Le.realList!==null)return Le["onDrag".concat(ye)](Pe,Ye)}}function xe(ye){var Le=this,Pe=pe.call(this,ye);return function(Ye,rt){Pe.call(Le,Ye,rt),ce.call(Le,ye,Ye)}}var _e=null,Ae={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(Le){return Le}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Be=["update:modelValue","change"].concat(M([].concat(M($.manageAndEmit),M($.emit)).map(function(ye){return ye.toLowerCase()}))),Te=Object(ie.defineComponent)({name:"draggable",inheritAttrs:!1,props:Ae,emits:Be,data:function(){return{error:!1}},render:function(){try{this.error=!1;var Le=this.$slots,Pe=this.$attrs,Ye=this.tag,rt=this.componentData,Ne=this.realList,Ke=this.getKey,et=he({$slots:Le,tag:Ye,realList:Ne,getKey:Ke});this.componentStructure=et;var At=ae({$attrs:Pe,componentData:rt});return et.render(ie.h,At)}catch(ut){return this.error=!0,Object(ie.h)("pre",{style:{color:"red"}},ut.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&E.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var Le=this;if(!this.error){var Pe=this.$attrs,Ye=this.$el,rt=this.componentStructure;rt.updated();var Ne=se({$attrs:Pe,callBackBuilder:{manageAndEmit:function(At){return xe.call(Le,At)},emit:function(At){return ce.bind(Le,At)},manage:function(At){return pe.call(Le,At)}}}),Ke=Ye.nodeType===1?Ye:Ye.parentElement;this._sortable=new w.a(Ke,Ne),this.targetDomElement=Ke,Ke.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var Le=this.list;return Le||this.modelValue},getKey:function(){var Le=this.itemKey;return typeof Le=="function"?Le:function(Pe){return Pe[Le]}}},watch:{$attrs:{handler:function(Le){var Pe=this._sortable;Pe&&J(Le).forEach(function(Ye){var rt=y(Ye,2),Ne=rt[0],Ke=rt[1];Pe.option(Ne,Ke)})},deep:!0}},methods:{getUnderlyingVm:function(Le){return this.componentStructure.getUnderlyingVm(Le)||null},getUnderlyingPotencialDraggableComponent:function(Le){return Le.__draggable_component__},emitChanges:function(Le){var Pe=this;Object(ie.nextTick)(function(){return Pe.$emit("change",Le)})},alterList:function(Le){if(this.list){Le(this.list);return}var Pe=M(this.modelValue);Le(Pe),this.$emit("update:modelValue",Pe)},spliceList:function(){var Le=arguments,Pe=function(rt){return rt.splice.apply(rt,M(Le))};this.alterList(Pe)},updatePosition:function(Le,Pe){var Ye=function(Ne){return Ne.splice(Pe,0,Ne.splice(Le,1)[0])};this.alterList(Ye)},getRelatedContextFromMoveEvent:function(Le){var Pe=Le.to,Ye=Le.related,rt=this.getUnderlyingPotencialDraggableComponent(Pe);if(!rt)return{component:rt};var Ne=rt.realList,Ke={list:Ne,component:rt};if(Pe!==Ye&&Ne){var et=rt.getUnderlyingVm(Ye)||{};return d(d({},et),Ke)}return Ke},getVmIndexFromDomIndex:function(Le){return this.componentStructure.getVmIndexFromDomIndex(Le,this.targetDomElement)},onDragStart:function(Le){this.context=this.getUnderlyingVm(Le.item),Le.item._underlying_vm_=this.clone(this.context.element),_e=Le.item},onDragAdd:function(Le){var Pe=Le.item._underlying_vm_;if(Pe!==void 0){L(Le.item);var Ye=this.getVmIndexFromDomIndex(Le.newIndex);this.spliceList(Ye,0,Pe);var rt={element:Pe,newIndex:Ye};this.emitChanges({added:rt})}},onDragRemove:function(Le){if(k(this.$el,Le.item,Le.oldIndex),Le.pullMode==="clone"){L(Le.clone);return}var Pe=this.context,Ye=Pe.index,rt=Pe.element;this.spliceList(Ye,1);var Ne={element:rt,oldIndex:Ye};this.emitChanges({removed:Ne})},onDragUpdate:function(Le){L(Le.item),k(Le.from,Le.item,Le.oldIndex);var Pe=this.context.index,Ye=this.getVmIndexFromDomIndex(Le.newIndex);this.updatePosition(Pe,Ye);var rt={element:this.context.element,oldIndex:Pe,newIndex:Ye};this.emitChanges({moved:rt})},computeFutureIndex:function(Le,Pe){if(!Le.element)return 0;var Ye=M(Pe.to.children).filter(function(et){return et.style.display!=="none"}),rt=Ye.indexOf(Pe.related),Ne=Le.component.getVmIndexFromDomIndex(rt),Ke=Ye.indexOf(_e)!==-1;return Ke||!Pe.willInsertAfter?Ne:Ne+1},onDragMove:function(Le,Pe){var Ye=this.move,rt=this.realList;if(!Ye||!rt)return!0;var Ne=this.getRelatedContextFromMoveEvent(Le),Ke=this.computeFutureIndex(Ne,Le),et=d(d({},this.context),{},{futureIndex:Ke}),At=d(d({},Le),{},{relatedContext:Ne,draggedContext:et});return Ye(At,Pe)},onDragEnd:function(){_e=null}}}),De=Te;i.default=De},fb6a:function(o,i,a){var s=a("23e7"),l=a("861d"),c=a("e8b5"),u=a("23cb"),f=a("50c4"),d=a("fc6a"),h=a("8418"),p=a("b622"),v=a("1dde"),m=a("ae40"),x=v("slice"),y=m("slice",{ACCESSORS:!0,0:0,1:2}),R=p("species"),A=[].slice,b=Math.max;s({target:"Array",proto:!0,forced:!x||!y},{slice:function(T,w){var L=d(this),k=f(L.length),E=u(T,k),P=u(w===void 0?k:w,k),W,N,_;if(c(L)&&(W=L.constructor,typeof W=="function"&&(W===Array||c(W.prototype))?W=void 0:l(W)&&(W=W[R],W===null&&(W=void 0)),W===Array||W===void 0))return A.call(L,E,P);for(N=new(W===void 0?Array:W)(b(P-E,0)),_=0;E<P;E++,_++)E in L&&h(N,_,L[E]);return N.length=_,N}})},fc6a:function(o,i,a){var s=a("44ad"),l=a("1d80");o.exports=function(c){return s(l(c))}},fdbc:function(o,i){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,i,a){var s=a("4930");o.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(T_);var b1e=T_.exports;const X5=zm(b1e),x1e={class:"add-slide"},S1e={class:"select-btn"},M1e={class:"thumbnail-container"},w1e=["data-section-id"],L1e=["id","value"],O1e={key:1,class:"text"},T1e={class:"text-content"},k1e=["onMousedown"],N1e={class:"page-number"},P1e=Ee({__name:"index",setup(e){const t=ft(),n=st(),r=Ea(),{selectedSlidesIndex:o,thumbnailsFocus:i}=Xe(t),{slides:a,slideIndex:s,currentSlide:l}=Xe(n),{ctrlKeyState:c,shiftKeyState:u}=Xe(r),{slidesLoadLimit:f}=zp(),d=Me(()=>[...o.value,s.value]),h=ve(!1),p=Me(()=>a.value.some(se=>se.sectionTag)),{copySlide:v,pasteSlide:m,createSlide:x,createSlideByTemplate:y,copyAndPasteSlide:R,deleteSlide:A,cutSlide:b,selectAllSlide:M,sortSlides:T}=Oc(),{createSection:w,removeSection:L,removeAllSection:k,removeSectionSlides:E,updateSectionTitle:P}=kpe(),W=ve();wt(()=>s.value,()=>{d.value.length&&t.updateSelectedSlidesIndex([]),pr(()=>{var J,Re;const se=(Re=(J=W.value)==null?void 0:J.$el)==null?void 0:Re.querySelector(".thumbnail-item.active");W.value&&se&&!x$(se,W.value.$el)&&setTimeout(()=>{se.scrollIntoView({behavior:"smooth"})},100)})});const N=se=>{t.setActiveElementIdList([]),s.value!==se&&n.updateSlideIndex(se)},_=(se,J)=>{if($.value)return;const Re=d.value.length>1;if(!(Re&&d.value.includes(J)&&se.button!==0))if(c.value)if(s.value===J){if(!Re)return;const fe=d.value.filter(me=>me!==J);t.updateSelectedSlidesIndex(fe),N(d.value[0])}else if(d.value.includes(J)){const fe=d.value.filter(me=>me!==J);t.updateSelectedSlidesIndex(fe)}else{const fe=[...d.value,J];t.updateSelectedSlidesIndex(fe)}else if(u.value){if(s.value===J&&!Re)return;let fe=Math.min(...d.value),me=J;J<fe&&(me=Math.max(...d.value),fe=J);const ue=[];for(let z=fe;z<=me;z++)ue.push(z);t.updateSelectedSlidesIndex(ue)}else t.updateSelectedSlidesIndex([]),N(J)},C=se=>{i.value!==se&&(t.setThumbnailsFocus(se),se||t.updateSelectedSlidesIndex([]))},X=se=>{const{newIndex:J,oldIndex:Re}=se;J===void 0||Re===void 0||J===Re||T(J,Re)},Y=()=>{t.setNotesPanelState(!0)},$=ve(""),le=se=>{t.setDisableHotkeysState(!0),$.value=se||"default",pr(()=>{document.querySelector(`#section-title-input-${se||"default"}`).focus()})},Q=se=>{const J=se.target.value;P($.value,J),$.value="",t.setDisableHotkeysState(!1)},K=se=>{const J=se.dataset.sectionId;return[{text:"删除节",handler:()=>L(J)},{text:"删除节和幻灯片",handler:()=>{t.setActiveElementIdList([]),E(J)}},{text:"删除所有节",handler:k},{text:"重命名节",handler:()=>le(J)}]},{enterScreening:B,enterScreeningFromStart:D}=Tc(),G=()=>[{text:"粘贴",subText:"Ctrl + V",handler:m},{text:"全选",subText:"Ctrl + A",handler:M},{text:"新建页面",subText:"Enter",handler:x},{text:"幻灯片放映",subText:"F5",handler:D}],ae=()=>[{text:"剪切",subText:"Ctrl + X",handler:b},{text:"复制",subText:"Ctrl + C",handler:v},{text:"粘贴",subText:"Ctrl + V",handler:m},{text:"全选",subText:"Ctrl + A",handler:M},{divider:!0},{text:"新建页面",subText:"Enter",handler:x},{text:"复制页面",subText:"Ctrl + D",handler:R},{text:"删除页面",subText:"Delete",handler:()=>A()},{text:"增加节",handler:w,disable:!!l.value.sectionTag},{divider:!0},{text:"从当前放映",subText:"Shift + F5",handler:B}];return(se,J)=>{const Re=Se("IconPlus"),fe=Se("IconDown"),me=bn("contextmenu"),ue=bn("click-outside");return He((U(),ee("div",{class:"thumbnails",onMousedown:J[7]||(J[7]=()=>C(!0))},[V("div",x1e,[V("div",{class:"btn",onClick:J[0]||(J[0]=z=>H(x)())},[O(Re,{class:"icon"}),Ve("添加幻灯片")]),O(Pt,{trigger:"click",placement:"bottom-start",value:h.value,"onUpdate:value":J[2]||(J[2]=z=>h.value=z),center:""},{content:oe(()=>[O(Epe,{onSelect:J[1]||(J[1]=z=>{H(y)(z),h.value=!1})})]),default:oe(()=>[V("div",S1e,[O(fe)])]),_:1},8,["value"])]),O(H(X5),{class:"thumbnail-list",ref_key:"thumbnailsRef",ref:W,modelValue:H(a),animation:200,scroll:!0,scrollSensitivity:50,disabled:$.value,onEnd:X,itemKey:"id"},{item:oe(({element:z,index:F})=>{var j,ie,q,te,re;return[V("div",M1e,[z.sectionTag||p.value&&F===0?He((U(),ee("div",{key:0,class:"section-title","data-section-id":((j=z==null?void 0:z.sectionTag)==null?void 0:j.id)||""},[$.value===((ie=z==null?void 0:z.sectionTag)==null?void 0:ie.id)||F===0&&$.value==="default"?(U(),ee("input",{key:0,id:`section-title-input-${((q=z==null?void 0:z.sectionTag)==null?void 0:q.id)||"default"}`,type:"text",value:((te=z==null?void 0:z.sectionTag)==null?void 0:te.title)||"",placeholder:"输入节名称",onBlur:J[3]||(J[3]=he=>Q(he)),onKeydown:J[4]||(J[4]=ll(Nt(he=>Q(he),["stop"]),["enter"]))},null,40,L1e)):(U(),ee("span",O1e,[V("div",T1e,vt(z!=null&&z.sectionTag?((re=z==null?void 0:z.sectionTag)==null?void 0:re.title)||"无标题节":"默认节"),1)]))],8,w1e)),[[me,K]]):Qe("",!0),He((U(),ee("div",{class:Je(["thumbnail-item",{active:H(s)===F,selected:d.value.includes(F)}]),onMousedown:he=>_(he,F),onDblclick:J[6]||(J[6]=he=>H(B)())},[V("div",{class:Je(["label",{"offset-left":F>=99}])},vt(H(D0)(F+1,2)),3),O(Fa,{class:"thumbnail",slide:z,size:120,visible:F<H(f)},null,8,["slide","visible"]),z.notes&&z.notes.length?(U(),ee("div",{key:0,class:"note-flag",onClick:J[5]||(J[5]=he=>Y())},vt(z.notes.length),1)):Qe("",!0)],42,k1e)),[[me,ae]])])]}),_:1},8,["modelValue","disabled"]),V("div",N1e,"幻灯片 "+vt(H(s)+1)+" / "+vt(H(a).length),1)],32)),[[ue,()=>C(!1)],[me,G]])}}}),C1e=Ue(P1e,[["__scopeId","data-v-f6304958"]]);function W5(e,t){return t===void 0&&(t=15),+parseFloat(Number(e).toPrecision(t))}function Ss(e){var t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function gp(e){if(e.toString().indexOf("e")===-1)return Number(e.toString().replace(".",""));var t=Ss(e);return t>0?W5(Number(e)*Math.pow(10,t)):Number(e)}function Lb(e){Y_&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn(e+" is beyond boundary when transfer to integer, the results may not be accurate")}function S2(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0],o=t.slice(1);return o.reduce(function(i,a){return e(i,a)},r)}}var bc=S2(function(e,t){var n=gp(e),r=gp(t),o=Ss(e)+Ss(t),i=n*r;return Lb(i),i/Math.pow(10,o)}),I1e=S2(function(e,t){var n=Math.pow(10,Math.max(Ss(e),Ss(t)));return(bc(e,n)+bc(t,n))/n}),F1e=S2(function(e,t){var n=Math.pow(10,Math.max(Ss(e),Ss(t)));return(bc(e,n)-bc(t,n))/n}),U_=S2(function(e,t){var n=gp(e),r=gp(t);return Lb(n),Lb(r),bc(n/r,W5(Math.pow(10,Ss(t)-Ss(e))))});function _1e(e,t){var n=Math.pow(10,t),r=U_(Math.round(Math.abs(bc(e,n))),n);return e<0&&r!==0&&(r=bc(r,-1)),r}var Y_=!0;function E1e(e){e===void 0&&(e=!0),Y_=e}var X1e={strip:W5,plus:I1e,minus:F1e,times:bc,divide:U_,round:_1e,digitLength:Ss,float2Fixed:gp,enableBoundaryChecking:E1e};const W1e={class:"bar"},V1e=["data-tooltip"],U1e=["data-tooltip"],Y1e=["data-tooltip"],Q1e=Ee({__name:"Slider",props:{value:{},disabled:{type:Boolean,default:!1},min:{default:0},max:{default:100},step:{default:1},range:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=A=>A.getBoundingClientRect().left,r=e,o=t,i=ve(),a=ve(0),s=ve(0),l=ve(0),c=ve("end"),u=A=>{let b=A/100*(r.max-r.min);if(r.step>=1)b=Math.fround(b);else{const M=r.step.toString(),T=M.match(/^[0.]*([1-9])/);if(T){const w=T[1],L=M.indexOf(w)-1;if(L>0){const k=Math.pow(10,L);b=Math.fround(b*k)/k}}}return X1e.plus(b,r.min)},f=Me(()=>u(a.value)),d=Me(()=>u(s.value)),h=Me(()=>u(l.value));wt(()=>r.value,()=>{r.max!==r.min&&(typeof r.value=="number"?a.value=(r.value-r.min)/(r.max-r.min)*100:(s.value=(r.value[0]-r.min)/(r.max-r.min)*100,l.value=(r.value[1]-r.min)/(r.max-r.min)*100))},{immediate:!0});const p=A=>{if(!i.value)return 0;let M=(("clientX"in A?A.clientX:A.changedTouches[0].clientX)-n(i.value))/i.value.clientWidth;M=Math.max(M,0),M=Math.min(M,1);let T=M*100;const w=r.step/(r.max-r.min)*100,L=T%w;return L>0&&(L<=w/2?T=T-L:T=T-L+w),T},v=A=>{const b=p(A);c.value==="start"?s.value=b:l.value=b},m=A=>{x(A);const b=u(a.value),M=r.value,T=c.value==="start"?[b,M[1]]:[M[0],b];T[0]>T[1]&&([T[0],T[1]]=[T[1],T[0]]),o("update:value",T),document.removeEventListener("mousemove",v),document.removeEventListener("touchmove",v),document.removeEventListener("mouseup",m),document.removeEventListener("touchend",m)},x=A=>{a.value=p(A)},y=A=>{x(A);const b=u(a.value);o("update:value",b),document.removeEventListener("mousemove",x),document.removeEventListener("touchmove",x),document.removeEventListener("mouseup",y),document.removeEventListener("touchend",y)},R=A=>{if(!r.disabled)if(r.range){const b=p(A);Math.abs(b-s.value)<Math.abs(b-l.value)?c.value="start":c.value="end",document.addEventListener("mousemove",v),document.addEventListener("touchmove",v),document.addEventListener("mouseup",m),document.addEventListener("touchend",m)}else document.addEventListener("mousemove",x),document.addEventListener("touchmove",x),document.addEventListener("mouseup",y),document.addEventListener("touchend",y)};return(A,b)=>(U(),ee("div",{class:Je(["slider",{disabled:A.disabled}]),ref_key:"sliderRef",ref:i,onMousedown:b[0]||(b[0]=M=>R(M))},[V("div",W1e,[A.range?(U(),ee(We,{key:1},[V("div",{class:"track",style:we({width:`${l.value-s.value}%`,left:`${s.value}%`})},null,4),V("div",{class:"thumb",style:we({left:`${s.value}%`}),"data-tooltip":d.value},null,12,U1e),V("div",{class:"thumb",style:we({left:`${l.value}%`}),"data-tooltip":h.value},null,12,Y1e)],64)):(U(),ee(We,{key:0},[V("div",{class:"track",style:we({width:`${a.value}%`})},null,4),V("div",{class:"thumb",style:we({left:`${a.value}%`}),"data-tooltip":f.value},null,12,V1e)],64))])],34))}}),so=Ue(Q1e,[["__scopeId","data-v-a7428be4"]]),Z1e=e=>(zt("data-v-c3b27b40"),e=e(),Jt(),e),B1e={class:"element-opacity"},D1e={class:"row"},K1e=Z1e(()=>V("div",{style:{width:"40%"}},"不透明度:",-1)),H1e=Ee({__name:"ElementOpacity",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=ve(1);wt(n,()=>{n.value&&(r.value="opacity"in n.value&&n.value.opacity!==void 0?n.value.opacity:1)},{deep:!0,immediate:!0});const{addHistorySnapshot:o}=Ht(),i=a=>{if(!n.value)return;const s={opacity:a};t.updateElement({id:n.value.id,props:s}),o()};return(a,s)=>(U(),ee("div",B1e,[V("div",D1e,[K1e,O(so,{min:0,max:1,step:.1,value:r.value,"onUpdate:value":s[0]||(s[0]=l=>i(l)),style:{width:"60%"}},null,8,["value"])])]))}}),Q_=Ue(H1e,[["__scopeId","data-v-c3b27b40"]]),G1e={class:"color-block"},z1e=Ee({__name:"ColorButton",props:{color:{}},setup(e){return(t,n)=>{const r=Se("IconPlatte");return U(),ke(je,{class:"color-btn"},{default:oe(()=>[V("div",G1e,[V("div",{class:"content",style:we({backgroundColor:t.color})},null,4)]),O(r,{class:"color-btn-icon"})]),_:1})}}}),br=Ue(z1e,[["__scopeId","data-v-53175c6f"]]);function J1e(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const $1e=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function al(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}function Lm(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function j1e(e){const t=Lm(e,"border-left-width"),n=Lm(e,"border-right-width");return e.clientWidth+t+n}function q1e(e){const t=Lm(e,"border-top-width"),n=Lm(e,"border-bottom-width");return e.clientHeight+t+n}function Z_(e,t={}){const n=t.width||j1e(e),r=t.height||q1e(e);return{width:n,height:r}}function eve(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const mi=16384;function tve(e){(e.width>mi||e.height>mi)&&(e.width>mi&&e.height>mi?e.width>e.height?(e.height*=mi/e.width,e.width=mi):(e.width*=mi/e.height,e.height=mi):e.width>mi?(e.height*=mi/e.width,e.width=mi):(e.width*=mi/e.height,e.height=mi))}function Om(e){return new Promise((t,n)=>{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function nve(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function rve(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),o.appendChild(i),i.appendChild(e),nve(o)}const li=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||li(n,t)};function ove(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function ive(e){return al(e).map(t=>{const n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return`${t}: ${n}${r?" !important":""};`}).join(" ")}function ave(e,t,n){const r=`.${e}:${t}`,o=n.cssText?ove(n):ive(n);return document.createTextNode(`${r}{${o}}`)}function lk(e,t,n){const r=window.getComputedStyle(e,n),o=r.getPropertyValue("content");if(o===""||o==="none")return;const i=$1e();try{t.className=`${t.className} ${i}`}catch{return}const a=document.createElement("style");a.appendChild(ave(i,n,r)),t.appendChild(a)}function sve(e,t){lk(e,t,":before"),lk(e,t,":after")}const ck="application/font-woff",uk="image/jpeg",lve={woff:ck,woff2:ck,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:uk,jpeg:uk,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function cve(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function V5(e){const t=cve(e).toLowerCase();return lve[t]||""}function uve(e){return e.split(/,/)[1]}function Ob(e){return e.search(/^(data:)/)!==-1}function fve(e,t){return`data:${t};base64,${e}`}async function B_(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((i,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{i(n({res:r,result:s.result}))}catch(l){a(l)}},s.readAsDataURL(o)})}const h4={};function dve(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function U5(e,t,n){const r=dve(e,t,n.includeQueryParams);if(h4[r]!=null)return h4[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const i=await B_(e,n.fetchRequestInit,({res:a,result:s})=>(t||(t=a.headers.get("Content-Type")||""),uve(s)));o=fve(i,t)}catch(i){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;i&&(a=typeof i=="string"?i:i.message),a&&console.warn(a)}return h4[r]=o,o}async function hve(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):Om(t)}async function pve(e,t){if(e.currentSrc){const i=document.createElement("canvas"),a=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,a==null||a.drawImage(e,0,0,i.width,i.height);const s=i.toDataURL();return Om(s)}const n=e.poster,r=V5(n),o=await U5(n,r,t);return Om(o)}async function vve(e){var t;try{if(!((t=e==null?void 0:e.contentDocument)===null||t===void 0)&&t.body)return await M2(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function gve(e,t){return li(e,HTMLCanvasElement)?hve(e):li(e,HTMLVideoElement)?pve(e,t):li(e,HTMLIFrameElement)?vve(e):e.cloneNode(!1)}const mve=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function Ave(e,t,n){var r,o;let i=[];return mve(e)&&e.assignedNodes?i=al(e.assignedNodes()):li(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?i=al(e.contentDocument.body.childNodes):i=al(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),i.length===0||li(e,HTMLVideoElement)||await i.reduce((a,s)=>a.then(()=>M2(s,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function Rve(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):al(r).forEach(o=>{let i=r.getPropertyValue(o);o==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),li(e,HTMLIFrameElement)&&o==="display"&&i==="inline"&&(i="block"),o==="d"&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),n.setProperty(o,i,r.getPropertyPriority(o))})}function yve(e,t){li(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),li(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function bve(e,t){if(li(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function xve(e,t){return li(t,Element)&&(Rve(e,t),sve(e,t),yve(e,t),bve(e,t)),t}async function Sve(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let i=0;i<n.length;i++){const s=n[i].getAttribute("xlink:href");if(s){const l=e.querySelector(s),c=document.querySelector(s);!l&&c&&!r[s]&&(r[s]=await M2(c,t,!0))}}const o=Object.values(r);if(o.length){const i="http://www.w3.org/1999/xhtml",a=document.createElementNS(i,"svg");a.setAttribute("xmlns",i),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const s=document.createElementNS(i,"defs");a.appendChild(s);for(let l=0;l<o.length;l++)s.appendChild(o[l]);e.appendChild(a)}return e}async function M2(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>gve(r,t)).then(r=>Ave(e,r,t)).then(r=>xve(e,r)).then(r=>Sve(r,t))}const D_=/url\((['"]?)([^'"]+?)\1\)/g,Mve=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,wve=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Lve(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Ove(e){const t=[];return e.replace(D_,(n,r,o)=>(t.push(o),n)),t.filter(n=>!Ob(n))}async function Tve(e,t,n,r,o){try{const i=n?J1e(t,n):t,a=V5(t);let s;return o||(s=await U5(i,a,r)),e.replace(Lve(t),`$1${s}$3`)}catch{}return e}function kve(e,{preferredFontFormat:t}){return t?e.replace(wve,n=>{for(;;){const[r,,o]=Mve.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function K_(e){return e.search(D_)!==-1}async function H_(e,t,n){if(!K_(e))return e;const r=kve(e,n);return Ove(r).reduce((i,a)=>i.then(s=>Tve(s,a,t,n)),Promise.resolve(r))}async function Ev(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const i=await H_(o,null,n);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function Nve(e,t){await Ev("background",e,t)||await Ev("background-image",e,t),await Ev("mask",e,t)||await Ev("mask-image",e,t)}async function Pve(e,t){const n=li(e,HTMLImageElement);if(!(n&&!Ob(e.src))&&!(li(e,SVGImageElement)&&!Ob(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await U5(r,V5(r),t);await new Promise((i,a)=>{e.onload=i,e.onerror=a;const s=e;s.decode&&(s.decode=i),s.loading==="lazy"&&(s.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function Cve(e,t){const r=al(e.childNodes).map(o=>G_(o,t));await Promise.all(r).then(()=>e)}async function G_(e,t){li(e,Element)&&(await Nve(e,t),await Pve(e,t),await Cve(e,t))}function Ive(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const fk={};async function dk(e){let t=fk[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},fk[e]=t,t}async function hk(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,i=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(r,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),B_(s,t.fetchRequestInit,({result:l})=>(n=n.replace(a,`url(${l})`),[a,l]))});return Promise.all(i).then(()=>n)}function pk(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=o.exec(r);if(l===null)break;t.push(l[0])}r=r.replace(o,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(a,"gi");for(;;){let l=i.exec(r);if(l===null){if(l=s.exec(r),l===null)break;i.lastIndex=s.lastIndex}else s.lastIndex=i.lastIndex;t.push(l[0])}return t}async function Fve(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{al(o.cssRules||[]).forEach((i,a)=>{if(i.type===CSSRule.IMPORT_RULE){let s=a+1;const l=i.href,c=dk(l).then(u=>hk(u,t)).then(u=>pk(u).forEach(f=>{try{o.insertRule(f,f.startsWith("@import")?s+=1:o.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(c)}})}catch(i){const a=e.find(s=>s.href==null)||document.styleSheets[0];o.href!=null&&r.push(dk(o.href).then(s=>hk(s,t)).then(s=>pk(s).forEach(l=>{a.insertRule(l,o.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",i)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{al(o.cssRules||[]).forEach(i=>{n.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${o.href}`,i)}}),n))}function _ve(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>K_(t.style.getPropertyValue("src")))}async function Eve(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=al(e.ownerDocument.styleSheets),r=await Fve(n,t);return _ve(r)}async function Xve(e,t){const n=await Eve(e,t);return(await Promise.all(n.map(o=>{const i=o.parentStyleSheet?o.parentStyleSheet.href:null;return H_(o.cssText,i,t)}))).join(`
|
||
`)}async function Wve(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await Xve(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function Vve(e,t={}){const{width:n,height:r}=Z_(e,t),o=await M2(e,t,!0);return await Wve(o,t),await G_(o,t),Ive(o,t),await rve(o,n,r)}async function Y5(e,t={}){const{width:n,height:r}=Z_(e,t),o=await Vve(e,t),i=await Om(o),a=document.createElement("canvas"),s=a.getContext("2d"),l=t.pixelRatio||eve(),c=t.canvasWidth||n,u=t.canvasHeight||r;return a.width=c*l,a.height=u*l,t.skipAutoScale||tve(a),a.style.width=`${c}`,a.style.height=`${u}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(i,0,0,a.width,a.height),a}async function Uve(e,t={}){return(await Y5(e,t)).toDataURL()}async function Yve(e,t={}){return(await Y5(e,t)).toDataURL("image/jpeg",t.quality||1)}const Qve=Ee({__name:"Checkboard",props:{size:{default:8},white:{default:"#fff"},grey:{default:"#e6e6e6"}},setup(e){const t=e,n={},r=(a,s,l)=>{const c=document.createElement("canvas");c.width=c.height=l*2;const u=c.getContext("2d");return u?(u.fillStyle=a,u.fillRect(0,0,c.width,c.height),u.fillStyle=s,u.fillRect(0,0,l,l),u.translate(l,l),u.fillRect(0,0,l,l),c.toDataURL()):null},o=(a,s,l)=>{const c=a+","+s+","+l;if(n[c])return n[c];const u=r(a,s,l);return n[c]=u,u},i=Me(()=>({backgroundImage:`url(${o(t.white,t.grey,t.size)})`}));return(a,s)=>(U(),ee("div",{class:"checkerboard",style:we(i.value)},null,4))}}),Tb=Ue(Qve,[["__scopeId","data-v-46275348"]]),Zve=e=>(zt("data-v-429f62d3"),e=e(),Jt(),e),Bve={class:"alpha"},Dve={class:"alpha-checkboard-wrap"},Kve=Zve(()=>V("div",{class:"alpha-picker"},null,-1)),Hve=[Kve],Gve=Ee({__name:"Alpha",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>n.value),i=Me(()=>{const u=[o.value.r,o.value.g,o.value.b].join(",");return`linear-gradient(to right, rgba(${u}, 0) 0%, rgba(${u}, 1) 100%)`}),a=ve(),s=u=>{if(u.preventDefault(),!a.value)return;const f=a.value.clientWidth,d=a.value.getBoundingClientRect().left+window.pageXOffset,h=u.pageX-d;let p;h<0?p=0:h>f?p=1:p=Math.round(h*100/f)/100,o.value.a!==p&&r("colorChange",{r:o.value.r,g:o.value.g,b:o.value.b,a:p})},l=()=>{window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",l)},c=u=>{s(u),window.addEventListener("mousemove",s),window.addEventListener("mouseup",l)};return Sn(l),(u,f)=>(U(),ee("div",Bve,[V("div",Dve,[O(Tb)]),V("div",{class:"alpha-gradient",style:we({background:i.value})},null,4),V("div",{class:"alpha-container",ref_key:"alphaRef",ref:a,onMousedown:f[0]||(f[0]=d=>c(d))},[V("div",{class:"alpha-pointer",style:we({left:o.value.a*100+"%"})},Hve,4)],544)]))}}),zve=Ue(Gve,[["__scopeId","data-v-429f62d3"]]),Jve=e=>(zt("data-v-21ccc370"),e=e(),Jt(),e),$ve={class:"hue"},jve=Jve(()=>V("div",{class:"hue-picker"},null,-1)),qve=[jve],ege=Ee({__name:"Hue",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=ve(0),i=ve(""),a=Me(()=>{const d=ot(n.value).toHsl();return n.hue!==-1&&(d.h=n.hue),d}),s=Me(()=>a.value.h===0&&i.value==="right"?"100%":a.value.h*100/360+"%");wt(()=>n.value,()=>{const d=ot(n.value).toHsl(),h=d.s===0?n.hue:d.h;h!==0&&h-o.value>0&&(i.value="right"),h!==0&&h-o.value<0&&(i.value="left"),o.value=h});const l=ve(),c=d=>{if(d.preventDefault(),!l.value)return;const h=l.value.clientWidth,p=l.value.getBoundingClientRect().left+window.pageXOffset,v=d.pageX-p;let m,x;v<0?m=0:v>h?m=360:(x=v*100/h,m=360*x/100),(n.hue===-1||a.value.h!==m)&&r("colorChange",{h:m,l:a.value.l,s:a.value.s,a:a.value.a})},u=()=>{window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",u)},f=d=>{c(d),window.addEventListener("mousemove",c),window.addEventListener("mouseup",u)};return Sn(u),(d,h)=>(U(),ee("div",$ve,[V("div",{class:"hue-container",ref_key:"hueRef",ref:l,onMousedown:h[0]||(h[0]=p=>f(p))},[V("div",{class:"hue-pointer",style:we({left:s.value})},qve,4)],544)]))}}),tge=Ue(ege,[["__scopeId","data-v-21ccc370"]]),Q5=e=>(zt("data-v-1a7711ae"),e=e(),Jt(),e),nge=Q5(()=>V("div",{class:"saturation-white"},null,-1)),rge=Q5(()=>V("div",{class:"saturation-black"},null,-1)),oge=Q5(()=>V("div",{class:"saturation-circle"},null,-1)),ige=[oge],age=Ee({__name:"Saturation",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>{const h=ot(n.value).toHsv();return n.hue!==-1&&(h.h=n.hue),h}),i=Me(()=>`hsl(${o.value.h}, 100%, 50%)`),a=Me(()=>-(o.value.v*100)+1+100+"%"),s=Me(()=>o.value.s*100+"%"),l=On.throttle(function(h){r("colorChange",h)},20,{leading:!0,trailing:!1}),c=ve(),u=h=>{if(h.preventDefault(),!c.value)return;const p=c.value.clientWidth,v=c.value.clientHeight,m=c.value.getBoundingClientRect().left+window.pageXOffset,x=c.value.getBoundingClientRect().top+window.pageYOffset,y=On.clamp(h.pageX-m,0,p),R=On.clamp(h.pageY-x,0,v),A=y/p,b=On.clamp(-(R/v)+1,0,1);l({h:o.value.h,s:A,v:b,a:o.value.a})},f=()=>{window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",f)},d=h=>{u(h),window.addEventListener("mousemove",u),window.addEventListener("mouseup",f)};return Sn(f),(h,p)=>(U(),ee("div",{class:"saturation",ref_key:"saturationRef",ref:c,style:we({background:i.value}),onMousedown:p[0]||(p[0]=v=>d(v))},[nge,rge,V("div",{class:"saturation-pointer",style:we({top:a.value,left:s.value})},ige,4)],36))}}),sge=Ue(age,[["__scopeId","data-v-1a7711ae"]]),lge={class:"editable-input"},cge=["value"],uge=Ee({__name:"EditableInput",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>{let a="";return n.value.a<1?a=ot(n.value).toHex8String().toUpperCase():a=ot(n.value).toHexString().toUpperCase(),a.replace("#","")}),i=a=>{const s=a.target.value;if(s.length>=6){const l=ot(s);l.isValid()&&r("colorChange",l.toRgb())}};return(a,s)=>(U(),ee("div",lge,[V("input",{class:"input-content",value:o.value,onInput:s[0]||(s[0]=l=>i(l))},null,40,cge)]))}}),fge=Ue(uge,[["__scopeId","data-v-573b4dde"]]),dge={class:"color-picker"},hge={class:"picker-saturation-wrap"},pge={class:"picker-controls"},vge={class:"picker-color-wrap"},gge={class:"picker-sliders"},mge={class:"picker-hue-wrap"},Age={class:"picker-alpha-wrap"},Rge={class:"picker-field"},yge={class:"picker-presets"},bge=["onClick"],xge={class:"picker-gradient-presets"},Sge=["onClick"],Mge={class:"picker-presets"},wge=["onClick"],Lge={key:0,class:"recent-colors-title"},Oge={class:"picker-presets"},Tge=["onClick"],vk="RECENT_COLORS",kge=Ee({__name:"index",props:{modelValue:{default:"#e86b99"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=[["#7f7f7f","#f2f2f2"],["#0d0d0d","#808080"],["#1c1a10","#ddd8c3"],["#0e243d","#c6d9f0"],["#233f5e","#dae5f0"],["#632623","#f2dbdb"],["#4d602c","#eaf1de"],["#3f3150","#e6e0ec"],["#1e5867","#d9eef3"],["#99490f","#fee9da"]],i=(A,b,M)=>{const T=ot(A).toRgb(),w=ot(b).toRgb(),L=(w.r-T.r)/M,k=(w.g-T.g)/M,E=(w.b-T.b)/M,P=[];for(let W=0;W<M;W++){const N=ot({r:T.r+L*W,g:T.g+k*W,b:T.b+E*W}).toRgbString();P.push(N)}return P},a=()=>{const A=[];for(const b of o)A.push(i(b[1],b[0],5));return A},s=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c"],l=["#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57","#00afee","#0071be","#00215f","#72349d"],c=ve(-1),u=ve([]),f=Me({get(){return ot(n.modelValue).toRgb()},set(A){const b=`rgba(${[A.r,A.g,A.b,A.a].join(",")})`;r("update:modelValue",b)}}),d=a(),h=Me(()=>`rgba(${[f.value.r,f.value.g,f.value.b,f.value.a].join(",")})`),p=A=>{c.value=ot(A).toHsl().h,r("update:modelValue",A)},v=On.debounce(function(){const A=ot(f.value).toRgbString();if(!u.value.includes(A)){u.value=[A,...u.value];const b=10;u.value.length>b&&(u.value=u.value.slice(0,b))}},300,{trailing:!0});Qt(()=>{const A=localStorage.getItem(vk);A&&(u.value=JSON.parse(A))}),wt(u,()=>{const A=JSON.stringify(u.value);localStorage.setItem(vk,A)});const m=A=>{"h"in A?(c.value=A.h,f.value=ot(A).toRgb()):(c.value=ot(A).toHsl().h,f.value=A),v()},x=()=>{"EyeDropper"in window?y():R()},y=()=>{gn.success("按 ESC 键关闭取色吸管",{duration:0}),new window.EyeDropper().open().then(b=>{const M=ot(b.sRGBHex);c.value=M.toHsl().h,f.value=M.toRgb(),gn.closeAll(),v()}).catch(()=>{gn.closeAll()})},R=()=>{const A=document.querySelector(".canvas");if(!A)return;const b=document.createElement("div");b.style.cssText="position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 9999; cursor: wait;",document.body.appendChild(b);const M=document.createElement("div");M.style.cssText="position: absolute; top: -100px; left: -100px; width: 16px; height: 16px; border: 1px solid #000; z-index: 999",b.appendChild(M);const{left:T,top:w,width:L,height:k}=A.getBoundingClientRect();Y5(A,{filter:P=>!(P.tagName&&P.tagName.toUpperCase()==="FOREIGNOBJECT"||P.classList&&P.classList.contains("operate")),fontEmbedCSS:"",width:L,height:k,canvasWidth:L,canvasHeight:k,pixelRatio:1}).then(P=>{P.style.cssText=`position: absolute; top: ${w}px; left: ${T}px; cursor: crosshair;`,b.style.cursor="default",b.appendChild(P);const W=P.getContext("2d");if(!W)return;let N="";const _=Y=>{const $=Y.x,le=Y.y,Q=$-T,K=le-w,[B,D,G,ae]=W.getImageData(Q,K,1,1).data;N=`rgba(${B}, ${D}, ${G}, ${(ae/255).toFixed(2)})`,M.style.left=$+10+"px",M.style.top=le+10+"px",M.style.backgroundColor=N},C=()=>{N="",M.style.left="-100px",M.style.top="-100px",M.style.backgroundColor=""},X=Y=>{if(N&&Y.button===0){const $=ot(N);c.value=$.toHsl().h,f.value=$.toRgb(),v()}document.body.removeChild(b),P.removeEventListener("mousemove",_),P.removeEventListener("mouseleave",C),window.removeEventListener("mousedown",X)};P.addEventListener("mousemove",_),P.addEventListener("mouseleave",C),window.addEventListener("mousedown",X)}).catch(()=>{gn.error("取色吸管初始化失败"),document.body.removeChild(b)})};return(A,b)=>{const M=Se("IconNeedle");return U(),ee("div",dge,[V("div",hge,[O(sge,{value:f.value,hue:c.value,onColorChange:b[0]||(b[0]=T=>m(T))},null,8,["value","hue"])]),V("div",pge,[V("div",vge,[V("div",{class:"picker-current-color",style:we({background:h.value})},null,4),O(Tb)]),V("div",gge,[V("div",mge,[O(tge,{value:f.value,hue:c.value,onColorChange:b[1]||(b[1]=T=>m(T))},null,8,["value","hue"])]),V("div",Age,[O(zve,{value:f.value,onColorChange:b[2]||(b[2]=T=>m(T))},null,8,["value"])])])]),V("div",Rge,[O(fge,{class:"input",value:f.value,onColorChange:b[3]||(b[3]=T=>m(T))},null,8,["value"]),V("div",{class:"straw",onClick:b[4]||(b[4]=T=>x())},[O(M)]),V("div",{class:"transparent",onClick:b[5]||(b[5]=T=>p("#00000000"))},[O(Tb)])]),V("div",yge,[(U(),ee(We,null,nt(s,T=>V("div",{class:"picker-presets-color",key:T,style:we({background:T}),onClick:w=>p(T)},null,12,bge)),64))]),V("div",xge,[(U(!0),ee(We,null,nt(H(d),(T,w)=>(U(),ee("div",{class:"picker-gradient-col",key:w},[(U(!0),ee(We,null,nt(T,L=>(U(),ee("div",{class:"picker-gradient-color",key:L,style:we({background:L}),onClick:k=>p(L)},null,12,Sge))),128))]))),128))]),V("div",Mge,[(U(),ee(We,null,nt(l,T=>V("div",{key:T,class:"picker-presets-color",style:we({background:T}),onClick:w=>p(T)},null,12,wge)),64))]),u.value.length?(U(),ee("div",Lge,"最近使用:")):Qe("",!0),V("div",Oge,[(U(!0),ee(We,null,nt(u.value,T=>(U(),ee("div",{key:T,class:"picker-presets-color alpha",onClick:w=>p(T)},[V("div",{class:"picker-presets-color-content",style:we({background:T})},null,4)],8,Tge))),128))])])}}}),_n=Ue(kge,[["__scopeId","data-v-58b37f0f"]]),Nge=e=>(zt("data-v-a0d44a99"),e=e(),Jt(),e),Pge=Nge(()=>V("span",{class:"switch-core"},null,-1)),Cge=[Pge],Ige=Ee({__name:"Switch",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=()=>{n.disabled||r("update:value",!n.value)};return(i,a)=>(U(),ee("span",{class:Je(["switch",{active:i.value,disabled:i.disabled}]),onClick:a[0]||(a[0]=s=>o())},Cge,2))}}),la=Ue(Ige,[["__scopeId","data-v-a0d44a99"]]),w2=e=>(zt("data-v-174518c6"),e=e(),Jt(),e),Fge={class:"element-outline"},_ge={key:0,class:"row"},Ege=w2(()=>V("div",{style:{width:"40%"}},"启用边框:",-1)),Xge={class:"switch-wrapper",style:{width:"60%"}},Wge={class:"row"},Vge=w2(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),Uge={class:"row"},Yge=w2(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),Qge={class:"row"},Zge=w2(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),Bge=Ee({__name:"ElementOutline",props:{fixed:{type:Boolean,default:!1}},setup(e){const t=st(),{theme:n}=Xe(t),{handleElement:r}=Xe(ft()),o=ve(),i=ve(!1);wt(r,()=>{r.value&&(o.value="outline"in r.value?r.value.outline:void 0,i.value=!!o.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=Ht(),s=c=>{if(!r.value)return;const u={outline:{...o.value,...c}};t.updateElement({id:r.value.id,props:u}),a()},l=c=>{if(r.value){if(c){const u=n.value.outline;t.updateElement({id:r.value.id,props:{outline:u}})}else t.removeElementProps({id:r.value.id,propName:"outline"});a()}};return(c,u)=>(U(),ee("div",Fge,[c.fixed?Qe("",!0):(U(),ee("div",_ge,[Ege,V("div",Xge,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>l(f))},null,8,["value"])])])),i.value&&o.value?(U(),ee(We,{key:1},[V("div",Wge,[Vge,O(Hn,{style:{width:"60%"},value:o.value.style||"","onUpdate:value":u[1]||(u[1]=f=>s({style:f})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",Uge,[Yge,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value.color,"onUpdate:modelValue":u[2]||(u[2]=f=>s({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value.color||"#000"},null,8,["color"])]),_:1})]),V("div",Qge,[Zge,O(ei,{value:o.value.width||0,"onUpdate:value":u[3]||(u[3]=f=>s({width:f})),style:{width:"60%"}},null,8,["value"])])],64)):Qe("",!0)]))}}),jp=Ue(Bge,[["__scopeId","data-v-174518c6"]]),qp=e=>(zt("data-v-671988a4"),e=e(),Jt(),e),Dge={class:"element-shadow"},Kge={class:"row"},Hge=qp(()=>V("div",{style:{width:"40%"}},"启用阴影:",-1)),Gge={class:"switch-wrapper",style:{width:"60%"}},zge={class:"row"},Jge=qp(()=>V("div",{style:{width:"40%"}},"水平阴影:",-1)),$ge={class:"row"},jge=qp(()=>V("div",{style:{width:"40%"}},"垂直阴影:",-1)),qge={class:"row"},eme=qp(()=>V("div",{style:{width:"40%"}},"模糊距离:",-1)),tme={class:"row"},nme=qp(()=>V("div",{style:{width:"40%"}},"阴影颜色:",-1)),rme=Ee({__name:"ElementShadow",setup(e){const t=st(),{theme:n}=Xe(t),{handleElement:r}=Xe(ft()),o=ve(),i=ve(!1);wt(r,()=>{r.value&&(o.value="shadow"in r.value?r.value.shadow:void 0,i.value=!!o.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=Ht(),s=c=>{if(!r.value||!o.value)return;const u={...o.value,...c};t.updateElement({id:r.value.id,props:{shadow:u}}),a()},l=c=>{if(r.value){if(c){const u=n.value.shadow;t.updateElement({id:r.value.id,props:{shadow:u}})}else t.removeElementProps({id:r.value.id,propName:"shadow"});a()}};return(c,u)=>(U(),ee("div",Dge,[V("div",Kge,[Hge,V("div",Gge,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>l(f))},null,8,["value"])])]),i.value&&o.value?(U(),ee(We,{key:0},[V("div",zge,[Jge,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:o.value.h,"onUpdate:value":u[1]||(u[1]=f=>s({h:f}))},null,8,["value"])]),V("div",$ge,[jge,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:o.value.v,"onUpdate:value":u[2]||(u[2]=f=>s({v:f}))},null,8,["value"])]),V("div",qge,[eme,O(so,{style:{width:"60%"},min:1,max:20,step:1,value:o.value.blur,"onUpdate:value":u[3]||(u[3]=f=>s({blur:f}))},null,8,["value"])]),V("div",tme,[nme,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value.color,"onUpdate:modelValue":u[4]||(u[4]=f=>s({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value.color},null,8,["color"])]),_:1})])],64)):Qe("",!0)]))}}),L2=Ue(rme,[["__scopeId","data-v-671988a4"]]),ome=()=>{const e=ft(),{richTextAttrs:t,textFormatPainter:n}=Xe(e);return{toggleTextFormatPainter:(o=!1)=>{n.value?e.setTextFormatPainter(null):e.setTextFormatPainter({keep:o,bold:t.value.bold,em:t.value.em,underline:t.value.underline,strikethrough:t.value.strikethrough,color:t.value.color,backcolor:t.value.backcolor,fontname:t.value.fontname,fontsize:t.value.fontsize,align:t.value.align})}}},ime={class:"text-color-block"},ame=Ee({__name:"TextColorButton",props:{color:{}},setup(e){return(t,n)=>(U(),ke(je,{class:"text-color-btn"},{default:oe(()=>[sr(t.$slots,"default",{},void 0,!0),V("div",ime,[V("div",{class:"text-color-block-content",style:we({backgroundColor:t.color})},null,4)])]),_:3}))}}),Yd=Ue(ame,[["__scopeId","data-v-97cd463a"]]),Ar=Ee({__name:"CheckboxButton",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),ke(je,{checked:t.checked,disabled:t.disabled,type:"checkbox"},{default:oe(()=>[sr(t.$slots,"default")]),_:3},8,["checked","disabled"]))}}),sme=Ee({__name:"ButtonGroup",props:{passive:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),ee("div",{class:Je(["button-group",{passive:t.passive}]),ref:"groupRef"},[sr(t.$slots,"default",{},void 0,!0)],2))}}),Ln=Ue(sme,[["__scopeId","data-v-6a640ef5"]]),lme={},cme={class:"select-group"};function ume(e,t){return U(),ee("div",cme,[sr(e.$slots,"default",{},void 0,!0)])}const Z5=Ue(lme,[["render",ume],["__scopeId","data-v-ed58c719"]]),In=Ee({__name:"RadioButton",props:{value:{},disabled:{type:Boolean,default:!1}},setup(e){const{value:t,updateValue:n}=ri(UI);return(r,o)=>(U(),ke(je,{checked:!r.disabled&&H(t)===r.value,disabled:r.disabled,type:"radio",onClick:o[0]||(o[0]=i=>!r.disabled&&H(n)(r.value))},{default:oe(()=>[sr(r.$slots,"default")]),_:3},8,["checked","disabled"]))}}),Ms=Ee({__name:"RadioGroup",props:{value:{},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=a=>{n.disabled||r("update:value",a)},i=Me(()=>n.value);return Ku(UI,{value:i,updateValue:o}),(a,s)=>(U(),ke(Ln,{class:"radio-group"},{default:oe(()=>[sr(a.$slots,"default")]),_:3}))}}),O2=e=>(zt("data-v-830b245d"),e=e(),Jt(),e),fme={class:"rich-text-base"},dme={class:"link-popover"},hme={class:"btns"},pme={class:"row",passive:""},vme={class:"list-wrap"},gme=["onClick"],mme=O2(()=>V("span",null,null,-1)),Ame=[mme],Rme=O2(()=>V("div",{style:{width:"10px"}},null,-1)),yme={class:"list-wrap"},bme=["onClick"],xme=O2(()=>V("span",null,null,-1)),Sme=[xme],Mme={class:"row"},wme=O2(()=>V("div",{style:{width:"10px"}},null,-1)),Lme=Ee({__name:"RichTextBase",setup(e){const{richTextAttrs:t,availableFonts:n,textFormatPainter:r}=Xe(ft()),{toggleTextFormatPainter:o}=ome(),i=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],a=(y,R)=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:{command:y,value:R}})},s=ve(!1),l=ve(!1),c=ve(!1),u=ve(!1),f=ve(["disc","circle","square"]),d=ve(["decimal","lower-roman","upper-roman","lower-alpha","upper-alpha","lower-greek"]),h=ve(""),p=ve(!1);wt(t,()=>p.value=!1);const v=()=>{h.value=t.value.link},m=y=>{if(!y||!/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/.test(y))return gn.error("不是正确的网页链接地址");a("link",y),p.value=!1},x=()=>{a("link"),p.value=!1};return(y,R)=>{const A=Se("IconFontSize"),b=Se("IconAddText"),M=Se("IconText"),T=Se("IconHighLight"),w=Se("IconTextBold"),L=Se("IconTextItalic"),k=Se("IconTextUnderline"),E=Se("IconStrikethrough"),P=Se("IconCode"),W=Se("IconQuote"),N=Se("IconFormat"),_=Se("IconFormatBrush"),C=Se("IconLinkOne"),X=Se("IconAlignTextLeft"),Y=Se("IconAlignTextCenter"),$=Se("IconAlignTextRight"),le=Se("IconAlignTextBoth"),Q=Se("IconList"),K=Se("IconDown"),B=Se("IconOrderedList"),D=Se("IconIndentLeft"),G=Se("IconIndentRight"),ae=bn("tooltip");return U(),ee("div",fme,[O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{class:"font-select",style:{width:"60%"},value:H(t).fontname,search:"",searchLabel:"搜索字体","onUpdate:value":R[0]||(R[0]=se=>a("fontname",se)),options:[...H(n),...H(Op)]},{icon:oe(()=>[O(A)]),_:1},8,["value","options"]),O(Hn,{style:{width:"40%"},value:H(t).fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":R[1]||(R[1]=se=>a("fontsize",se)),options:i.map(se=>({label:se,value:se}))},{icon:oe(()=>[O(b)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(t).color,"onUpdate:modelValue":R[2]||(R[2]=se=>a("color",se))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:H(t).color},{default:oe(()=>[O(M)]),_:1},8,["color"])),[[ae,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(t).backcolor,"onUpdate:modelValue":R[3]||(R[3]=se=>a("backcolor",se))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{color:H(t).backcolor},{default:oe(()=>[O(T)]),_:1},8,["color"])),[[ae,"文字高亮"]])]),_:1}),He((U(),ke(je,{class:"font-size-btn",style:{width:"20%"},onClick:R[4]||(R[4]=se=>a("fontsize-add"))},{default:oe(()=>[O(A),Ve("+")]),_:1})),[[ae,"增大字号"]]),He((U(),ke(je,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:R[5]||(R[5]=se=>a("fontsize-reduce"))},{default:oe(()=>[O(A),Ve("-")]),_:1})),[[ae,"减小字号"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).bold,onClick:R[6]||(R[6]=se=>a("bold"))},{default:oe(()=>[O(w)]),_:1},8,["checked"])),[[ae,"加粗"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).em,onClick:R[7]||(R[7]=se=>a("em"))},{default:oe(()=>[O(L)]),_:1},8,["checked"])),[[ae,"斜体"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).underline,onClick:R[8]||(R[8]=se=>a("underline"))},{default:oe(()=>[O(k)]),_:1},8,["checked"])),[[ae,"下划线"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).strikethrough,onClick:R[9]||(R[9]=se=>a("strikethrough"))},{default:oe(()=>[O(E)]),_:1},8,["checked"])),[[ae,"删除线"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).superscript,onClick:R[10]||(R[10]=se=>a("superscript"))},{default:oe(()=>[Ve("A²")]),_:1},8,["checked"])),[[ae,"上标"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).subscript,onClick:R[11]||(R[11]=se=>a("subscript"))},{default:oe(()=>[Ve("A₂")]),_:1},8,["checked"])),[[ae,"下标"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).code,onClick:R[12]||(R[12]=se=>a("code"))},{default:oe(()=>[O(P)]),_:1},8,["checked"])),[[ae,"行内代码"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).blockquote,onClick:R[13]||(R[13]=se=>a("blockquote"))},{default:oe(()=>[O(W)]),_:1},8,["checked"])),[[ae,"引用"]])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[He((U(),ke(Ar,{first:"",style:{flex:"1"},onClick:R[14]||(R[14]=se=>a("clear"))},{default:oe(()=>[O(N)]),_:1})),[[ae,"清除格式"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:!!H(r),onClick:R[15]||(R[15]=se=>H(o)()),onDblclick:R[16]||(R[16]=se=>H(o)(!0))},{default:oe(()=>[O(_)]),_:1},8,["checked"])),[[ae,"格式刷(双击连续使用)"]]),O(Pt,{placement:"bottom-end",trigger:"click",value:p.value,"onUpdate:value":R[21]||(R[21]=se=>p.value=se),style:{width:"33.33%"}},{content:oe(()=>[V("div",dme,[O(Rc,{value:h.value,"onUpdate:value":R[17]||(R[17]=se=>h.value=se),placeholder:"请输入超链接"},null,8,["value"]),V("div",hme,[O(je,{size:"small",disabled:!H(t).link,onClick:R[18]||(R[18]=se=>x()),style:{"margin-right":"5px"}},{default:oe(()=>[Ve("移除")]),_:1},8,["disabled"]),O(je,{size:"small",type:"primary",onClick:R[19]||(R[19]=se=>m(h.value))},{default:oe(()=>[Ve("确认")]),_:1})])])]),default:oe(()=>[He((U(),ke(Ar,{last:"",style:{width:"100%"},checked:!!H(t).link,onClick:R[20]||(R[20]=se=>v())},{default:oe(()=>[O(C)]),_:1},8,["checked"])),[[ae,"超链接"]])]),_:1},8,["value"])]),_:1}),O(Ft),O(Ms,{class:"row","button-style":"solid",value:H(t).align,"onUpdate:value":R[22]||(R[22]=se=>a("align",se))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(X)]),_:1})),[[ae,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(Y)]),_:1})),[[ae,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O($)]),_:1})),[[ae,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(le)]),_:1})),[[ae,"两端对齐"]])]),_:1},8,["value"]),V("div",pme,[O(Ln,{style:{flex:"1"}},{default:oe(()=>[He((U(),ke(je,{first:"",type:H(t).bulletList?"primary":"default",style:{flex:"1"},onClick:R[23]||(R[23]=se=>a("bulletList"))},{default:oe(()=>[O(Q)]),_:1},8,["type"])),[[ae,"项目符号"]]),O(Pt,{trigger:"click",value:s.value,"onUpdate:value":R[24]||(R[24]=se=>s.value=se)},{content:oe(()=>[V("div",vme,[(U(!0),ee(We,null,nt(f.value,se=>(U(),ee("ul",{class:"list",key:se,style:we({listStyleType:se}),onClick:J=>a("bulletList",se)},[(U(),ee(We,null,nt(3,J=>V("li",{class:"list-item",key:J},Ame)),64))],12,gme))),128))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1}),Rme,O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",type:H(t).orderedList?"primary":"default",style:{flex:"1"},onClick:R[25]||(R[25]=se=>a("orderedList"))},{default:oe(()=>[O(B)]),_:1},8,["type"])),[[ae,"编号"]]),O(Pt,{trigger:"click",value:l.value,"onUpdate:value":R[26]||(R[26]=se=>l.value=se)},{content:oe(()=>[V("div",yme,[(U(!0),ee(We,null,nt(d.value,se=>(U(),ee("ul",{class:"list",key:se,style:we({listStyleType:se}),onClick:J=>a("orderedList",se)},[(U(),ee(We,null,nt(3,J=>V("li",{class:"list-item",key:J},Sme)),64))],12,bme))),128))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1})]),V("div",Mme,[O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",style:{flex:"1"},onClick:R[27]||(R[27]=se=>a("indent","-1"))},{default:oe(()=>[O(D)]),_:1})),[[ae,"减小段落缩进"]]),O(Pt,{trigger:"click",value:c.value,"onUpdate:value":R[29]||(R[29]=se=>c.value=se)},{content:oe(()=>[O(go,{onClick:R[28]||(R[28]=se=>a("textIndent","-1"))},{default:oe(()=>[Ve("减小首行缩进")]),_:1})]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1}),wme,O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",style:{flex:"1"},onClick:R[30]||(R[30]=se=>a("indent","+1"))},{default:oe(()=>[O(G)]),_:1})),[[ae,"增大段落缩进"]]),O(Pt,{trigger:"click",value:u.value,"onUpdate:value":R[32]||(R[32]=se=>u.value=se)},{content:oe(()=>[O(go,{onClick:R[31]||(R[31]=se=>a("textIndent","+1"))},{default:oe(()=>[Ve("增大首行缩进")]),_:1})]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1})])])}}}),z_=Ue(Lme,[["__scopeId","data-v-830b245d"]]),T2=e=>(zt("data-v-82b69e69"),e=e(),Jt(),e),Ome={class:"text-style-panel"},Tme={class:"preset-style"},kme=["onClick"],Nme={class:"row"},Pme=T2(()=>V("div",{style:{width:"40%"}},"行间距:",-1)),Cme={class:"row"},Ime=T2(()=>V("div",{style:{width:"40%"}},"段间距:",-1)),Fme={class:"row"},_me=T2(()=>V("div",{style:{width:"40%"}},"字间距:",-1)),Eme={class:"row"},Xme=T2(()=>V("div",{style:{width:"40%"}},"文本框填充:",-1)),Wme=Ee({__name:"TextStylePanel",setup(e){const t=[{label:"大标题",style:{fontSize:"26px",fontWeight:700},cmd:[{command:"clear"},{command:"bold"},{command:"fontsize",value:"66px"},{command:"align",value:"center"}]},{label:"小标题",style:{fontSize:"22px",fontWeight:700},cmd:[{command:"clear"},{command:"bold"},{command:"fontsize",value:"40px"},{command:"align",value:"center"}]},{label:"正文",style:{fontSize:"20px"},cmd:[{command:"clear"},{command:"fontsize",value:"20px"}]},{label:"正文[小]",style:{fontSize:"18px"},cmd:[{command:"clear"},{command:"fontsize",value:"18px"}]},{label:"注释 1",style:{fontSize:"16px",fontStyle:"italic"},cmd:[{command:"clear"},{command:"fontsize",value:"16px"},{command:"em"}]},{label:"注释 2",style:{fontSize:"16px",textDecoration:"underline"},cmd:[{command:"clear"},{command:"fontsize",value:"16px"},{command:"underline"}]}],n=ft(),r=st(),{handleElement:o,handleElementId:i}=Xe(n),{addHistorySnapshot:a}=Ht(),s=A=>{r.updateElement({id:i.value,props:A}),a()},l=ve("#000"),c=ve(),u=ve(),f=ve();wt(o,()=>{!o.value||o.value.type!=="text"||(l.value=o.value.fill||"#fff",c.value=o.value.lineHeight||1.5,u.value=o.value.wordSpace||0,f.value=o.value.paragraphSpace===void 0?5:o.value.paragraphSpace,ao.emit(Hr.SYNC_RICH_TEXT_ATTRS_TO_STORE))},{deep:!0,immediate:!0});const d=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],h=[0,1,2,3,4,5,6,8,10],p=[0,5,10,15,20,25,30,40,50,80],v=A=>{s({lineHeight:A})},m=A=>{s({paragraphSpace:A})},x=A=>{s({wordSpace:A})},y=A=>{s({fill:A})},R=A=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:A})};return(A,b)=>{const M=Se("IconRowHeight"),T=Se("IconVerticalSpacingBetweenItems"),w=Se("IconFullwidth");return U(),ee("div",Ome,[V("div",Tme,[(U(),ee(We,null,nt(t,L=>V("div",{class:"preset-style-item",key:L.label,style:we(L.style),onClick:k=>R(L.cmd)},vt(L.label),13,kme)),64))]),O(Ft),O(z_),O(Ft),V("div",Nme,[Pme,O(Hn,{style:{width:"60%"},value:c.value||1,"onUpdate:value":b[0]||(b[0]=L=>v(L)),options:d.map(L=>({label:L+"倍",value:L}))},{icon:oe(()=>[O(M)]),_:1},8,["value","options"])]),V("div",Cme,[Ime,O(Hn,{style:{width:"60%"},value:f.value||0,"onUpdate:value":b[1]||(b[1]=L=>m(L)),options:p.map(L=>({label:L+"px",value:L}))},{icon:oe(()=>[O(T)]),_:1},8,["value","options"])]),V("div",Fme,[_me,O(Hn,{style:{width:"60%"},value:u.value||0,"onUpdate:value":b[2]||(b[2]=L=>x(L)),options:h.map(L=>({label:L+"px",value:L}))},{icon:oe(()=>[O(w)]),_:1},8,["value","options"])]),V("div",Eme,[Xme,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value,"onUpdate:modelValue":b[3]||(b[3]=L=>y(L))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value},null,8,["color"])]),_:1})]),O(Ft),O(jp),O(Ft),O(L2),O(Ft),O(Q_)])}}}),Vme=Ue(Wme,[["__scopeId","data-v-82b69e69"]]),Ume={class:"element-flip"},Yme=Ee({__name:"ElementFlip",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=ve(!1),o=ve(!1);wt(n,()=>{n.value&&(n.value.type==="image"||n.value.type==="shape")&&(r.value=!!n.value.flipH,o.value=!!n.value.flipV)},{deep:!0,immediate:!0});const{addHistorySnapshot:i}=Ht(),a=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),i())};return(s,l)=>{const c=Se("IconFlipVertically"),u=Se("IconFlipHorizontally");return U(),ee("div",Ume,[O(Ln,{class:"row"},{default:oe(()=>[O(Ar,{style:{flex:"1"},checked:o.value,onClick:l[0]||(l[0]=f=>a({flipV:!o.value}))},{default:oe(()=>[O(c),Ve(" 垂直翻转")]),_:1},8,["checked"]),O(Ar,{style:{flex:"1"},checked:r.value,onClick:l[1]||(l[1]=f=>a({flipH:!r.value}))},{default:oe(()=>[O(u),Ve(" 水平翻转")]),_:1},8,["checked"])]),_:1})])}}}),J_=Ue(Yme,[["__scopeId","data-v-100c8a7c"]]),Qme=e=>(zt("data-v-8564f2ac"),e=e(),Jt(),e),Zme={class:"element-filter"},Bme={class:"row"},Dme=Qme(()=>V("div",{style:{flex:"2"}},"启用滤镜:",-1)),Kme={class:"switch-wrapper",style:{flex:"3"}},Hme={class:"presets"},Gme=["onClick"],zme=["src"],Jme={class:"preset-label"},$me={class:"filter"},jme={class:"name"},qme=Ee({__name:"ElementFilter",setup(e){const t=[{label:"模糊",key:"blur",default:0,value:0,unit:"px",max:10,step:1},{label:"亮度",key:"brightness",default:100,value:100,unit:"%",max:200,step:5},{label:"对比度",key:"contrast",default:100,value:100,unit:"%",max:200,step:5},{label:"灰度",key:"grayscale",default:0,value:0,unit:"%",max:100,step:5},{label:"饱和度",key:"saturate",default:100,value:100,unit:"%",max:200,step:5},{label:"色相",key:"hue-rotate",default:0,value:0,unit:"deg",max:360,step:10},{label:"褐色",key:"sepia",default:0,value:0,unit:"%",max:100,step:5},{label:"反转",key:"invert",default:0,value:0,unit:"%",max:100,step:5},{label:"不透明度",key:"opacity",default:100,value:100,unit:"%",max:100,step:5}],n=[{label:"黑白",values:{grayscale:"100%"}},{label:"复古",values:{sepia:"50%",contrast:"110%",brightness:"90%"}},{label:"锐化",values:{contrast:"150%"}},{label:"柔和",values:{brightness:"110%",contrast:"90%"}},{label:"暖色",values:{sepia:"30%",saturate:"135%"}},{label:"明亮",values:{brightness:"110%",contrast:"110%"}},{label:"鲜艳",values:{saturate:"200%"}},{label:"模糊",values:{blur:"2px"}},{label:"反转",values:{invert:"100%"}}],r=st(),{handleElement:o,handleElementId:i}=Xe(ft()),a=o,s=ve(JSON.parse(JSON.stringify(t))),l=ve(!1),{addHistorySnapshot:c}=Ht();wt(o,()=>{if(!o.value||o.value.type!=="image")return;const p=o.value.filters;p?(s.value=t.map(v=>{const m=p[v.key];return m?{...v,value:parseInt(m)}:v}),l.value=!0):(s.value=JSON.parse(JSON.stringify(t)),l.value=!1)},{deep:!0,immediate:!0});const u=p=>{let v="";const m=Object.keys(p);for(const x of m)v+=`${x}(${p[x]}) `;return v},f=(p,v)=>{const y={...o.value.filters||{},[p.key]:`${v}${p.unit}`};r.updateElement({id:i.value,props:{filters:y}}),c()},d=p=>{o.value&&(p?r.updateElement({id:o.value.id,props:{filters:{}}}):r.removeElementProps({id:o.value.id,propName:"filters"}),c())},h=p=>{r.updateElement({id:i.value,props:{filters:p}}),c()};return(p,v)=>(U(),ee("div",Zme,[V("div",Bme,[Dme,V("div",Kme,[O(la,{value:l.value,"onUpdate:value":v[0]||(v[0]=m=>d(m))},null,8,["value"])])]),l.value?(U(),ee(We,{key:0},[V("div",Hme,[(U(),ee(We,null,nt(n,(m,x)=>V("div",{class:"preset-item",key:x,onClick:y=>h(m.values)},[V("img",{src:H(a).src,alt:"",style:we({filter:u(m.values)})},null,12,zme),V("span",Jme,vt(m.label),1)],8,Gme)),64))]),V("div",$me,[(U(!0),ee(We,null,nt(s.value,m=>(U(),ee("div",{class:"filter-item",key:m.key},[V("div",jme,vt(m.label),1),O(so,{class:"filter-slider",max:m.max,min:0,step:m.step,value:m.value,"onUpdate:value":x=>f(m,x)},null,8,["max","step","value","onUpdate:value"])]))),128))])],64)):Qe("",!0)]))}}),e2e=Ue(qme,[["__scopeId","data-v-8564f2ac"]]),$_=e=>(zt("data-v-51ffed2c"),e=e(),Jt(),e),t2e={class:"element-color-mask"},n2e={class:"row"},r2e=$_(()=>V("div",{style:{width:"40%"}},"着色(蒙版):",-1)),o2e={class:"switch-wrapper",style:{width:"60%"}},i2e={key:0,class:"row",style:{"margin-top":"15px"}},a2e=$_(()=>V("div",{style:{width:"40%"}},"蒙版颜色:",-1)),gk="rgba(226, 83, 77, 0.5)",s2e=Ee({__name:"ElementColorMask",setup(e){const t=st(),{handleElement:n,handleElementId:r}=Xe(ft()),o=ve(gk),i=ve(!1),{addHistorySnapshot:a}=Ht();wt(n,()=>{!n.value||n.value.type!=="image"||(n.value.colorMask?(o.value=n.value.colorMask,i.value=!0):i.value=!1)},{deep:!0,immediate:!0});const s=c=>{n.value&&(c?t.updateElement({id:n.value.id,props:{colorMask:gk}}):t.removeElementProps({id:n.value.id,propName:"colorMask"}),a())},l=c=>{t.updateElement({id:r.value,props:{colorMask:c}}),a()};return(c,u)=>(U(),ee("div",t2e,[V("div",n2e,[r2e,V("div",o2e,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>s(f))},null,8,["value"])])]),i.value?(U(),ee("div",i2e,[a2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value,"onUpdate:modelValue":u[1]||(u[1]=f=>l(f))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value},null,8,["color"])]),_:1})])):Qe("",!0)]))}}),l2e=Ue(s2e,[["__scopeId","data-v-51ffed2c"]]),j_=e=>(zt("data-v-0e7500b2"),e=e(),Jt(),e),c2e={class:"image-style-panel"},u2e={class:"clip"},f2e=j_(()=>V("div",{class:"title"},"按形状:",-1)),d2e={class:"shape-clip"},h2e=["onClick"],p2e={key:0,class:"title"},v2e={class:"row"},g2e=j_(()=>V("div",{style:{width:"40%"}},"圆角半径:",-1)),m2e=Ee({__name:"ImageStylePanel",setup(e){const t=eb,n=[{label:"纵横比(正方形)",children:[{key:"1:1",ratio:1/1}]},{label:"纵横比(纵向)",children:[{key:"2:3",ratio:3/2},{key:"3:4",ratio:4/3},{key:"3:5",ratio:5/3},{key:"4:5",ratio:5/4}]},{label:"纵横比(横向)",children:[{key:"3:2",ratio:2/3},{key:"4:3",ratio:3/4},{key:"5:3",ratio:3/5},{key:"5:4",ratio:4/5}]},{children:[{key:"16:9",ratio:9/16},{key:"16:10",ratio:10/16}]}],r=ft(),o=st(),{handleElement:i,handleElementId:a}=Xe(r),{currentSlide:s}=Xe(o),l=i,c=ve(!1),{addHistorySnapshot:u}=Ht(),f=()=>{r.setClipingImageElementId(a.value),c.value=!1},d=()=>{const y=i.value,R=y.width,A=y.height,b=y.left,M=y.top,T=y.clip?y.clip.range:[[0,0],[100,100]],w=R/((T[1][0]-T[0][0])/100),L=A/((T[1][1]-T[0][1])/100),k=b-w*(T[0][0]/100),E=M-L*(T[0][1]/100);return{originClipRange:T,originWidth:w,originHeight:L,originLeft:k,originTop:E}},h=y=>{i.value&&(o.updateElement({id:a.value,props:y}),u())},p=(y,R=0)=>{const A=i.value,{originClipRange:b,originWidth:M,originHeight:T,originLeft:w,originTop:L}=d();if(R){const k=T/M,E=0,P=100;let W;if(k>R){const N=(1-R/k)/2*100;W=[[E,N],[P,P-N]]}else{const N=(1-k/R)/2*100;W=[[N,E],[P-N,P]]}h({clip:{...A.clip,shape:y,range:W},left:w+M*(W[0][0]/100),top:L+T*(W[0][1]/100),width:M*(W[1][0]-W[0][0])/100,height:T*(W[1][1]-W[0][1])/100})}else{const k={...A.clip,shape:y,range:b};let E={clip:k};y==="rect"&&(E={clip:k,radius:0}),h(E)}f()},v=y=>{const R=y[0];R&&Lc(R).then(A=>{h({src:A})})},m=()=>{if(i.value.clip){const{originWidth:R,originHeight:A,originLeft:b,originTop:M}=d();h({left:b,top:M,width:R,height:A})}o.removeElementProps({id:a.value,propName:["clip","outline","flip","shadow","filters","colorMask"]}),u()},x=()=>{const y=i.value,R={...s.value.background,type:"image",image:{src:y.src,size:"cover"}};o.updateSlide({background:R}),u()};return(y,R)=>{const A=Se("IconTailoring"),b=Se("IconDown"),M=Se("IconTransform"),T=Se("IconUndo"),w=Se("IconTheme");return U(),ee("div",c2e,[V("div",{class:"origin-image",style:we({backgroundImage:`url(${H(l).src})`})},null,4),O(J_),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(je,{first:"",style:{width:"calc(100% / 6 * 5)"},onClick:R[0]||(R[0]=L=>f())},{default:oe(()=>[O(A,{class:"btn-icon"}),Ve(" 裁剪图片")]),_:1}),O(Pt,{trigger:"click",value:c.value,"onUpdate:value":R[1]||(R[1]=L=>c.value=L),style:{width:"calc(100% / 6)"}},{content:oe(()=>[V("div",u2e,[f2e,V("div",d2e,[(U(!0),ee(We,null,nt(H(t),(L,k)=>(U(),ee("div",{class:"shape-clip-item",key:k,onClick:E=>p(k)},[V("div",{class:"shape",style:we({clipPath:L.style})},null,4)],8,h2e))),128))]),(U(),ee(We,null,nt(n,L=>(U(),ee(We,{key:L.label},[L.label?(U(),ee("div",p2e,"按"+vt(L.label)+":",1)):Qe("",!0),O(Ln,{class:"row"},{default:oe(()=>[(U(!0),ee(We,null,nt(L.children,k=>(U(),ke(je,{style:{flex:"1"},key:k.key,onClick:E=>p("rect",k.ratio)},{default:oe(()=>[Ve(vt(k.key),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)],64))),64))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn",style:{width:"100%"}},{default:oe(()=>[O(b)]),_:1})]),_:1},8,["value"])]),_:1}),V("div",v2e,[g2e,O(ei,{value:H(l).radius||0,"onUpdate:value":R[2]||(R[2]=L=>h({radius:L})),style:{width:"60%"}},null,8,["value"])]),O(Ft),O(l2e),O(Ft),O(e2e),O(Ft),O(jp),O(Ft),O(L2),O(Ft),O(Wu,{onChange:R[3]||(R[3]=L=>v(L))},{default:oe(()=>[O(je,{class:"full-width-btn"},{default:oe(()=>[O(M,{class:"btn-icon"}),Ve(" 替换图片")]),_:1})]),_:1}),O(je,{class:"full-width-btn",onClick:R[4]||(R[4]=L=>m())},{default:oe(()=>[O(T,{class:"btn-icon"}),Ve(" 重置样式")]),_:1}),O(je,{class:"full-width-btn",onClick:R[5]||(R[5]=L=>x())},{default:oe(()=>[O(w,{class:"btn-icon"}),Ve(" 设为背景")]),_:1})])}}}),A2e=Ue(m2e,[["__scopeId","data-v-0e7500b2"]]),R2e=()=>{const e=ft(),{shapeFormatPainter:t,handleElement:n}=Xe(e);return{toggleShapeFormatPainter:(o=!1)=>{const i=n.value;t.value?e.setShapeFormatPainter(null):e.setShapeFormatPainter({keep:o,fill:i.fill,gradient:i.gradient,outline:i.outline,opacity:i.opacity,shadow:i.shadow})}}},y2e={class:"gradient-bar"},b2e=["onMousedown","onContextmenu"],x2e=Ee({__name:"GradientBar",props:{value:{}},emits:["update:value","update:index"],setup(e,{emit:t}){const n=e,r=t,o=ve([]),i=ve(),a=ve(0);Dd(()=>{o.value=n.value,a.value>n.value.length-1&&(a.value=0)}),wt(a,()=>{r("update:index",a.value)});const s=Me(()=>`linear-gradient(to right, ${o.value.map(d=>`${d.color} ${d.pos}%`).join(",")})`),l=f=>{if(n.value.length<=2)return;f===a.value?a.value=f-1<0?0:f-1:a.value===n.value.length-1&&(a.value=n.value.length-2);const d=n.value.filter((h,p)=>p!==f);r("update:value",d)},c=f=>{let d=!0;document.onmousemove=h=>{if(!d||!i.value)return;let p=Math.round((h.clientX-i.value.getBoundingClientRect().left)/i.value.clientWidth*100);p>100&&(p=100),p<0&&(p=0),o.value=o.value.map((v,m)=>m===f?{...v,pos:p}:v)},document.onmouseup=()=>{d=!1;const h=o.value[f],p=[...o.value];p.splice(f,1);let v=0;for(let m=0;m<p.length;m++)h.pos>p[m].pos&&(v=m+1);a.value=v,p.splice(v,0,h),r("update:value",p),document.onmousemove=null,document.onmouseup=null}},u=f=>{if(n.value.length>=6||!i.value)return;const d=Math.round((f.clientX-i.value.getBoundingClientRect().left)/i.value.clientWidth*100);let h=0;for(let m=0;m<n.value.length;m++)d>n.value[m].pos&&(h=m+1);const p=n.value[h-1]?n.value[h-1].color:n.value[h].color,v=[...n.value];v.splice(h,0,{pos:d,color:p}),a.value=h,r("update:value",v)};return(f,d)=>(U(),ee("div",y2e,[V("div",{class:"bar",ref_key:"barRef",ref:i,style:we({backgroundImage:s.value}),onClick:d[0]||(d[0]=h=>u(h))},null,4),(U(!0),ee(We,null,nt(o.value,(h,p)=>(U(),ee("div",{class:Je(["point",{active:a.value===p}]),key:h.pos+"-"+p,style:we({backgroundColor:h.color,left:`calc(${h.pos}% - 5px)`}),onMousedown:Nt(v=>c(p),["left"]),onContextmenu:Nt(v=>l(p),["right"])},null,46,b2e))),128))]))}}),q_=Ue(x2e,[["__scopeId","data-v-c1273c7e"]]),k2=e=>(zt("data-v-d5ed5ce8"),e=e(),Jt(),e),S2e={class:"shape-style-panel"},M2e={class:"title"},w2e=k2(()=>V("span",null,"点击替换形状",-1)),L2e={class:"shape-pool"},O2e={class:"shape-list"},T2e={class:"row"},k2e=k2(()=>V("div",{style:{width:"10px"}},null,-1)),N2e={class:"row"},P2e={class:"row"},C2e=k2(()=>V("div",{style:{width:"40%"}},"当前色块:",-1)),I2e={key:0,class:"row"},F2e=k2(()=>V("div",{style:{width:"40%"}},"渐变角度:",-1)),_2e={class:"row"},E2e=Ee({__name:"ShapeStylePanel",setup(e){const t=ft(),n=st(),{handleElement:r,handleElementId:o,shapeFormatPainter:i}=Xe(t),a=r,s=ve("#000"),l=ve({type:"linear",rotate:0,colors:[{pos:0,color:"#fff"},{pos:100,color:"#fff"}]}),c=ve("fill"),u=ve("middle"),f=ve(0);wt(r,()=>{var M,T;if(!r.value||r.value.type!=="shape")return;s.value=r.value.fill||"#fff";const b=[{pos:0,color:s.value},{pos:100,color:"#fff"}];l.value=r.value.gradient||{type:"linear",rotate:0,colors:b},c.value=r.value.gradient?"gradient":"fill",u.value=((T=(M=r.value)==null?void 0:M.text)==null?void 0:T.align)||"middle"},{deep:!0,immediate:!0});const{addHistorySnapshot:d}=Ht(),{toggleShapeFormatPainter:h}=R2e(),p=b=>{n.updateElement({id:o.value,props:b}),d()},v=b=>{b==="fill"?(n.removeElementProps({id:o.value,propName:"gradient"}),d()):(f.value=0,p({gradient:l.value}))},m=b=>{if(!l.value)return;const M={...l.value,...b};p({gradient:M})},x=b=>{const M=l.value.colors.map((T,w)=>w===f.value?{...T,color:b}:T);m({colors:M})},y=b=>{p({fill:b})},R=b=>{const{width:M,height:T}=r.value,w={viewBox:b.viewBox,path:b.path,special:b.special};if(b.pathFormula){w.pathFormula=b.pathFormula,w.viewBox=[M,T];const L=zu[b.pathFormula];"editable"in L?(w.path=L.formula(M,T,L.defaultValue),w.keypoints=L.defaultValue):w.path=L.formula(M,T)}else w.pathFormula=void 0,w.keypoints=void 0;p(w)},A=b=>{const M=r.value,T={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"},w=M.text||T;p({text:{...w,align:b}})};return(b,M)=>{var W;const T=Se("IconDown"),w=Se("IconAlignTextTopOne"),L=Se("IconAlignTextMiddleOne"),k=Se("IconAlignTextBottomOne"),E=Se("IconFormatBrush"),P=bn("tooltip");return U(),ee("div",S2e,[V("div",M2e,[w2e,O(T)]),V("div",L2e,[(U(!0),ee(We,null,nt(H(Xx),N=>(U(),ee("div",{class:"category",key:N.type},[V("div",O2e,[(U(!0),ee(We,null,nt(N.children,(_,C)=>(U(),ke(x_,{class:"shape-item",key:C,shape:_,onClick:X=>R(_)},null,8,["shape","onClick"]))),128))])]))),128))]),V("div",T2e,[O(Hn,{style:{flex:"1"},value:c.value,"onUpdate:value":M[0]||(M[0]=N=>v(N)),options:[{label:"纯色填充",value:"fill"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),k2e,c.value==="fill"?(U(),ke(Pt,{key:0,trigger:"click",style:{flex:"1"}},{content:oe(()=>[O(_n,{modelValue:s.value,"onUpdate:modelValue":M[1]||(M[1]=N=>y(N))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:s.value},null,8,["color"])]),_:1})):(U(),ke(Hn,{key:1,style:{flex:"1"},value:l.value.type,"onUpdate:value":M[2]||(M[2]=N=>m({type:N})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),c.value==="gradient"?(U(),ee(We,{key:0},[V("div",N2e,[O(q_,{value:l.value.colors,"onUpdate:value":M[3]||(M[3]=N=>m({colors:N})),"onUpdate:index":M[4]||(M[4]=N=>f.value=N)},null,8,["value"])]),V("div",P2e,[C2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value.colors[f.value].color,"onUpdate:modelValue":M[5]||(M[5]=N=>x(N))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value.colors[f.value].color},null,8,["color"])]),_:1})]),l.value.type==="linear"?(U(),ee("div",I2e,[F2e,O(so,{style:{width:"60%"},min:0,max:360,step:15,value:l.value.rotate,"onUpdate:value":M[6]||(M[6]=N=>m({rotate:N}))},null,8,["value"])])):Qe("",!0)],64)):Qe("",!0),O(J_),O(Ft),(W=H(a).text)!=null&&W.content?(U(),ee(We,{key:1},[O(z_),O(Ft),O(Ms,{class:"row","button-style":"solid",value:u.value,"onUpdate:value":M[7]||(M[7]=N=>A(N))},{default:oe(()=>[He((U(),ke(In,{value:"top",style:{flex:"1"}},{default:oe(()=>[O(w)]),_:1})),[[P,"顶对齐"]]),He((U(),ke(In,{value:"middle",style:{flex:"1"}},{default:oe(()=>[O(L)]),_:1})),[[P,"居中"]]),He((U(),ke(In,{value:"bottom",style:{flex:"1"}},{default:oe(()=>[O(k)]),_:1})),[[P,"底对齐"]])]),_:1},8,["value"]),O(Ft)],64)):Qe("",!0),O(jp),O(Ft),O(L2),O(Ft),O(Q_),O(Ft),V("div",_2e,[He((U(),ke(Ar,{style:{flex:"1"},checked:!!H(i),onClick:M[8]||(M[8]=N=>H(h)()),onDblclick:M[9]||(M[9]=N=>H(h)(!0))},{default:oe(()=>[O(E),Ve(" 形状格式刷")]),_:1},8,["checked"])),[[P,"双击连续使用"]])])])}}}),X2e=Ue(E2e,[["__scopeId","data-v-d5ed5ce8"]]),e1=e=>(zt("data-v-8964660b"),e=e(),Jt(),e),W2e={class:"line-style-panel"},V2e={class:"row"},U2e=e1(()=>V("div",{style:{width:"40%"}},"线条样式:",-1)),Y2e={class:"row"},Q2e=e1(()=>V("div",{style:{width:"40%"}},"线条颜色:",-1)),Z2e={class:"row"},B2e=e1(()=>V("div",{style:{width:"40%"}},"线条宽度:",-1)),D2e={class:"row"},K2e=e1(()=>V("div",{style:{width:"40%"}},"起点样式:",-1)),H2e={class:"row"},G2e=e1(()=>V("div",{style:{width:"40%"}},"终点样式:",-1)),z2e={class:"row"},J2e=Ee({__name:"LineStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),o())};return(a,s)=>{const l=Se("IconSwitch");return U(),ee("div",W2e,[V("div",V2e,[U2e,O(Hn,{style:{width:"60%"},value:H(r).style,"onUpdate:value":s[0]||(s[0]=c=>i({style:c})),options:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"}]},null,8,["value"])]),V("div",Y2e,[Q2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":s[1]||(s[1]=c=>i({color:c}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",Z2e,[B2e,O(ei,{value:H(r).width,"onUpdate:value":s[2]||(s[2]=c=>i({width:c})),style:{width:"60%"}},null,8,["value"])]),V("div",D2e,[K2e,O(Hn,{style:{width:"60%"},value:H(r).points[0],"onUpdate:value":s[3]||(s[3]=c=>i({points:[c,H(r).points[1]]})),options:[{label:"无",value:""},{label:"箭头",value:"arrow"},{label:"圆点",value:"dot"}]},null,8,["value"])]),V("div",H2e,[G2e,O(Hn,{style:{width:"60%"},value:H(r).points[1],"onUpdate:value":s[4]||(s[4]=c=>i({points:[H(r).points[0],c]})),options:[{label:"无",value:""},{label:"箭头",value:"arrow"},{label:"圆点",value:"dot"}]},null,8,["value"])]),O(Ft),V("div",z2e,[O(je,{style:{flex:"1"},onClick:s[5]||(s[5]=c=>i({start:H(r).end,end:H(r).start}))},{default:oe(()=>[O(l),Ve(" 交换方向")]),_:1})]),O(Ft),O(L2)])}}}),$2e=Ue(J2e,[["__scopeId","data-v-8964660b"]]),j2e=e=>(zt("data-v-e76e5c0f"),e=e(),Jt(),e),q2e={class:"chart-data-editor"},eAe={class:"editor-content"},tAe={class:"handler"},nAe={class:"col-header"},rAe={class:"col-key"},oAe={class:"row-header"},iAe={class:"row-key"},aAe=j2e(()=>V("div",{class:"all-header"},[V("svg",{class:"triangle",width:"8",height:"8",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg"},[V("path",{d:"M8,0 L8,8 L0,8 L8,0",fill:"#ccc"})])],-1)),sAe={class:"range-box"},lAe=["id","onFocus","onPaste"],cAe={class:"btns"},uAe={class:"left"},fAe={class:"right"},dAe="ABCDEFGHIJKLMNOPQRSTUVWXYZ",Nl=100,Pl=32,hAe=Ee({__name:"ChartDataEditor",props:{data:{}},emits:["save","close"],setup(e,{emit:t}){const n=e,r=t,o=ve([0,0]),i=ve({width:0,height:0}),a=ve(null),s=Me(()=>{const x=o.value[0]*Nl,y=o.value[1]*Pl;return[{type:"t",style:{width:x+"px"}},{type:"b",style:{top:y+"px",width:x+"px"}},{type:"l",style:{height:y+"px"}},{type:"r",style:{left:x+"px",height:y+"px"}}]}),l=Me(()=>{const x=o.value[0]*Nl,y=o.value[1]*Pl;return{left:x+"px",top:y+"px"}});Qt(()=>{const x=[],{labels:y,legends:R,series:A}=n.data,b=y.length,M=A.length;x.push(["",...R]);for(let T=0;T<b;T++){const w=[y[T]];for(let L=0;L<M;L++)w.push(A[L][T]+"");x.push(w)}for(let T=0;T<b+1;T++)for(let w=0;w<M+1;w++){const L=document.querySelector(`#cell-${T}-${w}`);L&&(L.value=x[T][w]+"")}o.value=[M+1,b+1]});const u=()=>{if(!a.value)return;const[x,y]=a.value,R=document.querySelector(`#cell-${x+1}-${y}`);R&&R.focus()},f=x=>{x.key.toUpperCase()===gt.ENTER&&u()};Qt(()=>{document.addEventListener("keydown",f)}),Sn(()=>{document.removeEventListener("keydown",f)});const d=()=>{const[x,y]=o.value,R=[],A=[],b=[];for(let M=1;M<y;M++){let T=`类别${M}`;const w=document.querySelector(`#cell-${M}-0`);w&&w.value&&(T=w.value),R.push(T)}for(let M=1;M<x;M++){let T=`系列${M}`;const w=document.querySelector(`#cell-0-${M}`);w&&w.value&&(T=w.value),A.push(T)}for(let M=1;M<x;M++){const T=[];for(let w=1;w<y;w++){const L=document.querySelector(`#cell-${w}-${M}`);let k=0;L&&L.value&&+L.value&&(k=+L.value),T.push(k)}b.push(T)}r("save",{labels:R,legends:A,series:b})},h=()=>{for(let x=1;x<31;x++)for(let y=1;y<7;y++){const R=document.querySelector(`#cell-${x}-${y}`);R&&(R.value="")}},p=(x,y,R)=>{if(x.preventDefault(),!x.clipboardData)return;const A=x.clipboardData.items[0];A&&A.kind==="string"&&A.type==="text/plain"&&A.getAsString(b=>{if(typeof _x(b)=="object")return;const T=A9(b);if(T){const w=y+T.length,L=R+T[0].length;for(let k=y;k<w;k++)for(let E=R;E<L;E++){const P=document.querySelector(`#cell-${k}-${E}`);P&&(P.value=T[k-y][E-R])}}})},v=()=>r("close"),m=x=>{let y=!0;const R=x.pageX,A=x.pageY,b=o.value[0]*Nl,M=o.value[1]*Pl;document.onmousemove=T=>{if(!y)return;const w=T.pageX,L=T.pageY,k=w-R,E=L-A,P=b+k,W=M+E;i.value={width:P,height:W}},document.onmouseup=T=>{y=!1,document.onmousemove=null,document.onmouseup=null;const w=T.pageX,L=T.pageY;if(R===w&&A===L)return;let k=i.value.width,E=i.value.height;k%Nl>Nl*.5&&(k=k+(Nl-k%Nl)),E%Pl>Pl*.5&&(E=E+(Pl-E%Pl));let P=Math.round(E/Pl),W=Math.round(k/Nl);P<3&&(P=3),W<2&&(W=2),o.value=[W,P],i.value={width:0,height:0}}};return(x,y)=>(U(),ee("div",q2e,[V("div",eAe,[V("div",tAe,[V("div",nAe,[(U(),ee(We,null,nt(7,R=>V("div",{class:"col-header-item",key:R},[V("div",rAe,vt(dAe[R-1]),1)])),64))]),V("div",oAe,[(U(),ee(We,null,nt(31,R=>V("div",{class:"row-header-item",key:R},[V("div",iAe,vt(R),1)])),64))]),aAe]),V("div",sAe,[V("div",{class:"temp-range",style:we({width:i.value.width+"px",height:i.value.height+"px"})},null,4),(U(!0),ee(We,null,nt(s.value,R=>(U(),ee("div",{class:Je(["range-line",R.type]),key:R.type,style:we(R.style)},null,6))),128)),V("div",{class:"resizable",style:we(l.value),onMousedown:y[0]||(y[0]=Nt(R=>m(R),["stop"]))},null,36)]),V("table",null,[V("tbody",null,[(U(),ee(We,null,nt(31,R=>V("tr",{key:R},[(U(),ee(We,null,nt(7,A=>V("td",{key:A,class:Je({head:A===1&&R<=o.value[1]||R===1&&A<=o.value[0]})},[R===1&&A===1?Qe("",!0):(U(),ee("input",{key:0,class:Je(["item",{selected:R<=o.value[1]&&A<=o.value[0]}]),id:`cell-${R-1}-${A-1}`,autocomplete:"off",onFocus:b=>a.value=[R-1,A-1],onPaste:b=>p(b,R-1,A-1)},null,42,lAe))],2)),64))])),64))])])]),V("div",cAe,[V("div",uAe,[O(je,{class:"btn",onClick:y[1]||(y[1]=R=>h())},{default:oe(()=>[Ve("清空")]),_:1})]),V("div",fAe,[O(je,{class:"btn",onClick:y[2]||(y[2]=R=>v())},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{type:"primary",class:"btn",onClick:y[3]||(y[3]=R=>d()),style:{"margin-left":"10px"}},{default:oe(()=>[Ve("确认")]),_:1})])])]))}}),pAe=Ue(hAe,[["__scopeId","data-v-e76e5c0f"]]),eE=e=>(zt("data-v-3d20c849"),e=e(),Jt(),e),vAe=eE(()=>V("span",{class:"checkbox-input"},null,-1)),gAe=eE(()=>V("input",{class:"checkbox-original",type:"checkbox"},null,-1)),mAe={class:"checkbox-label"},AAe=Ee({__name:"Checkbox",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=i=>{n.disabled||r("update:value",i.target.checked)};return(i,a)=>(U(),ee("label",{class:Je(["checkbox",{checked:i.value,disabled:i.disabled}]),onChange:a[0]||(a[0]=s=>o(s))},[vAe,gAe,V("span",mAe,[sr(i.$slots,"default",{},void 0,!0)])],34))}}),ns=Ue(AAe,[["__scopeId","data-v-3d20c849"]]),B5=e=>(zt("data-v-013c2424"),e=e(),Jt(),e),RAe={class:"chart-style-panel"},yAe={class:"row"},bAe={class:"row"},xAe={key:1,class:"row"},SAe={key:2,class:"row"},MAe={class:"row"},wAe=B5(()=>V("div",{style:{width:"40%"}},"图例:",-1)),LAe={class:"row"},OAe=B5(()=>V("div",{style:{width:"40%"}},"背景填充:",-1)),TAe={class:"row"},kAe=B5(()=>V("div",{style:{width:"40%"}},"网格颜色:",-1)),NAe={style:{width:"40%"}},PAe={class:"color-btn-wrap",style:{width:"100%"}},CAe=["onClick"],IAe={class:"preset-themes"},FAe=["onClick","onMouseenter"],_Ae=Ee({__name:"index",setup(e){const t=[["#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"]],n=ft(),r=st(),{handleElement:o,handleElementId:i}=Xe(n),{theme:a}=Xe(r),s=o,l=ve(!1),c=ve(!1),u=ve([-1,-1]),{addHistorySnapshot:f}=Ht(),d=ve("#000"),h=ve([]),p=ve(""),v=ve(""),m=ve(!0),x=ve(!0),y=ve(!1),R=ve(!1),A=ve(!1),b=ve(!1);wt(o,()=>{if(!(!o.value||o.value.type!=="chart")){if(d.value=o.value.fill||"#fff",o.value.options){const{lineSmooth:X,showLine:Y,showArea:$,horizontalBars:le,donut:Q,stackBars:K}=o.value.options;m.value=!!X,x.value=!!Y,y.value=!!$,R.value=!!le,A.value=!!Q,b.value=!!K}h.value=o.value.themeColor,p.value=o.value.gridColor||"#333",v.value=o.value.legend||""}},{deep:!0,immediate:!0});const M=X=>{r.updateElement({id:i.value,props:X}),f()},T=X=>{l.value=!1,M({data:X})},w=X=>{M({fill:X})},L=X=>{const $={...o.value.options,...X};M({options:$})},k=(X,Y)=>{const $={themeColor:h.value.map((le,Q)=>Q===Y?X:le)};M($)},E=()=>{const X={themeColor:[...h.value,a.value.themeColor]};M(X)},P=(X,Y)=>{const $=X.slice(0,Y+1);M({themeColor:$}),c.value=!1},W=X=>{const Y={themeColor:h.value.filter(($,le)=>le!==X)};M(Y)},N=X=>{M({gridColor:X})},_=X=>{M({legend:X})},C=()=>l.value=!0;return ao.on(Hr.OPEN_CHART_DATA_EDITOR,C),Sn(()=>{ao.off(Hr.OPEN_CHART_DATA_EDITOR,C)}),(X,Y)=>{const $=Se("IconEdit"),le=Se("IconCloseSmall"),Q=Se("IconPlus"),K=bn("tooltip");return U(),ee("div",RAe,[O(je,{class:"full-width-btn",onClick:Y[0]||(Y[0]=B=>l.value=!0)},{default:oe(()=>[O($,{class:"btn-icon"}),Ve(" 编辑图表数据 ")]),_:1}),O(Ft),H(s).chartType==="line"?(U(),ee(We,{key:0},[V("div",yAe,[O(ns,{"onUpdate:value":Y[1]||(Y[1]=B=>L({showArea:B})),value:y.value,style:{flex:"1"}},{default:oe(()=>[Ve("面积图样式")]),_:1},8,["value"]),O(ns,{"onUpdate:value":Y[2]||(Y[2]=B=>L({showLine:B})),value:!x.value,style:{flex:"1"}},{default:oe(()=>[Ve("散点图样式")]),_:1},8,["value"])]),V("div",bAe,[O(ns,{"onUpdate:value":Y[3]||(Y[3]=B=>L({lineSmooth:B})),value:m.value},{default:oe(()=>[Ve("使用平滑曲线")]),_:1},8,["value"])])],64)):Qe("",!0),H(s).chartType==="bar"?(U(),ee("div",xAe,[O(ns,{"onUpdate:value":Y[4]||(Y[4]=B=>L({horizontalBars:B})),value:R.value,style:{flex:"1"}},{default:oe(()=>[Ve("条形图样式")]),_:1},8,["value"]),O(ns,{"onUpdate:value":Y[5]||(Y[5]=B=>L({stackBars:B})),value:b.value,style:{flex:"1"}},{default:oe(()=>[Ve("堆叠样式")]),_:1},8,["value"])])):Qe("",!0),H(s).chartType==="pie"?(U(),ee("div",SAe,[O(ns,{"onUpdate:value":Y[6]||(Y[6]=B=>L({donut:B})),value:A.value},{default:oe(()=>[Ve("环形图样式")]),_:1},8,["value"])])):Qe("",!0),O(Ft),V("div",MAe,[wAe,O(Hn,{style:{width:"60%"},value:v.value,"onUpdate:value":Y[7]||(Y[7]=B=>_(B)),options:[{label:"不显示",value:""},{label:"显示在上方",value:"top"},{label:"显示在下方",value:"bottom"}]},null,8,["value"])]),O(Ft),V("div",LAe,[OAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:d.value,"onUpdate:modelValue":Y[8]||(Y[8]=B=>w(B))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:d.value},null,8,["color"])]),_:1})]),V("div",TAe,[kAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:p.value,"onUpdate:modelValue":Y[9]||(Y[9]=B=>N(B))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:p.value},null,8,["color"])]),_:1})]),O(Ft),(U(!0),ee(We,null,nt(h.value,(B,D)=>(U(),ee("div",{class:"row",key:D},[V("div",NAe,vt(D===0?"主题配色:":""),1),O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:B,"onUpdate:modelValue":G=>k(G,D)},null,8,["modelValue","onUpdate:modelValue"])]),default:oe(()=>[V("div",PAe,[O(br,{color:B},null,8,["color"]),D!==0?He((U(),ee("div",{key:0,class:"delete-color-btn",onClick:Nt(G=>W(D),["stop"])},[O(le)],8,CAe)),[[K,"删除"]]):Qe("",!0)])]),_:2},1024)]))),128)),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",open:c.value,"onUpdate:open":Y[11]||(Y[11]=B=>c.value=B),style:{width:"40%"}},{content:oe(()=>[V("div",IAe,[(U(),ee(We,null,nt(t,(B,D)=>V("div",{class:"preset-theme",key:D},[(U(!0),ee(We,null,nt(B,(G,ae)=>(U(),ee("div",{class:Je(["preset-theme-color",{select:u.value[0]===D&&ae<=u.value[1]}]),key:G,style:we({backgroundColor:G}),onClick:se=>P(B,ae),onMouseenter:se=>u.value=[D,ae],onMouseleave:Y[10]||(Y[10]=se=>u.value=[-1,-1])},null,46,FAe))),128))])),64))])]),default:oe(()=>[O(je,{first:"",style:{width:"100%"}},{default:oe(()=>[Ve("推荐主题")]),_:1})]),_:1},8,["open"]),O(je,{last:"",disabled:h.value.length>=10,style:{width:"60%"},onClick:Y[12]||(Y[12]=B=>E())},{default:oe(()=>[O(Q,{class:"btn-icon"}),Ve(" 添加主题色 ")]),_:1},8,["disabled"])]),_:1}),O(Ft),O(jp),O(n0,{visible:l.value,"onUpdate:visible":Y[15]||(Y[15]=B=>l.value=B),width:640},{default:oe(()=>[O(pAe,{data:H(s).data,onClose:Y[13]||(Y[13]=B=>l.value=!1),onSave:Y[14]||(Y[14]=B=>T(B))},null,8,["data"])]),_:1},8,["visible"])])}}}),EAe=Ue(_Ae,[["__scopeId","data-v-013c2424"]]),N2=e=>(zt("data-v-3bf19801"),e=e(),Jt(),e),XAe={class:"table-style-panel"},WAe={class:"row"},VAe=N2(()=>V("div",{style:{width:"40%"}},"行数:",-1)),UAe={class:"set-count",style:{width:"60%"}},YAe={class:"count-text"},QAe={class:"row"},ZAe=N2(()=>V("div",{style:{width:"40%"}},"列数:",-1)),BAe={class:"set-count",style:{width:"60%"}},DAe={class:"count-text"},KAe={class:"row theme-switch"},HAe=N2(()=>V("div",{style:{width:"40%"}},"启用主题表格:",-1)),GAe={class:"switch-wrapper",style:{width:"60%"}},zAe={class:"row"},JAe={class:"row"},$Ae={class:"row"},jAe=N2(()=>V("div",{style:{width:"40%"}},"主题颜色:",-1)),qAe=Ee({__name:"TableStylePanel",setup(e){const t=st(),{handleElement:n,handleElementId:r,selectedTableCells:o,availableFonts:i}=Xe(ft()),a=Me(()=>t.theme.themeColor),s=["12px","14px","16px","18px","20px","22px","24px","28px","32px"],l=ve({bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"微软雅黑",align:"left"}),c=ve(),u=ve(!1),f=ve(0),d=ve(0),h=ve(0),p=ve(0);wt(n,()=>{!n.value||n.value.type!=="table"||(c.value=n.value.theme,u.value=!!c.value,f.value=n.value.data.length,d.value=n.value.data[0].length,h.value=n.value.data.length,p.value=n.value.data[0].length)},{deep:!0,immediate:!0});const{addHistorySnapshot:v}=Ht(),m=()=>{if(!n.value||n.value.type!=="table")return;let T=0,w=0;if(o.value.length){const k=o.value[0];T=+k.split("_")[0],w=+k.split("_")[1]}const L=n.value.data[T][w].style;L?l.value={bold:!!L.bold,em:!!L.em,underline:!!L.underline,strikethrough:!!L.strikethrough,color:L.color||"#000",backcolor:L.backcolor||"",fontsize:L.fontsize||"12px",fontname:L.fontname||"微软雅黑",align:L.align||"left"}:l.value={bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"微软雅黑",align:"left"}};Qt(()=>{o.value.length&&m()}),wt(o,m);const x=T=>{t.updateElement({id:r.value,props:T}),v()},y=T=>{const w=n.value,L=JSON.parse(JSON.stringify(w.data));for(let k=0;k<L.length;k++)for(let E=0;E<L[k].length;E++)if(!o.value.length||o.value.includes(`${k}_${E}`)){const P=L[k][E].style||{};L[k][E].style={...P,...T}}x({data:L}),m()},R=T=>{if(!c.value)return;const w={...c.value,...T};x({theme:w})},A=T=>{if(T){const w={theme:{color:a.value,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1}};x(w)}else t.removeElementProps({id:r.value,propName:"theme"}),v()},b=T=>{const w=n.value,L=w.data.length;if(T>L){const k=new Array(d.value).fill({id:ln(10),colspan:1,rowspan:1,text:""}),E=new Array(T-L).fill(k),P=JSON.parse(JSON.stringify(w.data));P.push(...E),x({data:P})}else{const k=w.data.slice(0,T);x({data:k})}},M=T=>{const w=n.value,L=w.data[0].length;let k=w.data,E=w.colWidths.map(_=>_*w.width);if(T>L){k=k.map(C=>{const X=new Array(T-L).fill({id:ln(10),colspan:1,rowspan:1,text:""});return C.push(...X),C});const _=new Array(T-L).fill(100);E.push(..._)}else k=k.map(_=>_.slice(0,T)),E=E.slice(0,T);const P=E.reduce((_,C)=>_+C),W=E.map(_=>_/P);x({width:P,data:k,colWidths:W})};return(T,w)=>{const L=Se("IconFontSize"),k=Se("IconAddText"),E=Se("IconText"),P=Se("IconFill"),W=Se("IconTextBold"),N=Se("IconTextItalic"),_=Se("IconTextUnderline"),C=Se("IconStrikethrough"),X=Se("IconAlignTextLeft"),Y=Se("IconAlignTextCenter"),$=Se("IconAlignTextRight"),le=Se("IconAlignTextBoth"),Q=Se("IconMinus"),K=Se("IconPlus"),B=bn("tooltip");return U(),ee("div",XAe,[O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{style:{width:"50%"},value:l.value.fontname,search:"",searchLabel:"搜索字体","onUpdate:value":w[0]||(w[0]=D=>y({fontname:D})),options:[...H(i),...H(Op)]},{icon:oe(()=>[O(L)]),_:1},8,["value","options"]),O(Hn,{style:{width:"50%"},value:l.value.fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":w[1]||(w[1]=D=>y({fontsize:D})),options:s.map(D=>({label:D,value:D}))},{icon:oe(()=>[O(k)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"50%"}},{content:oe(()=>[O(_n,{modelValue:l.value.color,"onUpdate:modelValue":w[2]||(w[2]=D=>y({color:D}))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:l.value.color},{default:oe(()=>[O(E)]),_:1},8,["color"])),[[B,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"50%"}},{content:oe(()=>[O(_n,{modelValue:l.value.backcolor,"onUpdate:modelValue":w[3]||(w[3]=D=>y({backcolor:D}))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{last:"",color:l.value.backcolor},{default:oe(()=>[O(P)]),_:1},8,["color"])),[[B,"单元格填充"]])]),_:1})]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.bold,onClick:w[4]||(w[4]=D=>y({bold:!l.value.bold}))},{default:oe(()=>[O(W)]),_:1},8,["checked"])),[[B,"加粗"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.em,onClick:w[5]||(w[5]=D=>y({em:!l.value.em}))},{default:oe(()=>[O(N)]),_:1},8,["checked"])),[[B,"斜体"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.underline,onClick:w[6]||(w[6]=D=>y({underline:!l.value.underline}))},{default:oe(()=>[O(_)]),_:1},8,["checked"])),[[B,"下划线"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.strikethrough,onClick:w[7]||(w[7]=D=>y({strikethrough:!l.value.strikethrough}))},{default:oe(()=>[O(C)]),_:1},8,["checked"])),[[B,"删除线"]])]),_:1}),O(Ms,{class:"row","button-style":"solid",value:l.value.align,"onUpdate:value":w[8]||(w[8]=D=>y({align:D}))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(X)]),_:1})),[[B,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(Y)]),_:1})),[[B,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O($)]),_:1})),[[B,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(le)]),_:1})),[[B,"两端对齐"]])]),_:1},8,["value"]),O(Ft),O(jp,{fixed:!0}),O(Ft),V("div",WAe,[VAe,V("div",UAe,[O(je,{class:"btn",disabled:f.value<=1,onClick:w[9]||(w[9]=D=>b(f.value-1))},{default:oe(()=>[O(Q)]),_:1},8,["disabled"]),V("div",YAe,vt(f.value),1),O(je,{class:"btn",disabled:f.value>=30,onClick:w[10]||(w[10]=D=>b(f.value+1))},{default:oe(()=>[O(K)]),_:1},8,["disabled"])])]),V("div",QAe,[ZAe,V("div",BAe,[O(je,{class:"btn",disabled:d.value<=1,onClick:w[11]||(w[11]=D=>M(d.value-1))},{default:oe(()=>[O(Q)]),_:1},8,["disabled"]),V("div",DAe,vt(d.value),1),O(je,{class:"btn",disabled:d.value>=30,onClick:w[12]||(w[12]=D=>M(d.value+1))},{default:oe(()=>[O(K)]),_:1},8,["disabled"])])]),O(Ft),V("div",KAe,[HAe,V("div",GAe,[O(la,{value:u.value,"onUpdate:value":w[13]||(w[13]=D=>A(D))},null,8,["value"])])]),c.value?(U(),ee(We,{key:0},[V("div",zAe,[O(ns,{"onUpdate:value":w[14]||(w[14]=D=>R({rowHeader:D})),value:c.value.rowHeader,style:{flex:"1"}},{default:oe(()=>[Ve("标题行")]),_:1},8,["value"]),O(ns,{"onUpdate:value":w[15]||(w[15]=D=>R({rowFooter:D})),value:c.value.rowFooter,style:{flex:"1"}},{default:oe(()=>[Ve("汇总行")]),_:1},8,["value"])]),V("div",JAe,[O(ns,{"onUpdate:value":w[16]||(w[16]=D=>R({colHeader:D})),value:c.value.colHeader,style:{flex:"1"}},{default:oe(()=>[Ve("第一列")]),_:1},8,["value"]),O(ns,{"onUpdate:value":w[17]||(w[17]=D=>R({colFooter:D})),value:c.value.colFooter,style:{flex:"1"}},{default:oe(()=>[Ve("最后一列")]),_:1},8,["value"])]),V("div",$Ae,[jAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:c.value.color,"onUpdate:modelValue":w[18]||(w[18]=D=>R({color:D}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:c.value.color},null,8,["color"])]),_:1})])],64)):Qe("",!0)])}}}),eRe=Ue(qAe,[["__scopeId","data-v-3bf19801"]]),tE=e=>(zt("data-v-e173eae4"),e=e(),Jt(),e),tRe={class:"latex-style-panel"},nRe={class:"row"},rRe={class:"row"},oRe=tE(()=>V("div",{style:{width:"40%"}},"颜色:",-1)),iRe={class:"row"},aRe=tE(()=>V("div",{style:{width:"40%"}},"粗细:",-1)),sRe=Ee({__name:"LatexStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,o=ve(!1),{addHistorySnapshot:i}=Ht(),a=c=>{n.value&&(t.updateElement({id:n.value.id,props:c}),i())},s=c=>{a({path:c.path,latex:c.latex,width:c.w,height:c.h,viewBox:[c.w,c.h]})},l=()=>o.value=!0;return ao.on(Hr.OPEN_LATEX_EDITOR,l),Sn(()=>{ao.off(Hr.OPEN_LATEX_EDITOR,l)}),(c,u)=>(U(),ee("div",tRe,[V("div",nRe,[O(je,{style:{flex:"1"},onClick:u[0]||(u[0]=f=>o.value=!0)},{default:oe(()=>[Ve("编辑 LaTeX")]),_:1})]),O(Ft),V("div",rRe,[oRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":u[1]||(u[1]=f=>a({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",iRe,[aRe,O(ei,{min:1,max:3,value:H(r).strokeWidth,"onUpdate:value":u[2]||(u[2]=f=>a({strokeWidth:f})),style:{width:"60%"}},null,8,["value"])]),O(n0,{visible:o.value,"onUpdate:visible":u[5]||(u[5]=f=>o.value=f),width:880},{default:oe(()=>[O(O_,{value:H(r).latex,onClose:u[3]||(u[3]=f=>o.value=!1),onUpdate:u[4]||(u[4]=f=>{s(f),o.value=!1})},null,8,["value"])]),_:1},8,["visible"])]))}}),lRe=Ue(sRe,[["__scopeId","data-v-e173eae4"]]),nE=e=>(zt("data-v-b289959e"),e=e(),Jt(),e),cRe={class:"video-style-panel"},uRe=nE(()=>V("div",{class:"title"},"视频预览封面",-1)),fRe={class:"background-image-wrapper"},dRe={class:"background-image"},hRe={class:"row"},pRe={class:"row switch-row"},vRe=nE(()=>V("div",{style:{width:"40%"}},"自动播放:",-1)),gRe={class:"switch-wrapper",style:{width:"60%"}},mRe=Ee({__name:"VideoStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),o())},a=s=>{const l=s[0];l&&Lc(l).then(c=>i({poster:c}))};return(s,l)=>{const c=Se("IconPlus");return U(),ee("div",cRe,[uRe,V("div",fRe,[O(Wu,{onChange:l[0]||(l[0]=u=>a(u))},{default:oe(()=>[V("div",dRe,[V("div",{class:"content",style:we({backgroundImage:H(r).poster?`url(${H(r).poster})`:""})},[O(c)],4)])]),_:1})]),V("div",hRe,[O(je,{style:{flex:"1"},onClick:l[1]||(l[1]=u=>i({poster:""}))},{default:oe(()=>[Ve("重置封面")]),_:1})]),V("div",pRe,[vRe,V("div",gRe,[O(la,{value:H(r).autoplay,"onUpdate:value":l[2]||(l[2]=u=>i({autoplay:u}))},null,8,["value"])])])])}}}),ARe=Ue(mRe,[["__scopeId","data-v-b289959e"]]),D5=e=>(zt("data-v-685cdba7"),e=e(),Jt(),e),RRe={class:"audio-style-panel"},yRe={class:"row"},bRe=D5(()=>V("div",{style:{width:"40%"}},"图标颜色:",-1)),xRe={class:"row switch-row"},SRe=D5(()=>V("div",{style:{width:"40%"}},"自动播放:",-1)),MRe={class:"switch-wrapper",style:{width:"60%"}},wRe={class:"row switch-row"},LRe=D5(()=>V("div",{style:{width:"40%"}},"循环播放:",-1)),ORe={class:"switch-wrapper",style:{width:"60%"}},TRe=Ee({__name:"AudioStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),o())};return(a,s)=>(U(),ee("div",RRe,[V("div",yRe,[bRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":s[0]||(s[0]=l=>i({color:l}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",xRe,[SRe,V("div",MRe,[O(la,{value:H(r).autoplay,"onUpdate:value":s[1]||(s[1]=l=>i({autoplay:l}))},null,8,["value"])])]),V("div",wRe,[LRe,V("div",ORe,[O(la,{value:H(r).loop,"onUpdate:value":s[2]||(s[2]=l=>i({loop:l}))},null,8,["value"])])])]))}}),kRe=Ue(TRe,[["__scopeId","data-v-685cdba7"]]),P2=e=>(zt("data-v-415f8183"),e=e(),Jt(),e),NRe={class:"multi-style-panel"},PRe={class:"row"},CRe=P2(()=>V("div",{style:{width:"40%"}},"填充颜色:",-1)),IRe={class:"row"},FRe=P2(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),_Re={class:"row"},ERe=P2(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),XRe={class:"row"},WRe=P2(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),VRe=Ee({__name:"MultiStylePanel",setup(e){const t=st(),{richTextAttrs:n,availableFonts:r,activeElementList:o}=Xe(ft()),{addHistorySnapshot:i}=Ht(),a=(h,p)=>{t.updateElement({id:h,props:p}),i()},s=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],l=ve("#fff"),c=ve({width:0,color:"#fff",style:"solid"}),u=h=>{for(const p of o.value){if((p.type==="text"||p.type==="shape"||p.type==="chart")&&a(p.id,{fill:h}),p.type==="table"){const v=JSON.parse(JSON.stringify(p.data));for(let m=0;m<v.length;m++)for(let x=0;x<v[m].length;x++){const y=v[m][x].style||{};v[m][x].style={...y,backcolor:h}}a(p.id,{data:v})}p.type==="audio"&&a(p.id,{color:h})}l.value=h},f=h=>{for(const p of o.value){if(p.type==="text"||p.type==="image"||p.type==="shape"||p.type==="table"||p.type==="chart"){const m={outline:{...p.outline||{width:2,color:"#000",style:"solid"},...h}};a(p.id,m)}p.type==="line"&&a(p.id,h)}c.value={...c.value,...h}},d=(h,p)=>{var v;for(const m of o.value){if((m.type==="text"||m.type==="shape"&&((v=m.text)!=null&&v.content))&&ao.emit(Hr.RICH_TEXT_COMMAND,{target:m.id,action:{command:h,value:p}}),m.type==="table"){const x=JSON.parse(JSON.stringify(m.data));for(let y=0;y<x.length;y++)for(let R=0;R<x[y].length;R++){const A=x[y][R].style||{};x[y][R].style={...A,[h]:p}}a(m.id,{data:x})}m.type==="latex"&&h==="color"&&a(m.id,{color:p})}};return(h,p)=>{const v=Se("IconFontSize"),m=Se("IconAddText"),x=Se("IconText"),y=Se("IconHighLight"),R=Se("IconAlignTextLeft"),A=Se("IconAlignTextCenter"),b=Se("IconAlignTextRight"),M=Se("IconAlignTextBoth"),T=bn("tooltip");return U(),ee("div",NRe,[V("div",PRe,[CRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value,"onUpdate:modelValue":p[0]||(p[0]=w=>u(w))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value},null,8,["color"])]),_:1})]),O(Ft),V("div",IRe,[FRe,O(Hn,{style:{width:"60%"},value:c.value.style||"","onUpdate:value":p[1]||(p[1]=w=>f({style:w})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",_Re,[ERe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:c.value.color,"onUpdate:modelValue":p[2]||(p[2]=w=>f({color:w}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:c.value.color||"#000"},null,8,["color"])]),_:1})]),V("div",XRe,[WRe,O(ei,{value:c.value.width||0,"onUpdate:value":p[3]||(p[3]=w=>f({width:w})),style:{width:"60%"}},null,8,["value"])]),O(Ft),O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{style:{width:"60%"},value:H(n).fontname,search:"",searchLabel:"搜索字体","onUpdate:value":p[4]||(p[4]=w=>d("fontname",w)),options:[...H(r),...H(Op)]},{icon:oe(()=>[O(v)]),_:1},8,["value","options"]),O(Hn,{style:{width:"40%"},value:H(n).fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":p[5]||(p[5]=w=>d("fontsize",w)),options:s.map(w=>({label:w,value:w}))},{icon:oe(()=>[O(m)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(n).color,"onUpdate:modelValue":p[6]||(p[6]=w=>d("color",w))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:H(n).color},{default:oe(()=>[O(x)]),_:1},8,["color"])),[[T,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(n).backcolor,"onUpdate:modelValue":p[7]||(p[7]=w=>d("backcolor",w))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{color:H(n).backcolor},{default:oe(()=>[O(y)]),_:1},8,["color"])),[[T,"文字高亮"]])]),_:1}),He((U(),ke(je,{class:"font-size-btn",style:{width:"20%"},onClick:p[8]||(p[8]=w=>d("fontsize-add","2"))},{default:oe(()=>[O(v),Ve("+")]),_:1})),[[T,"增大字号"]]),He((U(),ke(je,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:p[9]||(p[9]=w=>d("fontsize-reduce","2"))},{default:oe(()=>[O(v),Ve("-")]),_:1})),[[T,"减小字号"]])]),_:1}),O(Ms,{class:"row","button-style":"solid",value:H(n).align,"onUpdate:value":p[10]||(p[10]=w=>d("align",w))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(R)]),_:1})),[[T,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(A)]),_:1})),[[T,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O(b)]),_:1})),[[T,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(M)]),_:1})),[[T,"两端对齐"]])]),_:1},8,["value"])])}}}),URe=Ue(VRe,[["__scopeId","data-v-415f8183"]]),YRe={class:"element-style-panel"},QRe=Ee({__name:"index",setup(e){const t={[Tt.TEXT]:Vme,[Tt.IMAGE]:A2e,[Tt.SHAPE]:X2e,[Tt.LINE]:$2e,[Tt.CHART]:EAe,[Tt.TABLE]:eRe,[Tt.LATEX]:lRe,[Tt.VIDEO]:ARe,[Tt.AUDIO]:kRe},{activeElementIdList:n,activeElementList:r,handleElement:o,activeGroupElementId:i}=Xe(ft()),a=Me(()=>{if(n.value.length>1){if(!i.value)return URe;const s=r.value.find(l=>l.id===i.value);return s&&t[s.type]||null}return o.value&&t[o.value.type]||null});return(s,l)=>(U(),ee("div",YRe,[(U(),ke(ws(a.value)))]))}}),C2=e=>(zt("data-v-eba29c8f"),e=e(),Jt(),e),ZRe={class:"element-positopn-panel"},BRe=C2(()=>V("div",{class:"title"},"层级:",-1)),DRe=C2(()=>V("div",{class:"title"},"对齐:",-1)),KRe={class:"row"},HRe=C2(()=>V("div",{style:{width:"10%"}},null,-1)),GRe={key:0,class:"row"},zRe={key:1,style:{width:"10%"}},JRe={class:"row"},$Re=C2(()=>V("div",{style:{width:"7%"}},null,-1)),jRe=Ee({__name:"ElementPositionPanel",setup(e){const t=st(),{handleElement:n,handleElementId:r}=Xe(ft()),o=ve(0),i=ve(0),a=ve(0),s=ve(0),l=ve(0),c=ve(!1),u=Me(()=>n.value&&QI[n.value.type]||20),f=Me(()=>{var w;return((w=n.value)==null?void 0:w.type)==="text"&&!n.value.vertical}),d=Me(()=>{var w;return((w=n.value)==null?void 0:w.type)==="text"&&n.value.vertical});wt(n,()=>{n.value&&(o.value=On.round(n.value.left,1),i.value=On.round(n.value.top,1),c.value="fixedRatio"in n.value&&!!n.value.fixedRatio,n.value.type!=="line"&&(a.value=On.round(n.value.width,1),s.value=On.round(n.value.height,1),l.value="rotate"in n.value&&n.value.rotate!==void 0?On.round(n.value.rotate,1):0))},{deep:!0,immediate:!0});const{orderElement:h}=_p(),{alignElementToCanvas:p}=v2(),{addHistorySnapshot:v}=Ht(),m=w=>{const L={left:w};t.updateElement({id:r.value,props:L}),v()},x=w=>{const L={top:w};t.updateElement({id:r.value,props:L}),v()},y=(w,L)=>{if(n.value&&n.value.type==="shape"&&"pathFormula"in n.value&&n.value.pathFormula){const k=zu[n.value.pathFormula];let E="";return"editable"in k&&k.editable?E=k.formula(w,L,n.value.keypoints):E=k.formula(w,L),{viewBox:[w,L],path:E}}return null},R=w=>{if(!n.value||n.value.type==="line"||d.value)return;let L=s.value;if(c.value){const P=a.value/s.value;L=w/P<u.value?u.value:w/P}let k={width:w,height:L};const E=y(w,L);E&&(k={width:w,height:L,...E}),t.updateElement({id:r.value,props:k}),v()},A=w=>{if(!n.value||n.value.type==="line"||n.value.type==="table"||f.value)return;let L=a.value;if(c.value){const P=a.value/s.value;L=w*P<u.value?u.value:w*P}let k={width:L,height:w};const E=y(L,w);E&&(k={width:L,height:w,...E}),t.updateElement({id:r.value,props:k}),v()},b=w=>{const L={rotate:w};t.updateElement({id:r.value,props:L}),v()},M=w=>{const L={fixedRatio:w};t.updateElement({id:r.value,props:L}),v()},T=w=>{let L=Math.floor(l.value/45)*45;w==="+"?L=L+45:w==="-"&&(L=L-45),L<-180&&(L=-180),L>180&&(L=180);const k={rotate:L};t.updateElement({id:r.value,props:k}),v()};return(w,L)=>{const k=Se("IconSendToBack"),E=Se("IconBringToFrontOne"),P=Se("IconBringToFront"),W=Se("IconSentToBack"),N=Se("IconAlignLeft"),_=Se("IconAlignVertically"),C=Se("IconAlignRight"),X=Se("IconAlignTop"),Y=Se("IconAlignHorizontally"),$=Se("IconAlignBottom"),le=Se("IconLock"),Q=Se("IconUnlock"),K=Se("IconRotate"),B=bn("tooltip");return U(),ee("div",ZRe,[BRe,O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:L[0]||(L[0]=D=>H(h)(H(n),H(dr).TOP))},{default:oe(()=>[O(k,{class:"btn-icon"}),Ve(" 置顶")]),_:1}),O(je,{style:{flex:"1"},onClick:L[1]||(L[1]=D=>H(h)(H(n),H(dr).BOTTOM))},{default:oe(()=>[O(E,{class:"btn-icon"}),Ve(" 置底")]),_:1})]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:L[2]||(L[2]=D=>H(h)(H(n),H(dr).UP))},{default:oe(()=>[O(P,{class:"btn-icon"}),Ve(" 上移")]),_:1}),O(je,{style:{flex:"1"},onClick:L[3]||(L[3]=D=>H(h)(H(n),H(dr).DOWN))},{default:oe(()=>[O(W,{class:"btn-icon"}),Ve(" 下移")]),_:1})]),_:1}),O(Ft),DRe,O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:L[4]||(L[4]=D=>H(p)(H(nn).LEFT))},{default:oe(()=>[O(N)]),_:1})),[[B,"左对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[5]||(L[5]=D=>H(p)(H(nn).HORIZONTAL))},{default:oe(()=>[O(_)]),_:1})),[[B,"水平居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[6]||(L[6]=D=>H(p)(H(nn).RIGHT))},{default:oe(()=>[O(C)]),_:1})),[[B,"右对齐"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:L[7]||(L[7]=D=>H(p)(H(nn).TOP))},{default:oe(()=>[O(X)]),_:1})),[[B,"上对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[8]||(L[8]=D=>H(p)(H(nn).VERTICAL))},{default:oe(()=>[O(Y)]),_:1})),[[B,"垂直居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[9]||(L[9]=D=>H(p)(H(nn).BOTTOM))},{default:oe(()=>[O($)]),_:1})),[[B,"下对齐"]])]),_:1}),O(Ft),V("div",KRe,[O(ei,{step:5,value:o.value,"onUpdate:value":L[10]||(L[10]=D=>m(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 水平: ")]),_:1},8,["value"]),HRe,O(ei,{step:5,value:i.value,"onUpdate:value":L[11]||(L[11]=D=>x(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 垂直: ")]),_:1},8,["value"])]),H(n).type!=="line"?(U(),ee("div",GRe,[O(ei,{min:u.value,max:1500,step:5,disabled:d.value,value:a.value,"onUpdate:value":L[12]||(L[12]=D=>R(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 宽度: ")]),_:1},8,["min","disabled","value"]),["image","shape","audio"].includes(H(n).type)?(U(),ee(We,{key:0},[c.value?He((U(),ke(le,{key:0,style:{width:"10%"},class:"icon-btn active",onClick:L[13]||(L[13]=D=>M(!1))},null,512)),[[B,"解除宽高比锁定"]]):He((U(),ke(Q,{key:1,style:{width:"10%"},class:"icon-btn",onClick:L[14]||(L[14]=D=>M(!0))},null,512)),[[B,"宽高比锁定"]])],64)):(U(),ee("div",zRe)),O(ei,{min:u.value,max:800,step:5,disabled:f.value||H(n).type==="table",value:s.value,"onUpdate:value":L[15]||(L[15]=D=>A(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 高度: ")]),_:1},8,["min","disabled","value"])])):Qe("",!0),["line","video","audio"].includes(H(n).type)?Qe("",!0):(U(),ee(We,{key:1},[O(Ft),V("div",JRe,[O(ei,{min:-180,max:180,step:5,value:l.value,"onUpdate:value":L[16]||(L[16]=D=>b(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 旋转: ")]),_:1},8,["value"]),$Re,V("div",{class:"text-btn",onClick:L[17]||(L[17]=D=>T("-")),style:{width:"24%"}},[O(K),Ve(" -45°")]),V("div",{class:"text-btn",onClick:L[18]||(L[18]=D=>T("+")),style:{width:"24%"}},[O(K,{style:{transform:"rotateY(180deg)"}}),Ve(" +45°")])])],64))])}}}),qRe=Ue(jRe,[["__scopeId","data-v-eba29c8f"]]),p4=1e3,eye="click",Oi="animate__",mk=[{type:"bounce",name:"弹跳",children:[{name:"弹入",value:"bounceIn"},{name:"向右弹入",value:"bounceInLeft"},{name:"向左弹入",value:"bounceInRight"},{name:"向上弹入",value:"bounceInUp"},{name:"向下弹入",value:"bounceInDown"}]},{type:"fade",name:"浮现",children:[{name:"浮入",value:"fadeIn"},{name:"向下浮入",value:"fadeInDown"},{name:"向下长距浮入",value:"fadeInDownBig"},{name:"向右浮入",value:"fadeInLeft"},{name:"向右长距浮入",value:"fadeInLeftBig"},{name:"向左浮入",value:"fadeInRight"},{name:"向左长距浮入",value:"fadeInRightBig"},{name:"向上浮入",value:"fadeInUp"},{name:"向上长距浮入",value:"fadeInUpBig"},{name:"从左上浮入",value:"fadeInTopLeft"},{name:"从右上浮入",value:"fadeInTopRight"},{name:"从左下浮入",value:"fadeInBottomLeft"},{name:"从右下浮入",value:"fadeInBottomRight"}]},{type:"rotate",name:"旋转",children:[{name:"旋转进入",value:"rotateIn"},{name:"绕左下进入",value:"rotateInDownLeft"},{name:"绕右下进入",value:"rotateInDownRight"},{name:"绕左上进入",value:"rotateInUpLeft"},{name:"绕右上进入",value:"rotateInUpRight"}]},{type:"zoom",name:"缩放",children:[{name:"放大进入",value:"zoomIn"},{name:"向下放大进入",value:"zoomInDown"},{name:"从左放大进入",value:"zoomInLeft"},{name:"从右放大进入",value:"zoomInRight"},{name:"向上放大进入",value:"zoomInUp"}]},{type:"slide",name:"滑入",children:[{name:"向下滑入",value:"slideInDown"},{name:"从右滑入",value:"slideInLeft"},{name:"从左滑入",value:"slideInRight"},{name:"向上滑入",value:"slideInUp"}]},{type:"flip",name:"翻转",children:[{name:"X轴翻转进入",value:"flipInX"},{name:"Y轴翻转进入",value:"flipInY"}]},{type:"back",name:"放大滑入",children:[{name:"向下放大滑入",value:"backInDown"},{name:"从左放大滑入",value:"backInLeft"},{name:"从右放大滑入",value:"backInRight"},{name:"向上放大滑入",value:"backInUp"}]},{type:"lightSpeed",name:"飞入",children:[{name:"从右飞入",value:"lightSpeedInRight"},{name:"从左飞入",value:"lightSpeedInLeft"}]}],Ak=[{type:"bounce",name:"弹跳",children:[{name:"弹出",value:"bounceOut"},{name:"向左弹出",value:"bounceOutLeft"},{name:"向右弹出",value:"bounceOutRight"},{name:"向上弹出",value:"bounceOutUp"},{name:"向下弹出",value:"bounceOutDown"}]},{type:"fade",name:"浮现",children:[{name:"浮出",value:"fadeOut"},{name:"向下浮出",value:"fadeOutDown"},{name:"向下长距浮出",value:"fadeOutDownBig"},{name:"向左浮出",value:"fadeOutLeft"},{name:"向左长距浮出",value:"fadeOutLeftBig"},{name:"向右浮出",value:"fadeOutRight"},{name:"向右长距浮出",value:"fadeOutRightBig"},{name:"向上浮出",value:"fadeOutUp"},{name:"向上长距浮出",value:"fadeOutUpBig"},{name:"从左上浮出",value:"fadeOutTopLeft"},{name:"从右上浮出",value:"fadeOutTopRight"},{name:"从左下浮出",value:"fadeOutBottomLeft"},{name:"从右下浮出",value:"fadeOutBottomRight"}]},{type:"rotate",name:"旋转",children:[{name:"旋转退出",value:"rotateOut"},{name:"绕左下退出",value:"rotateOutDownLeft"},{name:"绕右下退出",value:"rotateOutDownRight"},{name:"绕左上退出",value:"rotateOutUpLeft"},{name:"绕右上退出",value:"rotateOutUpRight"}]},{type:"zoom",name:"缩放",children:[{name:"缩小退出",value:"zoomOut"},{name:"向下缩小退出",value:"zoomOutDown"},{name:"从左缩小退出",value:"zoomOutLeft"},{name:"从右缩小退出",value:"zoomOutRight"},{name:"向上缩小退出",value:"zoomOutUp"}]},{type:"slide",name:"滑出",children:[{name:"向下滑出",value:"slideOutDown"},{name:"从左滑出",value:"slideOutLeft"},{name:"从右滑出",value:"slideOutRight"},{name:"向上滑出",value:"slideOutUp"}]},{type:"flip",name:"翻转",children:[{name:"X轴翻转退出",value:"flipOutX"},{name:"Y轴翻转退出",value:"flipOutY"}]},{type:"back",name:"缩小滑出",children:[{name:"向下缩小滑出",value:"backOutDown"},{name:"从左缩小滑出",value:"backOutLeft"},{name:"从右缩小滑出",value:"backOutRight"},{name:"向上缩小滑出",value:"backOutUp"}]},{type:"lightSpeed",name:"飞出",children:[{name:"从右飞出",value:"lightSpeedOutRight"},{name:"从左飞出",value:"lightSpeedOutLeft"}]}],Rk=[{type:"shake",name:"晃动",children:[{name:"左右摇晃",value:"shakeX"},{name:"上下摇晃",value:"shakeY"},{name:"摇头",value:"headShake"},{name:"摆动",value:"swing"},{name:"晃动",value:"wobble"},{name:"惊恐",value:"tada"},{name:"果冻",value:"jello"}]},{type:"other",name:"其他",children:[{name:"弹跳",value:"bounce"},{name:"闪烁",value:"flash"},{name:"脉搏",value:"pulse"},{name:"橡皮筋",value:"rubberBand"},{name:"心跳(快)",value:"heartBeat"}]}],rE=[{label:"无",value:"no"},{label:"随机",value:"random"},{label:"左右推移",value:"slideX"},{label:"上下推移",value:"slideY"},{label:"左右推移(3D)",value:"slideX3D"},{label:"上下推移(3D)",value:"slideY3D"},{label:"淡入淡出",value:"fade"},{label:"旋转",value:"rotate"},{label:"上下展开",value:"scaleY"},{label:"左右展开",value:"scaleX"},{label:"放大",value:"scale"},{label:"缩小",value:"scaleReverse"}],oE=e=>(zt("data-v-d71f68dd"),e=e(),Jt(),e),tye={class:"element-animation-panel"},nye={key:0,class:"element-animation"},rye={class:"type-title"},oye={class:"pool-item-wrapper"},iye=["onMouseenter","onClick"],aye={key:0,class:"mask"},sye={key:1,class:"tip"},lye={class:"sequence-content"},cye={class:"index"},uye={class:"text"},fye={class:"handler"},dye={key:0,class:"configs"},hye={class:"config-item"},pye=oE(()=>V("div",{style:{width:"35%"}},"持续时长:",-1)),vye={class:"config-item"},gye=oE(()=>V("div",{style:{width:"35%"}},"触发方式:",-1)),mye={class:"config-item"},Aye=Ee({__name:"ElementAnimationPanel",setup(e){const t={};for(const N of mk)for(const _ of N.children)t[_.value]=_.name;for(const N of Ak)for(const _ of N.children)t[_.value]=_.name;for(const N of Rk)for(const _ of N.children)t[_.value]=_.name;const n=["in","out","attention"],r=st(),{handleElement:o,handleElementId:i}=Xe(ft()),{currentSlide:a,formatedAnimations:s,currentSlideAnimations:l}=Xe(r),c=[{key:"in",label:"入场",color:"#68a490"},{key:"out",label:"退场",color:"#d86344"},{key:"attention",label:"强调",color:"#e8b76a"}],u=ve("in"),f=ve(!1);wt(()=>i.value,()=>{h.value=!1});const d=ve(""),h=ve(!1),{addHistorySnapshot:p}=Ht(),v=Me(()=>{const N=[];for(let _=0;_<s.value.length;_++){const C=s.value[_];for(let X=0;X<C.animations.length;X++){const Y=C.animations[X],$=a.value.elements.find(K=>K.id===Y.elId);if(!$)continue;const le=rh[$.type],Q=t[Y.effect];N.push({...Y,index:X===0?_+1:"",elType:le,animationEffect:Q})}}return N}),m=Me(()=>l.value.filter(C=>C.elId===i.value)||[]),x=N=>{const _=l.value.filter(C=>C.id!==N);r.updateSlide({animations:_}),p()},y=N=>{const{newIndex:_,oldIndex:C}=N;if(_===void 0||C===void 0||_===C)return;const X=JSON.parse(JSON.stringify(l.value)),Y=X[C];X.splice(C,1),X.splice(_,0,Y),r.updateSlide({animations:X}),p()},R=(N,_,C)=>{const X=document.querySelector(`#editable-element-${N} [class^=editable-element-]`);if(X){const Y=`${Oi}${_}`;document.documentElement.style.setProperty("--animate-duration",`${C}ms`),X.classList.add(`${Oi}animated`,Y);const $=()=>{document.documentElement.style.removeProperty("--animate-duration"),X.classList.remove(`${Oi}animated`,Y)};X.addEventListener("animationend",$,{once:!0})}},A=async()=>{f.value=!f.value;for(let N=0;N<v.value.length&&f.value;N++){const _=v.value[N];_.index!==1&&_.trigger!=="meantime"&&await new Promise(C=>setTimeout(C,_.duration+100)),R(_.elId,_.effect,_.duration),N>=v.value.length-1&&(f.value=!1)}},b=(N,_)=>{if(_<100||_>5e3)return;const C=l.value.map(X=>X.id===N?{...X,duration:_}:X);r.updateSlide({animations:C}),p()},M=(N,_)=>{const C=l.value.map(X=>X.id===N?{...X,trigger:_}:X);r.updateSlide({animations:C}),p()},T=(N,_)=>{const C=l.value.map($=>$.id===w.value?{...$,type:N,effect:_}:$);r.updateSlide({animations:C}),h.value=!1,p();const X=l.value.find($=>$.elId===i.value),Y=(X==null?void 0:X.duration)||p4;setTimeout(()=>{R(i.value,_,Y)},0)},w=ve(""),L=(N,_)=>{if(w.value){T(N,_);return}const C=JSON.parse(JSON.stringify(l.value));C.push({id:ln(10),elId:i.value,type:N,effect:_,duration:p4,trigger:eye}),r.updateSlide({animations:C}),h.value=!1,p(),setTimeout(()=>{R(i.value,_,p4)},0)},k=ve(!1),E=N=>{N?setTimeout(()=>k.value=!0,600):k.value=!1},P=N=>{h.value=!0,w.value=N,E(!0)},W={in:mk,out:Ak,attention:Rk};return(N,_)=>{const C=Se("IconEffects"),X=Se("IconClick"),Y=Se("IconPlayOne"),$=Se("IconCloseSmall"),le=bn("tooltip");return U(),ee("div",tye,[H(o)?(U(),ee("div",nye,[O(Pt,{trigger:"click",value:h.value,"onUpdate:value":[_[3]||(_[3]=Q=>h.value=Q),_[4]||(_[4]=Q=>E(Q))],style:{width:"100%"}},{content:oe(()=>[O(_a,{tabs:c,value:u.value,"onUpdate:value":_[0]||(_[0]=Q=>u.value=Q),tabsStyle:{marginBottom:"20px"},tabStyle:{width:"33.333%"},spaceAround:""},null,8,["value"]),(U(),ee(We,null,nt(n,Q=>(U(),ee(We,null,[u.value===Q?(U(),ee("div",{class:Je(["animation-pool",Q]),key:Q},[(U(!0),ee(We,null,nt(W[Q],K=>(U(),ee("div",{class:"pool-type",key:K.name},[V("div",rye,vt(K.name)+":",1),V("div",oye,[(U(!0),ee(We,null,nt(K.children,B=>(U(),ee("div",{class:"pool-item",key:B.name,onMouseenter:D=>d.value=B.value,onMouseleave:_[1]||(_[1]=D=>d.value=""),onClick:D=>L(Q,B.value)},[V("div",{class:Je(["animation-box",[`${H(Oi)}animated`,`${H(Oi)}fast`,d.value===B.value&&`${H(Oi)}${B.value}`]])},vt(B.name),3)],40,iye))),128))])]))),128)),k.value?Qe("",!0):(U(),ee("div",aye))],2)):Qe("",!0)],64))),64))]),default:oe(()=>[O(je,{class:"element-animation-btn",onClick:_[2]||(_[2]=Q=>w.value="")},{default:oe(()=>[O(C,{style:{"margin-right":"5px"}}),Ve(" 添加动画 ")]),_:1})]),_:1},8,["value"])])):(U(),ee("div",sye,[O(X,{style:{"margin-right":"5px"}}),Ve(" 选中画布中的元素添加动画")])),O(Ft),O(H(X5),{class:"animation-sequence",modelValue:v.value,animation:200,scroll:!0,scrollSensitivity:50,handle:".sequence-content",itemKey:"id",onEnd:y},{item:oe(({element:Q})=>{var K,B;return[V("div",{class:Je(["sequence-item",[Q.type,{active:((K=H(o))==null?void 0:K.id)===Q.elId}]])},[V("div",lye,[V("div",cye,vt(Q.index),1),V("div",uye,"【"+vt(Q.elType)+"】"+vt(Q.animationEffect),1),V("div",fye,[He(O(Y,{class:"handler-btn",onClick:D=>R(Q.elId,Q.effect,Q.duration)},null,8,["onClick"]),[[le,"预览"]]),He(O($,{class:"handler-btn",onClick:D=>x(Q.id)},null,8,["onClick"]),[[le,"删除"]])])]),((B=m.value[0])==null?void 0:B.elId)===Q.elId?(U(),ee("div",dye,[O(Ft,{margin:16}),V("div",hye,[pye,O(ei,{min:500,max:3e3,step:500,value:Q.duration,"onUpdate:value":D=>b(Q.id,D),style:{width:"65%"}},null,8,["value","onUpdate:value"])]),V("div",vye,[gye,O(Hn,{value:Q.trigger,"onUpdate:value":D=>M(Q.id,D),style:{width:"65%"},options:[{label:"主动触发",value:"click"},{label:"与上一动画同时",value:"meantime"},{label:"上一动画之后",value:"auto"}]},null,8,["value","onUpdate:value"])]),V("div",mye,[O(je,{style:{width:"100%"},onClick:D=>P(Q.id)},{default:oe(()=>[Ve("更换动画")]),_:2},1032,["onClick"])])])):Qe("",!0)],2)]}),_:1},8,["modelValue"]),v.value.length>=2?(U(),ee(We,{key:2},[O(Ft),O(je,{onClick:_[5]||(_[5]=Q=>A())},{default:oe(()=>[Ve(vt(f.value?"停止预览":"预览全部"),1)]),_:1})],64)):Qe("",!0)])}}}),Rye=Ue(Aye,[["__scopeId","data-v-d71f68dd"]]),yye=[{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#5b9bd5","#ed7d31","#a5a5a5","#ffc000","#4472c4","#70ad47"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#83992a","#3c9670","#44709d","#a23b32","#d87728","#deb340"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#90c225","#54a121","#e6b91e","#e86618","#c42f19","#918756"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"]},{background:"#e9efd6",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#a5300f","#de7e18","#9f8351","#728653","#92aa4c","#6aac91"]},{background:"#17444e",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#b01513","#ea6312","#e6b729","#6bab90","#55839a","#9e5d9d"]},{background:"#36234d",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#b31166","#e33d6f","#e45f3c","#e9943a","#9b6bf2","#d63cd0"]},{background:"#247fad",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#052f61","#a50e82","#14967c","#6a9e1f","#e87d37","#c62324"]},{background:"#103f55",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#40aebd","#97e8d5","#a1cf49","#628f3e","#f2df3a","#fcb01c"]},{background:"#242367",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#ac3ec1","#477bd1","#46b298","#90ba4c","#dd9d31","#e25345"]},{background:"#e4b75e",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"]},{background:"#333333",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]}],iE=()=>{const e=st(),{slides:t,currentSlide:n,theme:r}=Xe(e),{addHistorySnapshot:o}=Ht(),i=d=>{var M,T,w,L,k,E,P,W,N;const h=Array.isArray(d)?d:[d],p=[],v=[],m=[],x=[];for(const _ of h){if(_.background)if(_.background.type==="solid"&&_.background.color)p.push({area:1,value:_.background.color});else if(_.background.type==="gradient"&&_.background.gradient){const C=_.background.gradient.colors.length;p.push(..._.background.gradient.colors.map(X=>({area:1/C,value:X.color})))}else p.push({area:1,value:r.value.backgroundColor});for(const C of _.elements){const X=C.width;let Y=0;if(C.type==="line"){const[le,Q]=C.start,[K,B]=C.end;Y=Math.sqrt(Math.pow(Math.abs(le-K),2)+Math.pow(Math.abs(Q-B),2))}else Y=C.height;const $=X*Y;if(C.type==="shape"||C.type==="text"){if(C.fill&&v.push({area:$,value:C.fill}),C.type==="shape"&&C.gradient){const ae=C.gradient.colors.length;v.push(...C.gradient.colors.map(se=>({area:1/ae*$,value:se.color})))}const le=(C.type==="shape"?(M=C.text)==null?void 0:M.content:C.content)||"";if(!le)continue;const Q=le.replace(/<[^>]+>/g,"").replace(/\s*/g,""),K=le.match(/<[^>]+color: .+?<\/.+?>/g),B=le.match(/<[^>]+font-family: .+?<\/.+?>/g);let D=1,G=1;if(K)for(const ae of K){const se=ae.match(/color: (.+?);/);if(!se)continue;const J=ae.replace(/<[^>]+>/g,"").replace(/\s*/g,""),Re=se[1],fe=J.length/Q.length;D=D-fe,m.push({area:$*fe,value:Re})}if(B)for(const ae of B){const se=ae.match(/font-family: (.+?);/);if(!se)continue;const J=ae.replace(/<[^>]+>/g,"").replace(/\s*/g,""),Re=se[1],fe=J.length/Q.length;G=G-fe,x.push({area:$*fe,value:Re})}if(D){const se=(C.type==="shape"?(T=C.text)==null?void 0:T.defaultColor:C.defaultColor)||r.value.fontColor;m.push({area:$*D,value:se})}if(G){const se=(C.type==="shape"?(w=C.text)==null?void 0:w.defaultFontName:C.defaultFontName)||r.value.fontName;x.push({area:$*G,value:se})}}else if(C.type==="table"){const le=C.data.length*C.data[0].length;let Q=0;for(const K of C.data)for(const B of K)if((L=B.style)!=null&&L.backcolor&&(Q+=1,v.push({area:$/le,value:(k=B.style)==null?void 0:k.backcolor})),B.text){const D=B.text.length>=10?1:B.text.length/10;(E=B.style)!=null&&E.color&&m.push({area:$/le*D,value:(P=B.style)==null?void 0:P.color}),(W=B.style)!=null&&W.fontname&&m.push({area:$/le*D,value:(N=B.style)==null?void 0:N.fontname})}if(C.theme){const K=1-Q/le;v.push({area:$*K,value:C.theme.color})}}else C.type==="chart"?(C.fill&&v.push({area:$*.5,value:C.fill}),v.push({area:$*.5,value:C.themeColor[0]})):C.type==="line"?v.push({area:$,value:C.color}):C.type==="audio"?v.push({area:$,value:C.color}):C.type==="latex"&&m.push({area:$,value:C.color})}}const y={};for(const _ of p){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(y[C]?y[C]+=_.area:y[C]=_.area)}const R={};for(const _ of v){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(R[C]?R[C]+=_.area:R[C]=_.area)}const A={};for(const _ of m){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(A[C]?A[C]+=_.area:A[C]=_.area)}const b={};for(const _ of x)b[_.value]?b[_.value]+=_.area:b[_.value]=_.area;return{backgroundColors:Object.keys(y).sort((_,C)=>y[C]-y[_]),themeColors:Object.keys(R).sort((_,C)=>R[C]-R[_]),fontColors:Object.keys(A).sort((_,C)=>A[C]-A[_]),fontNames:Object.keys(b).sort((_,C)=>b[C]-b[_])}},a=d=>{const h=[];for(const p of d.elements){if(p.type==="shape"&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="text"&&p.fill&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="table"&&p.theme&&ot(p.theme.color).getAlpha()!==0){const v=ot(p.theme.color).toRgbString();h.includes(v)||h.push(v)}if(p.type==="chart"&&p.fill&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="line"&&ot(p.color).getAlpha()!==0){const v=ot(p.color).toRgbString();h.includes(v)||h.push(v)}if(p.type==="audio"&&ot(p.color).getAlpha()!==0){const v=ot(p.color).toRgbString();h.includes(v)||h.push(v)}}return h},s=(d,h)=>{const p=a(d),v={};if(p.length>h.length){const x=ot(h[0]).analogous(p.length-h.length+10).map(y=>y.toHexString()).slice(1);h.push(...x)}for(let m=0;m<p.length;m++)v[p[m]]=h[m];return v},l=(d,h)=>{const p=s(d,h.colors);(!d.background||d.background.type!=="image")&&(d.background={type:"solid",color:h.background});for(const v of d.elements){if(v.type==="shape"&&(v.fill=p[ot(v.fill).toRgbString()]||v.fill,v.gradient&&delete v.gradient),v.type==="text"&&(v.fill&&(v.fill=p[ot(v.fill).toRgbString()]||v.fill),v.defaultColor=h.fontColor,v.defaultFontName=h.fontname),v.type==="table"){v.theme&&(v.theme.color=p[ot(v.theme.color).toRgbString()]||v.theme.color);for(const m of v.data)for(const x of m)x.style&&(x.style.color=h.fontColor,x.style.fontname=h.fontname)}v.type==="chart"&&(v.themeColor=[p[ot(v.themeColor[0]).toRgbString()]],v.gridColor=h.fontColor),v.type==="line"&&(v.color=p[ot(v.color).toRgbString()]||v.color),v.type==="audio"&&(v.color=p[ot(v.color).toRgbString()]||v.color),v.type==="latex"&&(v.color=h.fontColor)}};return{getSlidesThemeStyles:i,applyPresetThemeToSingleSlide:d=>{const h=JSON.parse(JSON.stringify(n.value));l(h,d),e.updateSlide({background:h.background,elements:h.elements}),o()},applyPresetThemeToAllSlides:d=>{const h=JSON.parse(JSON.stringify(t.value));for(const p of h)l(p,d);e.setTheme({backgroundColor:d.background,themeColor:d.colors[0],fontColor:d.fontColor,fontName:d.fontname}),e.setSlides(h),o()},applyThemeToAllSlides:(d=!1)=>{const h=JSON.parse(JSON.stringify(t.value)),{themeColor:p,backgroundColor:v,fontColor:m,fontName:x,outline:y,shadow:R}=r.value;for(const A of h){(!A.background||A.background.type!=="image")&&(A.background={type:"solid",color:v});for(const b of A.elements)if(d&&("outline"in b&&b.outline&&(b.outline=y),"shadow"in b&&b.shadow&&(b.shadow=R)),b.type==="shape")b.fill=p;else if(b.type==="line")b.color=p;else if(b.type==="text")b.defaultColor=m,b.defaultFontName=x,b.fill&&(b.fill=p);else if(b.type==="table"){b.theme&&(b.theme.color=p);for(const M of b.data)for(const T of M)T.style&&(T.style.color=m,T.style.fontname=x)}else b.type==="chart"?(b.themeColor=[p],b.gridColor=m):b.type==="latex"?b.color=m:b.type==="audio"&&(b.color=p)}e.setSlides(h),o()}}},I2=e=>(zt("data-v-724633c2"),e=e(),Jt(),e),bye={class:"theme-styles-extract"},xye={class:"content"},Sye={class:"config-item"},Mye=I2(()=>V("div",{class:"label"},"字体:",-1)),wye={class:"values"},Lye={class:"handler"},Oye=["onClick"],Tye=["onClick"],kye={class:"config-item"},Nye=I2(()=>V("div",{class:"label"},"文字颜色:",-1)),Pye={class:"values"},Cye={class:"handler"},Iye=["onClick"],Fye=["onClick"],_ye={class:"config-item"},Eye=I2(()=>V("div",{class:"label"},"背景颜色:",-1)),Xye={class:"values"},Wye={class:"handler"},Vye=["onClick"],Uye=["onClick"],Yye={class:"config-item"},Qye=I2(()=>V("div",{class:"label"},"主题色:",-1)),Zye={class:"values"},Bye={class:"handler"},Dye=["onClick"],Kye=["onClick"],Hye={class:"btns"},Gye=Ee({__name:"ThemeStylesExtract",emits:["close"],setup(e,{emit:t}){const n=t,r=st(),{slides:o,currentSlide:i}=Xe(r),{getSlidesThemeStyles:a}=iE(),s=[{key:"single",label:"从当前页中提取"},{key:"all",label:"从全部幻灯片提取"}],l=ve("single"),c=ve({});Qt(()=>{const p={};for(const v of J4)p[v.value]=v.label;for(const v of Op)p[v.value]=v.label;c.value=p});const u=ve({backgroundColors:[],themeColors:[],fontColors:[],fontNames:[]}),f=ve({backgroundColor:0,themeColor:0,fontColor:0,fontName:0});wt(l,()=>{l.value==="single"?u.value=a(i.value):u.value=a(o.value)}),Qt(()=>{u.value=a(i.value)});const d=p=>{r.setTheme(p)},h=()=>{r.setTheme({backgroundColor:u.value.backgroundColors[f.value.backgroundColor],themeColor:u.value.themeColors[f.value.themeColor],fontColor:u.value.fontColors[f.value.fontColor],fontName:u.value.fontNames[f.value.fontName]}),n("close")};return(p,v)=>(U(),ee("div",bye,[O(_a,{tabs:s,value:l.value,"onUpdate:value":v[0]||(v[0]=m=>l.value=m),tabsStyle:{marginBottom:"12px"},tabStyle:{padding:"8px 12px"}},null,8,["value"]),V("div",xye,[V("div",Sye,[Mye,V("div",wye,[(U(!0),ee(We,null,nt(u.value.fontNames,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({fontFamily:m})},vt(c.value[m]||m),5),V("div",Lye,[V("div",{class:Je(["state",{active:f.value.fontName===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.fontName=x},"选择",8,Oye),V("div",{class:"config-btn",onClick:y=>{d({fontName:m}),f.value.fontName=x}},"配置到主题",8,Tye)])]))),128))])]),V("div",kye,[Nye,V("div",Pye,[(U(!0),ee(We,null,nt(u.value.fontColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Cye,[V("div",{class:Je(["state",{active:f.value.fontColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.fontColor=x},"选择",8,Iye),V("div",{class:"config-btn",onClick:y=>{d({fontColor:m}),f.value.fontColor=x}},"配置到主题",8,Fye)])]))),128))])]),V("div",_ye,[Eye,V("div",Xye,[(U(!0),ee(We,null,nt(u.value.backgroundColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Wye,[V("div",{class:Je(["state",{active:f.value.backgroundColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.backgroundColor=x},"选择",8,Vye),V("div",{class:"config-btn",onClick:y=>{d({backgroundColor:m}),f.value.backgroundColor=x}},"配置到主题",8,Uye)])]))),128))])]),V("div",Yye,[Qye,V("div",Zye,[(U(!0),ee(We,null,nt(u.value.themeColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Bye,[V("div",{class:Je(["state",{active:f.value.themeColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.themeColor=x},"选择",8,Dye),V("div",{class:"config-btn",onClick:y=>{d({themeColor:m}),f.value.themeColor=x}},"配置到主题",8,Kye)])]))),128))])])]),V("div",Hye,[O(je,{class:"btn",type:"primary",onClick:v[1]||(v[1]=m=>h())},{default:oe(()=>[Ve("将选中配置保存为主题")]),_:1})])]))}}),zye=Ue(Gye,[["__scopeId","data-v-724633c2"]]),Ur=e=>(zt("data-v-01b60579"),e=e(),Jt(),e),Jye={class:"slide-design-panel"},$ye=Ur(()=>V("div",{class:"title"},"背景填充",-1)),jye={class:"row"},qye=Ur(()=>V("div",{style:{width:"10px"}},null,-1)),e4e={key:0,class:"background-image-wrapper"},t4e={class:"background-image"},n4e={key:1,class:"background-gradient-wrapper"},r4e={class:"row"},o4e={class:"row"},i4e=Ur(()=>V("div",{style:{width:"40%"}},"当前色块:",-1)),a4e={key:0,class:"row"},s4e=Ur(()=>V("div",{style:{width:"40%"}},"渐变角度:",-1)),l4e={class:"row"},c4e={class:"row"},u4e=Ur(()=>V("div",{style:{width:"40%"}},"画布尺寸:",-1)),f4e={class:"title"},d4e=Ur(()=>V("span",null,"全局主题",-1)),h4e=Ur(()=>V("span",{class:"text"},"更多",-1)),p4e={class:"row"},v4e=Ur(()=>V("div",{style:{width:"40%"}},"字体:",-1)),g4e={class:"row"},m4e=Ur(()=>V("div",{style:{width:"40%"}},"字体颜色:",-1)),A4e={class:"row"},R4e=Ur(()=>V("div",{style:{width:"40%"}},"背景颜色:",-1)),y4e={class:"row"},b4e=Ur(()=>V("div",{style:{width:"40%"}},"主题色:",-1)),x4e={class:"row"},S4e=Ur(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),M4e={class:"row"},w4e=Ur(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),L4e={class:"row"},O4e=Ur(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),T4e={class:"row",style:{height:"30px"}},k4e=Ur(()=>V("div",{style:{width:"40%"}},"水平阴影:",-1)),N4e={class:"row",style:{height:"30px"}},P4e=Ur(()=>V("div",{style:{width:"40%"}},"垂直阴影:",-1)),C4e={class:"row",style:{height:"30px"}},I4e=Ur(()=>V("div",{style:{width:"40%"}},"模糊距离:",-1)),F4e={class:"row"},_4e=Ur(()=>V("div",{style:{width:"40%"}},"阴影颜色:",-1)),E4e={class:"row"},X4e={class:"row"},W4e=Ur(()=>V("div",{class:"title"},"预置主题",-1)),V4e={class:"theme-list"},U4e={class:"theme-item-content"},Y4e={class:"colors"},Q4e={class:"btns"},Z4e=Ee({__name:"SlideDesignPanel",setup(e){const t=st(),{availableFonts:n}=Xe(ft()),{slides:r,currentSlide:o,viewportRatio:i,theme:a}=Xe(t),s=ve(!1),l=ve(!1),c=ve(0),u=Me(()=>o.value.background?o.value.background:{type:"solid",value:"#fff"}),{addHistorySnapshot:f}=Ht(),{applyPresetThemeToSingleSlide:d,applyPresetThemeToAllSlides:h,applyThemeToAllSlides:p}=iE(),v=w=>{if(w==="solid"){const L={...u.value,type:"solid",color:u.value.color||"#fff"};t.updateSlide({background:L})}else if(w==="image"){const L={...u.value,type:"image",image:u.value.image||{src:"",size:"cover"}};t.updateSlide({background:L})}else{const L={...u.value,type:"gradient",gradient:u.value.gradient||{type:"linear",colors:[{pos:0,color:"#fff"},{pos:100,color:"#fff"}],rotate:0}};c.value=0,t.updateSlide({background:L})}f()},m=w=>{t.updateSlide({background:{...u.value,...w}}),f()},x=w=>{m({gradient:{...u.value.gradient,...w}})},y=w=>{const L=u.value.gradient.colors.map((k,E)=>E===c.value?{...k,color:w}:k);x({colors:L})},R=w=>{m({image:{...u.value.image,...w}})},A=w=>{const L=w[0];L&&Lc(L).then(k=>R({src:k}))},b=()=>{const w=r.value.map(L=>({...L,background:o.value.background}));t.setSlides(w),f()},M=w=>{t.setTheme(w)},T=w=>{t.setViewportRatio(w)};return(w,L)=>{var W,N,_,C;const k=Se("IconPlus"),E=Se("IconDown"),P=Se("IconRight");return U(),ee(We,null,[V("div",Jye,[$ye,V("div",jye,[O(Hn,{style:{flex:"1"},value:u.value.type,"onUpdate:value":L[0]||(L[0]=X=>v(X)),options:[{label:"纯色填充",value:"solid"},{label:"图片填充",value:"image"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),qye,u.value.type==="solid"?(U(),ke(Pt,{key:0,trigger:"click",style:{flex:"1"}},{content:oe(()=>[O(_n,{modelValue:u.value.color,"onUpdate:modelValue":L[1]||(L[1]=X=>m({color:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:u.value.color||"#fff"},null,8,["color"])]),_:1})):u.value.type==="image"?(U(),ke(Hn,{key:1,style:{flex:"1"},value:((W=u.value.image)==null?void 0:W.size)||"cover","onUpdate:value":L[2]||(L[2]=X=>R({size:X})),options:[{label:"缩放",value:"contain"},{label:"拼贴",value:"repeat"},{label:"缩放铺满",value:"cover"}]},null,8,["value"])):(U(),ke(Hn,{key:2,style:{flex:"1"},value:((N=u.value.gradient)==null?void 0:N.type)||"","onUpdate:value":L[3]||(L[3]=X=>x({type:X})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),u.value.type==="image"?(U(),ee("div",e4e,[O(Wu,{onChange:L[4]||(L[4]=X=>A(X))},{default:oe(()=>{var X;return[V("div",t4e,[V("div",{class:"content",style:we({backgroundImage:`url(${(X=u.value.image)==null?void 0:X.src})`})},[O(k)],4)])]}),_:1})])):Qe("",!0),u.value.type==="gradient"?(U(),ee("div",n4e,[V("div",r4e,[O(q_,{value:((_=u.value.gradient)==null?void 0:_.colors)||[],"onUpdate:value":L[5]||(L[5]=X=>x({colors:X})),"onUpdate:index":L[6]||(L[6]=X=>c.value=X)},null,8,["value"])]),V("div",o4e,[i4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:u.value.gradient.colors[c.value].color,"onUpdate:modelValue":L[7]||(L[7]=X=>y(X))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:u.value.gradient.colors[c.value].color},null,8,["color"])]),_:1})]),((C=u.value.gradient)==null?void 0:C.type)==="linear"?(U(),ee("div",a4e,[s4e,O(so,{min:0,max:360,step:15,value:u.value.gradient.rotate||0,"onUpdate:value":L[8]||(L[8]=X=>x({rotate:X})),style:{width:"60%"}},null,8,["value"])])):Qe("",!0)])):Qe("",!0),V("div",l4e,[O(je,{style:{flex:"1"},onClick:L[9]||(L[9]=X=>b())},{default:oe(()=>[Ve("应用背景到全部")]),_:1})]),O(Ft),V("div",c4e,[u4e,O(Hn,{style:{width:"60%"},value:H(i),"onUpdate:value":L[10]||(L[10]=X=>T(X)),options:[{label:"宽屏 16 : 9",value:.5625},{label:"宽屏 16 : 10",value:.625},{label:"标准 4 : 3",value:.75},{label:"纸张 A3 / A4",value:.70710678},{label:"竖向 A3 / A4",value:1.41421356}]},null,8,["value"])]),O(Ft),V("div",f4e,[d4e,V("span",{class:"more",onClick:L[11]||(L[11]=X=>s.value=!s.value)},[h4e,s.value?(U(),ke(E,{key:0})):(U(),ke(P,{key:1}))])]),V("div",p4e,[v4e,O(Hn,{style:{width:"60%"},value:H(a).fontName,search:"",searchLabel:"搜索字体","onUpdate:value":L[12]||(L[12]=X=>M({fontName:X})),options:[...H(n),...H(Op)]},null,8,["value","options"])]),V("div",g4e,[m4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).fontColor,"onUpdate:modelValue":L[13]||(L[13]=X=>M({fontColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).fontColor},null,8,["color"])]),_:1})]),V("div",A4e,[R4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).backgroundColor,"onUpdate:modelValue":L[14]||(L[14]=X=>M({backgroundColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).backgroundColor},null,8,["color"])]),_:1})]),V("div",y4e,[b4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).themeColor,"onUpdate:modelValue":L[15]||(L[15]=X=>M({themeColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).themeColor},null,8,["color"])]),_:1})]),s.value?(U(),ee(We,{key:2},[V("div",x4e,[S4e,O(Hn,{style:{width:"60%"},value:H(a).outline.style||"","onUpdate:value":L[16]||(L[16]=X=>M({outline:{...H(a).outline,style:X}})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",M4e,[w4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).outline.color,"onUpdate:modelValue":L[17]||(L[17]=X=>M({outline:{...H(a).outline,color:X}}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).outline.color||"#000"},null,8,["color"])]),_:1})]),V("div",L4e,[O4e,O(ei,{value:H(a).outline.width||0,"onUpdate:value":L[18]||(L[18]=X=>M({outline:{...H(a).outline,width:X}})),style:{width:"60%"}},null,8,["value"])]),V("div",T4e,[k4e,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:H(a).shadow.h,"onUpdate:value":L[19]||(L[19]=X=>M({shadow:{...H(a).shadow,h:X}}))},null,8,["value"])]),V("div",N4e,[P4e,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:H(a).shadow.v,"onUpdate:value":L[20]||(L[20]=X=>M({shadow:{...H(a).shadow,v:X}}))},null,8,["value"])]),V("div",C4e,[I4e,O(so,{style:{width:"60%"},min:1,max:20,step:1,value:H(a).shadow.blur,"onUpdate:value":L[21]||(L[21]=X=>M({shadow:{...H(a).shadow,blur:X}}))},null,8,["value"])]),V("div",F4e,[_4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).shadow.color,"onUpdate:modelValue":L[22]||(L[22]=X=>M({shadow:{...H(a).shadow,color:X}}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).shadow.color},null,8,["color"])]),_:1})])],64)):Qe("",!0),V("div",E4e,[O(je,{style:{flex:"1"},onClick:L[23]||(L[23]=X=>H(p)(s.value))},{default:oe(()=>[Ve("应用主题到全部")]),_:1})]),V("div",X4e,[O(je,{style:{flex:"1"},onClick:L[24]||(L[24]=X=>l.value=!0)},{default:oe(()=>[Ve("从幻灯片提取主题")]),_:1})]),O(Ft),W4e,V("div",V4e,[(U(!0),ee(We,null,nt(H(yye),(X,Y)=>(U(),ee("div",{class:"theme-item",key:Y,style:we({backgroundColor:X.background,fontFamily:X.fontname})},[V("div",U4e,[V("div",{class:"text",style:we({color:X.fontColor})},"文字 Aa",4),V("div",Y4e,[(U(!0),ee(We,null,nt(X.colors,($,le)=>(U(),ee("div",{class:"color-block",key:le,style:we({backgroundColor:$})},null,4))),128))]),V("div",Q4e,[O(je,{type:"primary",size:"small",onClick:$=>H(d)(X)},{default:oe(()=>[Ve("应用")]),_:2},1032,["onClick"]),O(je,{type:"primary",size:"small",style:{"margin-top":"3px"},onClick:$=>H(h)(X)},{default:oe(()=>[Ve("应用全局")]),_:2},1032,["onClick"])])])],4))),128))])]),O(n0,{visible:l.value,"onUpdate:visible":L[26]||(L[26]=X=>l.value=X),width:320,onClosed:L[27]||(L[27]=X=>l.value=!1)},{default:oe(()=>[O(zye,{onClose:L[25]||(L[25]=X=>l.value=!1)})]),_:1},8,["visible"])],64)}}}),B4e=Ue(Z4e,[["__scopeId","data-v-01b60579"]]),D4e={class:"slide-animation-panel"},K4e={class:"animation-pool"},H4e=["onClick"],G4e={class:"animation-text"},z4e=Ee({__name:"SlideAnimationPanel",setup(e){const t=st(),{slides:n,currentSlide:r}=Xe(t),o=Me(()=>r.value.turningMode||"slideY"),i=rE,{addHistorySnapshot:a}=Ht(),s=c=>{c!==o.value&&(t.updateSlide({turningMode:c}),a())},l=()=>{const c=n.value.map(u=>({...u,turningMode:r.value.turningMode}));t.setSlides(c),gn.success("已应用到全部"),a()};return(c,u)=>(U(),ee("div",D4e,[V("div",K4e,[(U(!0),ee(We,null,nt(H(i),f=>(U(),ee("div",{class:Je(["animation-item",{active:o.value===f.value}]),key:f.label,onClick:d=>s(f.value)},[V("div",{class:Je(["animation-block",f.value])},null,2),V("div",G4e,vt(f.label),1)],10,H4e))),128))]),O(je,{style:{width:"100%"},onClick:u[0]||(u[0]=f=>l())},{default:oe(()=>[Ve("应用到全部")]),_:1})]))}}),J4e=Ue(z4e,[["__scopeId","data-v-ae84c3f4"]]),$4e=()=>{const e=st(),{activeElementIdList:t,activeElementList:n}=Xe(ft()),{currentSlide:r}=Xe(e),{addHistorySnapshot:o}=Ht();return{alignActiveElement:a=>{const{minX:s,maxX:l,minY:c,maxY:u}=js(n.value),f=JSON.parse(JSON.stringify(r.value.elements)),d={};for(const h of n.value)if(h.groupId&&!d[h.groupId]){const p=n.value.filter(v=>v.groupId===h.groupId);d[h.groupId]=js(p)}if(a===nn.LEFT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].minX-s;h.left=h.left-v}else if("rotate"in h&&h.rotate){const{offsetX:p}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=s-p}else h.left=s});else if(a===nn.RIGHT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].maxX-l;h.left=h.left-v}else{const p=h.type==="line"?Math.max(h.start[0],h.end[0]):h.width;if("rotate"in h&&h.rotate){const{offsetX:v}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=l-p+v}else h.left=l-p}});else if(a===nn.TOP)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].minY-c;h.top=h.top-v}else if("rotate"in h&&h.rotate){const{offsetY:p}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=c-p}else h.top=c});else if(a===nn.BOTTOM)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].maxY-u;h.top=h.top-v}else{const p=h.type==="line"?Math.max(h.start[1],h.end[1]):h.height;if("rotate"in h&&h.rotate){const{offsetY:v}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=u-p+v}else h.top=u-p}});else if(a===nn.HORIZONTAL){const h=(s+l)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const v=d[p.groupId],x=(v.maxX+v.minX)/2-h;p.left=p.left-x}else{const v=p.type==="line"?Math.max(p.start[0],p.end[0]):p.width;p.left=h-v/2}})}else if(a===nn.VERTICAL){const h=(c+u)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const v=d[p.groupId],x=(v.maxY+v.minY)/2-h;p.top=p.top-x}else{const v=p.type==="line"?Math.max(p.start[1],p.end[1]):p.height;p.top=h-v/2}})}e.updateSlide({elements:f}),o()}}},j4e=()=>{const e=st(),{activeElementIdList:t,activeElementList:n}=Xe(ft()),{currentSlide:r}=Xe(e),{addHistorySnapshot:o}=Ht();return{displayItemCount:Me(()=>{let l=0;const c=[];for(const u of n.value)u.groupId?c.includes(u.groupId)||(c.push(u.groupId),l+=1):l+=1;return l}),uniformHorizontalDisplay:()=>{const{minX:l,maxX:c}=js(n.value),u=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const b of u)if(b.groupId)h.find(T=>T.groupId===b.groupId)?h=h.map(T=>T.groupId===b.groupId?{...T,els:[...T.els,b]}:T):h.push({groupId:b.groupId,els:[b]});else{const{minX:M,maxX:T}=Ji(b);d.push({min:M,max:T,el:b})}const p=[];for(const b of h){const{minX:M,maxX:T}=js(b.els);p.push({min:M,max:T,els:b.els})}const v=[...d,...p];v.sort((b,M)=>b.min-M.min);let m=0;for(const b of v){const M=b.max-b.min;m+=M}const x=(c-l-m)/(v.length-1),y=[],R=v[0];let A={min:R.min,max:R.max};if("el"in R)y.push({pos:R.min,el:R.el});else for(const b of R.els){const{minX:M}=Ji(b);y.push({pos:M,el:b})}for(let b=1;b<v.length;b++){const M=v[b],T=A.max-A.min,w=A.min+T+x,L=M.max-M.min;if(A={min:w,max:w+L},"el"in M)y.push({pos:w,el:M.el});else for(const k of M.els){const{minX:E}=Ji(k),P=E-M.min;y.push({pos:w+P,el:k})}}for(const b of f)if(t.value.includes(b.id)){for(const M of y)if(M.el.id===b.id)if("rotate"in b&&b.rotate){const{offsetX:T}=$f({left:b.left,top:b.top,width:b.width,height:b.height,rotate:b.rotate});b.left=M.pos-T}else b.left=M.pos}e.updateSlide({elements:f}),o()},uniformVerticalDisplay:()=>{const{minY:l,maxY:c}=js(n.value),u=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const b of u)if(b.groupId)h.find(T=>T.groupId===b.groupId)?h=h.map(T=>T.groupId===b.groupId?{...T,els:[...T.els,b]}:T):h.push({groupId:b.groupId,els:[b]});else{const{minY:M,maxY:T}=Ji(b);d.push({min:M,max:T,el:b})}const p=[];for(const b of h){const{minY:M,maxY:T}=js(b.els);p.push({min:M,max:T,els:b.els})}const v=[...d,...p];v.sort((b,M)=>b.min-M.min);let m=0;for(const b of v){const M=b.max-b.min;m+=M}const x=(c-l-m)/(v.length-1),y=[],R=v[0];let A={min:R.min,max:R.max};if("el"in R)y.push({pos:R.min,el:R.el});else for(const b of R.els){const{minY:M}=Ji(b);y.push({pos:M,el:b})}for(let b=1;b<v.length;b++){const M=v[b],T=A.max-A.min,w=A.min+T+x,L=M.max-M.min;if(A={min:w,max:w+L},"el"in M)y.push({pos:w,el:M.el});else for(const k of M.els){const{minY:E}=Ji(k),P=E-M.min;y.push({pos:w+P,el:k})}}for(const b of f)if(t.value.includes(b.id)){for(const M of y)if(M.el.id===b.id)if("rotate"in b&&b.rotate){const{offsetY:T}=$f({left:b.left,top:b.top,width:b.width,height:b.height,rotate:b.rotate});b.top=M.pos-T}else b.top=M.pos}e.updateSlide({elements:f}),o()}}},q4e={class:"multi-position-panel"},e3e=Ee({__name:"MultiPositionPanel",setup(e){const{canCombine:t,combineElements:n,uncombineElements:r}=Vx(),{alignActiveElement:o}=$4e(),{alignElementToCanvas:i}=v2(),{displayItemCount:a,uniformHorizontalDisplay:s,uniformVerticalDisplay:l}=j4e(),c=u=>{t.value?o(u):i(u)};return(u,f)=>{const d=Se("IconAlignLeft"),h=Se("IconAlignHorizontally"),p=Se("IconAlignRight"),v=Se("IconAlignTop"),m=Se("IconAlignVertically"),x=Se("IconAlignBottom"),y=Se("IconGroup"),R=Se("IconUngroup"),A=bn("tooltip");return U(),ee("div",q4e,[O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:f[0]||(f[0]=b=>c(H(nn).LEFT))},{default:oe(()=>[O(d)]),_:1})),[[A,"左对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[1]||(f[1]=b=>c(H(nn).HORIZONTAL))},{default:oe(()=>[O(h)]),_:1})),[[A,"水平居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[2]||(f[2]=b=>c(H(nn).RIGHT))},{default:oe(()=>[O(p)]),_:1})),[[A,"右对齐"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:f[3]||(f[3]=b=>c(H(nn).TOP))},{default:oe(()=>[O(v)]),_:1})),[[A,"上对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[4]||(f[4]=b=>c(H(nn).VERTICAL))},{default:oe(()=>[O(m)]),_:1})),[[A,"垂直居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[5]||(f[5]=b=>c(H(nn).BOTTOM))},{default:oe(()=>[O(x)]),_:1})),[[A,"下对齐"]])]),_:1}),H(a)>2?(U(),ke(Ln,{key:0,class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:f[6]||(f[6]=b=>H(s)())},{default:oe(()=>[Ve("水平均匀分布")]),_:1}),O(je,{style:{flex:"1"},onClick:f[7]||(f[7]=b=>H(l)())},{default:oe(()=>[Ve("垂直均匀分布")]),_:1})]),_:1})):Qe("",!0),O(Ft),O(Ln,{class:"row"},{default:oe(()=>[O(je,{disabled:!H(t),onClick:f[8]||(f[8]=b=>H(n)()),style:{flex:"1"}},{default:oe(()=>[O(y,{style:{"margin-right":"3px"}}),Ve("组合")]),_:1},8,["disabled"]),O(je,{disabled:H(t),onClick:f[9]||(f[9]=b=>H(r)()),style:{flex:"1"}},{default:oe(()=>[O(R,{style:{"margin-right":"3px"}}),Ve("取消组合")]),_:1},8,["disabled"])]),_:1})])}}}),t3e=Ue(e3e,[["__scopeId","data-v-d41009b1"]]),v4=[{key:"letter",label:"字母",children:["α","β","γ","δ","ϵ","ε","ζ","η","θ","ϑ","ι","κ","λ","μ","ν","ξ","π","ϖ","ρ","ϱ","σ","ς","τ","υ","ϕ","φ","χ","ψ","ω","Γ","Δ","Θ","Λ","Ξ","Π","Σ","Υ","Φ","Ψ","Ω","𝐀","𝐁","𝐂","𝐃","𝐄","𝐅","𝐆","𝐇","𝐈","𝐉","𝐊","𝐋","𝐌","𝐍","𝐎","𝐏","𝐐","𝐑","𝐒","𝐓","𝐔","𝐕","𝐖","𝐗","𝐘","𝐙","𝐚","𝐛","𝐜","𝐝","𝐞","𝐟","𝐠","𝐡","𝐢","𝐣","𝐤","𝐥","𝐦","𝐧","𝐨","𝐩","𝐪","𝐫","𝐬","𝐭","𝐮","𝐯","𝐰","𝐱","𝐲","𝐳","𝓐","𝓑","𝓒","𝓓","𝓔","𝓕","𝓖","𝓗","𝓘","𝓙","𝓚","𝓛","𝓜","𝓝","𝓞","𝓟","𝓠","𝓡","𝓢","𝓣","𝓤","𝓥","𝓦","𝓧","𝓨","𝓩","𝓪","𝓫","𝓬","𝓭","𝓮","𝓯","𝓰","𝓱","𝓲","𝓳","𝓴","𝓵","𝓶","𝓷","𝓸","𝓹","𝓺","𝓻","𝓼","𝓽","𝓾","𝓿","𝔀","𝔁","𝔂","𝔃"]},{key:"number",label:"序号",children:["①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩","⑪","⑫","⑬","⑭","⑮","⑯","⑰","⑱","⑲","⑳","⑴","⑵","⑶","⑷","⑸","⑹","⑺","⑻","⑼","⑽","⑾","⑿","⒀","⒁","⒂","⒃","⒄","⒅","⒆","⒇","º","¹","²","³","⁴","⁵","⁶","⁷","⁸","⁹","₀","₁","₂","₃","₄","₅","₆","₇","₈","₉","Ⅰ","Ⅱ","Ⅲ","Ⅳ","Ⅴ","Ⅵ","Ⅶ","Ⅷ","Ⅸ","Ⅹ","Ⅺ","Ⅻ","Ⅼ","Ⅽ","Ⅾ","Ⅿ","ⅰ","ⅱ","ⅲ","ⅳ","ⅴ","ⅵ","ⅶ","ⅷ","ⅸ","ⅹ","ⅺ","ⅻ","ⅼ","ⅽ","ⅾ","ⅿ","ↀ","ↁ","ↂ","㊀","㊁","㊂","㊃","㊄","㊅","㊆","㊇","㊈","㊉","㈠","㈡","㈢","㈣","㈤","㈥","㈦","㈧","㈨","㈩","𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"]},{key:"math",label:"数学",children:["+","-","×","÷","=","~","¬","±","%","°","ǃ","‰","‱","½","⅓","⅔","¼","¾","<",">","l","o","g","l","g","l","n","⨂","⨁","⨄","⨃","⨅","⨆","√","∛","∜","∝","∞","∟","∠","∡","∢","∧","∨","∩","∪","∫","∬","∭","∮","∯","∰","∱","∲","∳","∴","∵","∼","∽","∾","∿","≃","≄","≅","≆","≇","≈","≊","≋","≌","≍","≎","≏","≐","≑","≒","≓","≔","≕","≤","≥","≦","≧","≨","≩","≪","≫","≺","≻","≼","≽","≾","≿","⊀","⊁","⊂","⊃","⊄","⊅","⊆","⊇","⊈","⊉","⊊","⊋","⊏","⊐","⊑","⊒","⊓","⊔","⊢","⊣","⊤","⊥","⊦","⊧","⊨","⊩","⊪","⊫","⊬","⊭","⊮","⊯","⊲","⊳","⊴","⊵","⋀","⋁","⋂","⋃","⋉","⋊","⋋","⋌","⟨","⟩","⟪","⟫","⟮","⟯","⧼","⧽","⦰"]},{key:"arrow",label:"箭头",children:["←","↑","→","↓","↔","↕","↖","↗","↘","↙","↚","↛","↜","↝","↞","↟","↠","↡","↢","↣","↤","↥","↦","↧","↨","↫","↬","↭","↮","↯","↰","↱","↲","↳","↴","↵","↶","↷","↸","↹","↺","↻","↼","↽","↾","↿","⇀","⇁","⇂","⇃","⇄","⇅","⇆","⇇","⇈","⇉","⇊","⇋","⇌","⇍","⇎","⇏","⇐","⇑","⇒","⇓","⇔","⇕","⇖","⇗","⇘","⇙","⇚","⇛","⇜","⇝","⇞","⇟","⇠","⇡","⇢","⇣","⇤","⇥","⇦","⇧","⇨","⇩","⇪","⇫","⇬","⇭","⇮","⇯","⇰","⇱","⇲","⇳","⇴","⇵","⇶","⇷","⇸","⇹","⇺","⇻","⇼","⇽","⇾","⇿"]},{key:"graph",label:"图形",children:["▢","▣","▤","▥","▦","▧","▨","▩","▭","▮","▯","▰","▱","▲","▷","▼","◁","◈","◉","◍","◐","◑","◒","◓","◔","◕","◧","◨","◩","◪","◫","◬","◭","◮"]}],n3e={class:"symbol-panel"},r3e={class:"pool"},o3e=["onClick"],i3e={class:"symbol"},a3e=Ee({__name:"SymbolPanel",setup(e){const t=ve(v4[0].key),n=Me(()=>{const i=v4.find(a=>a.key===t.value);return(i==null?void 0:i.children)||[]}),r=v4.map(i=>({key:i.key,label:i.label})),o=i=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:{command:"insert",value:i}})};return(i,a)=>(U(),ee("div",n3e,[O(_a,{tabs:H(r),value:t.value,"onUpdate:value":a[0]||(a[0]=s=>t.value=s),tabsStyle:{marginBottom:"8px"},spaceBetween:""},null,8,["tabs","value"]),V("div",r3e,[(U(!0),ee(We,null,nt(n.value,(s,l)=>(U(),ee("div",{class:"symbol-item",key:l,onClick:c=>o(s)},[V("div",i3e,vt(s),1)],8,o3e))),128))])]))}}),s3e=Ue(a3e,[["__scopeId","data-v-0f662bb0"]]),l3e={class:"toolbar"},c3e={class:"content"},u3e=Ee({__name:"index",setup(e){const t=ft(),{activeElementIdList:n,handleElement:r,toolbarState:o}=Xe(t),i=Me(()=>{var f;return((f=r.value)==null?void 0:f.type)==="text"?[{label:"样式",key:wr.EL_STYLE},{label:"符号",key:wr.SYMBOL},{label:"位置",key:wr.EL_POSITION},{label:"动画",key:wr.EL_ANIMATION}]:[{label:"样式",key:wr.EL_STYLE},{label:"位置",key:wr.EL_POSITION},{label:"动画",key:wr.EL_ANIMATION}]}),a=[{label:"设计",key:wr.SLIDE_DESIGN},{label:"切换",key:wr.SLIDE_ANIMATION},{label:"动画",key:wr.EL_ANIMATION}],s=[{label:"样式",key:wr.EL_STYLE},{label:"位置",key:wr.MULTI_POSITION}],l=f=>{t.setToolbarState(f)},c=Me(()=>{if(n.value.length){if(n.value.length>1)return s}else return a;return i.value});wt(c,()=>{const f=c.value.map(d=>d.key);f.includes(o.value)||t.setToolbarState(f[0])});const u=Me(()=>({[wr.EL_STYLE]:QRe,[wr.EL_POSITION]:qRe,[wr.EL_ANIMATION]:Rye,[wr.SLIDE_DESIGN]:B4e,[wr.SLIDE_ANIMATION]:J4e,[wr.MULTI_POSITION]:t3e,[wr.SYMBOL]:s3e})[o.value]||null);return(f,d)=>(U(),ee("div",l3e,[O(_a,{tabs:c.value,value:H(o),card:"","onUpdate:value":d[0]||(d[0]=h=>l(h))},null,8,["tabs","value"]),V("div",c3e,[(U(),ke(ws(u.value)))])]))}}),f3e=Ue(u3e,[["__scopeId","data-v-83fff59a"]]),d3e={class:"editor"},h3e=Ee({__name:"Editor",props:{value:{}},emits:["update"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=ft(),a=ve();let s;const l=ve(),c=ve(),u=ve(),f=()=>{c.value&&c.value.hide()},d=On.debounce(function(){o("update",s.dom.innerHTML)},300,{trailing:!0}),h=()=>{i.setDisableHotkeysState(!0)},p=()=>{i.setDisableHotkeysState(!1)};t({updateTextContent:()=>{if(!s)return;const{doc:y,tr:R}=s.state;s.dispatch(R.replaceRangeWith(0,y.content.size,M5(r.value)))}});const m=()=>{const y=window.getSelection();if(!y||!y.anchorNode||!y.focusNode||y.isCollapsed||y.type==="Caret"||y.type==="None")return;const R=y.getRangeAt(0);if(c.value){l.value=z4(s);const{x:A,y:b,left:M,top:T}=R.getBoundingClientRect();c.value.setProps({getReferenceClientRect:()=>({x:A,y:b,left:M,top:T,height:0,width:0,right:M,bottom:T})}),c.value.show()}},x=(y,R)=>{if(y==="color"&&R){const A=s.state.schema.marks.forecolor.create({color:R});Er(s),za(s,A)}else if(y==="backcolor"&&R){const A=s.state.schema.marks.backcolor.create({backcolor:R});Er(s),za(s,A)}else if(y==="bold")Er(s),Pr(s.state.schema.marks.strong)(s.state,s.dispatch);else if(y==="em")Er(s),Pr(s.state.schema.marks.em)(s.state,s.dispatch);else if(y==="underline")Er(s),Pr(s.state.schema.marks.underline)(s.state,s.dispatch);else if(y==="strikethrough")Er(s),Pr(s.state.schema.marks.strikethrough)(s.state,s.dispatch);else if(y==="bulletList"){const{bullet_list:A,list_item:b}=s.state.schema.nodes;Rm(A,b,"")(s.state,s.dispatch)}else if(y==="orderedList"){const{ordered_list:A,list_item:b}=s.state.schema.nodes;Rm(A,b,"")(s.state,s.dispatch)}else if(y==="clear"){Er(s);const{$from:A,$to:b}=s.state.selection;s.dispatch(s.state.tr.removeMark(A.pos,b.pos))}s.focus(),d(),l.value=z4(s)};return Qt(()=>{s=VF(a.value,r.value,{handleDOMEvents:{focus:h,blur:p,mouseup:m,mousedown:()=>{var y;(y=window.getSelection())==null||y.removeAllRanges(),f()},keydown:f,input:d}},{placeholder:"点击输入演讲者备注"}),c.value=qu(a.value,{duration:0,content:u.value,interactive:!0,trigger:"manual",placement:"top-start",hideOnClick:"toggle",offset:[0,6]})}),Sn(()=>{s&&s.destroy()}),(y,R)=>{var N,_,C,X,Y,$;const A=Se("IconTextBold"),b=Se("IconTextItalic"),M=Se("IconTextUnderline"),T=Se("IconStrikethrough"),w=Se("IconText"),L=Se("IconHighLight"),k=Se("IconList"),E=Se("IconOrderedList"),P=Se("IconFormat"),W=bn("click-outside");return He((U(),ee("div",d3e,[V("div",{class:"prosemirror-editor",ref_key:"editorViewRef",ref:a},null,512),V("div",{class:"menu",ref_key:"menuRef",ref:u},[V("button",{class:Je({active:(N=l.value)==null?void 0:N.bold}),onClick:R[0]||(R[0]=le=>x("bold"))},[O(A)],2),V("button",{class:Je({active:(_=l.value)==null?void 0:_.em}),onClick:R[1]||(R[1]=le=>x("em"))},[O(b)],2),V("button",{class:Je({active:(C=l.value)==null?void 0:C.underline}),onClick:R[2]||(R[2]=le=>x("underline"))},[O(M)],2),V("button",{class:Je({active:(X=l.value)==null?void 0:X.strikethrough}),onClick:R[3]||(R[3]=le=>x("strikethrough"))},[O(T)],2),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>{var le;return[O(_n,{modelValue:(le=l.value)==null?void 0:le.color,"onUpdate:modelValue":R[4]||(R[4]=Q=>x("color",Q))},null,8,["modelValue"])]}),default:oe(()=>[V("button",null,[O(w)])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>{var le;return[O(_n,{modelValue:(le=l.value)==null?void 0:le.backcolor,"onUpdate:modelValue":R[5]||(R[5]=Q=>x("backcolor",Q))},null,8,["modelValue"])]}),default:oe(()=>[V("button",null,[O(L)])]),_:1}),V("button",{class:Je({active:(Y=l.value)==null?void 0:Y.bulletList}),onClick:R[6]||(R[6]=le=>x("bulletList"))},[O(k)],2),V("button",{class:Je({active:($=l.value)==null?void 0:$.orderedList}),onClick:R[7]||(R[7]=le=>x("orderedList"))},[O(E)],2),V("button",{onClick:R[8]||(R[8]=le=>x("clear"))},[O(P)])],512)])),[[W,f]])}}}),p3e=Ue(h3e,[["__scopeId","data-v-4042a280"]]),v3e={class:"remark"},g3e=Ee({__name:"index",props:{height:{}},emits:["update:height"],setup(e,{emit:t}){const n=e,r=t,o=st(),{currentSlide:i}=Xe(o),a=ve();wt(()=>i.value.id,()=>{pr(()=>{a.value.updateTextContent()})},{immediate:!0});const s=Me(()=>{var u;return((u=i.value)==null?void 0:u.remark)||""}),l=u=>{o.updateSlide({remark:u})},c=u=>{let f=!0;const d=u.pageY,h=n.height;document.onmousemove=p=>{if(!f)return;let x=-(p.pageY-d)+h;x<40&&(x=40),x>360&&(x=360),r("update:height",x)},document.onmouseup=()=>{f=!1,document.onmousemove=null,document.onmouseup=null}};return(u,f)=>(U(),ee("div",v3e,[V("div",{class:"resize-handler",onMousedown:f[0]||(f[0]=d=>c(d))},null,32),O(p3e,{value:s.value,ref_key:"editorRef",ref:a,onUpdate:f[1]||(f[1]=d=>l(d))},null,8,["value"])]))}}),m3e=Ue(g3e,[["__scopeId","data-v-1c52a472"]]);var aE={exports:{}};(function(e,t){(function(n,r){r()})(kt,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,f){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){l(d.response,u,f)},d.onerror=function(){console.error("could not download file")},d.send()}function o(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function i(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof kt=="object"&&kt.global===kt?kt:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(c,u,f){var d=a.URL||a.webkitURL,h=document.createElement("a");u=u||c.name||"download",h.download=u,h.rel="noopener",typeof c=="string"?(h.href=c,h.origin===location.origin?i(h):o(h.href)?r(c,u,f):i(h,h.target="_blank")):(h.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){i(h)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,f){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,f),u);else if(o(c))r(c,u,f);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){i(d)})}}:function(c,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,f);var h=c.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||h&&p||s)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var R=m.result;R=v?R:R.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=R:location=R,d=null},m.readAsDataURL(c)}else{var x=a.URL||a.webkitURL,y=x.createObjectURL(c);d?d.location=y:location.href=y,d=null,setTimeout(function(){x.revokeObjectURL(y)},4e4)}});a.saveAs=l.saveAs=l,e.exports=l})})(aE);var g4=aE.exports,sE={exports:{}};/*!
|
||
|
||
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
||
<http://stuartk.com/jszip>
|
||
|
||
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
||
|
||
JSZip uses the library pako released under the MIT license :
|
||
https://github.com/nodeca/pako/blob/main/LICENSE
|
||
*/(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,o,i){function a(c,u){if(!o[c]){if(!r[c]){var f=typeof H0=="function"&&H0;if(!u&&f)return f(c,!0);if(s)return s(c,!0);var d=new Error("Cannot find module '"+c+"'");throw d.code="MODULE_NOT_FOUND",d}var h=o[c]={exports:{}};r[c][0].call(h.exports,function(p){var v=r[c][1][p];return a(v||p)},h,h.exports,n,r,o,i)}return o[c].exports}for(var s=typeof H0=="function"&&H0,l=0;l<i.length;l++)a(i[l]);return a}({1:[function(n,r,o){var i=n("./utils"),a=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.encode=function(l){for(var c,u,f,d,h,p,v,m=[],x=0,y=l.length,R=y,A=i.getTypeOf(l)!=="string";x<l.length;)R=y-x,f=A?(c=l[x++],u=x<y?l[x++]:0,x<y?l[x++]:0):(c=l.charCodeAt(x++),u=x<y?l.charCodeAt(x++):0,x<y?l.charCodeAt(x++):0),d=c>>2,h=(3&c)<<4|u>>4,p=1<R?(15&u)<<2|f>>6:64,v=2<R?63&f:64,m.push(s.charAt(d)+s.charAt(h)+s.charAt(p)+s.charAt(v));return m.join("")},o.decode=function(l){var c,u,f,d,h,p,v=0,m=0,x="data:";if(l.substr(0,x.length)===x)throw new Error("Invalid base64 input, it looks like a data url.");var y,R=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===s.charAt(64)&&R--,l.charAt(l.length-2)===s.charAt(64)&&R--,R%1!=0)throw new Error("Invalid base64 input, bad content length.");for(y=a.uint8array?new Uint8Array(0|R):new Array(0|R);v<l.length;)c=s.indexOf(l.charAt(v++))<<2|(d=s.indexOf(l.charAt(v++)))>>4,u=(15&d)<<4|(h=s.indexOf(l.charAt(v++)))>>2,f=(3&h)<<6|(p=s.indexOf(l.charAt(v++))),y[m++]=c,h!==64&&(y[m++]=u),p!==64&&(y[m++]=f);return y}},{"./support":30,"./utils":32}],2:[function(n,r,o){var i=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function c(u,f,d,h,p){this.compressedSize=u,this.uncompressedSize=f,this.crc32=d,this.compression=h,this.compressedContent=p}c.prototype={getContentWorker:function(){var u=new a(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),f=this;return u.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new a(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(u,f,d){return u.pipe(new s).pipe(new l("uncompressedSize")).pipe(f.compressWorker(d)).pipe(new l("compressedSize")).withStreamInfo("compression",f)},r.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,o){var i=n("./stream/GenericWorker");o.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},o.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,o){var i=n("./utils"),a=function(){for(var s,l=[],c=0;c<256;c++){s=c;for(var u=0;u<8;u++)s=1&s?3988292384^s>>>1:s>>>1;l[c]=s}return l}();r.exports=function(s,l){return s!==void 0&&s.length?i.getTypeOf(s)!=="string"?function(c,u,f,d){var h=a,p=d+f;c^=-1;for(var v=d;v<p;v++)c=c>>>8^h[255&(c^u[v])];return-1^c}(0|l,s,s.length,0):function(c,u,f,d){var h=a,p=d+f;c^=-1;for(var v=d;v<p;v++)c=c>>>8^h[255&(c^u.charCodeAt(v))];return-1^c}(0|l,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,o){o.base64=!1,o.binary=!1,o.dir=!1,o.createFolders=!0,o.date=null,o.compression=null,o.compressionOptions=null,o.comment=null,o.unixPermissions=null,o.dosPermissions=null},{}],6:[function(n,r,o){var i=null;i=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:i}},{lie:37}],7:[function(n,r,o){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),s=n("./utils"),l=n("./stream/GenericWorker"),c=i?"uint8array":"array";function u(f,d){l.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=d,this.meta={}}o.magic="\b\0",s.inherits(u,l),u.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(c,f.data),!1)},u.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(d){f.push({data:d,meta:f.meta})}},o.compressWorker=function(f){return new u("Deflate",f)},o.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,o){function i(h,p){var v,m="";for(v=0;v<p;v++)m+=String.fromCharCode(255&h),h>>>=8;return m}function a(h,p,v,m,x,y){var R,A,b=h.file,M=h.compression,T=y!==c.utf8encode,w=s.transformTo("string",y(b.name)),L=s.transformTo("string",c.utf8encode(b.name)),k=b.comment,E=s.transformTo("string",y(k)),P=s.transformTo("string",c.utf8encode(k)),W=L.length!==b.name.length,N=P.length!==k.length,_="",C="",X="",Y=b.dir,$=b.date,le={crc32:0,compressedSize:0,uncompressedSize:0};p&&!v||(le.crc32=h.crc32,le.compressedSize=h.compressedSize,le.uncompressedSize=h.uncompressedSize);var Q=0;p&&(Q|=8),T||!W&&!N||(Q|=2048);var K=0,B=0;Y&&(K|=16),x==="UNIX"?(B=798,K|=function(G,ae){var se=G;return G||(se=ae?16893:33204),(65535&se)<<16}(b.unixPermissions,Y)):(B=20,K|=function(G){return 63&(G||0)}(b.dosPermissions)),R=$.getUTCHours(),R<<=6,R|=$.getUTCMinutes(),R<<=5,R|=$.getUTCSeconds()/2,A=$.getUTCFullYear()-1980,A<<=4,A|=$.getUTCMonth()+1,A<<=5,A|=$.getUTCDate(),W&&(C=i(1,1)+i(u(w),4)+L,_+="up"+i(C.length,2)+C),N&&(X=i(1,1)+i(u(E),4)+P,_+="uc"+i(X.length,2)+X);var D="";return D+=`
|
||
\0`,D+=i(Q,2),D+=M.magic,D+=i(R,2),D+=i(A,2),D+=i(le.crc32,4),D+=i(le.compressedSize,4),D+=i(le.uncompressedSize,4),D+=i(w.length,2),D+=i(_.length,2),{fileRecord:f.LOCAL_FILE_HEADER+D+w+_,dirRecord:f.CENTRAL_FILE_HEADER+i(B,2)+D+i(E.length,2)+"\0\0\0\0"+i(K,4)+i(m,4)+w+_+E}}var s=n("../utils"),l=n("../stream/GenericWorker"),c=n("../utf8"),u=n("../crc32"),f=n("../signature");function d(h,p,v,m){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=v,this.encodeFileName=m,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,l),d.prototype.push=function(h){var p=h.meta.percent||0,v=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,l.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:v?(p+100*(v-m-1))/v:100}}))},d.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var p=this.streamFiles&&!h.file.dir;if(p){var v=a(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:v.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,v=a(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(v.dirRecord),p)this.push({data:function(m){return f.DATA_DESCRIPTOR+i(m.crc32,4)+i(m.compressedSize,4)+i(m.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:v.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var h=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var v=this.bytesWritten-h,m=function(x,y,R,A,b){var M=s.transformTo("string",b(A));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(x,2)+i(x,2)+i(y,4)+i(R,4)+i(M.length,2)+M}(this.dirRecords.length,v,h,this.zipComment,this.encodeFileName);this.push({data:m,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(h){this._sources.push(h);var p=this;return h.on("data",function(v){p.processChunk(v)}),h.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),h.on("error",function(v){p.error(v)}),this},d.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(h){var p=this._sources;if(!l.prototype.error.call(this,h))return!1;for(var v=0;v<p.length;v++)try{p[v].error(h)}catch{}return!0},d.prototype.lock=function(){l.prototype.lock.call(this);for(var h=this._sources,p=0;p<h.length;p++)h[p].lock()},r.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,o){var i=n("../compressions"),a=n("./ZipFileWorker");o.generateWorker=function(s,l,c){var u=new a(l.streamFiles,c,l.platform,l.encodeFileName),f=0;try{s.forEach(function(d,h){f++;var p=function(y,R){var A=y||R,b=i[A];if(!b)throw new Error(A+" is not a valid compression method !");return b}(h.options.compression,l.compression),v=h.options.compressionOptions||l.compressionOptions||{},m=h.dir,x=h.date;h._compressWorker(p,v).withStreamInfo("file",{name:d,dir:m,date:x,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(u)}),u.entriesCount=f}catch(d){u.error(d)}return u}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,o){function i(){if(!(this instanceof i))return new i;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 a=new i;for(var s in this)typeof this[s]!="function"&&(a[s]=this[s]);return a}}(i.prototype=n("./object")).loadAsync=n("./load"),i.support=n("./support"),i.defaults=n("./defaults"),i.version="3.10.1",i.loadAsync=function(a,s){return new i().loadAsync(a,s)},i.external=n("./external"),r.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,o){var i=n("./utils"),a=n("./external"),s=n("./utf8"),l=n("./zipEntries"),c=n("./stream/Crc32Probe"),u=n("./nodejsUtils");function f(d){return new a.Promise(function(h,p){var v=d.decompressed.getContentWorker().pipe(new c);v.on("error",function(m){p(m)}).on("end",function(){v.streamInfo.crc32!==d.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}r.exports=function(d,h){var p=this;return h=i.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),u.isNode&&u.isStream(d)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",d,!0,h.optimizedBinaryString,h.base64).then(function(v){var m=new l(h);return m.load(v),m}).then(function(v){var m=[a.Promise.resolve(v)],x=v.files;if(h.checkCRC32)for(var y=0;y<x.length;y++)m.push(f(x[y]));return a.Promise.all(m)}).then(function(v){for(var m=v.shift(),x=m.files,y=0;y<x.length;y++){var R=x[y],A=R.fileNameStr,b=i.resolve(R.fileNameStr);p.file(b,R.decompressed,{binary:!0,optimizedBinaryString:!0,date:R.date,dir:R.dir,comment:R.fileCommentStr.length?R.fileCommentStr:null,unixPermissions:R.unixPermissions,dosPermissions:R.dosPermissions,createFolders:h.createFolders}),R.dir||(p.file(b).unsafeOriginalName=A)}return m.zipComment.length&&(p.comment=m.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,o){var i=n("../utils"),a=n("../stream/GenericWorker");function s(l,c){a.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(c)}i.inherits(s,a),s.prototype._bindStream=function(l){var c=this;(this._stream=l).pause(),l.on("data",function(u){c.push({data:u,meta:{percent:0}})}).on("error",function(u){c.isPaused?this.generatedError=u:c.error(u)}).on("end",function(){c.isPaused?c._upstreamEnded=!0:c.end()})},s.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,o){var i=n("readable-stream").Readable;function a(s,l,c){i.call(this,l),this._helper=s;var u=this;s.on("data",function(f,d){u.push(f)||u._helper.pause(),c&&c(d)}).on("error",function(f){u.emit("error",f)}).on("end",function(){u.push(null)})}n("../utils").inherits(a,i),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(n,r,o){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(i,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(i,a);if(typeof i=="number")throw new Error('The "data" argument must not be a number');return new Buffer(i,a)},allocBuffer:function(i){if(Buffer.alloc)return Buffer.alloc(i);var a=new Buffer(i);return a.fill(0),a},isBuffer:function(i){return Buffer.isBuffer(i)},isStream:function(i){return i&&typeof i.on=="function"&&typeof i.pause=="function"&&typeof i.resume=="function"}}},{}],15:[function(n,r,o){function i(b,M,T){var w,L=s.getTypeOf(M),k=s.extend(T||{},u);k.date=k.date||new Date,k.compression!==null&&(k.compression=k.compression.toUpperCase()),typeof k.unixPermissions=="string"&&(k.unixPermissions=parseInt(k.unixPermissions,8)),k.unixPermissions&&16384&k.unixPermissions&&(k.dir=!0),k.dosPermissions&&16&k.dosPermissions&&(k.dir=!0),k.dir&&(b=x(b)),k.createFolders&&(w=m(b))&&y.call(this,w,!0);var E=L==="string"&&k.binary===!1&&k.base64===!1;T&&T.binary!==void 0||(k.binary=!E),(M instanceof f&&M.uncompressedSize===0||k.dir||!M||M.length===0)&&(k.base64=!1,k.binary=!0,M="",k.compression="STORE",L="string");var P=null;P=M instanceof f||M instanceof l?M:p.isNode&&p.isStream(M)?new v(b,M):s.prepareContent(b,M,k.binary,k.optimizedBinaryString,k.base64);var W=new d(b,P,k);this.files[b]=W}var a=n("./utf8"),s=n("./utils"),l=n("./stream/GenericWorker"),c=n("./stream/StreamHelper"),u=n("./defaults"),f=n("./compressedObject"),d=n("./zipObject"),h=n("./generate"),p=n("./nodejsUtils"),v=n("./nodejs/NodejsStreamInputAdapter"),m=function(b){b.slice(-1)==="/"&&(b=b.substring(0,b.length-1));var M=b.lastIndexOf("/");return 0<M?b.substring(0,M):""},x=function(b){return b.slice(-1)!=="/"&&(b+="/"),b},y=function(b,M){return M=M!==void 0?M:u.createFolders,b=x(b),this.files[b]||i.call(this,b,null,{dir:!0,createFolders:M}),this.files[b]};function R(b){return Object.prototype.toString.call(b)==="[object RegExp]"}var A={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(b){var M,T,w;for(M in this.files)w=this.files[M],(T=M.slice(this.root.length,M.length))&&M.slice(0,this.root.length)===this.root&&b(T,w)},filter:function(b){var M=[];return this.forEach(function(T,w){b(T,w)&&M.push(w)}),M},file:function(b,M,T){if(arguments.length!==1)return b=this.root+b,i.call(this,b,M,T),this;if(R(b)){var w=b;return this.filter(function(k,E){return!E.dir&&w.test(k)})}var L=this.files[this.root+b];return L&&!L.dir?L:null},folder:function(b){if(!b)return this;if(R(b))return this.filter(function(L,k){return k.dir&&b.test(L)});var M=this.root+b,T=y.call(this,M),w=this.clone();return w.root=T.name,w},remove:function(b){b=this.root+b;var M=this.files[b];if(M||(b.slice(-1)!=="/"&&(b+="/"),M=this.files[b]),M&&!M.dir)delete this.files[b];else for(var T=this.filter(function(L,k){return k.name.slice(0,b.length)===b}),w=0;w<T.length;w++)delete this.files[T[w].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(b){var M,T={};try{if((T=s.extend(b||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=T.type.toLowerCase(),T.compression=T.compression.toUpperCase(),T.type==="binarystring"&&(T.type="string"),!T.type)throw new Error("No output type specified.");s.checkSupport(T.type),T.platform!=="darwin"&&T.platform!=="freebsd"&&T.platform!=="linux"&&T.platform!=="sunos"||(T.platform="UNIX"),T.platform==="win32"&&(T.platform="DOS");var w=T.comment||this.comment||"";M=h.generateWorker(this,T,w)}catch(L){(M=new l("error")).error(L)}return new c(M,T.type||"string",T.mimeType)},generateAsync:function(b,M){return this.generateInternalStream(b).accumulate(M)},generateNodeStream:function(b,M){return(b=b||{}).type||(b.type="nodebuffer"),this.generateInternalStream(b).toNodejsStream(M)}};r.exports=A},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,o){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,o){var i=n("./DataReader");function a(s){i.call(this,s);for(var l=0;l<this.data.length;l++)s[l]=255&s[l]}n("../utils").inherits(a,i),a.prototype.byteAt=function(s){return this.data[this.zero+s]},a.prototype.lastIndexOfSignature=function(s){for(var l=s.charCodeAt(0),c=s.charCodeAt(1),u=s.charCodeAt(2),f=s.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===l&&this.data[d+1]===c&&this.data[d+2]===u&&this.data[d+3]===f)return d-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var l=s.charCodeAt(0),c=s.charCodeAt(1),u=s.charCodeAt(2),f=s.charCodeAt(3),d=this.readData(4);return l===d[0]&&c===d[1]&&u===d[2]&&f===d[3]},a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./DataReader":18}],18:[function(n,r,o){var i=n("../utils");function a(s){this.data=s,this.length=s.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(s){this.checkIndex(this.index+s)},checkIndex:function(s){if(this.length<this.zero+s||s<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+s+"). Corrupted zip ?")},setIndex:function(s){this.checkIndex(s),this.index=s},skip:function(s){this.setIndex(this.index+s)},byteAt:function(){},readInt:function(s){var l,c=0;for(this.checkOffset(s),l=this.index+s-1;l>=this.index;l--)c=(c<<8)+this.byteAt(l);return this.index+=s,c},readString:function(s){return i.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,o){var i=n("./Uint8ArrayReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,o){var i=n("./DataReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,o){var i=n("./ArrayReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,o){var i=n("../utils"),a=n("../support"),s=n("./ArrayReader"),l=n("./StringReader"),c=n("./NodeBufferReader"),u=n("./Uint8ArrayReader");r.exports=function(f){var d=i.getTypeOf(f);return i.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new c(f):a.uint8array?new u(i.transformTo("uint8array",f)):new s(i.transformTo("array",f)):new l(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,o){o.LOCAL_FILE_HEADER="PK",o.CENTRAL_FILE_HEADER="PK",o.CENTRAL_DIRECTORY_END="PK",o.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",o.ZIP64_CENTRAL_DIRECTORY_END="PK",o.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,o){var i=n("./GenericWorker"),a=n("../utils");function s(l){i.call(this,"ConvertWorker to "+l),this.destType=l}a.inherits(s,i),s.prototype.processChunk=function(l){this.push({data:a.transformTo(this.destType,l.data),meta:l.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,o){var i=n("./GenericWorker"),a=n("../crc32");function s(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,i),s.prototype.processChunk=function(l){this.streamInfo.crc32=a(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,o){var i=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}i.inherits(s,a),s.prototype.processChunk=function(l){if(l){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+l.data.length}a.prototype.processChunk.call(this,l)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,o){var i=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(u){c.dataIsReady=!0,c.data=u,c.max=u&&u.length||0,c.type=i.getTypeOf(u),c.isPaused||c._tickAndRepeat()},function(u){c.error(u)})}i.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,c);break;case"uint8array":l=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":l=this.data.slice(this.index,c)}return this.index=c,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,o){function i(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var l=0;l<this._listeners[a].length;l++)this._listeners[a][l].call(this,s)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var s=this;return a.on("data",function(l){s.processChunk(l)}),a.on("end",function(){s.end()}),a.on("error",function(l){s.error(l)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,s){return this.extraStreamInfo[a]=s,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},r.exports=i},{}],29:[function(n,r,o){var i=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),l=n("../base64"),c=n("../support"),u=n("../external"),f=null;if(c.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,v){return new u.Promise(function(m,x){var y=[],R=p._internalType,A=p._outputType,b=p._mimeType;p.on("data",function(M,T){y.push(M),v&&v(T)}).on("error",function(M){y=[],x(M)}).on("end",function(){try{var M=function(T,w,L){switch(T){case"blob":return i.newBlob(i.transformTo("arraybuffer",w),L);case"base64":return l.encode(w);default:return i.transformTo(T,w)}}(A,function(T,w){var L,k=0,E=null,P=0;for(L=0;L<w.length;L++)P+=w[L].length;switch(T){case"string":return w.join("");case"array":return Array.prototype.concat.apply([],w);case"uint8array":for(E=new Uint8Array(P),L=0;L<w.length;L++)E.set(w[L],k),k+=w[L].length;return E;case"nodebuffer":return Buffer.concat(w);default:throw new Error("concat : unsupported type '"+T+"'")}}(R,y),b);m(M)}catch(T){x(T)}y=[]}).resume()})}function h(p,v,m){var x=v;switch(v){case"blob":case"arraybuffer":x="uint8array";break;case"base64":x="string"}try{this._internalType=x,this._outputType=v,this._mimeType=m,i.checkSupport(x),this._worker=p.pipe(new a(x)),p.lock()}catch(y){this._worker=new s("error"),this._worker.error(y)}}h.prototype={accumulate:function(p){return d(this,p)},on:function(p,v){var m=this;return p==="data"?this._worker.on(p,function(x){v.call(m,x.data,x.meta)}):this._worker.on(p,function(){i.delay(v,arguments,m)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(i.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},p)}},r.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,o){if(o.base64=!0,o.array=!0,o.string=!0,o.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",o.nodebuffer=typeof Buffer<"u",o.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")o.blob=!1;else{var i=new ArrayBuffer(0);try{o.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(i),o.blob=a.getBlob("application/zip").size===0}catch{o.blob=!1}}}try{o.nodestream=!!n("readable-stream").Readable}catch{o.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,o){for(var i=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),l=n("./stream/GenericWorker"),c=new Array(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;c[254]=c[254]=1;function f(){l.call(this,"utf-8 decode"),this.leftOver=null}function d(){l.call(this,"utf-8 encode")}o.utf8encode=function(h){return a.nodebuffer?s.newBufferFrom(h,"utf-8"):function(p){var v,m,x,y,R,A=p.length,b=0;for(y=0;y<A;y++)(64512&(m=p.charCodeAt(y)))==55296&&y+1<A&&(64512&(x=p.charCodeAt(y+1)))==56320&&(m=65536+(m-55296<<10)+(x-56320),y++),b+=m<128?1:m<2048?2:m<65536?3:4;for(v=a.uint8array?new Uint8Array(b):new Array(b),y=R=0;R<b;y++)(64512&(m=p.charCodeAt(y)))==55296&&y+1<A&&(64512&(x=p.charCodeAt(y+1)))==56320&&(m=65536+(m-55296<<10)+(x-56320),y++),m<128?v[R++]=m:(m<2048?v[R++]=192|m>>>6:(m<65536?v[R++]=224|m>>>12:(v[R++]=240|m>>>18,v[R++]=128|m>>>12&63),v[R++]=128|m>>>6&63),v[R++]=128|63&m);return v}(h)},o.utf8decode=function(h){return a.nodebuffer?i.transformTo("nodebuffer",h).toString("utf-8"):function(p){var v,m,x,y,R=p.length,A=new Array(2*R);for(v=m=0;v<R;)if((x=p[v++])<128)A[m++]=x;else if(4<(y=c[x]))A[m++]=65533,v+=y-1;else{for(x&=y===2?31:y===3?15:7;1<y&&v<R;)x=x<<6|63&p[v++],y--;1<y?A[m++]=65533:x<65536?A[m++]=x:(x-=65536,A[m++]=55296|x>>10&1023,A[m++]=56320|1023&x)}return A.length!==m&&(A.subarray?A=A.subarray(0,m):A.length=m),i.applyFromCharCode(A)}(h=i.transformTo(a.uint8array?"uint8array":"array",h))},i.inherits(f,l),f.prototype.processChunk=function(h){var p=i.transformTo(a.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var v=p;(p=new Uint8Array(v.length+this.leftOver.length)).set(this.leftOver,0),p.set(v,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var m=function(y,R){var A;for((R=R||y.length)>y.length&&(R=y.length),A=R-1;0<=A&&(192&y[A])==128;)A--;return A<0||A===0?R:A+c[y[A]]>R?A:R}(p),x=p;m!==p.length&&(a.uint8array?(x=p.subarray(0,m),this.leftOver=p.subarray(m,p.length)):(x=p.slice(0,m),this.leftOver=p.slice(m,p.length))),this.push({data:o.utf8decode(x),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=f,i.inherits(d,l),d.prototype.processChunk=function(h){this.push({data:o.utf8encode(h.data),meta:h.meta})},o.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,o){var i=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),l=n("./external");function c(v){return v}function u(v,m){for(var x=0;x<v.length;++x)m[x]=255&v.charCodeAt(x);return m}n("setimmediate"),o.newBlob=function(v,m){o.checkSupport("blob");try{return new Blob([v],{type:m})}catch{try{var x=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return x.append(v),x.getBlob(m)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(v,m,x){var y=[],R=0,A=v.length;if(A<=x)return String.fromCharCode.apply(null,v);for(;R<A;)m==="array"||m==="nodebuffer"?y.push(String.fromCharCode.apply(null,v.slice(R,Math.min(R+x,A)))):y.push(String.fromCharCode.apply(null,v.subarray(R,Math.min(R+x,A)))),R+=x;return y.join("")},stringifyByChar:function(v){for(var m="",x=0;x<v.length;x++)m+=String.fromCharCode(v[x]);return m},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function d(v){var m=65536,x=o.getTypeOf(v),y=!0;if(x==="uint8array"?y=f.applyCanBeUsed.uint8array:x==="nodebuffer"&&(y=f.applyCanBeUsed.nodebuffer),y)for(;1<m;)try{return f.stringifyByChunk(v,x,m)}catch{m=Math.floor(m/2)}return f.stringifyByChar(v)}function h(v,m){for(var x=0;x<v.length;x++)m[x]=v[x];return m}o.applyFromCharCode=d;var p={};p.string={string:c,array:function(v){return u(v,new Array(v.length))},arraybuffer:function(v){return p.string.uint8array(v).buffer},uint8array:function(v){return u(v,new Uint8Array(v.length))},nodebuffer:function(v){return u(v,s.allocBuffer(v.length))}},p.array={string:d,array:c,arraybuffer:function(v){return new Uint8Array(v).buffer},uint8array:function(v){return new Uint8Array(v)},nodebuffer:function(v){return s.newBufferFrom(v)}},p.arraybuffer={string:function(v){return d(new Uint8Array(v))},array:function(v){return h(new Uint8Array(v),new Array(v.byteLength))},arraybuffer:c,uint8array:function(v){return new Uint8Array(v)},nodebuffer:function(v){return s.newBufferFrom(new Uint8Array(v))}},p.uint8array={string:d,array:function(v){return h(v,new Array(v.length))},arraybuffer:function(v){return v.buffer},uint8array:c,nodebuffer:function(v){return s.newBufferFrom(v)}},p.nodebuffer={string:d,array:function(v){return h(v,new Array(v.length))},arraybuffer:function(v){return p.nodebuffer.uint8array(v).buffer},uint8array:function(v){return h(v,new Uint8Array(v.length))},nodebuffer:c},o.transformTo=function(v,m){if(m=m||"",!v)return m;o.checkSupport(v);var x=o.getTypeOf(m);return p[x][v](m)},o.resolve=function(v){for(var m=v.split("/"),x=[],y=0;y<m.length;y++){var R=m[y];R==="."||R===""&&y!==0&&y!==m.length-1||(R===".."?x.pop():x.push(R))}return x.join("/")},o.getTypeOf=function(v){return typeof v=="string"?"string":Object.prototype.toString.call(v)==="[object Array]"?"array":i.nodebuffer&&s.isBuffer(v)?"nodebuffer":i.uint8array&&v instanceof Uint8Array?"uint8array":i.arraybuffer&&v instanceof ArrayBuffer?"arraybuffer":void 0},o.checkSupport=function(v){if(!i[v.toLowerCase()])throw new Error(v+" is not supported by this platform")},o.MAX_VALUE_16BITS=65535,o.MAX_VALUE_32BITS=-1,o.pretty=function(v){var m,x,y="";for(x=0;x<(v||"").length;x++)y+="\\x"+((m=v.charCodeAt(x))<16?"0":"")+m.toString(16).toUpperCase();return y},o.delay=function(v,m,x){setImmediate(function(){v.apply(x||null,m||[])})},o.inherits=function(v,m){function x(){}x.prototype=m.prototype,v.prototype=new x},o.extend=function(){var v,m,x={};for(v=0;v<arguments.length;v++)for(m in arguments[v])Object.prototype.hasOwnProperty.call(arguments[v],m)&&x[m]===void 0&&(x[m]=arguments[v][m]);return x},o.prepareContent=function(v,m,x,y,R){return l.Promise.resolve(m).then(function(A){return i.blob&&(A instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(A))!==-1)&&typeof FileReader<"u"?new l.Promise(function(b,M){var T=new FileReader;T.onload=function(w){b(w.target.result)},T.onerror=function(w){M(w.target.error)},T.readAsArrayBuffer(A)}):A}).then(function(A){var b=o.getTypeOf(A);return b?(b==="arraybuffer"?A=o.transformTo("uint8array",A):b==="string"&&(R?A=a.decode(A):x&&y!==!0&&(A=function(M){return u(M,i.uint8array?new Uint8Array(M.length):new Array(M.length))}(A))),A):l.Promise.reject(new Error("Can't read the data of '"+v+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,o){var i=n("./reader/readerFor"),a=n("./utils"),s=n("./signature"),l=n("./zipEntry"),c=n("./support");function u(f){this.files=[],this.loadOptions=f}u.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var d=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(d)+", expected "+a.pretty(f)+")")}},isSignature:function(f,d){var h=this.reader.index;this.reader.setIndex(f);var p=this.reader.readString(4)===d;return this.reader.setIndex(h),p},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),d=c.uint8array?"uint8array":"array",h=a.transformTo(d,f);this.zipComment=this.loadOptions.decodeFileName(h)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,d,h,p=this.zip64EndOfCentralSize-44;0<p;)f=this.reader.readInt(2),d=this.reader.readInt(4),h=this.reader.readData(d),this.zip64ExtensibleData[f]={id:f,length:d,value:h}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,d;for(f=0;f<this.files.length;f++)d=this.files[f],this.reader.setIndex(d.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),d.readLocalPart(this.reader),d.handleUTF8(),d.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(f=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var d=f;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var h=this.centralDirOffset+this.centralDirSize;this.zip64&&(h+=20,h+=12+this.zip64EndOfCentralSize);var p=d-h;if(0<p)this.isSignature(d,s.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(f){this.reader=i(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,o){var i=n("./reader/readerFor"),a=n("./utils"),s=n("./compressedObject"),l=n("./crc32"),c=n("./utf8"),u=n("./compressions"),f=n("./support");function d(h,p){this.options=h,this.loadOptions=p}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var p,v;if(h.skip(22),this.fileNameLength=h.readInt(2),v=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(v),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((p=function(m){for(var x in u)if(Object.prototype.hasOwnProperty.call(u,x)&&u[x].magic===m)return u[x];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,p,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var p=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(p),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=i(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var p,v,m,x=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<x;)p=h.readInt(2),v=h.readInt(2),m=h.readData(v),this.extraFields[p]={id:p,length:v,value:m};h.setIndex(x)},handleUTF8:function(){var h=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=c.utf8decode(this.fileName),this.fileCommentStr=c.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var v=a.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(v)}var m=this.findExtraFieldUnicodeComment();if(m!==null)this.fileCommentStr=m;else{var x=a.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(x)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var p=i(h.value);return p.readInt(1)!==1||l(this.fileName)!==p.readInt(4)?null:c.utf8decode(p.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var p=i(h.value);return p.readInt(1)!==1||l(this.fileComment)!==p.readInt(4)?null:c.utf8decode(p.readData(h.length-5))}return null}},r.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,o){function i(p,v,m){this.name=p,this.dir=m.dir,this.date=m.date,this.comment=m.comment,this.unixPermissions=m.unixPermissions,this.dosPermissions=m.dosPermissions,this._data=v,this._dataBinary=m.binary,this.options={compression:m.compression,compressionOptions:m.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),l=n("./utf8"),c=n("./compressedObject"),u=n("./stream/GenericWorker");i.prototype={internalStream:function(p){var v=null,m="string";try{if(!p)throw new Error("No output type specified.");var x=(m=p.toLowerCase())==="string"||m==="text";m!=="binarystring"&&m!=="text"||(m="string"),v=this._decompressWorker();var y=!this._dataBinary;y&&!x&&(v=v.pipe(new l.Utf8EncodeWorker)),!y&&x&&(v=v.pipe(new l.Utf8DecodeWorker))}catch(R){(v=new u("error")).error(R)}return new a(v,m,"")},async:function(p,v){return this.internalStream(p).accumulate(v)},nodeStream:function(p,v){return this.internalStream(p||"nodebuffer").toNodejsStream(v)},_compressWorker:function(p,v){if(this._data instanceof c&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var m=this._decompressWorker();return this._dataBinary||(m=m.pipe(new l.Utf8EncodeWorker)),c.createWorkerFrom(m,p,v)},_decompressWorker:function(){return this._data instanceof c?this._data.getContentWorker():this._data instanceof u?this._data:new s(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<f.length;h++)i.prototype[f[h]]=d;r.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,o){(function(i){var a,s,l=i.MutationObserver||i.WebKitMutationObserver;if(l){var c=0,u=new l(p),f=i.document.createTextNode("");u.observe(f,{characterData:!0}),a=function(){f.data=c=++c%2}}else if(i.setImmediate||i.MessageChannel===void 0)a="document"in i&&"onreadystatechange"in i.document.createElement("script")?function(){var v=i.document.createElement("script");v.onreadystatechange=function(){p(),v.onreadystatechange=null,v.parentNode.removeChild(v),v=null},i.document.documentElement.appendChild(v)}:function(){setTimeout(p,0)};else{var d=new i.MessageChannel;d.port1.onmessage=p,a=function(){d.port2.postMessage(0)}}var h=[];function p(){var v,m;s=!0;for(var x=h.length;x;){for(m=h,h=[],v=-1;++v<x;)m[v]();x=h.length}s=!1}r.exports=function(v){h.push(v)!==1||s||a()}}).call(this,typeof kt<"u"?kt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,o){var i=n("immediate");function a(){}var s={},l=["REJECTED"],c=["FULFILLED"],u=["PENDING"];function f(x){if(typeof x!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,x!==a&&v(this,x)}function d(x,y,R){this.promise=x,typeof y=="function"&&(this.onFulfilled=y,this.callFulfilled=this.otherCallFulfilled),typeof R=="function"&&(this.onRejected=R,this.callRejected=this.otherCallRejected)}function h(x,y,R){i(function(){var A;try{A=y(R)}catch(b){return s.reject(x,b)}A===x?s.reject(x,new TypeError("Cannot resolve promise with itself")):s.resolve(x,A)})}function p(x){var y=x&&x.then;if(x&&(typeof x=="object"||typeof x=="function")&&typeof y=="function")return function(){y.apply(x,arguments)}}function v(x,y){var R=!1;function A(T){R||(R=!0,s.reject(x,T))}function b(T){R||(R=!0,s.resolve(x,T))}var M=m(function(){y(b,A)});M.status==="error"&&A(M.value)}function m(x,y){var R={};try{R.value=x(y),R.status="success"}catch(A){R.status="error",R.value=A}return R}(r.exports=f).prototype.finally=function(x){if(typeof x!="function")return this;var y=this.constructor;return this.then(function(R){return y.resolve(x()).then(function(){return R})},function(R){return y.resolve(x()).then(function(){throw R})})},f.prototype.catch=function(x){return this.then(null,x)},f.prototype.then=function(x,y){if(typeof x!="function"&&this.state===c||typeof y!="function"&&this.state===l)return this;var R=new this.constructor(a);return this.state!==u?h(R,this.state===c?x:y,this.outcome):this.queue.push(new d(R,x,y)),R},d.prototype.callFulfilled=function(x){s.resolve(this.promise,x)},d.prototype.otherCallFulfilled=function(x){h(this.promise,this.onFulfilled,x)},d.prototype.callRejected=function(x){s.reject(this.promise,x)},d.prototype.otherCallRejected=function(x){h(this.promise,this.onRejected,x)},s.resolve=function(x,y){var R=m(p,y);if(R.status==="error")return s.reject(x,R.value);var A=R.value;if(A)v(x,A);else{x.state=c,x.outcome=y;for(var b=-1,M=x.queue.length;++b<M;)x.queue[b].callFulfilled(y)}return x},s.reject=function(x,y){x.state=l,x.outcome=y;for(var R=-1,A=x.queue.length;++R<A;)x.queue[R].callRejected(y);return x},f.resolve=function(x){return x instanceof this?x:s.resolve(new this(a),x)},f.reject=function(x){var y=new this(a);return s.reject(y,x)},f.all=function(x){var y=this;if(Object.prototype.toString.call(x)!=="[object Array]")return this.reject(new TypeError("must be an array"));var R=x.length,A=!1;if(!R)return this.resolve([]);for(var b=new Array(R),M=0,T=-1,w=new this(a);++T<R;)L(x[T],T);return w;function L(k,E){y.resolve(k).then(function(P){b[E]=P,++M!==R||A||(A=!0,s.resolve(w,b))},function(P){A||(A=!0,s.reject(w,P))})}},f.race=function(x){var y=this;if(Object.prototype.toString.call(x)!=="[object Array]")return this.reject(new TypeError("must be an array"));var R=x.length,A=!1;if(!R)return this.resolve([]);for(var b=-1,M=new this(a);++b<R;)T=x[b],y.resolve(T).then(function(w){A||(A=!0,s.resolve(M,w))},function(w){A||(A=!0,s.reject(M,w))});var T;return M}},{immediate:36}],38:[function(n,r,o){var i={};(0,n("./lib/utils/common").assign)(i,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,o){var i=n("./zlib/deflate"),a=n("./utils/common"),s=n("./utils/strings"),l=n("./zlib/messages"),c=n("./zlib/zstream"),u=Object.prototype.toString,f=0,d=-1,h=0,p=8;function v(x){if(!(this instanceof v))return new v(x);this.options=a.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},x||{});var y=this.options;y.raw&&0<y.windowBits?y.windowBits=-y.windowBits:y.gzip&&0<y.windowBits&&y.windowBits<16&&(y.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var R=i.deflateInit2(this.strm,y.level,y.method,y.windowBits,y.memLevel,y.strategy);if(R!==f)throw new Error(l[R]);if(y.header&&i.deflateSetHeader(this.strm,y.header),y.dictionary){var A;if(A=typeof y.dictionary=="string"?s.string2buf(y.dictionary):u.call(y.dictionary)==="[object ArrayBuffer]"?new Uint8Array(y.dictionary):y.dictionary,(R=i.deflateSetDictionary(this.strm,A))!==f)throw new Error(l[R]);this._dict_set=!0}}function m(x,y){var R=new v(y);if(R.push(x,!0),R.err)throw R.msg||l[R.err];return R.result}v.prototype.push=function(x,y){var R,A,b=this.strm,M=this.options.chunkSize;if(this.ended)return!1;A=y===~~y?y:y===!0?4:0,typeof x=="string"?b.input=s.string2buf(x):u.call(x)==="[object ArrayBuffer]"?b.input=new Uint8Array(x):b.input=x,b.next_in=0,b.avail_in=b.input.length;do{if(b.avail_out===0&&(b.output=new a.Buf8(M),b.next_out=0,b.avail_out=M),(R=i.deflate(b,A))!==1&&R!==f)return this.onEnd(R),!(this.ended=!0);b.avail_out!==0&&(b.avail_in!==0||A!==4&&A!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(b.output,b.next_out))):this.onData(a.shrinkBuf(b.output,b.next_out)))}while((0<b.avail_in||b.avail_out===0)&&R!==1);return A===4?(R=i.deflateEnd(this.strm),this.onEnd(R),this.ended=!0,R===f):A!==2||(this.onEnd(f),!(b.avail_out=0))},v.prototype.onData=function(x){this.chunks.push(x)},v.prototype.onEnd=function(x){x===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=x,this.msg=this.strm.msg},o.Deflate=v,o.deflate=m,o.deflateRaw=function(x,y){return(y=y||{}).raw=!0,m(x,y)},o.gzip=function(x,y){return(y=y||{}).gzip=!0,m(x,y)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,o){var i=n("./zlib/inflate"),a=n("./utils/common"),s=n("./utils/strings"),l=n("./zlib/constants"),c=n("./zlib/messages"),u=n("./zlib/zstream"),f=n("./zlib/gzheader"),d=Object.prototype.toString;function h(v){if(!(this instanceof h))return new h(v);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},v||{});var m=this.options;m.raw&&0<=m.windowBits&&m.windowBits<16&&(m.windowBits=-m.windowBits,m.windowBits===0&&(m.windowBits=-15)),!(0<=m.windowBits&&m.windowBits<16)||v&&v.windowBits||(m.windowBits+=32),15<m.windowBits&&m.windowBits<48&&!(15&m.windowBits)&&(m.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var x=i.inflateInit2(this.strm,m.windowBits);if(x!==l.Z_OK)throw new Error(c[x]);this.header=new f,i.inflateGetHeader(this.strm,this.header)}function p(v,m){var x=new h(m);if(x.push(v,!0),x.err)throw x.msg||c[x.err];return x.result}h.prototype.push=function(v,m){var x,y,R,A,b,M,T=this.strm,w=this.options.chunkSize,L=this.options.dictionary,k=!1;if(this.ended)return!1;y=m===~~m?m:m===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof v=="string"?T.input=s.binstring2buf(v):d.call(v)==="[object ArrayBuffer]"?T.input=new Uint8Array(v):T.input=v,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new a.Buf8(w),T.next_out=0,T.avail_out=w),(x=i.inflate(T,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&L&&(M=typeof L=="string"?s.string2buf(L):d.call(L)==="[object ArrayBuffer]"?new Uint8Array(L):L,x=i.inflateSetDictionary(this.strm,M)),x===l.Z_BUF_ERROR&&k===!0&&(x=l.Z_OK,k=!1),x!==l.Z_STREAM_END&&x!==l.Z_OK)return this.onEnd(x),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&x!==l.Z_STREAM_END&&(T.avail_in!==0||y!==l.Z_FINISH&&y!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(R=s.utf8border(T.output,T.next_out),A=T.next_out-R,b=s.buf2string(T.output,R),T.next_out=A,T.avail_out=w-A,A&&a.arraySet(T.output,T.output,R,A,0),this.onData(b)):this.onData(a.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(k=!0)}while((0<T.avail_in||T.avail_out===0)&&x!==l.Z_STREAM_END);return x===l.Z_STREAM_END&&(y=l.Z_FINISH),y===l.Z_FINISH?(x=i.inflateEnd(this.strm),this.onEnd(x),this.ended=!0,x===l.Z_OK):y!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(T.avail_out=0))},h.prototype.onData=function(v){this.chunks.push(v)},h.prototype.onEnd=function(v){v===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=v,this.msg=this.strm.msg},o.Inflate=h,o.inflate=p,o.inflateRaw=function(v,m){return(m=m||{}).raw=!0,p(v,m)},o.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,o){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";o.assign=function(l){for(var c=Array.prototype.slice.call(arguments,1);c.length;){var u=c.shift();if(u){if(typeof u!="object")throw new TypeError(u+"must be non-object");for(var f in u)u.hasOwnProperty(f)&&(l[f]=u[f])}}return l},o.shrinkBuf=function(l,c){return l.length===c?l:l.subarray?l.subarray(0,c):(l.length=c,l)};var a={arraySet:function(l,c,u,f,d){if(c.subarray&&l.subarray)l.set(c.subarray(u,u+f),d);else for(var h=0;h<f;h++)l[d+h]=c[u+h]},flattenChunks:function(l){var c,u,f,d,h,p;for(c=f=0,u=l.length;c<u;c++)f+=l[c].length;for(p=new Uint8Array(f),c=d=0,u=l.length;c<u;c++)h=l[c],p.set(h,d),d+=h.length;return p}},s={arraySet:function(l,c,u,f,d){for(var h=0;h<f;h++)l[d+h]=c[u+h]},flattenChunks:function(l){return[].concat.apply([],l)}};o.setTyped=function(l){l?(o.Buf8=Uint8Array,o.Buf16=Uint16Array,o.Buf32=Int32Array,o.assign(o,a)):(o.Buf8=Array,o.Buf16=Array,o.Buf32=Array,o.assign(o,s))},o.setTyped(i)},{}],42:[function(n,r,o){var i=n("./common"),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{s=!1}for(var l=new i.Buf8(256),c=0;c<256;c++)l[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function u(f,d){if(d<65537&&(f.subarray&&s||!f.subarray&&a))return String.fromCharCode.apply(null,i.shrinkBuf(f,d));for(var h="",p=0;p<d;p++)h+=String.fromCharCode(f[p]);return h}l[254]=l[254]=1,o.string2buf=function(f){var d,h,p,v,m,x=f.length,y=0;for(v=0;v<x;v++)(64512&(h=f.charCodeAt(v)))==55296&&v+1<x&&(64512&(p=f.charCodeAt(v+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),v++),y+=h<128?1:h<2048?2:h<65536?3:4;for(d=new i.Buf8(y),v=m=0;m<y;v++)(64512&(h=f.charCodeAt(v)))==55296&&v+1<x&&(64512&(p=f.charCodeAt(v+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),v++),h<128?d[m++]=h:(h<2048?d[m++]=192|h>>>6:(h<65536?d[m++]=224|h>>>12:(d[m++]=240|h>>>18,d[m++]=128|h>>>12&63),d[m++]=128|h>>>6&63),d[m++]=128|63&h);return d},o.buf2binstring=function(f){return u(f,f.length)},o.binstring2buf=function(f){for(var d=new i.Buf8(f.length),h=0,p=d.length;h<p;h++)d[h]=f.charCodeAt(h);return d},o.buf2string=function(f,d){var h,p,v,m,x=d||f.length,y=new Array(2*x);for(h=p=0;h<x;)if((v=f[h++])<128)y[p++]=v;else if(4<(m=l[v]))y[p++]=65533,h+=m-1;else{for(v&=m===2?31:m===3?15:7;1<m&&h<x;)v=v<<6|63&f[h++],m--;1<m?y[p++]=65533:v<65536?y[p++]=v:(v-=65536,y[p++]=55296|v>>10&1023,y[p++]=56320|1023&v)}return u(y,p)},o.utf8border=function(f,d){var h;for((d=d||f.length)>f.length&&(d=f.length),h=d-1;0<=h&&(192&f[h])==128;)h--;return h<0||h===0?d:h+l[f[h]]>d?h:d}},{"./common":41}],43:[function(n,r,o){r.exports=function(i,a,s,l){for(var c=65535&i|0,u=i>>>16&65535|0,f=0;s!==0;){for(s-=f=2e3<s?2e3:s;u=u+(c=c+a[l++]|0)|0,--f;);c%=65521,u%=65521}return c|u<<16|0}},{}],44:[function(n,r,o){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,o){var i=function(){for(var a,s=[],l=0;l<256;l++){a=l;for(var c=0;c<8;c++)a=1&a?3988292384^a>>>1:a>>>1;s[l]=a}return s}();r.exports=function(a,s,l,c){var u=i,f=c+l;a^=-1;for(var d=c;d<f;d++)a=a>>>8^u[255&(a^s[d])];return-1^a}},{}],46:[function(n,r,o){var i,a=n("../utils/common"),s=n("./trees"),l=n("./adler32"),c=n("./crc32"),u=n("./messages"),f=0,d=4,h=0,p=-2,v=-1,m=4,x=2,y=8,R=9,A=286,b=30,M=19,T=2*A+1,w=15,L=3,k=258,E=k+L+1,P=42,W=113,N=1,_=2,C=3,X=4;function Y(F,j){return F.msg=u[j],j}function $(F){return(F<<1)-(4<F?9:0)}function le(F){for(var j=F.length;0<=--j;)F[j]=0}function Q(F){var j=F.state,ie=j.pending;ie>F.avail_out&&(ie=F.avail_out),ie!==0&&(a.arraySet(F.output,j.pending_buf,j.pending_out,ie,F.next_out),F.next_out+=ie,j.pending_out+=ie,F.total_out+=ie,F.avail_out-=ie,j.pending-=ie,j.pending===0&&(j.pending_out=0))}function K(F,j){s._tr_flush_block(F,0<=F.block_start?F.block_start:-1,F.strstart-F.block_start,j),F.block_start=F.strstart,Q(F.strm)}function B(F,j){F.pending_buf[F.pending++]=j}function D(F,j){F.pending_buf[F.pending++]=j>>>8&255,F.pending_buf[F.pending++]=255&j}function G(F,j){var ie,q,te=F.max_chain_length,re=F.strstart,he=F.prev_length,ce=F.nice_match,pe=F.strstart>F.w_size-E?F.strstart-(F.w_size-E):0,xe=F.window,_e=F.w_mask,Ae=F.prev,Be=F.strstart+k,Te=xe[re+he-1],De=xe[re+he];F.prev_length>=F.good_match&&(te>>=2),ce>F.lookahead&&(ce=F.lookahead);do if(xe[(ie=j)+he]===De&&xe[ie+he-1]===Te&&xe[ie]===xe[re]&&xe[++ie]===xe[re+1]){re+=2,ie++;do;while(xe[++re]===xe[++ie]&&xe[++re]===xe[++ie]&&xe[++re]===xe[++ie]&&xe[++re]===xe[++ie]&&xe[++re]===xe[++ie]&&xe[++re]===xe[++ie]&&xe[++re]===xe[++ie]&&xe[++re]===xe[++ie]&&re<Be);if(q=k-(Be-re),re=Be-k,he<q){if(F.match_start=j,ce<=(he=q))break;Te=xe[re+he-1],De=xe[re+he]}}while((j=Ae[j&_e])>pe&&--te!=0);return he<=F.lookahead?he:F.lookahead}function ae(F){var j,ie,q,te,re,he,ce,pe,xe,_e,Ae=F.w_size;do{if(te=F.window_size-F.lookahead-F.strstart,F.strstart>=Ae+(Ae-E)){for(a.arraySet(F.window,F.window,Ae,Ae,0),F.match_start-=Ae,F.strstart-=Ae,F.block_start-=Ae,j=ie=F.hash_size;q=F.head[--j],F.head[j]=Ae<=q?q-Ae:0,--ie;);for(j=ie=Ae;q=F.prev[--j],F.prev[j]=Ae<=q?q-Ae:0,--ie;);te+=Ae}if(F.strm.avail_in===0)break;if(he=F.strm,ce=F.window,pe=F.strstart+F.lookahead,xe=te,_e=void 0,_e=he.avail_in,xe<_e&&(_e=xe),ie=_e===0?0:(he.avail_in-=_e,a.arraySet(ce,he.input,he.next_in,_e,pe),he.state.wrap===1?he.adler=l(he.adler,ce,_e,pe):he.state.wrap===2&&(he.adler=c(he.adler,ce,_e,pe)),he.next_in+=_e,he.total_in+=_e,_e),F.lookahead+=ie,F.lookahead+F.insert>=L)for(re=F.strstart-F.insert,F.ins_h=F.window[re],F.ins_h=(F.ins_h<<F.hash_shift^F.window[re+1])&F.hash_mask;F.insert&&(F.ins_h=(F.ins_h<<F.hash_shift^F.window[re+L-1])&F.hash_mask,F.prev[re&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=re,re++,F.insert--,!(F.lookahead+F.insert<L)););}while(F.lookahead<E&&F.strm.avail_in!==0)}function se(F,j){for(var ie,q;;){if(F.lookahead<E){if(ae(F),F.lookahead<E&&j===f)return N;if(F.lookahead===0)break}if(ie=0,F.lookahead>=L&&(F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+L-1])&F.hash_mask,ie=F.prev[F.strstart&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=F.strstart),ie!==0&&F.strstart-ie<=F.w_size-E&&(F.match_length=G(F,ie)),F.match_length>=L)if(q=s._tr_tally(F,F.strstart-F.match_start,F.match_length-L),F.lookahead-=F.match_length,F.match_length<=F.max_lazy_match&&F.lookahead>=L){for(F.match_length--;F.strstart++,F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+L-1])&F.hash_mask,ie=F.prev[F.strstart&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=F.strstart,--F.match_length!=0;);F.strstart++}else F.strstart+=F.match_length,F.match_length=0,F.ins_h=F.window[F.strstart],F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+1])&F.hash_mask;else q=s._tr_tally(F,0,F.window[F.strstart]),F.lookahead--,F.strstart++;if(q&&(K(F,!1),F.strm.avail_out===0))return N}return F.insert=F.strstart<L-1?F.strstart:L-1,j===d?(K(F,!0),F.strm.avail_out===0?C:X):F.last_lit&&(K(F,!1),F.strm.avail_out===0)?N:_}function J(F,j){for(var ie,q,te;;){if(F.lookahead<E){if(ae(F),F.lookahead<E&&j===f)return N;if(F.lookahead===0)break}if(ie=0,F.lookahead>=L&&(F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+L-1])&F.hash_mask,ie=F.prev[F.strstart&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=F.strstart),F.prev_length=F.match_length,F.prev_match=F.match_start,F.match_length=L-1,ie!==0&&F.prev_length<F.max_lazy_match&&F.strstart-ie<=F.w_size-E&&(F.match_length=G(F,ie),F.match_length<=5&&(F.strategy===1||F.match_length===L&&4096<F.strstart-F.match_start)&&(F.match_length=L-1)),F.prev_length>=L&&F.match_length<=F.prev_length){for(te=F.strstart+F.lookahead-L,q=s._tr_tally(F,F.strstart-1-F.prev_match,F.prev_length-L),F.lookahead-=F.prev_length-1,F.prev_length-=2;++F.strstart<=te&&(F.ins_h=(F.ins_h<<F.hash_shift^F.window[F.strstart+L-1])&F.hash_mask,ie=F.prev[F.strstart&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=F.strstart),--F.prev_length!=0;);if(F.match_available=0,F.match_length=L-1,F.strstart++,q&&(K(F,!1),F.strm.avail_out===0))return N}else if(F.match_available){if((q=s._tr_tally(F,0,F.window[F.strstart-1]))&&K(F,!1),F.strstart++,F.lookahead--,F.strm.avail_out===0)return N}else F.match_available=1,F.strstart++,F.lookahead--}return F.match_available&&(q=s._tr_tally(F,0,F.window[F.strstart-1]),F.match_available=0),F.insert=F.strstart<L-1?F.strstart:L-1,j===d?(K(F,!0),F.strm.avail_out===0?C:X):F.last_lit&&(K(F,!1),F.strm.avail_out===0)?N:_}function Re(F,j,ie,q,te){this.good_length=F,this.max_lazy=j,this.nice_length=ie,this.max_chain=q,this.func=te}function fe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*T),this.dyn_dtree=new a.Buf16(2*(2*b+1)),this.bl_tree=new a.Buf16(2*(2*M+1)),le(this.dyn_ltree),le(this.dyn_dtree),le(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(w+1),this.heap=new a.Buf16(2*A+1),le(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*A+1),le(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function me(F){var j;return F&&F.state?(F.total_in=F.total_out=0,F.data_type=x,(j=F.state).pending=0,j.pending_out=0,j.wrap<0&&(j.wrap=-j.wrap),j.status=j.wrap?P:W,F.adler=j.wrap===2?0:1,j.last_flush=f,s._tr_init(j),h):Y(F,p)}function ue(F){var j=me(F);return j===h&&function(ie){ie.window_size=2*ie.w_size,le(ie.head),ie.max_lazy_match=i[ie.level].max_lazy,ie.good_match=i[ie.level].good_length,ie.nice_match=i[ie.level].nice_length,ie.max_chain_length=i[ie.level].max_chain,ie.strstart=0,ie.block_start=0,ie.lookahead=0,ie.insert=0,ie.match_length=ie.prev_length=L-1,ie.match_available=0,ie.ins_h=0}(F.state),j}function z(F,j,ie,q,te,re){if(!F)return p;var he=1;if(j===v&&(j=6),q<0?(he=0,q=-q):15<q&&(he=2,q-=16),te<1||R<te||ie!==y||q<8||15<q||j<0||9<j||re<0||m<re)return Y(F,p);q===8&&(q=9);var ce=new fe;return(F.state=ce).strm=F,ce.wrap=he,ce.gzhead=null,ce.w_bits=q,ce.w_size=1<<ce.w_bits,ce.w_mask=ce.w_size-1,ce.hash_bits=te+7,ce.hash_size=1<<ce.hash_bits,ce.hash_mask=ce.hash_size-1,ce.hash_shift=~~((ce.hash_bits+L-1)/L),ce.window=new a.Buf8(2*ce.w_size),ce.head=new a.Buf16(ce.hash_size),ce.prev=new a.Buf16(ce.w_size),ce.lit_bufsize=1<<te+6,ce.pending_buf_size=4*ce.lit_bufsize,ce.pending_buf=new a.Buf8(ce.pending_buf_size),ce.d_buf=1*ce.lit_bufsize,ce.l_buf=3*ce.lit_bufsize,ce.level=j,ce.strategy=re,ce.method=ie,ue(F)}i=[new Re(0,0,0,0,function(F,j){var ie=65535;for(ie>F.pending_buf_size-5&&(ie=F.pending_buf_size-5);;){if(F.lookahead<=1){if(ae(F),F.lookahead===0&&j===f)return N;if(F.lookahead===0)break}F.strstart+=F.lookahead,F.lookahead=0;var q=F.block_start+ie;if((F.strstart===0||F.strstart>=q)&&(F.lookahead=F.strstart-q,F.strstart=q,K(F,!1),F.strm.avail_out===0)||F.strstart-F.block_start>=F.w_size-E&&(K(F,!1),F.strm.avail_out===0))return N}return F.insert=0,j===d?(K(F,!0),F.strm.avail_out===0?C:X):(F.strstart>F.block_start&&(K(F,!1),F.strm.avail_out),N)}),new Re(4,4,8,4,se),new Re(4,5,16,8,se),new Re(4,6,32,32,se),new Re(4,4,16,16,J),new Re(8,16,32,32,J),new Re(8,16,128,128,J),new Re(8,32,128,256,J),new Re(32,128,258,1024,J),new Re(32,258,258,4096,J)],o.deflateInit=function(F,j){return z(F,j,y,15,8,0)},o.deflateInit2=z,o.deflateReset=ue,o.deflateResetKeep=me,o.deflateSetHeader=function(F,j){return F&&F.state?F.state.wrap!==2?p:(F.state.gzhead=j,h):p},o.deflate=function(F,j){var ie,q,te,re;if(!F||!F.state||5<j||j<0)return F?Y(F,p):p;if(q=F.state,!F.output||!F.input&&F.avail_in!==0||q.status===666&&j!==d)return Y(F,F.avail_out===0?-5:p);if(q.strm=F,ie=q.last_flush,q.last_flush=j,q.status===P)if(q.wrap===2)F.adler=0,B(q,31),B(q,139),B(q,8),q.gzhead?(B(q,(q.gzhead.text?1:0)+(q.gzhead.hcrc?2:0)+(q.gzhead.extra?4:0)+(q.gzhead.name?8:0)+(q.gzhead.comment?16:0)),B(q,255&q.gzhead.time),B(q,q.gzhead.time>>8&255),B(q,q.gzhead.time>>16&255),B(q,q.gzhead.time>>24&255),B(q,q.level===9?2:2<=q.strategy||q.level<2?4:0),B(q,255&q.gzhead.os),q.gzhead.extra&&q.gzhead.extra.length&&(B(q,255&q.gzhead.extra.length),B(q,q.gzhead.extra.length>>8&255)),q.gzhead.hcrc&&(F.adler=c(F.adler,q.pending_buf,q.pending,0)),q.gzindex=0,q.status=69):(B(q,0),B(q,0),B(q,0),B(q,0),B(q,0),B(q,q.level===9?2:2<=q.strategy||q.level<2?4:0),B(q,3),q.status=W);else{var he=y+(q.w_bits-8<<4)<<8;he|=(2<=q.strategy||q.level<2?0:q.level<6?1:q.level===6?2:3)<<6,q.strstart!==0&&(he|=32),he+=31-he%31,q.status=W,D(q,he),q.strstart!==0&&(D(q,F.adler>>>16),D(q,65535&F.adler)),F.adler=1}if(q.status===69)if(q.gzhead.extra){for(te=q.pending;q.gzindex<(65535&q.gzhead.extra.length)&&(q.pending!==q.pending_buf_size||(q.gzhead.hcrc&&q.pending>te&&(F.adler=c(F.adler,q.pending_buf,q.pending-te,te)),Q(F),te=q.pending,q.pending!==q.pending_buf_size));)B(q,255&q.gzhead.extra[q.gzindex]),q.gzindex++;q.gzhead.hcrc&&q.pending>te&&(F.adler=c(F.adler,q.pending_buf,q.pending-te,te)),q.gzindex===q.gzhead.extra.length&&(q.gzindex=0,q.status=73)}else q.status=73;if(q.status===73)if(q.gzhead.name){te=q.pending;do{if(q.pending===q.pending_buf_size&&(q.gzhead.hcrc&&q.pending>te&&(F.adler=c(F.adler,q.pending_buf,q.pending-te,te)),Q(F),te=q.pending,q.pending===q.pending_buf_size)){re=1;break}re=q.gzindex<q.gzhead.name.length?255&q.gzhead.name.charCodeAt(q.gzindex++):0,B(q,re)}while(re!==0);q.gzhead.hcrc&&q.pending>te&&(F.adler=c(F.adler,q.pending_buf,q.pending-te,te)),re===0&&(q.gzindex=0,q.status=91)}else q.status=91;if(q.status===91)if(q.gzhead.comment){te=q.pending;do{if(q.pending===q.pending_buf_size&&(q.gzhead.hcrc&&q.pending>te&&(F.adler=c(F.adler,q.pending_buf,q.pending-te,te)),Q(F),te=q.pending,q.pending===q.pending_buf_size)){re=1;break}re=q.gzindex<q.gzhead.comment.length?255&q.gzhead.comment.charCodeAt(q.gzindex++):0,B(q,re)}while(re!==0);q.gzhead.hcrc&&q.pending>te&&(F.adler=c(F.adler,q.pending_buf,q.pending-te,te)),re===0&&(q.status=103)}else q.status=103;if(q.status===103&&(q.gzhead.hcrc?(q.pending+2>q.pending_buf_size&&Q(F),q.pending+2<=q.pending_buf_size&&(B(q,255&F.adler),B(q,F.adler>>8&255),F.adler=0,q.status=W)):q.status=W),q.pending!==0){if(Q(F),F.avail_out===0)return q.last_flush=-1,h}else if(F.avail_in===0&&$(j)<=$(ie)&&j!==d)return Y(F,-5);if(q.status===666&&F.avail_in!==0)return Y(F,-5);if(F.avail_in!==0||q.lookahead!==0||j!==f&&q.status!==666){var ce=q.strategy===2?function(pe,xe){for(var _e;;){if(pe.lookahead===0&&(ae(pe),pe.lookahead===0)){if(xe===f)return N;break}if(pe.match_length=0,_e=s._tr_tally(pe,0,pe.window[pe.strstart]),pe.lookahead--,pe.strstart++,_e&&(K(pe,!1),pe.strm.avail_out===0))return N}return pe.insert=0,xe===d?(K(pe,!0),pe.strm.avail_out===0?C:X):pe.last_lit&&(K(pe,!1),pe.strm.avail_out===0)?N:_}(q,j):q.strategy===3?function(pe,xe){for(var _e,Ae,Be,Te,De=pe.window;;){if(pe.lookahead<=k){if(ae(pe),pe.lookahead<=k&&xe===f)return N;if(pe.lookahead===0)break}if(pe.match_length=0,pe.lookahead>=L&&0<pe.strstart&&(Ae=De[Be=pe.strstart-1])===De[++Be]&&Ae===De[++Be]&&Ae===De[++Be]){Te=pe.strstart+k;do;while(Ae===De[++Be]&&Ae===De[++Be]&&Ae===De[++Be]&&Ae===De[++Be]&&Ae===De[++Be]&&Ae===De[++Be]&&Ae===De[++Be]&&Ae===De[++Be]&&Be<Te);pe.match_length=k-(Te-Be),pe.match_length>pe.lookahead&&(pe.match_length=pe.lookahead)}if(pe.match_length>=L?(_e=s._tr_tally(pe,1,pe.match_length-L),pe.lookahead-=pe.match_length,pe.strstart+=pe.match_length,pe.match_length=0):(_e=s._tr_tally(pe,0,pe.window[pe.strstart]),pe.lookahead--,pe.strstart++),_e&&(K(pe,!1),pe.strm.avail_out===0))return N}return pe.insert=0,xe===d?(K(pe,!0),pe.strm.avail_out===0?C:X):pe.last_lit&&(K(pe,!1),pe.strm.avail_out===0)?N:_}(q,j):i[q.level].func(q,j);if(ce!==C&&ce!==X||(q.status=666),ce===N||ce===C)return F.avail_out===0&&(q.last_flush=-1),h;if(ce===_&&(j===1?s._tr_align(q):j!==5&&(s._tr_stored_block(q,0,0,!1),j===3&&(le(q.head),q.lookahead===0&&(q.strstart=0,q.block_start=0,q.insert=0))),Q(F),F.avail_out===0))return q.last_flush=-1,h}return j!==d?h:q.wrap<=0?1:(q.wrap===2?(B(q,255&F.adler),B(q,F.adler>>8&255),B(q,F.adler>>16&255),B(q,F.adler>>24&255),B(q,255&F.total_in),B(q,F.total_in>>8&255),B(q,F.total_in>>16&255),B(q,F.total_in>>24&255)):(D(q,F.adler>>>16),D(q,65535&F.adler)),Q(F),0<q.wrap&&(q.wrap=-q.wrap),q.pending!==0?h:1)},o.deflateEnd=function(F){var j;return F&&F.state?(j=F.state.status)!==P&&j!==69&&j!==73&&j!==91&&j!==103&&j!==W&&j!==666?Y(F,p):(F.state=null,j===W?Y(F,-3):h):p},o.deflateSetDictionary=function(F,j){var ie,q,te,re,he,ce,pe,xe,_e=j.length;if(!F||!F.state||(re=(ie=F.state).wrap)===2||re===1&&ie.status!==P||ie.lookahead)return p;for(re===1&&(F.adler=l(F.adler,j,_e,0)),ie.wrap=0,_e>=ie.w_size&&(re===0&&(le(ie.head),ie.strstart=0,ie.block_start=0,ie.insert=0),xe=new a.Buf8(ie.w_size),a.arraySet(xe,j,_e-ie.w_size,ie.w_size,0),j=xe,_e=ie.w_size),he=F.avail_in,ce=F.next_in,pe=F.input,F.avail_in=_e,F.next_in=0,F.input=j,ae(ie);ie.lookahead>=L;){for(q=ie.strstart,te=ie.lookahead-(L-1);ie.ins_h=(ie.ins_h<<ie.hash_shift^ie.window[q+L-1])&ie.hash_mask,ie.prev[q&ie.w_mask]=ie.head[ie.ins_h],ie.head[ie.ins_h]=q,q++,--te;);ie.strstart=q,ie.lookahead=L-1,ae(ie)}return ie.strstart+=ie.lookahead,ie.block_start=ie.strstart,ie.insert=ie.lookahead,ie.lookahead=0,ie.match_length=ie.prev_length=L-1,ie.match_available=0,F.next_in=ce,F.input=pe,F.avail_in=he,ie.wrap=re,h},o.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,o){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,o){r.exports=function(i,a){var s,l,c,u,f,d,h,p,v,m,x,y,R,A,b,M,T,w,L,k,E,P,W,N,_;s=i.state,l=i.next_in,N=i.input,c=l+(i.avail_in-5),u=i.next_out,_=i.output,f=u-(a-i.avail_out),d=u+(i.avail_out-257),h=s.dmax,p=s.wsize,v=s.whave,m=s.wnext,x=s.window,y=s.hold,R=s.bits,A=s.lencode,b=s.distcode,M=(1<<s.lenbits)-1,T=(1<<s.distbits)-1;e:do{R<15&&(y+=N[l++]<<R,R+=8,y+=N[l++]<<R,R+=8),w=A[y&M];t:for(;;){if(y>>>=L=w>>>24,R-=L,(L=w>>>16&255)===0)_[u++]=65535&w;else{if(!(16&L)){if(!(64&L)){w=A[(65535&w)+(y&(1<<L)-1)];continue t}if(32&L){s.mode=12;break e}i.msg="invalid literal/length code",s.mode=30;break e}k=65535&w,(L&=15)&&(R<L&&(y+=N[l++]<<R,R+=8),k+=y&(1<<L)-1,y>>>=L,R-=L),R<15&&(y+=N[l++]<<R,R+=8,y+=N[l++]<<R,R+=8),w=b[y&T];n:for(;;){if(y>>>=L=w>>>24,R-=L,!(16&(L=w>>>16&255))){if(!(64&L)){w=b[(65535&w)+(y&(1<<L)-1)];continue n}i.msg="invalid distance code",s.mode=30;break e}if(E=65535&w,R<(L&=15)&&(y+=N[l++]<<R,(R+=8)<L&&(y+=N[l++]<<R,R+=8)),h<(E+=y&(1<<L)-1)){i.msg="invalid distance too far back",s.mode=30;break e}if(y>>>=L,R-=L,(L=u-f)<E){if(v<(L=E-L)&&s.sane){i.msg="invalid distance too far back",s.mode=30;break e}if(W=x,(P=0)===m){if(P+=p-L,L<k){for(k-=L;_[u++]=x[P++],--L;);P=u-E,W=_}}else if(m<L){if(P+=p+m-L,(L-=m)<k){for(k-=L;_[u++]=x[P++],--L;);if(P=0,m<k){for(k-=L=m;_[u++]=x[P++],--L;);P=u-E,W=_}}}else if(P+=m-L,L<k){for(k-=L;_[u++]=x[P++],--L;);P=u-E,W=_}for(;2<k;)_[u++]=W[P++],_[u++]=W[P++],_[u++]=W[P++],k-=3;k&&(_[u++]=W[P++],1<k&&(_[u++]=W[P++]))}else{for(P=u-E;_[u++]=_[P++],_[u++]=_[P++],_[u++]=_[P++],2<(k-=3););k&&(_[u++]=_[P++],1<k&&(_[u++]=_[P++]))}break}}break}}while(l<c&&u<d);l-=k=R>>3,y&=(1<<(R-=k<<3))-1,i.next_in=l,i.next_out=u,i.avail_in=l<c?c-l+5:5-(l-c),i.avail_out=u<d?d-u+257:257-(u-d),s.hold=y,s.bits=R}},{}],49:[function(n,r,o){var i=n("../utils/common"),a=n("./adler32"),s=n("./crc32"),l=n("./inffast"),c=n("./inftrees"),u=1,f=2,d=0,h=-2,p=1,v=852,m=592;function x(P){return(P>>>24&255)+(P>>>8&65280)+((65280&P)<<8)+((255&P)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function R(P){var W;return P&&P.state?(W=P.state,P.total_in=P.total_out=W.total=0,P.msg="",W.wrap&&(P.adler=1&W.wrap),W.mode=p,W.last=0,W.havedict=0,W.dmax=32768,W.head=null,W.hold=0,W.bits=0,W.lencode=W.lendyn=new i.Buf32(v),W.distcode=W.distdyn=new i.Buf32(m),W.sane=1,W.back=-1,d):h}function A(P){var W;return P&&P.state?((W=P.state).wsize=0,W.whave=0,W.wnext=0,R(P)):h}function b(P,W){var N,_;return P&&P.state?(_=P.state,W<0?(N=0,W=-W):(N=1+(W>>4),W<48&&(W&=15)),W&&(W<8||15<W)?h:(_.window!==null&&_.wbits!==W&&(_.window=null),_.wrap=N,_.wbits=W,A(P))):h}function M(P,W){var N,_;return P?(_=new y,(P.state=_).window=null,(N=b(P,W))!==d&&(P.state=null),N):h}var T,w,L=!0;function k(P){if(L){var W;for(T=new i.Buf32(512),w=new i.Buf32(32),W=0;W<144;)P.lens[W++]=8;for(;W<256;)P.lens[W++]=9;for(;W<280;)P.lens[W++]=7;for(;W<288;)P.lens[W++]=8;for(c(u,P.lens,0,288,T,0,P.work,{bits:9}),W=0;W<32;)P.lens[W++]=5;c(f,P.lens,0,32,w,0,P.work,{bits:5}),L=!1}P.lencode=T,P.lenbits=9,P.distcode=w,P.distbits=5}function E(P,W,N,_){var C,X=P.state;return X.window===null&&(X.wsize=1<<X.wbits,X.wnext=0,X.whave=0,X.window=new i.Buf8(X.wsize)),_>=X.wsize?(i.arraySet(X.window,W,N-X.wsize,X.wsize,0),X.wnext=0,X.whave=X.wsize):(_<(C=X.wsize-X.wnext)&&(C=_),i.arraySet(X.window,W,N-_,C,X.wnext),(_-=C)?(i.arraySet(X.window,W,N-_,_,0),X.wnext=_,X.whave=X.wsize):(X.wnext+=C,X.wnext===X.wsize&&(X.wnext=0),X.whave<X.wsize&&(X.whave+=C))),0}o.inflateReset=A,o.inflateReset2=b,o.inflateResetKeep=R,o.inflateInit=function(P){return M(P,15)},o.inflateInit2=M,o.inflate=function(P,W){var N,_,C,X,Y,$,le,Q,K,B,D,G,ae,se,J,Re,fe,me,ue,z,F,j,ie,q,te=0,re=new i.Buf8(4),he=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!P||!P.state||!P.output||!P.input&&P.avail_in!==0)return h;(N=P.state).mode===12&&(N.mode=13),Y=P.next_out,C=P.output,le=P.avail_out,X=P.next_in,_=P.input,$=P.avail_in,Q=N.hold,K=N.bits,B=$,D=le,j=d;e:for(;;)switch(N.mode){case p:if(N.wrap===0){N.mode=13;break}for(;K<16;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(2&N.wrap&&Q===35615){re[N.check=0]=255&Q,re[1]=Q>>>8&255,N.check=s(N.check,re,2,0),K=Q=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&Q)<<8)+(Q>>8))%31){P.msg="incorrect header check",N.mode=30;break}if((15&Q)!=8){P.msg="unknown compression method",N.mode=30;break}if(K-=4,F=8+(15&(Q>>>=4)),N.wbits===0)N.wbits=F;else if(F>N.wbits){P.msg="invalid window size",N.mode=30;break}N.dmax=1<<F,P.adler=N.check=1,N.mode=512&Q?10:12,K=Q=0;break;case 2:for(;K<16;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(N.flags=Q,(255&N.flags)!=8){P.msg="unknown compression method",N.mode=30;break}if(57344&N.flags){P.msg="unknown header flags set",N.mode=30;break}N.head&&(N.head.text=Q>>8&1),512&N.flags&&(re[0]=255&Q,re[1]=Q>>>8&255,N.check=s(N.check,re,2,0)),K=Q=0,N.mode=3;case 3:for(;K<32;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}N.head&&(N.head.time=Q),512&N.flags&&(re[0]=255&Q,re[1]=Q>>>8&255,re[2]=Q>>>16&255,re[3]=Q>>>24&255,N.check=s(N.check,re,4,0)),K=Q=0,N.mode=4;case 4:for(;K<16;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}N.head&&(N.head.xflags=255&Q,N.head.os=Q>>8),512&N.flags&&(re[0]=255&Q,re[1]=Q>>>8&255,N.check=s(N.check,re,2,0)),K=Q=0,N.mode=5;case 5:if(1024&N.flags){for(;K<16;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}N.length=Q,N.head&&(N.head.extra_len=Q),512&N.flags&&(re[0]=255&Q,re[1]=Q>>>8&255,N.check=s(N.check,re,2,0)),K=Q=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&($<(G=N.length)&&(G=$),G&&(N.head&&(F=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),i.arraySet(N.head.extra,_,X,G,F)),512&N.flags&&(N.check=s(N.check,_,G,X)),$-=G,X+=G,N.length-=G),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if($===0)break e;for(G=0;F=_[X+G++],N.head&&F&&N.length<65536&&(N.head.name+=String.fromCharCode(F)),F&&G<$;);if(512&N.flags&&(N.check=s(N.check,_,G,X)),$-=G,X+=G,F)break e}else N.head&&(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&N.flags){if($===0)break e;for(G=0;F=_[X+G++],N.head&&F&&N.length<65536&&(N.head.comment+=String.fromCharCode(F)),F&&G<$;);if(512&N.flags&&(N.check=s(N.check,_,G,X)),$-=G,X+=G,F)break e}else N.head&&(N.head.comment=null);N.mode=9;case 9:if(512&N.flags){for(;K<16;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(Q!==(65535&N.check)){P.msg="header crc mismatch",N.mode=30;break}K=Q=0}N.head&&(N.head.hcrc=N.flags>>9&1,N.head.done=!0),P.adler=N.check=0,N.mode=12;break;case 10:for(;K<32;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}P.adler=N.check=x(Q),K=Q=0,N.mode=11;case 11:if(N.havedict===0)return P.next_out=Y,P.avail_out=le,P.next_in=X,P.avail_in=$,N.hold=Q,N.bits=K,2;P.adler=N.check=1,N.mode=12;case 12:if(W===5||W===6)break e;case 13:if(N.last){Q>>>=7&K,K-=7&K,N.mode=27;break}for(;K<3;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}switch(N.last=1&Q,K-=1,3&(Q>>>=1)){case 0:N.mode=14;break;case 1:if(k(N),N.mode=20,W!==6)break;Q>>>=2,K-=2;break e;case 2:N.mode=17;break;case 3:P.msg="invalid block type",N.mode=30}Q>>>=2,K-=2;break;case 14:for(Q>>>=7&K,K-=7&K;K<32;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if((65535&Q)!=(Q>>>16^65535)){P.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&Q,K=Q=0,N.mode=15,W===6)break e;case 15:N.mode=16;case 16:if(G=N.length){if($<G&&(G=$),le<G&&(G=le),G===0)break e;i.arraySet(C,_,X,G,Y),$-=G,X+=G,le-=G,Y+=G,N.length-=G;break}N.mode=12;break;case 17:for(;K<14;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(N.nlen=257+(31&Q),Q>>>=5,K-=5,N.ndist=1+(31&Q),Q>>>=5,K-=5,N.ncode=4+(15&Q),Q>>>=4,K-=4,286<N.nlen||30<N.ndist){P.msg="too many length or distance symbols",N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have<N.ncode;){for(;K<3;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}N.lens[he[N.have++]]=7&Q,Q>>>=3,K-=3}for(;N.have<19;)N.lens[he[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,ie={bits:N.lenbits},j=c(0,N.lens,0,19,N.lencode,0,N.work,ie),N.lenbits=ie.bits,j){P.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have<N.nlen+N.ndist;){for(;Re=(te=N.lencode[Q&(1<<N.lenbits)-1])>>>16&255,fe=65535&te,!((J=te>>>24)<=K);){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(fe<16)Q>>>=J,K-=J,N.lens[N.have++]=fe;else{if(fe===16){for(q=J+2;K<q;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(Q>>>=J,K-=J,N.have===0){P.msg="invalid bit length repeat",N.mode=30;break}F=N.lens[N.have-1],G=3+(3&Q),Q>>>=2,K-=2}else if(fe===17){for(q=J+3;K<q;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}K-=J,F=0,G=3+(7&(Q>>>=J)),Q>>>=3,K-=3}else{for(q=J+7;K<q;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}K-=J,F=0,G=11+(127&(Q>>>=J)),Q>>>=7,K-=7}if(N.have+G>N.nlen+N.ndist){P.msg="invalid bit length repeat",N.mode=30;break}for(;G--;)N.lens[N.have++]=F}}if(N.mode===30)break;if(N.lens[256]===0){P.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,ie={bits:N.lenbits},j=c(u,N.lens,0,N.nlen,N.lencode,0,N.work,ie),N.lenbits=ie.bits,j){P.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,ie={bits:N.distbits},j=c(f,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,ie),N.distbits=ie.bits,j){P.msg="invalid distances set",N.mode=30;break}if(N.mode=20,W===6)break e;case 20:N.mode=21;case 21:if(6<=$&&258<=le){P.next_out=Y,P.avail_out=le,P.next_in=X,P.avail_in=$,N.hold=Q,N.bits=K,l(P,D),Y=P.next_out,C=P.output,le=P.avail_out,X=P.next_in,_=P.input,$=P.avail_in,Q=N.hold,K=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;Re=(te=N.lencode[Q&(1<<N.lenbits)-1])>>>16&255,fe=65535&te,!((J=te>>>24)<=K);){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(Re&&!(240&Re)){for(me=J,ue=Re,z=fe;Re=(te=N.lencode[z+((Q&(1<<me+ue)-1)>>me)])>>>16&255,fe=65535&te,!(me+(J=te>>>24)<=K);){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}Q>>>=me,K-=me,N.back+=me}if(Q>>>=J,K-=J,N.back+=J,N.length=fe,Re===0){N.mode=26;break}if(32&Re){N.back=-1,N.mode=12;break}if(64&Re){P.msg="invalid literal/length code",N.mode=30;break}N.extra=15&Re,N.mode=22;case 22:if(N.extra){for(q=N.extra;K<q;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}N.length+=Q&(1<<N.extra)-1,Q>>>=N.extra,K-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;Re=(te=N.distcode[Q&(1<<N.distbits)-1])>>>16&255,fe=65535&te,!((J=te>>>24)<=K);){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(!(240&Re)){for(me=J,ue=Re,z=fe;Re=(te=N.distcode[z+((Q&(1<<me+ue)-1)>>me)])>>>16&255,fe=65535&te,!(me+(J=te>>>24)<=K);){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}Q>>>=me,K-=me,N.back+=me}if(Q>>>=J,K-=J,N.back+=J,64&Re){P.msg="invalid distance code",N.mode=30;break}N.offset=fe,N.extra=15&Re,N.mode=24;case 24:if(N.extra){for(q=N.extra;K<q;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}N.offset+=Q&(1<<N.extra)-1,Q>>>=N.extra,K-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){P.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if(le===0)break e;if(G=D-le,N.offset>G){if((G=N.offset-G)>N.whave&&N.sane){P.msg="invalid distance too far back",N.mode=30;break}ae=G>N.wnext?(G-=N.wnext,N.wsize-G):N.wnext-G,G>N.length&&(G=N.length),se=N.window}else se=C,ae=Y-N.offset,G=N.length;for(le<G&&(G=le),le-=G,N.length-=G;C[Y++]=se[ae++],--G;);N.length===0&&(N.mode=21);break;case 26:if(le===0)break e;C[Y++]=N.length,le--,N.mode=21;break;case 27:if(N.wrap){for(;K<32;){if($===0)break e;$--,Q|=_[X++]<<K,K+=8}if(D-=le,P.total_out+=D,N.total+=D,D&&(P.adler=N.check=N.flags?s(N.check,C,D,Y-D):a(N.check,C,D,Y-D)),D=le,(N.flags?Q:x(Q))!==N.check){P.msg="incorrect data check",N.mode=30;break}K=Q=0}N.mode=28;case 28:if(N.wrap&&N.flags){for(;K<32;){if($===0)break e;$--,Q+=_[X++]<<K,K+=8}if(Q!==(4294967295&N.total)){P.msg="incorrect length check",N.mode=30;break}K=Q=0}N.mode=29;case 29:j=1;break e;case 30:j=-3;break e;case 31:return-4;case 32:default:return h}return P.next_out=Y,P.avail_out=le,P.next_in=X,P.avail_in=$,N.hold=Q,N.bits=K,(N.wsize||D!==P.avail_out&&N.mode<30&&(N.mode<27||W!==4))&&E(P,P.output,P.next_out,D-P.avail_out)?(N.mode=31,-4):(B-=P.avail_in,D-=P.avail_out,P.total_in+=B,P.total_out+=D,N.total+=D,N.wrap&&D&&(P.adler=N.check=N.flags?s(N.check,C,D,P.next_out-D):a(N.check,C,D,P.next_out-D)),P.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(B==0&&D===0||W===4)&&j===d&&(j=-5),j)},o.inflateEnd=function(P){if(!P||!P.state)return h;var W=P.state;return W.window&&(W.window=null),P.state=null,d},o.inflateGetHeader=function(P,W){var N;return P&&P.state&&2&(N=P.state).wrap?((N.head=W).done=!1,d):h},o.inflateSetDictionary=function(P,W){var N,_=W.length;return P&&P.state?(N=P.state).wrap!==0&&N.mode!==11?h:N.mode===11&&a(1,W,_,0)!==N.check?-3:E(P,W,_,_)?(N.mode=31,-4):(N.havedict=1,d):h},o.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,o){var i=n("../utils/common"),a=[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],s=[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],l=[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],c=[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];r.exports=function(u,f,d,h,p,v,m,x){var y,R,A,b,M,T,w,L,k,E=x.bits,P=0,W=0,N=0,_=0,C=0,X=0,Y=0,$=0,le=0,Q=0,K=null,B=0,D=new i.Buf16(16),G=new i.Buf16(16),ae=null,se=0;for(P=0;P<=15;P++)D[P]=0;for(W=0;W<h;W++)D[f[d+W]]++;for(C=E,_=15;1<=_&&D[_]===0;_--);if(_<C&&(C=_),_===0)return p[v++]=20971520,p[v++]=20971520,x.bits=1,0;for(N=1;N<_&&D[N]===0;N++);for(C<N&&(C=N),P=$=1;P<=15;P++)if($<<=1,($-=D[P])<0)return-1;if(0<$&&(u===0||_!==1))return-1;for(G[1]=0,P=1;P<15;P++)G[P+1]=G[P]+D[P];for(W=0;W<h;W++)f[d+W]!==0&&(m[G[f[d+W]]++]=W);if(T=u===0?(K=ae=m,19):u===1?(K=a,B-=257,ae=s,se-=257,256):(K=l,ae=c,-1),P=N,M=v,Y=W=Q=0,A=-1,b=(le=1<<(X=C))-1,u===1&&852<le||u===2&&592<le)return 1;for(;;){for(w=P-Y,k=m[W]<T?(L=0,m[W]):m[W]>T?(L=ae[se+m[W]],K[B+m[W]]):(L=96,0),y=1<<P-Y,N=R=1<<X;p[M+(Q>>Y)+(R-=y)]=w<<24|L<<16|k|0,R!==0;);for(y=1<<P-1;Q&y;)y>>=1;if(y!==0?(Q&=y-1,Q+=y):Q=0,W++,--D[P]==0){if(P===_)break;P=f[d+m[W]]}if(C<P&&(Q&b)!==A){for(Y===0&&(Y=C),M+=N,$=1<<(X=P-Y);X+Y<_&&!(($-=D[X+Y])<=0);)X++,$<<=1;if(le+=1<<X,u===1&&852<le||u===2&&592<le)return 1;p[A=Q&b]=C<<24|X<<16|M-v|0}}return Q!==0&&(p[M+Q]=P-Y<<24|64<<16|0),x.bits=C,0}},{"../utils/common":41}],51:[function(n,r,o){r.exports={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"}},{}],52:[function(n,r,o){var i=n("../utils/common"),a=0,s=1;function l(te){for(var re=te.length;0<=--re;)te[re]=0}var c=0,u=29,f=256,d=f+1+u,h=30,p=19,v=2*d+1,m=15,x=16,y=7,R=256,A=16,b=17,M=18,T=[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],w=[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],L=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],E=new Array(2*(d+2));l(E);var P=new Array(2*h);l(P);var W=new Array(512);l(W);var N=new Array(256);l(N);var _=new Array(u);l(_);var C,X,Y,$=new Array(h);function le(te,re,he,ce,pe){this.static_tree=te,this.extra_bits=re,this.extra_base=he,this.elems=ce,this.max_length=pe,this.has_stree=te&&te.length}function Q(te,re){this.dyn_tree=te,this.max_code=0,this.stat_desc=re}function K(te){return te<256?W[te]:W[256+(te>>>7)]}function B(te,re){te.pending_buf[te.pending++]=255&re,te.pending_buf[te.pending++]=re>>>8&255}function D(te,re,he){te.bi_valid>x-he?(te.bi_buf|=re<<te.bi_valid&65535,B(te,te.bi_buf),te.bi_buf=re>>x-te.bi_valid,te.bi_valid+=he-x):(te.bi_buf|=re<<te.bi_valid&65535,te.bi_valid+=he)}function G(te,re,he){D(te,he[2*re],he[2*re+1])}function ae(te,re){for(var he=0;he|=1&te,te>>>=1,he<<=1,0<--re;);return he>>>1}function se(te,re,he){var ce,pe,xe=new Array(m+1),_e=0;for(ce=1;ce<=m;ce++)xe[ce]=_e=_e+he[ce-1]<<1;for(pe=0;pe<=re;pe++){var Ae=te[2*pe+1];Ae!==0&&(te[2*pe]=ae(xe[Ae]++,Ae))}}function J(te){var re;for(re=0;re<d;re++)te.dyn_ltree[2*re]=0;for(re=0;re<h;re++)te.dyn_dtree[2*re]=0;for(re=0;re<p;re++)te.bl_tree[2*re]=0;te.dyn_ltree[2*R]=1,te.opt_len=te.static_len=0,te.last_lit=te.matches=0}function Re(te){8<te.bi_valid?B(te,te.bi_buf):0<te.bi_valid&&(te.pending_buf[te.pending++]=te.bi_buf),te.bi_buf=0,te.bi_valid=0}function fe(te,re,he,ce){var pe=2*re,xe=2*he;return te[pe]<te[xe]||te[pe]===te[xe]&&ce[re]<=ce[he]}function me(te,re,he){for(var ce=te.heap[he],pe=he<<1;pe<=te.heap_len&&(pe<te.heap_len&&fe(re,te.heap[pe+1],te.heap[pe],te.depth)&&pe++,!fe(re,ce,te.heap[pe],te.depth));)te.heap[he]=te.heap[pe],he=pe,pe<<=1;te.heap[he]=ce}function ue(te,re,he){var ce,pe,xe,_e,Ae=0;if(te.last_lit!==0)for(;ce=te.pending_buf[te.d_buf+2*Ae]<<8|te.pending_buf[te.d_buf+2*Ae+1],pe=te.pending_buf[te.l_buf+Ae],Ae++,ce===0?G(te,pe,re):(G(te,(xe=N[pe])+f+1,re),(_e=T[xe])!==0&&D(te,pe-=_[xe],_e),G(te,xe=K(--ce),he),(_e=w[xe])!==0&&D(te,ce-=$[xe],_e)),Ae<te.last_lit;);G(te,R,re)}function z(te,re){var he,ce,pe,xe=re.dyn_tree,_e=re.stat_desc.static_tree,Ae=re.stat_desc.has_stree,Be=re.stat_desc.elems,Te=-1;for(te.heap_len=0,te.heap_max=v,he=0;he<Be;he++)xe[2*he]!==0?(te.heap[++te.heap_len]=Te=he,te.depth[he]=0):xe[2*he+1]=0;for(;te.heap_len<2;)xe[2*(pe=te.heap[++te.heap_len]=Te<2?++Te:0)]=1,te.depth[pe]=0,te.opt_len--,Ae&&(te.static_len-=_e[2*pe+1]);for(re.max_code=Te,he=te.heap_len>>1;1<=he;he--)me(te,xe,he);for(pe=Be;he=te.heap[1],te.heap[1]=te.heap[te.heap_len--],me(te,xe,1),ce=te.heap[1],te.heap[--te.heap_max]=he,te.heap[--te.heap_max]=ce,xe[2*pe]=xe[2*he]+xe[2*ce],te.depth[pe]=(te.depth[he]>=te.depth[ce]?te.depth[he]:te.depth[ce])+1,xe[2*he+1]=xe[2*ce+1]=pe,te.heap[1]=pe++,me(te,xe,1),2<=te.heap_len;);te.heap[--te.heap_max]=te.heap[1],function(De,ye){var Le,Pe,Ye,rt,Ne,Ke,et=ye.dyn_tree,At=ye.max_code,ut=ye.stat_desc.static_tree,dt=ye.stat_desc.has_stree,yt=ye.stat_desc.extra_bits,_t=ye.stat_desc.extra_base,Zt=ye.stat_desc.max_length,Tn=0;for(rt=0;rt<=m;rt++)De.bl_count[rt]=0;for(et[2*De.heap[De.heap_max]+1]=0,Le=De.heap_max+1;Le<v;Le++)Zt<(rt=et[2*et[2*(Pe=De.heap[Le])+1]+1]+1)&&(rt=Zt,Tn++),et[2*Pe+1]=rt,At<Pe||(De.bl_count[rt]++,Ne=0,_t<=Pe&&(Ne=yt[Pe-_t]),Ke=et[2*Pe],De.opt_len+=Ke*(rt+Ne),dt&&(De.static_len+=Ke*(ut[2*Pe+1]+Ne)));if(Tn!==0){do{for(rt=Zt-1;De.bl_count[rt]===0;)rt--;De.bl_count[rt]--,De.bl_count[rt+1]+=2,De.bl_count[Zt]--,Tn-=2}while(0<Tn);for(rt=Zt;rt!==0;rt--)for(Pe=De.bl_count[rt];Pe!==0;)At<(Ye=De.heap[--Le])||(et[2*Ye+1]!==rt&&(De.opt_len+=(rt-et[2*Ye+1])*et[2*Ye],et[2*Ye+1]=rt),Pe--)}}(te,re),se(xe,Te,te.bl_count)}function F(te,re,he){var ce,pe,xe=-1,_e=re[1],Ae=0,Be=7,Te=4;for(_e===0&&(Be=138,Te=3),re[2*(he+1)+1]=65535,ce=0;ce<=he;ce++)pe=_e,_e=re[2*(ce+1)+1],++Ae<Be&&pe===_e||(Ae<Te?te.bl_tree[2*pe]+=Ae:pe!==0?(pe!==xe&&te.bl_tree[2*pe]++,te.bl_tree[2*A]++):Ae<=10?te.bl_tree[2*b]++:te.bl_tree[2*M]++,xe=pe,Te=(Ae=0)===_e?(Be=138,3):pe===_e?(Be=6,3):(Be=7,4))}function j(te,re,he){var ce,pe,xe=-1,_e=re[1],Ae=0,Be=7,Te=4;for(_e===0&&(Be=138,Te=3),ce=0;ce<=he;ce++)if(pe=_e,_e=re[2*(ce+1)+1],!(++Ae<Be&&pe===_e)){if(Ae<Te)for(;G(te,pe,te.bl_tree),--Ae!=0;);else pe!==0?(pe!==xe&&(G(te,pe,te.bl_tree),Ae--),G(te,A,te.bl_tree),D(te,Ae-3,2)):Ae<=10?(G(te,b,te.bl_tree),D(te,Ae-3,3)):(G(te,M,te.bl_tree),D(te,Ae-11,7));xe=pe,Te=(Ae=0)===_e?(Be=138,3):pe===_e?(Be=6,3):(Be=7,4)}}l($);var ie=!1;function q(te,re,he,ce){D(te,(c<<1)+(ce?1:0),3),function(pe,xe,_e,Ae){Re(pe),B(pe,_e),B(pe,~_e),i.arraySet(pe.pending_buf,pe.window,xe,_e,pe.pending),pe.pending+=_e}(te,re,he)}o._tr_init=function(te){ie||(function(){var re,he,ce,pe,xe,_e=new Array(m+1);for(pe=ce=0;pe<u-1;pe++)for(_[pe]=ce,re=0;re<1<<T[pe];re++)N[ce++]=pe;for(N[ce-1]=pe,pe=xe=0;pe<16;pe++)for($[pe]=xe,re=0;re<1<<w[pe];re++)W[xe++]=pe;for(xe>>=7;pe<h;pe++)for($[pe]=xe<<7,re=0;re<1<<w[pe]-7;re++)W[256+xe++]=pe;for(he=0;he<=m;he++)_e[he]=0;for(re=0;re<=143;)E[2*re+1]=8,re++,_e[8]++;for(;re<=255;)E[2*re+1]=9,re++,_e[9]++;for(;re<=279;)E[2*re+1]=7,re++,_e[7]++;for(;re<=287;)E[2*re+1]=8,re++,_e[8]++;for(se(E,d+1,_e),re=0;re<h;re++)P[2*re+1]=5,P[2*re]=ae(re,5);C=new le(E,T,f+1,d,m),X=new le(P,w,0,h,m),Y=new le(new Array(0),L,0,p,y)}(),ie=!0),te.l_desc=new Q(te.dyn_ltree,C),te.d_desc=new Q(te.dyn_dtree,X),te.bl_desc=new Q(te.bl_tree,Y),te.bi_buf=0,te.bi_valid=0,J(te)},o._tr_stored_block=q,o._tr_flush_block=function(te,re,he,ce){var pe,xe,_e=0;0<te.level?(te.strm.data_type===2&&(te.strm.data_type=function(Ae){var Be,Te=4093624447;for(Be=0;Be<=31;Be++,Te>>>=1)if(1&Te&&Ae.dyn_ltree[2*Be]!==0)return a;if(Ae.dyn_ltree[18]!==0||Ae.dyn_ltree[20]!==0||Ae.dyn_ltree[26]!==0)return s;for(Be=32;Be<f;Be++)if(Ae.dyn_ltree[2*Be]!==0)return s;return a}(te)),z(te,te.l_desc),z(te,te.d_desc),_e=function(Ae){var Be;for(F(Ae,Ae.dyn_ltree,Ae.l_desc.max_code),F(Ae,Ae.dyn_dtree,Ae.d_desc.max_code),z(Ae,Ae.bl_desc),Be=p-1;3<=Be&&Ae.bl_tree[2*k[Be]+1]===0;Be--);return Ae.opt_len+=3*(Be+1)+5+5+4,Be}(te),pe=te.opt_len+3+7>>>3,(xe=te.static_len+3+7>>>3)<=pe&&(pe=xe)):pe=xe=he+5,he+4<=pe&&re!==-1?q(te,re,he,ce):te.strategy===4||xe===pe?(D(te,2+(ce?1:0),3),ue(te,E,P)):(D(te,4+(ce?1:0),3),function(Ae,Be,Te,De){var ye;for(D(Ae,Be-257,5),D(Ae,Te-1,5),D(Ae,De-4,4),ye=0;ye<De;ye++)D(Ae,Ae.bl_tree[2*k[ye]+1],3);j(Ae,Ae.dyn_ltree,Be-1),j(Ae,Ae.dyn_dtree,Te-1)}(te,te.l_desc.max_code+1,te.d_desc.max_code+1,_e+1),ue(te,te.dyn_ltree,te.dyn_dtree)),J(te),ce&&Re(te)},o._tr_tally=function(te,re,he){return te.pending_buf[te.d_buf+2*te.last_lit]=re>>>8&255,te.pending_buf[te.d_buf+2*te.last_lit+1]=255&re,te.pending_buf[te.l_buf+te.last_lit]=255&he,te.last_lit++,re===0?te.dyn_ltree[2*he]++:(te.matches++,re--,te.dyn_ltree[2*(N[he]+f+1)]++,te.dyn_dtree[2*K(re)]++),te.last_lit===te.lit_bufsize-1},o._tr_align=function(te){D(te,2,3),G(te,R,E),function(re){re.bi_valid===16?(B(re,re.bi_buf),re.bi_buf=0,re.bi_valid=0):8<=re.bi_valid&&(re.pending_buf[re.pending++]=255&re.bi_buf,re.bi_buf>>=8,re.bi_valid-=8)}(te)}},{"../utils/common":41}],53:[function(n,r,o){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,o){(function(i){(function(a,s){if(!a.setImmediate){var l,c,u,f,d=1,h={},p=!1,v=a.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(a);m=m&&m.setTimeout?m:a,l={}.toString.call(a.process)==="[object process]"?function(A){process.nextTick(function(){y(A)})}:function(){if(a.postMessage&&!a.importScripts){var A=!0,b=a.onmessage;return a.onmessage=function(){A=!1},a.postMessage("","*"),a.onmessage=b,A}}()?(f="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",R,!1):a.attachEvent("onmessage",R),function(A){a.postMessage(f+A,"*")}):a.MessageChannel?((u=new MessageChannel).port1.onmessage=function(A){y(A.data)},function(A){u.port2.postMessage(A)}):v&&"onreadystatechange"in v.createElement("script")?(c=v.documentElement,function(A){var b=v.createElement("script");b.onreadystatechange=function(){y(A),b.onreadystatechange=null,c.removeChild(b),b=null},c.appendChild(b)}):function(A){setTimeout(y,0,A)},m.setImmediate=function(A){typeof A!="function"&&(A=new Function(""+A));for(var b=new Array(arguments.length-1),M=0;M<b.length;M++)b[M]=arguments[M+1];var T={callback:A,args:b};return h[d]=T,l(d),d++},m.clearImmediate=x}function x(A){delete h[A]}function y(A){if(p)setTimeout(y,0,A);else{var b=h[A];if(b){p=!0;try{(function(M){var T=M.callback,w=M.args;switch(w.length){case 0:T();break;case 1:T(w[0]);break;case 2:T(w[0],w[1]);break;case 3:T(w[0],w[1],w[2]);break;default:T.apply(s,w)}})(b)}finally{x(A),p=!1}}}}function R(A){A.source===a&&typeof A.data=="string"&&A.data.indexOf(f)===0&&y(+A.data.slice(f.length))}})(typeof self>"u"?i===void 0?this:i:self)}).call(this,typeof kt<"u"?kt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(sE);var A3e=sE.exports;const lE=zm(A3e);var Or=function(){return Or=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Or.apply(this,arguments)};function $a(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(r.next(u))}catch(f){a(f)}}function l(u){try{c(r.throw(u))}catch(f){a(f)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((r=r.apply(e,[])).next())})}function ja(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(n=0)),n;)try{if(r=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){n.label=c[1];break}if(c[0]===6&&n.label<i[1]){n.label=i[1],i=c;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(c);break}i[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],o=0}finally{r=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function gg(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Bt=914400,t1=12700,zr=`\r
|
||
`,R3e=2147483649,m4=/^[0-9a-fA-F]{6}$/,y3e=1.67,b3e=27,If={type:"solid",color:"666666",pt:1},cE=[.05,.1,.05,.1],Ff={type:"solid",color:"363636",pt:1},du={color:"888888",style:"solid",size:1,cap:"flat"},ti="000000",qi=12,x3e=18,_f="LAYOUT_16x9",kb="DEFAULT",uE="333333",$c={type:"outer",blur:3,offset:23e3/12700,angle:90,color:"000000",opacity:.35,rotateWithShape:!0},mp=[.5,.5,.5,.5],yk={type:"outer",blur:8,offset:4,angle:270,color:"000000",opacity:.75},S3e={size:8,color:"FFFFFF",opacity:.75},Hs="2094734552",mg="2094734553",ch="2094734554",Nb="2094734555",fE="2094734556",I0="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),uh=["C0504D","4F81BD","9BBB59","8064A2","4BACC6","F79646","628FC6","C86360","C0504D","4F81BD","9BBB59","8064A2","4BACC6","F79646","628FC6","C86360"],M3e=["5DA5DA","FAA43A","60BD68","F17CB0","B2912F","B276B2","DECF3F","F15854","A7A7A7","5DA5DA","FAA43A","60BD68","F17CB0","B2912F","B276B2","DECF3F","F15854","A7A7A7"],nd;(function(e){e.left="left",e.center="center",e.right="right",e.justify="justify"})(nd||(nd={}));var rd;(function(e){e.b="b",e.ctr="ctr",e.t="t"})(rd||(rd={}));var dE="{F7021451-1387-4CA6-816F-3879F97B5CBC}",Pb;(function(e){e.arraybuffer="arraybuffer",e.base64="base64",e.binarystring="binarystring",e.blob="blob",e.nodebuffer="nodebuffer",e.uint8array="uint8array"})(Pb||(Pb={}));var Cb;(function(e){e.area="area",e.bar="bar",e.bar3d="bar3D",e.bubble="bubble",e.bubble3d="bubble3D",e.doughnut="doughnut",e.line="line",e.pie="pie",e.radar="radar",e.scatter="scatter"})(Cb||(Cb={}));var Ib;(function(e){e.accentBorderCallout1="accentBorderCallout1",e.accentBorderCallout2="accentBorderCallout2",e.accentBorderCallout3="accentBorderCallout3",e.accentCallout1="accentCallout1",e.accentCallout2="accentCallout2",e.accentCallout3="accentCallout3",e.actionButtonBackPrevious="actionButtonBackPrevious",e.actionButtonBeginning="actionButtonBeginning",e.actionButtonBlank="actionButtonBlank",e.actionButtonDocument="actionButtonDocument",e.actionButtonEnd="actionButtonEnd",e.actionButtonForwardNext="actionButtonForwardNext",e.actionButtonHelp="actionButtonHelp",e.actionButtonHome="actionButtonHome",e.actionButtonInformation="actionButtonInformation",e.actionButtonMovie="actionButtonMovie",e.actionButtonReturn="actionButtonReturn",e.actionButtonSound="actionButtonSound",e.arc="arc",e.bentArrow="bentArrow",e.bentUpArrow="bentUpArrow",e.bevel="bevel",e.blockArc="blockArc",e.borderCallout1="borderCallout1",e.borderCallout2="borderCallout2",e.borderCallout3="borderCallout3",e.bracePair="bracePair",e.bracketPair="bracketPair",e.callout1="callout1",e.callout2="callout2",e.callout3="callout3",e.can="can",e.chartPlus="chartPlus",e.chartStar="chartStar",e.chartX="chartX",e.chevron="chevron",e.chord="chord",e.circularArrow="circularArrow",e.cloud="cloud",e.cloudCallout="cloudCallout",e.corner="corner",e.cornerTabs="cornerTabs",e.cube="cube",e.curvedDownArrow="curvedDownArrow",e.curvedLeftArrow="curvedLeftArrow",e.curvedRightArrow="curvedRightArrow",e.curvedUpArrow="curvedUpArrow",e.custGeom="custGeom",e.decagon="decagon",e.diagStripe="diagStripe",e.diamond="diamond",e.dodecagon="dodecagon",e.donut="donut",e.doubleWave="doubleWave",e.downArrow="downArrow",e.downArrowCallout="downArrowCallout",e.ellipse="ellipse",e.ellipseRibbon="ellipseRibbon",e.ellipseRibbon2="ellipseRibbon2",e.flowChartAlternateProcess="flowChartAlternateProcess",e.flowChartCollate="flowChartCollate",e.flowChartConnector="flowChartConnector",e.flowChartDecision="flowChartDecision",e.flowChartDelay="flowChartDelay",e.flowChartDisplay="flowChartDisplay",e.flowChartDocument="flowChartDocument",e.flowChartExtract="flowChartExtract",e.flowChartInputOutput="flowChartInputOutput",e.flowChartInternalStorage="flowChartInternalStorage",e.flowChartMagneticDisk="flowChartMagneticDisk",e.flowChartMagneticDrum="flowChartMagneticDrum",e.flowChartMagneticTape="flowChartMagneticTape",e.flowChartManualInput="flowChartManualInput",e.flowChartManualOperation="flowChartManualOperation",e.flowChartMerge="flowChartMerge",e.flowChartMultidocument="flowChartMultidocument",e.flowChartOfflineStorage="flowChartOfflineStorage",e.flowChartOffpageConnector="flowChartOffpageConnector",e.flowChartOnlineStorage="flowChartOnlineStorage",e.flowChartOr="flowChartOr",e.flowChartPredefinedProcess="flowChartPredefinedProcess",e.flowChartPreparation="flowChartPreparation",e.flowChartProcess="flowChartProcess",e.flowChartPunchedCard="flowChartPunchedCard",e.flowChartPunchedTape="flowChartPunchedTape",e.flowChartSort="flowChartSort",e.flowChartSummingJunction="flowChartSummingJunction",e.flowChartTerminator="flowChartTerminator",e.folderCorner="folderCorner",e.frame="frame",e.funnel="funnel",e.gear6="gear6",e.gear9="gear9",e.halfFrame="halfFrame",e.heart="heart",e.heptagon="heptagon",e.hexagon="hexagon",e.homePlate="homePlate",e.horizontalScroll="horizontalScroll",e.irregularSeal1="irregularSeal1",e.irregularSeal2="irregularSeal2",e.leftArrow="leftArrow",e.leftArrowCallout="leftArrowCallout",e.leftBrace="leftBrace",e.leftBracket="leftBracket",e.leftCircularArrow="leftCircularArrow",e.leftRightArrow="leftRightArrow",e.leftRightArrowCallout="leftRightArrowCallout",e.leftRightCircularArrow="leftRightCircularArrow",e.leftRightRibbon="leftRightRibbon",e.leftRightUpArrow="leftRightUpArrow",e.leftUpArrow="leftUpArrow",e.lightningBolt="lightningBolt",e.line="line",e.lineInv="lineInv",e.mathDivide="mathDivide",e.mathEqual="mathEqual",e.mathMinus="mathMinus",e.mathMultiply="mathMultiply",e.mathNotEqual="mathNotEqual",e.mathPlus="mathPlus",e.moon="moon",e.noSmoking="noSmoking",e.nonIsoscelesTrapezoid="nonIsoscelesTrapezoid",e.notchedRightArrow="notchedRightArrow",e.octagon="octagon",e.parallelogram="parallelogram",e.pentagon="pentagon",e.pie="pie",e.pieWedge="pieWedge",e.plaque="plaque",e.plaqueTabs="plaqueTabs",e.plus="plus",e.quadArrow="quadArrow",e.quadArrowCallout="quadArrowCallout",e.rect="rect",e.ribbon="ribbon",e.ribbon2="ribbon2",e.rightArrow="rightArrow",e.rightArrowCallout="rightArrowCallout",e.rightBrace="rightBrace",e.rightBracket="rightBracket",e.round1Rect="round1Rect",e.round2DiagRect="round2DiagRect",e.round2SameRect="round2SameRect",e.roundRect="roundRect",e.rtTriangle="rtTriangle",e.smileyFace="smileyFace",e.snip1Rect="snip1Rect",e.snip2DiagRect="snip2DiagRect",e.snip2SameRect="snip2SameRect",e.snipRoundRect="snipRoundRect",e.squareTabs="squareTabs",e.star10="star10",e.star12="star12",e.star16="star16",e.star24="star24",e.star32="star32",e.star4="star4",e.star5="star5",e.star6="star6",e.star7="star7",e.star8="star8",e.stripedRightArrow="stripedRightArrow",e.sun="sun",e.swooshArrow="swooshArrow",e.teardrop="teardrop",e.trapezoid="trapezoid",e.triangle="triangle",e.upArrow="upArrow",e.upArrowCallout="upArrowCallout",e.upDownArrow="upDownArrow",e.upDownArrowCallout="upDownArrowCallout",e.uturnArrow="uturnArrow",e.verticalScroll="verticalScroll",e.wave="wave",e.wedgeEllipseCallout="wedgeEllipseCallout",e.wedgeRectCallout="wedgeRectCallout",e.wedgeRoundRectCallout="wedgeRoundRectCallout"})(Ib||(Ib={}));var Mi;(function(e){e.text1="tx1",e.text2="tx2",e.background1="bg1",e.background2="bg2",e.accent1="accent1",e.accent2="accent2",e.accent3="accent3",e.accent4="accent4",e.accent5="accent5",e.accent6="accent6"})(Mi||(Mi={}));var Fb;(function(e){e.left="left",e.center="center",e.right="right",e.justify="justify"})(Fb||(Fb={}));var _b;(function(e){e.top="top",e.middle="middle",e.bottom="bottom"})(_b||(_b={}));var xc;(function(e){e.ACTION_BUTTON_BACK_OR_PREVIOUS="actionButtonBackPrevious",e.ACTION_BUTTON_BEGINNING="actionButtonBeginning",e.ACTION_BUTTON_CUSTOM="actionButtonBlank",e.ACTION_BUTTON_DOCUMENT="actionButtonDocument",e.ACTION_BUTTON_END="actionButtonEnd",e.ACTION_BUTTON_FORWARD_OR_NEXT="actionButtonForwardNext",e.ACTION_BUTTON_HELP="actionButtonHelp",e.ACTION_BUTTON_HOME="actionButtonHome",e.ACTION_BUTTON_INFORMATION="actionButtonInformation",e.ACTION_BUTTON_MOVIE="actionButtonMovie",e.ACTION_BUTTON_RETURN="actionButtonReturn",e.ACTION_BUTTON_SOUND="actionButtonSound",e.ARC="arc",e.BALLOON="wedgeRoundRectCallout",e.BENT_ARROW="bentArrow",e.BENT_UP_ARROW="bentUpArrow",e.BEVEL="bevel",e.BLOCK_ARC="blockArc",e.CAN="can",e.CHART_PLUS="chartPlus",e.CHART_STAR="chartStar",e.CHART_X="chartX",e.CHEVRON="chevron",e.CHORD="chord",e.CIRCULAR_ARROW="circularArrow",e.CLOUD="cloud",e.CLOUD_CALLOUT="cloudCallout",e.CORNER="corner",e.CORNER_TABS="cornerTabs",e.CROSS="plus",e.CUBE="cube",e.CURVED_DOWN_ARROW="curvedDownArrow",e.CURVED_DOWN_RIBBON="ellipseRibbon",e.CURVED_LEFT_ARROW="curvedLeftArrow",e.CURVED_RIGHT_ARROW="curvedRightArrow",e.CURVED_UP_ARROW="curvedUpArrow",e.CURVED_UP_RIBBON="ellipseRibbon2",e.CUSTOM_GEOMETRY="custGeom",e.DECAGON="decagon",e.DIAGONAL_STRIPE="diagStripe",e.DIAMOND="diamond",e.DODECAGON="dodecagon",e.DONUT="donut",e.DOUBLE_BRACE="bracePair",e.DOUBLE_BRACKET="bracketPair",e.DOUBLE_WAVE="doubleWave",e.DOWN_ARROW="downArrow",e.DOWN_ARROW_CALLOUT="downArrowCallout",e.DOWN_RIBBON="ribbon",e.EXPLOSION1="irregularSeal1",e.EXPLOSION2="irregularSeal2",e.FLOWCHART_ALTERNATE_PROCESS="flowChartAlternateProcess",e.FLOWCHART_CARD="flowChartPunchedCard",e.FLOWCHART_COLLATE="flowChartCollate",e.FLOWCHART_CONNECTOR="flowChartConnector",e.FLOWCHART_DATA="flowChartInputOutput",e.FLOWCHART_DECISION="flowChartDecision",e.FLOWCHART_DELAY="flowChartDelay",e.FLOWCHART_DIRECT_ACCESS_STORAGE="flowChartMagneticDrum",e.FLOWCHART_DISPLAY="flowChartDisplay",e.FLOWCHART_DOCUMENT="flowChartDocument",e.FLOWCHART_EXTRACT="flowChartExtract",e.FLOWCHART_INTERNAL_STORAGE="flowChartInternalStorage",e.FLOWCHART_MAGNETIC_DISK="flowChartMagneticDisk",e.FLOWCHART_MANUAL_INPUT="flowChartManualInput",e.FLOWCHART_MANUAL_OPERATION="flowChartManualOperation",e.FLOWCHART_MERGE="flowChartMerge",e.FLOWCHART_MULTIDOCUMENT="flowChartMultidocument",e.FLOWCHART_OFFLINE_STORAGE="flowChartOfflineStorage",e.FLOWCHART_OFFPAGE_CONNECTOR="flowChartOffpageConnector",e.FLOWCHART_OR="flowChartOr",e.FLOWCHART_PREDEFINED_PROCESS="flowChartPredefinedProcess",e.FLOWCHART_PREPARATION="flowChartPreparation",e.FLOWCHART_PROCESS="flowChartProcess",e.FLOWCHART_PUNCHED_TAPE="flowChartPunchedTape",e.FLOWCHART_SEQUENTIAL_ACCESS_STORAGE="flowChartMagneticTape",e.FLOWCHART_SORT="flowChartSort",e.FLOWCHART_STORED_DATA="flowChartOnlineStorage",e.FLOWCHART_SUMMING_JUNCTION="flowChartSummingJunction",e.FLOWCHART_TERMINATOR="flowChartTerminator",e.FOLDED_CORNER="folderCorner",e.FRAME="frame",e.FUNNEL="funnel",e.GEAR_6="gear6",e.GEAR_9="gear9",e.HALF_FRAME="halfFrame",e.HEART="heart",e.HEPTAGON="heptagon",e.HEXAGON="hexagon",e.HORIZONTAL_SCROLL="horizontalScroll",e.ISOSCELES_TRIANGLE="triangle",e.LEFT_ARROW="leftArrow",e.LEFT_ARROW_CALLOUT="leftArrowCallout",e.LEFT_BRACE="leftBrace",e.LEFT_BRACKET="leftBracket",e.LEFT_CIRCULAR_ARROW="leftCircularArrow",e.LEFT_RIGHT_ARROW="leftRightArrow",e.LEFT_RIGHT_ARROW_CALLOUT="leftRightArrowCallout",e.LEFT_RIGHT_CIRCULAR_ARROW="leftRightCircularArrow",e.LEFT_RIGHT_RIBBON="leftRightRibbon",e.LEFT_RIGHT_UP_ARROW="leftRightUpArrow",e.LEFT_UP_ARROW="leftUpArrow",e.LIGHTNING_BOLT="lightningBolt",e.LINE_CALLOUT_1="borderCallout1",e.LINE_CALLOUT_1_ACCENT_BAR="accentCallout1",e.LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR="accentBorderCallout1",e.LINE_CALLOUT_1_NO_BORDER="callout1",e.LINE_CALLOUT_2="borderCallout2",e.LINE_CALLOUT_2_ACCENT_BAR="accentCallout2",e.LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR="accentBorderCallout2",e.LINE_CALLOUT_2_NO_BORDER="callout2",e.LINE_CALLOUT_3="borderCallout3",e.LINE_CALLOUT_3_ACCENT_BAR="accentCallout3",e.LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR="accentBorderCallout3",e.LINE_CALLOUT_3_NO_BORDER="callout3",e.LINE_CALLOUT_4="borderCallout3",e.LINE_CALLOUT_4_ACCENT_BAR="accentCallout3",e.LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR="accentBorderCallout3",e.LINE_CALLOUT_4_NO_BORDER="callout3",e.LINE="line",e.LINE_INVERSE="lineInv",e.MATH_DIVIDE="mathDivide",e.MATH_EQUAL="mathEqual",e.MATH_MINUS="mathMinus",e.MATH_MULTIPLY="mathMultiply",e.MATH_NOT_EQUAL="mathNotEqual",e.MATH_PLUS="mathPlus",e.MOON="moon",e.NON_ISOSCELES_TRAPEZOID="nonIsoscelesTrapezoid",e.NOTCHED_RIGHT_ARROW="notchedRightArrow",e.NO_SYMBOL="noSmoking",e.OCTAGON="octagon",e.OVAL="ellipse",e.OVAL_CALLOUT="wedgeEllipseCallout",e.PARALLELOGRAM="parallelogram",e.PENTAGON="homePlate",e.PIE="pie",e.PIE_WEDGE="pieWedge",e.PLAQUE="plaque",e.PLAQUE_TABS="plaqueTabs",e.QUAD_ARROW="quadArrow",e.QUAD_ARROW_CALLOUT="quadArrowCallout",e.RECTANGLE="rect",e.RECTANGULAR_CALLOUT="wedgeRectCallout",e.REGULAR_PENTAGON="pentagon",e.RIGHT_ARROW="rightArrow",e.RIGHT_ARROW_CALLOUT="rightArrowCallout",e.RIGHT_BRACE="rightBrace",e.RIGHT_BRACKET="rightBracket",e.RIGHT_TRIANGLE="rtTriangle",e.ROUNDED_RECTANGLE="roundRect",e.ROUNDED_RECTANGULAR_CALLOUT="wedgeRoundRectCallout",e.ROUND_1_RECTANGLE="round1Rect",e.ROUND_2_DIAG_RECTANGLE="round2DiagRect",e.ROUND_2_SAME_RECTANGLE="round2SameRect",e.SMILEY_FACE="smileyFace",e.SNIP_1_RECTANGLE="snip1Rect",e.SNIP_2_DIAG_RECTANGLE="snip2DiagRect",e.SNIP_2_SAME_RECTANGLE="snip2SameRect",e.SNIP_ROUND_RECTANGLE="snipRoundRect",e.SQUARE_TABS="squareTabs",e.STAR_10_POINT="star10",e.STAR_12_POINT="star12",e.STAR_16_POINT="star16",e.STAR_24_POINT="star24",e.STAR_32_POINT="star32",e.STAR_4_POINT="star4",e.STAR_5_POINT="star5",e.STAR_6_POINT="star6",e.STAR_7_POINT="star7",e.STAR_8_POINT="star8",e.STRIPED_RIGHT_ARROW="stripedRightArrow",e.SUN="sun",e.SWOOSH_ARROW="swooshArrow",e.TEAR="teardrop",e.TRAPEZOID="trapezoid",e.UP_ARROW="upArrow",e.UP_ARROW_CALLOUT="upArrowCallout",e.UP_DOWN_ARROW="upDownArrow",e.UP_DOWN_ARROW_CALLOUT="upDownArrowCallout",e.UP_RIBBON="ribbon2",e.U_TURN_ARROW="uturnArrow",e.VERTICAL_SCROLL="verticalScroll",e.WAVE="wave"})(xc||(xc={}));var lt;(function(e){e.AREA="area",e.BAR="bar",e.BAR3D="bar3D",e.BUBBLE="bubble",e.BUBBLE3D="bubble3D",e.DOUGHNUT="doughnut",e.LINE="line",e.PIE="pie",e.RADAR="radar",e.SCATTER="scatter"})(lt||(lt={}));var Eb;(function(e){e.TEXT1="tx1",e.TEXT2="tx2",e.BACKGROUND1="bg1",e.BACKGROUND2="bg2",e.ACCENT1="accent1",e.ACCENT2="accent2",e.ACCENT3="accent3",e.ACCENT4="accent4",e.ACCENT5="accent5",e.ACCENT6="accent6"})(Eb||(Eb={}));var Jl;(function(e){e.chart="chart",e.image="image",e.line="line",e.rect="rect",e.text="text",e.placeholder="placeholder"})(Jl||(Jl={}));var Kt;(function(e){e.chart="chart",e.hyperlink="hyperlink",e.image="image",e.media="media",e.online="online",e.placeholder="placeholder",e.table="table",e.tablecell="tablecell",e.text="text",e.notes="notes"})(Kt||(Kt={}));var Qh;(function(e){e.title="title",e.body="body",e.image="pic",e.chart="chart",e.table="tbl",e.media="media"})(Qh||(Qh={}));var od;(function(e){e.DEFAULT="•",e.CHECK="✓",e.STAR="★",e.TRIANGLE="▶"})(od||(od={}));var id="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAB3CAYAAAD1oOVhAAAGAUlEQVR4Xu2dT0xcRRzHf7tAYSsc0EBSIq2xEg8mtTGebVzEqOVIolz0siRE4gGTStqKwdpWsXoyGhMuyAVJOHBgqyvLNgonDkabeCBYW/8kTUr0wsJC+Wfm0bfuvn37Znbem9mR9303mJnf/Pb7ed95M7PDI5JIJPYJV5EC7e3t1N/fT62trdqViQCIu+bVgpIHEo/Hqbe3V/sdYVKHyWSSZmZm8ilVA0oeyNjYmEnaVC2Xvr6+qg5fAOJAz4DU1dURGzFSqZRVqtMpAFIGyMjICC0vL9PExIRWKADiAYTNshYWFrRCARAOEFZcCKWtrY0GBgaUTYkBRACIE4rKZwqACALR5RQAqQCIDqcASIVAVDsFQCSAqHQKgEgCUeUUAPEBRIVTAMQnEBvK5OQkbW9vk991CoAEAMQJxc86BUACAhKUUwAkQCBBOAVAAgbi1ykAogCIH6cAiCIgsk4BEIVAZJwCIIqBVLqiBxANQFgXS0tLND4+zl08AogmIG5OSSQS1gGKwgtANAIRcQqAaAbCe6YASBWA2E6xDyeyDUl7+AKQMkDYYevm5mZHabA/Li4uUiaTsYLau8QA4gLE/hU7wajyYtv1hReDAiAOxQcHBymbzark4BkbQKom/X8dp9Npmpqasn4BIAYAYSnYp+4BBEAMUcCwNOCQsAKZnp62NtQOw8WmwT09PUo+ijaHsOMx7GppaaH6+nolH0Z10K2tLVpdXbW6UfV3mNqBdHd3U1NTk2rtlMRfW1uj2dlZAFGirkRQAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAGHqrm8caPzQ0WC1logbeiC7X3xJm0PvUmRzh45cuki1588FAmVn9BO6P3yF9utrqGH0MtW82S8UN9RA9v/4k7InjhcJFTs/TLVXLwmJV67S7vD7tHF5pKi46fYdosdOcOOGG8j1OcqefbFEJD9Q3GCwDhqT31HklS4A8VRgfYM2Op6k3bt/BQJl58J7lPvwg5JYNccepaMry0LPqFA7hCm39+NNyp2J0172b19QysGINj5CsRtpij57musOViH0QPJQXn6J9u7dlYJSFkbrMYolrwvDAJAC+WWdEpQz7FTgECeUCpzi6YxvvqXoM6eEhqnCSgDikEzUKUE7Aw7xuHctKB5OYU3dZlNR9syQdAaAcAYTC0pXF+39c09o2Ik+3EqxVKqiB7hbYAxZkk4pbBaEM+AQofv+wTrFwylBOQNABIGwavdfe4O2pg5elO+86l99nY58/VUF0byrYsjiSFluNlXYrOHcBar7+EogUADEQ0YRGHbzoKAASBkg2+9cpM1rV0tK2QOcXW7bLEFAARAXIF4w2DrDWoeUWaf4hQIgDiA8GPZ2iNfi0Q8UACkAIgrDbrJ385eDxaPLLrEsFAB5oG6lMPJQPLZZZKAACBGVhcG2Q+bmuLu2nk55e4jqPv1IeEoceiBeX7s2zCa5MAqdstl91vfXwaEGsv/rb5TtOFk6tWXOuJGh6KmnhO9sayrMninPx103JBtXblHkice58cINZP4Hyr5wpkgkdiChEmc4FWazLzenNKa/p0jncwDiqcD6BuWePk07t1asatZGoYQzSqA4nFJ7soNiP/+EUyfc25GI2GG53dHPrKo1g/1Cw4pIXLrzO+1c+/wg7tBbFDle/EbQcjFCPWQJCau5EoBoFpzXHYDwFNJcDiCaBed1ByA8hTSXA4hmwXndAQhPIc3lAKJZcF53AMJTSHM5gGgWnNcdgPAU0lwOIJoF53UHIDyFNJcfSiCdnZ0Ui8U0SxlMd7lcjubn561gh+Y1scFIU/0o/3sgeLO12E2k7UXKYumgFoAYdg8ACIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6ZQ4JB6PKzviYthnNy4d9h+1M5mMlVckkUjsG5dhiBMCEMPg/wuOfrZZ/RSywQAAAABJRU5ErkJggg==",w3e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAVnCAYAAACzfHDVAAAAYHpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjaVcjJDYAwDEXBu6ughBfH+YnLQSwSHVA+Yrkwx7HtPHabHuEWrQ+lBBAZ6TMweBWoCwUH8quZH6VWFXVT696zxp12ARkVFEqn8wB8AAAACXBIWXMAAC4jAAAuIwF4pT92AADZLklEQVR42uzdd5hV9Z0/8M+dmcsUZmDovYOhKCiKYhR7JJuoSTCWGFI0WUxijBoTTXazVlyza4maYm9rTRSJigVsqCDNQhHBAogKCEgRMjMMU+7vj93sL8kqClLmnPt6PY+PeXZM9vP9vO8jZ+Y955xMfJLjorBrRMuSgmiViyjN1Ee2oSCyucbIBAAAAAAAAADbXaYgcoWNUZcrirpMbdRsysa69wbF+rggGrf439vSF7seF12aFUTnxvoosGIAAAAAAACAXacgoqEgF++/VRgr4r5o+Kh/pvD//F8uiII+LaPrum/EXzqui2b1ddHGKgEAAAAAAAB2rVxEQWMmWrQtjHZlA6N2w2tR84//zP8pgHu3ib6NBdG+zdqorK6KVUXZaB85j3sGAAAAAAAAaAoaG6OwIBdtyneP2PBabPzbr/1dAdx3VHRtyESHiIhcYzQrLo7WmVzkcjmPgAYAAAAAAABoSgpy0eIfS+D/LYD7fy3abC6Inn/7X2hsjELlLwAAAAAAAEDT9D8lcM1fHwddFBFxyAVR9M686PVp/gfqayKiJiLqLBMAAAAAAABgh8hGRGlEUekn/6PFEb3ikNgQk6O+KCJi6dzoksv83/cB/1X9xoiaJdmoWxlRV1dk2QAAAAAAAAA7QTZbH9muERX96v7n9t7/q6Exinq3i86LI94pjOOisHUu+uYykfmof7h+Y8Sa6aVRt74gGhs9DRoAAAAAAABgZ2lsLIi69QWxeUUmSjs0/vedwR8hk4uydSfE+wVd6qOyMfMx7/mtj9jwUtbjngEAAAAAAAB2obrqolg7IxtR/9Ffb4wo7P5GtCwobRaVH/c/UvNmNuqqPfIZAAAAAAAAYFerqy6KmjezH/v1ktpoVZBr/PgCeMN7yl8AAAAAAACApmJLHW5jUVQWNDSP+Q3ZeLco4i9/+8X6teHRzwAAAAAAAABNSd3/dLn/oLAoqqIuVhXFxhhSGB/xqGjlLwAAAAAAAECTU1eTjaK/KXSLIv7SWB+bc5ko9YxnAAAAAAAAgATJFv393bz1EeV//c8F1gMAAAAAAACQDgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKSEAhgAAAAAAAAgJRTAAAAAAAAAACmhAAYAAAAAAABICQUwAAAAAAAAQEoogAEAAAAAAABSQgEMAAAAAAAAkBIKYAAAAAAAAICUUAADAAAAAAAApIQCGAAAAAAAACAlFMAAAAAAAAAAKaEABgAAAAAAAEgJBTAAAAAAAABASiiAAQAAAAAAAFJCAQwAAAAAAACQEgpgAAAAAAAAgJRQAAMAAAAAAACkhAIYAAAAAAAAICUUwAAAAAAAAAApoQAGAAAAAAAASAkFMAAAAAAAAEBKKIABAAAAAAAAUkIBDAAAAAAAAJASCmAAAAAAAACAlFAAAwAAAAAAAKREkRUAAACwrUpLSwuGDRvWfMCAAS26du3avKysrLiioqKkZcuWzZs1a1bcvHnz0tLS0rJsNtusuLi4ebNmzUoLCgo+8/eijY2N9Zs3b66pra2tqqur21xTU1NdVVVVs2nTptqNGzdWbdiwoeYvf/nL5hUrVlQtWLBgw6xZs6pqamoaJQYAAEDaKYABAACIiIghQ4aUHnTQQW379u3bql27dq3at2/fpkWLFq2bN29eWVpa2qpZs2bNCwsLm2ez2fLCwsLyoqKi8sLCwtKknK+hoaG6vr6+qqGh4S91dXV/aWhoqNq8eXNVTU3NuqqqqvUbNmxYu2rVqjWrV69e99Zbb6177rnnPpgzZ06NTwYAAABJogAGAADIA8OGDWt+xBFHdBwwYECnLl26dGjdunXHFi1adCgtLe1YUlLSvlmzZq0KCgqK07yDwsLCssLCwrKIaPdp/zuNjY21mzdvXrdp06ZVNTU172/YsGHl2rVr31+2bNnKBQsWrHjyySffnzVrVpVPGAAAAE1Fpuexsd9HfaF+ZcSal0ptCAAAIAE6deqUPf744zvtueeeXbp3796lbdu2XSorKzuXlpZ2KS0t7VBYWFhhSztGQ0PDxpqampU1NTXL169fv+yDDz5Y9s477yybPXv2sj/96U8rVqxYUWdLAAAAbE9t9q6Jog4f/TUFMAAAQEJks9nMt7/97Y4jRozo1bdv397t2rXrXl5e3rWsrKxzcXFx+4gosKUmp7G2tnZVTU3Nso0bNy5btWrV0tdff/2tJ598cvG999672noAAADYFgpgAACAhPne977X6a9Fb/v27Xu1bNmyV1lZWa8kvXOXLauvr9/wl7/8ZdG6desWL1u2bNHChQsX/fGPf1w8derUjbYDAADAliiAAQAAmqhsNps59dRTuxx66KH9+/Tp87n27dv3Ly8v719UVOSRzXlq06ZNKzZu3Pj6+++//8abb775xqOPPvrG3XffvcpmAAAA+CsFMAAAQBNx6qmndvniF784qHfv3v3btWv3uYqKis8VFhaW2wxbUl9fv37Dhg1vfPDBB68vXrz4jccee2z+jTfeuNxmAAAA8pMCGAAAYBc45phjWn/rW9/aq3///kPatGnTv6Kiop9HOLO9NDQ0VG/cuPGtNWvWLFy4cOGcO+6445WHHnporc0AAACknwIYAABgJzjjjDO6f+lLX9qrV69eg1u3bj2orKysR0RkbIadJFddXb103bp18xcvXjz30UcffeXqq69+x1oAAADSRwEMAACwnZWWlhb86le/2u3QQw8d1r17931btmw5qLCwsMxmaEoaGhqqP/zww/nvvPPOzGeeeWbW2LFj36ipqWm0GQAAgGRTAAMAAGwHP/7xj7t+9atf3bdXr15D27Ztu1c2m21jKyRJXV3dmg8++OCVRYsWvfznP/95xh/+8IdltgIAAJA8CmAAAIBtcOKJJ7Y75ZRTDujXr9+w1q1bD81ms61shTSpq6tbt3bt2pfffPPNWbfccsvUe++9d7WtAAAANH0KYAAAgE+hoqKi4IILLhg0YsSI/bp27bpfy5YtB2YymUKbIR/kcrmGDz/8cP6777474/nnn59x4YUXvrZx40aPiwYAAGiCFMAAAAAf4/jjj2/7/e9//8D+/fsf2Lp1630KCgpKbAUiGhsbN61fv37eW2+9NeWGG2545u67715lKwAAAE2DAhgAAOB/ZLPZzAUXXPC5I4888sDu3bsfWFFRsVtEFNgMbFl1dfWSd999d8qsWbNmnnvuuS+vW7euwVYAAAB2DQUwAACQ10pLSwsuvfTSQYcccsjBXbt2HVFWVtbDVmDb1dbWrnr//fdfmDp16uRf/vKXL65evbreVgAAAHYeBTAAAJB3Bg0aVHrBBRd8fs899zywQ4cOBxQVFbWwFdj+Ghsba9euXTtrzpw5T59//vmTX3755WpbAQAA2LEUwAAAQF4YNmxY8/POO+/gIUOGHOZ9vrDz/W0ZfNFFFz07a9asKlsBAADY/hTAAABAarVq1arwyiuv3HfEiBEjO3TocFBhYWGZrcCu19DQUP3+++8/O2XKlIk/+clPZm7cuLHRVgAAALYPBTAAAJAqrVq1Kvztb3+7/3777Xd4x44dRxQWFpbbCjRdDQ0NG99///0pM2bMeOqHP/zhC8pgAACAz0YBDAAApMJZZ53V45vf/OaRvXr1GllaWtrVRiB5ampq3l28ePHEO++8c9LVV1/9jo0AAABsPQUwAACQWMOHDy+/6KKLvjB48OCjW7RoMdBGID0+/PDDV+fNmzfhvPPOe3L69Ol/sREAAIBPRwEMAAAkSqtWrQpvuOGGQ/bbb79/atOmzX6ZTCZrK5BeuVyubs2aNTNmzJjx2JgxYyavW7euwVYAAAA+ngIYAABIhB//+Mddv/e9732lZ8+e/1RcXNzWRiD/1NbWfvD2228/dssttzz029/+9l0bAQAA+L8UwAAAQJNVUVFRcO21137+4IMPPrZ169b7ZTKZAlsBIqJxzZo1M59//vnxp5122hR3BQMAAPx/CmAAAKDJOeWUUzqefvrpx/bu3ftL2Wy2jY0AH6e+vn7j0qVLH/vd7373x+uvv36ZjQAAAPlOAQwAADQJ2Ww2c+uttx5wyCGHnNC6deu9I8LdvsDWaFy7du1L06ZN+/OPfvSjZ1evXl1vJQAAQD5SAAMAALtU//79S6655pp/2nPPPY8tLy/vayPAZ1VTU7NswYIF488999wHp06dutFGAACAfKIABgAAdomf//znPU855ZQTu3btemRhYWGZjQDbW2NjY92KFSuevOWWW+689NJLF9kIAACQDxTAAADATuMxz8Cusn79+rlPP/30f5188slT6+rqcjYCAACklQIYAADY4fr27Vv8hz/84a+Pee5nI8CuUlNT8+68efPu/8EPfvDgwoULN9kIAACQNgpgAABghxkyZEjpNddc89XBgwefWFxc3MFGgKaitrZ21dy5c+/5yU9+8uc5c+bU2AgAAJAWWyqAPYoNAADYJqNHj+4wb968n06ZMuXRYcOGnaH8BZqa4uLi9sOGDTtjypQpj86bN++nJ510UntbAQAA0s4dwAAAwFY599xze33/+9//dufOnY/IZDJZGwGSIpfL1S1fvvzJG2644fbLLrvsbRsBAACSyiOgAQCAz+y8887r+53vfOfbHTt2PDyTyRTaCJBUuVyuYcWKFU/cdNNN//XrX/96sY0AAABJowAGAAC22WWXXTboG9/4xg9at249zDaAtFm7du2su++++9pzzjnnNdsAAACSQgEMAABsNcUvkE8UwQAAQJIogAEAgE9N8Qvks7Vr18665557rvv5z38+3zYAAICmaksFcGHlwOj6UV9orIqoWZG1PQAAyBO/+MUvet9xxx3nHHrooT8pLS3tYiNAPiotLe2y7777HvP973+/X1lZ2ZIpU6assxUAAKCpKetcHwXlH/01BTAAAOS5M844o/u99957zpe//OWflZeX94qIjK0AeS5TXl7e8+CDDx71/e9/v3dEvDVjxowPrQUAAGgqFMAAAMD/ceKJJ7a77777fjJq1Kh/KS8v7xOKX4B/lCkvL+99+OGHj/rWt77VfvXq1Qvnz59fbS0AAMCutqUC2DuAAQAgzwwdOrTs+uuvP6l///4nFRYWltkI20NjY2Ns2rQpqquro6amJurr62PTpk2xefPmqK+vj+rq6qivr4/NmzfHpk2boqGhYZv/fxUWFkZJSUk0a9YsioqKoqysLIqKiqJZs2ZRUlISRUVFUVpa+r9/FRQUCIjtoqGhoeq11167a8yYMffMmTOnxkYAAIBdZUvvAFYAAwBAnujUqVP2nnvuGbXXXnudnM1mK22Ej9PQ0BAbN26MDRs2/J+/Nm7cGBs3boyamprYtGlTbNq0KWpqaqK2trbJnqe4uDhKSkqitLT0f/9eUVERFRUV0aJFi//zV0VFRRQWFvog8LHq6urWvvjii7eceOKJf169enW9jQAAADubAhgAAPLcXXfdddAXv/jF00tLS7vZRn7L5XKxYcOGWLt2baxbty7Wrl37d3+tW7cuNmzYkPd7atGiRbRu3TpatWoVrVu3jjZt2vzvf27dunW0aNHCh4morq5e+sgjj1zzne98Z6ptAAAAO5MCGAAA8tTVV189+MQTTzyzoqJioG3kj8bGxli5cmUsX748Pvjgg1i9evX//n3t2rXR2NhoSZ9RYWFhtGrVKtq1axdt27b937937tw5OnTo4LHTeWbDhg3z77333qvOPPPMebYBAADsDApgAADIM1/72tfaXHrppad27979qIjQRKVUQ0NDrFq1KlasWBHvv//+//595cqVTfqRzGlXXFwcHTp0iI4dO0bnzp2jY8eO0alTp2jXrp1HS6dYLpdrfOeddx76+c9/fv2ECRPW2QgAALAjKYABACBP9OrVq9ldd931jT322OM7hYWFZTaSHh9++GG88847sXTp0njvvfdixYoVsXr16mhoaLCchCgsLIz27dtHp06dolu3btG9e/fo3r27x0mnTENDQ9W8efNu++Y3v/nHJUuWbLYRAABgR1AAAwBAHrjrrrtG/NM//dOZJSUlXWwj2davXx9Lly6Nd955539L3w8//NBiUqqysvJ/y+C//tWqVSuLSbiamppljz322G9Gjx49xTYAAIDtTQEMAAAp9qtf/arPD3/4w5+1atVqL9tIno0bN8aSJUvirbfeikWLFsV7770XmzZtspg8V1JSEl27do0+ffpE3759o3fv3lFeXm4xCbRu3bqXr7322ivGjh27yDYAAIDtRQEMAAApNGjQoNI77rjju7vttttJBQUFWRtJhtWrV8ebb74ZixcvjiVLlsTy5cujsbHRYtiigoKC6Ny5c/Tu3Tt69+4d/fr1i7Zt21pMQjQ2Nta98cYbd33rW9+6ff78+TU2AgAAfFYKYAAASJHS0tKCBx988Jj99tvvn7PZbBsbaboaGhri7bffjrfeeisWLFgQS5YscXcv201FRUX06tUr+vbtG3379o2ePXtGYWGhxTRhdXV1a2bMmHHjV77ylYdqamr85gcAALDNFMAAAJASp59+erdf/vKX51ZWVu5jG03T6tWr47XXXouFCxfGm2++GRs3brQUdooWLVpE3759Y8CAATFw4EB3CDdh69evf/E//uM//vPqq69+xzYAAIBtoQAGAICEGzRoUOm99977w969ex+byWTc4teErF+/PubNmxcLFiyIN954Q+FLk9GiRYvo169fDBgwIPbYY4+orKy0lCYkl8s1LF68eNyJJ554rcdCAwAAW0sBDAAACXbNNdcMOemkk35RVlbWyzZ2vVwuF++++27MnTs3XnvttViyZIl3+NLkFRQURK9evWLQoEExePDg6Natm6U0EdXV1UvuvvvuX//kJz+ZYxsAAMCnpQAGAIAEOuqoo1r99re//VmHDh0Ot41da9OmTTF79uyYO3duLFy4MKqqqiyFRGvevHn0798/Bg8eHHvuuWeUlJRYyi62cuXKp04//fTLJ0yYsM42AACAT6IABgCAhBk3btwRRxxxxFnZbLaNbewaVVVVMXfu3Jg7d27Mnz8/amtrLYVUKi4ujoEDB8bgwYNj8ODBUV5ebim7SF1d3ZqnnnrqqlGjRj1hGwAAwJYogAEAICFOOeWUjhdddNEvW7duvZ9t7HwrV66MWbNmxdy5c+Odd96JXC5nKeSdzp07x9577x3Dhg2LDh06WMgusHbt2hnnnXfepbfccsv7tgEAAHwUBTAAADRxpaWlBU899dQ3Bw8e/L2CggLPYt2JVqxYES+99FK89NJLsXz5cguBv/HXMnjvvfeOTp06WchO1NjYuGnu3Lk3H3744XfV1NR40TgAAPB3FMAAANCEjR49usOll176yzZt2gy3jZ1j/fr18eKLL8bMmTNj6dKlFgKfQs+ePWPfffeNYcOGRYsWLSxkJ1mzZs0L55577q/vvvvuVbYBAAD8lQIYAACaoIqKioKJEyd+c/Dgwd8vKCgotpEda8OGDfHiiy/G9OnTlb7wGfXo0SOGDx8ew4YNi4qKCgvZwdwNDAAA/CMFMAAANDGnnHJKx7Fjx/5rZWXlMNvYcerr6+PVV1+NGTNmxLx586Kurs5SYDvKZrMxZMiQ2HfffWP33XePwsJCS9mB1q5dO+MXv/jFv995550rbQMAAPKbAhgAAJqIbDabeeKJJ47fZ599fuSu3x0jl8vFwoULY/r06TF79uzYtGmTpcBOUFpaGkOGDInhw4fHgAEDLGQHaWhoqJ42bdo1Rx555J9tAwAA8pcCGAAAmoDjjz++7ZVXXvmr1q1be9fvDrBmzZqYNm1azJw5M1audHMc7EodO3aMz3/+87H//vt7X/CO+3fetDPPPPOScePGfWAbAACQfxTAAACwi9100037HXvssf9WXFzc1ja2n1wuF6+99lo8//zzMW/evKivr7cUaEKKiopizz33jBEjRsTnPve5yGQylrId1dbWrvrjH/948Q9+8INZtgEAAPlFAQwAALvIkCFDSu+///5zunTp8k+2sf2sXbs2Jk+eHNOnT48PP/zQQiABKisrY8SIEXHIIYdEeXm5hWxHy5Yte+zrX//6f86ZM6fGNgAAID9sqQAurBwYXT/qC41VETUrsrYHAADb6IILLtjt97///VVt2rQZZhvbx+LFi2P8+PFx9913xxtvvBG1tbWWAgmxadOmeOONN+LZZ5+NtWvXRps2bTweejtp0aJFv5NOOumg0tLSuc8+++xaGwEAgPQr61wfBR/zu7XuAAYAgO0sm81mJk2a9PVhw4b9pKCgwG9VfkZ1dXUxY8aMeOaZZ+K9996zEEiRfv36xSGHHBJDhw6NgoICC/mMGhsbN8+YMeOaL37xi+Pq6upyNgIAAOnlEdAAALCTHH/88W2vuuqqCyorK/exjc9mzZo18dRTT8XUqVNj06ZNFgIpVlFREZ///OfjsMMOi8rKSgv5jNavXz/r9NNPv3DcuHEf2AYAAKSTAhgAAHaC22677fNf+9rXzstms5W2se0WLVoUjz/+eMybNy9yOTewQT4pKiqKIUOGxBFHHBG9e/e2kM+grq5u3QMPPHDRySefPM02AAAgfRTAAACwA1VUVBQ8/fTTpwwcOPCUTCbjGabbIJfLxauvvhpPPvlkLFy40EIgz2UymRgwYEAcccQRMWjQIAvZ9n+3Ns6fP/+Www8//JaNGzc22ggAAKTHlgrgwsqB0fWjvtBYFVGzwuvKAABgS0488cR2EyZMuLx79+5fzmQyGRvZOo2NjTFr1qy49dZb48knn4wPPvC0UuC/rV69OmbMmBFz5syJ0tLS6NSpU/jX7NbJZDKZ9u3bD/3+978/dPny5TNfffXValsBAIB0KOtcHwXlH/O9gDuAAQBg29x66637H3vssRcWFRW1sI2tU1NTE0899VQ8++yzsWHDBgsBPlGLFi3i4IMPjsMPPzxKS/28YmvV19d/OG7cuPNPPvnk6bYBAADJ5xHQAACwHWWz2cyzzz77rSFDhvzAI5+3zqZNm2Ly5Mnx1FNPKX6BbdKiRYs47LDD4pBDDlEEb6VcLtfwyiuvXHfooYfeWVdX5yXrAACQYApgAADYTo455pjW11133cWVlZV728ant2HDhnj88cdjypQpUVtbayHAZ1ZcXBwHHnhgfPGLX4wWLTyIYWusWbNm2re//e3zn3nmGb+JAwAACeUdwAAAsB1cfvnlu1900UW/LS8v72cbn05VVVVMmDAhbrnllnjzzTejoaHBUoDtoqGhIZYsWRLPPfdc1NTURI8ePSKb9XOMT6OsrKzb17/+9SPbtm0774knnlhtIwAAkMDreu8ABgCAz+bhhx/+8qGHHnpOQUFBsW18sk2bNsUzzzwTTzzxRFRVVVkIsMOVl5fHkUceGYccckgUF/tX9afR2Ni46emnn/71Mccc87htAABAsngENAAAbKN27doVTZ48+YxevXodZxufrK6uLp5++umYOHGi4hfYJSoqKuKLX/xiHHzwwe4I/pQWLVr0x4MOOuiadevWeUwDAAAkhEdAAwDANjj22GPbPvzww7/p2LHjobaxZXV1dfHkk0/GddddF3Pnzo26ujpLAXaJzZs3x2uvvRbPPfdcRET06NEjCgsLLWYLWrduvfv3vve9fd9+++1pCxYsqLYRAABo+rb0CGgFMAAAfITLL7989wsuuOB3zZs372UbH6+xsTGmTJkS119/fbzyyiuKX6DJ2Lx5cyxYsCCmT58excXF0a1bt8hkMhbzMUpKSjp8+ctfPrJt27ZzvBcYAACaPu8ABgCArTB+/Pgjv/CFL/xLQUFBiW18vAULFsT48eNj6dKllgE0eT169IivfOUrMWjQIMvYgsbGxpqJEydecuyxxz5pGwAA0HR5BzAAAHwK7dq1K3ruued+1qNHj6/axsdbtGhR3H///bF48WLLABKnV69ecdxxx0WfPn0sYwuWLl3654MOOujy1atX19sGAAA0Pd4BDAAAn2DYsGHNn3766V936tTpC7bx0TZs2BD33Xdf/PGPf4y1a9daCJBI69evj2nTpsW6deuiZ8+eUVLiYQ8fpbKysv+3v/3t/lOmTJmyfPlyz/cHAIAmxjuAAQBgC372s5/1uP76669t0aKF54J+hJqamhg/fnzcfPPN8fbbb0cul7MUINFyuVy888478cwzz0RVVVX07t07slk/A/lHZWVl3U488cTD6+rqZkyfPv1DGwEAgCZ0va4ABgCAj3bFFVfscdZZZ11dXFzcwTb+Xi6XixkzZsR1110XCxYsiMbGRksBUqWxsTGWLFkSM2bMiPLy8ujSpUtkMhmL+RvZbLbFQQcddHibNm1mP/HEE6ttBAAAmoYtFcDeAQwAQN6aNGnSqAMOOODsTCZTaBt/b9GiRXHPPffEu+++axlA3ujWrVucdNJJ0bt3b8v4B7lcrm7y5Mm//vKXv/yIbQAAwK63pXcAK4ABAMg7paWlBTNnzjyzT58+x9vG39uwYUOMGzcuZsyY4VHPQF7KZDKx3377xde//vWoqKiwkH+waNGiP+27775X1dTUeCwEAADsQgpgAAD4H926dctOnjz5V506dRppG/9fLpeLqVOnxp///OfYuHGjhQB5r6KiIkaNGhX777+/x0L/g+XLlz9+6KGHXvLuu+/W2QYAAOwaWyqAvQMYAIC8MXz48PInnnjiynbt2o2wjf/vnXfeiWuvvTaee+652Lx5s4UARMTmzZtjzpw58dprr0XPnj2jRYsWlvI/Kioq+n7rW98aMnXq1Ofee+89f3AAAMAusKV3ACuAAQDIC9/+9rc73n777X9o0aLFANv4b1VVVXHXXXfFvffeG+vXr7cQgI+wbt26eP7552P9+vWx2267RVFRkaVERElJSefjjjvuoA8++GDKK6+88hcbAQCAnUsBDABAXjv//PP7XXzxxX8oKSnpbBv/bfr06XHttdfGokWLLAPgU3jnnXdi2rRp0bp16+jc2R8nERHZbLbyC1/4whElJSUvTp48eY2NAADAzqMABgAgb/3ud7/b60c/+tFVRUVFrWwjYs2aNXHzzTfHpEmTora21kIAtkJtbW289NJL8c4770Tfvn2jtLQ073dSWFhYNnz48C/26dNn4UMPPbTMpwQAAHYOBTAAAHnp1ltv3f+b3/zmfxYWFjbP913kcrl4/vnn4/rrr4/ly5f7cAB8BitXroxp06ZFRUVFdOvWLTKZTF7vo6CgIDto0KBDBw0atOiBBx54xycEAAB2vC0VwJmex8Z+H/WF+pURa17ym6wAACTTww8//KXDDjvsXzKZTN6/rPGDDz6I22+/Pd544w0fDIDtbMCAAfGtb30r2rRpk/e7yOVyjVOmTPn1yJEjH/LJAACAHavN3jVR1OGjv6YABgAgdV555ZXTPve5z30r3/fQ0NAQjz32WDz++ONRV1fngwGwg2Sz2Tj66KPjC1/4QhQUFOT9Pl5//fU79tprr9/7ZAAAwI6jAAYAIC9ks9nMyy+/fFafPn2Oz/ddvPvuu3HbbbfFe++954MBsJN069YtvvOd70S3bt3yfhdLliy5f5999rmypqam0ScDAAC2PwUwAACpV1paWjBr1qyzevfufVw+7yGXy8WTTz4ZDz74oLt+AXaBbDYbxxxzTBxxxBF5fzfw0qVLHxg6dOjlSmAAANj+FMAAAKRar169mk2ePHlsu3btDsrnPaxcuTJuueWWePvtt30oAHaxnj17ximnnBIdOnTI6z2sXr16yiGHHPIvS5Ys2exTAQAA28+WCuDCyoHR9aO+0FgVUbMia3sAADRpQ4cOLXvqqacub9Omzf75uoNcLhfPPPNMXH/99bF27VofCoAmYP369TFlypQoKSmJnj17RiaTycs9NG/evPtJJ500ZPLkyc+sWLHCoykAAGA7KetcHwXlH/01BTAAAIk1ZMiQ0kceeeSKVq1a7Z2vO6iuro7bb789nnjiiWhs9IRNgKaksbEx5s+fH++//34MGDAgstn8/DlLaWlpp6997WuDn3rqqadXrlxZ75MBAACfnQIYAIDUOfTQQ1s8+OCDv2/ZsuUe+bqDOXPmxNVXX+2RzwBN3PLly+OFF16Ijh075u0joUtLSzudcMIJ+7/00ktPv/3227U+FQAA8NkogAEASJVhw4Y1v++++37TsmXLQfl4/vr6+hg/fnz88Y9/jNpaP0MHSILNmzfHiy++GJs3b47ddtstCgoK8m4HxcXFbY866qg9n3vuuaeXL1/ucdAAAPAZKIABAEiNI488snLcuHG/b9GixcB8PP97770XV111VcyZM8eHASCBFi1aFC+//HL069cvWrRokXfnLykp6XDcccftP2fOnGcWLVq0yScCAAC2jQIYAIBUOPLIIyvvvPPO35aXl++Wj+d/+umn48Ybb4wPP/zQhwEgwf7yl7/ECy+8ECUlJdGrV6+8O3+zZs3aHHXUUfspgQEAYNspgAEASLxjjz227W233faH5s2b98m3s1dVVcXNN98cTz31VDQ2NvowAKRAY2NjzJ8/P5YtWxYDBgyIZs2a5dX5mzVr1uaYY4458M0333xm4cKFNT4RAACwdRTAAAAk2qGHHtritttuuzofy9+33347rrnmmli8eLEPAkAKvf/++/HKK69Enz59orKyMq/Ons1mK4888sh9Zs6c+dTSpUs3+zQAAMCnpwAGACCxjjjiiJb33nvvteXl5f3y6dy5XC4mTZoUN998c1RVVfkgAKRYVVVVTJ06NbLZbPTp0ycymUzenL24uLjtV7/61c+/8sorTy1evLjWpwEAAD4dBTAAAIl06KGHtrj33nt/l2/lb3V1ddx0000xefLkyOVyPggAeSCXy8WCBQvi3Xffjd133z2y2fz5mUyzZs1aH3300fvNmDHjSXcCAwDAp6MABgAgcYYOHVo2fvz4qysqKgbk07mXLVsWV111lUc+A+SplStXxiuvvBKf+9znoqKiIm/O3axZszZHH3300GeeeebJFStW1PkkAADAlimAAQBIlCFDhpQ++uij17Rs2XL3fDr31KlT49prr42NGzf6EADksaqqqpg+fXq0bds2unTpkjfnLikpaT9q1KihTz755JMrV66s90kAAICPt6UCuMB6AABoSjp16pSdMGHCv1dWVu6RL2dubGyMcePGxR133BF1dW56AiCitrY2br755hg/fnw0NjbmzbkrKyv3mDBhwr9369bNXQkAALCNFMAAADQZrVq1Kpw+ffolbdq02T9fzlxdXR2/+93vYtKkSd73C8DfyeVy8fjjj8fvf//7qK6uzptzt2nTZv8pU6Zc0qpVq0KfAgAA2HoKYAAAmoSKioqC2bNnX9KuXbuD8uXMS5cujYsuuijmz5/vAwDAx3r11VfjoosuiqVLl+bNmdu1a3fQ7Nmz/72iosLPrgAAYCu5iAYAoEmYOXPmz9q1a3dIvpz35ZdfjiuuuCLWrVsnfAA+0bp16+KKK66Il19+OW/O3K5du4Nnzpz5M+kDAMDWUQADALDLvfjii2N69OgxKh/Omsvl4oEHHogbbrghamtrhQ/Ap1ZbWxs33HBDPPDAA3nz2oAePXqMevHFF8dIHwAAPj0FMAAAu9SkSZO+NnDgwFPy4ax1dXVx8803x8SJE73vF4BtksvlYuLEiXHLLbdEXV1dXpx54MCBJ0+aNOlr0gcAgE9HAQwAwC7z6KOPHnXggQeekw9nXbduXfz617+OWbNmCR6Az2zmzJnx61//Ol9eJZA58MADz3n00UePkjwAAHyywsqB0fWjvtBYFVGzImtDAADsEDfeeOO+Rx999EWZTKYw7Wddvnx5XHXVVbFy5UrBA7DdbNiwIWbPnh0DBw6MioqKtB8307179/179uz56sMPP7xc+gAA5LuyzvVRUP7RX1MAAwCw011xxRV7fPe7372qoKCgWdrPOmfOnPjtb38bGzduFDwA2111dXVMmzYtOnfuHB07dkz1WTOZTOHuu+9+eJs2bV6aNGnSKukDAJDPFMAAADQZZ5xxRvef/exnvy0sLCxP+1knTJgQd999d9TX1wsegB2moaEhXnrppchms9G3b99UnzWTyRTttddeB/3lL395dubMmRukDwBAvlIAAwDQJBx00EEVf/jDH64pLi7ulOZz5nK5eOCBB+Kxxx4TOgA77c+eBQsWRF1dXfTv3z8ymUxqz1pQUFBywAEHDJs+ffqkpUuXbpY+AAD5aEsFcIH1AACwMwwaNKj0vvvuu7qsrKxXms9ZV1cX1113XUyaNEnoAOx0EydOjOuvvz7q6upSfc6ysrJef/rTn67u379/idQBAODvKYABANjhKioqCh577LGLKyoqBqb5nNXV1XHNNdfE7NmzhQ7ALvPKK6/ElVdeGVVVVak+Z4sWLQZOnDhxbEVFhZ9vAQDA33CBDADADjdz5syftW3b9sA0n3HdunVx2WWXxRtvvCFwAHa5xYsXx2WXXRZr165N9TnbtWt34MyZM38mcQAA+P8UwAAA7FBPPvnkqB49eoxK8xlXrVoVV1xxRSxfvlzgADQZK1asiCuuuCJWrlyZ6nP26NFj1KRJk0ZJHAAA/lth5cDo+lFfaKyKqFmRtSEAALbZjTfeuO+XvvSlCzOZTGp/8fDdd9+NK6+8MtatWydwAJqc6urqmDVrVvTv3z8qKytTe85u3boN79mz57yHH37Yb2MBAJAXyjrXR0H5R39NAQwAwA5x3nnn9T311FOvLigoKE7rGV977bW45pprorq6WuAANFmbN2+OGTNmRI8ePaJ9+/apPGMmkykYNGjQIYWFhVOee+45v5UFAEDqKYABANipjjrqqFb/8R//8YdmzZq1SusZX3755bj++uujrq5O4AA0eQ0NDfHSSy9Fp06dolOnTqk8Y0FBQXbYsGGfnz9//qQ33nhjk9QBAEizLRXA3gEMAMB21a1bt+wNN9zwnyUlJR3TesYpU6bEjTfeGPX19QIHIDHq6+vjxhtvjKlTp6b2jCUlJZ1uuOGG/+jWrZu7GgAAyFsKYAAAtqunn376XyorK/dI6/kmTZoUd955ZzQ2NgobgMRpbGyMO+64I5588snUnrGysnLw008//UtpAwCQrxTAAABsN88///w3unTp8k9pPd/EiRNj3LhxkcvlhA1AYuVyubj//vtTXQJ36dLlS88+++yJ0gYAIB95BzAAANvFTTfdNPzII488L5PJZNJ4vsceeyzGjx8vaABS47XXXotmzZpF3759U3m+zp0779urV695Dz/88DJpAwCQNlt6B7ACGACAz+wXv/hF7x/+8IdXFxQUNEvj+R544IF45JFHBA1A6ixYsCDq6upiwIABqTtbJpPJDBo06ODGxsbnpk6dul7aAACkiQIYAIAd5oADDqj43e9+99tmzZq1TeP5xo0bF5MmTRI0AKm1aNGi2Lx5cwwcODB1ZysoKMjut99+w5577rnH33vvvc3SBgAgLbZUAHsHMAAA2yybzWbuvPPOfyktLe2exvNNmDBB+QtAXpg0aVI89NBDqTxbaWlpj3vuuedfstlsRtIAAOQDBTAAANvs+eef/06HDh0OTePZHn744Xj44YeFDEDeeOSRR+LPf/5zKs/WoUOHw5599tlvSxkAgHygAAYAYJvcd999hw8ePPjUNJ7t/vvvjwkTJggZgLzz2GOPxX333ZfKs+25554/+NOf/nSYlAEASDvvAAYAYKudccYZ3ceMGXN5QUFBcdrONnHixHjkkUeEDEDeWrx4cWSz2ejbt2/ajpbp06fPvn/5y18mz5w5c4OkAQBIsi29A1gBDADAVhk2bFjzG2+88Q/NmjVrl7azPfroo6l99CUAbI2FCxdGUVFR9OvXL1XnKigoKD7wwAP3e/LJJx9dsWJFnaQBAEiqLRXAHgENAMBWuffee39ZWlraPW3nevzxx+PBBx8UMAD8jz//+c8xceLE1J2rtLS0x3333fdLCQMAkFYKYAAAPrVJkyaN6tSp0xEpPFeMHz9ewADwD8aPHx+TJ09O3bk6der0hUmTJn1VwgAApJFHQAMA8Kmcd955fU888cR/z2QyRWk618yZM+Puu+8WMAB8jNdeey06duwYnTt3TtW5unbtuk9BQcHzzz333DopAwCQNN4BDADAZ3LEEUe0vOKKK67NZrOVaTrXyy+/HDfffHPkcjkhA8DHyOVyMXv27OjSpUt06tQpNefKZDJF++yzz/CpU6c+9u67726WNAAASeIdwAAAbLNsNpu55ZZb/q2kpKRjms61YMGCuPnmm6OxsVHIAPAJGhsb4+abb44333wzVecqLS3tcvfdd5+fzWYzUgYAIC0UwAAAbNGkSZO+3rZt2wPTdKZly5bFDTfcEPX19QIGgE+prq4urr322li+fHmqztWuXbsDH3/88VESBgAgLTwCGgCAj3XZZZcN+upXvzo2k8mk5hcH33///bjyyiujqqpKwACwlerq6uLll1+OIUOGRHl5eWrO1aVLl31LS0unPvPMM2ukDABAEngENAAAW61///4lJ5988q8ymUxRWs60YcOG+P3vfx8bN24UMABso40bN8bvfve7VP15WlBQkP3hD394ft++fYslDABA4q9vrQAAgI/y4IMPnl1WVtYrLeeprq6O3/zmN7Fq1SrhAsBntGrVqrjyyiujuro6NWcqKyvr8/DDD58lXQAAkk4BDADA/zF+/Pgju3XrdnRazlNfX5/KdxYCwK60fPnyuO6666K+vj41Z+rRo8dXx40bd4R0AQBIMgUwAAB/53vf+16nI4444py0nCeXy8Vtt90Wb7zxhnABYDt7/fXX47bbbotcLpeaMx155JHnfvvb3+4oXQAAkkoBDADA/6qoqCi4+OKLLywsLCxPy5nGjx8fs2bNEi4A7CCzZs2Khx56KDXnKSwsrPj1r399QUVFhZ+bAQCQSC5kAQD4XxMnThxdWVk5OC3nef7552PixImCBYAd7LHHHosXXnghNeeprKzc89FHHz1RsgAAJFFh5cDo+lFfaKyKqFmRtSEAgDxxwQUX7DZq1KgLM5lMYRrO8+qrr8Ytt9ySqkdSAkBT/7O3d+/e0a5du1Scp2PHjkNzudxzU6ZMWSddAACamrLO9VHwMc/wcwcwAADRt2/f4h//+McXZzKZVPwG4HvvvRc33HBDNDY2ChcAdpKGhoa47rrrYtmyZak4T0FBQfbss88e27dv32LpAgCQqGtZKwAAYPz48T8qKyvrkYazbNiwIX7/+99HbW2tYAFgJ9u0aVP8/ve/j40bN6biPGVlZb3GjRs3RrIAACSJAhgAIM/ddNNNw/v06XN8Gs5SX18f1157baxdu1awALCLrFmzJq699tqor69PxXn69ev3jd///vdDJQsAQFIogAEA8thBBx1Uceyxx/5rRGTScJ477rgjFi9eLFgA2MUWLVoUd955Z1qOU/CNb3zj34YNG9ZcsgAAJOIC1goAAPLXzTfffFZxcXG7NJxl4sSJMX36dKECQBMxbdq0mDRpUirOUlJS0unOO+88Q6oAACSBAhgAIE/913/914FdunT5UhrO8tprr8Wf//xnoQJAEzN+/PhYsGBBKs7SrVu3o2+66abhUgUAoKlTAAMA5KEvfelLlV/5yld+lYazrFixIq6//vpobGwULAA0MY2NjXHdddfFihUr0nCczHHHHfergw46qEKyAAA0ZQpgAIA8dPXVV5+ezWYrk36OmpqauPbaa2PTpk1CBYAmatOmTXHttddGTU1N4s+SzWbb3njjjT+RKgAATZkCGAAgz9x6663Du3Tp8uWknyOXy8Utt9wSK1euFCoANHErV66MW2+9NXK5XOLP4lHQAAA0dQpgAIA8MnTo0LKvfvWrv0jDWSZMmBBz584VKgAkxJw5c+Kxxx5LxVlGjRr1i6FDh5ZJFQCApkgBDACQR+64444fFRcXd0z6OV5++eV45JFHBAoACfPQQw+l4he4SkpKOt5xxx0/lCgAAE2RAhgAIE9cfvnlu/fs2XNU0s/xwQcfxB133JGKR0gCQL7J5XJx2223xZo1axJ/lp49ex57+eWX7y5VAACaGgUwAEAe6NatW/a73/3uv2YymURf/9XX18cNN9wQ1dXVQgWAhKqqqoobb7wx6uvrE32OTCZT8N3vfvdX3bp1y0oVAICmRAEMAJAHxo8ff0pZWVmvpJ/jnnvuiaVLlwoUABJuyZIlcd999yX+HGVlZT3Hjx9/ikQBAGhKFMAAACn385//vOeAAQNGJ/0c06dPjylTpggUAFJi8uTJMWPGjMSfY8CAAaN//vOf95QoAABNhQIYACDFstls5qyzzjo3k8kk+tGEK1asiLvvvlugAJAyd911V6xYsSLRZ8hkMtmzzjrr3Gw2m5EoAABNgQIYACDFxo0b98XKysq9knyG2trauOGGG6K2tlagAJAyf/1zfvPmzYk+R2Vl5V7jxo0bKVEAAJoCBTAAQEoNHz68/OCDDz4t6ee4//77Y/ny5QIFgJRavnx5jBs3LvHnGDFixI+HDRvWXKIAAOxqCmAAgJS69dZbT8tms22TfIYZM2bEc889J0wASLnJkyfHzJkzE32G4uLitrfffvtp0gQAYFdTAAMApNBVV121R48ePb6S5DOsXLky7rrrLmECQJ64++6744MPPkj0GXr27PnVK664Yg9pAgCwKymAAQBSprS0tOAb3/jGT5N8rdfY2Bi333679/4CQB6pqamJ2267LRobG5N8jIJvfvObZ5aWlvqZGwAAu+6i1AoAANJlwoQJX6uoqBiQ5DOMHz8+Fi1aJEwAyDNvvvlmPPjgg4k+Q4sWLQY9+OCDx0gTAIBdRQEMAJAiRx55ZOWwYcN+kOQzzJ07N5544glhAkCemjhxYixYsCDRZxg+fPiPjjjiiJbSBABgV1AAAwCkyBVXXHFyUVFRRVLnr6qqijvvvDNyuZwwASBP5XK5uP3226O6ujqxZygqKmrxm9/85mRpAgCwKyiAAQBS4vzzz+/Xu3fv45J8httvvz0+/PBDYQJAnlu3bl3cfvvtiT5D7969jz///PP7SRMAgJ1NAQwAkALZbDZz6qmn/jyTyST2+m769OkxZ84cYQIAERExe/bsmDFjRmLnz2QyBaeeeurPs9lsRpoAAOxMCmAAgBT44x//eERlZeXgpM6/du3auPfeewUJAPyde+65J9atW5fY+SsrKwf/6U9/+oIkAQDYmRTAAAAJ17dv3+JDDjnkR0k+w9133x01NTXCBAD+Tk1NTdx9992JPsPBBx/8o759+xZLEwCAnUUBDACQcHfdddc3S0pKOiV1/smTJ8e8efMECQB8pLlz58azzz6b2PlLSko63nPPPd+SJAAAO4sCGAAgwb70pS9VDhw48KSkzr9mzZoYP368IAGALXrggQdizZo1iZ2/f//+Jx111FGtJAkAwM6gAAYASLArrrji1MLCwvIkzp7L5eK2226LTZs2CRIA2KJNmzbFbbfdFrlcLpHzFxYWll1++eU/kCQAADuDAhgAIKF+8Ytf9O7evftXkjr/s88+G2+88YYgAYBP5Y033ojnn38+sfN369bt6F/96ld9JAkAwI6mAAYASKgf/vCHP8pkMom8nvvggw/igQceECIAsFXGjRsX69atS+TsmUym4NRTT/2xFAEA2NEUwAAACXTdddcNa9eu3YFJnD2Xy8Udd9wRtbW1ggQAtsqmTZvizjvvTOz8bdq02f+mm27aT5IAAOxICmAAgIQpLS0t+NrXvnZ6Uud/4YUXYuHChYIEALbJq6++GjNmzEjs/Mccc8zpFRUVfiYHAMAO42ITACBhbr/99oMrKip2S+LsGzZsiHHjxgkRAPhM7r///qiqqkrk7OXl5X3/67/+6wgpAgCwoyiAAQASpKKiouCwww47Nanz33vvvYn9YS0A0HRs2LAh7r///sTOf9BBB/1zq1atCiUJAMCOoAAGAEiQ+++//+iysrKeSZx9zpw58dJLLwkRANguXnjhhViwYEEiZy8tLe32xz/+8StSBABgR1AAAwAkRN++fYv33Xfff07i7LW1tXHvvfcKEQDYru6+++6oq6tL5Oz77bffKf379y+RIgAA25sCGAAgIW6++eZRxcXFbZM4+yOPPBJr164VIgCwXa1atSoee+yxRM6ezWbb3njjjV+TIgAA25sCGAAgAYYOHVq21157fSeJs7/33nvxxBNPCBEA2CEmTpwYK1asSOTsQ4YM+c7QoUPLpAgAwPakAAYASIBrr732xKKiosqkzZ3L5eKee+6JxsZGIQIAO0R9fX3cddddkcvlEjd7UVFR5bXXXnuCFAEA2J4UwAAATdwBBxxQMWDAgG8kcfYZM2bEW2+9JUQAYId6880348UXX0zk7AMGDPjG8OHDy6UIAMD2ogAGAGjirrrqqhOKiooqkjb3pk2b4oEHHhAgALBT3H///VFbW5u4uYuKilpcffXV7gIGAGC7UQADADRhBx10UEX//v0Teffvww8/HB9++KEQAYCdYv369TFhwoREzj5w4MBvHHDAARVSBABge1AAAwA0Yf/5n/95bGFhYfOkzb1q1aqYPHmyAAGAnerpp5+O1atXJ27uwsLC8ssuu2yUBAEA2B4UwAAATdQBBxxQMWjQoNFJnP3uu++O+vp6IQIAO1V9fX3cddddiZx99913/+bQoUPLpAgAwGelAAYAaKIuv/zyYwsLC8uTNvfcuXNjwYIFAgQAdokFCxbE3LlzEzd3UVFRi9/97ndflyAAAJ+VAhgAoAkaOnRo2aBBgxL37t+6urr405/+JEAAYJf605/+FHV1dYmbe/fdd//mkCFDSiUIAMBnoQAGAGiCfvOb33ylqKioZdLmfu655xL53j0AIF1Wr14dzz33XOLmLioqann11VcfLUEAAD4LBTAAQBPTq1evZoMHD/5m0uaurq6ORx55RIAAQJPwyCOPRHV1deLmHjJkyLe6deuWlSAAANtKAQwA0MTcdNNNxxQXF7dN2twTJkyIqqoqAQIATUJVVVUifzmtuLi43a233uouYAAAtpkCGACgCWnVqlXhXnvtdVLS5l61alU8++yzAgQAmpTJkyfHqlWrEjf30KFDR7dq1apQggAAbAsFMABAE3LLLbccXlJS0jlpcz/44INRX18vQACgSamvr48HH3wwcXOXlJR0vummmw6VIAAA20IBDADQRGSz2cwBBxzw7aTNvWjRonjppZcECAA0SS+99FIsXrw4cXOPGDHiO9lsNiNBAAC2lgIYAKCJuOaaa/YuLy/vm7S5H3roocjlcgIEAJqkXC6XyLuAy8vL+1111VV7SRAAgK2lAAYAaCK+8pWvfDdpM8+bNy8WLlwoPACgSVu4cGG8+uqrrg8BAMgLCmAAgCbgsssuG1RZWblPkmbO5XIxfvx44QEAifDAAw8k7qklrVu33veSSy7pLz0AALaGAhgAoAkYNWrUCUmbefbs2bFs2TLhAQCJsGzZsnjllVcSN/cJJ5xwovQAANgaCmAAgF3sn//5nzt37NjxiCTN3NjYGA888IDwAIBEGT9+fDQ0NCRq5k6dOn1h9OjRHaQHAMCnpQAGANjFfvSjH30tk8kk6rps2rRpsWrVKuEBAImyatWqeOGFFxI1cyaTKfzpT386SnoAAHxaCmAAgF1o0KBBpX369Plqkmaur6+PCRMmCA8ASKQJEyZEXV1dombu27fvV/r27VssPQAAPg0FMADALnTZZZcdXlRUVJGkmadOnRpr164VHgCQSOvXr48pU6YkauaioqLK3/zmN0dIDwCAT0MBDACwi2Sz2cy+++57UpJmrqurc/cvAJB4jz76aOLuAt5///1PymazGekBAPBJFMAAALvI1VdfPbSsrKx3kmaeMmVKbNiwQXgAQKJt2LAhnn/++UTNXFZW1ueqq67aS3oAAHwSBTAAwC7y5S9/+bgkzVtfXx8TJ04UHACQCo8//nji7gL+0pe+dLzkAAD4JApgAIBdYPTo0R3atm07IkkzT5s2LdatWyc8ACAVPvzww5g+fXqiZm7fvv2I0aNHd5AeAABbogAGANgFfvrTn47KZDKFSZm3vr4+HnnkEcEBAKnyyCOPRH19fWLmzWQyhT/96U+/JjkAALZEAQwAsJN16tQp26dPn6OTNLO7fwGANFq3bl1MmzYtUTP36dPnmE6dOmWlBwDAx1EAAwDsZFddddUB2Wy2dVLmbWxsjEmTJgmOVOvYsWN06OCJmgD5aNKkSdHY2JiYebPZbOurrrrqAMkBAPBxFMAAADvZiBEjvp6keV988cVYtWqV4Ei1Ll26xIUXXhinnXZadO3a1UIA8siqVavipZdecj0JAEBqKIABAHaiM844o3tlZeXeSZk3l8vFxIkTBUdeyGQyMXjw4PjVr34VY8aMcUcwQB55/PHHI5fLJWbeysrKvc8444zukgMA4KMogAEAdqJTTjnlqxGRScq8CxYsiPfee09w5JVMJhN77713XHjhhTFmzJho3769pQCk3HvvvRcLFy5M1B9X/3NdCQAA/4cCGABgJ+nVq1ezXr16fTlJM3v3L/nsr0XwBRdcECeffHK0bdvWUgBSLGnXPb169fpyr169mkkOAIB/pAAGANhJrrjiioOLiopaJmXeBN4JAztEYWFhDB8+PC688MIYPXp0VFZWWgpACi1YsCCWLVuWmHmLiopaXnnllYdIDgCAf6QABgDYSYYPH/6VJM2btHfhwY5WVFQUI0aMiEsuuSRGjx4dLVu2tBSAFMnlcvH4448naub99tvvK5IDAOAfKYABAHaC0aNHd6isrByalHnXrl0bL7/8suDgI/y1CL744ovjhBNOiBYtWlgKQEq89NJLsW7dusTMW1lZudfo0aM7SA4AgL+lAAYA2AlOP/30o5J07fXMM89EQ0OD4GALiouL47DDDouxY8fGqFGjoqyszFIAEq6hoSGeeeaZJI1c8D/XmQAA8P8vEq0AAGDHymazmX79+n05KfPW1tbGlClTBAefUnFxcYwcOTIuvfTSGDVqVJSWlloKQII9//zzUVtbm5h5+/Xr9+VsNpuRHAAAf6UABgDYwX7zm9/sWVJS0jkp886YMSOqq6sFB1uppKQkRo4cGZdcckkcffTRUVJSYikACVRdXR0zZ85M0p8/na+44orBkgMA4K8UwAAAO9gXvvCFLyVl1lwuF08//bTQ4DNo3rx5HHXUUXHJJZfEyJEjI5vNWgpAwjz11FORy+USM++RRx75ZakBAPBXCmAAgB1oyJAhpZ07dz4iKfO+/vrrsWLFCsHBdlBeXh6jRo2KSy+9VBEMkDArVqyI119/PTHzdunS5fD+/ft79AQAABGhAAYA2KHGjh17aGFhYWJeCOruX9j+KioqYtSoUXHxxRfH4YcfHkVFRZYC4LpouyosLGz+H//xHwdLDQCACAUwAMAOteeeex6ZlFnXrl0b8+bNExrsIK1atYrjjz8+LrroohgxYkQUFPh2DKApmzdvXqxZsyYx8+61115HSg0AgAgFMADADnPMMce0bt269b5Jmfe5556LxsZGwcEO1qZNmxg9enRcfPHFimCAJqyxsTGee+65JP35MvyYY45pLTkAAPykAQBgBznzzDMPz2Qyibjeqq+vj6lTpwoNdqK2bdvG6NGj47zzzovhw4crggGaoBdeeCHq6+sTMWsmkyk844wzDpUaAAB+wgAAsIP079//C0mZdc6cObFhwwahwS7QqVOnOPnkk+Pf/u3fYu+9945MJmMpAE3Ehg0bYvbs2YmZd8CAAR4DDQCAAhgAYEf43ve+16mysnKPpMybpMcbQlp17tw5xowZE7/61a8UwQBNyPPPP5+YWSsrKwd/73vf6yQ1AID8pgAGANgBTj755CMiIhHtzcqVK+P1118XGjQRXbt2jTFjxsQ555wTgwcPthCAXez111+PlStXJmXczMknn3y41AAA8psCGABgB+jXr19iHv88ZcqUyOVyQoMmpnfv3nHaaafFOeecE/3797cQgF0kl8vFlClTknQd6jHQAAB5TgEMALCdnX766d0qKip2S8Ks9fX1MW3aNKFBE9anT58466yz4pxzzonddtvNQgB2gWnTpkV9fX0iZq2oqNjt9NNP7yY1AID8pQAGANjORo8efURSZp03b15s3LhRaJAAffr0ibPPPjvOPPPM6Nmzp4UA7EQbN26MefPmuR4FACARFMAAANtZr169EvPetSQ9zhD4bwMGDIhf/vKXceaZZ0b37t0tBGAnmTp1apKuRw+TGABA/lIAAwBsR2eccUb38vLyvkmYdf369fHaa68JDRJqwIAB8S//8i9x2mmnRbdunvQJsKPNnz8/Pvzww0TMWl5e3u9HP/pRF6kBAOQnBTAAwHZ03HHHHZSUWWfMmBGNjY1CgwTLZDIxePDg+Nd//dcYM2ZMdOjQwVIAdpDGxsaYMWNGYub9xje+cYjUAADykwIYAGA76tOnz8FJmDOXyyXqMYbAlmUymdh7773jwgsvjDFjxkT79u0tBWAHeOGFF5J0XXqIxAAA8pMCGABgOznppJPat2zZcvckzLpkyZJYuXKl0CBl/loEX3DBBXHyySdH27ZtLQVgO1qxYkW8/fbbiZi1srJy0PHHH+8PAgCAPKQABgDYTr773e8eGBGZJMyapMcXAluvsLAwhg8fHhdeeGGMHj06KisrLQVgO5k+fXpSRi34/ve/f6DEAADyjwIYAGA72X333Q9Nwpz19fUxc+ZMgUEeKCoqihEjRsQll1wSo0ePjpYtW1oKwGc0c+bMqK+vT8SsAwcOPFRiAAD5RwEMALAdHHTQQRUtW7bcKwmzLly4MKqrq4UGeeSvRfDFF18cJ5xwQrRo0cJSALZRVVVVvP7664mYtVWrVkOHDx9eLjUAgPyiAAYA2A7OPvvsz2cymaIkzOrxz5C/iouL47DDDouxY8fGqFGjoqyszFIAtkFSnqaSyWSy55577uclBgCQXxTAAADbwe67735AEuasra2NOXPmCAzyXHFxcYwcOTIuvfRSRTDANpg9e3bU1dUlYtY99tjjAIkBAOQXBTAAwGfUqlWrwnbt2u2fhFnnzZsXtbW1QgMiIqKkpCRGjhwZY8eOjaOPPjpKSkosBeBT2LRpU8ybNy8Rs7Zv337/iooKPwMEAMgjLv4AAD6jCy+8cPeioqKKJMz64osvCgz4P5o3bx5HHXVUXHLJJTFy5MjIZrOWAvAJZs2alYg5i4qKWlx88cWDJAYAkD8UwAAAn9GBBx6YiMfqVVdXJ+ZOFWDXKC8vj1GjRsWll16qCAb4BPPmzYuamppEzHrQQQd5DDQAQB5RAAMAfEZdu3YdnoQ5582bF/X19QIDPlFFRUWMGjUqLr744jj88MOjqKjIUgD+QV1dXbz66quJmLVLly77SwwAIH8ogAEAPoNTTjmlY3l5+W5JmPXll18WGLBVWrVqFccff3xcdNFFMWLEiCgo8C0kwN966aWXEjFnRUXFbieddFJ7iQEA5AffvQMAfAYnnnji55MwZ21tbcyfP19gwDZp06ZNjB49OsaOHasIBvgb8+fPj9ra2iSMmvnud7/7eYkBAOQH37UDAHwGn/vc5/ZLwpwLFy6Muro6gQGfyV+L4PPOOy+GDx+uCAby3ubNm2PhwoWJmLVfv37DJQYAkB98tw4AsI1atWpV2Lp1672TMKvHPwPbU6dOneLkk0+Oc889NwYNGmQhQF6bPXt2IuZs06bN3hUVFX4WCACQB1z0AQBso/PPP39gYWFheVOfs76+PubMmSMwYLvr2bNn/OQnP4nzzjsv9t5778hkMpYC5J3Zs2dHfX19k5+zqKio4vzzzx8oMQCA9FMAAwBso/3333/fJMz5+uuvR01NjcCAHaZLly4xZsyYOOecc2Lw4MEWAuSV6urqeOONNxIx64EHHriPxAAA0k8BDACwjbp27ZqIxz/PnTtXWMBO0bt37zjttNPinHPOif79+1sIkDeScr3VvXv3vaUFAJB+CmAAgG0wZMiQ0srKyj2a+py5XM7jn4Gdrk+fPnHWWWfFOeecE7vttpuFAKk3e/bsyOVyTX7Oli1b7jlo0KBSiQEApJsCGABgG5x55pl7ZjKZbFOfc9myZbFu3TqBAbtEnz594uyzz44zzzwzevbsaSFAaq1bty6WL1/e5OfMZDLZs846a4jEAADSrcgKAAC23tChQ4clYc558+YJC9jlBgwYEAMGDIgFCxbE+PHjY+nSpZYCpM68efOiS5cuTX7OffbZZ5+ImC4xAID0cgcwAMA26Nix4z5JmHP+/PnCApqMAQMGxC9/+cs47bTTolu3bhYCpEpSrrs6deq0j7QAANJNAQwAsJWOOOKIlhUVFf2a+pxVVVWxaNEigQFNSiaTicGDB8e//uu/xpgxY6JDhw6WAqTCW2+9FVVVVU1+zoqKis8deuihLSQGAJBeCmAAgK108sknD46ITFOfc/78+dHY2CgwoEnKZDKx9957x4UXXhhjxoyJ9u3bWwqQaI2NjbFgwYJE/Cv4u9/97h4SAwBILwUwAMBW2n333fdMwpze/wskwV+L4AsuuCBOPvnkaNu2raUAiZWU66/BgwfvKS0AgPQqsgIAgK3Trl27wU19xlwul5Q7UAAiIqKwsDCGDx8e++yzT0ybNi0mTJgQ69evtxggURYsWBC5XC4ymab9sJgOHToMlhYAQHq5AxgAYCsMGjSotGXLlgOa+pzvvfdebNy4UWBA4hQVFcWIESPikksuidGjR0fLli0tBUiMDz/8MJYtW9bk52zZsuXA/v37l0gMACCdFMAAAFvhxz/+8aBMJtPkn6Li7l8g6f5aBI8dOzZOOOGEaNGihaUAibBw4cImP2Mmk8n+5Cc/GSAtAIB0UgADAGyFvffee88kzJmEHzwCfBrNmjWLww47LMaOHRujRo2KsrIySwGatKT8Il5SrmsBANh63gEMALAVunbtOqSpz1hfXx9vvvmmsIBUKS4ujpEjR8bBBx8czz77bDz++ONRXV1tMUCT8+abb0Z9fX0UFTXtH7t16dJlT2kBAKSTO4ABAD6lioqKgoqKikFNfc4lS5bE5s2bBQakUklJSYwcOTLGjh0bRx99dJSUeIUl0LTU1tbG0qVLm/ycLVu2HFRaWupngwAAKeQiDwDgUzr77LP7FhYWNvlnj7722mvCAlKvefPmcdRRR8Ull1wSI0eOjGbNmlkK4HpsKxQWFpafffbZvaQFAJA+CmAAgE9p//3375+EOV9//XVhAXmjvLw8Ro0aFf/+7/8eI0eOjGw2aymA67FP6fOf//xAaQEApI8CGADgU+rRo8fuTX3G2traePvtt4UF5J2KiooYNWpUXHzxxXH44Yc3+XdvAum2ePHiRLySo1evXoOkBQCQPgpgAIBPqXXr1k3+DoklS5ZEQ0ODsIC81apVqzj++OPj4osvjhEjRkRBgW97gZ2voaEhlixZ0uTnbNOmjQIYACCFfCcMAPApDBkypLR58+a9m/qcb775prAAIqJ169YxevToGDt2rCIYcF32MZo3b95n0KBBpdICAEgX3wEDAHwKp556av9MJtPkr53eeustYQH8jTZt2sTo0aPjvPPOi+HDhyuCAddlfyOTyRT84Ac/+Jy0AADSxXe+AACfwuDBg5v84/Hq6+tj0aJFwgL4CJ06dYqTTz45/u3f/i323nvvyGQylgLsUIsXL07Eqzn23HPPgdICAEgXBTAAwKfQpUuXAU19xnfeeSfq6uqEBbAFnTt3jjFjxiiCgR2utrY23n333SRc53oPMABAyiiAAQA+hZYtW/Zv6jN6/DPAp9elS5cYM2ZMnHvuuTF48GALAfL2+iwJ17kAAGwdBTAAwCcYPnx4eUlJSeemPqfHPwNsvV69esVpp50W55xzTvTvrwMB8u/6rLS0tPPw4cPLpQUAkB4KYACAT/Ctb31rt4ho8s8IXbx4sbAAtlGfPn3irLPOinPOOSd22203CwG2i4T8gl7m29/+dj9pAQCkhwIYAOAT7L777k2+CVi7dm1s2LBBWACfUZ8+feLss8+OM888M3r27GkhwGfy4Ycfxrp165r8nAMHDlQAAwCkSJEVAABsWadOnZr8D8TefvttQQFsRwMGDIgBAwbEggULYvz48bF06VJLAbb5Oq1Vq1audwEA2GkUwAAAn6CyslIBDJCnBgwYEP3794958+bFQw89FO+++66lAFtlyZIlsddeezX1613PvgcASBEFMADAFnTq1CnbvHnzXk19ziVLlggLYAfJZDIxePDg2GOPPeLll1+OBx98MFauXGkxQGqu05o3b967Xbt2RatXr66XGABA8nkHMADAFowZM6ZnJpPJNuUZGxsbPZoUYCfIZDKx9957x4UXXhhjxoyJ9u3bWwrwiZYuXRqNjY1NesaCgoLsqaee2kNaAADp4A5gAIAt2Hvvvfs29RlXrlwZtbW1wgLYSf5aBO+5554xa9asmDBhQqxevdpigI9UW1sb77//fnTu3LlJzzls2LC+EbFIYgAAyecOYACALejRo0eTL4DfeecdQQHsAoWFhTF8+PC48MILY/To0VFZWWkpQGKv15Jw3QsAwKejAAYA2ILWrVs3+ff/vvvuu4IC2IUKCwtjxIgRcckll8To0aOjZcuWlgIk7notCde9AAB8Oh4BDQCwBc2bN+/Z1GdUAAM0kW+wi4pixIgRsd9++8WUKVPiscceiw0bNlgMEO+9914SrnsVwAAAKeEOYACAj9G/f/+SkpKSjk19TgUwQNPSrFmzOOyww2Ls2LExatSoKCsrsxTIc0m4XistLe3Ut2/fYmkBACSfAhgA4GOccMIJ3Zr69dK6deuiqqpKWABNUHFxcYwcOTJ+/etfK4Ihz1VVVcX69eub+pgF3/zmN7tLCwAg+RTAAAAfY8iQIT2b+oxJeJwgQL77axE8duzYOProo6OkpMRSIA8l4botCde/AAB8MgUwAMDH6N69e8+mPqPHPwMkR/PmzeOoo46KSy65JEaOHBnNmjWzFMgjSbhuS8L1LwAAn0wBDADwMVq1atWjqc+4bNkyQQEkTHl5eYwaNSr+/d//PUaOHBnZbNZSIA8k4botCde/AAB8MgUwAMDHqKio6NXUZ1y+fLmgAJL750yMGjUqLr744jj88MOjqKjIUiDFknDd1rJly16SAgBIPgUwAMBHyGazmbKysq5NecbGxsZYtWqVsAASrlWrVnH88cfHxRdfHCNGjIiCAt+qQxqtWrUqGhsbm/SMJSUlXbPZbEZaAADJ5rtKAICPcNxxx7UrKCgobsozrl69Ourr64UFkBKtW7eO0aNHx9ixYxXBkEJ1dXXxwQcfNOkZCwoKio877rh20gIASDbfTQIAfITPf/7zXZr6jO+//76gAFKoTZs2MXr06Dj//PNj+PDhimBIkRUrVrgOBgBgh/NdJP+PvTuPr7I888d/nSwEkhD2HUQEUVRAoIiouCtq64Jabd1arVorbqO2tlXbaavTOu38Rqffdmpbu9rWpYogsqgFRXCttAIKArJDgAAJBLKQ5JzfH8WO4+DOcp6T9/v18jWvTv657ut6hNvnk/t+AICd2G+//bL+xVcSXiAC8PF17do1Lr300rj99ttj2LBhkUq5lRWSLgn7tyTsgwEAeH8FWgAA8H917txZAAxAVujevXtceeWVsXr16njiiSdi9uzZkclkNAYSKAn7tyTsgwEAeH8CYACAnWjXrp0roAHIKj169Igrr7wyli5dGpMmTYo5c+ZoCiRMEvZvSdgHAwDw/gTAAAA7UVxc3D3baxQAAzRPffr0ibFjx8aSJUti/PjxsWDBAk2BhEjC/i0J+2AAAN6fbwADAOxESUlJz2yur7q6Ourq6gwKoBnbb7/94l/+5V/ia1/7WhxwwAEaAglQV1cX1dXV9sEAAOxWAmAAgHc5/PDDSwsKCtpmc40VFRUGBUBERPTt2zduvPHGuOGGG2LffffVEMhy2b6PKygoaDt8+PASkwIASC4BMADAu5x44oldsr3GDRs2GBQA/8uAAQPiG9/4Rtxwww3Ru3dvDQH7uE+yH+5qUgAAyeUbwAAA79KvX7+sD4DXr19vUADs1IABA+LAAw+MuXPnxoQJE2LlypWaAlkkCTe5HHDAAV0i4i3TAgBIJgEwAMC7dO/evXO21+gEMADvJ5VKxaBBg2LgwIExe/bsGD9+fKxbt05jwD4uZ/bDAAC8NwEwAMC7tG/fvlO21ygABuDDSKVSMWzYsBg6dGjMnj07HnvsMbdIwF6WhBPASdgPAwDw3gTAAADv0rp166w/8ZCEF4cAZI+3g+BDDz00XnnllZg4caK/S8A+LtH7YQAA3psAGADgXUpKSrL6xENjY2Ns3rzZoAD4yPLz8+Pwww+P4cOHx/PPPx8TJ06MqqoqjYE9aPPmzdHY2BgFBdn7Wi7b98MAALw/ATAAwLu0bNmySzbXV1lZGZlMxqAA+Njy8/Nj1KhRMXLkyHjhhRcEwbAHZTKZqKqqio4dO9oPAwCwWwiAAQDepaioKKuvvKusrDQkAHaJgoKCGDVqVIwYMSJmzpwZkydPji1btmgM7IH9XDYHwNm+HwYA4P3laQEAwP8YPnx4SX5+fkk21ygABmBXa9GiRRx//PFxxx13xNlnnx0lJSWaAs14P5efn18yfPhwfxAAACSUABgA4B2OOOKIDtleo+//ArC7FBUVxejRo+P73/9+nH322VFcXKwpsBsk4cr1JOyLAQDYOQEwAMA79O3bt1221+gEMAC729tB8B133BGnn356tGrVSlOgme3n9ttvv7YmBQCQTAJgAIB36NSpkwAYAHYoKSmJz3zmM3HnnXfG6NGjo0WLFpoCzWQ/l4R9MQAAOycABgB4hw4dOrTN9hqTcGUgALmlpKQkzj777PjOd74To0aNivz8fE2BHN/PJWFfDADAzgmAAQDeoaysrG221ygABmBvad++fVx00UVx5513xgknnBCFhYWaAjm6nysrK3MCGAAgoQTAAADvUFJS0j6b68tkMlFdXW1QAOxV7dq1i/POOy+++93vxqhRoyIvz+sF+CiSsJ8rLS0VAAMAJJT/QgMAeIfi4uK22VxfXV1dNDY2GhQAWeHtE8F33HGHIBg+gsbGxqirq7MvBgBgt/BfZgAA79CqVausPung9C8A2ahDhw5x0UUXxbe//e04/PDDBcGQA/u6oqIiJ4ABABLKf5EBALxDQUGBABgAPqauXbvGpZdeGt/61rdi2LBhkUqlNAUSuq9r0aJFW1MCAEimAi0AAPgfhYWFZdlc39atWw0JgKzXrVu3uPLKK2P16tXxxBNPxOzZsyOTyWgMJGhfl+37YgAA3psAGADgnZujgoLW2VyfE8AAJEmPHj3iyiuvjKVLl8akSZNizpw5mgIJ2ddl+74YAID35gpoAIAdWrdunZefn98ym2sUAAOQRH369ImxY8fGLbfcEgMGDNAQSMC+Lj8/v1WrVq28OwQASCCbOACAHQYNGlQSEVn9scJt27YZFACJtd9++8UNN9wQX/va1+KAAw7QEJq1BOzr8gYPHlxsUgAAySMABgDY4YADDijJ9hpramoMCoDE69u3b9x4441xww03xL777qshNEu1tbVZX2P//v1LTQoAIHl8AxgAYIeePXtm/QuuJLwoBIAPa8CAATFgwICYP39+jBs3LpYvX64pNBtJ2Nf16NGjxKQAAJJHAAwAsEOnTp0EwACwFwwYMCAOPPDAmDt3bkyYMCFWrlypKeS8JOzrunbtKgAGAEggATAAwA5lZWVZ/4Krrq7OoADISalUKgYNGhQDBw6M2bNnx4QJE2Lt2rUaQ85KQgDcpk0bV0ADACSQABgAYIeysjIngAFgL0ulUjFs2LAYOnRozJ49O8aPHx/r1q3TGHKOABgAgN1FAAwAsENJSUlxttfoBDAAzcXbQfCQIUPi5ZdfjokTJ0ZFRYXGkDOSEAAnYX8MAMD/JQAGANihqKioKNtrrKmpMSgAmpW8vLw4/PDDY/jw4fH888/HE088EZWVlRpD4iUhAG7RokWRSQEAJI8AGABgh8LCwhbZXF86nY7t27cbFADNUn5+fowaNSpGjhwZL7zwQkycODGqqqo0hsTavn17ZDKZSKVSWVtjixYtWpgUAEDyCIABAHbI9gC4oaHBkABo9goKCmLUqFExYsSImDlzZkyePDm2bNmiMSROJpOJhoaGyOaMtbCw0AlgAIAk/neTFgAA7NgYFRRk9QuuxsZGQwKAHVq0aBHHH398HHnkkfHMM8/E1KlTY9u2bRpDomR7AJzt+2MAAN5jH6cFAAA7NkZZ/oLL9c8A8H8VFRXF6NGj49hjj41nnnkmpkyZEjU1NRpDImT7DS8FBQWugAYASCABMADA2xujLH/B5QpoAHhvbwfBRx11VEyfPj2efvrpqK2t1RiymgAYAIDdIU8LAAD+QQAMAMlXUlISn/nMZ+LOO++M0aNHZ/X1uiAABgBgdxAAAwDskO1XQAuAAeDDKykpibPPPjv+7d/+LUaPHh2FhYWagv3dR5Sfn9/SlAAAkkcADADw9sYoL88JYADIMa1bt46zzz47vve978UJJ5wgCMb+7iPIz8/3LwwAQAIJgAEAdkilUlm9N2psbDQkAPiY2rVrF+edd15897vfjRNOOCEKCgo0Bfu7D94f55sSAEDyCIABAHbI9gA4nU4bEgB8Qu3bt/9nEDxq1KjIy/NqBPu799kfp0wJACB5/FcOAMAOXnABQPPRoUOHuOiii+J73/ueIJi9JpPJZHuJ/sUAAEggmzgAgP+R1QFwAl4QAkDidOzYMS666KL41re+FYcffnj4fTDs796xOc7yG3IAANg5mzgAgITsjQTAALD7dOvWLS699NL41re+FcOGDRMEs0dk+xXQeXl5/kUAAEigAi0AAPiHbH/BJQAGgN2ve/fuceWVV8ayZcviiSeeiDlz5mgKzXl/5/AIAEACCYABAHbIZDJOAAMAERGx7777xtixY2PJkiUxYcKEmD9/vqZgfwwAQCIIgAEA/ocr7gCA/2W//faLG264Id56660YP358vPnmm5rCLpPtV0Cn3IUOAJBIAmAAgB2y/QVXtr8gBIBc1rdv37jxxhvjrbfeinHjxsWiRYs0hU/MFdAAANjEAQDsXln9Bs4BDADY+/r27Rs333xz3HDDDdG7d28NIdf3d75BAgCQQE4AAwDskO0nMATAAJA9BgwYEAMGDIj58+fHI488EitXrtQUcnF/5woaAIAEcgIYAGCHVCqVzvL6DAkAssyAAQPi1ltvjbFjx0bPnj01hJza32UScEc1AAD/lxPAAAD/QwAMAHysv6MHDRoUBx98cDz//PMxadKk2LRpk8aQ+P1dtv+CJAAAO+cEMADADul0dr/fEgADQHarr6+PioqK2LZtm2aQE/u7dDrtBDAAQAI5AQwA8D+cAAYAPrK6urp4+umnY9q0acJfcm1/5wQwAEACCYABAP6HEw4AwIfW0NAQ06ZNiyeffDK2bt2qIXxkCfgGsAAYACCBBMAAADtkMpmsDoDz8ny9AwCywdvB71NPPRXV1dUaQs7u7wTAAADJJAAGANgh219wCYABYO9qbGyMGTNmxJNPPhmVlZUawieWn5+f9VtkUwIASB4BMADADplMpiGb6yssLDQkANgL0ul0zJo1KyZPnhwbN27UEHaZgoLsfjXX1NTUaEoAAAncZ2oBAMA/NDY2bs/m+gTAALBnpdPpePnll2Py5Mmxdu1aDWGXa9GiRbb/O1BvSgAAySMABgDYoampSQAMAEQmk4nZs2fH448/HuXl5RpCs93fNTY2CoABABJIAAwAsENDQ0NWv+ASAAPA7vV28PvEE0/E6tWrNYTdLtuvgM72G3IAAHiPfaYWAAD8gyugAaD5mjNnTkyaNCmWLl2qGewx2X4FtAAYACCZBMAAADs0NTU5AQwAzcyCBQtiwoQJ8dZbb2kG9nfv0tDQIAAGAEggATAAwA7Z/oJLAAwAu87ChQtj/PjxsXjxYs1gr8n2K6Cz/RckAQB4j32mFgAA/EO2B8AFBQWRl5cX6XTasADgY1q+fHmMGzcu5s+frxnsVXl5eVkfAG/fvt0JYACABBIAAwDs0NDQkPUnHFq1ahXbtm0zLAD4iFauXBmPPPKI4Jes2tclYH8sAAYASCABMADADrW1tXXZXqMAGAA+mnXr1sX48eNj9uzZkclkNISs2tdlu7q6ulqTAgBIHgEwAMAOW7du3ZrtNSbhRSEAZIP169fHY489JvjFvu4TqK6u3mpSAADJIwAGANihqqpKAAwACbdhw4Z4/PHH45VXXommpiYNwb7uE6isrHT1DABAAgmAAQB22LRpU9a/4GrZsqVBAcBOVFVVxcSJE+OFF16IxsZGDSHrJSEA3rRpkxPAAAAJJAAGANhh3bp1WR8AOwEMAP/bli1bYsKECYJfEicJ+7ry8nIBMABAAgmAAQB2WLZsmSugASAhqqurY/LkyTFz5syor6/XEBInCfu6pUuXCoABABJIAAwAsMP8+fOz/gRwcXGxQQHQrNXU1MSUKVPimWeeEfySaEnY173++uu+AQwAkEACYACAHRYsWFCXyWQaUqlUYbbW2Lp1a4MCoFmqq6uLp59+OqZNmxbbtsmkSL5s39el0+mGpUuXbjcpAIDkEQADALxDU1PTtoKCgrbZWp8AGIDmZvv27TF9+vR48sknY+tWt9GSO7J9X9fU1ORfOACAhBIAAwC8Q0NDw9ZsDoBLS0sNCYDm8ndyTJs2LZ566qmorq7WEHJOtu/rGhsb/YsHAJBQAmAAgHeor6+vbNWqVc9src8JYAByXWNjY8yYMSOefPLJqKys1BByVrbv6+rr66tMCQAgmQTAAADv0NDQkNVvmgXAAOSqdDods2bNismTJ8fGjRs1hJyX7fu6bN8XAwDw3gTAAADvUFdXV5XN9ZWWlkYqlYpMJmNYAOSETCYTr732Wjz++OOxatUqDaFZSKVSUVJSktU11tbWVpkUAEAyCYABAN5h27Ztm7K5vvz8/GjVqlXU1NQYFgCJlslkYvbs2fH4449HeXm5htCstGrVKvLz87O6xq1btzoBDACQUAJgAIB3qK6u3pztNZaVlQmAAUist4PfiRMnxpo1azSEZqmsrCzra9y2bVuVSQEAJJMAGADgHaqqqjZle43t2rWLtWvXGhYAiTNnzpyYNGlSLF26VDNo1tq1a5f1NW7atMkJYACALNbQWBgFjQ0REZFKRSavMJre/pkAGADgHSoqKqqyvcYkvDAEgHdasGBBTJgwId566y3NgITs5zZs2CAABgDIYoUFDf9MejMRqab0/+S+AmAAgHdYtWpV1r/oatu2rUEBkAgLFy6M8ePHx+LFizUD3iEJAfDq1aurTAoAIJkEwAAA77BgwYKsD4CdAAYg2y1fvjzGjRsX8+fP1wzYiST8Ql8S9sUAAOycABgA4B2eeOKJjZlMpimVSuVna41OAAOQrVauXBmPPPKI4Bc+QLb/Ql8mk2l64oknNpoUAEAyCYABAN6huro6vX379g1FRUVdsrVGJ4AByDZr166NCRMmxOzZsyOTyWgIJHw/t3379g3V1dVpkwIASCYBMADAu9TV1a0XAAPAB1u/fn089thjgl/Isf1cXV3delMCAEguATAAwLvU1dVVtGnTJmvrKykpiRYtWsT27dsNC4C9oqKiIiZOnBivvPJKNDU1aQh8BEVFRVFcXJz1+2GTAgBILgEwAMC7bN26dV2XLll7ADhSqVR07Ngx1qxZY1gA7FFVVVUxceLEeP755wW/8DF17NgxUqlU1u+HTQoAILkEwAAA71JVVZX1Jx46deokAAZgj9m8eXM8/vjj8cILL0RjY6OGwCfcx9kPAwCwOwmAAQDeZf369Vn/zbMkvDgEIPm2bNkSU6ZMiZkzZ0Z9fb2GwC7QsWNH+2EAAHYrATAAwLusXr066088JOHFIQDJVVNTE1OmTIlnnnlG8Au7WBJ+kW/VqlUCYACABBMAAwC8y9///ves/+aZABiA3aG2tjYmT54czz77bNTV1WkINNN93KuvvioABgBIMAEwAMC7PPzww+t//OMfN6RSqcJsrbFz584GBcAus3379pg+fXpMnTo1tm3bpiGwG2X7CeB0Ot3w8MMPC4ABABJMAAwA8C7V1dXpurq68latWu2TrTV26NAh8vLyIp1OGxgAH1tDQ0NMmzYtnnrqqaiurtYQ2M3y8vKiQ4cOWV1jfX39mtraWptMAIAEEwADAOxEbW3tmmwOgAsKCqJdu3axceNGwwLgI2tsbIwZM2bEk08+GZWVlRoCe0j79u2joCC7X8fV1NSUmxQAQLIJgAEAdmLz5s2r2rdvn9U1duvWTQAMwEeSTqdj1qxZMXnyZH+HwF7av2W7LVu2rDQpAIBkEwADAOzEpk2bVvfp0yera+zWrVvMmzfPsAD4QG8Hv1OmTIkNGzZoCOzF/Vu227BhwxqTAgBINgEwAMBOrFixYvWwYcOyusYkvEAEYO/KZDLx0ksvxZQpU6K83K2usLd17do162tctWrVKpMCAEg2ATAAwE7Mnz9/9ZgxY7K6xiS8QARg78hkMjF79uyYOHFirFnjMB9kiyT8At+8efP8oQEAkHACYACAnRg3btyab37zm5mISGVrjU4AA7Azc+bMiSeeeCKWLVumGZBlEvALfJlx48atNikAgGQTAAMA7MTrr79e29DQsKmwsLBDttZYXFwcZWVlsWXLFgMDIBYsWBDjx4+PJUuWaAZkobKysiguLs7qGhsaGjYuWLCgzrQAAJJNAAwA8B62bt26vF27dh2yucauXbsKgAGauYULF8b48eNj8eLFmgFZLAm3t2zbtm25SQEAJJ8AGADgPVRVVS1t167d0GyusWfPnrFw4ULDAmiGli1bFo899ljMnz9fMyABevbsmfU1VlZWLjUpAIDkEwADALyHdevWLevTp09W15iEF4kA7ForVqyIRx99VPALCZOEfdvatWuXmRQAQPIJgAEA3sPChQuXHX744VldY69evQwKoJlYtWpVjB8/PubOnRuZTEZDIGGSsG9buHDhMpMCAEg+ATAAwHuYNm3a0ksuuSSra+zevXvk5+dHU1OTgQHkqHXr1sX48eNj9uzZgl9IqIKCgkR8A/jpp59eZloAADmw/9QCAICde+ihhzbcd999W/Pz80uzdjNXUBBdunSJNWvWGBhAjqmoqIiJEyfGyy+/HOl0WkMgwbp27RoFBdn9Gq6xsbH6kUce2WBaAADJJwAGAHgf27ZtW15WVnZwNtfYq1cvATBADqmqqoqJEyfG888/74YHyBFJ+P7vtm3blpsUAEBuEAADALyPLVu2LMv2ALhnz57x0ksvGRZAwm3evDkef/zxeOGFF6KxsVFDIIck4fu/W7ZsWWpSAAC5QQAMAPA+1q9fvyzbT2z06NHDoAASbMuWLTFlypSYOXNm1NfXawjkoCTs19avX7/MpAAAcoMAGADgfSxYsGDh0KFDs7rGfffdN1KpVGQyGQMDSJCampqYMmVKPPPMM4JfyGGpVCr23XffrK9z/vz5C00LACA3CIABAN7Ho48++uYFF1yQ1TWWlJRE586dY926dQYGkAC1tbUxefLkePbZZ6Ourk5DIMd17do1WrVqlfV1/vnPf15kWgAAuUEADADwPiZNmlRVX1+/oaioqGM217nvvvsKgAGy3Pbt22P69OkxderU2LZtm4ZAM9GnT5+sr7G+vr7iySefrDItAIDcIAAGAPgAW7duXZTtAXCfPn3ipZdeMiyALNTQ0BDTpk2Lp556KqqrqzUEmpkkXP+8detWp38BAHKIABgA4ANUVFQs7NChw8hsrjEJLxYBmpvGxsaYMWNGPPnkk1FZWakh0EwlYZ9WUVHh+78AADlEAAwA8AGWLl266MADD8zqGnv16hUFBQXR2NhoYAB7WTqdjlmzZsWkSZNi06ZNGgLNWGFhYfTs2TMR+13TAgDIHQJgAIAPMHPmzEWnnnpqdm/qCgqiZ8+esWzZMgMD2EveDn4nT54cGzdu1BAg9tlnn8jPz0/CfnexaQEA5I48LQAAeH+//OUvV6bT6bpsr7NPnz6GBbAXZDKZePHFF+O73/1u3H///cJf4J+ScP1zOp2u++Uvf7nStAAAcocTwAAAH6C6ujpdXV29uE2bNodkc539+vWL6dOnGxjAHpLJZGL27NkxceLEWLNmjYYAO92fJWCvu7i6ujptWgAAuUMADADwIWzYsGFetgfA/fv3NyiAPeTVV1+NSZMmxapVqzQD2KlUKpWI/dmGDRvmmhYAQG4RAAMAfAiLFy9+o2/fvlldY1lZWXTu3DnWr19vYAC7yYIFC2L8+PGxZMkSzQDeV5cuXaK0tDQJ+9z5pgUAkFsEwAAAH8JTTz31+ujRo7O+zv33318ADLAbLFy4MMaPHx+LFy/WDOBD78uSYMqUKa+bFgBAbsnTAgCAD/aLX/xiTWNjY1W215mUF40ASbFs2bK4++674z/+4z+Ev8BHkoTv/zY0NFTee++9q00LACC3OAEMAPAhNDQ0ZDZv3jy/Q4cOI7O5TgEwwK6xYsWKePTRR2P+fDejArm7L9uyZYs/5AAAcpAAGADgQ1q3bl3WB8AdO3aMNm3axObNmw0M4GNYtWpVjB8/PubOnRuZTEZDgI+lbdu20aFDh0Tsb00LACD3CIABAD6kefPmzTvooIOyvs4DDzwwXnrpJQMD+AjWrVsX48ePj9mzZwt+gV2yH0uCuXPnzjMtAIDcIwAGAPiQ/vznP88/77zzsr7OAw44QAAM8CFVVFTEuHHjBL/ALt+PJcHDDz/sBDAAQA4SAAMAfEgTJ06srK2tXdGqVat9srnOgw8+2LAAPkBVVVVMnDgxnn/++WhqatIQYJdKwq0xNTU1yydNmlRlWgAAuUcADADwEWzYsOHvvXr1yuoAuG3bttG1a9dYu3atgQG8y+bNm+Pxxx+PF154IRobGzUE2OW6desWbdu2TcS+1rQAAHKTABgA4CNYuHDha7169Toj2+scMGCAABjgHbZs2RJTpkyJ5557LrZv364hwG6TlO//Lly48O+mBQCQmwTAAAAfwcSJE/9+wgknZH2dBx54YEyfPt3AgGavpqYmpkyZEs8880zU19drCLDbDRgwIBF1jh8//u+mBQCQmwTAAAAfwb333rv6Bz/4wfqioqLO2VznAQccEHl5eZFOpw0NaJZqa2tj8uTJ8eyzz0ZdXZ2GAHtEXl5e9O/fP+vrrK+vX3ffffeVmxgAQG4SAAMAfESVlZVzu3btmtXHgFu1ahX77LNPLFu2zMCAZqWuri6efvrpmDZtWmzbtk1DgD1qn332iVatWmV9nZs2bZpjWgAAuUsADADwES1dunR2tgfAERGDBg0SAAPNRkNDQ0ybNi2eeuqpqK6u1hBgr+2/kuCtt976m2kBAOQuATAAwEc0ffr0v48cOTLr6xw4cGBMmDDBwICc1tDQEM8991w8+eSTUVlZqSHAXt9/JcG0adP+bloAALlLAAwA8BH9x3/8x9JbbrmlOj8/v3U219mrV68oKyuLLVu2GBqQc9LpdMyaNSsmTZoUmzZt0hBgrysrK4tevXplfZ2NjY1b7rnnnmUmBgCQuwTAAAAfUW1tbXrDhg1/7dKly3HZXGcqlYqBAwfGrFmzDA3IGW8Hv5MnT46NGzdqCJA1Bg4cGKlUKuvr3Lhx4yu1tbVpEwMAyF0CYACAj+Gtt956JdsD4IgQAAM5I51Ox8svvxxTpkyJ8vJyDQGyct+VBIsWLXrFtAAAcpsAGADgYxg/fvwrRxxxRNbXedBBB0VBQUE0NjYaGpBImUwmZs+eHRMnTow1a9ZoCJCVCgoK4qCDDkpErY888ogAGAAgx+VpAQDAR/fjH/94ZX19/fpsr7OoqCj69etnYEAivfrqq3HHHXfEz3/+c+EvkNX69esXRUVFWV9nXV1d+b333rvaxAAAcpsTwAAAH9OGDRte6dGjx6ezvc5BgwbFggULDAxIjCVLlsSECRNi/vz5mgEkwuDBgxNR5/r1653+BQBoBgTAAAAf07x5815OQgA8bNiwePjhhyOTyRgakNXefPPNmDBhQixevFgzgMRIpVIxdOjQRNQ6d+7cl0wMACD3CYABAD6m++677+XRo0dnIiKVzXW2bds2evfuHcuWLTM0ICstW7YsHnvsMSd+gUTq06dPtG3bNgmlpu+9996/mhgAQO4TAAMAfEwTJ06s3Lp165LS0tK+2V7rkCFDBMBA1lmxYkU8+uijgl8g0YYMGZKIOqurqxc+/fTTm00MACD3CYABAD6B8vLyl/fff/+sD4AHDx4c48aNMzAgK6xcuTImTJgQc+fOdT09kHhJ+f7vmjVrfP8XAKCZEAADAHwCM2fOfG7//ff/fLbX2a1bt+jWrVuUl5cbGrDXrFu3LsaPHx+zZ88W/AI5oWfPntGlS5dE1DpjxoznTAwAoHkQAAMAfAK33Xbba5dcckl1fn5+62yvdciQIQJgYK9Yv359PPbYY4JfIOck5frnxsbGzbfddts8EwMAaB4EwAAAn0BlZWXThg0b/tqlS5fjsr3WQw89NCZNmmRowJ78MzKeeOKJeP7556OpqUlDgJxz6KGHJqLOioqKV6qrq9MmBgDQPAiAAQA+oXnz5s1MQgDcu3dv10ADe0RVVVVMnDgxXnjhhWhsbNQQICd17949evbsmZT9quufAQCakTwtAAD4ZP77v/97VkQk4kTFpz71KQMDdpstW7bEQw89FLfffns899xzwl8gpw0fPjwRdWYymfTdd9/9gokBADQfTgADAHxCkyZNqtqyZcuCsrKyg7K91uHDh8fjjz9uaMAuVVNTE1OmTIlnnnkm6uvrNQTIealUKg477LBE1Lply5bXp0+fvsXUAACaDwEwAMAusHz58lkDBw7M+gC4S5cu0atXr1i5cqWhAZ9YbW1tTJ48OZ599tmoq6vTEKDZ6N27d3Ts2DEx+1QTAwBoXgTAAAC7wLPPPvvCwIEDr0hCrcOGDRMAA59IXV1dPP300zFt2rTYtm2bhgDNzrBhwxJT61/+8pcXTQwAoHnxDWAAgF3g1ltvnV9fX782CbUefvjhkUqlDA34yBoaGmLq1Klx6623xuOPPy78BZqlJF3/XFdXt/rWW29dYGoAAM2LE8AAALtAQ0NDZs2aNc/16dPns9lea7t27aJPnz6xZMkSgwM+7J9xMW3atHjqqaeiurpaQ4Bmbb/99ou2bdsmotbVq1fPNDEAgOZHAAwAsIs8++yz05IQAEdEHHHEEQJg4AOl0+mYNWtWTJo0KTZt2qQhABFx5JFHJqbW6dOnTzMxAIDmxxXQAAC7yC233PJaQ0NDZRJqHT58eLRo0cLQgJ1Kp9Px3HPPxW233Rb333+/8Bdgh6KiovjUpz6ViFobGho23HLLLXNNDQCg+XECGABgF6murk6Xl5c/t88++5yR7bW2bNkyDj300Hj55ZcNDvindDodL7/8ckyZMiXKy8s1BOBdhgwZEkVFRYmodc2aNc/V1tamTQ0AoPkRAAMA7EIvvvjiM0kIgCMiRo4cKQAGIiIik8nE7NmzY+LEibFmzRoNAXif/VNSzJo161kTAwBongTAAAC70O233/7KOeecszU/P78022sdMGBAtG/f3tWu0My9+uqrMWnSpFi1apVmALyPjh07xgEHHJCIWhsbG6u/8Y1v/NXUAACaJwEwAMAutHLlyob169fP6tat2+hsrzWVSsXhhx8ekyZNMjhohubMmROTJ0+OJUuWaAbAh3D44YdHKpVKRK3r16+fVVFR0WhqAADNU54WAADsWq+++mpirts77LDDDAyamTfffDP+/d//PX7yk58IfwE+pFQqFSNGjEhMva+88sozpgYA0Hw5AQwAsIvddNNNz5166qnV+fn5rbO91m7dukX//v1j4cKFBgc5btmyZfHYY4/F/PnzNQPgIzrggAOic+fOiai1sbFxy4033jjL1AAAmi8BMADALrZy5cqG8vLyGT179vx0Euo9+uijBcCQw5YvXx7jxo0T/AJ8wv1SUpSXlz9TXl7eYGoAAM2XABgAYDeYMWPGUxdccEEiAuAhQ4ZE69ato7q62uAgh6xcuTImTJgQc+fOjUwmoyEAH1ObNm3i0EMPTUy9zz777FOmBgDQvPkGMADAbvDVr371lYaGhk1JqLWgoCCOOOIIQ4McsW7duvj5z38ed955Z8yZM0f4C/AJjRw5MvLz8xNRa0NDw8abbrrpVVMDAGjenAAGANgNKisrm1atWjW9T58+5ySh3qOPPjqefPJJQREk2Pr16+Oxxx6L2bNn+3cZYBdJpVIxatSoxNS7cuXKadXV1WmTAwBo3pwABgDYTaZNm5aY6/c6duwYAwYMMDRIoA0bNsSvf/3r+Nd//dd49dVXhb8Au9CAAQOiY8eOian36aefftLUAAAQAAMA7CZf+9rX5tTX11ckpd6jjjrK0CBBqqqq4v77749vf/vb8eKLL0ZTU5OmAOxiRx55ZGJqra+vX/eNb3zjdVMDAMAV0AAAu0ltbW16xYoVT++///6fT0K9hx56aLRt2zaqqqoMD7LYli1bYsqUKfHcc8/F9u3bNQRgN2nbtm0MGTIkMfUuX778qdraWtc/AwDgBDAAwO70xz/+cUJSas3Pz4/jjjvO0CBL1dTUxKOPPhq33XZb/OUvfxH+Auxmxx57bOTn5yel3Myvf/3rCaYGAECEABgAYLe66667llZXV89PSr1HH310tGjRwuAgi7wd/H7jG9+IqVOnRn19vaYA7GYtWrSIo48+OjH1btmy5Y177rlnhckBABDhCmgAgN3u9ddfn3T44YcPSEKtxcXFcdhhh8XMmTMNDvayurq6ePrpp2PatGmxbds2DQHYgw477LAoKSlJTL3z5s17wtQAAHibE8AAALvZ9773vanpdLohKfWecMIJkUqlDA72koaGhpg6dWrceuut8fjjjwt/AfawVCoVJ5xwQmLqTafT27/73e8+ZXIAALzNCWAAgN1s+vTpWyoqKmZ26dIlER/Y7d69e/Tv3z/efPNNw4M9qKGhIaZNmxZPPfVUVFdXawjAXnLAAQdE9+7dE1NvRUXFczNmzPAXBwAA/+QEMADAHjBr1qxEXcuXpFMvkHTpdDqee+65uP322+PRRx8V/gLsZccff3yi6p0xY8YkUwMA4J2cAAYA2AO++tWvvnT66adXFRYWtk1CvQMHDoyOHTvGhg0bDA92k3Q6HbNmzYrJkyfHxo0bNQQgC3Ts2DEGDhyYmHobGhoqb7755pdMDgCAd3ICGABgDygvL29YsWLF1MRsEvPy4sQTTzQ42A3S6XS8+OKL8Z3vfCfuv/9+4S9AFjnppJMiLy85r8tWrFgxpaKiotHkAAB4JwEwAMAe8qtf/erRiMgkpd6jjjoqysrKDA52kUwmE6+++mp873vfi1//+texdu1aTQHIImVlZXHUUUcl6q+W//7v//6zyQEA8G4CYACAPeQ///M/l1dWVv4tKfUWFhbGMcccY3CwC7wd/P785z+PNWvWaAhAFjruuOOioCA5X0urqqqa/dOf/nS1yQEA8G4CYACAPeill14al6R6jzvuuCgqKjI4+JjmzJkTd911V/z85z+P1au9owfIVkVFRYn7xbcXXnhhnMkBALAzBVoAALDnjB079pkFCxZUFhYWtktCvSUlJXHEEUfE9OnTDQ8+gjfffDPGjx8fb731lmYAJMCRRx4ZJSUliam3oaFh0zXXXPOsyQEAsDMCYACAPai8vLxh6dKlE/v3739xUmo+8cQT49lnn410Om2A8AEWLVoUjz32WCxevFgzABIiLy8vTjzxxETVvGTJkifKy8sbTA8AgJ3ucbUAAGDP+u1vfzsxIjJJqbdjx44xdOhQg4P3sXz58rj77rvjRz/6kfAXIGGGDRsWHTp0SFLJmd/85jePmxwAAO9FAAwAsIf953/+5/JNmza9kqSaTz/99EilUoYH77Jy5cr4yU9+Et///vdj/vz5GgKQMHl5eXHGGWckquZNmza9fM8996wwPQAA3osroAEA9oKXXnpp/KmnnnpYUurt2rVrDBkyJGbPnm14EBHr1q2L8ePHx+zZsyOTyWgIQEINHTo0OnfunKiaX3jhhQkmBwDA+xEAAwDsBZdffvkzS5YsWVdUVNQlKTWfccYZ8be//U3YRbO2fv36eOyxxwS/ADkglUrF6aefnqia6+rq1lx22WXTTQ8AgPcjAAYA2AsqKyub5s+f/8ihhx56dVJq7tatm1PANFsbNmyIxx9/PF555ZVoamrSEIAc8KlPfSq6du2aqJrfeOONcdXV1WnTAwDg/fgGMADAXvL1r399XDqdrktSzb4FTHNTVVUV999/f3z729+OF198UfgLkCNSqVR8+tOfTlTN6XS69pvf/OZjpgcAwAdxAhgAYC+ZMWNG9Zo1a/7Ss2fPxLx97N69ewwcODDmzJljgOS0LVu2xIQJE+KFF16IxsZGDQHIMYceemh069YtUTWvXr36qRkzZlSbHgAAH8QJYACAvejXv/71HyMiUR8SPeuss5wCJmdt27YtHn300bjtttviueeeE/4C5KC8vLwYM2ZM0srO/OpXv/qT6QEA8KH2vFoAALD3fP/733+rqqoqUR/V7dGjR3zqU58yPHJKfX19TJ06Nb71rW/F1KlTo76+XlMActSIESOiS5cuiap506ZNf73rrruWmh4AAB+GABgAYC975plnHkpazWeccUbk5dlKkjvmzZsXjz76aGzdulUzAHJYQUFBnH766Ymre9q0aQ+aHgAAH5a3dgAAe9nYsWNn1tfXr01SzZ07d47DDjvM8ACARBk5cmR06NAhUTXX1dWtHjt27POmBwDAhyUABgDYyyorK5tee+21Pyat7jPPPDMKCgoMEABIhBYtWiTy9O/s2bP/UF1dnTZBAAA+LAEwAEAWuOqqqyY0NjZWJanm9u3bx9FHH214AEAiHHfccdGmTZtE1dzQ0LDxiiuumGh6AAB8FAJgAIAssGDBgrqFCxc+lrS6R48eHYWFhQYIAGS1li1bxsknn5y4uhcuXDhu6dKl200QAICPQgAMAJAlvv71r/8pnU7XJqnmtm3bximnnGJ4AEBWO+2006K0tDRRNTc1NdV+7Wtfe8j0AAD4qATAAABZ4umnn968fPnyxF3xN3r06GjXrp0BAgBZqUOHDnH88ccnru5ly5ZNmD59+hYTBADgoxIAAwBkkbvvvvtPmUymKUk1FxYWxumnn254AEBWOvPMMxP3yYpMJtN41113/dH0AAD4OATAAABZ5Be/+MWatWvXTkta3UcccUT06tXLAAGArNK7d+847LDDEld3eXn5X+6///51JggAwMchAAYAyDIPP/zwn5JWcyqVijPPPNPwAICsMmbMmEilUomr+8EHH/yT6QEA8HEJgAEAsszXv/71NzZs2DAraXUPHDgwDj74YAMEALLCoEGDYsCAAYmru6KiYuatt966wAQBAPi4BMAAAFlo3Lhxv01i3WPGjIm8PFtMAGDvysvLizFjxiSy9j//+c+/NUEAAD7RflgLAACyz/XXXz+nqqrqr0mru1evXnHUUUcZIACwVx1zzDHRvXv3xNW9adOmV2666aa5JggAwCchAAYAyFJ/+tOf7k1i3WPGjInS0lIDBAD2ijZt2sRZZ52VyNofeOCBe00QAIBPSgAMAJClbrrpprlJPAVcXFwcZ555pgECAHvFWWedFS1btkxc3Zs2bXrl5ptvnmeCAAB8UgJgAIAsNm7cuF8lse5Ro0ZF7969DRAA2KP69OkTI0eOTGTtjz322K9MEACAXUEADACQxcaOHTu7qqrqb0mrO5VKxfnnnx+pVMoQAYA9tv/4/Oc/n8j9R2Vl5d+uueaav5kiAAC7ggAYACDLTZ069bdJrLtv374xZMgQAwQA9ojDDjsssTeQTJ48+TcmCADAriIABgDIcpdeeumLVVVVryax9s9//vNRXFxsiADAblVaWhrnn39+Imuvqqr66+WXX/6SKQIAsKsIgAEAEuChhx76WRLrLisri9NPP90AAYDd6qyzzoqSkpIklp753e9+91MTBABgVxIAAwAkwA033DB3w4YNs5JY+3HHHRd9+vQxRABgt+jbt28cddRRiay9oqJi1te//vU3TBEAgF1JAAwAkBA///nPfxoR6aTVnUql4vOf/3zk5dl6AgC7Vn5+flx00UWRSqWSWH76F7/4xX+bIgAAu5q3cAAACXHHHXe8tW7duulJrL13795xzDHHGCIAsEudcMIJ0b1790TWXl5e/pc77rjjLVMEAGBXEwADACTI3XfffW8mk2lKYu1nnXVWtG3b1hABgF2iQ4cOcfrppyey9kwm03T33Xf/3BQBANgdBMAAAAlyzz33rCgvL386ibW3bNkyzj33XEMEAHaJc889N1q0aJHI2tesWTP1xz/+8UpTBABgdxAAAwAkzA9/+MOfZzKZhiTWPnz48Bg0aJAhAgCfyKGHHhpDhw5NZO3pdLrhBz/4wS9MEQCA3UUADACQMPfee+/qRYsWPZDU+i+++OIoKSkxSADgY2ndunVcfPHFia1/4cKFf7jvvvvKTRIAgN1FAAwAkECXXXbZrxsaGjYlsfaysjJXQQMAH9u5554bpaWliay9oaFh4+WXX/47UwQAYHcSAAMAJNDs2bNrXn311V8ntf4jjjgiDj74YIMEAD6SwYMHx+GHH57Y+l955ZX7Zs+eXWOSAADsTgJgAICEOueccx6tqalZmtT6L7roomjZsqVBAgAfSsuWLeNzn/tcYuuvqalZMmbMmMdMEgCA3U0ADACQUJWVlU3Tpk37RVLrb9++fZx++ukGCQB8KGeccUa0b98+sfU/+eST91ZXV6dNEgCA3U0ADACQYOedd960qqqqV5Ja/wknnOAqaADgAx188MFx/PHHJ7b+TZs2vXzBBRc8a5IAAOwJAmAAgIT74x//eG9EZJJYeyqVigsuuMBV0ADAe2rZsmVccMEFkUqlkrqEzP333/8zkwQAYE8RAAMAJNzNN988b9WqVU8ktf6OHTsm+nt+AMDudcEFF0THjh0TW/+KFSse//rXv/6GSQIAsKcIgAEAcsCNN974k6ampq1JrX/kyJExdOhQgwQA/pdPfepTMWLEiMTW39TUVH3zzTf/t0kCALAnCYABAHLAxIkTK//+97//KslruPDCC6OsrMwwAYCIiGjTpk18/vOfT/QaZs+efd/EiRMrTRMAgD1JAAwAkCPOPvvsh2pqapYntf7S0tK46KKLDBIAiFQqFV/84hejtLQ0sWuoqal566yzznrYNAEA2NMEwAAAOaKioqJx0qRJP07yGgYPHhwjR440TABo5o444og46KCDEr2GJ5544qeVlZVNpgkAwJ4mAAYAyCGXXHLJzIqKihlJXsMFF1wQ3bp1M0wAaKZ69uyZ+KufKyoqZnzhC1+YZZoAAOwNAmAAgBzzb//2b/ek0+ntSa2/RYsWceWVV0ZhYaFhAkAzU1hYGF/60pcSvQ9Ip9Pb/+3f/u0e0wQAYG8RAAMA5Jh777139aJFix5M8hq6d+8eZ555pmECQDNzxhlnRPfu3RO9hsWLFz947733rjZNAAD2FgEwAEAO+uxnP/vL2traRL94PPHEE2Pw4MGGCQDNxKBBg+Kkk05K9Bpqa2tXn3vuub80TQAA9iYBMABADlq8eHH9uHHj/j3Ja0ilUnHJJZdE27ZtDRQAclybNm3ikksuiVQqleh1jBs37t8XL15cb6IAAOxNAmAAgBx1+eWXv1RRUTEjyWsoLS2NL3zhC4l/GQwAvLe3f+mrdevWiV5HRUXFM5dffvlLJgoAwN4mAAYAyGE33HDDXU1NTVuTvIaDDjrI94ABIId95jOfiUMOOSTRa2hqaqq+4YYbfmiaAABkAwEwAEAOGzdu3MbZs2cn/jt0p5xyiu8BA0AOOuSQQ+LTn/504tfx17/+9efjxo3baKIAAGQDATAAQI77zGc+81B1dfXCJK8hlUrFF7/4xejQoYOBAkCO6NixY3zpS19K/KceNm/ePO+00057xEQBAMgWAmAAgBxXXV2dfuCBB34UEekkr6O4uDguvfTSyMuzhQWApMvPz4/LLrssiouLk76U9P333/+ftbW1aVMFACBbeHsGANAMXH/99XMWLVr0YNLXsf/++8e5555roACQcOedd1707ds38etYuHDhH7/61a++bqIAAGQTATAAQDNxySWX/Lyurq486es4/vjjfQ8YABJs2LBhccwxxyR+HXV1dWsuvPDC+0wUAIBsIwAGAGgmXnvttdoHHnjguxGRSfI6UqlUfOlLX4oePXoYKgAkTO/evePSSy9N/Hd/IyLzwAMPfO/111+vNVUAALKNABgAoBm5+uqr/7Z06dJHk76OoqKiGDt2bJSWlhoqACRE69at46qrrorCwsLEr2X58uXjrr766r+ZKgAA2UgADADQzJx33nn/r66ubnXS19GhQ4e4/PLLIy/PlhYAsl1eXl5cfvnl0b59+8Svpb6+ft0ll1zyE1MFACBr999aAADQvLz++uu1Dz744Pcj4VdBR0QMGDAgzjrrLEMFgCw3ZsyYOPDAA3NiLY899tgPXnnllW2mCgBAthIAAwA0Q1/5ylf+umbNmqm5sJaTTz45Dj30UEMFgCw1ZMiQOOmkk3JiLWvXrv3LpZde+oKpAgCQzQTAAADN1GWXXfYf9fX1FUlfRyqViksvvTS6d+9uqACQZXr06BFf/OIXI5VKJX4tDQ0Nm6655pofmioAANlOAAwA0EzNmDGj+oEHHvhO5MBV0C1btozrr78+2rZta7AAkCXatWsX1113XbRs2TIXlpN56KGH/nXSpElVJgsAQLYTAAMANGNf+cpX/rpkyZI/58Ja2rZtG1dffXW0aNHCYAFgL2vRokVcffXVOfPLWUuXLn30iiuueNlkAQBIAgEwAEAzd+655/6ktrZ2eS6spXfv3jlzzSQAJNXbn2fYZ599cmI9tbW1y88555wfmywAAEkhAAYAaOYWLFhQ97Of/ezbmUymMRfWM2zYsDjllFMMFgD2kk9/+tMxdOjQnFhLJpNp/NnPfvbtBQsW1JksAABJIQAGACBuvfXWBfPnz78/V9Zz5plnxuDBgw0WAPaw4cOHx2c+85mcWc/8+fN/d+utty4wWQAAkkQADABARESMGTPmvpqamrdyYS2pVCouu+yy6Nmzp8ECwB7Su3fvuPjii3PmUwxbt25ddPrpp//aZAEASBoBMAAAERGxcuXKhh/+8Ie3pdPpnLjisGXLlvEv//Iv0aVLF8MFgN2sS5cucf3110dRUVFOrKepqanmu9/97jfKy8sbTBcAgKQRAAMA8E933XXX0ueff/6eXFlPaWlpXHvttVFWVma4ALCblJWVxXXXXRclJSU5s6aZM2fe/f/+3/9bZboAACSRABgAgP/l5JNPHldeXv50rqynU6dOMXbs2Jw5kQQA2aSoqCiuueaa6NixY86sqby8/MlTTz11gukCAJBUAmAAAP6PSy655K66urq1ubKefffdN6644orIy7P9BYBdJS8vL6688sro3bt3zqyprq6u/JJLLvmh6QIAkOi9uhYAAPBus2bNqn7ooYfujIh0rqxp4MCBcd555xkuAOwi559/fhxyyCG5tKT0gw8+eOesWbOqTRcAgCTLb3tQ9NzpjndbRG15oQ4BADRTEydOXDNmzJi8Tp06Dc2VNfXp0yfy8/PjzTffNGAA+ATOOuusOOmkk3JqTa+//vp9Z5555kTTBQAgCYq7N0Ze6c5/5gQwAADv6dRTT/31li1bXs+lNZ122mlx9NFHGy4AfEzHHntsnHrqqTm1pi1btrxx2mmn/cZ0AQDIBQJgAADeU0VFReONN974jcbGxqpcWtcFF1wQRx55pAEDwEd05JFHxuc+97mcWlNjY2PVzTff/I2KiopGEwYAIBcIgAEAeF9//OMf1z/yyCPfiRz6HnAqlYqLLroohgwZYsAA8CENHTo0LrrookilUrm0rPQjjzzynfvvv3+dCQMAkCsEwAAAfKBLL730hQULFvwupzbCeXnxpS99Kfbff38DBoAPcNBBB8WXvvSlyMvLrVdJCxYs+N2ll176ggkDAJBLBMAAAHwoo0eP/mVVVdXcXFpTYWFhfOUrX4kePXoYMAC8h169esUVV1wRBQUFObWuqqqqOaNHj/6lCQMAkGsEwAAAfCgVFRWNV1111S0NDQ0bcmldJSUlcfPNN8c+++xjyADwLr17946bbropiouLc2pdDQ0NG6666qqv++4vAAC5SAAMAMCHNmHChE3333//tzKZTDqX1lVcXBzXXXdddO/e3ZABYIfu3bvHtddeG61atcqpdWUymfT999//rQkTJmwyZQAAcpEAGACAj2Ts2LGz58+f/9tcW1fr1q3juuuuiw4dOhgyAM1ehw4d4rrrrovWrVvn3Nrmz5//m7Fjx842ZQAAcpUAGACAj+y44477xaZNm17MtXW1a9cubrzxxmjXrp0hA9BstW3bNmf/Pty4ceOLxx13nO/+AgCQ0wTAAAB8ZNXV1emLL774W3V1datzbW0dO3aMG2+8Mdq0aWPQADQ7ZWVlceONN0bHjh1zbm21tbWrL7zwwturq6vTJg0AQC7Lb3tQ9NzZD9LbImrLC3UIAICdWrZsWf327dtfOvbYY0/Ny8trkUtrKykpiaFDh8Zrr70WNTU1hg1As9ChQ4f42te+Fp06dcq5tTU1NW39zne+M/bBBx9cb9IAAOSC4u6NkVe6858JgAEA+NhefPHFzYcccsiyAQMGnBgRqZzaRBcXx5AhQ4TAADQLHTt2jJtuuik6dOiQi8tLjx8//ravfvWrc0waAIBc8X4BsCugAQD4RC688MIZb7zxxm9ycW3t27ePm266KSdPQgHA2zp16pTL4W+88cYbv77wwgufM2kAAJoLATAAAJ/YqFGjfrFhw4aZubi2t0Pgzp07GzQAOadz585x0003Rfv27XNyfRs2bJg5atSo+0waAIDmRAAMAMAnVltbm77sssu+V1dXtzoX19euXbu44YYbomPHjoYNQM7o0KFDXH/99dGuXbtc3Z+s/sIXvvDd2tratGkDANCc+AYwAAC7xJIlS+oj4pVRo0admpeX1yLX1ldcXBxDhw6NuXPnxrZt2wwcgETr0qVL3HjjjTl77XNTU1P1nXfeec0f/vCHdaYNAEAuer9vAAuAAQDYZWbNmlXVo0ePuYceeujoVCqVn2vra9WqVYwYMSIWLVoUlZWVBg5AIu23335x0003RVlZWU6uL51ON/z617++4fbbb3/TtAEAyFUCYAAA9phJkyatPeqoozbsu+++R+fi+goLC2P48OGxbNmy2LBhg4EDkCgDBgyIa6+9Nlq1apWza5w2bdq/XXLJJc+ZNgAAuez9AmDfAAYAYJc77bTTHn/rrbcezNX1FRUVxTXXXBNDhgwxbAASY8iQIXHNNddEUVFRzq5xwYIFvzv99NOfMG0AAJozATAAALvFEUcccc+GDRtm5ur6CgoK4sorr4wjjjjCsAFIwt/LceWVV0ZBQUHOrrG8vPypESNG/LdpAwDQ3AmAAQDYLaqrq9MXXXTRd2pra1fk7GY6Ly8uvvjiOPLIIw0cgKw1atSouPjiiyMvL3dfA23dunXxZz/72e83NDRkTBwAgObON4ABANhtli9fvr2mpuaFY4899uT8/PyWubjGVCoVgwYNikwmE4sWLTJ0ALLK6aefHueee26kUqmcXWN9fX3FDTfccM3UqVOrTBwAgObi/b4BLAAGAGC3evnll7cUFBS8cMQRR4zOy8trkYtrTKVSccABB0SnTp1i7ty5kck4fATA3lVYWBhXXHFFHHPMMTm9zsbGxuo777zzKz/72c9WmzoAAM2JABgAgL1qxowZlb169Xp98ODBJ6dSqfxcXWfPnj2jb9++8fe//z0aGxsNHoC9olWrVnH11VfHwIEDc3qd6XS64be//e2Nt9122wJTBwCguREAAwCw1z3xxBPlw4cPX9OvX79jIyJn76Hs2LFjDBw4MObMmRN1dXUGD8Ae1a5du7jxxhujT58+ub7U9JQpU779xS9+8XlTBwCgOXq/ADhPewAA2FPGjBkz9Y033vh1rq+zZ8+eceONN0bHjh0NHYA9pkuXLnHTTTdF9+7dc36tc+fO/eU555zzF1MHAID/SwAMAMAe9alPfernS5cufTjX19mlS5e49dZb48ADDzR0AHa7gQMHxje/+c3o1KlTzq/1rbfeemjEiBG/MnUAANg5ATAAAHvcsccee8/GjRtfyPV1FhcXx7XXXhsjRowwdAB2m8MPPzyuuuqqaNmyZc6vdePGjc8fffTR95g6AAC8NwEwAAB7XEVFReNxxx339crKyr/l+loLCgrisssui/PPPz9SqZThA7DLpFKpOP/88+PSSy+NgoKCnF/vpk2bXj7ssMNuqaysbDJ9AAB4bwJgAAD2isWLF9efddZZN1dXV7/ZHNZ7/PHHx5e//OUoKioyfAA+sRYtWsSXv/zlOP7445vFequrq98cM2bMN8rLyxtMHwAA3l9+24Oi585+kN4WUVteqEMAAOw2a9asaVi1atWs0aNHH1dQUNA619fbrVu3OOCAA2LevHlRX1/vAQDgYykrK4trrrkmDjrooGax3rq6uvKxY8de89RTT202fQAA+Ifi7o2RV7rznwmAAQDYq+bNm1ezevXqZ04++eTjCwoKSnN9ve3atYuRI0fG8uXLY+PGjR4AAD6S/v37x0033RRdu3ZtFuutr69fd9111335T3/6U4XpAwDA/xAAAwCQ1ebMmbMtlUq9fOSRR56Ul5eX83ckt2jRIkaMGBG1tbWxdOlSDwAAH8rxxx8fX/rSl5rN5wQaGxu33HXXXdf99Kc/XWn6AADwvwmAAQDIejNnzqzs2bPn64MHDz4plUrl5/p6U6lUHHLIIdGqVatYsGBBZDIZDwEAO5WXlxef/exn4/TTT49UKtUs1pxOp7f//ve//+o3vvGN1z0BAADwfwmAAQBIhEmTJpXvs88+8wYOHHhCKpUqaA5r3m+//WLAgAExd+5c3wUG4P8oKyuL6667LoYNG9Zs1pxOp7f/8Y9/vOmqq676qycAAAB2TgAMAEBiTJw4cc3BBx+85MADDzwulUrlNYc1t2/fPoYOHRqLFi2KLVu2eAgAiIiIffbZJ66//vro2bNns1lzJpNpnDBhwm1f/OIXn/cEAADAexMAAwCQKI8++ujy/fff/42DDjrohOZwHXRERHFxcRx11FHR2NgYb731locAoJkbPXp0XHHFFVFSUtJs1pxOpxsefvjhr15yySWzPAEAAPD+BMAAACTO+PHjVw0cOHDpAQcccGxzOQmcSqViwIAB0aVLl3jjjTeiqanJgwDQzBQVFcWll14aJ554YrP53m/EP07+Pv7447dffPHFMz0FAADwwQTAAAAk0iOPPLLs0EMPXbb//vs3mxA4IqJHjx4xZMiQePPNN2Pr1q0eBIBmonv37vEv//IvccABBzSrdWcymaYnnnji9s997nPPeAoAAODDEQADAJBYDz/88NJjjjlmY+/evY+KiGZzFKq0tDSGDx8eq1evjvXr13sQAHLcwIED45prrol27do1t6VnZsyY8YOzzjprqqcAAAA+PAEwAACJdv/99795zDHHVO6zzz5HRDMKgVu0aBGHHXZYtGzZMhYuXBjpdNrDAJBjCgoK4pxzzonzzz8/WrRo0dyWn37uuefuOuWUUyZ4EgAA4KMRAAMAkHi///3v5w8bNmxF3759j2lO10GnUqno27dvDB06NBYvXhxbtmzxMADkiJ49e8YNN9wQgwcPblbf+434x7XPU6ZM+fbpp58+2ZMAAAAfnQAYAICc8OCDDy4ZNmzYin79+jWrEDgionXr1nHEEUdEfX19LF261MMAkGCpVCpOOOGEuOKKK6JNmzbNbv07wt9vnXPOOX/xNAAAwMcjAAYAIGc89NBDS4YNG7a8X79+xza3EDg/Pz8OPvjg6NWrV8yfPz8aGho8EAAJU1JSEpdffnmccMIJkZ+f3+zWn8lkGp944olvffazn53maQAAgI9PAAwAQE556KGHlo4cOXJdnz59RqWa252ZEdG1a9cYNmxYLFu2LCorKz0QAAnRt2/fuO6662K//fZrluvPZDLpp59++rvnnHPO054GAAD4ZATAAADknD/96U+LDj300KX7779/s7sOOiKiuLg4jjzyyCgpKYk333wz0um0hwIgSxUUFMRnP/vZuPDCC6OkpKRZ9iCdTjc88sgjt5x//vnTPREAAPDJCYABAMhJDz/88NId3wQelUqlmt09mqlUKvr06RMHH3xwLFy4MLZt2+ahAMgynTt3jrFjx8bQoUOjGV5aERH/CH+feOKJ2y+88MLnPBEAALBrCIABAMhZDz300JIePXq8NmjQoGPz8vJaNMcetG3bNkaNGhVNTU2xZMkSDwVAFkilUjF69Oi48soro0OHDs22D01NTdt++9vf/stll132oqcCAAB2HQEwAAA5bdKkSeXdu3efM3jw4GYbAufn58eAAQOiV69esWDBgti+fbsHA2Avad26dVx66aVx/PHHR35+frPtQ2NjY/WvfvWrf7nuuute81QAAMCuJQAGACDnTZ48eW1jY+OMI4444uiCgoKS5tqHrl27xqhRo2Lbtm2xcuVKDwbAHpRKpWLUqFExduzY6NWrV7PuRX19/fo77rjjK9/61rcWejIAAGDXEwADANAsPP/881UbNmx45rjjjjuqsLCwrLn2obCwMAYNGhT77bdfLF68OGpraz0cALtZ+/bt44orrogTTzwxCgub9/uU2tralTfffPPVP/nJT1Z7MgAAYPcQAAMA0Gz87W9/27p27doZJ5xwwsjCwsK2zbkXnTp1ipEjR0Z1dbXTwAC70ciRI+Pqq6+OHj16NPte1NTULL/hhhuu/e1vf7vOkwEAALuPABgAgGbltdde2zpv3rynTznllKFFRUWdmnMvCgsL49BDD4399tsvFi1a5DQwwC709qnfk08+udmf+o2I2Lx587yLL774unHjxm30dAAAwO71fgFwat9zYsTOftC4LmLjq610DwCAxOrVq1fhs88++69du3Y9QTciGhoaYurUqTF58uRobGzUEICPqaCgIE499dQYPXq04HeH8vLyp4499tjvrly5skE3AABg9+swrDYKuuz8ZwJgAAByWuvWrfNeeumlm/fdd9+zdeMfVq9eHffff38sWbJEMwA+ov322y8uuugi1z2/w8KFC38/fPjwnzY0NGR0AwAA9gwBMAAAzd7zzz9/8aGHHnp1RKR0IyKTycTMmTPjz3/+c9TV1WkIwAcoKSmJ8847L0aMGBGplL9Kdki//PLL9xx77LEPagUAAOxZ7xcA+wYwAADNwn333Tfn+OOP39yrV6/DQwgcqVQqevfuHcOHD49169ZFRUWFhwTgPRxyyCExduzY6N+/v/B3h0wm0/jMM8/828knnzxONwAAYM97v28AC4ABAGg2fve7370xePDgJf369Ts6lUrl60hEcXFxjBgxInr06BFLly6N2tpaTQHYoUOHDvGFL3whzjzzzCguLtaQHZqammoeeOCBWz73uc9N1w0AANg7BMAAALDDww8/vKygoOC54cOHH1FQUFCqI//QrVu3OO6446K0tDQWL14cTU1NmgI0Wy1btoxzzjknLr300ujevbuGvENtbe2K22677arbbrvtDd0AAIC9RwAMAADv8Oyzz25avHjx0yeddNKQoqKiTjryD3l5edGnT58YOXJkbN26NVatWqUpQLNz+OGHx1e+8pUYMGBA5OXlacg7VFVV/e3CCy+8/oEHHvDdAAAA2MsEwAAA8C7z58+vefbZZ58+44wz+hcXF/fSkf/RsmXLGDJkSOyzzz6xdOnSqKmp0RQg53Xs2DG++MUvximnnBItW7bUkHdZt27dMyeffPI3Xn755W26AQAAe9/7BcCpfc+JETv7QeO6iI2vttI9AAByWmFhYer555//0sEHH3y5bvxfTU1N8fzzz8f48eOjurpaQ4Cc07p16zjzzDPjyCOPdOJ35zJ///vff3rMMcfc39DQkNEOAADIDh2G1UZBl53/TAAMAAARMWnSpM8cc8wxt6RSKdfg7ERNTU1MmTIlpk2bFg0NDRoCJF5hYWGccsopcdJJJ0VRUZGG7EQ6na6fOnXqd88555y/6AYAAGSX9wuAXQENAAAR8Yc//GHhfvvt98aAAQOOysvLkwS8S2FhYQwYMCCGDh0amzZtinXr1mkKkFiDBw+Oq666KoYOHRoFBQUashONjY1Vv//972/5whe+MEs3AAAg+/gGMAAAfAgTJkxYXV1dPf3II4/8VGFhYTsd+b9KS0vjsMMOi/79+8eaNWti8+bNmgIkRu/evePyyy+PU045JUpLSzXkPWzdunXxLbfccs33vve9hboBAADZyTeAAQDgI+jTp0+LJ5988us9evQ4TTfe3/z58+ORRx6JlStXagaQtXr16hXnnHNODBgwQDM+wKpVq5444YQTfrBy5Ur3/QMAQBbzDWAAAPgYnnnmmfOHDx9+fSqVytON95bJZGL27Nkxbty4qKio0BAga3Tu3DnOOuusGDp0aKRSKQ15/z/Lm2bNmvXDk08++THdAACA7OcbwAAA8DH85je/eX3//fd//cADDzzSd4HfWyqViu7du8cxxxwT7dq1i2XLlkV9fb3GAHtN27Zt49xzz42LL744evToIfz9AI2NjdUPPvjgLZ/97Gf/ohsAAJAMvgEMAAAf0/jx41dFxPOHHXbYiMLCwjIdeW95eXnRu3fvOOqoo6KgoCBWrlwZjY2NGgPsMcXFxXHKKafEl770pejbt2/k5bnA4YPU1tau+MEPfnD9LbfcMk83AAAgQf/94xvAAADwyQwePLjVo48++s1u3bqdpBsfTn19fTzzzDMxderU2LZtm4YAu01ZWVmceuqpceSRR0ZRkQsbPqyVK1c+/ulPf/pHixcvdm0DAAAkjG8AAwDALvLkk0+edeSRR96USqVcl/MhCYKB3eXtE7/HHnus4PcjyGQyDbNmzfoP3/sFAIDk8g1gAADYRX7/+98v6NGjx2uHHHLIyPz8fL8x+SEUFBREv3794qijjoq8vLxYtWqVq6GBT6Rly5ZxwgknxBVXXBEHHXRQFBQUaMqH1NDQsOG3v/3t1z7/+c8/oxsAAJBcroAGAIBd7Lzzzut4991339m2bdvBuvHR1NTUxLPPPhvTpk2LLVu2aAjwoZWVlcXxxx8fxxxzTBQXF2vIR1RVVfW3a6+99vZHHnlkg24AAECyuQIaAAB2g06dOhVMmzZtbN++fT8XESkd+WgaGhri+eefjyeffDI2bJBFAO/7522cdNJJccQRR0RhodvKPobMokWL/nTsscf+pLKyskk7AAAg+QTAAACwG/3hD38Ydfrpp99WUFDQRjc+unQ6Ha+++mpMnTo1Vq5cqSHAP/Xq1StOOeWUGDp0aOTl5WnIx9DY2Fg1YcKEOy666KKZugEAALlDAAwAALvZaaed1vbee+/9docOHUbqxse3fPnymDZtWrz88suRTqc1BJqhvLy8OOyww+L444+P3r17a8gnsHHjxue//OUvf3fSpElVugEAALlFAAwAAHtAYWFh6qmnnjpv+PDh16RSKXeUfgIbNmyIGTNmxHPPPRc1NTUaAs1AcXFxjBo1Ko4++ujo2LGjhnwCmUym4ZVXXvl/J5100kMNDQ0ZHQEAgNzzfgFwftuDoufOfpDeFlFb7p0VAAB8WOl0On7zm9+8Xlpa+uLgwYM/VVhYWKYrH09xcXEMGDAgjj322GjTpk2sXbs2amtrNQZyUIcOHeKMM86ISy+9NAYOHBjFxcWa8gnU1tau+slPfnLjxRdf/IybFAAAIHcVd2+MvNKd/8wJYAAA2A1OPPHENvfdd9+tnTp1Olo3PrnGxsb429/+Fs8++2wsWrRIQyAH9OvXL44++ugYNmxYFBQUaMguUFFR8cwXv/jFf5s+ffoW3QAAgNzmCmgAANhLHn744RNGjx799YKCgta6sWusX78+Zs6cGc8//3xUV1drCCRIaWlpHHnkkXHUUUdF586dNWQXaWxs3DJ16tS7PvvZz/5FNwAAoHkQAAMAwF50ySWXdP3+97//rXbt2g3VjV2nsbExXnvttXjuuedi/vz5GgJZbMCAATFq1KgYPHiw0767WFVV1atf//rXv/e73/1urW4AAEDzIQAGAIC9rF27dvlTp0699OCDD740lUrl68iutXz58nj++efj5ZdfjpqaGg2BLFBSUhLDhw+PI444Inr37q0hu1gmk2mcN2/efSeeeOJvq6urfewXAACaGQEwAABkia9//ev73Xjjjf9aWlraXzd2vXQ6HW+++WY899xz8dprr0VjY6OmwB5UUFAQgwcPjlGjRsUBBxwQeXl5mrIbVFdXL/zP//zPf/3BD36wRDcAAKB5EgADAEAWOfjgg1v9+c9/vrZ3795jIiKlI7tHZWVlvPjii/HCCy/EunXrNAR2o65du8bIkSPj8MMPj7Zt22rI7pNZunTpn88888z/t3jx4nrtAACA5ksADAAAWejuu+8eePHFF9/WqlUrd6PuZuXl5fHqq6/GSy+9FOvXr9cQ2AU6d+4cI0aMiGHDhkW3bt00ZDerqalZ9tvf/vbOm266aa5uAAAAAmAAAMhS/fr1K3r44Ycv79+//4WpVMpdqXvA8uXL46WXXoqXX345qqurNQQ+grKyshg+fHiMGDHCd333kEwmk164cOEfzj777F8sXbp0u44AAAARAmAAAMh6P/3pT4d97nOf+2bLli176Mae0dDQEHPnzo2//vWvMXfu3Ni+Xa4CO9OyZcsYNGhQDBs2LA455JAoKCjQlD2ktrZ21R//+Mc7rr322r/rBgAA8E4CYAAASIA+ffq0ePTRR69wGnjPS6fTsXTp0nj11VedDIaIaNu2bQwbNiyGDRsWffr0ibw8fyTtSZlMpuG11177+ZlnnvmnioqKRh0BAADeTQAMAAAJ8uMf//jQCy644JutWrXaRzf2vLdPBs+ePTvmzp0bdXV1mkKzUFZWFoMHD45hw4ZF//79Iz8/X1P2gpqammX333//nTfccINv/QIAAO9JAAwAAAnTrl27/HHjxp37qU996qq8vDwb870kk8nEihUrYu7cuTFnzpxYsWJFZDIZjSEnpFKp6Nu3bwwbNiwGDRoUHTt21JS9qKmpqfbVV1/92ZgxY/5cWVnZpCMAAMD7EQADAEBCffnLX+5x++23f7V9+/aH68bet2XLlnjjjTdizpw5MW/evKivr9cUEqVly5Zx8MEHx6BBg+KQQw6J0tJSTckCGzdufPG73/3uv//iF79YoxsAAMCHIQAGAIAEKywsTE2cOPGMkSNHXlNQUNBaR7JDXV1dvPnmm/HGG2/EG2+8EevXr9cUslKXLl3ioIMOioMOOigOOOCAKCoq0pQs0djYuGXmzJk/PvPMMyc2NDS4XgAAAPjQBMAAAJADjjzyyNY/+9nPrujbt++5EZGnI9mluro6Fi5cGPPnz4958+ZFZWWlprBXtGvXLg455JAYMGBA9O/fP1q39nsjWSj91ltv/fmqq676xaxZs6q1AwAA+KgEwAAAkEN++ctfjhgzZsyNrVq16q0b2SmdTsfKlStj0aJFsXDhwli8eHFs27ZNY9gtSkpKol+/ftG/f//Yf//9o1evXpGX53dEslVNTc3yRx999EdXXnnlK7oBAAB8XAJgAADIMd26dSt8+OGHPzd48ODL8vPzbdyzXCaTiTVr1sTChQtj0aJFsWjRotiyZYvG8LGUlZVF//79/xn6du/ePVKplMZkuaampprXXnvtV2PGjHmgoqKiUUcAAIBPQgAMAAA56rjjjiv7r//6r8tdC508mzdvjuXLl8eKFSti+fLlsXjx4qipqdEY/pfi4uLo169f9O7dO/bZZ5/Yd999o6ysTGMSJJPJpJcsWfLn66677pfTp0/3mx8AAMAuIQAGAIAc99Of/nTIueeee3NpaWlf3UimxsbGWLlyZSxdujSWLVsWy5cvj3Xr1kUmk9GcZiKVSkWXLl1in332iT59+kSfPn2iV69eUVBQoDkJtXXr1sUPPvjgj6699tq/6wYAALArCYABAKAZaNeuXf64cePOGTp06BUFBQWtdST56uvrY+XKlf88KbxixYpYu3ZtpNNpzUm4vLy86Nq1a+yzzz7//KdXr17RsmVLzckBjY2NW/7617/+4pxzznm0srKySUcAAIBdTQAMAADNyIknntjmnnvuuXzfffcdk0qlHB3MMdu3b481a9bEmjVrYu3atbF27dooLy+PDRs2CIazUF5eXnTs2DG6desWXbt2jW7dukW3bt2iR48eUVhYqEE5JpPJNC5ZsuRR1z0DAAC7mwAYAACaoa9+9av7Xnfdddd16NDhCN3IfY2Njf8MhNetWxfr1q2LioqKWLduXWzbtk2DdrPS0tLo3LnzP//p0qVLdO3aNbp27eoK52Ziw4YNM//rv/7rxz/60Y+W6wYAALC7CYABAKAZ++UvfznirLPOuq64uNj3gZupmpqaWL9+/T//qaioiMrKyqisrIxNmzZFY2OjJn2AgoKCaN++fbRr1y7at28fHTt2jC5dukSnTp2ic+fOUVxcrEnN1NatW98aP378PVdcccXLugEAAOwpAmAAAGjm2rVrl//ggw+eOWLEiCsLCwvb6gjvtHnz5n+GwZs2bYrKysqorq6OLVu2xJYtW6K6ujqqq6sjk8nk3NpTqVS0bt06WrduHWVlZdGmTZsoLS39X2Fvu3btok2bNh4U/peGhobKl1566efnnHPO+OrqavevAwAAe5QAGAAAiIiIoUOHFt97770XHHjggRfk5+c7ssiHlk6n/xkEV1dXR01Nzfv+k8lkora2NtLpdNTX10dTU1PU1dXt0u8U5+XlRcuWLSM/Pz+KiooiLy8vWrVqFalUKoqLi3f6T0lJSbRq1eqfgW9paWnk5eUZMB9aU1NTzYIFC/745S9/+Y+zZ8+u0REAAGBvEAADAAD/y2mnndb2rrvuurRPnz5n5+XlFeoIe9LbgfDbtm/f/r7XUBcUFESLFi3++b/fDnxhT8pkMg1LliwZd8stt/xq0qRJVToCAADsTQJgAABgp0477bS2d95554X777//5wTBAP9XJpNpWLhw4QO33nrrHwS/AABAtni/ADi/7UHRc2c/SG+LqC33/gcAAHLZokWL6u69995X0un0swcddFCnkpKS3roC8A8VFRUz/7//7/+77aKLLpq6aNGiOh0BAACyRXH3xsgr3fnPBMAAAEDMnDmz8u67736qqalpWr9+/Ypbt27dN5VKpXQGaG4ymUx6zZo1U+65555/Peeccx6cOXNmpa4AAADZRgAMAAB8KDNnzqz88Y9//Gw6nZ4uCAaak7eD37vvvvtfzz///McEvwAAQDYTAAMAAB+JIBhoLgS/AABAEgmAAQCAj+XtILisrOyFvn37diwuLu4VEYJgIBdkKioqnrv33nu/PWbMmEcEvwAAQJK8XwCc2vecGLGzHzSui9j4aivdAwAA/unqq6/u8ZWvfOX8Pn36nJWXl9dCR4CkSafT9UuXLh3/X//1Xw/84he/WKMjAABAEnUYVhsFXXb+MwEwAADwkZ1xxhntb7/99rMPPPDA8/Pz81vrCJDtmpqaqhcsWPDgd77znUcmTpzotC8AAJBoAmAAAGC3GD58eMkPf/jDzwwePPjioqKijjoCZJv6+voNr7322u9vvPHGx2fPnl2jIwAAQC4QAAMAALvV0KFDi++5556zDjnkkPOKioq66giwt9XV1a19/fXXH7z++uvHC34BAIBcIwAGAAD2iFatWuXdc889w0455ZTzO3bseJSOAHtYZsOGDbOmTJny4PXXX/9qbW1tWksAAIBcJAAGAAD2uH/913/tf/7555/dq1ev0/Ly8lroCLC7pNPp+pUrV05+4IEHHvnOd76zSEcAAIBcJwAGAAD2mjPOOKP97bfffvYBBxzw2YKCgjY6AuwqjY2NVW+++eafv/e97z06YcKETToCAAA0FwJgAABgrxs+fHjJ97///dGDBg0aU1paur+OAB9XdXX1wtdee+3Rr371q1Nfe+21Wh0BAACaGwEwAACQVb761a/ue8EFF3y6b9++ZxUUFLTWEeCDNDY2bnnrrbfG/+EPf5j4ox/9aLmOAAAAzZkAGAAAyEpDhw4t/sEPfnDy4MGDz27dunV/HQHerbq6+s2XX375weuuu+7ppUuXbtcRAAAAATAAAJDlCgsLU3ffffeQ0aNHn9G1a9fj8vLyinQFmq90Ol1XXl4+bcqUKROuvfbav+sIAADA/yYABgAAEqNPnz4t/v3f/33UyJEjz2rfvv2nIiKlK9AsZDZt2vTXF1544bGvfe1rzzntCwAA8N4EwAAAQCJddNFFXa6++uqTDzzwwLNbtmzZTUcg99TV1a1ZsGDBuJ/+9KdP3n///et0BAAA4IMJgAEAgETr1q1b4d13333k4YcffmqHDh2OyMvLK9QVSK50Ot2wcePGWbNmzZp8/fXXz6qoqGjUFQAAgA9PAAwAAOSMo48+uvWtt956/CGHHHJKu3btBkdEnq5AIqQrKytfmzdv3uQ777xz+owZM6q1BAAA4OMRAAMAADnpuOOOK/vGN75x/CGHHHJa27ZtB4bvBUO2yVRVVc2dN2/epO9///vTpk+fvkVLAAAAPjkBMAAAkPNuu+22vmedddZJffr0Oa5Vq1a9dQT2ntra2uXLly+f/uijjz51xx13vKUjAAAAu5YAGAAAaFa+9KUvdbv44ouP7t+//wlOBsMekamqqpq7cOHCv/z+97+fcd9995VrCQAAwO4jAAYAAJqtSy65pOtll112jDAYdrl0VVXVvIULF/7lV7/61bO/+93v1moJAADAniEABgAAiIirr766x/nnnz9q//33P7JNmzZDUqlUga7Ah5fJZBoqKyv/vnjx4uf+9Kc/zbr33ntX6woAAMCeJwAGAAB4l379+hV97WtfGzRy5MhRPXv2PLaoqKizrsD/VV9fv37VqlXPvPDCC8/9+7//+5zFixfX6woAAMDeJQAGAAB4H61bt8678847Bx599NFHde/efURpaen+4apomq/M1q1bF69Zs+bF5557btY3v/nNOdXV1WltAQAAyB4CYAAAgI9g8ODBrcaOHXvI8OHDD+vevfvw1q1bHxACYXJXprq6+s01a9a88sorr7z8k5/8ZN5rr71Wqy0AAADZSwAMAADwCVx//fX7nHHGGYf169dvePv27Yfm5+e31hWSrLGxsXrjxo2vvvXWWy+PHz/+lR//+McrdQUAACA5BMAAAAC70Je//OUe55xzzvA+ffoM7tix45CioqKuukI2q6+vX7t27doXFy9ePGfixImv3Xvvvat1BQAAILkEwAAAALvRl7/85R6f+cxnBvfr129Qly5dDm/ZsqVAmL2qrq5u7bp16wS+AAAAOUoADAAAsIe0atUq75prrtnn2GOPPXi//fY7uH379oeUlpb2TaVS+brDbpKuqalZtnHjxnlvvfXW3GeffXbef/3Xfy2vra1Naw0AAEBuEgADAADsRQceeGDLq6+++oAhQ4Yc3LNnz4Pbtm17sGuj+biampqqq6qqXi8vL583Z86ceb/85S/nvfjii1t1BgAAoPkQAAMAAGSZoUOHFn/xi1/cf9CgQQf26NHjwHbt2h3YqlWr3qlUKk932CFdU1OzvLKycsHq1asXzJkzZ8Gf//znJTNmzKjWGgAAgOZNAAwAAJAAxx13XNkFF1xw4MEHH3xA165dDywtLd23pKRkn1QqVag7uS2TyTRs27ZtRXV19dJ169YtfOONNxZOmDBh4YQJEzbpDgAAAO8mAAYAAEiw8847r+OJJ57Yp3///vt16dKlT5s2bfZr3bp1v/z8/GLdSZampqaa6urqxZs3b16ybt26pQsXLlzy9NNPL33ooYc26A4AAAAflgAYAAAgx7Rr1y7/kksu6TFkyJCe++67b89OnTr1Kisr61VcXNyzZcuW3VKpVL4u7R2ZTKaprq6uvKamZtWWLVtWVlRUrFy6dOnK2bNnr7r//vvXVFZWNukSAAAAn4QAGAAAoBnp1KlTwec+97luQ4cO7bnPPvv0aNeuXafWrVt3Li4u7tqyZcvORUVFnfLy8lro1MeTTqe319fXr6+rq6uoqalZW11dvb6ysnL9ihUrVr/66qurHnzwwbUVFRWNOgUAAMDuIgAGAADgfznjjDPaH3bYYZ369OnTuUuXLp3Kysral5SUtC0uLu5YVFTUrqioqG2LFi065OfnlzaXnjQ1NW3dvn37xvr6+qr6+vrKmpqaDdu2bavasmXLpnXr1lUsXbp0/Ysvvrh+4sSJlZ4gAAAA9iYBMAAAAB9Lr169CkeNGtXuoIMOatexY8ey9u3bl7Zp06Z1SUlJWXFxcetWrVq1btGiRVlRUVHrwsLC1hGRX1hYWBoR+QUFBSV5eXkFeXl5u/0/LtPpdG06nW5sbGzcFhFNDQ0NW3f83+r6+vrq7du3b6mtra2uqamp3rZtW/XmzZurN23aVL1hw4YtCxYsqJo1a1bl0qVLt5s4AAAASSAABgAAYK/q169fUffu3Vvss88+xSUlJQVv//8LCwtT3bp1+8BTxuXl5VsbGhoyb//vbdu2Na5YsaJmzZo12xcvXlyvwwAAADQn7xcAF2gPAAAAu9vixYvrdwS11boBAAAAu0+eFgAAAAAAAADkBgEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4QAAMAAAAAAADkCAEwAAAAAAAAQI4o0AIAAAAAAACA5GhoLIyCxoaIiEilIpNXGE1v/0wADAAAAAAAAJAghQUN/0x6MxGppvT/5L6ugAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAAYAAAAAAADIEQJgAAAAAAAAgBwhAIb/v5272ZHiusM4/FZ1NUkz9sQwOF4EyZJtpJCwysa5jSy4n1xPEqRIuQFvvfGSgIwBOzGRQAQERnx0d1UW0cgWGvKxsMGvnmfVdc7/1OJsf+oCAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoIQADAAAAAAAAlBCAAQAAAAAAAEoIwAAAAAAAAAAlBGAAAAAAAACAEgIwAAAAAAAAQAkBGAAAAAAAAKCEAAwAAAAAAABQQgAGAAAAAAAAKCEAAwAAAAAAAJQQgAEAAAAAAABKCMAAAAAAAAAAJQRgAAAAAAAAgBICMAAAAAAAAEAJARgAAAAAAACghAAMAAAAAAAAUEIABgAAAAAAACghAAMAAAAAAACUEIABAAAAAAAASgjAAAAAAAAAACUEYAAAAAAAAIASAjAAAAAAAABACQEYAAAAAAAAoIQADAAAAAAAAFBCAAYAAAAAAAAoMY3JP//9K8My551lzpAk293a7QAAAAAAAAD8iIw3r+SL7TpPxuSt4/ibJJuz20QDBgAAAAAAAHhzrJPp6NvHYcyyjLl7dJTPbl/Jp6sPLufSsM+5ec7q5YOrF0OeP/SVaAAAAAAAAIA3weH7u6zfm79dWDIMSw6225w785vsx3XyzasOby5ssz69c4sAAAAAAAAAr9n69C6bC9sT93a7rKdnORin5Otxynzi1JQcfiwCAwAAAAAAALxO69O7HH68TaaT98cp85R8vbp3Nfszv8q0LHn7xMF1sjk/ZzUPmZ/MmWefhAYAAAAAAAD4oayPdjn7223Gn7x6ZrXPnetX8mBKkpv3cufDd/Pufn5FL56SzcVtNheT3dNt8tQlAwAAAAAAAHyv1sm0ySv/9XtsNWZ3I/lHkgzHi7/4XY7WYz5yiwAAAAAAAAA/Ivtcv/3nPEyS1fHa42t5+vNLyX7JoRsCAAAAAAAAePPt1/nbV3/KvePn1Xc371/NYxEYAAAAAAAA4M0yTHk2rvNo2WdzvHZqzN9v/SF3vju3evng/at5fPDLPDu1yuGyZHSVAAAAAAAAAK/XOGe4ueSvZ4e8M8xZbVe5ceuPufvy3Oqkw4+v5emDX+fuuTlLhhwsEYIBAAAAAAAAXpclGR8OuXP0TR4cPM/9z/+SRyfNDf/1TZezOp/87KdjzizJZkhO7edMy/w/nAUAAAAAAADg/zaMWcZkP8/ZLsmLacr2/MV8+cnvs/tP5/4FmLjAq1ifcioAAAAASUVORK5CYII=";function en(e,t,n){return typeof e=="string"&&!isNaN(Number(e))&&(e=Number(e)),typeof e=="number"&&e<100?fn(e):typeof e=="number"&&e>=100?e:typeof e=="string"&&e.includes("%")?Math.round(t&&t==="X"?parseFloat(e)/100*n.width:t&&t==="Y"?parseFloat(e)/100*n.height:parseFloat(e)/100*n.width):0}function Ag(e){return e.replace(/[xy]/g,function(t){var n=Math.random()*16|0,r=t==="x"?n:n&3|8;return r.toString(16)})}function Dt(e){return typeof e>"u"||e==null?"":e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function fn(e){return typeof e=="number"&&e>100?e:(typeof e=="string"&&(e=Number(e.replace(/in*/gi,""))),Math.round(Bt*e))}function Ct(e){var t=Number(e)||0;return isNaN(t)?0:Math.round(t*t1)}function hu(e){return e=e||0,Math.round((e>360?e-360:e)*6e4)}function A4(e){var t=e.toString(16);return t.length===1?"0"+t:t}function R4(e,t,n){return(A4(e)+A4(t)+A4(n)).toUpperCase()}function Rn(e,t){var n=(e||"").replace("#","");!m4.test(n)&&n!==Mi.background1&&n!==Mi.background2&&n!==Mi.text1&&n!==Mi.text2&&n!==Mi.accent1&&n!==Mi.accent2&&n!==Mi.accent3&&n!==Mi.accent4&&n!==Mi.accent5&&n!==Mi.accent6&&(console.warn('"'.concat(n,'" is not a valid scheme color or hex RGB! "').concat(ti,`" used instead. Only provide 6-digit RGB or 'pptx.SchemeColor' values!`)),n=ti);var r=m4.test(n)?"srgbClr":"schemeClr",o='val="'+(m4.test(n)?n.toUpperCase():n)+'"';return t?"<a:".concat(r," ").concat(o,">").concat(t,"</a:").concat(r,">"):"<a:".concat(r," ").concat(o,"/>")}function L3e(e,t){var n="",r=Or(Or({},t),e),o=Math.round(r.size*t1),i=r.color,a=Math.round(r.opacity*1e5);return n+='<a:glow rad="'.concat(o,'">'),n+=Rn(i,'<a:alpha val="'.concat(a,'"/>')),n+="</a:glow>",n}function Ni(e){var t="solid",n="",r="",o="";if(e)switch(typeof e=="string"?n=e:(e.type&&(t=e.type),e.color&&(n=e.color),e.alpha&&(r+='<a:alpha val="'.concat(Math.round((100-e.alpha)*1e3),'"/>')),e.transparency&&(r+='<a:alpha val="'.concat(Math.round((100-e.transparency)*1e3),'"/>'))),t){case"solid":o+="<a:solidFill>".concat(Rn(n,r),"</a:solidFill>");break;default:o+="";break}return o}function $s(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function K5(e){if(!(!e||typeof e!="object"))return e.type!=="outer"&&e.type!=="inner"&&e.type!=="none"&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),e.type="outer"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||e.angle>359)&&(console.warn("Warning: shadow.angle can only be 0-359"),e.angle=270),e.angle=Math.round(Number(e.angle))),e.opacity&&((isNaN(Number(e.opacity))||e.opacity<0||e.opacity>1)&&(console.warn("Warning: shadow.opacity can only be 0-1"),e.opacity=.75),e.opacity=Number(e.opacity)),e.color&&e.color.startsWith("#")&&(console.warn('Warning: shadow.color should not include hash (#) character, , e.g. "FF0000"'),e.color=e.color.replace("#","")),e}function O3e(e,t,n){var r,o,i=2.3+(!((r=e.options)===null||r===void 0)&&r.autoPageCharWeight?e.options.autoPageCharWeight:0),a=Math.floor(t/t1*Bt)/((!((o=e.options)===null||o===void 0)&&o.fontSize?e.options.fontSize:qi)/i),s=[],l=[],c=[],u=[];e.text&&e.text.toString().trim().length===0?l.push({_type:Kt.tablecell,text:" "}):typeof e.text=="number"||typeof e.text=="string"?l.push({_type:Kt.tablecell,text:(e.text||"").toString().trim()}):Array.isArray(e.text)&&(l=e.text);var f=[];return l.forEach(function(d){var h;typeof d.text=="string"&&(d.text.split(`
|
||
`).length>1?d.text.split(`
|
||
`).forEach(function(p){f.push({_type:Kt.tablecell,text:p,options:Or(Or({},d.options),{breakLine:!0})})}):f.push({_type:Kt.tablecell,text:d.text.trim(),options:d.options}),!((h=d.options)===null||h===void 0)&&h.breakLine&&(c.push(f),f=[])),f.length>0&&(c.push(f),f=[])}),c.forEach(function(d){d.forEach(function(h){var p=[],v=String(h.text),m=v.split(" ");m.forEach(function(x,y){var R=Or({},h.options);R!=null&&R.breakLine&&(R.breakLine=y+1===m.length),p.push({_type:Kt.tablecell,text:x+(y+1<m.length?" ":""),options:R})}),u.push(p)})}),u.forEach(function(d){var h=[],p="";d.forEach(function(v){p.length+v.text.length>a&&(s.push(h),h=[],p=""),h.push(v),p+=v.text.toString()}),h.length>0&&s.push(h)}),s}function hE(e,t,n,r){e===void 0&&(e=[]),t===void 0&&(t={});var o=mp,i=Bt*1,a=Bt*1,s=0,l=0,c=[],u=en(t.x,"X",n),f=en(t.y,"Y",n),d=en(t.w,"X",n),h=en(t.h,"Y",n),p=d;function v(){var A=0;c.length===0&&(A=f||fn(o[0])),c.length>0&&(A=fn(t.autoPageSlideStartY||t.newSlideStartY||o[0])),a=(h||n.height)-A-fn(o[2]),c.length>1&&(typeof t.autoPageSlideStartY=="number"?a=(h||n.height)-fn(t.autoPageSlideStartY+o[2]):typeof t.newSlideStartY=="number"?a=(h||n.height)-fn(t.newSlideStartY+o[2]):f&&(a=(h||n.height)-fn((f/Bt<o[0]?f/Bt:o[0])+o[2]),a<h&&(a=h)))}t.verbose&&(console.log("[[VERBOSE MODE]]"),console.log("|-- TABLE PROPS --------------------------------------------------------|"),console.log("| presLayout.width ................................ = ".concat((n.width/Bt).toFixed(1))),console.log("| presLayout.height ............................... = ".concat((n.height/Bt).toFixed(1))),console.log("| tableProps.x .................................... = ".concat(typeof t.x=="number"?(t.x/Bt).toFixed(1):t.x)),console.log("| tableProps.y .................................... = ".concat(typeof t.y=="number"?(t.y/Bt).toFixed(1):t.y)),console.log("| tableProps.w .................................... = ".concat(typeof t.w=="number"?(t.w/Bt).toFixed(1):t.w)),console.log("| tableProps.h .................................... = ".concat(typeof t.h=="number"?(t.h/Bt).toFixed(1):t.h)),console.log("| tableProps.slideMargin .......................... = ".concat(t.slideMargin?String(t.slideMargin):"")),console.log("| tableProps.margin ............................... = ".concat(String(t.margin))),console.log("| tableProps.colW ................................. = ".concat(String(t.colW))),console.log("| tableProps.autoPageSlideStartY .................. = ".concat(t.autoPageSlideStartY)),console.log("| tableProps.autoPageCharWeight ................... = ".concat(t.autoPageCharWeight)),console.log("|-- CALCULATIONS -------------------------------------------------------|"),console.log("| tablePropX ...................................... = ".concat(u/Bt)),console.log("| tablePropY ...................................... = ".concat(f/Bt)),console.log("| tablePropW ...................................... = ".concat(d/Bt)),console.log("| tablePropH ...................................... = ".concat(h/Bt)),console.log("| tableCalcW ...................................... = ".concat(p/Bt))),!t.slideMargin&&t.slideMargin!==0&&(t.slideMargin=mp[0]),r&&typeof r._margin<"u"?Array.isArray(r._margin)?o=r._margin:isNaN(Number(r._margin))||(o=[Number(r._margin),Number(r._margin),Number(r._margin),Number(r._margin)]):(t.slideMargin||t.slideMargin===0)&&(Array.isArray(t.slideMargin)?o=t.slideMargin:isNaN(t.slideMargin)||(o=[t.slideMargin,t.slideMargin,t.slideMargin,t.slideMargin])),t.verbose&&console.log("| arrInchMargins .................................. = [".concat(o.join(", "),"]"));{var m=e[0]||[];m.forEach(function(A){A||(A={_type:Kt.tablecell});var b=A.options||null;l+=Number(b!=null&&b.colspan?b.colspan:1)}),t.verbose&&console.log("| numCols ......................................... = ".concat(l))}if(!d&&t.colW&&(p=Array.isArray(t.colW)?t.colW.reduce(function(A,b){return A+b})*Bt:t.colW*l||0,t.verbose&&console.log("| tableCalcW ...................................... = ".concat(p/Bt))),i=p||fn((u?u/Bt:o[1])+o[3]),t.verbose&&console.log("| emuSlideTabW .................................... = ".concat((i/Bt).toFixed(1))),!t.colW||!Array.isArray(t.colW))if(t.colW&&!isNaN(Number(t.colW))){var x=[],m=e[0]||[];m.forEach(function(){return x.push(t.colW)}),t.colW=[],x.forEach(function(b){Array.isArray(t.colW)&&t.colW.push(b)})}else{t.colW=[];for(var y=0;y<l;y++)t.colW.push(i/Bt/l)}var R={rows:[]};return e.forEach(function(A,b){var M=[],T=0,w=0,L=[];A.forEach(function(Y){var $,le,Q,K;L.push({_type:Kt.tablecell,text:[],options:Y.options}),Y.options.margin&&Y.options.margin[0]>=1?(!(($=Y.options)===null||$===void 0)&&$.margin&&Y.options.margin[0]&&Ct(Y.options.margin[0])>T?T=Ct(Y.options.margin[0]):t!=null&&t.margin&&t.margin[0]&&Ct(t.margin[0])>T&&(T=Ct(t.margin[0])),!((le=Y.options)===null||le===void 0)&&le.margin&&Y.options.margin[2]&&Ct(Y.options.margin[2])>w?w=Ct(Y.options.margin[2]):t!=null&&t.margin&&t.margin[2]&&Ct(t.margin[2])>w&&(w=Ct(t.margin[2]))):(!((Q=Y.options)===null||Q===void 0)&&Q.margin&&Y.options.margin[0]&&fn(Y.options.margin[0])>T?T=fn(Y.options.margin[0]):t!=null&&t.margin&&t.margin[0]&&fn(t.margin[0])>T&&(T=fn(t.margin[0])),!((K=Y.options)===null||K===void 0)&&K.margin&&Y.options.margin[2]&&fn(Y.options.margin[2])>w?w=fn(Y.options.margin[2]):t!=null&&t.margin&&t.margin[2]&&fn(t.margin[2])>w&&(w=fn(t.margin[2])))}),v(),s+=T+w,t.verbose&&b===0&&console.log("| SLIDE [".concat(c.length,"]: emuSlideTabH ...... = ").concat((a/Bt).toFixed(1)," ")),A.forEach(function(Y,$){var le,Q={_type:Kt.tablecell,_lines:null,_lineHeight:fn((!((le=Y.options)===null||le===void 0)&&le.fontSize?Y.options.fontSize:t.fontSize?t.fontSize:qi)*(y3e+(t.autoPageLineWeight?t.autoPageLineWeight:0))/100),text:[],options:Y.options};Q.options.rowspan&&(Q._lineHeight=0),Q.options.autoPageCharWeight=t.autoPageCharWeight?t.autoPageCharWeight:null;var K=t.colW[$];Y.options.colspan&&Array.isArray(t.colW)&&(K=t.colW.filter(function(B,D){return D>=$&&D<D+Y.options.colspan}).reduce(function(B,D){return B+D})),Q._lines=O3e(Y,K),M.push(Q)}),t.verbose&&console.log(`
|
||
| SLIDE [`.concat(c.length,"]: ROW [").concat(b,"]: START..."));for(var k=0,E=0,P=!1;!P;){var W=M[k],N=L[k];if(M.forEach(function(Y){Y._lineHeight>=E&&(E=Y._lineHeight)}),s+E>a){t.verbose&&(console.log(`
|
||
|-----------------------------------------------------------------------|`),console.log("|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => ".concat((s/Bt).toFixed(2)," + ").concat((W._lineHeight/Bt).toFixed(2)," > ").concat(a/Bt)),console.log(`|-----------------------------------------------------------------------|
|
||
|
||
`)),L.length>0&&L.map(function(Y){return Y.text.length}).reduce(function(Y,$){return Y+$})>0&&R.rows.push(L),c.push(R);var _=[];R={rows:_},L=[],A.forEach(function(Y){return L.push({_type:Kt.tablecell,text:[],options:Y.options})}),v(),s+=T+w,t.verbose&&console.log("| SLIDE [".concat(c.length,"]: emuSlideTabH ...... = ").concat((a/Bt).toFixed(1)," ")),s=0,(t.addHeaderToEach||t.autoPageRepeatHeader)&&t._arrObjTabHeadRows&&t._arrObjTabHeadRows.forEach(function(Y){var $=[],le=0;Y.forEach(function(Q){$.push(Q),Q._lineHeight>le&&(le=Q._lineHeight)}),R.rows.push($),s+=le}),N=L[k]}var C=W._lines.shift();Array.isArray(N.text)&&(C?N.text=N.text.concat(C):N.text.length===0&&(N.text=N.text.concat({_type:Kt.tablecell,text:""}))),k===M.length-1&&(s+=E),k=k<M.length-1?k+1:0;var X=M.map(function(Y){return Y._lines.length}).reduce(function(Y,$){return Y+$});X===0&&(P=!0)}L.length>0&&R.rows.push(L),t.verbose&&console.log("- SLIDE [".concat(c.length,"]: ROW [").concat(b,"]: ...COMPLETE ...... emuTabCurrH = ").concat((s/Bt).toFixed(2)," ( emuSlideTabH = ").concat((a/Bt).toFixed(2)," )"))}),c.push(R),t.verbose&&(console.log(`
|
||
|================================================|`),console.log("| FINAL: tableRowSlides.length = ".concat(c.length)),c.forEach(function(A){return console.log(A)}),console.log(`|================================================|
|
||
|
||
`)),c}function T3e(e,t,n,r){n===void 0&&(n={});var o=n||{};o.slideMargin=o.slideMargin||o.slideMargin===0?o.slideMargin:.5;var i=o.w||e.presLayout.width,a=[],s=[],l=[],c=[],u=[],f=[.5,.5,.5,.5],d=0;if(!document.getElementById(t))throw new Error('tableToSlides: Table ID "'+t+'" does not exist!');r!=null&&r._margin?(Array.isArray(r._margin)?f=r._margin:isNaN(r._margin)||(f=[r._margin,r._margin,r._margin,r._margin]),o.slideMargin=f):o!=null&&o.slideMargin&&(Array.isArray(o.slideMargin)?f=o.slideMargin:isNaN(o.slideMargin)||(f=[o.slideMargin,o.slideMargin,o.slideMargin,o.slideMargin])),i=(o.w?fn(o.w):e.presLayout.width)-fn(f[1]+f[3]),o.verbose&&(console.log("[[VERBOSE MODE]]"),console.log("|-- `tableToSlides` ----------------------------------------------------|"),console.log("| tableProps.h .................................... = ".concat(o.h)),console.log("| tableProps.w .................................... = ".concat(o.w)),console.log("| pptx.presLayout.width ........................... = ".concat((e.presLayout.width/Bt).toFixed(1))),console.log("| pptx.presLayout.height .......................... = ".concat((e.presLayout.height/Bt).toFixed(1))),console.log("| emuSlideTabW .................................... = ".concat((i/Bt).toFixed(1))));var h=document.querySelectorAll("#".concat(t," tr:first-child th"));h.length===0&&(h=document.querySelectorAll("#".concat(t," tr:first-child td"))),h.forEach(function(v){if(v.getAttribute("colspan"))for(var m=0;m<Number(v.getAttribute("colspan"));m++)u.push(Math.round(v.offsetWidth/Number(v.getAttribute("colspan"))));else u.push(v.offsetWidth)}),u.forEach(function(v){d+=v}),u.forEach(function(v,m){var x=Number((Number(i)*(v/d*100)/100/Bt).toFixed(2)),y=0,R=document.querySelector("#".concat(t," thead tr:first-child th:nth-child(").concat(m+1,")"));R&&(y=Number(R.getAttribute("data-pptx-min-width")));var A=document.querySelector("#".concat(t," thead tr:first-child th:nth-child(").concat(m+1,")"));A&&(y=Number(A.getAttribute("data-pptx-width"))),c.push(y>x?y:x)}),o.verbose&&console.log("| arrColW ......................................... = [".concat(c.join(", "),"]"));var p=["thead","tbody","tfoot"];p.forEach(function(v){document.querySelectorAll("#".concat(t," ").concat(v," tr")).forEach(function(m){var x=[];switch(Array.from(m.cells).forEach(function(y){var R=window.getComputedStyle(y).getPropertyValue("color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(","),A=window.getComputedStyle(y).getPropertyValue("background-color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(",");(window.getComputedStyle(y).getPropertyValue("background-color")==="rgba(0, 0, 0, 0)"||window.getComputedStyle(y).getPropertyValue("transparent"))&&(A=["255","255","255"]);var b={align:null,bold:window.getComputedStyle(y).getPropertyValue("font-weight")==="bold"||Number(window.getComputedStyle(y).getPropertyValue("font-weight"))>=500,border:null,color:R4(Number(R[0]),Number(R[1]),Number(R[2])),fill:{color:R4(Number(A[0]),Number(A[1]),Number(A[2]))},fontFace:(window.getComputedStyle(y).getPropertyValue("font-family")||"").split(",")[0].replace(/"/g,"").replace("inherit","").replace("initial","")||null,fontSize:Number(window.getComputedStyle(y).getPropertyValue("font-size").replace(/[a-z]/gi,"")),margin:null,colspan:Number(y.getAttribute("colspan"))||null,rowspan:Number(y.getAttribute("rowspan"))||null,valign:null};if(["left","center","right","start","end"].includes(window.getComputedStyle(y).getPropertyValue("text-align"))){var M=window.getComputedStyle(y).getPropertyValue("text-align").replace("start","left").replace("end","right");b.align=M==="center"?"center":M==="left"?"left":M==="right"?"right":null}if(["top","middle","bottom"].includes(window.getComputedStyle(y).getPropertyValue("vertical-align"))){var T=window.getComputedStyle(y).getPropertyValue("vertical-align");b.valign=T==="top"?"top":T==="middle"?"middle":T==="bottom"?"bottom":null}if(window.getComputedStyle(y).getPropertyValue("padding-left")){b.margin=[0,0,0,0];var w=["padding-top","padding-right","padding-bottom","padding-left"];w.forEach(function(k,E){b.margin[E]=Math.round(Number(window.getComputedStyle(y).getPropertyValue(k).replace(/\D/gi,"")))})}if(window.getComputedStyle(y).getPropertyValue("border-top-width")||window.getComputedStyle(y).getPropertyValue("border-right-width")||window.getComputedStyle(y).getPropertyValue("border-bottom-width")||window.getComputedStyle(y).getPropertyValue("border-left-width")){b.border=[null,null,null,null];var L=["top","right","bottom","left"];L.forEach(function(k,E){var P=Math.round(Number(window.getComputedStyle(y).getPropertyValue("border-"+k+"-width").replace("px",""))),W=[];W=window.getComputedStyle(y).getPropertyValue("border-"+k+"-color").replace(/\s+/gi,"").replace("rgba(","").replace("rgb(","").replace(")","").split(",");var N=R4(Number(W[0]),Number(W[1]),Number(W[2]));b.border[E]={pt:P,color:N}})}x.push({_type:Kt.tablecell,text:y.innerText,options:b})}),v){case"thead":a.push(x);break;case"tbody":s.push(x);break;case"tfoot":l.push(x);break;default:console.log("table parsing: unexpected table part: ".concat(v));break}})}),o._arrObjTabHeadRows=a||null,o.colW=c,hE(gg(gg(gg([],a,!0),s,!0),l,!0),o,e.presLayout,r).forEach(function(v,m){var x=e.addSlide({masterName:o.masterSlideName||null});m===0&&(o.y=o.y||f[0]),m>0&&(o.y=o.autoPageSlideStartY||o.newSlideStartY||f[0]),o.verbose&&console.log("| opts.autoPageSlideStartY: ".concat(o.autoPageSlideStartY," / arrInchMargins[0]: ").concat(f[0]," => opts.y = ").concat(o.y)),x.addTable(v.rows,{x:o.x||f[3],y:o.y,w:Number(i)/Bt,colW:c,autoPage:!1}),o.addImage&&(o.addImage.options=o.addImage.options||{},!o.addImage.image||!o.addImage.image.path&&!o.addImage.image.data?console.warn("Warning: tableToSlides.addImage requires either `path` or `data`"):x.addImage({path:o.addImage.image.path,data:o.addImage.image.data,x:o.addImage.options.x,y:o.addImage.options.y,w:o.addImage.options.w,h:o.addImage.options.h})),o.addShape&&x.addShape(o.addShape.shapeName,o.addShape.options||{}),o.addTable&&x.addTable(o.addTable.rows,o.addTable.options||{}),o.addText&&x.addText(o.addText.text,o.addText.options||{})})}var k3e=0;function N3e(e,t){e.bkgd&&(t.bkgd=e.bkgd),e.objects&&Array.isArray(e.objects)&&e.objects.length>0&&e.objects.forEach(function(n,r){var o=Object.keys(n)[0],i=t;Jl[o]&&o==="chart"?pE(i,n[o].type,n[o].data,n[o].opts):Jl[o]&&o==="image"?vE(i,n[o]):Jl[o]&&o==="line"?Xb(i,xc.LINE,n[o]):Jl[o]&&o==="rect"?Xb(i,xc.RECTANGLE,n[o]):Jl[o]&&o==="text"?Tm(i,[{text:n[o].text}],n[o].options,!1):Jl[o]&&o==="placeholder"&&(n[o].options.placeholder=n[o].options.name,delete n[o].options.name,n[o].options._placeholderType=n[o].options.type,delete n[o].options.type,n[o].options._placeholderIdx=100+r,Tm(i,[{text:n[o].text}],n[o].options,!0))}),e.slideNumber&&typeof e.slideNumber=="object"&&(t._slideNumberProps=e.slideNumber)}function pE(e,t,n,r){var o;function i(f){!f||f.style==="none"||(f.size!==void 0&&(isNaN(Number(f.size))||f.size<=0)&&(console.warn("Warning: chart.gridLine.size must be greater than 0."),delete f.size),f.style&&!["solid","dash","dot"].includes(f.style)&&(console.warn("Warning: chart.gridLine.style options: `solid`, `dash`, `dot`."),delete f.style),f.cap&&!["flat","square","round"].includes(f.cap)&&(console.warn("Warning: chart.gridLine.cap options: `flat`, `square`, `round`."),delete f.cap))}var a=++k3e,s={_type:null,text:null,options:null,chartRid:null},l=null,c=[];Array.isArray(t)?(t.forEach(function(f){c=c.concat(f.data)}),l=n||r):(c=n,l=r),c.forEach(function(f,d){f._dataIndex=d,f.labels!==void 0&&!Array.isArray(f.labels[0])&&(f.labels=[f.labels])});var u=l&&typeof l=="object"?l:{};return u._type=t,u.x=typeof u.x<"u"&&u.x!=null&&!isNaN(Number(u.x))?u.x:1,u.y=typeof u.y<"u"&&u.y!=null&&!isNaN(Number(u.y))?u.y:1,u.w=u.w||"50%",u.h=u.h||"50%",u.objectName=u.objectName?Dt(u.objectName):"Chart ".concat(e._slideObjects.filter(function(f){return f._type===Kt.chart}).length),["bar","col"].includes(u.barDir||"")||(u.barDir="col"),u._type===lt.AREA&&(["stacked","standard","percentStacked"].includes(u.barGrouping||"")||(u.barGrouping="standard")),u._type===lt.BAR&&(["clustered","stacked","percentStacked"].includes(u.barGrouping||"")||(u.barGrouping="clustered")),u._type===lt.BAR3D&&(["clustered","stacked","standard","percentStacked"].includes(u.barGrouping||"")||(u.barGrouping="standard")),!((o=u.barGrouping)===null||o===void 0)&&o.includes("tacked")&&(u.barGapWidthPct||(u.barGapWidthPct=50)),u.dataLabelPosition&&((u._type===lt.AREA||u._type===lt.BAR3D||u._type===lt.DOUGHNUT||u._type===lt.RADAR)&&delete u.dataLabelPosition,u._type===lt.PIE&&(["bestFit","ctr","inEnd","outEnd"].includes(u.dataLabelPosition)||delete u.dataLabelPosition),(u._type===lt.BUBBLE||u._type===lt.BUBBLE3D||u._type===lt.LINE||u._type===lt.SCATTER)&&(["b","ctr","l","r","t"].includes(u.dataLabelPosition)||delete u.dataLabelPosition),u._type===lt.BAR&&(["stacked","percentStacked"].includes(u.barGrouping||"")||["ctr","inBase","inEnd"].includes(u.dataLabelPosition)||delete u.dataLabelPosition,["clustered"].includes(u.barGrouping||"")||["ctr","inBase","inEnd","outEnd"].includes(u.dataLabelPosition)||delete u.dataLabelPosition)),u.dataLabelBkgrdColors=u.dataLabelBkgrdColors||!u.dataLabelBkgrdColors?u.dataLabelBkgrdColors:!1,["b","l","r","t","tr"].includes(u.legendPos||"")||(u.legendPos="r"),["cone","coneToMax","box","cylinder","pyramid","pyramidToMax"].includes(u.bar3DShape||"")||(u.bar3DShape="box"),["circle","dash","diamond","dot","none","square","triangle"].includes(u.lineDataSymbol||"")||(u.lineDataSymbol="circle"),["gap","span"].includes(u.displayBlanksAs||"")||(u.displayBlanksAs="span"),["standard","marker","filled"].includes(u.radarStyle||"")||(u.radarStyle="standard"),u.lineDataSymbolSize=u.lineDataSymbolSize&&!isNaN(u.lineDataSymbolSize)?u.lineDataSymbolSize:6,u.lineDataSymbolLineSize=u.lineDataSymbolLineSize&&!isNaN(u.lineDataSymbolLineSize)?Ct(u.lineDataSymbolLineSize):Ct(.75),u.layout&&["x","y","w","h"].forEach(function(f){var d=u.layout[f];(isNaN(Number(d))||d<0||d>1)&&(console.warn("Warning: chart.layout."+f+" can only be 0-1"),delete u.layout[f])}),u.catGridLine=u.catGridLine||(u._type===lt.SCATTER?{color:"D9D9D9",size:1}:{style:"none"}),u.valGridLine=u.valGridLine||(u._type===lt.SCATTER?{color:"D9D9D9",size:1}:{}),u.serGridLine=u.serGridLine||(u._type===lt.SCATTER?{color:"D9D9D9",size:1}:{style:"none"}),i(u.catGridLine),i(u.valGridLine),i(u.serGridLine),K5(u.shadow),u.showDataTable=u.showDataTable||!u.showDataTable?u.showDataTable:!1,u.showDataTableHorzBorder=u.showDataTableHorzBorder||!u.showDataTableHorzBorder?u.showDataTableHorzBorder:!0,u.showDataTableVertBorder=u.showDataTableVertBorder||!u.showDataTableVertBorder?u.showDataTableVertBorder:!0,u.showDataTableOutline=u.showDataTableOutline||!u.showDataTableOutline?u.showDataTableOutline:!0,u.showDataTableKeys=u.showDataTableKeys||!u.showDataTableKeys?u.showDataTableKeys:!0,u.showLabel=u.showLabel||!u.showLabel?u.showLabel:!1,u.showLegend=u.showLegend||!u.showLegend?u.showLegend:!1,u.showPercent=u.showPercent||!u.showPercent?u.showPercent:!0,u.showTitle=u.showTitle||!u.showTitle?u.showTitle:!1,u.showValue=u.showValue||!u.showValue?u.showValue:!1,u.showLeaderLines=u.showLeaderLines||!u.showLeaderLines?u.showLeaderLines:!1,u.catAxisLineShow=typeof u.catAxisLineShow<"u"?u.catAxisLineShow:!0,u.valAxisLineShow=typeof u.valAxisLineShow<"u"?u.valAxisLineShow:!0,u.serAxisLineShow=typeof u.serAxisLineShow<"u"?u.serAxisLineShow:!0,u.v3DRotX=!isNaN(u.v3DRotX)&&u.v3DRotX>=-90&&u.v3DRotX<=90?u.v3DRotX:30,u.v3DRotY=!isNaN(u.v3DRotY)&&u.v3DRotY>=0&&u.v3DRotY<=360?u.v3DRotY:30,u.v3DRAngAx=u.v3DRAngAx||!u.v3DRAngAx?u.v3DRAngAx:!0,u.v3DPerspective=!isNaN(u.v3DPerspective)&&u.v3DPerspective>=0&&u.v3DPerspective<=240?u.v3DPerspective:30,u.barGapWidthPct=!isNaN(u.barGapWidthPct)&&u.barGapWidthPct>=0&&u.barGapWidthPct<=1e3?u.barGapWidthPct:150,u.barGapDepthPct=!isNaN(u.barGapDepthPct)&&u.barGapDepthPct>=0&&u.barGapDepthPct<=1e3?u.barGapDepthPct:150,u.chartColors=Array.isArray(u.chartColors)?u.chartColors:u._type===lt.PIE||u._type===lt.DOUGHNUT?M3e:uh,u.chartColorsOpacity=u.chartColorsOpacity&&!isNaN(u.chartColorsOpacity)?u.chartColorsOpacity:null,u.border=u.border&&typeof u.border=="object"?u.border:null,u.border&&(!u.border.pt||isNaN(u.border.pt))&&(u.border.pt=Ff.pt),u.border&&(!u.border.color||typeof u.border.color!="string")&&(u.border.color=Ff.color),u.plotArea=u.plotArea||{},u.plotArea.border=u.plotArea.border&&typeof u.plotArea.border=="object"?u.plotArea.border:null,u.plotArea.border&&(!u.plotArea.border.pt||isNaN(u.plotArea.border.pt))&&(u.plotArea.border.pt=Ff.pt),u.plotArea.border&&(!u.plotArea.border.color||typeof u.plotArea.border.color!="string")&&(u.plotArea.border.color=Ff.color),u.border&&(u.plotArea.border=u.border),u.plotArea.fill=u.plotArea.fill||{color:null,transparency:null},u.fill&&(u.plotArea.fill.color=u.fill),u.chartArea=u.chartArea||{},u.chartArea.border=u.chartArea.border&&typeof u.chartArea.border=="object"?u.chartArea.border:null,u.chartArea.border&&(u.chartArea.border={color:u.chartArea.border.color||Ff.color,pt:u.chartArea.border.pt||Ff.pt}),u.chartArea.roundedCorners=typeof u.chartArea.roundedCorners=="boolean"?u.chartArea.roundedCorners:!0,u.dataBorder=u.dataBorder&&typeof u.dataBorder=="object"?u.dataBorder:null,u.dataBorder&&(!u.dataBorder.pt||isNaN(u.dataBorder.pt))&&(u.dataBorder.pt=.75),u.dataBorder&&(!u.dataBorder.color||typeof u.dataBorder.color!="string"||u.dataBorder.color.length!==6)&&(u.dataBorder.color="F9F9F9"),!u.dataLabelFormatCode&&u._type===lt.SCATTER&&(u.dataLabelFormatCode="General"),!u.dataLabelFormatCode&&(u._type===lt.PIE||u._type===lt.DOUGHNUT)&&(u.dataLabelFormatCode=u.showPercent?"0%":"General"),u.dataLabelFormatCode=u.dataLabelFormatCode&&typeof u.dataLabelFormatCode=="string"?u.dataLabelFormatCode:"#,##0",!u.dataLabelFormatScatter&&u._type===lt.SCATTER&&(u.dataLabelFormatScatter="custom"),u.lineSize=typeof u.lineSize=="number"?u.lineSize:2,u.valAxisMajorUnit=typeof u.valAxisMajorUnit=="number"?u.valAxisMajorUnit:null,u._type===lt.AREA||u._type===lt.BAR||u._type===lt.BAR3D||u._type===lt.LINE?u.catAxisMultiLevelLabels=!!u.catAxisMultiLevelLabels:delete u.catAxisMultiLevelLabels,s._type="chart",s.options=u,s.chartRid=$s(e),e._relsChart.push({rId:$s(e),data:c,opts:u,type:u._type,globalId:a,fileName:"chart".concat(a,".xml"),Target:"/ppt/charts/chart".concat(a,".xml")}),e._slideObjects.push(s),s}function vE(e,t){var n={_type:null,text:null,options:null,image:null,imageRid:null,hyperlink:null},r=t.x||0,o=t.y||0,i=t.w||0,a=t.h||0,s=t.sizing||null,l=t.hyperlink||"",c=t.data||"",u=t.path||"",f=$s(e),d=t.objectName?Dt(t.objectName):"Image ".concat(e._slideObjects.filter(function(v){return v._type===Kt.image}).length);if(!u&&!c)return console.error("ERROR: addImage() requires either 'data' or 'path' parameter!"),null;if(u&&typeof u!="string")return console.error("ERROR: addImage() 'path' should be a string, ex: {path:'/img/sample.png'} - you sent ".concat(String(u))),null;if(c&&typeof c!="string")return console.error("ERROR: addImage() 'data' should be a string, ex: {data:'image/png;base64,NMP[...]'} - you sent ".concat(String(c))),null;if(c&&typeof c=="string"&&!c.toLowerCase().includes("base64,"))return console.error("ERROR: Image `data` value lacks a base64 header! Ex: 'image/png;base64,NMP[...]')"),null;var h=(u.substring(u.lastIndexOf("/")+1).split("?")[0].split(".").pop().split("#")[0]||"png").toLowerCase();if(c&&/image\/(\w+);/.exec(c)&&/image\/(\w+);/.exec(c).length>0?h=/image\/(\w+);/.exec(c)[1]:c!=null&&c.toLowerCase().includes("image/svg+xml")&&(h="svg"),n._type=Kt.image,n.image=u||"preencoded.png",n.options={x:r||0,y:o||0,w:i||1,h:a||1,altText:t.altText||"",rounding:typeof t.rounding=="boolean"?t.rounding:!1,sizing:s,placeholder:t.placeholder,rotate:t.rotate||0,flipV:t.flipV||!1,flipH:t.flipH||!1,transparency:t.transparency||0,objectName:d,shadow:K5(t.shadow)},h==="svg")e._relsMedia.push({path:u||c+"png",type:"image/png",extn:"png",data:c||"",rId:f,Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png"),isSvgPng:!0,svgSize:{w:en(n.options.w,"X",e._presLayout),h:en(n.options.h,"Y",e._presLayout)}}),n.imageRid=f,e._relsMedia.push({path:u||c,type:"image/svg+xml",extn:h,data:c||"",rId:f+1,Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".").concat(h)}),n.imageRid=f+1;else{var p=e._relsMedia.filter(function(v){return v.path&&v.path===u&&v.type==="image/"+h&&!v.isDuplicate})[0];e._relsMedia.push({path:u||"preencoded."+h,type:"image/"+h,extn:h,data:c||"",rId:f,isDuplicate:!!(p!=null&&p.Target),Target:p!=null&&p.Target?p.Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".").concat(h)}),n.imageRid=f}if(typeof l=="object"){if(!l.url&&!l.slide)throw new Error("ERROR: `hyperlink` option requires either: `url` or `slide`");f++,e._rels.push({type:Kt.hyperlink,data:l.slide?"slide":"dummy",rId:f,Target:l.url||l.slide.toString()}),l._rId=f,n.hyperlink=l}e._slideObjects.push(n)}function P3e(e,t){var n=t.x||0,r=t.y||0,o=t.w||2,i=t.h||2,a=t.data||"",s=t.link||"",l=t.path||"",c=t.type||"audio",u="",f=t.cover||w3e,d=t.objectName?Dt(t.objectName):"Media ".concat(e._slideObjects.filter(function(m){return m._type===Kt.media}).length),h={_type:Kt.media};if(!l&&!a&&c!=="online")throw new Error("addMedia() error: either `data` or `path` are required!");if(a&&!a.toLowerCase().includes("base64,"))throw new Error("addMedia() error: `data` value lacks a base64 header! Ex: 'video/mpeg;base64,NMP[...]')");if(f&&!f.toLowerCase().includes("base64,"))throw new Error("addMedia() error: `cover` value lacks a base64 header! Ex: 'data:image/png;base64,iV[...]')");if(c==="online"&&!s)throw new Error("addMedia() error: online videos require `link` value");if(u=t.extn||(a?a.split(";")[0].split("/")[1]:l.split(".").pop())||"mp3",h.mtype=c,h.media=l||"preencoded.mov",h.options={},h.options.x=n,h.options.y=r,h.options.w=o,h.options.h=i,h.options.objectName=d,c==="online"){var p=$s(e);e._relsMedia.push({path:l||"preencoded"+u,data:"dummy",type:"online",extn:u,rId:p,Target:s}),h.mediaRid=p,e._relsMedia.push({path:"preencoded.png",data:f,type:"image/png",extn:"png",rId:$s(e),Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png")})}else{var v=e._relsMedia.filter(function(x){return x.path&&x.path===l&&x.type===c+"/"+u&&!x.isDuplicate})[0],p=$s(e);e._relsMedia.push({path:l||"preencoded"+u,type:c+"/"+u,extn:u,data:a||"",rId:p,isDuplicate:!!(v!=null&&v.Target),Target:v!=null&&v.Target?v.Target:"../media/media-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".").concat(u)}),h.mediaRid=p,e._relsMedia.push({path:l||"preencoded"+u,type:c+"/"+u,extn:u,data:a||"",rId:$s(e),isDuplicate:!!(v!=null&&v.Target),Target:v!=null&&v.Target?v.Target:"../media/media-".concat(e._slideNum,"-").concat(e._relsMedia.length+0,".").concat(u)}),e._relsMedia.push({path:"preencoded.png",type:"image/png",extn:"png",data:f,rId:$s(e),Target:"../media/image-".concat(e._slideNum,"-").concat(e._relsMedia.length+1,".png")})}e._slideObjects.push(h)}function C3e(e,t){e._slideObjects.push({_type:Kt.notes,text:[{text:t}]})}function Xb(e,t,n){var r=typeof n=="object"?n:{};r.line=r.line||{type:"none"};var o={_type:Kt.text,shape:t||xc.RECTANGLE,options:r,text:null};if(!t)throw new Error("Missing/Invalid shape parameter! Example: `addShape(pptxgen.shapes.LINE, {x:1, y:1, w:1, h:1});`");var i={type:r.line.type||"solid",color:r.line.color||uE,transparency:r.line.transparency||0,width:r.line.width||1,dashType:r.line.dashType||"solid",beginArrowType:r.line.beginArrowType||null,endArrowType:r.line.endArrowType||null};if(typeof r.line=="object"&&r.line.type!=="none"&&(r.line=i),r.x=r.x||(r.x===0?0:1),r.y=r.y||(r.y===0?0:1),r.w=r.w||(r.w===0?0:1),r.h=r.h||(r.h===0?0:1),r.objectName=r.objectName?Dt(r.objectName):"Shape ".concat(e._slideObjects.filter(function(s){return s._type===Kt.text}).length),typeof r.line=="string"){var a=i;a.color=String(r.line),r.line=a}typeof r.lineSize=="number"&&(r.line.width=r.lineSize),typeof r.lineDash=="string"&&(r.line.dashType=r.lineDash),typeof r.lineHead=="string"&&(r.line.beginArrowType=r.lineHead),typeof r.lineTail=="string"&&(r.line.endArrowType=r.lineTail),Qd(e,o),e._slideObjects.push(o)}function I3e(e,t,n,r,o,i,a){var s=[e],l=n&&typeof n=="object"?n:{};l.objectName=l.objectName?Dt(l.objectName):"Table ".concat(e._slideObjects.filter(function(h){return h._type===Kt.table}).length);{if(t===null||t.length===0||!Array.isArray(t))throw new Error("addTable: Array expected! EX: 'slide.addTable( [rows], {options} );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)");if(!t[0]||!Array.isArray(t[0]))throw new Error("addTable: 'rows' should be an array of cells! EX: 'slide.addTable( [ ['A'], ['B'], {text:'C',options:{align:'center'}} ] );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)")}var c=[];t.forEach(function(h){var p=[];Array.isArray(h)?h.forEach(function(v){var m={_type:Kt.tablecell,text:"",options:typeof v=="object"&&v.options?v.options:{}};typeof v=="string"||typeof v=="number"?m.text=v.toString():v.text&&(typeof v.text=="string"||typeof v.text=="number"?m.text=v.text.toString():v.text&&(m.text=v.text),v.options&&typeof v.options=="object"&&(m.options=v.options)),m.options.border=m.options.border||l.border||[{type:"none"},{type:"none"},{type:"none"},{type:"none"}];var x=m.options.border;!Array.isArray(x)&&typeof x=="object"&&(m.options.border=[x,x,x,x]),m.options.border[0]||(m.options.border[0]={type:"none"}),m.options.border[1]||(m.options.border[1]={type:"none"}),m.options.border[2]||(m.options.border[2]={type:"none"}),m.options.border[3]||(m.options.border[3]={type:"none"});var y=[0,1,2,3];y.forEach(function(R){m.options.border[R]={type:m.options.border[R].type||If.type,color:m.options.border[R].color||If.color,pt:typeof m.options.border[R].pt=="number"?m.options.border[R].pt:If.pt}}),p.push(m)}):(console.log("addTable: tableRows has a bad row. A row should be an array of cells. You provided:"),console.log(h)),c.push(p)}),l.x=en(l.x||(l.x===0?0:Bt/2),"X",o),l.y=en(l.y||(l.y===0?0:Bt/2),"Y",o),l.h&&(l.h=en(l.h,"Y",o)),l.fontSize=l.fontSize||qi,l.margin=l.margin===0||l.margin?l.margin:cE,typeof l.margin=="number"&&(l.margin=[Number(l.margin),Number(l.margin),Number(l.margin),Number(l.margin)]),l.color||(l.color=l.color||ti),typeof l.border=="string"?(console.warn("addTable `border` option must be an object. Ex: `{border: {type:'none'}}`"),l.border=null):Array.isArray(l.border)&&[0,1,2,3].forEach(function(h){l.border[h]=l.border[h]?{type:l.border[h].type||If.type,color:l.border[h].color||If.color,pt:l.border[h].pt||If.pt}:{type:"none"}}),l.autoPage=typeof l.autoPage=="boolean"?l.autoPage:!1,l.autoPageRepeatHeader=typeof l.autoPageRepeatHeader=="boolean"?l.autoPageRepeatHeader:!1,l.autoPageHeaderRows=typeof l.autoPageHeaderRows<"u"&&!isNaN(Number(l.autoPageHeaderRows))?Number(l.autoPageHeaderRows):1,l.autoPageLineWeight=typeof l.autoPageLineWeight<"u"&&!isNaN(Number(l.autoPageLineWeight))?Number(l.autoPageLineWeight):0,l.autoPageLineWeight&&(l.autoPageLineWeight>1?l.autoPageLineWeight=1:l.autoPageLineWeight<-1&&(l.autoPageLineWeight=-1));var u=mp;if(r&&typeof r._margin<"u"&&(Array.isArray(r._margin)?u=r._margin:isNaN(Number(r._margin))||(u=[Number(r._margin),Number(r._margin),Number(r._margin),Number(r._margin)])),l.colW){var f=c[0].reduce(function(h,p){var v;return!((v=p==null?void 0:p.options)===null||v===void 0)&&v.colspan&&typeof p.options.colspan=="number"?h+=p.options.colspan:h+=1,h},0);typeof l.colW=="string"||typeof l.colW=="number"||l.colW&&Array.isArray(l.colW)&&l.colW.length===1&&f>1?(l.w=Math.floor(Number(l.colW)*f),l.colW=null):l.colW&&Array.isArray(l.colW)&&l.colW.length!==f&&(console.warn("addTable: mismatch: (colW.length != data.length) Therefore, defaulting to evenly distributed col widths."),l.colW=null)}else l.w?l.w=en(l.w,"X",o):l.w=Math.floor(o._sizeW/Bt-u[1]-u[3]);l.x&&l.x<20&&(l.x=fn(l.x)),l.y&&l.y<20&&(l.y=fn(l.y)),l.w&&l.w<20&&(l.w=fn(l.w)),l.h&&l.h<20&&(l.h=fn(l.h)),c.forEach(function(h){h.forEach(function(p,v){typeof p=="number"||typeof p=="string"?h[v]={_type:Kt.tablecell,text:String(h[v]),options:l}:typeof p=="object"&&(typeof p.text=="number"?h[v].text=h[v].text.toString():(typeof p.text>"u"||p.text===null)&&(h[v].text=""),h[v].options=p.options||{},h[v]._type=Kt.tablecell)})});var d=[];return l&&!l.autoPage?(Qd(e,c),e._slideObjects.push({_type:Kt.table,arrTabRows:c,options:Object.assign({},l)})):(l.autoPageRepeatHeader&&(l._arrObjTabHeadRows=c.filter(function(h,p){return p<l.autoPageHeaderRows})),hE(c,l,o,r).forEach(function(h,p){a(e._slideNum+p)||s.push(i({masterName:(r==null?void 0:r._name)||null})),p>0&&(l.y=fn(l.autoPageSlideStartY||l.newSlideStartY||u[0]));{var v=a(e._slideNum+p);l.autoPage=!1,Qd(v,h.rows),v.addTable(h.rows,Object.assign({},l)),p>0&&d.push(v)}})),d}function Tm(e,t,n,r){var o={_type:r?Kt.placeholder:Kt.text,shape:(n==null?void 0:n.shape)||xc.RECTANGLE,text:!t||t.length===0?[{text:"",options:null}]:t,options:n||{}};function i(a){{if(a.placeholder||(a.color=a.color||o.options.color||e.color||ti),(a.placeholder||r)&&(a.bullet=a.bullet||!1),a.placeholder&&e._slideLayout&&e._slideLayout._slideObjects){var s=e._slideLayout._slideObjects.filter(function(u){return u._type==="placeholder"&&u.options&&u.options.placeholder&&u.options.placeholder===a.placeholder})[0];s!=null&&s.options&&(a=Or(Or({},a),s.options))}if(a.objectName=a.objectName?Dt(a.objectName):"Text ".concat(e._slideObjects.filter(function(u){return u._type===Kt.text}).length),a.shape===xc.LINE){var l={type:a.line.type||"solid",color:a.line.color||uE,transparency:a.line.transparency||0,width:a.line.width||1,dashType:a.line.dashType||"solid",beginArrowType:a.line.beginArrowType||null,endArrowType:a.line.endArrowType||null};if(typeof a.line=="object"&&(a.line=l),typeof a.line=="string"){var c=l;typeof a.line=="string"&&(c.color=a.line),a.line=c}typeof a.lineSize=="number"&&(a.line.width=a.lineSize),typeof a.lineDash=="string"&&(a.line.dashType=a.lineDash),typeof a.lineHead=="string"&&(a.line.beginArrowType=a.lineHead),typeof a.lineTail=="string"&&(a.line.endArrowType=a.lineTail)}a.line=a.line||{},a.lineSpacing=a.lineSpacing&&!isNaN(a.lineSpacing)?a.lineSpacing:null,a.lineSpacingMultiple=a.lineSpacingMultiple&&!isNaN(a.lineSpacingMultiple)?a.lineSpacingMultiple:null,a._bodyProp=a._bodyProp||{},a._bodyProp.autoFit=a.autoFit||!1,a._bodyProp.anchor=a.placeholder?null:rd.ctr,a._bodyProp.vert=a.vert||null,a._bodyProp.wrap=typeof a.wrap=="boolean"?a.wrap:!0,(a.inset&&!isNaN(Number(a.inset))||a.inset===0)&&(a._bodyProp.lIns=fn(a.inset),a._bodyProp.rIns=fn(a.inset),a._bodyProp.tIns=fn(a.inset),a._bodyProp.bIns=fn(a.inset)),typeof a.underline=="boolean"&&a.underline===!0&&(a.underline={style:"sng"})}return(a.align||"").toLowerCase().indexOf("c")===0?a._bodyProp.align=nd.center:(a.align||"").toLowerCase().indexOf("l")===0?a._bodyProp.align=nd.left:(a.align||"").toLowerCase().indexOf("r")===0?a._bodyProp.align=nd.right:(a.align||"").toLowerCase().indexOf("j")===0&&(a._bodyProp.align=nd.justify),(a.valign||"").toLowerCase().indexOf("b")===0?a._bodyProp.anchor=rd.b:(a.valign||"").toLowerCase().indexOf("m")===0?a._bodyProp.anchor=rd.ctr:(a.valign||"").toLowerCase().indexOf("t")===0&&(a._bodyProp.anchor=rd.t),K5(a.shadow),a}o.options=i(o.options),o.text.forEach(function(a){return a.options=i(a.options||{})}),Qd(e,o.text||""),e._slideObjects.push(o)}function F3e(e){(e._slideLayout._slideObjects||[]).forEach(function(t){t._type===Kt.placeholder&&e._slideObjects.filter(function(n){return n.options&&n.options.placeholder===t.options.placeholder}).length===0&&Tm(e,[{text:""}],t.options,!1)})}function gE(e,t){var n;if(t.bkgd&&(t.background||(t.background={}),typeof t.bkgd=="string"?t.background.color=t.bkgd:(t.bkgd.data&&(t.background.data=t.bkgd.data),t.bkgd.path&&(t.background.path=t.bkgd.path),t.bkgd.src&&(t.background.path=t.bkgd.src))),!((n=t.background)===null||n===void 0)&&n.fill&&(t.background.color=t.background.fill),e&&(e.path||e.data)){e.path=e.path||"preencoded.png";var r=(e.path.split(".").pop()||"png").split("?")[0];r==="jpg"&&(r="jpeg"),t._relsMedia=t._relsMedia||[];var o=t._relsMedia.length+1;t._relsMedia.push({path:e.path,type:Kt.image,extn:r,data:e.data||null,rId:o,Target:"../media/".concat((t._name||"").replace(/\s+/gi,"-"),"-image-").concat(t._relsMedia.length+1,".").concat(r)}),t._bkgdImgRid=o}}function Qd(e,t){var n=[];typeof t=="string"||typeof t=="number"||(Array.isArray(t)?n=t:typeof t=="object"&&(n=[t]),n.forEach(function(r){if(Array.isArray(r))Qd(e,r);else if(Array.isArray(r.text))Qd(e,r.text);else if(r&&typeof r=="object"&&r.options&&r.options.hyperlink&&!r.options.hyperlink._rId)if(typeof r.options.hyperlink!="object")console.log("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink: {url:'https://github.com'}` ");else if(!r.options.hyperlink.url&&!r.options.hyperlink.slide)console.log("ERROR: 'hyperlink requires either: `url` or `slide`'");else{var o=$s(e);e._rels.push({type:Kt.hyperlink,data:r.options.hyperlink.slide?"slide":"dummy",rId:o,Target:Dt(r.options.hyperlink.url)||r.options.hyperlink.slide.toString()}),r.options.hyperlink._rId=o}}))}var _3e=function(){function e(t){var n;this.addSlide=t.addSlide,this.getSlide=t.getSlide,this._name="Slide ".concat(t.slideNumber),this._presLayout=t.presLayout,this._rId=t.slideRId,this._rels=[],this._relsChart=[],this._relsMedia=[],this._setSlideNum=t.setSlideNum,this._slideId=t.slideId,this._slideLayout=t.slideLayout||null,this._slideNum=t.slideNumber,this._slideObjects=[],this._slideNumberProps=!((n=this._slideLayout)===null||n===void 0)&&n._slideNumberProps?this._slideLayout._slideNumberProps:null}return Object.defineProperty(e.prototype,"bkgd",{get:function(){return this._bkgd},set:function(t){this._bkgd=t,(!this._background||!this._background.color)&&(this._background||(this._background={}),typeof t=="string"&&(this._background.color=t))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"background",{get:function(){return this._background},set:function(t){this._background=t,t&&gE(t,this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden},set:function(t){this._hidden=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slideNumber",{get:function(){return this._slideNumberProps},set:function(t){this._slideNumberProps=t,this._setSlideNum(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"newAutoPagedSlides",{get:function(){return this._newAutoPagedSlides},enumerable:!1,configurable:!0}),e.prototype.addChart=function(t,n,r){var o=r||{};return o._type=t,pE(this,t,n,r),this},e.prototype.addImage=function(t){return vE(this,t),this},e.prototype.addMedia=function(t){return P3e(this,t),this},e.prototype.addNotes=function(t){return C3e(this,t),this},e.prototype.addShape=function(t,n){return Xb(this,t,n),this},e.prototype.addTable=function(t,n){return this._newAutoPagedSlides=I3e(this,t,n,this._slideLayout,this._presLayout,this.addSlide,this.getSlide),this},e.prototype.addText=function(t,n){var r=typeof t=="string"||typeof t=="number"?[{text:t,options:n}]:t;return Tm(this,r,n,!1),this},e}();function E3e(e,t){return $a(this,void 0,void 0,function(){var n;return ja(this,function(r){switch(r.label){case 0:return n=e.data,[4,new Promise(function(o,i){var a,s,l=new lE,c=(n.length-1)*2+1,u=((s=(a=n[0])===null||a===void 0?void 0:a.labels)===null||s===void 0?void 0:s.length)>1;l.folder("_rels"),l.folder("docProps"),l.folder("xl/_rels"),l.folder("xl/tables"),l.folder("xl/theme"),l.folder("xl/worksheets"),l.folder("xl/worksheets/_rels"),l.file("[Content_Types].xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/> <Default Extension="xml" ContentType="application/xml"/> <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/> <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/> <Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/> <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/> <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/> <Override PartName="/xl/tables/table1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"/> <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/> <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
|
||
`),l.file("_rels/.rels",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>
|
||
`),l.file("docProps/app.xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>
|
||
`),l.file("docProps/core.xml",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>PptxGenJS</dc:creator><cp:lastModifiedBy>PptxGenJS</cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">'+new Date().toISOString()+'</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">'+new Date().toISOString()+"</dcterms:modified></cp:coreProperties>"),l.file("xl/_rels/workbook.xml.rels",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>'),l.file("xl/styles.xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><numFmts count="1"><numFmt numFmtId="0" formatCode="General"/></numFmts><fonts count="4"><font><sz val="9"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="9"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="10"/><color indexed="8"/><name val="Geneva"/></font><font><sz val="18"/><color indexed="8"/><name val="Arial"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><dxfs count="0"/><tableStyles count="0"/><colors><indexedColors><rgbColor rgb="ff000000"/><rgbColor rgb="ffffffff"/><rgbColor rgb="ffff0000"/><rgbColor rgb="ff00ff00"/><rgbColor rgb="ff0000ff"/><rgbColor rgb="ffffff00"/><rgbColor rgb="ffff00ff"/><rgbColor rgb="ff00ffff"/><rgbColor rgb="ff000000"/><rgbColor rgb="ffffffff"/><rgbColor rgb="ff878787"/><rgbColor rgb="fff9f9f9"/></indexedColors></colors></styleSheet>
|
||
`),l.file("xl/theme/theme1.xml",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Calibri Light" panose="020F0302020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="Yu Gothic Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="DengXian Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:majorFont><a:minorFont><a:latin typeface="Calibri" panose="020F0502020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="Yu Gothic"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="DengXian"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>'),l.file("xl/workbook.xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><fileVersion appName="xl" lastEdited="7" lowestEdited="6" rupBuild="10507"/><workbookPr/><bookViews><workbookView xWindow="0" yWindow="500" windowWidth="20960" windowHeight="15960"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="0" concurrentCalc="0"/></workbook>
|
||
`),l.file("xl/worksheets/_rels/sheet1.xml.rels",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" Target="../tables/table1.xml"/></Relationships>
|
||
`);{var f='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';if(e.opts._type===lt.BUBBLE||e.opts._type===lt.BUBBLE3D)f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(c,'" uniqueCount="').concat(c,'">');else if(e.opts._type===lt.SCATTER)f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(n.length,'" uniqueCount="').concat(n.length,'">');else if(u){var d=n.length;n[0].labels.forEach(function(T){return d+=T.filter(function(w){return w&&w!==""}).length}),f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(d,'" uniqueCount="').concat(d,'">'),f+="<si><t/></si>"}else{var h=n.length+n[0].labels.length*n[0].labels[0].length+n[0].labels.length,p=n.length+n[0].labels.length*n[0].labels[0].length+1;f+='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'.concat(h,'" uniqueCount="').concat(p,'">'),f+='<si><t xml:space="preserve"></t></si>'}e.opts._type===lt.BUBBLE||e.opts._type===lt.BUBBLE3D?n.forEach(function(T,w){w===0?f+="<si><t>X-Axis</t></si>":(f+="<si><t>".concat(Dt(T.name||"Y-Axis".concat(w)),"</t></si>"),f+="<si><t>".concat(Dt("Size".concat(w)),"</t></si>"))}):n.forEach(function(T){f+="<si><t>".concat(Dt((T.name||" ").replace("X-Axis","X-Values")),"</t></si>")}),e.opts._type!==lt.BUBBLE&&e.opts._type!==lt.BUBBLE3D&&e.opts._type!==lt.SCATTER&&n[0].labels.slice().reverse().forEach(function(T){T.filter(function(w){return w&&w!==""}).forEach(function(w){f+="<si><t>".concat(Dt(w),"</t></si>")})}),f+=`</sst>
|
||
`,l.file("xl/sharedStrings.xml",f)}{var v='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';if(e.opts._type===lt.BUBBLE||e.opts._type===lt.BUBBLE3D){v+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Nn(c)).concat(c,'" totalsRowShown="0">'),v+='<tableColumns count="'.concat(c,'">');var m=1;n.forEach(function(T,w){w===0?v+='<tableColumn id="'.concat(w+1,'" name="X-Values"/>'):(v+='<tableColumn id="'.concat(w+m,'" name="').concat(T.name,'"/>'),m++,v+='<tableColumn id="'.concat(w+m,'" name="Size').concat(w,'"/>'))})}else e.opts._type===lt.SCATTER?(v+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Nn(n.length)).concat(n[0].values.length+1,'" totalsRowShown="0">'),v+='<tableColumns count="'.concat(n.length,'">'),n.forEach(function(T,w){v+='<tableColumn id="'.concat(w+1,'" name="').concat(w===0?"X-Values":"Y-Value ").concat(w,'"/>')})):(v+='<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:'.concat(Nn(n.length+n[0].labels.length)).concat(n[0].labels[0].length+1,`'" totalsRowShown="0">`),v+='<tableColumns count="'.concat(n.length+n[0].labels.length,'">'),n[0].labels.forEach(function(T,w){v+='<tableColumn id="'.concat(w+1,'" name="Column').concat(w+1,'"/>')}),n.forEach(function(T,w){v+='<tableColumn id="'.concat(w+n[0].labels.length+1,'" name="').concat(Dt(T.name),'"/>')}));v+="</tableColumns>",v+='<tableStyleInfo showFirstColumn="0" showLastColumn="0" showRowStripes="1" showColumnStripes="0"/>',v+="</table>",l.file("xl/tables/table1.xml",v)}{var x='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';if(x+='<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">',e.opts._type===lt.BUBBLE||e.opts._type===lt.BUBBLE3D?x+='<dimension ref="A1:'.concat(Nn(c)).concat(n[0].values.length+1,'"/>'):e.opts._type===lt.SCATTER?x+='<dimension ref="A1:'.concat(Nn(n.length)).concat(n[0].values.length+1,'"/>'):x+='<dimension ref="A1:'.concat(Nn(n.length+1)).concat(n[0].values.length+1,'"/>'),x+='<sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="B1" sqref="B1"/></sheetView></sheetViews>',x+='<sheetFormatPr baseColWidth="10" defaultRowHeight="16"/>',e.opts._type===lt.BUBBLE||e.opts._type===lt.BUBBLE3D){x+="<sheetData>",x+='<row r="1" spans="1:'.concat(c,'">'),x+='<c r="A1" t="s"><v>0</v></c>';for(var y=1;y<c;y++)x+='<c r="'.concat(Nn(y+1),'1" t="s"><v>').concat(y,"</v></c>");x+="</row>",n[0].values.forEach(function(T,w){x+='<row r="'.concat(w+2,'" spans="1:').concat(c,'">'),x+='<c r="A'.concat(w+2,'"><v>').concat(T,"</v></c>");for(var L=2,k=1;k<n.length;k++)x+='<c r="'.concat(Nn(L)).concat(w+2,'"><v>').concat(n[k].values[w]||"","</v></c>"),L++,x+='<c r="'.concat(Nn(L)).concat(w+2,'"><v>').concat(n[k].sizes[w]||"","</v></c>"),L++;x+="</row>"})}else if(e.opts._type===lt.SCATTER){x+="<sheetData>",x+='<row r="1" spans="1:'.concat(n.length,'">');for(var y=0;y<n.length;y++)x+='<c r="'.concat(Nn(y+1),'1" t="s"><v>').concat(y,"</v></c>");x+="</row>",n[0].values.forEach(function(T,w){x+='<row r="'.concat(w+2,'" spans="1:').concat(n.length,'">'),x+='<c r="A'.concat(w+2,'"><v>').concat(T,"</v></c>");for(var L=1;L<n.length;L++)x+='<c r="'.concat(Nn(L+1)).concat(w+2,'"><v>').concat(n[L].values[w]||n[L].values[w]===0?n[L].values[w]:"","</v></c>");x+="</row>"})}else if(x+="<sheetData>",u){x+='<row r="1" spans="1:'.concat(n.length+n[0].labels.length,'">');for(var y=0;y<n[0].labels.length;y++)x+='<c r="'.concat(Nn(y+1),'1" t="s"><v>0</v></c>');for(var y=n[0].labels.length-1;y<n.length+n[0].labels.length-1;y++)x+='<c r="'.concat(Nn(y+n[0].labels.length),'1" t="s"><v>').concat(y,"</v></c>");x+="</row>";for(var R=n.length,A=n[0].labels[0].length,b=n[0].labels.length,M=function(T){x+='<row r="'.concat(T+2,'" spans="1:').concat(R+b,'">');var w=R,L=n[0].labels.slice().reverse();L.forEach(function(E,P){var W=E[T];if(W){var N=P===0?1:L[P-1].filter(function(_){return _&&_!==""}).length;w+=N,x+='<c r="'.concat(Nn(T+1+P)).concat(T+2,'" t="s"><v>').concat(w,"</v></c>")}});for(var k=0;k<R;k++)x+='<c r="'.concat(Nn(b+k+1)).concat(T+2,'"><v>').concat(n[k].values[T]||0,"</v></c>");x+="</row>"},y=0;y<A;y++)M(y)}else{x+='<row r="1" spans="1:'.concat(n.length+n[0].labels.length,'">'),n[0].labels.forEach(function(T,w){x+='<c r="'.concat(Nn(w+1),'1" t="s"><v>0</v></c>')});for(var y=0;y<n.length;y++)x+='<c r="'.concat(Nn(y+1+n[0].labels.length),'1" t="s"><v>').concat(y+1,"</v></c>");x+="</row>",n[0].labels[0].forEach(function(T,w){x+='<row r="'.concat(w+2,'" spans="1:').concat(n.length+n[0].labels.length,'">');for(var L=n[0].labels.length-1;L>=0;L--)x+='<c r="'.concat(Nn(n[0].labels.length-L)).concat(w+2,'" t="s">'),x+="<v>".concat(n.length+w+1,"</v>"),x+="</c>";for(var k=0;k<n.length;k++)x+='<c r="'.concat(Nn(n[0].labels.length+k+1)).concat(w+2,'"><v>').concat(n[k].values[w]||"","</v></c>");x+="</row>"})}x+="</sheetData>",x+='<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>',x+=`</worksheet>
|
||
`,l.file("xl/worksheets/sheet1.xml",x)}l.generateAsync({type:"base64"}).then(function(T){t.file("ppt/embeddings/Microsoft_Excel_Worksheet".concat(e.globalId,".xlsx"),T,{base64:!0}),t.file("ppt/charts/_rels/"+e.fileName+".rels",'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'+'<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet'.concat(e.globalId,'.xlsx"/>')+"</Relationships>"),t.file("ppt/charts/".concat(e.fileName),X3e(e)),o("")}).catch(function(T){i(T)})})];case 1:return[2,r.sent()]}})})}function X3e(e){var t,n,r,o,i='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',a=!1;if(i+='<c:chartSpace xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">',i+='<c:date1904 val="0"/>',i+='<c:roundedCorners val="'.concat(e.opts.chartArea.roundedCorners?"1":"0",'"/>'),i+="<c:chart>",e.opts.showTitle?(i+=F2({title:e.opts.title||"Chart Title",color:e.opts.titleColor,fontFace:e.opts.titleFontFace,fontSize:e.opts.titleFontSize||x3e,titleAlign:e.opts.titleAlign,titleBold:e.opts.titleBold,titlePos:e.opts.titlePos,titleRotate:e.opts.titleRotate},e.opts.x,e.opts.y),i+='<c:autoTitleDeleted val="0"/>'):i+='<c:autoTitleDeleted val="1"/>',e.opts._type===lt.BAR3D&&(i+='<c:view3D><c:rotX val="'.concat(e.opts.v3DRotX,'"/><c:rotY val="').concat(e.opts.v3DRotY,'"/><c:rAngAx val="').concat(e.opts.v3DRAngAx?1:0,'"/><c:perspective val="').concat(e.opts.v3DPerspective,'"/></c:view3D>')),i+="<c:plotArea>",e.opts.layout?(i+="<c:layout>",i+=" <c:manualLayout>",i+=' <c:layoutTarget val="inner" />',i+=' <c:xMode val="edge" />',i+=' <c:yMode val="edge" />',i+=' <c:x val="'+(e.opts.layout.x||0)+'" />',i+=' <c:y val="'+(e.opts.layout.y||0)+'" />',i+=' <c:w val="'+(e.opts.layout.w||1)+'" />',i+=' <c:h val="'+(e.opts.layout.h||1)+'" />',i+=" </c:manualLayout>",i+="</c:layout>"):i+="<c:layout/>",Array.isArray(e.opts._type)?e.opts._type.forEach(function(s){var l=Or(Or({},e.opts),s.options),c=l.secondaryValAxis?mg:Hs,u=l.secondaryCatAxis?Nb:ch;a=a||l.secondaryValAxis,i+=bk(s.type,s.data,l,c,u)}):i+=bk(e.opts._type,e.data,e.opts,Hs,ch),e.opts._type!==lt.PIE&&e.opts._type!==lt.DOUGHNUT){if(e.opts.valAxes&&e.opts.valAxes.length>1&&!a)throw new Error("Secondary axis must be used by one of the multiple charts");if(e.opts.catAxes){if(!e.opts.valAxes||e.opts.valAxes.length!==e.opts.catAxes.length)throw new Error("There must be the same number of value and category axes.");i+=y4(Or(Or({},e.opts),e.opts.catAxes[0]),ch,Hs)}else i+=y4(e.opts,ch,Hs);e.opts.valAxes?(i+=b4(Or(Or({},e.opts),e.opts.valAxes[0]),Hs),e.opts.valAxes[1]&&(i+=b4(Or(Or({},e.opts),e.opts.valAxes[1]),mg))):(i+=b4(e.opts,Hs),e.opts._type===lt.BAR3D&&(i+=W3e(e.opts,fE,Hs))),!((t=e.opts)===null||t===void 0)&&t.catAxes&&(!((n=e.opts)===null||n===void 0)&&n.catAxes[1])&&(i+=y4(Or(Or({},e.opts),e.opts.catAxes[1]),Nb,mg))}return e.opts.showDataTable&&(i+="<c:dTable>",i+=' <c:showHorzBorder val="'.concat(e.opts.showDataTableHorzBorder?1:0,'"/>'),i+=' <c:showVertBorder val="'.concat(e.opts.showDataTableVertBorder?1:0,'"/>'),i+=' <c:showOutline val="'.concat(e.opts.showDataTableOutline?1:0,'"/>'),i+=' <c:showKeys val="'.concat(e.opts.showDataTableKeys?1:0,'"/>'),i+=" <c:spPr>",i+=" <a:noFill/>",i+=' <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="15000"/><a:lumOff val="85000"/></a:schemeClr></a:solidFill><a:round/></a:ln>',i+=" <a:effectLst/>",i+=" </c:spPr>",i+=" <c:txPr>",i+=' <a:bodyPr rot="0" spcFirstLastPara="1" vertOverflow="ellipsis" vert="horz" wrap="square" anchor="ctr" anchorCtr="1"/>',i+=" <a:lstStyle/>",i+=" <a:p>",i+=' <a:pPr rtl="0">',i+=' <a:defRPr sz="'.concat(Math.round((e.opts.dataTableFontSize||qi)*100),'" b="0" i="0" u="none" strike="noStrike" kern="1200" baseline="0">'),i+=' <a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill>',i+=' <a:latin typeface="+mn-lt"/>',i+=' <a:ea typeface="+mn-ea"/>',i+=' <a:cs typeface="+mn-cs"/>',i+=" </a:defRPr>",i+=" </a:pPr>",i+=' <a:endParaRPr lang="en-US"/>',i+=" </a:p>",i+=" </c:txPr>",i+="</c:dTable>"),i+=" <c:spPr>",i+=!((r=e.opts.plotArea.fill)===null||r===void 0)&&r.color?Ni(e.opts.plotArea.fill):"<a:noFill/>",i+=e.opts.plotArea.border?'<a:ln w="'.concat(Ct(e.opts.plotArea.border.pt),'" cap="flat">').concat(Ni(e.opts.plotArea.border.color),"</a:ln>"):"<a:ln><a:noFill/></a:ln>",i+=" <a:effectLst/>",i+=" </c:spPr>",i+="</c:plotArea>",e.opts.showLegend&&(i+="<c:legend>",i+='<c:legendPos val="'+e.opts.legendPos+'"/>',i+='<c:overlay val="0"/>',(e.opts.legendFontFace||e.opts.legendFontSize||e.opts.legendColor)&&(i+="<c:txPr>",i+=" <a:bodyPr/>",i+=" <a:lstStyle/>",i+=" <a:p>",i+=" <a:pPr>",i+=e.opts.legendFontSize?'<a:defRPr sz="'.concat(Math.round(Number(e.opts.legendFontSize)*100),'">'):"<a:defRPr>",e.opts.legendColor&&(i+=Ni(e.opts.legendColor)),e.opts.legendFontFace&&(i+='<a:latin typeface="'+e.opts.legendFontFace+'"/>'),e.opts.legendFontFace&&(i+='<a:cs typeface="'+e.opts.legendFontFace+'"/>'),i+=" </a:defRPr>",i+=" </a:pPr>",i+=' <a:endParaRPr lang="en-US"/>',i+=" </a:p>",i+="</c:txPr>"),i+="</c:legend>"),i+=' <c:plotVisOnly val="1"/>',i+=' <c:dispBlanksAs val="'+e.opts.displayBlanksAs+'"/>',e.opts._type===lt.SCATTER&&(i+='<c:showDLblsOverMax val="1"/>'),i+="</c:chart>",i+="<c:spPr>",i+=!((o=e.opts.chartArea.fill)===null||o===void 0)&&o.color?Ni(e.opts.chartArea.fill):"<a:noFill/>",i+=e.opts.chartArea.border?'<a:ln w="'.concat(Ct(e.opts.chartArea.border.pt),'" cap="flat">').concat(Ni(e.opts.chartArea.border.color),"</a:ln>"):"<a:ln><a:noFill/></a:ln>",i+=" <a:effectLst/>",i+="</c:spPr>",i+='<c:externalData r:id="rId1"><c:autoUpdate val="0"/></c:externalData>',i+="</c:chartSpace>",i}function bk(e,t,n,r,o,i){var a=-1,s=1,l=null,c="";switch(e){case lt.AREA:case lt.BAR:case lt.BAR3D:case lt.LINE:case lt.RADAR:c+="<c:".concat(e,"Chart>"),e===lt.AREA&&n.barGrouping==="stacked"&&(c+='<c:grouping val="'+n.barGrouping+'"/>'),(e===lt.BAR||e===lt.BAR3D)&&(c+='<c:barDir val="'+n.barDir+'"/>',c+='<c:grouping val="'+(n.barGrouping||"clustered")+'"/>'),e===lt.RADAR&&(c+='<c:radarStyle val="'+n.radarStyle+'"/>'),c+='<c:varyColors val="0"/>',t.forEach(function(u){var f;a++,c+="<c:ser>",c+=' <c:idx val="'.concat(u._dataIndex,'"/><c:order val="').concat(u._dataIndex,'"/>'),c+=" <c:tx>",c+=" <c:strRef>",c+=" <c:f>Sheet1!$"+Nn(u._dataIndex+u.labels.length+1)+"$1</c:f>",c+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+Dt(u.name)+"</c:v></c:pt></c:strCache>",c+=" </c:strRef>",c+=" </c:tx>";var d=n.chartColors?n.chartColors[a%n.chartColors.length]:null;c+=" <c:spPr>",d==="transparent"?c+="<a:noFill/>":n.chartColorsOpacity?c+="<a:solidFill>"+Rn(d,'<a:alpha val="'.concat(Math.round(n.chartColorsOpacity*1e3),'"/>'))+"</a:solidFill>":c+="<a:solidFill>"+Rn(d)+"</a:solidFill>",e===lt.LINE||e===lt.RADAR?n.lineSize===0?c+="<a:ln><a:noFill/></a:ln>":(c+='<a:ln w="'.concat(Ct(n.lineSize),'" cap="').concat(Rg(n.lineCap),'"><a:solidFill>').concat(Rn(d),"</a:solidFill>"),c+='<a:prstDash val="'+(n.lineDash||"solid")+'"/><a:round/></a:ln>'):n.dataBorder&&(c+='<a:ln w="'.concat(Ct(n.dataBorder.pt),'" cap="').concat(Rg(n.lineCap),'"><a:solidFill>').concat(Rn(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')),c+=jc(n.shadow,$c),c+=" </c:spPr>",c+=' <c:invertIfNegative val="0"/>',e!==lt.RADAR&&(c+="<c:dLbls>",c+='<c:numFmt formatCode="'.concat(Dt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),n.dataLabelBkgrdColors&&(c+="<c:spPr><a:solidFill>".concat(Rn(d),"</a:solidFill></c:spPr>")),c+="<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>",c+='<a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||qi)*100),'" u="none">'),c+="<a:solidFill>".concat(Rn(n.dataLabelColor||ti),"</a:solidFill>"),c+='<a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),c+="</a:defRPr></a:pPr></a:p></c:txPr>",n.dataLabelPosition&&(c+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),c+='<c:showLegendKey val="0"/>',c+='<c:showVal val="'.concat(n.showValue?"1":"0",'"/>'),c+='<c:showCatName val="0"/><c:showSerName val="'.concat(n.showSerName?"1":"0",'"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'),c+='<c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),c+="</c:dLbls>"),(e===lt.LINE||e===lt.RADAR)&&(c+="<c:marker>",c+=' <c:symbol val="'+n.lineDataSymbol+'"/>',n.lineDataSymbolSize&&(c+='<c:size val="'.concat(n.lineDataSymbolSize,'"/>')),c+=" <c:spPr>",c+=" <a:solidFill>".concat(Rn(n.chartColors[u._dataIndex+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):u._dataIndex]),"</a:solidFill>"),c+=' <a:ln w="'.concat(n.lineDataSymbolLineSize,'" cap="flat"><a:solidFill>').concat(Rn(n.lineDataSymbolLineColor||d),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),c+=" <a:effectLst/>",c+=" </c:spPr>",c+="</c:marker>"),(e===lt.BAR||e===lt.BAR3D)&&t.length===1&&(n.chartColors&&n.chartColors!==uh&&n.chartColors.length>1||!((f=n.invertedColors)===null||f===void 0)&&f.length)&&u.values.forEach(function(h,p){var v=h<0?n.invertedColors||n.chartColors||uh:n.chartColors||[];c+=" <c:dPt>",c+=' <c:idx val="'.concat(p,'"/>'),c+=' <c:invertIfNegative val="0"/>',c+=' <c:bubble3D val="0"/>',c+=" <c:spPr>",n.lineSize===0?c+="<a:ln><a:noFill/></a:ln>":e===lt.BAR?(c+="<a:solidFill>",c+=' <a:srgbClr val="'+v[p%v.length]+'"/>',c+="</a:solidFill>"):(c+="<a:ln>",c+=" <a:solidFill>",c+=' <a:srgbClr val="'+v[p%v.length]+'"/>',c+=" </a:solidFill>",c+="</a:ln>"),c+=jc(n.shadow,$c),c+=" </c:spPr>",c+=" </c:dPt>"}),c+="<c:cat>",n.catLabelFormatCode?(c+=" <c:numRef>",c+=" <c:f>Sheet1!$A$2:$A$".concat(u.labels[0].length+1,"</c:f>"),c+=" <c:numCache>",c+=" <c:formatCode>"+(n.catLabelFormatCode||"General")+"</c:formatCode>",c+=' <c:ptCount val="'.concat(u.labels[0].length,'"/>'),u.labels[0].forEach(function(h,p){return c+='<c:pt idx="'.concat(p,'"><c:v>').concat(Dt(h),"</c:v></c:pt>")}),c+=" </c:numCache>",c+=" </c:numRef>"):(c+=" <c:multiLvlStrRef>",c+=" <c:f>Sheet1!$A$2:$".concat(Nn(u.labels.length),"$").concat(u.labels[0].length+1,"</c:f>"),c+=" <c:multiLvlStrCache>",c+=' <c:ptCount val="'.concat(u.labels[0].length,'"/>'),u.labels.forEach(function(h){c+="<c:lvl>",h.forEach(function(p,v){return c+='<c:pt idx="'.concat(v,'"><c:v>').concat(Dt(p),"</c:v></c:pt>")}),c+="</c:lvl>"}),c+=" </c:multiLvlStrCache>",c+=" </c:multiLvlStrRef>"),c+="</c:cat>",c+="<c:val>",c+=" <c:numRef>",c+="<c:f>Sheet1!$".concat(Nn(u._dataIndex+u.labels.length+1),"$2:$").concat(Nn(u._dataIndex+u.labels.length+1),"$").concat(u.labels[0].length+1,"</c:f>"),c+=" <c:numCache>",c+=" <c:formatCode>"+(n.valLabelFormatCode||n.dataTableFormatCode||"General")+"</c:formatCode>",c+=' <c:ptCount val="'.concat(u.labels[0].length,'"/>'),u.values.forEach(function(h,p){return c+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||h===0?h:"","</c:v></c:pt>")}),c+=" </c:numCache>",c+=" </c:numRef>",c+="</c:val>",e===lt.LINE&&(c+='<c:smooth val="'+(n.lineSmooth?"1":"0")+'"/>'),c+="</c:ser>"}),c+=" <c:dLbls>",c+=' <c:numFmt formatCode="'.concat(Dt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),c+=" <c:txPr>",c+=" <a:bodyPr/>",c+=" <a:lstStyle/>",c+=" <a:p><a:pPr>",c+=' <a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||qi)*100),'" u="none">'),c+=" <a:solidFill>"+Rn(n.dataLabelColor||ti)+"</a:solidFill>",c+=' <a:latin typeface="'+(n.dataLabelFontFace||"Arial")+'"/>',c+=" </a:defRPr>",c+=" </a:pPr></a:p>",c+=" </c:txPr>",n.dataLabelPosition&&(c+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),c+=' <c:showLegendKey val="0"/>',c+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',c+=' <c:showCatName val="0"/>',c+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',c+=' <c:showPercent val="0"/>',c+=' <c:showBubbleSize val="0"/>',c+=' <c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),c+=" </c:dLbls>",e===lt.BAR?(c+=' <c:gapWidth val="'.concat(n.barGapWidthPct,'"/>'),c+=' <c:overlap val="'.concat((n.barGrouping||"").includes("tacked")?100:n.barOverlapPct?n.barOverlapPct:0,'"/>')):e===lt.BAR3D?(c+=' <c:gapWidth val="'.concat(n.barGapWidthPct,'"/>'),c+=' <c:gapDepth val="'.concat(n.barGapDepthPct,'"/>'),c+=' <c:shape val="'+n.bar3DShape+'"/>'):e===lt.LINE&&(c+=' <c:marker val="1"/>'),c+='<c:axId val="'.concat(o,'"/><c:axId val="').concat(r,'"/><c:axId val="').concat(fE,'"/>'),c+="</c:".concat(e,"Chart>");break;case lt.SCATTER:c+="<c:"+e+"Chart>",c+='<c:scatterStyle val="lineMarker"/>',c+='<c:varyColors val="0"/>',a=-1,t.filter(function(u,f){return f>0}).forEach(function(u,f){a++,c+="<c:ser>",c+=' <c:idx val="'.concat(f,'"/>'),c+=' <c:order val="'.concat(f,'"/>'),c+=" <c:tx>",c+=" <c:strRef>",c+=" <c:f>Sheet1!$".concat(Nn(f+2),"$1</c:f>"),c+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+Dt(u.name)+"</c:v></c:pt></c:strCache>",c+=" </c:strRef>",c+=" </c:tx>",c+=" <c:spPr>";{var d=n.chartColors[a%n.chartColors.length];d==="transparent"?c+="<a:noFill/>":n.chartColorsOpacity?c+="<a:solidFill>"+Rn(d,'<a:alpha val="'+Math.round(n.chartColorsOpacity*1e3).toString()+'"/>')+"</a:solidFill>":c+="<a:solidFill>"+Rn(d)+"</a:solidFill>",n.lineSize===0?c+="<a:ln><a:noFill/></a:ln>":(c+='<a:ln w="'.concat(Ct(n.lineSize),'" cap="').concat(Rg(n.lineCap),'"><a:solidFill>').concat(Rn(d),"</a:solidFill>"),c+='<a:prstDash val="'.concat(n.lineDash||"solid",'"/><a:round/></a:ln>')),c+=jc(n.shadow,$c)}if(c+=" </c:spPr>",c+="<c:marker>",c+=' <c:symbol val="'+n.lineDataSymbol+'"/>',n.lineDataSymbolSize&&(c+='<c:size val="'.concat(n.lineDataSymbolSize,'"/>')),c+="<c:spPr>",c+="<a:solidFill>".concat(Rn(n.chartColors[f+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):f]),"</a:solidFill>"),c+='<a:ln w="'.concat(n.lineDataSymbolLineSize,'" cap="flat"><a:solidFill>').concat(Rn(n.lineDataSymbolLineColor||n.chartColors[a%n.chartColors.length]),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'),c+="<a:effectLst/>",c+="</c:spPr>",c+="</c:marker>",n.showLabel){var h=Ag("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");u.labels[0]&&(n.dataLabelFormatScatter==="custom"||n.dataLabelFormatScatter==="customXY")&&(c+="<c:dLbls>",u.labels[0].forEach(function(p,v){(n.dataLabelFormatScatter==="custom"||n.dataLabelFormatScatter==="customXY")&&(c+=" <c:dLbl>",c+=' <c:idx val="'.concat(v,'"/>'),c+=" <c:tx>",c+=" <c:rich>",c+=" <a:bodyPr>",c+=" <a:spAutoFit/>",c+=" </a:bodyPr>",c+=" <a:lstStyle/>",c+=" <a:p>",c+=" <a:pPr>",c+=" <a:defRPr/>",c+=" </a:pPr>",c+=" <a:r>",c+=' <a:rPr lang="'+(n.lang||"en-US")+'" dirty="0"/>',c+=" <a:t>"+Dt(p)+"</a:t>",c+=" </a:r>",n.dataLabelFormatScatter==="customXY"&&!/^ *$/.test(p)&&(c+=" <a:r>",c+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',c+=" <a:t> (</a:t>",c+=" </a:r>",c+=' <a:fld id="{'+Ag("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")+'}" type="XVALUE">',c+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0"/>',c+=" <a:pPr>",c+=" <a:defRPr/>",c+=" </a:pPr>",c+=" <a:t>["+Dt(u.name)+"</a:t>",c+=" </a:fld>",c+=" <a:r>",c+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',c+=" <a:t>, </a:t>",c+=" </a:r>",c+=' <a:fld id="{'+Ag("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")+'}" type="YVALUE">',c+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0"/>',c+=" <a:pPr>",c+=" <a:defRPr/>",c+=" </a:pPr>",c+=" <a:t>["+Dt(u.name)+"]</a:t>",c+=" </a:fld>",c+=" <a:r>",c+=' <a:rPr lang="'+(n.lang||"en-US")+'" baseline="0" dirty="0"/>',c+=" <a:t>)</a:t>",c+=" </a:r>",c+=' <a:endParaRPr lang="'+(n.lang||"en-US")+'" dirty="0"/>'),c+=" </a:p>",c+=" </c:rich>",c+=" </c:tx>",c+=" <c:spPr>",c+=" <a:noFill/>",c+=" <a:ln>",c+=" <a:noFill/>",c+=" </a:ln>",c+=" <a:effectLst/>",c+=" </c:spPr>",n.dataLabelPosition&&(c+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),c+=' <c:showLegendKey val="0"/>',c+=' <c:showVal val="0"/>',c+=' <c:showCatName val="0"/>',c+=' <c:showSerName val="0"/>',c+=' <c:showPercent val="0"/>',c+=' <c:showBubbleSize val="0"/>',c+=' <c:showLeaderLines val="1"/>',c+=" <c:extLst>",c+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart"/>',c+=' <c:ext uri="{C3380CC4-5D6E-409C-BE32-E72D297353CC}" xmlns:c16="http://schemas.microsoft.com/office/drawing/2014/chart">',c+=' <c16:uniqueId val="{'.concat("00000000".substring(0,8-(v+1).toString().length).toString()).concat(v+1).concat(h,'}"/>'),c+=" </c:ext>",c+=" </c:extLst>",c+="</c:dLbl>")}),c+="</c:dLbls>"),n.dataLabelFormatScatter==="XY"&&(c+="<c:dLbls>",c+=" <c:spPr>",c+=" <a:noFill/>",c+=" <a:ln>",c+=" <a:noFill/>",c+=" </a:ln>",c+=" <a:effectLst/>",c+=" </c:spPr>",c+=" <c:txPr>",c+=" <a:bodyPr>",c+=" <a:spAutoFit/>",c+=" </a:bodyPr>",c+=" <a:lstStyle/>",c+=" <a:p>",c+=" <a:pPr>",c+=" <a:defRPr/>",c+=" </a:pPr>",c+=' <a:endParaRPr lang="en-US"/>',c+=" </a:p>",c+=" </c:txPr>",n.dataLabelPosition&&(c+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),c+=' <c:showLegendKey val="0"/>',c+=' <c:showVal val="'.concat(n.showLabel?"1":"0",'"/>'),c+=' <c:showCatName val="'.concat(n.showLabel?"1":"0",'"/>'),c+=' <c:showSerName val="'.concat(n.showSerName?"1":"0",'"/>'),c+=' <c:showPercent val="0"/>',c+=' <c:showBubbleSize val="0"/>',c+=" <c:extLst>",c+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">',c+=' <c15:showLeaderLines val="1"/>',c+=" </c:ext>",c+=" </c:extLst>",c+="</c:dLbls>")}t.length===1&&n.chartColors!==uh&&u.values.forEach(function(p,v){var m=p<0?n.invertedColors||n.chartColors||uh:n.chartColors||[];c+=" <c:dPt>",c+=' <c:idx val="'.concat(v,'"/>'),c+=' <c:invertIfNegative val="0"/>',c+=' <c:bubble3D val="0"/>',c+=" <c:spPr>",n.lineSize===0?c+="<a:ln><a:noFill/></a:ln>":(c+="<a:solidFill>",c+=' <a:srgbClr val="'+m[v%m.length]+'"/>',c+="</a:solidFill>"),c+=jc(n.shadow,$c),c+=" </c:spPr>",c+=" </c:dPt>"}),c+="<c:xVal>",c+=" <c:numRef>",c+=" <c:f>Sheet1!$A$2:$A$".concat(t[0].values.length+1,"</c:f>"),c+=" <c:numCache>",c+=" <c:formatCode>General</c:formatCode>",c+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(p,v){c+='<c:pt idx="'.concat(v,'"><c:v>').concat(p||p===0?p:"","</c:v></c:pt>")}),c+=" </c:numCache>",c+=" </c:numRef>",c+="</c:xVal>",c+="<c:yVal>",c+=" <c:numRef>",c+=" <c:f>Sheet1!$".concat(Nn(f+2),"$2:$").concat(Nn(f+2),"$").concat(t[0].values.length+1,"</c:f>"),c+=" <c:numCache>",c+=" <c:formatCode>General</c:formatCode>",c+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(p,v){c+='<c:pt idx="'.concat(v,'"><c:v>').concat(u.values[v]||u.values[v]===0?u.values[v]:"","</c:v></c:pt>")}),c+=" </c:numCache>",c+=" </c:numRef>",c+="</c:yVal>",c+='<c:smooth val="'+(n.lineSmooth?"1":"0")+'"/>',c+="</c:ser>"}),c+=" <c:dLbls>",c+=' <c:numFmt formatCode="'.concat(Dt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),c+=" <c:txPr>",c+=" <a:bodyPr/>",c+=" <a:lstStyle/>",c+=" <a:p><a:pPr>",c+=' <a:defRPr b="'.concat(n.dataLabelFontBold?"1":"0",'" i="').concat(n.dataLabelFontItalic?"1":"0",'" strike="noStrike" sz="').concat(Math.round((n.dataLabelFontSize||qi)*100),'" u="none">'),c+=" <a:solidFill>"+Rn(n.dataLabelColor||ti)+"</a:solidFill>",c+=' <a:latin typeface="'+(n.dataLabelFontFace||"Arial")+'"/>',c+=" </a:defRPr>",c+=" </a:pPr></a:p>",c+=" </c:txPr>",n.dataLabelPosition&&(c+=' <c:dLblPos val="'+n.dataLabelPosition+'"/>'),c+=' <c:showLegendKey val="0"/>',c+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',c+=' <c:showCatName val="0"/>',c+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',c+=' <c:showPercent val="0"/>',c+=' <c:showBubbleSize val="0"/>',c+=" </c:dLbls>",c+='<c:axId val="'.concat(o,'"/><c:axId val="').concat(r,'"/>'),c+="</c:"+e+"Chart>";break;case lt.BUBBLE:case lt.BUBBLE3D:c+="<c:bubbleChart>",c+='<c:varyColors val="0"/>',a=-1,t.filter(function(u,f){return f>0}).forEach(function(u,f){a++,c+="<c:ser>",c+=' <c:idx val="'.concat(f,'"/>'),c+=' <c:order val="'.concat(f,'"/>'),c+=" <c:tx>",c+=" <c:strRef>",c+=" <c:f>Sheet1!$"+Nn(s+1)+"$1</c:f>",c+=' <c:strCache><c:ptCount val="1"/><c:pt idx="0"><c:v>'+Dt(u.name)+"</c:v></c:pt></c:strCache>",c+=" </c:strRef>",c+=" </c:tx>";{c+="<c:spPr>";var d=n.chartColors[a%n.chartColors.length];d==="transparent"?c+="<a:noFill/>":n.chartColorsOpacity?c+="<a:solidFill>".concat(Rn(d,'<a:alpha val="'+Math.round(n.chartColorsOpacity*1e3).toString()+'"/>'),"</a:solidFill>"):c+="<a:solidFill>"+Rn(d)+"</a:solidFill>",n.lineSize===0?c+="<a:ln><a:noFill/></a:ln>":n.dataBorder?c+='<a:ln w="'.concat(Ct(n.dataBorder.pt),'" cap="flat"><a:solidFill>').concat(Rn(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>'):(c+='<a:ln w="'.concat(Ct(n.lineSize),'" cap="flat"><a:solidFill>').concat(Rn(d),"</a:solidFill>"),c+='<a:prstDash val="'.concat(n.lineDash||"solid",'"/><a:round/></a:ln>')),c+=jc(n.shadow,$c),c+="</c:spPr>"}c+="<c:xVal>",c+=" <c:numRef>",c+=" <c:f>Sheet1!$A$2:$A$".concat(t[0].values.length+1,"</c:f>"),c+=" <c:numCache>",c+=" <c:formatCode>General</c:formatCode>",c+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(h,p){c+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||h===0?h:"","</c:v></c:pt>")}),c+=" </c:numCache>",c+=" </c:numRef>",c+="</c:xVal>",c+="<c:yVal>",c+=" <c:numRef>",c+="<c:f>Sheet1!$".concat(Nn(s+1),"$2:$").concat(Nn(s+1),"$").concat(t[0].values.length+1,"</c:f>"),s++,c+=" <c:numCache>",c+=" <c:formatCode>General</c:formatCode>",c+=' <c:ptCount val="'.concat(t[0].values.length,'"/>'),t[0].values.forEach(function(h,p){c+='<c:pt idx="'.concat(p,'"><c:v>').concat(u.values[p]||u.values[p]===0?u.values[p]:"","</c:v></c:pt>")}),c+=" </c:numCache>",c+=" </c:numRef>",c+="</c:yVal>",c+=" <c:bubbleSize>",c+=" <c:numRef>",c+="<c:f>Sheet1!$".concat(Nn(s+1),"$2:$").concat(Nn(s+1),"$").concat(u.sizes.length+1,"</c:f>"),s++,c+=" <c:numCache>",c+=" <c:formatCode>General</c:formatCode>",c+=' <c:ptCount val="'.concat(u.sizes.length,'"/>'),u.sizes.forEach(function(h,p){c+='<c:pt idx="'.concat(p,'"><c:v>').concat(h||"","</c:v></c:pt>")}),c+=" </c:numCache>",c+=" </c:numRef>",c+=" </c:bubbleSize>",c+=' <c:bubble3D val="'+(e===lt.BUBBLE3D?"1":"0")+'"/>',c+="</c:ser>"}),c+="<c:dLbls>",c+='<c:numFmt formatCode="'.concat(Dt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),c+="<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr>",c+='<a:defRPr b="'.concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" strike="noStrike" sz="').concat(Math.round(Math.round(n.dataLabelFontSize||qi)*100),'" u="none">'),c+="<a:solidFill>".concat(Rn(n.dataLabelColor||ti),"</a:solidFill>"),c+='<a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),c+="</a:defRPr></a:pPr></a:p></c:txPr>",n.dataLabelPosition&&(c+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),c+='<c:showLegendKey val="0"/>',c+='<c:showVal val="'.concat(n.showValue?"1":"0",'"/>'),c+='<c:showCatName val="0"/><c:showSerName val="'.concat(n.showSerName?"1":"0",'"/><c:showPercent val="0"/><c:showBubbleSize val="0"/>'),c+="<c:extLst>",c+=' <c:ext uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}" xmlns:c15="http://schemas.microsoft.com/office/drawing/2012/chart">',c+=' <c15:showLeaderLines val="'+(n.showLeaderLines?"1":"0")+'"/>',c+=" </c:ext>",c+="</c:extLst>",c+="</c:dLbls>",c+='<c:axId val="'.concat(o,'"/><c:axId val="').concat(r,'"/>'),c+="</c:bubbleChart>";break;case lt.DOUGHNUT:case lt.PIE:l=t[0],c+="<c:"+e+"Chart>",c+=' <c:varyColors val="1"/>',c+="<c:ser>",c+=' <c:idx val="0"/>',c+=' <c:order val="0"/>',c+=" <c:tx>",c+=" <c:strRef>",c+=" <c:f>Sheet1!$B$1</c:f>",c+=" <c:strCache>",c+=' <c:ptCount val="1"/>',c+=' <c:pt idx="0"><c:v>'+Dt(l.name)+"</c:v></c:pt>",c+=" </c:strCache>",c+=" </c:strRef>",c+=" </c:tx>",c+=" <c:spPr>",c+=' <a:solidFill><a:schemeClr val="accent1"/></a:solidFill>',c+=' <a:ln w="9525" cap="flat"><a:solidFill><a:srgbClr val="F9F9F9"/></a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>',n.dataNoEffects?c+="<a:effectLst/>":c+=jc(n.shadow,$c),c+=" </c:spPr>",l.labels[0].forEach(function(u,f){c+="<c:dPt>",c+=' <c:idx val="'.concat(f,'"/>'),c+=' <c:bubble3D val="0"/>',c+=" <c:spPr>",c+="<a:solidFill>".concat(Rn(n.chartColors[f+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):f]),"</a:solidFill>"),n.dataBorder&&(c+='<a:ln w="'.concat(Ct(n.dataBorder.pt),'" cap="flat"><a:solidFill>').concat(Rn(n.dataBorder.color),'</a:solidFill><a:prstDash val="solid"/><a:round/></a:ln>')),c+=jc(n.shadow,$c),c+=" </c:spPr>",c+="</c:dPt>"}),c+="<c:dLbls>",l.labels[0].forEach(function(u,f){c+="<c:dLbl>",c+=' <c:idx val="'.concat(f,'"/>'),c+=' <c:numFmt formatCode="'.concat(Dt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),c+=" <c:spPr/><c:txPr>",c+=" <a:bodyPr/><a:lstStyle/>",c+=" <a:p><a:pPr>",c+=' <a:defRPr sz="'.concat(Math.round((n.dataLabelFontSize||qi)*100),'" b="').concat(n.dataLabelFontBold?1:0,'" i="').concat(n.dataLabelFontItalic?1:0,'" u="none" strike="noStrike">'),c+=" <a:solidFill>"+Rn(n.dataLabelColor||ti)+"</a:solidFill>",c+=' <a:latin typeface="'.concat(n.dataLabelFontFace||"Arial",'"/>'),c+=" </a:defRPr>",c+=" </a:pPr></a:p>",c+=" </c:txPr>",e===lt.PIE&&n.dataLabelPosition&&(c+='<c:dLblPos val="'.concat(n.dataLabelPosition,'"/>')),c+=' <c:showLegendKey val="0"/>',c+=' <c:showVal val="'+(n.showValue?"1":"0")+'"/>',c+=' <c:showCatName val="'+(n.showLabel?"1":"0")+'"/>',c+=' <c:showSerName val="'+(n.showSerName?"1":"0")+'"/>',c+=' <c:showPercent val="'+(n.showPercent?"1":"0")+'"/>',c+=' <c:showBubbleSize val="0"/>',c+=" </c:dLbl>"}),c+=' <c:numFmt formatCode="'.concat(Dt(n.dataLabelFormatCode)||"General",'" sourceLinked="0"/>'),c+=" <c:txPr>",c+=" <a:bodyPr/>",c+=" <a:lstStyle/>",c+=" <a:p>",c+=" <a:pPr>",c+=' <a:defRPr sz="1800" b="'.concat(n.dataLabelFontBold?"1":"0",'" i="').concat(n.dataLabelFontItalic?"1":"0",'" u="none" strike="noStrike">'),c+=' <a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="Arial"/>',c+=" </a:defRPr>",c+=" </a:pPr>",c+=" </a:p>",c+=" </c:txPr>",c+=e===lt.PIE?'<c:dLblPos val="ctr"/>':"",c+=' <c:showLegendKey val="0"/>',c+=' <c:showVal val="0"/>',c+=' <c:showCatName val="1"/>',c+=' <c:showSerName val="0"/>',c+=' <c:showPercent val="1"/>',c+=' <c:showBubbleSize val="0"/>',c+=' <c:showLeaderLines val="'.concat(n.showLeaderLines?"1":"0",'"/>'),c+="</c:dLbls>",c+="<c:cat>",c+=" <c:strRef>",c+=" <c:f>Sheet1!$A$2:$A$".concat(l.labels[0].length+1,"</c:f>"),c+=" <c:strCache>",c+=' <c:ptCount val="'.concat(l.labels[0].length,'"/>'),l.labels[0].forEach(function(u,f){c+='<c:pt idx="'.concat(f,'"><c:v>').concat(Dt(u),"</c:v></c:pt>")}),c+=" </c:strCache>",c+=" </c:strRef>",c+="</c:cat>",c+=" <c:val>",c+=" <c:numRef>",c+=" <c:f>Sheet1!$B$2:$B$".concat(l.labels[0].length+1,"</c:f>"),c+=" <c:numCache>",c+=' <c:ptCount val="'.concat(l.labels[0].length,'"/>'),l.values.forEach(function(u,f){c+='<c:pt idx="'.concat(f,'"><c:v>').concat(u||u===0?u:"","</c:v></c:pt>")}),c+=" </c:numCache>",c+=" </c:numRef>",c+=" </c:val>",c+=" </c:ser>",c+=' <c:firstSliceAng val="'.concat(n.firstSliceAng?Math.round(n.firstSliceAng):0,'"/>'),e===lt.DOUGHNUT&&(c+='<c:holeSize val="'.concat(typeof n.holeSize=="number"?n.holeSize:"50",'"/>')),c+="</c:"+e+"Chart>";break;default:c+="";break}return c}function y4(e,t,n){var r="";return e._type===lt.SCATTER||e._type===lt.BUBBLE||e._type===lt.BUBBLE3D?r+="<c:valAx>":r+="<c:"+(e.catLabelFormatCode?"dateAx":"catAx")+">",r+=' <c:axId val="'+t+'"/>',r+=" <c:scaling>",r+='<c:orientation val="'+(e.catAxisOrientation||(e.barDir==="col","minMax"))+'"/>',(e.catAxisMaxVal||e.catAxisMaxVal===0)&&(r+='<c:max val="'.concat(e.catAxisMaxVal,'"/>')),(e.catAxisMinVal||e.catAxisMinVal===0)&&(r+='<c:min val="'.concat(e.catAxisMinVal,'"/>')),r+="</c:scaling>",r+=' <c:delete val="'+(e.catAxisHidden?"1":"0")+'"/>',r+=' <c:axPos val="'+(e.barDir==="col"?"b":"l")+'"/>',r+=e.catGridLine.style!=="none"?H5(e.catGridLine):"",e.showCatAxisTitle&&(r+=F2({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===lt.SCATTER||e._type===lt.BUBBLE||e._type===lt.BUBBLE3D?r+=' <c:numFmt formatCode="'+(e.valAxisLabelFormatCode?Dt(e.valAxisLabelFormatCode):"General")+'" sourceLinked="1"/>':r+=' <c:numFmt formatCode="'+(Dt(e.catLabelFormatCode)||"General")+'" sourceLinked="1"/>',e._type===lt.SCATTER?(r+=' <c:majorTickMark val="none"/>',r+=' <c:minorTickMark val="none"/>',r+=' <c:tickLblPos val="nextTo"/>'):(r+=' <c:majorTickMark val="'+(e.catAxisMajorTickMark||"out")+'"/>',r+=' <c:minorTickMark val="'+(e.catAxisMinorTickMark||"none")+'"/>',r+=' <c:tickLblPos val="'+(e.catAxisLabelPos||(e.barDir==="col"?"low":"nextTo"))+'"/>'),r+=" <c:spPr>",r+=' <a:ln w="'.concat(e.catAxisLineSize?Ct(e.catAxisLineSize):t1,'" cap="flat">'),r+=e.catAxisLineShow?"<a:solidFill>"+Rn(e.catAxisLineColor||du.color)+"</a:solidFill>":"<a:noFill/>",r+=' <a:prstDash val="'+(e.catAxisLineStyle||"solid")+'"/>',r+=" <a:round/>",r+=" </a:ln>",r+=" </c:spPr>",r+=" <c:txPr>",e.catAxisLabelRotate?r+='<a:bodyPr rot="'.concat(hu(e.catAxisLabelRotate),'"/>'):r+="<a:bodyPr/>",r+=" <a:lstStyle/>",r+=" <a:p>",r+=" <a:pPr>",r+=' <a:defRPr sz="'.concat(Math.round((e.catAxisLabelFontSize||qi)*100),'" b="').concat(e.catAxisLabelFontBold?1:0,'" i="').concat(e.catAxisLabelFontItalic?1:0,'" u="none" strike="noStrike">'),r+=" <a:solidFill>"+Rn(e.catAxisLabelColor||ti)+"</a:solidFill>",r+=' <a:latin typeface="'+(e.catAxisLabelFontFace||"Arial")+'"/>',r+=" </a:defRPr>",r+=" </a:pPr>",r+=' <a:endParaRPr lang="'+(e.lang||"en-US")+'"/>',r+=" </a:p>",r+=" </c:txPr>",r+=' <c:crossAx val="'+n+'"/>',r+=" <c:".concat(typeof e.valAxisCrossesAt=="number"?"crossesAt":"crosses",' val="').concat(e.valAxisCrossesAt||"autoZero",'"/>'),r+=' <c:auto val="1"/>',r+=' <c:lblAlgn val="ctr"/>',r+=' <c:noMultiLvlLbl val="'.concat(e.catAxisMultiLevelLabels?0:1,'"/>'),e.catAxisLabelFrequency&&(r+=' <c:tickLblSkip val="'+e.catAxisLabelFrequency+'"/>'),(e.catLabelFormatCode||e._type===lt.SCATTER||e._type===lt.BUBBLE||e._type===lt.BUBBLE3D)&&(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(o){e[o]&&(typeof e[o]!="string"||!["days","months","years"].includes(e[o].toLowerCase()))&&(console.warn('"'.concat(o,`" must be one of: 'days','months','years' !`)),e[o]=null)}),e.catAxisBaseTimeUnit&&(r+='<c:baseTimeUnit val="'+e.catAxisBaseTimeUnit.toLowerCase()+'"/>'),e.catAxisMajorTimeUnit&&(r+='<c:majorTimeUnit val="'+e.catAxisMajorTimeUnit.toLowerCase()+'"/>'),e.catAxisMinorTimeUnit&&(r+='<c:minorTimeUnit val="'+e.catAxisMinorTimeUnit.toLowerCase()+'"/>')),e.catAxisMajorUnit&&(r+='<c:majorUnit val="'.concat(e.catAxisMajorUnit,'"/>')),e.catAxisMinorUnit&&(r+='<c:minorUnit val="'.concat(e.catAxisMinorUnit,'"/>'))),e._type===lt.SCATTER||e._type===lt.BUBBLE||e._type===lt.BUBBLE3D?r+="</c:valAx>":r+="</c:"+(e.catLabelFormatCode?"dateAx":"catAx")+">",r}function b4(e,t){var n=t===Hs?e.barDir==="col"?"l":"b":e.barDir!=="col"?"r":"t";t===mg&&(n="r");var r=t===Hs?ch:Nb,o="";if(o+="<c:valAx>",o+=' <c:axId val="'+t+'"/>',o+=" <c:scaling>",e.valAxisLogScaleBase&&(o+='<c:logBase val="'.concat(e.valAxisLogScaleBase,'"/>')),o+='<c:orientation val="'+(e.valAxisOrientation||(e.barDir==="col","minMax"))+'"/>',(e.valAxisMaxVal||e.valAxisMaxVal===0)&&(o+='<c:max val="'.concat(e.valAxisMaxVal,'"/>')),(e.valAxisMinVal||e.valAxisMinVal===0)&&(o+='<c:min val="'.concat(e.valAxisMinVal,'"/>')),o+=" </c:scaling>",o+=' <c:delete val="'.concat(e.valAxisHidden?1:0,'"/>'),o+=' <c:axPos val="'+n+'"/>',e.valGridLine.style!=="none"&&(o+=H5(e.valGridLine)),e.showValAxisTitle&&(o+=F2({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||"Axis Title"})),o+='<c:numFmt formatCode="'.concat(e.valAxisLabelFormatCode?Dt(e.valAxisLabelFormatCode):"General",'" sourceLinked="0"/>'),e._type===lt.SCATTER?(o+=' <c:majorTickMark val="none"/>',o+=' <c:minorTickMark val="none"/>',o+=' <c:tickLblPos val="nextTo"/>'):(o+=' <c:majorTickMark val="'+(e.valAxisMajorTickMark||"out")+'"/>',o+=' <c:minorTickMark val="'+(e.valAxisMinorTickMark||"none")+'"/>',o+=' <c:tickLblPos val="'+(e.valAxisLabelPos||(e.barDir==="col"?"nextTo":"low"))+'"/>'),o+=" <c:spPr>",o+=' <a:ln w="'.concat(e.valAxisLineSize?Ct(e.valAxisLineSize):t1,'" cap="flat">'),o+=e.valAxisLineShow?"<a:solidFill>"+Rn(e.valAxisLineColor||du.color)+"</a:solidFill>":"<a:noFill/>",o+=' <a:prstDash val="'+(e.valAxisLineStyle||"solid")+'"/>',o+=" <a:round/>",o+=" </a:ln>",o+=" </c:spPr>",o+=" <c:txPr>",o+=" <a:bodyPr".concat(e.valAxisLabelRotate?' rot="'+hu(e.valAxisLabelRotate).toString()+'"':"","/>"),o+=" <a:lstStyle/>",o+=" <a:p>",o+=" <a:pPr>",o+=' <a:defRPr sz="'.concat(Math.round((e.valAxisLabelFontSize||qi)*100),'" b="').concat(e.valAxisLabelFontBold?1:0,'" i="').concat(e.valAxisLabelFontItalic?1:0,'" u="none" strike="noStrike">'),o+=" <a:solidFill>"+Rn(e.valAxisLabelColor||ti)+"</a:solidFill>",o+=' <a:latin typeface="'+(e.valAxisLabelFontFace||"Arial")+'"/>',o+=" </a:defRPr>",o+=" </a:pPr>",o+=' <a:endParaRPr lang="'+(e.lang||"en-US")+'"/>',o+=" </a:p>",o+=" </c:txPr>",o+=' <c:crossAx val="'+r+'"/>',typeof e.catAxisCrossesAt=="number")o+=' <c:crossesAt val="'.concat(e.catAxisCrossesAt,'"/>');else if(typeof e.catAxisCrossesAt=="string")o+=' <c:crosses val="'+e.catAxisCrossesAt+'"/>';else{var i=n==="r"||n==="t",a=i?"max":"autoZero";o+=' <c:crosses val="'+a+'"/>'}return o+=' <c:crossBetween val="'+(e._type===lt.SCATTER||Array.isArray(e._type)&&e._type.filter(function(s){return s.type===lt.AREA}).length>0?"midCat":"between")+'"/>',e.valAxisMajorUnit&&(o+=' <c:majorUnit val="'.concat(e.valAxisMajorUnit,'"/>')),e.valAxisDisplayUnit&&(o+='<c:dispUnits><c:builtInUnit val="'.concat(e.valAxisDisplayUnit,'"/>').concat(e.valAxisDisplayUnitLabel?"<c:dispUnitsLbl/>":"","</c:dispUnits>")),o+="</c:valAx>",o}function W3e(e,t,n){var r="";return r+="<c:serAx>",r+=' <c:axId val="'+t+'"/>',r+=' <c:scaling><c:orientation val="'+(e.serAxisOrientation||(e.barDir==="col","minMax"))+'"/></c:scaling>',r+=' <c:delete val="'+(e.serAxisHidden?"1":"0")+'"/>',r+=' <c:axPos val="'+(e.barDir==="col"?"b":"l")+'"/>',r+=e.serGridLine.style!=="none"?H5(e.serGridLine):"",e.showSerAxisTitle&&(r+=F2({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"})),r+=' <c:numFmt formatCode="'.concat(Dt(e.serLabelFormatCode)||"General",'" sourceLinked="0"/>'),r+=' <c:majorTickMark val="out"/>',r+=' <c:minorTickMark val="none"/>',r+=' <c:tickLblPos val="'.concat(e.serAxisLabelPos||e.barDir==="col"?"low":"nextTo",'"/>'),r+=" <c:spPr>",r+=' <a:ln w="12700" cap="flat">',r+=e.serAxisLineShow?"<a:solidFill>".concat(Rn(e.serAxisLineColor||du.color),"</a:solidFill>"):"<a:noFill/>",r+=' <a:prstDash val="solid"/>',r+=" <a:round/>",r+=" </a:ln>",r+=" </c:spPr>",r+=" <c:txPr>",r+=" <a:bodyPr/>",r+=" <a:lstStyle/>",r+=" <a:p>",r+=" <a:pPr>",r+=' <a:defRPr sz="'.concat(Math.round((e.serAxisLabelFontSize||qi)*100),'" b="').concat(e.serAxisLabelFontBold?"1":"0",'" i="').concat(e.serAxisLabelFontItalic?"1":"0",'" u="none" strike="noStrike">'),r+=" <a:solidFill>".concat(Rn(e.serAxisLabelColor||ti),"</a:solidFill>"),r+=' <a:latin typeface="'.concat(e.serAxisLabelFontFace||"Arial",'"/>'),r+=" </a:defRPr>",r+=" </a:pPr>",r+=' <a:endParaRPr lang="'+(e.lang||"en-US")+'"/>',r+=" </a:p>",r+=" </c:txPr>",r+=' <c:crossAx val="'+n+'"/>',r+=' <c:crosses val="autoZero"/>',e.serAxisLabelFrequency&&(r+=' <c:tickLblSkip val="'+e.serAxisLabelFrequency+'"/>'),e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(o){e[o]&&(typeof e[o]!="string"||!["days","months","years"].includes(o.toLowerCase()))&&(console.warn('"'.concat(o,`" must be one of: 'days','months','years' !`)),e[o]=null)}),e.serAxisBaseTimeUnit&&(r+=' <c:baseTimeUnit val="'.concat(e.serAxisBaseTimeUnit.toLowerCase(),'"/>')),e.serAxisMajorTimeUnit&&(r+=' <c:majorTimeUnit val="'.concat(e.serAxisMajorTimeUnit.toLowerCase(),'"/>')),e.serAxisMinorTimeUnit&&(r+=' <c:minorTimeUnit val="'.concat(e.serAxisMinorTimeUnit.toLowerCase(),'"/>')),e.serAxisMajorUnit&&(r+=' <c:majorUnit val="'.concat(e.serAxisMajorUnit,'"/>')),e.serAxisMinorUnit&&(r+=' <c:minorUnit val="'.concat(e.serAxisMinorUnit,'"/>'))),r+="</c:serAx>",r}function F2(e,t,n){var r=e.titleAlign==="left"||e.titleAlign==="right"?'<a:pPr algn="'.concat(e.titleAlign.substring(0,1),'">'):"<a:pPr>",o=e.titleRotate?'<a:bodyPr rot="'.concat(hu(e.titleRotate),'"/>'):"<a:bodyPr/>",i=e.fontSize?'sz="'.concat(Math.round(e.fontSize*100),'"'):"",a=e.titleBold?1:0,s="<c:layout/>";if(e.titlePos&&typeof e.titlePos.x=="number"&&typeof e.titlePos.y=="number"){var l=e.titlePos.x+t,c=e.titlePos.y+n,u=l===0?0:l*(l/5)/10;u>=1&&(u=u/10),u>=.1&&(u=u/10);var f=c===0?0:c*(c/5)/10;f>=1&&(f=f/10),f>=.1&&(f=f/10),s='<c:layout><c:manualLayout><c:xMode val="edge"/><c:yMode val="edge"/><c:x val="'.concat(u,'"/><c:y val="').concat(f,'"/></c:manualLayout></c:layout>')}return`<c:title>
|
||
<c:tx>
|
||
<c:rich>
|
||
`.concat(o,`
|
||
<a:lstStyle/>
|
||
<a:p>
|
||
`).concat(r,`
|
||
<a:defRPr `).concat(i,' b="').concat(a,`" i="0" u="none" strike="noStrike">
|
||
<a:solidFill>`).concat(Rn(e.color||ti),`</a:solidFill>
|
||
<a:latin typeface="`).concat(e.fontFace||"Arial",`"/>
|
||
</a:defRPr>
|
||
</a:pPr>
|
||
<a:r>
|
||
<a:rPr `).concat(i,' b="').concat(a,`" i="0" u="none" strike="noStrike">
|
||
<a:solidFill>`).concat(Rn(e.color||ti),`</a:solidFill>
|
||
<a:latin typeface="`).concat(e.fontFace||"Arial",`"/>
|
||
</a:rPr>
|
||
<a:t>`).concat(Dt(e.title)||"",`</a:t>
|
||
</a:r>
|
||
</a:p>
|
||
</c:rich>
|
||
</c:tx>
|
||
`).concat(s,`
|
||
<c:overlay val="0"/>
|
||
</c:title>`)}function Nn(e){var t="",n=e-1;return n<=25?t=I0[n]:t="".concat(I0[Math.floor(n/I0.length-1)]).concat(I0[n%I0.length]),t}function jc(e,t){if(e){if(typeof e!="object")return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"<a:effectLst/>"}else return"<a:effectLst/>";var n="<a:effectLst>",r=Or(Or({},t),e),o=r.type||"outer",i=Ct(r.blur),a=Ct(r.offset),s=Math.round(r.angle*6e4),l=r.color,c=Math.round(r.opacity*1e5),u=r.rotateWithShape?1:0;return n+="<a:".concat(o,'Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="').concat(i,'" rotWithShape="').concat(u,'" dist="').concat(a,'" dir="').concat(s,'">'),n+='<a:srgbClr val="'.concat(l,'">'),n+='<a:alpha val="'.concat(c,'"/></a:srgbClr>'),n+="</a:".concat(o,"Shdw>"),n+="</a:effectLst>",n}function H5(e){var t="<c:majorGridlines>";return t+=" <c:spPr>",t+=' <a:ln w="'.concat(Ct(e.size||du.size),'" cap="').concat(Rg(e.cap||du.cap),'">'),t+=' <a:solidFill><a:srgbClr val="'+(e.color||du.color)+'"/></a:solidFill>',t+=' <a:prstDash val="'+(e.style||du.style)+'"/><a:round/>',t+=" </a:ln>",t+=" </c:spPr>",t+="</c:majorGridlines>",t}function Rg(e){if(!e||e==="flat")return"flat";if(e==="square")return"sq";if(e==="round")return"rnd";var t=e;throw new Error("Invalid chart line cap: ".concat(t))}function x4(e){var t=typeof require<"u"&&typeof window>"u"?require("fs"):null,n=typeof require<"u"&&typeof window>"u"?require("https"):null,r=[],o=e._relsMedia.filter(function(a){return a.type!=="online"&&!a.data&&(!a.path||a.path&&!a.path.includes("preencoded"))}),i=[];return o.forEach(function(a){i.includes(a.path)?a.isDuplicate=!0:(a.isDuplicate=!1,i.push(a.path))}),o.filter(function(a){return!a.isDuplicate}).forEach(function(a){r.push(new Promise(function(s,l){if(t&&a.path.indexOf("http")!==0)try{var c=t.readFileSync(a.path);a.data=Buffer.from(c).toString("base64"),o.filter(function(f){return f.isDuplicate&&f.path===a.path}).forEach(function(f){return f.data=a.data}),s("done")}catch(f){a.data=id,o.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),l(new Error('ERROR: Unable to read media: "'.concat(a.path,`"
|
||
`).concat(String(f))))}else if(t&&n&&a.path.indexOf("http")===0)n.get(a.path,function(f){var d="";f.setEncoding("binary"),f.on("data",function(h){return d+=h}),f.on("end",function(){a.data=Buffer.from(d,"binary").toString("base64"),o.filter(function(h){return h.isDuplicate&&h.path===a.path}).forEach(function(h){return h.data=a.data}),s("done")}),f.on("error",function(h){a.data=id,o.filter(function(p){return p.isDuplicate&&p.path===a.path}).forEach(function(p){return p.data=a.data}),l(new Error("ERROR! Unable to load image (https.get): ".concat(a.path)))})});else{var u=new XMLHttpRequest;u.onload=function(){var f=new FileReader;f.onloadend=function(){a.data=f.result,o.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),a.isSvgPng?xk(a).then(function(){s("done")}).catch(function(d){l(d)}):s("done")},f.readAsDataURL(u.response)},u.onerror=function(f){a.data=id,o.filter(function(d){return d.isDuplicate&&d.path===a.path}).forEach(function(d){return d.data=a.data}),l(new Error("ERROR! Unable to load image (xhr.onerror): ".concat(a.path)))},u.open("GET",a.path),u.responseType="blob",u.send()}}))}),e._relsMedia.filter(function(a){return a.isSvgPng&&a.data}).forEach(function(a){t?(a.data=id,r.push(Promise.resolve().then(function(){return"done"}))):r.push(xk(a))}),r}function xk(e){return $a(this,void 0,void 0,function(){return ja(this,function(t){switch(t.label){case 0:return[4,new Promise(function(n,r){var o=new Image;o.onload=function(){o.width+o.height===0&&o.onerror("h/w=0");var i=document.createElement("CANVAS"),a=i.getContext("2d");i.width=o.width,i.height=o.height,a.drawImage(o,0,0);try{e.data=i.toDataURL(e.type),n("done")}catch(s){o.onerror(s)}i=null},o.onerror=function(i){e.data=id,r(new Error("ERROR! Unable to load image (image.onerror): ".concat(e.path)))},o.src=typeof e.data=="string"?e.data:id})];case 1:return[2,t.sent()]}})})}var V3e={cover:function(e,t){var n=e.h/e.w,r=t.h/t.w,o=r>n,i=o?t.h/n:t.w,a=o?t.h:t.w*n,s=Math.round(1e5*.5*(1-t.w/i)),l=Math.round(1e5*.5*(1-t.h/a));return'<a:srcRect l="'.concat(s,'" r="').concat(s,'" t="').concat(l,'" b="').concat(l,'"/><a:stretch/>')},contain:function(e,t){var n=e.h/e.w,r=t.h/t.w,o=r>n,i=o?t.w:t.h/n,a=o?t.w*n:t.h,s=Math.round(1e5*.5*(1-t.w/i)),l=Math.round(1e5*.5*(1-t.h/a));return'<a:srcRect l="'.concat(s,'" r="').concat(s,'" t="').concat(l,'" b="').concat(l,'"/><a:stretch/>')},crop:function(e,t){var n=t.x,r=e.w-(t.x+t.w),o=t.y,i=e.h-(t.y+t.h),a=Math.round(1e5*(n/e.w)),s=Math.round(1e5*(r/e.w)),l=Math.round(1e5*(o/e.h)),c=Math.round(1e5*(i/e.h));return'<a:srcRect l="'.concat(a,'" r="').concat(s,'" t="').concat(l,'" b="').concat(c,'"/><a:stretch/>')}};function G5(e){var t,n=e._name?'<p:cSld name="'+e._name+'">':"<p:cSld>",r=1;return e._bkgdImgRid?n+='<p:bg><p:bgPr><a:blipFill dpi="0" rotWithShape="1"><a:blip r:embed="rId'.concat(e._bkgdImgRid,'"><a:lum/></a:blip><a:srcRect/><a:stretch><a:fillRect/></a:stretch></a:blipFill><a:effectLst/></p:bgPr></p:bg>'):!((t=e.background)===null||t===void 0)&&t.color?n+="<p:bg><p:bgPr>".concat(Ni(e.background),"</p:bgPr></p:bg>"):!e.bkgd&&e._name&&e._name===kb&&(n+='<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>'),n+="<p:spTree>",n+='<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>',n+='<p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/>',n+='<a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>',e._slideObjects.forEach(function(o,i){var a,s,l,c,u,f,d,h,p=0,v=0,m=en("75%","X",e._presLayout),x=0,y,R="",A=null,b=null,M=0,T=0,w=null,L=null,k=(a=o.options)===null||a===void 0?void 0:a.sizing,E=(s=o.options)===null||s===void 0?void 0:s.rounding;e._slideLayout!==void 0&&e._slideLayout._slideObjects!==void 0&&o.options&&o.options.placeholder&&(y=e._slideLayout._slideObjects.filter(function(B){return B.options.placeholder===o.options.placeholder})[0]),o.options=o.options||{},typeof o.options.x<"u"&&(p=en(o.options.x,"X",e._presLayout)),typeof o.options.y<"u"&&(v=en(o.options.y,"Y",e._presLayout)),typeof o.options.w<"u"&&(m=en(o.options.w,"X",e._presLayout)),typeof o.options.h<"u"&&(x=en(o.options.h,"Y",e._presLayout));var P=m,W=x;switch(y&&((y.options.x||y.options.x===0)&&(p=en(y.options.x,"X",e._presLayout)),(y.options.y||y.options.y===0)&&(v=en(y.options.y,"Y",e._presLayout)),(y.options.w||y.options.w===0)&&(m=en(y.options.w,"X",e._presLayout)),(y.options.h||y.options.h===0)&&(x=en(y.options.h,"Y",e._presLayout))),o.options.flipH&&(R+=' flipH="1"'),o.options.flipV&&(R+=' flipV="1"'),o.options.rotate&&(R+=' rot="'.concat(hu(o.options.rotate),'"')),o._type){case Kt.table:if(A=o.arrTabRows,b=o.options,M=0,T=0,A[0].forEach(function(B){w=B.options||null,M+=w!=null&&w.colspan?Number(w.colspan):1}),L='<p:graphicFrame><p:nvGraphicFramePr><p:cNvPr id="'.concat(r*e._slideNum+1,'" name="').concat(o.options.objectName,'"/>'),L+='<p:cNvGraphicFramePr><a:graphicFrameLocks noGrp="1"/></p:cNvGraphicFramePr> <p:nvPr><p:extLst><p:ext uri="{D42A27DB-BD31-4B8C-83A1-F6EECF244321}"><p14:modId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1579011935"/></p:ext></p:extLst></p:nvPr></p:nvGraphicFramePr>',L+='<p:xfrm><a:off x="'.concat(p||(p===0?0:Bt),'" y="').concat(v||(v===0?0:Bt),'"/><a:ext cx="').concat(m||(m===0?0:Bt),'" cy="').concat(x||Bt,'"/></p:xfrm>'),L+='<a:graphic><a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/table"><a:tbl><a:tblPr/>',Array.isArray(b.colW)){L+="<a:tblGrid>";for(var N=0;N<M;N++){var _=fn(b.colW[N]);(_==null||isNaN(_))&&(_=(typeof o.options.w=="number"?o.options.w:1)/M),L+='<a:gridCol w="'.concat(Math.round(_),'"/>')}L+="</a:tblGrid>"}else{T=b.colW?b.colW:Bt,o.options.w&&!b.colW&&(T=Math.round((typeof o.options.w=="number"?o.options.w:1)/M)),L+="<a:tblGrid>";for(var C=0;C<M;C++)L+='<a:gridCol w="'.concat(T,'"/>');L+="</a:tblGrid>"}A.forEach(function(B){for(var D,G,ae=function(Re){var fe=B[Re],me=(D=fe.options)===null||D===void 0?void 0:D.colspan,ue=(G=fe.options)===null||G===void 0?void 0:G.rowspan;if(me&&me>1){var z=new Array(me-1).fill(void 0).map(function(F){return{_type:Kt.tablecell,options:{rowspan:ue},_hmerge:!0}});B.splice.apply(B,gg([Re+1,0],z,!1)),Re+=me}else Re+=1;se=Re},se,J=0;J<B.length;)ae(J),J=se}),A.forEach(function(B,D){var G=A[D+1];G&&B.forEach(function(ae,se){var J,Re,fe=ae._rowContinue||((J=ae.options)===null||J===void 0?void 0:J.rowspan),me=(Re=ae.options)===null||Re===void 0?void 0:Re.colspan,ue=ae._hmerge;if(fe&&fe>1){var z={_type:Kt.tablecell,options:{colspan:me},_rowContinue:fe-1,_vmerge:!0,_hmerge:ue};G.splice(se,0,z)}})}),A.forEach(function(B,D){var G=0;Array.isArray(b.rowH)&&b.rowH[D]?G=fn(Number(b.rowH[D])):b.rowH&&!isNaN(Number(b.rowH))?G=fn(Number(b.rowH)):(o.options.cy||o.options.h)&&(G=Math.round((o.options.h?fn(o.options.h):typeof o.options.cy=="number"?o.options.cy:1)/A.length)),L+='<a:tr h="'.concat(G,'">'),B.forEach(function(ae){var se,J,Re,fe,me,ue=ae,z={rowSpan:((se=ue.options)===null||se===void 0?void 0:se.rowspan)>1?ue.options.rowspan:void 0,gridSpan:((J=ue.options)===null||J===void 0?void 0:J.colspan)>1?ue.options.colspan:void 0,vMerge:ue._vmerge?1:void 0,hMerge:ue._hmerge?1:void 0},F=Object.keys(z).map(function(ce){return[ce,z[ce]]}).filter(function(ce){ce[0];var pe=ce[1];return!!pe}).map(function(ce){var pe=ce[0],xe=ce[1];return"".concat(String(pe),'="').concat(String(xe),'"')}).join(" ");if(F&&(F=" "+F),ue._hmerge||ue._vmerge){L+="<a:tc".concat(F,"><a:tcPr/></a:tc>");return}var j=ue.options||{};ue.options=j,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(ce){b[ce]&&!j[ce]&&j[ce]!==0&&(j[ce]=b[ce])});var ie=j.valign?' anchor="'.concat(j.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b"),'"'):"",q=!((fe=(Re=ue._optImp)===null||Re===void 0?void 0:Re.fill)===null||fe===void 0)&&fe.color?ue._optImp.fill.color:!((me=ue._optImp)===null||me===void 0)&&me.fill&&typeof ue._optImp.fill=="string"?ue._optImp.fill:"";q=q||j.fill?j.fill:"";var te=q?Ni(q):"",re=j.margin===0||j.margin?j.margin:cE;!Array.isArray(re)&&typeof re=="number"&&(re=[re,re,re,re]);var he="";re[0]>=1?he=' marL="'.concat(Ct(re[3]),'" marR="').concat(Ct(re[1]),'" marT="').concat(Ct(re[0]),'" marB="').concat(Ct(re[2]),'"'):he=' marL="'.concat(fn(re[3]),'" marR="').concat(fn(re[1]),'" marT="').concat(fn(re[0]),'" marB="').concat(fn(re[2]),'"'),L+="<a:tc".concat(F,">").concat(Mk(ue),"<a:tcPr").concat(he).concat(ie,">"),j.border&&Array.isArray(j.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(ce){j.border[ce.idx].type!=="none"?(L+="<a:".concat(ce.name,' w="').concat(Ct(j.border[ce.idx].pt),'" cap="flat" cmpd="sng" algn="ctr">'),L+="<a:solidFill>".concat(Rn(j.border[ce.idx].color),"</a:solidFill>"),L+='<a:prstDash val="'.concat(j.border[ce.idx].type==="dash"?"sysDash":"solid",'"/><a:round/><a:headEnd type="none" w="med" len="med"/><a:tailEnd type="none" w="med" len="med"/>'),L+="</a:".concat(ce.name,">")):L+="<a:".concat(ce.name,' w="0" cap="flat" cmpd="sng" algn="ctr"><a:noFill/></a:').concat(ce.name,">")}),L+=te,L+=" </a:tcPr>",L+=" </a:tc>"}),L+="</a:tr>"}),L+=" </a:tbl>",L+=" </a:graphicData>",L+=" </a:graphic>",L+="</p:graphicFrame>",n+=L,r++;break;case Kt.text:case Kt.placeholder:if(!o.options.line&&x===0&&(x=Bt*.3),o.options._bodyProp||(o.options._bodyProp={}),o.options.margin&&Array.isArray(o.options.margin)?(o.options._bodyProp.lIns=Ct(o.options.margin[0]||0),o.options._bodyProp.rIns=Ct(o.options.margin[1]||0),o.options._bodyProp.bIns=Ct(o.options.margin[2]||0),o.options._bodyProp.tIns=Ct(o.options.margin[3]||0)):typeof o.options.margin=="number"&&(o.options._bodyProp.lIns=Ct(o.options.margin),o.options._bodyProp.rIns=Ct(o.options.margin),o.options._bodyProp.bIns=Ct(o.options.margin),o.options._bodyProp.tIns=Ct(o.options.margin)),n+="<p:sp>",n+='<p:nvSpPr><p:cNvPr id="'.concat(i+2,'" name="').concat(o.options.objectName,'">'),!((l=o.options.hyperlink)===null||l===void 0)&&l.url&&(n+='<a:hlinkClick r:id="rId'.concat(o.options.hyperlink._rId,'" tooltip="').concat(o.options.hyperlink.tooltip?Dt(o.options.hyperlink.tooltip):"",'"/>')),!((c=o.options.hyperlink)===null||c===void 0)&&c.slide&&(n+='<a:hlinkClick r:id="rId'.concat(o.options.hyperlink._rId,'" tooltip="').concat(o.options.hyperlink.tooltip?Dt(o.options.hyperlink.tooltip):"",'" action="ppaction://hlinksldjump"/>')),n+="</p:cNvPr>",n+="<p:cNvSpPr"+(!((u=o.options)===null||u===void 0)&&u.isTextBox?' txBox="1"/>':"/>"),n+="<p:nvPr>".concat(o._type==="placeholder"?Xv(o):Xv(y),"</p:nvPr>"),n+="</p:nvSpPr><p:spPr>",n+="<a:xfrm".concat(R,">"),n+='<a:off x="'.concat(p,'" y="').concat(v,'"/>'),n+='<a:ext cx="'.concat(m,'" cy="').concat(x,'"/></a:xfrm>'),o.shape==="custGeom")n+="<a:custGeom><a:avLst />",n+="<a:gdLst>",n+="</a:gdLst>",n+="<a:ahLst />",n+="<a:cxnLst>",n+="</a:cxnLst>",n+='<a:rect l="l" t="t" r="r" b="b" />',n+="<a:pathLst>",n+='<a:path w="'.concat(m,'" h="').concat(x,'">'),(f=o.options.points)===null||f===void 0||f.forEach(function(B,D){if("curve"in B)switch(B.curve.type){case"arc":n+='<a:arcTo hR="'.concat(en(B.curve.hR,"Y",e._presLayout),'" wR="').concat(en(B.curve.wR,"X",e._presLayout),'" stAng="').concat(hu(B.curve.stAng),'" swAng="').concat(hu(B.curve.swAng),'" />');break;case"cubic":n+=`<a:cubicBezTo>
|
||
<a:pt x="`.concat(en(B.curve.x1,"X",e._presLayout),'" y="').concat(en(B.curve.y1,"Y",e._presLayout),`" />
|
||
<a:pt x="`).concat(en(B.curve.x2,"X",e._presLayout),'" y="').concat(en(B.curve.y2,"Y",e._presLayout),`" />
|
||
<a:pt x="`).concat(en(B.x,"X",e._presLayout),'" y="').concat(en(B.y,"Y",e._presLayout),`" />
|
||
</a:cubicBezTo>`);break;case"quadratic":n+=`<a:quadBezTo>
|
||
<a:pt x="`.concat(en(B.curve.x1,"X",e._presLayout),'" y="').concat(en(B.curve.y1,"Y",e._presLayout),`" />
|
||
<a:pt x="`).concat(en(B.x,"X",e._presLayout),'" y="').concat(en(B.y,"Y",e._presLayout),`" />
|
||
</a:quadBezTo>`);break}else"close"in B?n+="<a:close />":B.moveTo||D===0?n+='<a:moveTo><a:pt x="'.concat(en(B.x,"X",e._presLayout),'" y="').concat(en(B.y,"Y",e._presLayout),'" /></a:moveTo>'):n+='<a:lnTo><a:pt x="'.concat(en(B.x,"X",e._presLayout),'" y="').concat(en(B.y,"Y",e._presLayout),'" /></a:lnTo>')}),n+="</a:path>",n+="</a:pathLst>",n+="</a:custGeom>";else{if(n+='<a:prstGeom prst="'+o.shape+'"><a:avLst>',o.options.rectRadius)n+='<a:gd name="adj" fmla="val '.concat(Math.round(o.options.rectRadius*Bt*1e5/Math.min(m,x)),'"/>');else if(o.options.angleRange){for(var X=0;X<2;X++){var Y=o.options.angleRange[X];n+='<a:gd name="adj'.concat(X+1,'" fmla="val ').concat(hu(Y),'" />')}o.options.arcThicknessRatio&&(n+='<a:gd name="adj3" fmla="val '.concat(Math.round(o.options.arcThicknessRatio*5e4),'" />'))}n+="</a:avLst></a:prstGeom>"}n+=o.options.fill?Ni(o.options.fill):"<a:noFill/>",o.options.line&&(n+=o.options.line.width?'<a:ln w="'.concat(Ct(o.options.line.width),'">'):"<a:ln>",o.options.line.color&&(n+=Ni(o.options.line)),o.options.line.dashType&&(n+='<a:prstDash val="'.concat(o.options.line.dashType,'"/>')),o.options.line.beginArrowType&&(n+='<a:headEnd type="'.concat(o.options.line.beginArrowType,'"/>')),o.options.line.endArrowType&&(n+='<a:tailEnd type="'.concat(o.options.line.endArrowType,'"/>')),n+="</a:ln>"),o.options.shadow&&o.options.shadow.type!=="none"&&(o.options.shadow.type=o.options.shadow.type||"outer",o.options.shadow.blur=Ct(o.options.shadow.blur||8),o.options.shadow.offset=Ct(o.options.shadow.offset||4),o.options.shadow.angle=Math.round((o.options.shadow.angle||270)*6e4),o.options.shadow.opacity=Math.round((o.options.shadow.opacity||.75)*1e5),o.options.shadow.color=o.options.shadow.color||yk.color,n+="<a:effectLst>",n+=" <a:".concat(o.options.shadow.type,"Shdw ").concat(o.options.shadow.type==="outer"?'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"':"",' blurRad="').concat(o.options.shadow.blur,'" dist="').concat(o.options.shadow.offset,'" dir="').concat(o.options.shadow.angle,'">'),n+=' <a:srgbClr val="'.concat(o.options.shadow.color,'">'),n+=' <a:alpha val="'.concat(o.options.shadow.opacity,'"/></a:srgbClr>'),n+=" </a:outerShdw>",n+="</a:effectLst>"),n+="</p:spPr>",n+=Mk(o),n+="</p:sp>";break;case Kt.image:if(n+="<p:pic>",n+=" <p:nvPicPr>",n+='<p:cNvPr id="'.concat(i+2,'" name="').concat(o.options.objectName,'" descr="').concat(Dt(o.options.altText||o.image),'">'),!((d=o.hyperlink)===null||d===void 0)&&d.url&&(n+='<a:hlinkClick r:id="rId'.concat(o.hyperlink._rId,'" tooltip="').concat(o.hyperlink.tooltip?Dt(o.hyperlink.tooltip):"",'"/>')),!((h=o.hyperlink)===null||h===void 0)&&h.slide&&(n+='<a:hlinkClick r:id="rId'.concat(o.hyperlink._rId,'" tooltip="').concat(o.hyperlink.tooltip?Dt(o.hyperlink.tooltip):"",'" action="ppaction://hlinksldjump"/>')),n+=" </p:cNvPr>",n+=' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>',n+=" <p:nvPr>"+Xv(y)+"</p:nvPr>",n+=" </p:nvPicPr>",n+="<p:blipFill>",(e._relsMedia||[]).filter(function(B){return B.rId===o.imageRid})[0]&&(e._relsMedia||[]).filter(function(B){return B.rId===o.imageRid})[0].extn==="svg"?(n+='<a:blip r:embed="rId'.concat(o.imageRid-1,'">'),n+=o.options.transparency?' <a:alphaModFix amt="'.concat(Math.round((100-o.options.transparency)*1e3),'"/>'):"",n+=" <a:extLst>",n+=' <a:ext uri="{96DAC541-7B7A-43D3-8B79-37D633B846F1}">',n+=' <asvg:svgBlip xmlns:asvg="http://schemas.microsoft.com/office/drawing/2016/SVG/main" r:embed="rId'.concat(o.imageRid,'"/>'),n+=" </a:ext>",n+=" </a:extLst>",n+="</a:blip>"):(n+='<a:blip r:embed="rId'.concat(o.imageRid,'">'),n+=o.options.transparency?'<a:alphaModFix amt="'.concat(Math.round((100-o.options.transparency)*1e3),'"/>'):"",n+="</a:blip>"),k!=null&&k.type){var $=k.w?en(k.w,"X",e._presLayout):m,le=k.h?en(k.h,"Y",e._presLayout):x,Q=en(k.x||0,"X",e._presLayout),K=en(k.y||0,"Y",e._presLayout);n+=V3e[k.type]({w:P,h:W},{w:$,h:le,x:Q,y:K}),P=$,W=le}else n+=" <a:stretch><a:fillRect/></a:stretch>";n+="</p:blipFill>",n+="<p:spPr>",n+=" <a:xfrm"+R+">",n+=' <a:off x="'.concat(p,'" y="').concat(v,'"/>'),n+=' <a:ext cx="'.concat(P,'" cy="').concat(W,'"/>'),n+=" </a:xfrm>",n+=' <a:prstGeom prst="'.concat(E?"ellipse":"rect",'"><a:avLst/></a:prstGeom>'),o.options.shadow&&o.options.shadow.type!=="none"&&(o.options.shadow.type=o.options.shadow.type||"outer",o.options.shadow.blur=Ct(o.options.shadow.blur||8),o.options.shadow.offset=Ct(o.options.shadow.offset||4),o.options.shadow.angle=Math.round((o.options.shadow.angle||270)*6e4),o.options.shadow.opacity=Math.round((o.options.shadow.opacity||.75)*1e5),o.options.shadow.color=o.options.shadow.color||yk.color,n+="<a:effectLst>",n+="<a:".concat(o.options.shadow.type,"Shdw ").concat(o.options.shadow.type==="outer"?'sx="100000" sy="100000" kx="0" ky="0" algn="bl" rotWithShape="0"':"",' blurRad="').concat(o.options.shadow.blur,'" dist="').concat(o.options.shadow.offset,'" dir="').concat(o.options.shadow.angle,'">'),n+='<a:srgbClr val="'.concat(o.options.shadow.color,'">'),n+='<a:alpha val="'.concat(o.options.shadow.opacity,'"/></a:srgbClr>'),n+="</a:".concat(o.options.shadow.type,"Shdw>"),n+="</a:effectLst>"),n+="</p:spPr>",n+="</p:pic>";break;case Kt.media:o.mtype==="online"?(n+="<p:pic>",n+=" <p:nvPicPr>",n+='<p:cNvPr id="'.concat(o.mediaRid+2,'" name="').concat(o.options.objectName,'"/>'),n+=" <p:cNvPicPr/>",n+=" <p:nvPr>",n+=' <a:videoFile r:link="rId'.concat(o.mediaRid,'"/>'),n+=" </p:nvPr>",n+=" </p:nvPicPr>",n+=' <p:blipFill><a:blip r:embed="rId'.concat(o.mediaRid+1,'"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),n+=" <p:spPr>",n+=" <a:xfrm".concat(R,'><a:off x="').concat(p,'" y="').concat(v,'"/><a:ext cx="').concat(m,'" cy="').concat(x,'"/></a:xfrm>'),n+=' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>',n+=" </p:spPr>",n+="</p:pic>"):(n+="<p:pic>",n+=" <p:nvPicPr>",n+='<p:cNvPr id="'.concat(o.mediaRid+2,'" name="').concat(o.options.objectName,'"><a:hlinkClick r:id="" action="ppaction://media"/></p:cNvPr>'),n+=' <p:cNvPicPr><a:picLocks noChangeAspect="1"/></p:cNvPicPr>',n+=" <p:nvPr>",n+=' <a:videoFile r:link="rId'.concat(o.mediaRid,'"/>'),n+=" <p:extLst>",n+=' <p:ext uri="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}">',n+=' <p14:media xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" r:embed="rId'.concat(o.mediaRid+1,'"/>'),n+=" </p:ext>",n+=" </p:extLst>",n+=" </p:nvPr>",n+=" </p:nvPicPr>",n+=' <p:blipFill><a:blip r:embed="rId'.concat(o.mediaRid+2,'"/><a:stretch><a:fillRect/></a:stretch></p:blipFill>'),n+=" <p:spPr>",n+=" <a:xfrm".concat(R,'><a:off x="').concat(p,'" y="').concat(v,'"/><a:ext cx="').concat(m,'" cy="').concat(x,'"/></a:xfrm>'),n+=' <a:prstGeom prst="rect"><a:avLst/></a:prstGeom>',n+=" </p:spPr>",n+="</p:pic>");break;case Kt.chart:n+="<p:graphicFrame>",n+=" <p:nvGraphicFramePr>",n+=' <p:cNvPr id="'.concat(i+2,'" name="').concat(o.options.objectName,'" descr="').concat(Dt(o.options.altText||""),'"/>'),n+=" <p:cNvGraphicFramePr/>",n+=" <p:nvPr>".concat(Xv(y),"</p:nvPr>"),n+=" </p:nvGraphicFramePr>",n+=' <p:xfrm><a:off x="'.concat(p,'" y="').concat(v,'"/><a:ext cx="').concat(m,'" cy="').concat(x,'"/></p:xfrm>'),n+=' <a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">',n+=' <a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/chart">',n+=' <c:chart r:id="rId'.concat(o.chartRid,'" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"/>'),n+=" </a:graphicData>",n+=" </a:graphic>",n+="</p:graphicFrame>";break;default:n+="";break}}),e._slideNumberProps&&(e._slideNumberProps.align||(e._slideNumberProps.align="left"),n+="<p:sp>",n+=" <p:nvSpPr>",n+=' <p:cNvPr id="25" name="Slide Number Placeholder 0"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr>',n+=' <p:nvPr><p:ph type="sldNum" sz="quarter" idx="4294967295"/></p:nvPr>',n+=" </p:nvSpPr>",n+=" <p:spPr>",n+="<a:xfrm>"+'<a:off x="'.concat(en(e._slideNumberProps.x,"X",e._presLayout),'" y="').concat(en(e._slideNumberProps.y,"Y",e._presLayout),'"/>')+'<a:ext cx="'.concat(e._slideNumberProps.w?en(e._slideNumberProps.w,"X",e._presLayout):"800000",'" cy="').concat(e._slideNumberProps.h?en(e._slideNumberProps.h,"Y",e._presLayout):"300000",'"/>')+'</a:xfrm> <a:prstGeom prst="rect"><a:avLst/></a:prstGeom> <a:extLst><a:ext uri="{C572A759-6A51-4108-AA02-DFA0A04FC94B}"><ma14:wrappingTextBoxFlag val="0" xmlns:ma14="http://schemas.microsoft.com/office/mac/drawingml/2011/main"/></a:ext></a:extLst></p:spPr>',n+="<p:txBody>",n+="<a:bodyPr",e._slideNumberProps.margin&&Array.isArray(e._slideNumberProps.margin)?(n+=' lIns="'.concat(Ct(e._slideNumberProps.margin[3]||0),'"'),n+=' tIns="'.concat(Ct(e._slideNumberProps.margin[0]||0),'"'),n+=' rIns="'.concat(Ct(e._slideNumberProps.margin[1]||0),'"'),n+=' bIns="'.concat(Ct(e._slideNumberProps.margin[2]||0),'"')):typeof e._slideNumberProps.margin=="number"&&(n+=' lIns="'.concat(Ct(e._slideNumberProps.margin||0),'"'),n+=' tIns="'.concat(Ct(e._slideNumberProps.margin||0),'"'),n+=' rIns="'.concat(Ct(e._slideNumberProps.margin||0),'"'),n+=' bIns="'.concat(Ct(e._slideNumberProps.margin||0),'"')),e._slideNumberProps.valign&&(n+=' anchor="'.concat(e._slideNumberProps.valign.replace("top","t").replace("middle","ctr").replace("bottom","b"),'"')),n+="/>",n+=" <a:lstStyle><a:lvl1pPr>",(e._slideNumberProps.fontFace||e._slideNumberProps.fontSize||e._slideNumberProps.color)&&(n+='<a:defRPr sz="'.concat(Math.round((e._slideNumberProps.fontSize||12)*100),'">'),e._slideNumberProps.color&&(n+=Ni(e._slideNumberProps.color)),e._slideNumberProps.fontFace&&(n+='<a:latin typeface="'.concat(e._slideNumberProps.fontFace,'"/><a:ea typeface="').concat(e._slideNumberProps.fontFace,'"/><a:cs typeface="').concat(e._slideNumberProps.fontFace,'"/>')),n+="</a:defRPr>"),n+="</a:lvl1pPr></a:lstStyle>",n+="<a:p>",e._slideNumberProps.align.startsWith("l")?n+='<a:pPr algn="l"/>':e._slideNumberProps.align.startsWith("c")?n+='<a:pPr algn="ctr"/>':e._slideNumberProps.align.startsWith("r")?n+='<a:pPr algn="r"/>':n+='<a:pPr algn="l"/>',n+='<a:fld id="'.concat(dE,'" type="slidenum"><a:rPr b="').concat(e._slideNumberProps.bold?1:0,'" lang="en-US"/>'),n+="<a:t>".concat(e._slideNum,'</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p>'),n+="</p:txBody></p:sp>"),n+="</p:spTree>",n+="</p:cSld>",n}function z5(e,t){var n=0,r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+zr+'<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">';return e._rels.forEach(function(o){n=Math.max(n,o.rId),o.type.toLowerCase().includes("hyperlink")?o.data==="slide"?r+='<Relationship Id="rId'.concat(o.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slide').concat(o.Target,'.xml"/>'):r+='<Relationship Id="rId'.concat(o.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="').concat(o.Target,'" TargetMode="External"/>'):o.type.toLowerCase().includes("notesSlide")&&(r+='<Relationship Id="rId'.concat(o.rId,'" Target="').concat(o.Target,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"/>'))}),(e._relsChart||[]).forEach(function(o){n=Math.max(n,o.rId),r+='<Relationship Id="rId'.concat(o.rId,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" Target="').concat(o.Target,'"/>')}),(e._relsMedia||[]).forEach(function(o){var i=o.rId.toString();n=Math.max(n,o.rId),o.type.toLowerCase().includes("image")?r+='<Relationship Id="rId'+i+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+o.Target+'"/>':o.type.toLowerCase().includes("audio")?r.includes(' Target="'+o.Target+'"')?r+='<Relationship Id="rId'+i+'" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="'+o.Target+'"/>':r+='<Relationship Id="rId'+i+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/audio" Target="'+o.Target+'"/>':o.type.toLowerCase().includes("video")?r.includes(' Target="'+o.Target+'"')?r+='<Relationship Id="rId'+i+'" Type="http://schemas.microsoft.com/office/2007/relationships/media" Target="'+o.Target+'"/>':r+='<Relationship Id="rId'+i+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" Target="'+o.Target+'"/>':o.type.toLowerCase().includes("online")&&(r.includes(' Target="'+o.Target+'"')?r+='<Relationship Id="rId'+i+'" Type="http://schemas.microsoft.com/office/2007/relationships/image" Target="'+o.Target+'"/>':r+='<Relationship Id="rId'+i+'" Target="'+o.Target+'" TargetMode="External" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/video"/>')}),t.forEach(function(o,i){r+='<Relationship Id="rId'.concat(n+i+1,'" Type="').concat(o.type,'" Target="').concat(o.target,'"/>')}),r+="</Relationships>",r}function Sk(e,t){var n,r,o="",i="",a="",s="",l=t?"a:lvl1pPr":"a:pPr",c=Ct(b3e),u="<".concat(l).concat(e.options.rtlMode?' rtl="1" ':"");{if(e.options.align)switch(e.options.align){case"left":u+=' algn="l"';break;case"right":u+=' algn="r"';break;case"center":u+=' algn="ctr"';break;case"justify":u+=' algn="just"';break;default:u+="";break}if(e.options.lineSpacing?i='<a:lnSpc><a:spcPts val="'.concat(Math.round(e.options.lineSpacing*100),'"/></a:lnSpc>'):e.options.lineSpacingMultiple&&(i='<a:lnSpc><a:spcPct val="'.concat(Math.round(e.options.lineSpacingMultiple*1e5),'"/></a:lnSpc>')),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&e.options.indentLevel>0&&(u+=' lvl="'.concat(e.options.indentLevel,'"')),e.options.paraSpaceBefore&&!isNaN(Number(e.options.paraSpaceBefore))&&e.options.paraSpaceBefore>0&&(a+='<a:spcBef><a:spcPts val="'.concat(Math.round(e.options.paraSpaceBefore*100),'"/></a:spcBef>')),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&e.options.paraSpaceAfter>0&&(a+='<a:spcAft><a:spcPts val="'.concat(Math.round(e.options.paraSpaceAfter*100),'"/></a:spcAft>')),typeof e.options.bullet=="object")if(!((r=(n=e==null?void 0:e.options)===null||n===void 0?void 0:n.bullet)===null||r===void 0)&&r.indent&&(c=Ct(e.options.bullet.indent)),e.options.bullet.type)e.options.bullet.type.toString().toLowerCase()==="number"&&(u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?c+c*e.options.indentLevel:c,'" indent="-').concat(c,'"'),o='<a:buSzPct val="100000"/><a:buFont typeface="+mj-lt"/><a:buAutoNum type="'.concat(e.options.bullet.style||"arabicPeriod",'" startAt="').concat(e.options.bullet.numberStartAt||e.options.bullet.startAt||"1",'"/>'));else if(e.options.bullet.characterCode){var f="&#x".concat(e.options.bullet.characterCode,";");/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)||(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),f=od.DEFAULT),u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?c+c*e.options.indentLevel:c,'" indent="-').concat(c,'"'),o='<a:buSzPct val="100000"/><a:buChar char="'+f+'"/>'}else if(e.options.bullet.code){var f="&#x".concat(e.options.bullet.code,";");/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)||(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),f=od.DEFAULT),u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?c+c*e.options.indentLevel:c,'" indent="-').concat(c,'"'),o='<a:buSzPct val="100000"/><a:buChar char="'+f+'"/>'}else u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?c+c*e.options.indentLevel:c,'" indent="-').concat(c,'"'),o='<a:buSzPct val="100000"/><a:buChar char="'.concat(od.DEFAULT,'"/>');else e.options.bullet?(u+=' marL="'.concat(e.options.indentLevel&&e.options.indentLevel>0?c+c*e.options.indentLevel:c,'" indent="-').concat(c,'"'),o='<a:buSzPct val="100000"/><a:buChar char="'.concat(od.DEFAULT,'"/>')):e.options.bullet||(u+=' indent="0" marL="0"',o="<a:buNone/>");if(e.options.tabStops&&Array.isArray(e.options.tabStops)){var d=e.options.tabStops.map(function(h){return'<a:tab pos="'.concat(fn(h.position||1),'" algn="').concat(h.alignment||"l",'"/>')}).join("");s="<a:tabLst>".concat(d,"</a:tabLst>")}u+=">"+i+a+o+s,t&&(u+=mE(e.options,!0)),u+="</"+l+">"}return u}function mE(e,t){var n,r="",o=t?"a:defRPr":"a:rPr";if(r+="<"+o+' lang="'+(e.lang?e.lang:"en-US")+'"'+(e.lang?' altLang="en-US"':""),r+=e.fontSize?' sz="'.concat(Math.round(e.fontSize*100),'"'):"",r+=e!=null&&e.bold?' b="'.concat(e.bold?"1":"0",'"'):"",r+=e!=null&&e.italic?' i="'.concat(e.italic?"1":"0",'"'):"",r+=e!=null&&e.strike?' strike="'.concat(typeof e.strike=="string"?e.strike:"sngStrike",'"'):"",typeof e.underline=="object"&&(!((n=e.underline)===null||n===void 0)&&n.style)?r+=' u="'.concat(e.underline.style,'"'):typeof e.underline=="string"?r+=' u="'.concat(String(e.underline),'"'):e.hyperlink&&(r+=' u="sng"'),e.baseline?r+=' baseline="'.concat(Math.round(e.baseline*50),'"'):e.subscript?r+=' baseline="-40000"':e.superscript&&(r+=' baseline="30000"'),r+=e.charSpacing?' spc="'.concat(Math.round(e.charSpacing*100),'" kern="0"'):"",r+=' dirty="0">',(e.color||e.fontFace||e.outline||typeof e.underline=="object"&&e.underline.color)&&(e.outline&&typeof e.outline=="object"&&(r+='<a:ln w="'.concat(Ct(e.outline.size||.75),'">').concat(Ni(e.outline.color||"FFFFFF"),"</a:ln>")),e.color&&(r+=Ni({color:e.color,transparency:e.transparency})),e.highlight&&(r+="<a:highlight>".concat(Rn(e.highlight),"</a:highlight>")),typeof e.underline=="object"&&e.underline.color&&(r+="<a:uFill>".concat(Ni(e.underline.color),"</a:uFill>")),e.glow&&(r+="<a:effectLst>".concat(L3e(e.glow,S3e),"</a:effectLst>")),e.fontFace&&(r+='<a:latin typeface="'.concat(e.fontFace,'" pitchFamily="34" charset="0"/><a:ea typeface="').concat(e.fontFace,'" pitchFamily="34" charset="-122"/><a:cs typeface="').concat(e.fontFace,'" pitchFamily="34" charset="-120"/>'))),e.hyperlink){if(typeof e.hyperlink!="object")throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");e.hyperlink.url?r+='<a:hlinkClick r:id="rId'.concat(e.hyperlink._rId,'" invalidUrl="" action="" tgtFrame="" tooltip="').concat(e.hyperlink.tooltip?Dt(e.hyperlink.tooltip):"",'" history="1" highlightClick="0" endSnd="0"').concat(e.color?">":"/>"):e.hyperlink.slide&&(r+='<a:hlinkClick r:id="rId'.concat(e.hyperlink._rId,'" action="ppaction://hlinksldjump" tooltip="').concat(e.hyperlink.tooltip?Dt(e.hyperlink.tooltip):"",'"').concat(e.color?">":"/>")),e.color&&(r+=" <a:extLst>",r+=' <a:ext uri="{A12FA001-AC4F-418D-AE19-62706E023703}">',r+=' <ahyp:hlinkClr xmlns:ahyp="http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" val="tx"/>',r+=" </a:ext>",r+=" </a:extLst>",r+="</a:hlinkClick>")}return r+="</".concat(o,">"),r}function U3e(e){return e.text?"<a:r>".concat(mE(e.options,!1),"<a:t>").concat(Dt(e.text),"</a:t></a:r>"):""}function Y3e(e){var t="<a:bodyPr";return e&&e._type===Kt.text&&e.options._bodyProp?(t+=e.options._bodyProp.wrap?' wrap="square"':' wrap="none"',(e.options._bodyProp.lIns||e.options._bodyProp.lIns===0)&&(t+=' lIns="'.concat(e.options._bodyProp.lIns,'"')),(e.options._bodyProp.tIns||e.options._bodyProp.tIns===0)&&(t+=' tIns="'.concat(e.options._bodyProp.tIns,'"')),(e.options._bodyProp.rIns||e.options._bodyProp.rIns===0)&&(t+=' rIns="'.concat(e.options._bodyProp.rIns,'"')),(e.options._bodyProp.bIns||e.options._bodyProp.bIns===0)&&(t+=' bIns="'.concat(e.options._bodyProp.bIns,'"')),t+=' rtlCol="0"',e.options._bodyProp.anchor&&(t+=' anchor="'+e.options._bodyProp.anchor+'"'),e.options._bodyProp.vert&&(t+=' vert="'+e.options._bodyProp.vert+'"'),t+=">",e.options.fit&&(e.options.fit==="none"?t+="":e.options.fit==="shrink"?t+="<a:normAutofit/>":e.options.fit==="resize"&&(t+="<a:spAutoFit/>")),e.options.shrinkText&&(t+="<a:normAutofit/>"),t+=e.options._bodyProp.autoFit?"<a:spAutoFit/>":"",t+="</a:bodyPr>"):(t+=' wrap="square" rtlCol="0">',t+="</a:bodyPr>"),e._type===Kt.tablecell?"<a:bodyPr/>":t}function Mk(e){var t=e.options||{},n=[],r=[];if(t&&e._type!==Kt.tablecell&&(typeof e.text>"u"||e.text===null))return"";var o=e._type===Kt.tablecell?"<a:txBody>":"<p:txBody>";o+=Y3e(e),t.h===0&&t.line&&t.align?o+='<a:lstStyle><a:lvl1pPr algn="l"/></a:lstStyle>':e._type==="placeholder"?o+="<a:lstStyle>".concat(Sk(e,!0),"</a:lstStyle>"):o+="<a:lstStyle/>",typeof e.text=="string"||typeof e.text=="number"?n.push({text:e.text.toString(),options:t||{}}):e.text&&!Array.isArray(e.text)&&typeof e.text=="object"&&Object.keys(e.text).includes("text")?n.push({text:e.text||"",options:e.options||{}}):Array.isArray(e.text)&&(n=e.text.map(function(s){return{text:s.text,options:s.options}})),n.forEach(function(s,l){s.text||(s.text=""),s.options=s.options||t||{},l===0&&s.options&&!s.options.bullet&&t.bullet&&(s.options.bullet=t.bullet),(typeof s.text=="string"||typeof s.text=="number")&&(s.text=s.text.toString().replace(/\r*\n/g,zr)),s.text.includes(zr)&&s.text.match(/\n$/g)===null?s.text.split(zr).forEach(function(c){s.options.breakLine=!0,r.push({text:c,options:s.options})}):r.push(s)});var i=[],a=[];return r.forEach(function(s,l){a.length>0&&(s.options.align||t.align)?s.options.align!==r[l-1].options.align&&(i.push(a),a=[]):a.length>0&&s.options.bullet&&a.length>0&&(i.push(a),a=[],s.options.breakLine=!1),a.push(s),a.length>0&&s.options.breakLine&&l+1<r.length&&(i.push(a),a=[]),l+1===r.length&&i.push(a)}),i.forEach(function(s){var l,c=!1;o+="<a:p>";var u="<a:pPr ".concat(!((l=s[0].options)===null||l===void 0)&&l.rtlMode?' rtl="1" ':"");s.forEach(function(f,d){f.options._lineIdx=d,d>0&&f.options.softBreakBefore&&(o+="<a:br/>"),f.options.align=f.options.align||t.align,f.options.lineSpacing=f.options.lineSpacing||t.lineSpacing,f.options.lineSpacingMultiple=f.options.lineSpacingMultiple||t.lineSpacingMultiple,f.options.indentLevel=f.options.indentLevel||t.indentLevel,f.options.paraSpaceBefore=f.options.paraSpaceBefore||t.paraSpaceBefore,f.options.paraSpaceAfter=f.options.paraSpaceAfter||t.paraSpaceAfter,u=Sk(f,!1),o+=u.replace("<a:pPr></a:pPr>",""),Object.entries(t).filter(function(h){var p=h[0];return h[1],!(f.options.hyperlink&&p==="color")}).forEach(function(h){var p=h[0],v=h[1];p!=="bullet"&&!f.options[p]&&(f.options[p]=v)}),o+=U3e(f),(!f.text&&t.fontSize||f.options.fontSize)&&(c=!0,t.fontSize=t.fontSize||f.options.fontSize)}),e._type===Kt.tablecell&&(t.fontSize||t.fontFace)?t.fontFace?(o+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0">',o+='<a:latin typeface="'.concat(t.fontFace,'" charset="0"/>'),o+='<a:ea typeface="'.concat(t.fontFace,'" charset="0"/>'),o+='<a:cs typeface="'.concat(t.fontFace,'" charset="0"/>'),o+="</a:endParaRPr>"):o+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0"/>':c?o+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'"')+(t.fontSize?' sz="'.concat(Math.round(t.fontSize*100),'"'):"")+' dirty="0"/>':o+='<a:endParaRPr lang="'.concat(t.lang||"en-US",'" dirty="0"/>'),o+="</a:p>"}),o+=e._type===Kt.tablecell?"</a:txBody>":"</p:txBody>",o}function Xv(e){var t,n;if(!e)return"";var r=!((t=e.options)===null||t===void 0)&&t._placeholderIdx?e.options._placeholderIdx:"",o=!((n=e.options)===null||n===void 0)&&n._placeholderType?e.options._placeholderType:"",i=o&&Qh[o]?Qh[o].toString():"";return`<p:ph
|
||
`.concat(r?' idx="'+r.toString()+'"':"",`
|
||
`).concat(i&&Qh[i]?' type="'.concat(i,'"'):"",`
|
||
`).concat(e.text&&e.text.length>0?' hasCustomPrompt="1"':"",`
|
||
/>`)}function Q3e(e,t,n){var r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+zr;return r+='<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">',r+='<Default Extension="xml" ContentType="application/xml"/>',r+='<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>',r+='<Default Extension="jpeg" ContentType="image/jpeg"/>',r+='<Default Extension="jpg" ContentType="image/jpg"/>',r+='<Default Extension="svg" ContentType="image/svg+xml"/>',r+='<Default Extension="png" ContentType="image/png"/>',r+='<Default Extension="gif" ContentType="image/gif"/>',r+='<Default Extension="m4v" ContentType="video/mp4"/>',r+='<Default Extension="mp4" ContentType="video/mp4"/>',e.forEach(function(o){(o._relsMedia||[]).forEach(function(i){i.type!=="image"&&i.type!=="online"&&i.type!=="chart"&&i.extn!=="m4v"&&!r.includes(i.type)&&(r+='<Default Extension="'+i.extn+'" ContentType="'+i.type+'"/>')})}),r+='<Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>',r+='<Default Extension="xlsx" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>',r+='<Override PartName="/ppt/presentation.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"/>',r+='<Override PartName="/ppt/notesMasters/notesMaster1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml"/>',e.forEach(function(o,i){r+='<Override PartName="/ppt/slideMasters/slideMaster'.concat(i+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"/>'),r+='<Override PartName="/ppt/slides/slide'.concat(i+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"/>'),o._relsChart.forEach(function(a){r+='<Override PartName="'.concat(a.Target,'" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>')})}),r+='<Override PartName="/ppt/presProps.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presProps+xml"/>',r+='<Override PartName="/ppt/viewProps.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml"/>',r+='<Override PartName="/ppt/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>',r+='<Override PartName="/ppt/tableStyles.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml"/>',t.forEach(function(o,i){r+='<Override PartName="/ppt/slideLayouts/slideLayout'.concat(i+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"/>'),(o._relsChart||[]).forEach(function(a){r+=' <Override PartName="'+a.Target+'" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'})}),e.forEach(function(o,i){r+='<Override PartName="/ppt/notesSlides/notesSlide'.concat(i+1,'.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml"/>')}),n._relsChart.forEach(function(o){r+=' <Override PartName="'+o.Target+'" ContentType="application/vnd.openxmlformats-officedocument.drawingml.chart+xml"/>'}),n._relsMedia.forEach(function(o){o.type!=="image"&&o.type!=="online"&&o.type!=="chart"&&o.extn!=="m4v"&&!r.includes(o.type)&&(r+=' <Default Extension="'+o.extn+'" ContentType="'+o.type+'"/>')}),r+=' <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>',r+=' <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>',r+="</Types>",r}function Z3e(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr,`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>
|
||
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
|
||
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="ppt/presentation.xml"/>
|
||
</Relationships>`)}function B3e(e,t){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr,`<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">
|
||
<TotalTime>0</TotalTime>
|
||
<Words>0</Words>
|
||
<Application>Microsoft Office PowerPoint</Application>
|
||
<PresentationFormat>On-screen Show (16:9)</PresentationFormat>
|
||
<Paragraphs>0</Paragraphs>
|
||
<Slides>`).concat(e.length,`</Slides>
|
||
<Notes>`).concat(e.length,`</Notes>
|
||
<HiddenSlides>0</HiddenSlides>
|
||
<MMClips>0</MMClips>
|
||
<ScaleCrop>false</ScaleCrop>
|
||
<HeadingPairs>
|
||
<vt:vector size="6" baseType="variant">
|
||
<vt:variant><vt:lpstr>Fonts Used</vt:lpstr></vt:variant>
|
||
<vt:variant><vt:i4>2</vt:i4></vt:variant>
|
||
<vt:variant><vt:lpstr>Theme</vt:lpstr></vt:variant>
|
||
<vt:variant><vt:i4>1</vt:i4></vt:variant>
|
||
<vt:variant><vt:lpstr>Slide Titles</vt:lpstr></vt:variant>
|
||
<vt:variant><vt:i4>`).concat(e.length,`</vt:i4></vt:variant>
|
||
</vt:vector>
|
||
</HeadingPairs>
|
||
<TitlesOfParts>
|
||
<vt:vector size="`).concat(e.length+1+2,`" baseType="lpstr">
|
||
<vt:lpstr>Arial</vt:lpstr>
|
||
<vt:lpstr>Calibri</vt:lpstr>
|
||
<vt:lpstr>Office Theme</vt:lpstr>
|
||
`).concat(e.map(function(n,r){return"<vt:lpstr>Slide ".concat(r+1,"</vt:lpstr>")}).join(""),`
|
||
</vt:vector>
|
||
</TitlesOfParts>
|
||
<Company>`).concat(t,`</Company>
|
||
<LinksUpToDate>false</LinksUpToDate>
|
||
<SharedDoc>false</SharedDoc>
|
||
<HyperlinksChanged>false</HyperlinksChanged>
|
||
<AppVersion>16.0000</AppVersion>
|
||
</Properties>`)}function D3e(e,t,n,r){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||
<dc:title>`.concat(Dt(e),`</dc:title>
|
||
<dc:subject>`).concat(Dt(t),`</dc:subject>
|
||
<dc:creator>`).concat(Dt(n),`</dc:creator>
|
||
<cp:lastModifiedBy>`).concat(Dt(n),`</cp:lastModifiedBy>
|
||
<cp:revision>`).concat(r,`</cp:revision>
|
||
<dcterms:created xsi:type="dcterms:W3CDTF">`).concat(new Date().toISOString().replace(/\.\d\d\dZ/,"Z"),`</dcterms:created>
|
||
<dcterms:modified xsi:type="dcterms:W3CDTF">`).concat(new Date().toISOString().replace(/\.\d\d\dZ/,"Z"),`</dcterms:modified>
|
||
</cp:coreProperties>`)}function K3e(e){var t=1,n='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+zr;n+='<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">',n+='<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" Target="slideMasters/slideMaster1.xml"/>';for(var r=1;r<=e.length;r++)n+='<Relationship Id="rId'.concat(++t,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slides/slide').concat(r,'.xml"/>');return t++,n+='<Relationship Id="rId'.concat(t+0,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="notesMasters/notesMaster1.xml"/>')+'<Relationship Id="rId'.concat(t+1,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" Target="presProps.xml"/>')+'<Relationship Id="rId'.concat(t+2,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" Target="viewProps.xml"/>')+'<Relationship Id="rId'.concat(t+3,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/>')+'<Relationship Id="rId'.concat(t+4,'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" Target="tableStyles.xml"/>')+"</Relationships>",n}function H3e(e){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr)+'<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"'+"".concat(e!=null&&e.hidden?' show="0"':"",">")+"".concat(G5(e))+"<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sld>"}function G3e(e){var t="";return e._slideObjects.forEach(function(n){n._type===Kt.notes&&(t+=n!=null&&n.text&&n.text[0]?n.text[0].text:"")}),t.replace(/\r*\n/g,zr)}function z3e(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr,'<p:notesMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Header Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="hdr" sz="quarter"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="2971800" cy="458788"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle><a:lvl1pPr algn="l"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Date Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="dt" idx="1"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="3884613" y="0"/><a:ext cx="2971800" cy="458788"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle><a:lvl1pPr algn="r"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:fld id="{5282F153-3F37-0F45-9E97-73ACFA13230C}" type="datetimeFigureOut"><a:rPr lang="en-US"/><a:t>7/23/19</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Image Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg" idx="2"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="1143000"/><a:ext cx="5486400" cy="3086100"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:noFill/><a:ln w="12700"><a:solidFill><a:prstClr val="black"/></a:solidFill></a:ln></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="ctr"/><a:lstStyle/><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="5" name="Notes Placeholder 4"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" sz="quarter" idx="3"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="4400550"/><a:ext cx="5486400" cy="3600450"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"/><a:lstStyle/><a:p><a:pPr lvl="0"/><a:r><a:rPr lang="en-US"/><a:t>Click to edit Master text styles</a:t></a:r></a:p><a:p><a:pPr lvl="1"/><a:r><a:rPr lang="en-US"/><a:t>Second level</a:t></a:r></a:p><a:p><a:pPr lvl="2"/><a:r><a:rPr lang="en-US"/><a:t>Third level</a:t></a:r></a:p><a:p><a:pPr lvl="3"/><a:r><a:rPr lang="en-US"/><a:t>Fourth level</a:t></a:r></a:p><a:p><a:pPr lvl="4"/><a:r><a:rPr lang="en-US"/><a:t>Fifth level</a:t></a:r></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="6" name="Footer Placeholder 5"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="ftr" sz="quarter" idx="4"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="0" y="8685213"/><a:ext cx="2971800" cy="458787"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="b"/><a:lstStyle><a:lvl1pPr algn="l"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="7" name="Slide Number Placeholder 6"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="5"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="3884613" y="8685213"/><a:ext cx="2971800" cy="458787"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="b"/><a:lstStyle><a:lvl1pPr algn="r"><a:defRPr sz="1200"/></a:lvl1pPr></a:lstStyle><a:p><a:fld id="{CE5E9CC1-C706-0F49-92D6-E571CC5EEA8F}" type="slidenum"><a:rPr lang="en-US"/><a:t>‹#›</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/><p:notesStyle><a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr><a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr><a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr><a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr><a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr><a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr><a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr><a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr><a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr></p:notesStyle></p:notesMaster>')}function J3e(e){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr,'<p:notes xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Slide Image Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1" noRot="1" noChangeAspect="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldImg"/></p:nvPr></p:nvSpPr><p:spPr/></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Notes Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" idx="1"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" dirty="0"/><a:t>').concat(Dt(G3e(e)),'</a:t></a:r><a:endParaRPr lang="en-US" dirty="0"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="4" name="Slide Number Placeholder 3"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="sldNum" sz="quarter" idx="10"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:fld id="').concat(dE,'" type="slidenum"><a:rPr lang="en-US"/><a:t>').concat(e._slideNum,'</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree><p:extLst><p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"><p14:creationId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1024086991"/></p:ext></p:extLst></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:notes>')}function $3e(e){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" preserve="1">
|
||
`.concat(G5(e),`
|
||
<p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`)}function j3e(e,t){var n=t.map(function(o,i){return'<p:sldLayoutId id="'.concat(R3e+i,'" r:id="rId').concat(e._rels.length+i+1,'"/>')}),r='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+zr;return r+='<p:sldMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">',r+=G5(e),r+='<p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>',r+="<p:sldLayoutIdLst>"+n.join("")+"</p:sldLayoutIdLst>",r+='<p:hf sldNum="0" hdr="0" ftr="0" dt="0"/>',r+='<p:txStyles> <p:titleStyle> <a:lvl1pPr algn="ctr" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr> </p:titleStyle> <p:bodyStyle> <a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="3200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="742950" indent="-285750" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="1143000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1600200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="–"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="2057400" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="»"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2514600" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2971800" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3429000" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3886200" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial" pitchFamily="34" charset="0"/><a:buChar char="•"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:bodyStyle> <p:otherStyle> <a:defPPr><a:defRPr lang="en-US"/></a:defPPr> <a:lvl1pPr marL="0" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr> <a:lvl2pPr marL="457200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr> <a:lvl3pPr marL="914400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr> <a:lvl4pPr marL="1371600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr> <a:lvl5pPr marL="1828800" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr> <a:lvl6pPr marL="2286000" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl6pPr> <a:lvl7pPr marL="2743200" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl7pPr> <a:lvl8pPr marL="3200400" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl8pPr> <a:lvl9pPr marL="3657600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl9pPr> </p:otherStyle></p:txStyles>',r+="</p:sldMaster>",r}function q3e(e,t){return z5(t[e-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}function ebe(e,t,n){return z5(e[n-1],[{target:"../slideLayouts/slideLayout".concat(obe(e,t,n),".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"},{target:"../notesSlides/notesSlide".concat(n,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"}])}function tbe(e){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" Target="../notesMasters/notesMaster1.xml"/>
|
||
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="../slides/slide`.concat(e,`.xml"/>
|
||
</Relationships>`)}function nbe(e,t){var n=t.map(function(r,o){return{target:"../slideLayouts/slideLayout".concat(o+1,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return n.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),z5(e,n)}function rbe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr,`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="../theme/theme1.xml"/>
|
||
</Relationships>`)}function obe(e,t,n){for(var r=0;r<t.length;r++)if(t[r]._name===e[n-1]._slideLayout._name)return r+1;return 1}function ibe(e){var t,n,r,o,i=!((t=e.theme)===null||t===void 0)&&t.headFontFace?'<a:latin typeface="'.concat((n=e.theme)===null||n===void 0?void 0:n.headFontFace,'"/>'):'<a:latin typeface="Calibri Light" panose="020F0302020204030204"/>',a=!((r=e.theme)===null||r===void 0)&&r.bodyFontFace?'<a:latin typeface="'.concat((o=e.theme)===null||o===void 0?void 0:o.bodyFontFace,'"/>'):'<a:latin typeface="Calibri" panose="020F0502020204030204"/>';return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont>'.concat(i,'<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Angsana New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont>').concat(a,'<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Cordia New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>')}function abe(e){var t='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr)+'<p:presentation xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" '+'xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" '.concat(e.rtlMode?'rtl="1"':"",' saveSubsetFonts="1" autoCompressPictures="0">');t+='<p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst>',t+="<p:sldIdLst>",e.slides.forEach(function(r){return t+='<p:sldId id="'.concat(r._slideId,'" r:id="rId').concat(r._rId,'"/>')}),t+="</p:sldIdLst>",t+='<p:notesMasterIdLst><p:notesMasterId r:id="rId'.concat(e.slides.length+2,'"/></p:notesMasterIdLst>'),t+='<p:sldSz cx="'.concat(e.presLayout.width,'" cy="').concat(e.presLayout.height,'"/>'),t+='<p:notesSz cx="'.concat(e.presLayout.height,'" cy="').concat(e.presLayout.width,'"/>'),t+="<p:defaultTextStyle>";for(var n=1;n<10;n++)t+="<a:lvl".concat(n,'pPr marL="').concat((n-1)*457200,'" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1">')+'<a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/>'+"</a:defRPr></a:lvl".concat(n,"pPr>");return t+="</p:defaultTextStyle>",e.sections&&e.sections.length>0&&(t+='<p:extLst><p:ext uri="{521415D9-36F7-43E2-AB2F-B90AF26B5E84}">',t+='<p14:sectionLst xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main">',e.sections.forEach(function(r){t+='<p14:section name="'.concat(Dt(r.title),'" id="{').concat(Ag("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),'}"><p14:sldIdLst>'),r._slides.forEach(function(o){return t+='<p14:sldId id="'.concat(o._slideId,'"/>')}),t+="</p14:sldIdLst></p14:section>"}),t+="</p14:sectionLst></p:ext>",t+='<p:ext uri="{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"><p15:sldGuideLst xmlns:p15="http://schemas.microsoft.com/office/powerpoint/2012/main"/></p:ext>',t+="</p:extLst>"),t+="</p:presentation>",t}function sbe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr,'<p:presentationPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"/>')}function lbe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr,'<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>')}function cbe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(zr,'<p:viewPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:normalViewPr horzBarState="maximized"><p:restoredLeft sz="15611"/><p:restoredTop sz="94610"/></p:normalViewPr><p:slideViewPr><p:cSldViewPr snapToGrid="0" snapToObjects="1"><p:cViewPr varScale="1"><p:scale><a:sx n="136" d="100"/><a:sy n="136" d="100"/></p:scale><p:origin x="216" y="312"/></p:cViewPr><p:guideLst/></p:cSldViewPr></p:slideViewPr><p:notesTextViewPr><p:cViewPr><p:scale><a:sx n="1" d="1"/><a:sy n="1" d="1"/></p:scale><p:origin x="0" y="0"/></p:cViewPr></p:notesTextViewPr><p:gridSpacing cx="76200" cy="76200"/></p:viewPr>')}var ube="3.12.0",fbe=function(){function e(){var t=this;this._version=ube,this._alignH=Fb,this._alignV=_b,this._chartType=Cb,this._outputType=Pb,this._schemeColor=Mi,this._shapeType=Ib,this._charts=lt,this._colors=Eb,this._shapes=xc,this.addNewSlide=function(a){var s=t.sections.length>0&&t.sections[t.sections.length-1]._slides.filter(function(l){return l._slideNum===t.slides[t.slides.length-1]._slideNum}).length>0;return a.sectionTitle=s?t.sections[t.sections.length-1].title:null,t.addSlide(a)},this.getSlide=function(a){return t.slides.filter(function(s){return s._slideNum===a})[0]},this.setSlideNumber=function(a){t.masterSlide._slideNumberProps=a,t.slideLayouts.filter(function(s){return s._name===kb})[0]._slideNumberProps=a},this.createChartMediaRels=function(a,s,l){a._relsChart.forEach(function(c){return l.push(E3e(c,s))}),a._relsMedia.forEach(function(c){if(c.type!=="online"&&c.type!=="hyperlink"){var u=c.data&&typeof c.data=="string"?c.data:"";!u.includes(",")&&!u.includes(";")?u="image/png;base64,"+u:u.includes(",")?u.includes(";")||(u="image/png;"+u):u="image/png;base64,"+u,s.file(c.Target.replace("..","ppt"),u.split(",").pop(),{base64:!0})}})},this.writeFileToBrowser=function(a,s){return $a(t,void 0,void 0,function(){var l,c;return ja(this,function(u){switch(u.label){case 0:return l=document.createElement("a"),l.setAttribute("style","display:none;"),l.dataset.interception="off",document.body.appendChild(l),window.URL.createObjectURL?(c=window.URL.createObjectURL(new Blob([s],{type:"application/vnd.openxmlformats-officedocument.presentationml.presentation"})),l.href=c,l.download=a,l.click(),setTimeout(function(){window.URL.revokeObjectURL(c),document.body.removeChild(l)},100),[4,Promise.resolve(a)]):[3,2];case 1:return[2,u.sent()];case 2:return[2]}})})},this.exportPresentation=function(a){return $a(t,void 0,void 0,function(){var s,l,c,u=this;return ja(this,function(f){switch(f.label){case 0:return s=[],l=[],c=new lE,this.slides.forEach(function(d){l=l.concat(x4(d))}),this.slideLayouts.forEach(function(d){l=l.concat(x4(d))}),l=l.concat(x4(this.masterSlide)),[4,Promise.all(l).then(function(){return $a(u,void 0,void 0,function(){var d=this;return ja(this,function(h){switch(h.label){case 0:return this.slides.forEach(function(p){p._slideLayout&&F3e(p)}),c.folder("_rels"),c.folder("docProps"),c.folder("ppt").folder("_rels"),c.folder("ppt/charts").folder("_rels"),c.folder("ppt/embeddings"),c.folder("ppt/media"),c.folder("ppt/slideLayouts").folder("_rels"),c.folder("ppt/slideMasters").folder("_rels"),c.folder("ppt/slides").folder("_rels"),c.folder("ppt/theme"),c.folder("ppt/notesMasters").folder("_rels"),c.folder("ppt/notesSlides").folder("_rels"),c.file("[Content_Types].xml",Q3e(this.slides,this.slideLayouts,this.masterSlide)),c.file("_rels/.rels",Z3e()),c.file("docProps/app.xml",B3e(this.slides,this.company)),c.file("docProps/core.xml",D3e(this.title,this.subject,this.author,this.revision)),c.file("ppt/_rels/presentation.xml.rels",K3e(this.slides)),c.file("ppt/theme/theme1.xml",ibe(this)),c.file("ppt/presentation.xml",abe(this)),c.file("ppt/presProps.xml",sbe()),c.file("ppt/tableStyles.xml",lbe()),c.file("ppt/viewProps.xml",cbe()),this.slideLayouts.forEach(function(p,v){c.file("ppt/slideLayouts/slideLayout".concat(v+1,".xml"),$3e(p)),c.file("ppt/slideLayouts/_rels/slideLayout".concat(v+1,".xml.rels"),q3e(v+1,d.slideLayouts))}),this.slides.forEach(function(p,v){c.file("ppt/slides/slide".concat(v+1,".xml"),H3e(p)),c.file("ppt/slides/_rels/slide".concat(v+1,".xml.rels"),ebe(d.slides,d.slideLayouts,v+1)),c.file("ppt/notesSlides/notesSlide".concat(v+1,".xml"),J3e(p)),c.file("ppt/notesSlides/_rels/notesSlide".concat(v+1,".xml.rels"),tbe(v+1))}),c.file("ppt/slideMasters/slideMaster1.xml",j3e(this.masterSlide,this.slideLayouts)),c.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",nbe(this.masterSlide,this.slideLayouts)),c.file("ppt/notesMasters/notesMaster1.xml",z3e()),c.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",rbe()),this.slideLayouts.forEach(function(p){d.createChartMediaRels(p,c,s)}),this.slides.forEach(function(p){d.createChartMediaRels(p,c,s)}),this.createChartMediaRels(this.masterSlide,c,s),[4,Promise.all(s).then(function(){return $a(d,void 0,void 0,function(){return ja(this,function(p){switch(p.label){case 0:return a.outputType!=="STREAM"?[3,2]:[4,c.generateAsync({type:"nodebuffer",compression:a.compression?"DEFLATE":"STORE"})];case 1:return[2,p.sent()];case 2:return a.outputType?[4,c.generateAsync({type:a.outputType})]:[3,4];case 3:return[2,p.sent()];case 4:return[4,c.generateAsync({type:"blob",compression:a.compression?"DEFLATE":"STORE"})];case 5:return[2,p.sent()]}})})})];case 1:return[2,h.sent()]}})})})];case 1:return[2,f.sent()]}})})};var n={name:"screen4x3",width:9144e3,height:6858e3},r={name:"screen16x9",width:9144e3,height:5143500},o={name:"screen16x10",width:9144e3,height:5715e3},i={name:"custom",width:12192e3,height:6858e3};this.LAYOUTS={LAYOUT_4x3:n,LAYOUT_16x9:r,LAYOUT_16x10:o,LAYOUT_WIDE:i},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[_f].name,_sizeW:this.LAYOUTS[_f].width,_sizeH:this.LAYOUTS[_f].height,width:this.LAYOUTS[_f].width,height:this.LAYOUTS[_f].height},this._rtlMode=!1,this._slideLayouts=[{_margin:mp,_name:kb,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout},set:function(t){var n=this.LAYOUTS[t];if(n)this._layout=t,this._presLayout=n;else throw new Error("UNKNOWN-LAYOUT")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"theme",{get:function(){return this._theme},set:function(t){this._theme=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),e.prototype.stream=function(t){return $a(this,void 0,void 0,function(){return ja(this,function(n){switch(n.label){case 0:return[4,this.exportPresentation({compression:t==null?void 0:t.compression,outputType:"STREAM"})];case 1:return[2,n.sent()]}})})},e.prototype.write=function(t){return $a(this,void 0,void 0,function(){var n,r;return ja(this,function(o){switch(o.label){case 0:return n=typeof t=="object"&&(t!=null&&t.outputType)?t.outputType:t||null,r=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,[4,this.exportPresentation({compression:r,outputType:n})];case 1:return[2,o.sent()]}})})},e.prototype.writeFile=function(t){return $a(this,void 0,void 0,function(){var n,r,o,i,a=this;return ja(this,function(s){switch(s.label){case 0:return n=typeof require<"u"&&typeof window>"u"?require("fs"):null,typeof t=="string"&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"),r=typeof t=="object"&&(t!=null&&t.fileName)?t.fileName:typeof t=="string"?t:"",o=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,i=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx",[4,this.exportPresentation({compression:o,outputType:n?"nodebuffer":null}).then(function(l){return $a(a,void 0,void 0,function(){return ja(this,function(c){switch(c.label){case 0:return n?[4,new Promise(function(u,f){n.writeFile(i,l,function(d){d?f(d):u(i)})})]:[3,2];case 1:return[2,c.sent()];case 2:return[4,this.writeFileToBrowser(i,l)];case 3:return[2,c.sent()]}})})})];case 1:return[2,s.sent()]}})})},e.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var n={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,n):this._sections.push(n)},e.prototype.addSlide=function(t){var n=typeof t=="string"?t:t!=null&&t.masterName?t.masterName:"",r={_name:this.LAYOUTS[_f].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(n){var o=this.slideLayouts.filter(function(l){return l._name===n})[0];o&&(r=o)}var i=new _3e({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:r});if(this._slides.push(i),t!=null&&t.sectionTitle){var a=this.sections.filter(function(l){return l.title===t.sectionTitle})[0];a?a._slides.push(i):console.warn('addSlide: unable to find section with title: "'.concat(t.sectionTitle,'"'))}else if(this.sections&&this.sections.length>0&&!(t!=null&&t.sectionTitle)){var s=this._sections[this.sections.length-1];s._type==="default"?s._slides.push(i):this._sections.push({title:"Default-".concat(this.sections.filter(function(l){return l._type==="default"}).length+1),_type:"default",_slides:[i]})}return i},e.prototype.defineLayout=function(t){t?t.name?t.width?t.height?typeof t.height!="number"?console.warn("defineLayout `height` should be a number (inches)"):typeof t.width!="number"&&console.warn("defineLayout `width` should be a number (inches)"):console.warn("defineLayout requires `height`"):console.warn("defineLayout requires `width`"):console.warn("defineLayout requires `name`"):console.warn("defineLayout requires `{name, width, height}`"),this.LAYOUTS[t.name]={name:t.name,_sizeW:Math.round(Number(t.width)*Bt),_sizeH:Math.round(Number(t.height)*Bt),width:Math.round(Number(t.width)*Bt),height:Math.round(Number(t.height)*Bt)}},e.prototype.defineSlideMaster=function(t){if(!t.title)throw new Error("defineSlideMaster() object argument requires a `title` value. (https://gitbrent.github.io/PptxGenJS/docs/masters.html)");var n={_margin:t.margin||mp,_name:t.title,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3+this.slideLayouts.length+1,_slideNumberProps:t.slideNumber||null,_slideObjects:[],background:t.background||null,bkgd:t.bkgd||null};N3e(t,n),this.slideLayouts.push(n),(t.background||t.bkgd)&&gE(t.background,n),n._slideNumberProps&&!this.masterSlide._slideNumberProps&&(this.masterSlide._slideNumberProps=n._slideNumberProps)},e.prototype.tableToSlides=function(t,n){n===void 0&&(n={}),T3e(this,t,n,n!=null&&n.masterSlideName?this.slideLayouts.filter(function(r){return r._name===n.masterSlideName})[0]:null)},e}();const dbe=["style","script","template"],hbe=["html","head","body","p","dt","dd","li","option","thead","th","tbody","tr","td","tfoot","colgroup"],pbe={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]},vbe=["!doctype","area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Ou=(e,t)=>{const n=t-e.position;km(e,n)},km=(e,t)=>{e.position=e.position+t},gbe=(e,t)=>{for(;;){const r=e.indexOf("<",t);if(r===-1)return r;const o=e.charAt(r+1);if(o==="/"||o==="!"||/[A-Za-z0-9]/.test(o))return r;t=r+1}return-1},AE=e=>{const{str:t}=e;let n=gbe(t,e.position);if(n===e.position)return;n===-1&&(n=t.length);const r=t.slice(e.position,n);Ou(e,n),e.tokens.push({type:"text",content:r})},mbe=e=>{const{str:t}=e;km(e,4);let n=t.indexOf("-->",e.position),r=n+3;n===-1&&(n=r=t.length);const o=t.slice(e.position,n);Ou(e,r),e.tokens.push({type:"comment",content:o})},Abe=e=>{const{str:t}=e,n=t.length;let r=e.position;for(;r<n;){const a=t.charAt(r);if(!(/\s/.test(a)||a==="/"||a===">"))break;r++}let o=r+1;for(;o<n;){const a=t.charAt(o);if(!!(/\s/.test(a)||a==="/"||a===">"))break;o++}Ou(e,o);const i=t.slice(r,o);return e.tokens.push({type:"tag",content:i}),i},Rbe=e=>{const{str:t,tokens:n}=e;let r=e.position,o=null,i=r;const a=[],s=t.length;for(;r<s;){const c=t.charAt(r);if(o){c===o&&(o=null),r++;continue}if(c==="/"||c===">"){r!==i&&a.push(t.slice(i,r));break}if(/\s/.test(c)){r!==i&&a.push(t.slice(i,r)),i=r+1,r++;continue}if(c==="'"||c==='"'){o=c,r++;continue}r++}Ou(e,r);const l="attribute";for(let c=0;c<a.length;c++){const u=a[c];if(u.indexOf("=")===-1){const d=a[c+1];if(d&&On.startsWith(d,"=")){if(d.length>1){const p=u+d;n.push({type:l,content:p}),c+=1;continue}const h=a[c+2];if(c+=1,h){const p=u+"="+h;n.push({type:l,content:p}),c+=1;continue}}}if(On.endsWith(u,"=")){const d=a[c+1];if(d&&d.indexOf("=")===-1){const p=u+d;n.push({type:l,content:p}),c+=1;continue}const h=u.slice(0,-1);n.push({type:l,content:h});continue}n.push({type:l,content:u})}},ybe=(e,t)=>{const{str:n,tokens:r}=t,o=e.toLowerCase(),i=n.length;let a=t.position;for(;a<i;){const s=n.indexOf("</",a);if(s===-1){AE(t);break}const l={str:n,position:t.position,tokens:[]};Ou(l,s);const c=RE(l);if(o!==c.toLowerCase()){a=l.position;continue}if(s!==t.position){const u=t.position;Ou(t,s),r.push({type:"text",content:n.slice(u,s)})}r.push(...l.tokens),Ou(t,l.position);break}},RE=e=>{const{str:t}=e,r=t.charAt(e.position+1)==="/";km(e,r?2:1),e.tokens.push({type:"tag-start",close:r});const o=Abe(e);Rbe(e);const a=t.charAt(e.position)==="/";return km(e,a?2:1),e.tokens.push({type:"tag-end",close:a}),o},bbe=e=>{const t=e.str,n=t.length;for(;e.position<n;){const r=e.position;if(AE(e),e.position===r)if(On.startsWith(t,"!--",r+1))mbe(e);else{const i=RE(e),a=i.toLowerCase();dbe.includes(a)&&ybe(i,e)}}},xbe=e=>{const t={str:e,position:0,tokens:[]};return bbe(t),t.tokens},Sbe=e=>{const t={tagName:null,children:[]};return yE({tokens:e,cursor:0,stack:[t]}),t.children},Mbe=(e,t)=>{const n=pbe[e];if(n){let r=t.length-1;for(;r>=0;){const o=t[r].tagName;if(o===e)break;if(o&&n.includes(o))return!0;r--}}return!1},wk=(e,t)=>{e.splice(t)},yE=e=>{const{stack:t,tokens:n}=e;let{cursor:r}=e,o=t[t.length-1].children;const i=n.length;for(;r<i;){const a=n[r];if(a.type!=="tag-start"){o.push(a),r++;continue}const s=n[++r];r++;const l=s.content.toLowerCase();if(a.close){let m=t.length,x=!1;for(;--m>-1;)if(t[m].tagName===l){x=!0;break}for(;r<i&&n[r].type==="tag-end";)r++;if(x){wk(t,m);break}else continue}let u=hbe.includes(l);if(u&&(u=!Mbe(l,t)),u){let m=t.length-1;for(;m>0;){if(l===t[m].tagName){wk(t,m);const x=m-1;o=t[x].children;break}m=m-1}}const f=[];let d;for(;r<i;){const m=n[r];if(m.type==="tag-end"){d=m;break}f.push(m.content),r++}if(!d)break;r++;const h=[],p={type:"element",tagName:s.content,attributes:f,children:h};if(o.push(p),!(d.close||vbe.includes(l))){t.push({tagName:l,children:h});const m={tokens:n,cursor:r,stack:t};yE(m),r=m.cursor}}e.cursor=r},wbe=(e,t)=>{const n=e.indexOf(t);return n===-1?[e]:[e.slice(0,n),e.slice(n+t.length)]},Lbe=e=>{const t=e.charAt(0),n=e.length-1;return(t==='"'||t==="'")&&t===e.charAt(n)?e.slice(1,n):e},Obe=e=>e.map(t=>{const n=wbe(t.trim(),"="),r=n[0],o=typeof n[1]=="string"?Lbe(n[1]):null;return{key:r,value:o}}),bE=e=>e.map(t=>{if(t.type==="element"){const r=bE(t.children);return{type:"element",tagName:t.tagName.toLowerCase(),attributes:Obe(t.attributes),children:r}}return{type:t.type,content:t.content}}),Tbe=e=>{const t=xbe(e),n=Sbe(t);return bE(n)},Wv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",kbe="data:image/svg+xml;base64,",Nbe=e=>{e=e.replace(/\r\n/g,`
|
||
`);let t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(r&63|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(r&63|128))}return t},Pbe=e=>{let t="",n,r,o,i,a,s,l,c=0;for(e=Nbe(e);c<e.length;)n=e.charCodeAt(c++),r=e.charCodeAt(c++),o=e.charCodeAt(c++),i=n>>2,a=(n&3)<<4|r>>4,s=(r&15)<<2|o>>6,l=o&63,isNaN(r)?s=l=64:isNaN(o)&&(l=64),t=t+Wv.charAt(i)+Wv.charAt(a)+Wv.charAt(s)+Wv.charAt(l);return t},Lk=e=>{const n=new XMLSerializer().serializeToString(e);return kbe+Pbe(n)},_2=()=>{const e=st(),{slides:t,theme:n,viewportRatio:r,title:o,viewportSize:i}=Xe(e),a=Me(()=>96*(i.value/960)),s=Me(()=>96/72*(i.value/960)),l=ve(!1),c=(A,b,M,T=!0)=>{l.value=!0;const w=b==="png"?Uve:Yve;A.querySelectorAll("foreignObject [xmlns]").forEach(k=>k.removeAttribute("xmlns")),setTimeout(()=>{const k={quality:M,width:1600};T&&(k.fontEmbedCSS=""),w(A,k).then(E=>{l.value=!1,g4.saveAs(E,`${o.value}.${b}`)}).catch(()=>{l.value=!1,gn.error("导出图片失败")})},200)},u=A=>{const b=new Blob([Fx(JSON.stringify(A))],{type:""});g4.saveAs(b,`${o.value}.pptist`)},f=()=>{const A=new Blob([JSON.stringify(t.value)],{type:""});g4.saveAs(A,`${o.value}.json`)},d=A=>{const b=ot(A),M=b.getAlpha(),T=M===0?"#ffffff":b.setAlpha(1).toHexString();return{alpha:M,color:T}},h=A=>{const b=Tbe(A);let M=!1,T=0;const w=[],L=(k,E={})=>{for(const P of k){if("tagName"in P&&["div","li","p"].includes(P.tagName)&&w.length){const C=w[w.length-1];C.options||(C.options={}),C.options.breakLine=!0}const N={...E},_="attributes"in P?P.attributes.find(C=>C.key==="style"):null;if(_&&_.value){const C=_.value.split(";");for(const X of C){const[Y,$]=X.split(": "),[le,Q]=[On.trim(Y),On.trim($)];le&&Q&&(N[le]=Q)}}if("tagName"in P){if(P.tagName==="em"&&(N["font-style"]="italic"),P.tagName==="strong"&&(N["font-weight"]="bold"),P.tagName==="sup"&&(N["vertical-align"]="super"),P.tagName==="sub"&&(N["vertical-align"]="sub"),P.tagName==="a"){const C=P.attributes.find(X=>X.key==="href");N.href=(C==null?void 0:C.value)||""}if(P.tagName==="ul"&&(N["list-type"]="ul"),P.tagName==="ol"&&(N["list-type"]="ol"),P.tagName==="li"&&(M=!0),P.tagName==="p"&&"attributes"in P){const C=P.attributes.find(X=>X.key==="data-indent");C&&C.value&&(T=+C.value)}}if("tagName"in P&&P.tagName==="br")w.push({text:"",options:{breakLine:!0}});else if("content"in P){const C=P.content.replace(/ /g," ").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&").replace(/\n/g,""),X={};N["font-size"]&&(X.fontSize=parseInt(N["font-size"])/s.value),N.color&&(X.color=d(N.color).color),N["background-color"]&&(X.highlight=d(N["background-color"]).color),N["text-decoration-line"]&&(N["text-decoration-line"].indexOf("underline")!==-1&&(X.underline={color:X.color||"#000000",style:"sng"}),N["text-decoration-line"].indexOf("line-through")!==-1&&(X.strike="sngStrike")),N["text-decoration"]&&(N["text-decoration"].indexOf("underline")!==-1&&(X.underline={color:X.color||"#000000",style:"sng"}),N["text-decoration"].indexOf("line-through")!==-1&&(X.strike="sngStrike")),N["vertical-align"]&&(N["vertical-align"]==="super"&&(X.superscript=!0),N["vertical-align"]==="sub"&&(X.subscript=!0)),N["text-align"]&&(X.align=N["text-align"]),N["font-weight"]&&(X.bold=N["font-weight"]==="bold"),N["font-style"]&&(X.italic=N["font-style"]==="italic"),N["font-family"]&&(X.fontFace=N["font-family"]),N.href&&(X.hyperlink={url:N.href}),M&&N["list-type"]==="ol"&&(X.bullet={type:"number",indent:(X.fontSize||20)*1.25},X.paraSpaceBefore=.1,M=!1),M&&N["list-type"]==="ul"&&(X.bullet={indent:(X.fontSize||20)*1.25},X.paraSpaceBefore=.1,M=!1),T&&(X.indentLevel=T,T=0),w.push({text:C,options:X})}else"children"in P&&L(P.children,N)}};return L(b),w},p=(A,b={x:1,y:1})=>A.map(M=>{if(M.close!==void 0)return{close:!0};if(M.type==="M")return{x:M.x/a.value*b.x,y:M.y/a.value*b.y,moveTo:!0};if(M.curve){if(M.curve.type==="cubic")return{x:M.x/a.value*b.x,y:M.y/a.value*b.y,curve:{type:"cubic",x1:M.curve.x1/a.value*b.x,y1:M.curve.y1/a.value*b.y,x2:M.curve.x2/a.value*b.x,y2:M.curve.y2/a.value*b.y}};if(M.curve.type==="quadratic")return{x:M.x/a.value*b.x,y:M.y/a.value*b.y,curve:{type:"quadratic",x1:M.curve.x1/a.value*b.x,y1:M.curve.y1/a.value*b.y}}}return{x:M.x/a.value*b.x,y:M.y/a.value*b.y}}),v=A=>{const b=d(A.color),{h:M,v:T}=A;let w=4,L=45;return M===0&&T===0?(w=4,L=45):M===0?T>0?(w=T,L=90):(w=-T,L=270):T===0?M>0?(w=M,L=1):(w=-M,L=180):M>0&&T>0?(w=Math.max(M,T),L=45):M>0&&T<0?(w=Math.max(M,-T),L=315):M<0&&T>0?(w=Math.max(-M,T),L=135):M<0&&T<0&&(w=Math.max(-M,-T),L=225),{type:"outer",color:b.color.replace("#",""),opacity:b.alpha,blur:A.blur/s.value,offset:w,angle:L}},m=A=>{const b=d((A==null?void 0:A.color)||"#000000");return{color:b.color,transparency:(1-b.alpha)*100,width:(A.width||1)/s.value,dashType:A.style==="solid"?"solid":"dash"}},x=A=>{const{type:b,target:M}=A;if(b==="web")return{url:M};if(b==="slide"){const T=t.value.findIndex(w=>w.id===M);if(T!==-1)return{slide:T+1}}return null},y=A=>{const b=/^data:image\/[^;]+;base64,/;return A.match(b)!==null};return{exporting:l,exportImage:c,exportJSON:f,exportSpecificFile:u,exportPPTX:(A,b,M)=>{var w,L,k,E,P,W,N,_,C,X,Y,$,le,Q,K,B,D,G;l.value=!0;const T=new fbe;if(r.value===.625?T.layout="LAYOUT_16x10":r.value===.75?T.layout="LAYOUT_4x3":r.value===.70710678?(T.defineLayout({name:"A3",width:10,height:7.0710678}),T.layout="A3"):r.value===1.41421356?(T.defineLayout({name:"A3_V",width:10,height:14.1421356}),T.layout="A3_V"):T.layout="LAYOUT_16x9",b){const{color:ae,alpha:se}=d(n.value.backgroundColor);T.defineSlideMaster({title:"PPTIST_MASTER",background:{color:ae,transparency:(1-se)*100}})}for(const ae of A){const se=T.addSlide();if(ae.background){const J=ae.background;if(J.type==="image"&&J.image)y(J.image.src)?se.background={data:J.image.src}:se.background={path:J.image.src};else if(J.type==="solid"&&J.color){const Re=d(J.color);se.background={color:Re.color,transparency:(1-Re.alpha)*100}}else if(J.type==="gradient"&&J.gradient){const Re=J.gradient.colors,fe=Re[0].color,me=Re[Re.length-1].color,ue=ot.mix(fe,me).toHexString(),z=d(ue);se.background={color:z.color,transparency:(1-z.alpha)*100}}}if(ae.remark&&se.addNotes(ae.remark),!!ae.elements){for(const J of ae.elements)if(J.type==="text"){const Re=h(J.content),fe={x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value,fontSize:20/s.value,fontFace:"微软雅黑",color:"#000000",valign:"top",margin:10/s.value,paraSpaceBefore:5/s.value,lineSpacingMultiple:1.5/1.25,autoFit:!0};if(J.rotate&&(fe.rotate=J.rotate),J.wordSpace&&(fe.charSpacing=J.wordSpace/s.value),J.lineHeight&&(fe.lineSpacingMultiple=J.lineHeight/1.25),J.fill){const me=d(J.fill),ue=J.opacity===void 0?1:J.opacity;fe.fill={color:me.color,transparency:(1-me.alpha*ue)*100}}J.defaultColor&&(fe.color=d(J.defaultColor).color),J.defaultFontName&&(fe.fontFace=J.defaultFontName),J.shadow&&(fe.shadow=v(J.shadow)),(w=J.outline)!=null&&w.width&&(fe.line=m(J.outline)),J.opacity!==void 0&&(fe.transparency=(1-J.opacity)*100),J.paragraphSpace!==void 0&&(fe.paraSpaceBefore=J.paragraphSpace/s.value),J.vertical&&(fe.vert="eaVert"),se.addText(Re,fe)}else if(J.type==="image"){const Re={x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value};if(y(J.src)?Re.data=J.src:Re.path=J.src,J.flipH&&(Re.flipH=J.flipH),J.flipV&&(Re.flipV=J.flipV),J.rotate&&(Re.rotate=J.rotate),J.link){const fe=x(J.link);fe&&(Re.hyperlink=fe)}if((L=J.filters)!=null&&L.opacity&&(Re.transparency=100-parseInt((k=J.filters)==null?void 0:k.opacity)),J.clip){J.clip.shape==="ellipse"&&(Re.rounding=!0);const[fe,me]=J.clip.range,[ue,z]=fe,[F,j]=me,ie=J.width/((F-ue)/a.value),q=J.height/((j-z)/a.value);Re.w=ie/a.value,Re.h=q/a.value,Re.sizing={type:"crop",x:ue/a.value*ie/a.value,y:z/a.value*q/a.value,w:(F-ue)/a.value*ie/a.value,h:(j-z)/a.value*q/a.value}}se.addImage(Re)}else if(J.type==="shape"){if(J.special){const Re=document.querySelector(`.thumbnail-list .base-element-${J.id} svg`);if(Re.clientWidth<1||Re.clientHeight<1)continue;const me={data:Lk(Re),x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value};if(J.rotate&&(me.rotate=J.rotate),J.link){const ue=x(J.link);ue&&(me.hyperlink=ue)}se.addImage(me)}else{const Re={x:J.width/J.viewBox[0],y:J.height/J.viewBox[1]},fe=p(EO(J.path),Re);let me=d(J.fill);if(J.gradient){const F=J.gradient.colors,j=F[0].color,ie=F[F.length-1].color,q=ot.mix(j,ie).toHexString();me=d(q)}const ue=J.opacity===void 0?1:J.opacity,z={x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value,fill:{color:me.color,transparency:(1-me.alpha*ue)*100},points:fe};if(J.flipH&&(z.flipH=J.flipH),J.flipV&&(z.flipV=J.flipV),J.shadow&&(z.shadow=v(J.shadow)),(E=J.outline)!=null&&E.width&&(z.line=m(J.outline)),J.rotate&&(z.rotate=J.rotate),J.link){const F=x(J.link);F&&(z.hyperlink=F)}se.addShape("custGeom",z)}if(J.text){const Re=h(J.text.content),fe={x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value,fontSize:20/s.value,fontFace:"微软雅黑",color:"#000000",paraSpaceBefore:5/s.value,valign:J.text.align};J.rotate&&(fe.rotate=J.rotate),J.text.defaultColor&&(fe.color=d(J.text.defaultColor).color),J.text.defaultFontName&&(fe.fontFace=J.text.defaultFontName),se.addText(Re,fe)}}else if(J.type==="line"){const Re=Ex(J),fe=p(EO(Re)),{minX:me,maxX:ue,minY:z,maxY:F}=Ji(J),j=d(J.color),ie={x:J.left/a.value,y:J.top/a.value,w:(ue-me)/a.value,h:(F-z)/a.value,line:{color:j.color,transparency:(1-j.alpha)*100,width:J.width/s.value,dashType:J.style==="solid"?"solid":"dash",beginArrowType:J.points[0]?"arrow":"none",endArrowType:J.points[1]?"arrow":"none"},points:fe};J.shadow&&(ie.shadow=v(J.shadow)),se.addShape("custGeom",ie)}else if(J.type==="chart"){const Re=[];for(let z=0;z<J.data.series.length;z++){const F=J.data.series[z];Re.push({name:`系列${z+1}`,labels:J.data.labels,values:F})}let fe=[];if(J.themeColor.length===10)fe=J.themeColor.map(z=>d(z).color);else if(J.themeColor.length===1)fe=ot(J.themeColor[0]).analogous(10).map(z=>d(z.toHexString()).color);else{const z=J.themeColor.length,F=ot(J.themeColor[z-1]).analogous(11-z).map(j=>j.toHexString());fe=[...J.themeColor.slice(0,z-1),...F].map(j=>d(j).color)}const me={x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value,chartColors:J.chartType==="pie"?fe:fe.slice(0,J.data.series.length)};J.fill&&(me.plotArea={fill:{color:d(J.fill).color}}),J.legend&&(me.showLegend=!0,me.legendPos=J.legend==="top"?"t":"b",me.legendColor=d(J.gridColor||"#000000").color,me.legendFontSize=14/s.value);let ue=T.ChartType.bar;J.chartType==="bar"?(ue=T.ChartType.bar,me.barDir=(P=J.options)!=null&&P.horizontalBars?"bar":"col"):J.chartType==="line"?((W=J.options)!=null&&W.showArea?ue=T.ChartType.area:((N=J.options)==null?void 0:N.showLine)===!1?(ue=T.ChartType.scatter,Re.unshift({name:"X-Axis",values:Array(J.data.series[0].length).fill(0).map((z,F)=>F)}),me.lineSize=0):ue=T.ChartType.line,(_=J.options)!=null&&_.lineSmooth&&(me.lineSmooth=!0)):J.chartType==="pie"&&((C=J.options)!=null&&C.donut?(ue=T.ChartType.doughnut,me.holeSize=75):ue=T.ChartType.pie),se.addChart(ue,Re,me)}else if(J.type==="table"){const Re=[];for(let j=0;j<J.data.length;j++){const ie=J.data[j];for(let q=0;q<ie.length;q++){const te=ie[q];if(te.colspan>1||te.rowspan>1)for(let re=j;re<j+te.rowspan;re++)for(let he=re===j?q+1:q;he<q+te.colspan;he++)Re.push(`${re}_${he}`)}}const fe=[],me=J.theme;let ue=null,z=[];me&&(ue=d(me.color),z=R9(me.color).map(j=>d(j)));for(let j=0;j<J.data.length;j++){const ie=J.data[j],q=[];for(let te=0;te<ie.length;te++){const re=ie[te],he={colspan:re.colspan,rowspan:re.rowspan,bold:((X=re.style)==null?void 0:X.bold)||!1,italic:((Y=re.style)==null?void 0:Y.em)||!1,underline:{style:($=re.style)!=null&&$.underline?"sng":"none"},align:((le=re.style)==null?void 0:le.align)||"left",valign:"middle",fontFace:((Q=re.style)==null?void 0:Q.fontname)||"微软雅黑",fontSize:((K=re.style)!=null&&K.fontsize?parseInt((B=re.style)==null?void 0:B.fontsize):14)/s.value};if(me&&ue){let ce;j%2===0?ce=z[1]:ce=z[0],(me.rowHeader&&j===0||me.rowFooter&&j===J.data.length-1||me.colHeader&&te===0||me.colFooter&&te===ie.length-1)&&(ce=ue),he.fill={color:ce.color,transparency:(1-ce.alpha)*100}}if((D=re.style)!=null&&D.backcolor){const ce=d(re.style.backcolor);he.fill={color:ce.color,transparency:(1-ce.alpha)*100}}(G=re.style)!=null&&G.color&&(he.color=d(re.style.color).color),Re.includes(`${j}_${te}`)||q.push({text:re.text,options:he})}q.length&&fe.push(q)}const F={x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value,colW:J.colWidths.map(j=>J.width*j/a.value)};J.theme&&(F.fill={color:"#ffffff"}),J.outline.width&&J.outline.color&&(F.border={type:J.outline.style==="solid"?"solid":"dash",pt:J.outline.width/s.value,color:d(J.outline.color).color}),se.addTable(fe,F)}else if(J.type==="latex"){const Re=document.querySelector(`.thumbnail-list .base-element-${J.id} svg`),me={data:Lk(Re),x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value};if(J.link){const ue=x(J.link);ue&&(me.hyperlink=ue)}se.addImage(me)}else if(!M&&(J.type==="video"||J.type==="audio")){const Re={x:J.left/a.value,y:J.top/a.value,w:J.width/a.value,h:J.height/a.value,path:J.src,type:J.type};J.type==="video"&&J.poster&&(Re.cover=J.poster);const fe=J.src.match(/\.([a-zA-Z0-9]+)(?:[\?#]|$)/);fe&&fe[1]?Re.extn=fe[1]:J.ext&&(Re.extn=J.ext);const me=["avi","mp4","m4v","mov","wmv"],ue=["mp3","m4a","mp4","wav","wma"];Re.extn&&[...me,...ue].includes(Re.extn)&&se.addMedia(Re)}}}setTimeout(()=>{T.writeFile({fileName:`${o.value}.pptx`}).then(()=>l.value=!1).catch(()=>{l.value=!1,gn.error("导出失败")})},200)}}},E2=e=>(zt("data-v-32b43d99"),e=e(),Jt(),e),Cbe={class:"export-img-dialog"},Ibe={class:"thumbnails-view"},Fbe={class:"configs"},_be={class:"row"},Ebe=E2(()=>V("div",{class:"title"},"导出格式:",-1)),Xbe={class:"row"},Wbe=E2(()=>V("div",{class:"title"},"导出范围:",-1)),Vbe={key:0,class:"row"},Ube=["data-range"],Ybe={class:"row"},Qbe=E2(()=>V("div",{class:"title"},"图片质量:",-1)),Zbe={class:"row"},Bbe=E2(()=>V("div",{class:"title"},"忽略在线字体:",-1)),Dbe={class:"config-item"},Kbe={class:"btns"},Hbe=Ee({__name:"ExportImage",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:o}=Xe(st()),i=ve(),a=ve("all"),s=ve([1,r.value.length]),l=ve("jpeg"),c=ve(1),u=ve(!0),f=Me(()=>a.value==="all"?r.value:a.value==="current"?[o.value]:r.value.filter((v,m)=>{const[x,y]=s.value;return m>=x-1&&m<=y-1})),{exportImage:d,exporting:h}=_2(),p=()=>{i.value&&d(i.value,l.value,c.value,u.value)};return(v,m)=>{const x=bn("tooltip");return U(),ee("div",Cbe,[V("div",Ibe,[V("div",{class:"thumbnails",ref_key:"imageThumbnailsRef",ref:i},[(U(!0),ee(We,null,nt(f.value,y=>(U(),ke(Fa,{class:"thumbnail",key:y.id,slide:y,size:1600},null,8,["slide"]))),128))],512)]),V("div",Fbe,[V("div",_be,[Ebe,O(Ms,{class:"config-item",value:l.value,"onUpdate:value":m[0]||(m[0]=y=>l.value=y)},{default:oe(()=>[O(In,{style:{width:"50%"},value:"jpeg"},{default:oe(()=>[Ve("JPEG")]),_:1}),O(In,{style:{width:"50%"},value:"png"},{default:oe(()=>[Ve("PNG")]),_:1})]),_:1},8,["value"])]),V("div",Xbe,[Wbe,O(Ms,{class:"config-item",value:a.value,"onUpdate:value":m[1]||(m[1]=y=>a.value=y)},{default:oe(()=>[O(In,{style:{width:"33.33%"},value:"all"},{default:oe(()=>[Ve("全部")]),_:1}),O(In,{style:{width:"33.33%"},value:"current"},{default:oe(()=>[Ve("当前页")]),_:1}),O(In,{style:{width:"33.33%"},value:"custom"},{default:oe(()=>[Ve("自定义")]),_:1})]),_:1},8,["value"])]),a.value==="custom"?(U(),ee("div",Vbe,[V("div",{class:"title","data-range":`(${s.value[0]} ~ ${s.value[1]})`},"自定义范围:",8,Ube),O(so,{class:"config-item",range:"",min:1,max:H(r).length,step:1,value:s.value,"onUpdate:value":m[2]||(m[2]=y=>s.value=y)},null,8,["max","value"])])):Qe("",!0),V("div",Ybe,[Qbe,O(so,{class:"config-item",min:0,max:1,step:.1,value:c.value,"onUpdate:value":m[3]||(m[3]=y=>c.value=y)},null,8,["value"])]),V("div",Zbe,[Bbe,V("div",Dbe,[He(O(la,{value:u.value,"onUpdate:value":m[4]||(m[4]=y=>u.value=y)},null,8,["value"]),[[x,"导出时默认忽略在线字体,若您在幻灯片中使用了在线字体,且希望导出后保留相关样式,可选择关闭【忽略在线字体】选项,但要注意这将会增加导出用时。"]])])])]),V("div",Kbe,[O(je,{class:"btn export",type:"primary",onClick:m[5]||(m[5]=y=>p())},{default:oe(()=>[Ve("导出图片")]),_:1}),O(je,{class:"btn close",onClick:m[6]||(m[6]=y=>n("close"))},{default:oe(()=>[Ve("关闭")]),_:1})]),O(r5,{loading:H(h),tip:"正在导出..."},null,8,["loading"])])}}}),Gbe=Ue(Hbe,[["__scopeId","data-v-32b43d99"]]),zbe={class:"export-json-dialog"},Jbe={class:"preview"},$be={class:"btns"},jbe=Ee({__name:"ExportJSON",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r}=Xe(st()),{exportJSON:o}=_2();return(i,a)=>(U(),ee("div",zbe,[V("div",Jbe,[V("pre",null,vt(H(r)),1)]),V("div",$be,[O(je,{class:"btn export",type:"primary",onClick:a[0]||(a[0]=s=>H(o)())},{default:oe(()=>[Ve("导出 JSON")]),_:1}),O(je,{class:"btn close",onClick:a[1]||(a[1]=s=>n("close"))},{default:oe(()=>[Ve("关闭")]),_:1})])]))}}),qbe=Ue(jbe,[["__scopeId","data-v-ae2be22f"]]),exe=()=>{const e=document.createElement("iframe");return e.style.width="0",e.style.height="0",e.style.position="absolute",e.style.right="0",e.style.top="0",e.style.border="0",document.body.appendChild(e),e},txe=(e,t,n)=>{const r="<!DOCTYPE html>";let o="";const i=document.styleSheets;if(i){for(const f of i)if(f.cssRules)for(const d of f.cssRules)o+=d.cssText}const{width:a,height:s,margin:l}=n,c=`
|
||
<head>
|
||
<style type="text/css">
|
||
${o}
|
||
html, body {
|
||
height: auto;
|
||
overflow: auto;
|
||
}
|
||
@media print {
|
||
@page {
|
||
size: ${a+2*l}px ${s+2*l}px;
|
||
margin: ${l}px;
|
||
}
|
||
}
|
||
</style>
|
||
</head>
|
||
`,u="<body>"+t.innerHTML+"</body>";e.open(),e.write(`
|
||
${r}
|
||
<html>
|
||
${c}
|
||
${u}
|
||
</html>
|
||
`),e.close()},nxe=(e,t)=>{const n=exe(),r=n.contentWindow;if(!n.contentDocument||!r)return;txe(n.contentDocument,e,t);const o=()=>{r.focus(),r.print()},i=()=>{n.removeEventListener("load",o),r.removeEventListener("afterprint",i),document.body.removeChild(n)};n.addEventListener("load",o),r.addEventListener("afterprint",i)},X2=e=>(zt("data-v-d3a30d69"),e=e(),Jt(),e),rxe={class:"export-pdf-dialog"},oxe={class:"thumbnails-view"},ixe={class:"configs"},axe={class:"row"},sxe=X2(()=>V("div",{class:"title"},"导出范围:",-1)),lxe={class:"row"},cxe=X2(()=>V("div",{class:"title"},"每页数量:",-1)),uxe={class:"row"},fxe=X2(()=>V("div",{class:"title"},"边缘留白:",-1)),dxe={class:"config-item"},hxe=X2(()=>V("div",{class:"tip"}," 提示:若打印预览与实际样式不一致,请在弹出的打印窗口中勾选【背景图形】选项。 ",-1)),pxe={class:"btns"},vxe=Ee({__name:"ExportPDF",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:o,viewportRatio:i}=Xe(st()),a=ve(),s=ve("all"),l=ve(1),c=ve(!0),u=()=>{if(!a.value)return;const f={width:1600,height:s.value==="all"?1600*i.value*l.value:1600*i.value,margin:c.value?50:0};nxe(a.value,f)};return(f,d)=>(U(),ee("div",rxe,[V("div",oxe,[V("div",{class:"thumbnails",ref_key:"pdfThumbnailsRef",ref:a},[s.value==="current"?(U(),ke(Fa,{key:0,class:"thumbnail",slide:H(o),size:1600},null,8,["slide"])):(U(!0),ee(We,{key:1},nt(H(r),(h,p)=>(U(),ke(Fa,{class:Je(["thumbnail",{"break-page":(p+1)%l.value===0}]),key:h.id,slide:h,size:1600},null,8,["class","slide"]))),128))],512)]),V("div",ixe,[V("div",axe,[sxe,O(Ms,{class:"config-item",value:s.value,"onUpdate:value":d[0]||(d[0]=h=>s.value=h)},{default:oe(()=>[O(In,{style:{width:"50%"},value:"all"},{default:oe(()=>[Ve("全部")]),_:1}),O(In,{style:{width:"50%"},value:"current"},{default:oe(()=>[Ve("当前页")]),_:1})]),_:1},8,["value"])]),V("div",lxe,[cxe,O(Hn,{class:"config-item",value:l.value,"onUpdate:value":d[1]||(d[1]=h=>l.value=h),options:[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3}]},null,8,["value"])]),V("div",uxe,[fxe,V("div",dxe,[O(la,{value:c.value,"onUpdate:value":d[2]||(d[2]=h=>c.value=h)},null,8,["value"])])]),hxe]),V("div",pxe,[O(je,{class:"btn export",type:"primary",onClick:d[3]||(d[3]=h=>u())},{default:oe(()=>[Ve("打印 / 导出 PDF")]),_:1}),O(je,{class:"btn close",onClick:d[4]||(d[4]=h=>n("close"))},{default:oe(()=>[Ve("关闭")]),_:1})])]))}}),gxe=Ue(vxe,[["__scopeId","data-v-d3a30d69"]]),J5=e=>(zt("data-v-254b6b07"),e=e(),Jt(),e),mxe={class:"export-pptx-dialog"},Axe={class:"configs"},Rxe={class:"row"},yxe=J5(()=>V("div",{class:"title"},"导出范围:",-1)),bxe={key:0,class:"row"},xxe=["data-range"],Sxe={class:"row"},Mxe=J5(()=>V("div",{class:"title"},"忽略音频/视频:",-1)),wxe={class:"config-item"},Lxe={class:"row"},Oxe=J5(()=>V("div",{class:"title"},"覆盖默认母版:",-1)),Txe={class:"config-item"},kxe={key:1,class:"tip"},Nxe={class:"btns"},Pxe=Ee({__name:"ExportPPTX",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:o}=Xe(st()),{exportPPTX:i,exporting:a}=_2(),s=ve("all"),l=ve([1,r.value.length]),c=ve(!0),u=ve(!0),f=Me(()=>s.value==="all"?r.value:s.value==="current"?[o.value]:r.value.filter((d,h)=>{const[p,v]=l.value;return h>=p-1&&h<=v-1}));return(d,h)=>{const p=bn("tooltip");return U(),ee("div",mxe,[V("div",Axe,[V("div",Rxe,[yxe,O(Ms,{class:"config-item",value:s.value,"onUpdate:value":h[0]||(h[0]=v=>s.value=v)},{default:oe(()=>[O(In,{style:{width:"33.33%"},value:"all"},{default:oe(()=>[Ve("全部")]),_:1}),O(In,{style:{width:"33.33%"},value:"current"},{default:oe(()=>[Ve("当前页")]),_:1}),O(In,{style:{width:"33.33%"},value:"custom"},{default:oe(()=>[Ve("自定义")]),_:1})]),_:1},8,["value"])]),s.value==="custom"?(U(),ee("div",bxe,[V("div",{class:"title","data-range":`(${l.value[0]} ~ ${l.value[1]})`},"自定义范围:",8,xxe),O(so,{class:"config-item",range:"",min:1,max:H(r).length,step:1,value:l.value,"onUpdate:value":h[1]||(h[1]=v=>l.value=v)},null,8,["max","value"])])):Qe("",!0),V("div",Sxe,[Mxe,V("div",wxe,[He(O(la,{value:u.value,"onUpdate:value":h[2]||(h[2]=v=>u.value=v)},null,8,["value"]),[[p,"导出时默认忽略音视频,若您的幻灯片中存在音视频元素,且希望将其导出到PPTX文件中,可选择关闭【忽略音视频】选项,但要注意这将会大幅增加导出用时。"]])])]),V("div",Lxe,[Oxe,V("div",Txe,[O(la,{value:c.value,"onUpdate:value":h[3]||(h[3]=v=>c.value=v)},null,8,["value"])])]),u.value?Qe("",!0):(U(),ee("div",kxe," 提示:1. 支持导出格式:avi、mp4、mov、wmv、mp3、wav;2. 跨域资源无法导出。 "))]),V("div",Nxe,[O(je,{class:"btn export",type:"primary",onClick:h[4]||(h[4]=v=>H(i)(f.value,c.value,u.value))},{default:oe(()=>[Ve("导出 PPTX")]),_:1}),O(je,{class:"btn close",onClick:h[5]||(h[5]=v=>n("close"))},{default:oe(()=>[Ve("关闭")]),_:1})]),O(r5,{loading:H(a),tip:"正在导出..."},null,8,["loading"])])}}}),Cxe=Ue(Pxe,[["__scopeId","data-v-254b6b07"]]),xE=e=>(zt("data-v-bc56c9db"),e=e(),Jt(),e),Ixe={class:"export-pptist-dialog"},Fxe={class:"configs"},_xe={class:"row"},Exe=xE(()=>V("div",{class:"title"},"导出范围:",-1)),Xxe={key:0,class:"row"},Wxe=["data-range"],Vxe=xE(()=>V("div",{class:"tip"}," 提示:.pptist 是本应用的特有文件后缀,支持将该类型的文件导入回应用中。 ",-1)),Uxe={class:"btns"},Yxe=Ee({__name:"ExportSpecificFile",emits:["close"],setup(e,{emit:t}){const n=t,{slides:r,currentSlide:o}=Xe(st()),{exportSpecificFile:i}=_2(),a=ve("all"),s=ve([1,r.value.length]),l=Me(()=>a.value==="all"?r.value:a.value==="current"?[o.value]:r.value.filter((c,u)=>{const[f,d]=s.value;return u>=f-1&&u<=d-1}));return(c,u)=>(U(),ee("div",Ixe,[V("div",Fxe,[V("div",_xe,[Exe,O(Ms,{class:"config-item",value:a.value,"onUpdate:value":u[0]||(u[0]=f=>a.value=f)},{default:oe(()=>[O(In,{style:{width:"33.33%"},value:"all"},{default:oe(()=>[Ve("全部")]),_:1}),O(In,{style:{width:"33.33%"},value:"current"},{default:oe(()=>[Ve("当前页")]),_:1}),O(In,{style:{width:"33.33%"},value:"custom"},{default:oe(()=>[Ve("自定义")]),_:1})]),_:1},8,["value"])]),a.value==="custom"?(U(),ee("div",Xxe,[V("div",{class:"title","data-range":`(${s.value[0]} ~ ${s.value[1]})`},"自定义范围:",8,Wxe),O(so,{class:"config-item",range:"",min:1,max:H(r).length,step:1,value:s.value,"onUpdate:value":u[1]||(u[1]=f=>s.value=f)},null,8,["max","value"])])):Qe("",!0),Vxe]),V("div",Uxe,[O(je,{class:"btn export",type:"primary",onClick:u[2]||(u[2]=f=>H(i)(l.value))},{default:oe(()=>[Ve("导出 .pptist 文件")]),_:1}),O(je,{class:"btn close",onClick:u[3]||(u[3]=f=>n("close"))},{default:oe(()=>[Ve("关闭")]),_:1})])]))}}),Qxe=Ue(Yxe,[["__scopeId","data-v-bc56c9db"]]),Zxe={class:"export-dialog"},Bxe={class:"content"},Dxe=Ee({__name:"index",setup(e){const t=ft(),{dialogForExport:n}=Xe(t),r=t.setDialogForExport,o=[{key:"pptist",label:"导出 pptist 文件"},{key:"pptx",label:"导出 PPTX"},{key:"image",label:"导出图片"},{key:"json",label:"导出 JSON"},{key:"pdf",label:"打印 / 导出 PDF"}],i=Me(()=>{const a={image:Gbe,json:qbe,pdf:gxe,pptx:Cxe,pptist:Qxe};return n.value&&a[n.value]||null});return(a,s)=>(U(),ee("div",Zxe,[O(_a,{tabs:o,value:H(n),card:"","onUpdate:value":s[0]||(s[0]=l=>H(r)(l))},null,8,["value"]),V("div",Bxe,[(U(),ke(ws(i.value),{onClose:s[1]||(s[1]=l=>H(r)(""))},null,32))])]))}}),Kxe=Ue(Dxe,[["__scopeId","data-v-b54f4542"]]),Hxe=()=>{const e=st(),t=ft(),{currentSlide:n}=Xe(e),{activeElementIdList:r,hiddenElementIdList:o}=Xe(t);return{toggleHideElement:l=>{o.value.includes(l)?t.setHiddenElementIdList(o.value.filter(c=>c!==l)):t.setHiddenElementIdList([...o.value,l]),r.value.includes(l)&&t.setActiveElementIdList([])},showAllElements:()=>{const l=n.value.elements.map(u=>u.id),c=o.value.filter(u=>!l.includes(u));t.setHiddenElementIdList(c)},hideAllElements:()=>{const l=n.value.elements.map(c=>c.id);t.setHiddenElementIdList([...o.value,...l]),r.value.length&&t.setActiveElementIdList([])}}},Gxe={class:"title"},zxe={class:"content"},Jxe=Ee({__name:"MoveablePanel",props:{width:{},height:{},minWidth:{default:20},minHeight:{default:20},maxWidth:{default:500},maxHeight:{default:500},left:{default:10},top:{default:10},title:{default:""},moveable:{type:Boolean,default:!0},resizeable:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,o=ve(0),i=ve(0),a=ve(0),s=ve(0),l=ve(),c=Me(()=>{var d;return s.value?s.value:((d=l.value)==null?void 0:d.clientHeight)||0});Qt(()=>{n.left>=0?o.value=n.left:o.value=document.body.clientWidth+n.left-n.width,n.top>=0?i.value=n.top:i.value=document.body.clientHeight+n.top-c.value,a.value=n.width,s.value=n.height});const u=d=>{if(!n.moveable)return;let h=!0;const p=document.body.clientWidth,v=document.body.clientHeight,m=d.pageX,x=d.pageY,y=o.value,R=i.value;document.onmousemove=A=>{if(!h)return;const b=A.pageX-m,M=A.pageY-x;let T=y+b,w=R+M;T<0&&(T=0),w<0&&(w=0),T+a.value>p&&(T=p-a.value),w+c.value>v&&(w=v-c.value),o.value=T,i.value=w},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null}},f=d=>{if(!n.resizeable)return;let h=!0;const p=d.pageX,v=d.pageY,m=a.value,x=s.value;document.onmousemove=y=>{if(!h)return;const R=y.pageX-p,A=y.pageY-v;let b=m+R,M=x+A;b<n.minWidth&&(b=n.minWidth),M<n.minHeight&&(M=n.minHeight),b>n.maxWidth&&(b=n.maxWidth),M>n.maxHeight&&(M=n.maxHeight),a.value=b,s.value=M},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null}};return(d,h)=>{const p=Se("IconClose");return U(),ee("div",{class:"moveable-panel",ref_key:"moveablePanelRef",ref:l,style:we({width:a.value+"px",height:s.value?s.value+"px":"auto",left:o.value+"px",top:i.value+"px"})},[d.title?(U(),ee(We,{key:0},[V("div",{class:"header",onMousedown:h[1]||(h[1]=v=>u(v))},[V("div",Gxe,vt(d.title),1),V("div",{class:"close-btn",onClick:h[0]||(h[0]=v=>r("close"))},[O(p)])],32),V("div",zxe,[sr(d.$slots,"default",{},void 0,!0)])],64)):(U(),ee("div",{key:1,class:"content",onMousedown:h[2]||(h[2]=v=>u(v))},[sr(d.$slots,"default",{},void 0,!0)],32)),d.resizeable?(U(),ee("div",{key:2,class:"resizer",onMousedown:h[3]||(h[3]=v=>f(v))},null,32)):Qe("",!0)],4)}}}),n1=Ue(Jxe,[["__scopeId","data-v-3fb89101"]]),$xe=e=>(zt("data-v-d562651b"),e=e(),Jt(),e),jxe={key:0,class:"handler"},qxe={class:"btns"},e5e={key:0,class:"icon-btns"},t5e={class:"element-list"},n5e={key:0,class:"group-els"},r5e=$xe(()=>V("div",{class:"group-title"},"组合",-1)),o5e=["onClick","onDblclick"],i5e=["id","value","onBlur","onKeydown"],a5e={key:1,class:"name"},s5e={class:"icons"},l5e=["onClick","onDblclick"],c5e=["id","value","onBlur","onKeydown"],u5e={key:1,class:"name"},f5e={class:"icons"},d5e=Ee({__name:"SelectPanel",setup(e){const t=st(),n=ft(),{currentSlide:r}=Xe(t),{handleElement:o,handleElementId:i,activeElementIdList:a,activeGroupElementId:s,hiddenElementIdList:l}=Xe(n),{orderElement:c}=_p(),{selectElement:u}=n2(),{toggleHideElement:f,showAllElements:d,hideAllElements:h}=Hxe(),p=Me(()=>{const A=[];for(const b of r.value.elements)if(b.groupId){const M=A[A.length-1];M&&M.type==="group"&&M.id&&M.id===b.groupId?M.elements.push(b):A.push({type:"group",id:b.groupId,elements:[b]})}else A.push(b);return A}),v=(A,b)=>{if(i.value===b||l.value.includes(b))return;const M=A.elements.map(T=>T.id);n.setActiveElementIdList(M),n.setHandleElementId(b),pr(()=>n.setActiveGroupElementId(b))},m=ve(""),x=(A,b)=>{const M=A.target.value;t.updateElement({id:b,props:{name:M}}),m.value=""},y=A=>{m.value=A,pr(()=>{document.querySelector(`#select-panel-input-${A}`).focus()})},R=()=>{n.setSelectPanelState(!1)};return(A,b)=>{const M=Se("IconDown"),T=Se("IconUp"),w=Se("IconPreviewClose"),L=Se("IconPreviewOpen");return U(),ke(n1,{class:"select-panel",width:200,height:360,title:`选择(${H(a).length}/${H(r).elements.length})`,left:-270,top:90,onClose:b[4]||(b[4]=k=>R())},{default:oe(()=>[p.value.length?(U(),ee("div",jxe,[V("div",qxe,[O(je,{size:"small",style:{"margin-right":"5px"},onClick:b[0]||(b[0]=k=>H(d)())},{default:oe(()=>[Ve("全部显示")]),_:1}),O(je,{size:"small",onClick:b[1]||(b[1]=k=>H(h)())},{default:oe(()=>[Ve("全部隐藏")]),_:1})]),H(o)?(U(),ee("div",e5e,[O(M,{class:"icon-btn",onClick:b[2]||(b[2]=k=>H(c)(H(o),H(dr).UP))}),O(T,{class:"icon-btn",onClick:b[3]||(b[3]=k=>H(c)(H(o),H(dr).DOWN))})])):Qe("",!0)])):Qe("",!0),V("div",t5e,[(U(!0),ee(We,null,nt(p.value,k=>(U(),ee(We,{key:k.id},[k.type==="group"?(U(),ee("div",n5e,[r5e,(U(!0),ee(We,null,nt(k.elements,E=>(U(),ee("div",{class:Je(["item",{active:H(a).includes(E.id),"group-active":H(s).includes(E.id)}]),key:E.id,onClick:P=>v(k,E.id),onDblclick:P=>y(E.id)},[m.value===E.id?(U(),ee("input",{key:0,id:`select-panel-input-${E.id}`,value:E.name||H(rh)[E.type],class:"input",type:"text",onBlur:P=>x(P,E.id),onKeydown:ll(P=>x(P,E.id),["enter"])},null,40,i5e)):(U(),ee("div",a5e,vt(E.name||H(rh)[E.type]),1)),V("div",s5e,[H(l).includes(E.id)?(U(),ke(w,{key:0,style:{"font-size":"17px"},onClick:Nt(P=>H(f)(E.id),["stop"])},null,8,["onClick"])):(U(),ke(L,{key:1,style:{"font-size":"17px"},onClick:Nt(P=>H(f)(E.id),["stop"])},null,8,["onClick"]))])],42,o5e))),128))])):(U(),ee("div",{key:1,class:Je(["item",{active:H(a).includes(k.id)}]),onClick:E=>H(u)(k.id),onDblclick:E=>y(k.id)},[m.value===k.id?(U(),ee("input",{key:0,id:`select-panel-input-${k.id}`,value:k.name||H(rh)[k.type],class:"input",type:"text",onBlur:E=>x(E,k.id),onKeydown:ll(E=>x(E,k.id),["enter"])},null,40,c5e)):(U(),ee("div",u5e,vt(k.name||H(rh)[k.type]),1)),V("div",f5e,[H(l).includes(k.id)?(U(),ke(w,{key:0,style:{"font-size":"17px"},onClick:Nt(E=>H(f)(k.id),["stop"])},null,8,["onClick"])):(U(),ke(L,{key:1,style:{"font-size":"17px"},onClick:Nt(E=>H(f)(k.id),["stop"])},null,8,["onClick"]))])],42,l5e))],64))),128))])]),_:1},8,["title"])}}}),h5e=Ue(d5e,[["__scopeId","data-v-d562651b"]]),p5e=()=>{const e=ft(),t=st(),{handleElement:n}=Xe(e),{slides:r,slideIndex:o,currentSlide:i}=Xe(t),a=ve(""),s=ve(""),l=ve([]),c=ve(-1),u=ve("g"),f=()=>{const E=[],P=new RegExp(a.value,u.value),W=/(<([^>]+)>)/g;for(const N of r.value)for(const _ of N.elements)if(_.type==="text"){const X=_.content.replace(W,"").match(P);X&&E.push(...new Array(X.length).fill({slideId:N.id,elId:_.id,elType:_.type}))}else if(_.type==="shape"&&_.text&&_.text.content){const X=_.text.content.replace(W,"").match(P);X&&E.push(...new Array(X.length).fill({slideId:N.id,elId:_.id,elType:_.type}))}else if(_.type==="table")for(let C=0;C<_.data.length;C++){const X=_.data[C];for(let Y=0;Y<X.length;Y++){const $=X[Y];if(!$.text)continue;const Q=$.text.replace(W,"").match(P);Q&&E.push(...new Array(Q.length).fill({slideId:N.id,elId:_.id,elType:_.type,cellIndex:[C,Y]}))}}E.length?(l.value=E,c.value=0,y()):(gn.warning("未查找到匹配项"),x())},d=E=>{const P=[...E.childNodes],W=[];for(;P.length;){const N=P.shift();N.nodeType===N.TEXT_NODE?N.wholeText&&W.push(N):P.unshift(...N.childNodes)}return W},h=E=>{let P=0;return E.map(N=>{const _=P,C=P+N.wholeText.length;return P=C,{text:N.wholeText,startIdx:_,endIdx:C}})},p=(E,P)=>{const W=new RegExp(P,u.value),N=[];let _=W.exec(E);for(;_;)N.push(_),_=W.exec(E);return N},v=(E,P,W,N)=>{for(let _=W.length-1;_>=0;_--){const C=W[_],X=C.index,Y=X+C[0].length;for(let $=0;$<P.length;$++){const{text:le,startIdx:Q,endIdx:K}=P[$];if(K<X)continue;if(Q>=Y)break;let B=E[$];const D=Math.max(0,X-Q),G=Math.min(K,Y)-Q-D;D>0&&(B=B.splitText(D)),G<B.wholeText.length&&B.splitText(G);const ae=document.createElement("mark");ae.dataset.index=N+_+"",ae.innerText=le.substring(D,D+G),B.parentNode.replaceChild(ae,B)}}},m=(E,P)=>{for(const W of E)W.innerHTML=W.innerHTML.replace(new RegExp(a.value,u.value),()=>`<mark data-index=${P++}>${a.value}</mark>`)},x=()=>{const E=document.querySelectorAll(".editable-element mark");for(const P of E)setTimeout(()=>{const W=P.parentNode,N=P.textContent;W.replaceChild(document.createTextNode(N),P)},0)},y=()=>{x(),setTimeout(()=>{for(let E=0;E<l.value.length;E++){const P=l.value[E-1],W=l.value[E];if(W.slideId!==i.value.id||P&&P.elId===W.elId)continue;const N=document.querySelector(`#editable-element-${W.elId}`);if(N)if(W.elType==="table"){const _=N.querySelectorAll(".cell-text");m(_,E)}else{const _=d(N),C=h(_),X=C.map(({text:$})=>$).join(""),Y=p(X,a.value);v(_,C,Y,E)}}},0)},R=()=>{const E=document.querySelectorAll("mark[data-index]");for(const P of E)setTimeout(()=>{const W=P.dataset.index;W!==void 0&&+W===c.value?P.classList.add("active"):P.classList.remove("active")},0)},A=()=>{if(c.value===-1)return;const E=l.value[c.value];if(E.slideId===i.value.id)setTimeout(R,0);else{const P=r.value.findIndex(W=>W.id===E.slideId);P!==-1&&t.updateSlideIndex(P)}},b=()=>{if(!a.value)return gn.warning("请先输入查找内容");e.setActiveElementIdList([]),c.value===-1?f():c.value<l.value.length-1?c.value+=1:c.value=0,A()},M=()=>{if(!a.value)return gn.warning("请先输入查找内容");e.setActiveElementIdList([]),c.value===-1?f():c.value>0?c.value-=1:c.value=l.value.length-1,A()},T=()=>{if(!a.value)return;if(c.value===-1){b();return}const E=l.value[c.value];let P=null;if(E.elType==="table"){const[C,X]=E.cellIndex;P=document.querySelector(`#editable-element-${E.elId} .cell[data-cell-index="${C}_${X}"] .cell-text`)}else P=document.querySelector(`#editable-element-${E.elId} .ProseMirror`);if(!P)return;const W=document.createElement("div");W.innerHTML=P.innerHTML;let N=!1;const _=W.querySelectorAll("mark[data-index]");for(const C of _){const X=C.parentNode;if(C.classList.contains("active"))N?X.removeChild(C):(X.replaceChild(document.createTextNode(s.value),C),N=!0);else{const Y=C.textContent;X.replaceChild(document.createTextNode(Y),C)}}if(E.elType==="text"){const C={content:W.innerHTML};t.updateElement({id:E.elId,props:C})}else if(E.elType==="shape"){const C=i.value.elements.find(X=>X.id===E.elId);if(C&&C.type==="shape"&&C.text){const X={text:{...C.text,content:W.innerHTML}};t.updateElement({id:E.elId,props:X})}}else if(E.elType==="table"){const C=i.value.elements.find(X=>X.id===E.elId);if(C&&C.type==="table"){const Y={data:C.data.map(($,le)=>le===E.cellIndex[0]?$.map((Q,K)=>K===E.cellIndex[1]?{...Q,text:W.innerHTML}:Q):$)};t.updateElement({id:E.elId,props:Y})}}l.value.splice(c.value,1),l.value.length?(c.value>l.value.length-1&&(c.value=0),pr(()=>{y(),A()})):c.value=-1},w=()=>{var E;if(a.value){if(c.value===-1){b();return}for(let P=0;P<l.value.length;P++){const W=l.value[P-1],N=l.value[P];if(W&&W.elId===N.elId)continue;const _=r.value.find(Y=>Y.id===N.slideId);if(!_)continue;const C=_.elements.find(Y=>Y.id===N.elId);if(!C)continue;const X=document.createElement("div");if(C.type==="text"?X.innerHTML=C.content:C.type==="shape"&&(X.innerHTML=((E=C.text)==null?void 0:E.content)||""),N.elType==="table"){const $={data:C.data.map(le=>le.map(Q=>Q.text?{...Q,text:Q.text.replace(new RegExp(a.value,"g"),s.value)}:Q))};t.updateElement({id:N.elId,slideId:N.slideId,props:$})}else{const Y=d(X),$=h(Y),le=$.map(({text:D})=>D).join(""),Q=p(le,a.value);v(Y,$,Q,P);const K=X.querySelectorAll("mark[data-index]");let B=-1;for(const D of K){const G=+D.dataset.index,ae=D.parentNode;G===B?ae.removeChild(D):(ae.replaceChild(document.createTextNode(s.value),D),B=G)}if(N.elType==="text"){const D={content:X.innerHTML};t.updateElement({id:N.elId,slideId:N.slideId,props:D})}else if(N.elType==="shape"){const D=i.value.elements.find(G=>G.id===N.elId);if(D&&D.type==="shape"&&D.text){const G={text:{...D.text,content:X.innerHTML}};t.updateElement({id:N.elId,slideId:N.slideId,props:G})}}}}l.value=[],c.value=-1}},L=()=>{c.value=-1,l.value=[],a.value||x()};return wt(a,L),wt(o,()=>{pr(()=>{y(),setTimeout(R,0)})}),wt(n,()=>{n.value&&(c.value=-1,l.value=[],x())}),Du(x),{searchWord:a,replaceWord:s,searchResults:l,searchIndex:c,modifiers:u,searchNext:b,searchPrev:M,replace:T,replaceAll:w,toggleModifiers:()=>{u.value=u.value==="g"?"gi":"g",L()}}},v5e={class:"count"},g5e={key:1,class:"footer"},m5e=Ee({__name:"SearchPanel",setup(e){const t=ft(),{searchWord:n,replaceWord:r,searchResults:o,searchIndex:i,modifiers:a,searchNext:s,searchPrev:l,replace:c,replaceAll:u,toggleModifiers:f}=p5e(),d=ve("search"),h=[{key:"search",label:"查找"},{key:"replace",label:"替换"}],p=()=>{t.setSearchPanelState(!1)},v=ve();return Qt(()=>{v.value.focus()}),wt(d,()=>{pr(()=>{v.value.focus()})}),(m,x)=>{const y=Se("IconClose"),R=Se("IconLeft"),A=Se("IconRight"),b=bn("tooltip");return U(),ke(n1,{class:"search-panel",width:330,height:0,left:-270,top:90},{default:oe(()=>[V("div",{class:"close-btn",onClick:x[0]||(x[0]=M=>p()),onMousedown:x[1]||(x[1]=Nt(()=>{},["stop"]))},[O(y)],32),O(_a,{tabs:h,value:d.value,"onUpdate:value":x[2]||(x[2]=M=>d.value=M)},null,8,["value"]),V("div",{class:Je(["content",d.value]),onMousedown:x[12]||(x[12]=Nt(()=>{},["stop"]))},[O(Rc,{class:"input",value:H(n),"onUpdate:value":x[6]||(x[6]=M=>ar(n)?n.value=M:null),placeholder:"输入查找内容",onEnter:x[7]||(x[7]=M=>H(s)()),ref_key:"searchInpRef",ref:v},{suffix:oe(()=>[V("span",v5e,vt(H(i)+1)+"/"+vt(H(o).length),1),O(Ft,{type:"vertical"}),He((U(),ee("span",{class:Je(["ignore-case",{active:H(a)==="g"}]),onClick:x[3]||(x[3]=M=>H(f)())},[Ve("Aa")],2)),[[b,"忽略大小写"]]),O(Ft,{type:"vertical"}),He(O(R,{class:"next-btn left",onClick:x[4]||(x[4]=M=>H(l)())},null,512),[[b,"上一个"]]),He(O(A,{class:"next-btn right",onClick:x[5]||(x[5]=M=>H(s)())},null,512),[[b,"下一个"]])]),_:1},8,["value"]),d.value==="replace"?(U(),ke(Rc,{key:0,class:"input",value:H(r),"onUpdate:value":x[8]||(x[8]=M=>ar(r)?r.value=M:null),placeholder:"输入替换内容",onEnter:x[9]||(x[9]=M=>H(c)())},null,8,["value"])):Qe("",!0),d.value==="replace"?(U(),ee("div",g5e,[O(je,{disabled:!H(n),style:{"margin-left":"5px"},onClick:x[10]||(x[10]=M=>H(c)())},{default:oe(()=>[Ve("替换")]),_:1},8,["disabled"]),O(je,{disabled:!H(n),type:"primary",style:{"margin-left":"5px"},onClick:x[11]||(x[11]=M=>H(u)())},{default:oe(()=>[Ve("全部替换")]),_:1},8,["disabled"])])):Qe("",!0)],34)]),_:1})}}}),A5e=Ue(m5e,[["__scopeId","data-v-c6ed3d92"]]),R5e={class:"container"},y5e={class:"notes"},b5e=["onClick"],x5e={class:"header note-header"},S5e={class:"user"},M5e={class:"avatar"},w5e={class:"user-info"},L5e={class:"username"},O5e={class:"time"},T5e={class:"btns"},k5e=["onClick"],N5e=["onClick"],P5e={class:"content"},C5e={key:0,class:"replies"},I5e={class:"header reply-header"},F5e={class:"user"},_5e={class:"avatar"},E5e={class:"user-info"},X5e={class:"username"},W5e={class:"time"},V5e={class:"btns"},U5e=["onClick"],Y5e={class:"content"},Q5e={key:1,class:"note-reply"},Z5e={class:"reply-btns"},B5e={key:0,class:"empty"},D5e={class:"send"},K5e={class:"footer"},H5e=Ee({__name:"NotesPanel",setup(e){const t=st(),n=ft(),{slideIndex:r,currentSlide:o}=Xe(t),{handleElementId:i}=Xe(n),a=ve(""),s=ve(""),l=Me(()=>{var R;return((R=o.value)==null?void 0:R.notes)||[]}),c=ve(""),u=ve(""),f=ve();wt(r,()=>{c.value="",u.value=""});const d=()=>{if(!a.value){f.value&&f.value.focus();return}const R={id:ln(),content:a.value,time:new Date().getTime(),user:"测试用户"};i.value&&(R.elId=i.value);const A=[...l.value,R];t.updateSlide({notes:A}),a.value=""},h=R=>{const A=l.value.filter(b=>b.id!==R);t.updateSlide({notes:A})},p=()=>{if(!s.value)return;const R=l.value.find(T=>T.id===u.value);if(!R)return;const A=[...R.replies||[],{id:ln(),content:s.value,time:new Date().getTime(),user:"测试用户"}],b={...R,replies:A},M=l.value.map(T=>T.id===u.value?b:T);t.updateSlide({notes:M}),s.value="",u.value=""},v=(R,A)=>{const b=l.value.find(L=>L.id===R);if(!b||!b.replies)return;const M=b.replies.filter(L=>L.id!==A),T={...b,replies:M},w=l.value.map(L=>L.id===R?T:L);t.updateSlide({notes:w})},m=R=>{c.value=R.id,R.elId?o.value.elements.map(b=>b.id).includes(R.elId)?n.setActiveElementIdList([R.elId]):n.setActiveElementIdList([]):n.setActiveElementIdList([])},x=()=>{t.updateSlide({notes:[]})},y=()=>{n.setNotesPanelState(!1)};return(R,A)=>{const b=Se("IconUser"),M=Se("IconDelete"),T=bn("tooltip");return U(),ke(n1,{class:"notes-panel",width:300,height:560,title:`幻灯片${H(r)+1}的批注`,left:-270,top:90,minWidth:300,minHeight:400,maxWidth:480,maxHeight:780,resizeable:"",onClose:A[7]||(A[7]=w=>y())},{default:oe(()=>[V("div",R5e,[V("div",y5e,[(U(!0),ee(We,null,nt(l.value,w=>{var L;return U(),ee("div",{class:Je(["note",{active:c.value===w.id}]),key:w.id,onClick:k=>m(w)},[V("div",x5e,[V("div",S5e,[V("div",M5e,[O(b)]),V("div",w5e,[V("div",L5e,vt(w.user),1),V("div",O5e,vt(new Date(w.time).toLocaleString()),1)])]),V("div",T5e,[V("div",{class:"btn reply",onClick:k=>u.value=w.id},"回复",8,k5e),V("div",{class:"btn delete",onClick:Nt(k=>h(w.id),["stop"])},"删除",8,N5e)])]),V("div",P5e,vt(w.content),1),(L=w.replies)!=null&&L.length?(U(),ee("div",C5e,[(U(!0),ee(We,null,nt(w.replies,k=>(U(),ee("div",{class:"reply-item",key:k.id},[V("div",I5e,[V("div",F5e,[V("div",_5e,[O(b)]),V("div",E5e,[V("div",X5e,vt(k.user),1),V("div",W5e,vt(new Date(k.time).toLocaleString()),1)])]),V("div",V5e,[V("div",{class:"btn delete",onClick:Nt(E=>v(w.id,k.id),["stop"])},"删除",8,U5e)])]),V("div",Y5e,vt(k.content),1)]))),128))])):Qe("",!0),u.value===w.id?(U(),ee("div",Q5e,[O(yb,{padding:6,value:s.value,"onUpdate:value":A[0]||(A[0]=k=>s.value=k),placeholder:"输入回复内容",rows:1},null,8,["value"]),V("div",Z5e,[O(je,{class:"btn",size:"small",onClick:A[1]||(A[1]=k=>u.value="")},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{class:"btn",size:"small",type:"primary",onClick:A[2]||(A[2]=k=>p())},{default:oe(()=>[Ve("回复")]),_:1})])])):Qe("",!0)],10,b5e)}),128)),l.value.length?Qe("",!0):(U(),ee("div",B5e,"本页暂无批注"))]),V("div",D5e,[O(yb,{ref_key:"textAreaRef",ref:f,value:a.value,"onUpdate:value":A[3]||(A[3]=w=>a.value=w),padding:6,placeholder:`输入批注(为${H(i)?"选中元素":"当前页幻灯片"})`,rows:2,onFocus:A[4]||(A[4]=w=>{u.value="",c.value=""})},null,8,["value","placeholder"]),V("div",K5e,[He(O(M,{class:"btn icon",style:{flex:"1"},onClick:A[5]||(A[5]=w=>x())},null,512),[[T,"清空本页批注"]]),O(je,{type:"primary",class:"btn",style:{flex:"12"},onClick:A[6]||(A[6]=w=>d())},{default:oe(()=>[Ve("添加批注")]),_:1})])])])]),_:1},8,["title"])}}}),G5e=Ue(H5e,[["__scopeId","data-v-4f057f75"]]),z5e={class:"pptist-editor"},J5e={class:"layout-content"},$5e={class:"layout-content-center"},j5e=Ee({__name:"index",setup(e){const t=ft(),{dialogForExport:n,showSelectPanel:r,showSearchPanel:o,showNotesPanel:i}=Xe(t),a=()=>t.setDialogForExport(""),s=ve(40);return ree(),oee(),(l,c)=>(U(),ee(We,null,[V("div",z5e,[O(_ie,{class:"layout-header"}),V("div",J5e,[O(C1e,{class:"layout-content-left"}),V("div",$5e,[O(Tpe,{class:"center-top"}),O(Y0e,{class:"center-body",style:we({height:`calc(100% - ${s.value+40}px)`})},null,8,["style"]),O(m3e,{class:"center-bottom",height:s.value,"onUpdate:height":c[0]||(c[0]=u=>s.value=u),style:we({height:`${s.value}px`})},null,8,["height","style"])]),O(f3e,{class:"layout-content-right"})])]),H(r)?(U(),ke(h5e,{key:0})):Qe("",!0),H(o)?(U(),ke(A5e,{key:1})):Qe("",!0),H(i)?(U(),ke(G5e,{key:2})):Qe("",!0),O(n0,{visible:!!H(n),width:680,onClosed:c[1]||(c[1]=u=>a())},{default:oe(()=>[O(Kxe)]),_:1},8,["visible"])],64))}}),q5e=Ue(j5e,[["__scopeId","data-v-39fd665d"]]),SE=()=>{const e=st(),{slides:t,slideIndex:n,formatedAnimations:r}=Xe(e),o=ve(0),i=ve(!1),a=ve(n.value),s=()=>{if(i.value)return;const{animations:P,autoNext:W}=r.value[o.value];o.value+=1,i.value=!0;let N=0;for(const _ of P){const C=document.querySelector(`#screen-element-${_.elId} [class^=base-element-]`);if(!C){N+=1;continue}const X=`${Oi}${_.effect}`;C.style.removeProperty("--animate-duration");for(const $ of C.classList)$.indexOf(Oi)!==-1&&C.classList.remove($,`${Oi}animated`);C.style.setProperty("--animate-duration",`${_.duration}ms`),C.classList.add(X,`${Oi}animated`);const Y=()=>{_.type!=="out"&&(C.style.removeProperty("--animate-duration"),C.classList.remove(X,`${Oi}animated`)),N+=1,N===P.length&&(i.value=!1,W&&s())};C.addEventListener("animationend",Y,{once:!0})}};Qt(()=>{const P=r.value[0];P&&P.animations.length&&P.animations.every(N=>N.trigger==="auto"||N.trigger==="meantime")&&s()});const l=()=>{o.value-=1;const{animations:P}=r.value[o.value];for(const W of P){const N=document.querySelector(`#screen-element-${W.elId} [class^=base-element-]`);if(N){N.style.removeProperty("--animate-duration");for(const _ of N.classList)_.indexOf(Oi)!==-1&&N.classList.remove(_,`${Oi}animated`)}}P.every(W=>W.type==="attention")&&p()},c=ve(0),u=()=>{c.value&&(clearInterval(c.value),c.value=0)};Sn(u);const f=ve(!1),d=P=>{f.value=P},h=On.throttle(function(P){gn.success(P)},1e3,{leading:!0,trailing:!1}),p=()=>{r.value.length&&o.value>0?l():n.value>0?(e.updateSlideIndex(n.value-1),n.value<a.value?(o.value=0,a.value=n.value):o.value=r.value.length):f.value?k(t.value.length-1):h("已经是第一页了"),i.value=!1},v=()=>{r.value.length&&o.value<r.value.length?s():n.value<t.value.length-1?(e.updateSlideIndex(n.value+1),o.value=0,i.value=!1):(f.value?k(0):(h("已经是最后一页了"),u()),i.value=!1)},m=ve(2500),x=()=>{u(),gn.success("开始自动放映"),c.value=setInterval(v,m.value)},y=P=>{u(),m.value=P,x()},R=On.throttle(function(P){P.deltaY<0?p():P.deltaY>0&&v()},500,{leading:!0,trailing:!1}),A=ve(null),b=P=>{A.value={x:P.changedTouches[0].pageX,y:P.changedTouches[0].pageY}},M=P=>{if(!A.value)return;const W=Math.abs(A.value.x-P.changedTouches[0].pageX),N=P.changedTouches[0].pageY-A.value.y;Math.abs(N)>W&&Math.abs(N)>50&&(A.value=null,N>0?p():v())},T=P=>{const W=P.key.toUpperCase();W===gt.UP||W===gt.LEFT||W===gt.PAGEUP?p():(W===gt.DOWN||W===gt.RIGHT||W===gt.SPACE||W===gt.ENTER||W===gt.PAGEDOWN)&&v()};Qt(()=>document.addEventListener("keydown",T)),Sn(()=>document.removeEventListener("keydown",T));const w=()=>{e.updateSlideIndex(n.value-1),o.value=0},L=()=>{e.updateSlideIndex(n.value+1),o.value=0},k=P=>{e.updateSlideIndex(P),o.value=0};return{autoPlayTimer:c,autoPlayInterval:m,setAutoPlayInterval:y,autoPlay:x,closeAutoPlay:u,loopPlay:f,setLoopPlay:d,mousewheelListener:R,touchStartListener:b,touchEndListener:M,turnPrevSlide:w,turnNextSlide:L,turnSlideToIndex:k,turnSlideToId:P=>{const W=t.value.findIndex(N=>N.id===P);W!==-1&&(e.updateSlideIndex(W),o.value=0)},execPrev:p,execNext:v,animationIndex:o}},ME=e=>{const t=st(),{viewportRatio:n}=Xe(t),r=ve(0),o=ve(0),i=()=>{const a=(e==null?void 0:e.value)||document.body,s=a.clientWidth,l=a.clientHeight;let c,u;l/s===n.value?(c=s,u=l):l/s>n.value?(c=s,u=s*n.value):(c=l/n.value,u=l),r.value=c,o.value=u};return Qt(()=>{i(),window.addEventListener("resize",i)}),Sn(()=>{window.removeEventListener("resize",i)}),{slideWidth:r,slideHeight:o}},wE=()=>{const e=ve(!0),t=ve(!0),{exitScreening:n}=Tc(),r=()=>{e.value=x3(),!e.value&&t.value&&n(),t.value=!0};return Qt(()=>{e.value=x3(),document.addEventListener("fullscreenchange",r),document.addEventListener("webkitfullscreenchange",r)}),Sn(()=>{document.removeEventListener("fullscreenchange",r),document.removeEventListener("webkitfullscreenchange",r)}),{fullscreenState:e,manualExitFullscreen:()=>{e.value&&(t.value=!1,b9())}}},e8e={class:"element-content"},t8e=Ee({__name:"ScreenVideoElement",props:{elementInfo:{}},setup(e){const{currentSlide:t}=Xe(st()),n=ri(ef)||ve(1),r=ri(d5)||ve(""),o=Me(()=>t.value.id===r.value);return(i,a)=>(U(),ee("div",{class:"base-element-video screen-element-video",style:we({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:we({transform:`rotate(${i.elementInfo.rotate}deg)`})},[V("div",e8e,[o.value?(U(),ke(l_,{key:0,width:i.elementInfo.width,height:i.elementInfo.height,src:i.elementInfo.src,poster:i.elementInfo.poster,autoplay:i.elementInfo.autoplay,scale:H(n)},null,8,["width","height","src","poster","autoplay","scale"])):Qe("",!0)])],4)],4))}}),n8e=Ue(t8e,[["__scopeId","data-v-d9f232b0"]]),r8e={class:"element-content"},o8e=Ee({__name:"ScreenAudioElement",props:{elementInfo:{}},setup(e){const t=e,{viewportRatio:n,currentSlide:r,viewportSize:o}=Xe(st()),i=ri(ef)||ve(1),a=ri(d5)||ve(""),s=Me(()=>r.value.id===a.value),l=Me(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),c=Me(()=>{const d=o.value,h=o.value*n.value,p=280/i.value,v=50/i.value,m=t.elementInfo.width,x=t.elementInfo.height,y=t.elementInfo.left,R=t.elementInfo.top;let A=0,b=x;return y+p>=d&&(A=m-p),R+x+v>=h&&(b=-v),{left:A+"px",top:b+"px"}}),u=ve(),f=()=>{u.value&&u.value.toggle()};return(d,h)=>{const p=Se("IconVolumeNotice");return U(),ee("div",{class:"base-element-audio screen-element-audio",style:we({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:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",r8e,[O(p,{class:"audio-icon",style:we({fontSize:l.value,color:d.elementInfo.color}),onClick:h[0]||(h[0]=v=>f())},null,8,["style"]),s.value?(U(),ke(f_,{key:0,class:"audio-player",ref_key:"audioPlayerRef",ref:u,style:we({...c.value}),src:d.elementInfo.src,loop:d.elementInfo.loop,autoplay:d.elementInfo.autoplay,scale:H(i)},null,8,["style","src","loop","autoplay","scale"])):Qe("",!0)])],4)],4)}}}),i8e=Ue(o8e,[["__scopeId","data-v-db0543f3"]]),a8e=["id","title"],s8e=Ee({__name:"ScreenElement",props:{elementInfo:{},elementIndex:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,n=Me(()=>({[Tt.IMAGE]:v_,[Tt.TEXT]:g_,[Tt.SHAPE]:m_,[Tt.LINE]:A_,[Tt.CHART]:R_,[Tt.TABLE]:y_,[Tt.LATEX]:b_,[Tt.VIDEO]:n8e,[Tt.AUDIO]:i8e})[t.elementInfo.type]||null),{formatedAnimations:r,theme:o}=Xe(st()),i=Me(()=>{const s=r.value.findIndex(c=>c.animations.map(f=>f.elId).includes(t.elementInfo.id));if(s===-1||s<t.animationIndex)return!1;const l=r.value[s].animations.find(c=>c.elId===t.elementInfo.id);return(l==null?void 0:l.type)==="in"}),a=s=>{if(s.target.tagName==="A"){t.manualExitFullscreen();return}const l=t.elementInfo.link;l&&(l.type==="web"?(t.manualExitFullscreen(),window.open(l.target)):l.type==="slide"&&t.turnSlideToId(l.target))};return(s,l)=>{var c;return U(),ee("div",{class:Je(["screen-element",{link:s.elementInfo.link}]),id:`screen-element-${s.elementInfo.id}`,style:we({zIndex:s.elementIndex,color:H(o).fontColor,fontFamily:H(o).fontName,visibility:i.value?"hidden":"visible"}),title:((c=s.elementInfo.link)==null?void 0:c.target)||"",onClick:l[0]||(l[0]=u=>a(u))},[(U(),ke(ws(n.value),{elementInfo:s.elementInfo},null,8,["elementInfo"]))],14,a8e)}}}),l8e=Ue(s8e,[["__scopeId","data-v-28b05f52"]]),c8e=Ee({__name:"ScreenSlide",props:{slide:{},scale:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{viewportRatio:n,viewportSize:r}=Xe(st()),o=Me(()=>t.slide.background),{backgroundStyle:i}=b2(o),a=Me(()=>t.slide.id);return Ku(d5,a),(s,l)=>(U(),ee("div",{class:"screen-slide",style:we({width:H(r)+"px",height:H(r)*H(n)+"px",transform:`scale(${s.scale})`})},[V("div",{class:"background",style:we({...H(i)})},null,4),(U(!0),ee(We,null,nt(s.slide.elements,(c,u)=>(U(),ke(l8e,{key:c.id,elementInfo:c,elementIndex:u+1,animationIndex:s.animationIndex,turnSlideToId:s.turnSlideToId,manualExitFullscreen:s.manualExitFullscreen},null,8,["elementInfo","elementIndex","animationIndex","turnSlideToId","manualExitFullscreen"]))),128))],4))}}),u8e=Ue(c8e,[["__scopeId","data-v-54069779"]]),f8e={class:"screen-slide-list"},d8e=Ee({__name:"ScreenSlideList",props:{slideWidth:{},slideHeight:{},animationIndex:{},turnSlideToId:{type:Function},manualExitFullscreen:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r,viewportSize:o}=Xe(st()),i=Me(()=>n.value.map(s=>{let l=s.turningMode;if(l||(l="slideY"),l==="random"){const c=rE.filter(u=>!["random","no"].includes(u.value)).map(u=>u.value);l=c[Math.floor(Math.random()*c.length)]}return{...s,turningMode:l}})),a=Me(()=>t.slideWidth/o.value);return Ku(ef,a),(s,l)=>(U(),ee("div",f8e,[(U(!0),ee(We,null,nt(i.value,(c,u)=>{var f;return U(),ee("div",{class:Je(["slide-item",`turning-mode-${c.turningMode}`,{current:u===H(r),before:u<H(r),after:u>H(r),hide:(u===H(r)-1||u===H(r)+1)&&c.turningMode!==i.value[H(r)].turningMode}]),key:c.id},[Math.abs(H(r)-u)<2||(f=c.animations)!=null&&f.length?(U(),ee("div",{key:0,class:"slide-content",style:we({width:s.slideWidth+"px",height:s.slideHeight+"px"})},[O(u8e,{slide:c,scale:a.value,animationIndex:s.animationIndex,turnSlideToId:s.turnSlideToId,manualExitFullscreen:s.manualExitFullscreen},null,8,["slide","scale","animationIndex","turnSlideToId","manualExitFullscreen"])],4)):Qe("",!0)],2)}),128))]))}}),LE=Ue(d8e,[["__scopeId","data-v-30b01007"]]),h8e={class:"slide-thumbnails"},p8e={class:"return-button"},v8e={class:"slide-thumbnails-content"},g8e=["onClick"],m8e=Ee({__name:"SlideThumbnails",props:{turnSlideToIndex:{type:Function}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,{slides:o,slideIndex:i}=Xe(st()),{slidesLoadLimit:a}=zp(),s=l=>{n.turnSlideToIndex(l),r("close")};return(l,c)=>{const u=Se("IconArrowCircleLeft");return U(),ee("div",h8e,[V("div",p8e,[O(u,{class:"icon",onClick:c[0]||(c[0]=f=>r("close"))})]),V("div",v8e,[(U(!0),ee(We,null,nt(H(o),(f,d)=>(U(),ee("div",{class:Je(["thumbnail",{active:d===H(i)}]),key:f.id,onClick:h=>s(d)},[O(Fa,{slide:f,size:150,visible:d<H(a)},null,8,["slide","visible"])],10,g8e))),128))])])}}}),A8e=Ue(m8e,[["__scopeId","data-v-09d790f0"]]),R8e={key:0,class:"blackboard"},y8e=Ee({__name:"WritingBoard",props:{color:{default:"#ffcc00"},model:{default:"pen"},blackboard:{type:Boolean,default:!1},penSize:{default:6},markSize:{default:24},rubberSize:{default:80}},emits:["end"],setup(e,{expose:t,emit:n}){const r=e,o=n;let i=null;const a=ve(),s=ve();let l={x:0,y:0},c=!1,u=0,f=-1;const d=ve({x:0,y:0}),h=ve(!1),p=ve(0),v=ve(0),m=Me(()=>s.value?p.value/s.value.width:1),x=Me(()=>s.value?v.value/s.value.height:1),y=()=>{a.value&&(p.value=a.value.clientWidth,v.value=a.value.clientHeight)},R=new ResizeObserver(y);Qt(()=>{a.value&&R.observe(a.value)}),Sn(()=>{a.value&&R.unobserve(a.value)}),Qt(()=>{!s.value||!a.value||(i=s.value.getContext("2d"),i&&(s.value.width=a.value.clientWidth,s.value.height=a.value.clientHeight,i.lineCap="round",i.lineJoin="round"))});const b=()=>{i&&(r.model==="mark"?(i.globalCompositeOperation="xor",i.globalAlpha=.5):r.model==="pen"&&(i.globalCompositeOperation="source-over",i.globalAlpha=1))};wt(()=>r.model,b);const M=(Y,$,le)=>{if(!i)return;const Q=l.x,K=l.y;i.lineWidth=le,i.strokeStyle=r.color,i.beginPath(),i.moveTo(Q,K),i.lineTo(Y,$),i.stroke(),i.closePath()},T=(Y,$)=>{if(!i||!s.value)return;const le=l.x,Q=l.y,K=r.rubberSize/2,B=K*Math.sin(Math.atan(($-Q)/(Y-le))),D=K*Math.cos(Math.atan(($-Q)/(Y-le))),G=[le+B,Q-D],ae=[le-B,Q+D],se=[Y+B,$-D],J=[Y-B,$+D];i.save(),i.beginPath(),i.arc(Y,$,K,0,Math.PI*2),i.clip(),i.clearRect(0,0,s.value.width,s.value.height),i.restore(),i.save(),i.beginPath(),i.moveTo(...G),i.lineTo(...se),i.lineTo(...J),i.lineTo(...ae),i.closePath(),i.clip(),i.clearRect(0,0,s.value.width,s.value.height),i.restore()},w=(Y,$)=>{const le=l.x,Q=l.y;return Math.sqrt((Y-le)*(Y-le)+($-Q)*($-Q))},L=(Y,$)=>{const K=r.penSize,B=3,D=Y/$;let G;return D<=.1?G=K:D>=10?G=B:G=K-D/10*K,f===-1?G:G*1/3+f*2/3},k=(Y,$)=>{const le=new Date().getTime();if(r.model==="pen"){const Q=w(Y,$),K=le-u,B=L(Q,K);M(Y,$,B),f=B}else r.model==="mark"?M(Y,$,r.markSize):T(Y,$);l={x:Y,y:$},u=new Date().getTime()},E=Y=>{if(!s.value)return[0,0];const $=Y instanceof MouseEvent?Y:Y.changedTouches[0],le=s.value.getBoundingClientRect(),Q=$.pageX-le.x,K=$.pageY-le.y;return[Q,K]},P=Y=>{const[$,le]=E(Y),Q=$/m.value,K=le/x.value;c=!0,l={x:Q,y:K},u=new Date().getTime(),Y instanceof MouseEvent||(d.value={x:$,y:le},h.value=!0)},W=Y=>{const[$,le]=E(Y),Q=$/m.value,K=le/x.value;d.value={x:$,y:le},c&&k(Q,K)},N=()=>{c&&(c=!1,o("end"))};return t({clearCanvas:()=>{!i||!s.value||(i.clearRect(0,0,s.value.width,s.value.height),o("end"))},getImageDataURL:()=>{var Y;return(Y=s.value)==null?void 0:Y.toDataURL()},setImageDataURL:Y=>{if(!(!i||!s.value)&&(i.clearRect(0,0,s.value.width,s.value.height),Y)){i.globalCompositeOperation="source-over",i.globalAlpha=1;const $=new Image;$.src=Y,$.onload=()=>{i.drawImage($,0,0),b()}}}}),(Y,$)=>{const le=Se("IconWrite"),Q=Se("IconHighLight");return U(),ee("div",{class:"writing-board",ref_key:"writingBoardRef",ref:a},[Y.blackboard?(U(),ee("div",R8e)):Qe("",!0),V("canvas",{class:"canvas",ref_key:"canvasRef",ref:s,style:we({width:p.value+"px",height:v.value+"px"}),onMousedown:$[0]||($[0]=K=>P(K)),onMousemove:$[1]||($[1]=K=>W(K)),onMouseup:$[2]||($[2]=K=>N()),onTouchstart:$[3]||($[3]=K=>P(K)),onTouchmove:$[4]||($[4]=K=>W(K)),onTouchend:$[5]||($[5]=K=>{N(),h.value=!1}),onMouseleave:$[6]||($[6]=K=>{N(),h.value=!1}),onMouseenter:$[7]||($[7]=K=>h.value=!0)},null,36),h.value?(U(),ee(We,{key:1},[Y.model==="eraser"?(U(),ee("div",{key:0,class:"eraser",style:we({left:d.value.x-Y.rubberSize/2+"px",top:d.value.y-Y.rubberSize/2+"px",width:Y.rubberSize+"px",height:Y.rubberSize+"px"})},null,4)):Qe("",!0),Y.model==="pen"?(U(),ee("div",{key:1,class:"pen",style:we({left:d.value.x-Y.penSize/2+"px",top:d.value.y-Y.penSize*6+Y.penSize/2+"px",color:Y.color})},[Y.model==="pen"?(U(),ke(le,{key:0,class:"icon",size:Y.penSize*6},null,8,["size"])):Qe("",!0)],4)):Qe("",!0),Y.model==="mark"?(U(),ee("div",{key:2,class:"pen",style:we({left:d.value.x-Y.markSize/2+"px",top:d.value.y+"px",color:Y.color})},[Y.model==="mark"?(U(),ke(Q,{key:0,class:"icon",size:Y.markSize*1.5},null,8,["size"])):Qe("",!0)],4)):Qe("",!0)],64)):Qe("",!0)],512)}}}),b8e=Ue(y8e,[["__scopeId","data-v-55ae5f6c"]]),$5=e=>(zt("data-v-47295ef6"),e=e(),Jt(),e),x8e={class:"writing-board-tool"},S8e={class:"tool-content"},M8e={class:"size"},w8e=$5(()=>V("div",{class:"label"},"墨迹粗细:",-1)),L8e={class:"size"},O8e=$5(()=>V("div",{class:"label"},"墨迹粗细:",-1)),T8e={class:"size"},k8e=$5(()=>V("div",{class:"label"},"橡皮大小:",-1)),N8e={class:"colors"},P8e=["onClick"],C8e=Ee({__name:"WritingBoardTool",props:{slideWidth:{},slideHeight:{},left:{default:-5},top:{default:-5}},emits:["close"],setup(e,{emit:t}){const n=["#000000","#ffffff","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#ffff3a"],r=t,{currentSlide:o}=Xe(st()),i=ve(),a=ve("#e2534d"),s=ve("pen"),l=ve(!1),c=ve(""),u=ve(6),f=ve(24),d=ve(80),h=y=>{s.value===y?c.value=c.value===y?"":y:(c.value&&(c.value=""),s.value=y)},p=()=>{i.value.clearCanvas()},v=y=>{s.value==="eraser"&&(s.value="pen"),a.value=y},m=()=>{r("close")};wt(o,()=>{Sa.writingBoardImgs.where("id").equals(o.value.id).toArray().then(y=>{const R=y[0];i.value.setImageDataURL((R==null?void 0:R.dataURL)||"")})},{immediate:!0});const x=()=>{const y=i.value.getImageDataURL();y&&Sa.writingBoardImgs.where("id").equals(o.value.id).toArray().then(R=>{const A=R[0];A?Sa.writingBoardImgs.update(A,{dataURL:y}):Sa.writingBoardImgs.add({id:o.value.id,dataURL:y})})};return(y,R)=>{const A=Se("IconWrite"),b=Se("IconHighLight"),M=Se("IconErase"),T=Se("IconClear"),w=Se("IconFill"),L=Se("IconClose"),k=bn("tooltip");return U(),ee("div",x8e,[V("div",{class:"writing-board-wrap",style:we({width:y.slideWidth+"px",height:y.slideHeight+"px"})},[O(b8e,{ref_key:"writingBoardRef",ref:i,color:a.value,blackboard:l.value,model:s.value,penSize:u.value,markSize:f.value,rubberSize:d.value,onEnd:R[0]||(R[0]=E=>x())},null,8,["color","blackboard","model","penSize","markSize","rubberSize"])],4),O(n1,{class:"tools-panel",width:520,height:50,left:y.left,top:y.top,moveable:c.value===""},{default:oe(()=>[V("div",{class:"tools",onMousedown:R[10]||(R[10]=Nt(()=>{},["stop"]))},[V("div",S8e,[O(Pt,{trigger:"manual",value:c.value==="pen"},{content:oe(()=>[V("div",M8e,[w8e,O(so,{class:"size-slider",min:4,max:10,step:2,value:u.value,"onUpdate:value":R[1]||(R[1]=E=>u.value=E)},null,8,["value"])])]),default:oe(()=>[He((U(),ee("div",{class:Je(["btn",{active:s.value==="pen"}]),onClick:R[2]||(R[2]=E=>h("pen"))},[O(A,{class:"icon"})],2)),[[k,"画笔"]])]),_:1},8,["value"]),O(Pt,{trigger:"manual",value:c.value==="mark"},{content:oe(()=>[V("div",L8e,[O8e,O(so,{class:"size-slider",min:16,max:40,step:4,value:f.value,"onUpdate:value":R[3]||(R[3]=E=>f.value=E)},null,8,["value"])])]),default:oe(()=>[He((U(),ee("div",{class:Je(["btn",{active:s.value==="mark"}]),onClick:R[4]||(R[4]=E=>h("mark"))},[O(b,{class:"icon"})],2)),[[k,"荧光笔"]])]),_:1},8,["value"]),O(Pt,{trigger:"manual",value:c.value==="eraser"},{content:oe(()=>[V("div",T8e,[k8e,O(so,{class:"size-slider",min:20,max:200,step:20,value:d.value,"onUpdate:value":R[5]||(R[5]=E=>d.value=E)},null,8,["value"])])]),default:oe(()=>[He((U(),ee("div",{class:Je(["btn",{active:s.value==="eraser"}]),onClick:R[6]||(R[6]=E=>h("eraser"))},[O(M,{class:"icon"})],2)),[[k,"橡皮擦"]])]),_:1},8,["value"]),He((U(),ee("div",{class:"btn",onClick:R[7]||(R[7]=E=>p())},[O(T,{class:"icon"})])),[[k,"清除墨迹"]]),He((U(),ee("div",{class:Je(["btn",{active:l.value}]),onClick:R[8]||(R[8]=E=>l.value=!l.value)},[O(w,{class:"icon"})],2)),[[k,"黑板"]]),V("div",N8e,[(U(),ee(We,null,nt(n,E=>V("div",{class:Je(["color",{active:E===a.value}]),key:E,style:we({backgroundColor:E}),onClick:P=>v(E)},null,14,P8e)),64))])]),He((U(),ee("div",{class:"btn",onClick:R[9]||(R[9]=E=>m())},[O(L,{class:"icon"})])),[[k,"关闭画笔"]])],32)]),_:1},8,["left","top","moveable"])])}}}),OE=Ue(C8e,[["__scopeId","data-v-47295ef6"]]),I8e=e=>(zt("data-v-92c1f9be"),e=e(),Jt(),e),F8e={class:"header"},_8e={class:"content"},E8e={class:"timer"},X8e=["value","disabled"],W8e=I8e(()=>V("div",{class:"colon"},":",-1)),V8e={class:"timer"},U8e=["value","disabled"],Y8e=Ee({__name:"CountdownTimer",props:{left:{default:5},top:{default:5}},emits:["close"],setup(e,{emit:t}){const n=t,r=ve(null),o=ve(!1),i=ve(!1),a=ve(0),s=Me(()=>Math.floor(a.value/60)),l=Me(()=>a.value%60),c=Me(()=>!i.value||o.value),u=()=>{r.value&&clearInterval(r.value)};Sn(u);const f=()=>{u(),o.value=!1},d=()=>{u(),o.value=!1,i.value?a.value=600:a.value=0},h=()=>{u(),i.value?r.value=setInterval(()=>{a.value=a.value-1,a.value<=0&&d()},1e3):r.value=setInterval(()=>{a.value=a.value+1,a.value>36e3&&f()},1e3),o.value=!0},p=()=>{o.value?f():h()},v=()=>{i.value=!i.value,d()},m=(x,y)=>{const R=x.target;let A=R.value;/^(\d)+$/.test(A)?(y==="second"&&+A>=60&&(A="59"),a.value=y==="minute"?+A*60+l.value:+A+s.value*60):R.value=D0(y==="minute"?s.value:l.value,2)};return(x,y)=>{const R=Se("IconClose");return U(),ke(n1,{class:"countdown-timer",width:180,height:110,left:x.left,top:x.top},{default:oe(()=>[V("div",F8e,[V("span",{class:"text-btn",onClick:y[0]||(y[0]=A=>p())},vt(o.value?"暂停":"开始"),1),V("span",{class:"text-btn",onClick:y[1]||(y[1]=A=>d())},"重置"),V("span",{class:Je(["text-btn",{active:i.value}]),onClick:y[2]||(y[2]=A=>v())},"倒计时",2)]),V("div",_8e,[V("div",E8e,[V("input",{type:"text",value:H(D0)(s.value,2),maxlength:3,disabled:c.value,onMousedown:y[3]||(y[3]=Nt(()=>{},["stop"])),onBlur:y[4]||(y[4]=A=>m(A,"minute")),onKeydown:[y[5]||(y[5]=Nt(()=>{},["stop"])),y[6]||(y[6]=ll(Nt(A=>m(A,"minute"),["stop"]),["enter"]))]},null,40,X8e)]),W8e,V("div",V8e,[V("input",{type:"text",value:H(D0)(l.value,2),maxlength:3,disabled:c.value,onMousedown:y[7]||(y[7]=Nt(()=>{},["stop"])),onBlur:y[8]||(y[8]=A=>m(A,"second")),onKeydown:[y[9]||(y[9]=Nt(()=>{},["stop"])),y[10]||(y[10]=ll(Nt(A=>m(A,"second"),["stop"]),["enter"]))]},null,40,U8e)])]),V("div",{class:"close-btn",onClick:y[11]||(y[11]=A=>n("close"))},[O(R,{class:"icon"})])]),_:1},8,["left","top"])}}}),TE=Ue(Y8e,[["__scopeId","data-v-92c1f9be"]]),Q8e={class:"tools-left"},Z8e={class:"content"},B8e=Ee({__name:"BaseView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r}=Xe(st()),{autoPlayTimer:o,autoPlay:i,closeAutoPlay:a,autoPlayInterval:s,setAutoPlayInterval:l,loopPlay:c,setLoopPlay:u,mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:v,turnSlideToIndex:m,turnSlideToId:x,execPrev:y,execNext:R,animationIndex:A}=SE(),{slideWidth:b,slideHeight:M}=ME(),{exitScreening:T}=Tc(),{fullscreenState:w,manualExitFullscreen:L}=wE(),k=ve(!1),E=ve(!1),P=ve(!1),W=ve(!1),N=ve(!1),_=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>v()},{text:"第一页",disable:r.value===0,handler:()=>m(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>m(n.value.length-1)},{divider:!0},{text:o.value?"取消自动放映":"自动放映",handler:o.value?a:i,children:[{text:"2.5秒",subText:s.value===2500?"√":"",handler:()=>l(2500)},{text:"5秒",subText:s.value===5e3?"√":"",handler:()=>l(5e3)},{text:"7.5秒",subText:s.value===7500?"√":"",handler:()=>l(7500)},{text:"10秒",subText:s.value===1e4?"√":"",handler:()=>l(1e4)}]},{text:"循环放映",subText:c.value?"√":"",handler:()=>u(!c.value)},{divider:!0},{text:"显示工具栏",handler:()=>k.value=!0},{text:"查看所有幻灯片",handler:()=>W.value=!0},{text:"画笔工具",handler:()=>E.value=!0},{text:"演讲者视图",handler:()=>t.changeViewMode("presenter")},{divider:!0},{text:"结束放映",subText:"ESC",handler:T}];return(C,X)=>{const Y=Se("IconLeftTwo"),$=Se("IconRightTwo"),le=Se("IconWrite"),Q=Se("IconMagic"),K=Se("IconStopwatchStart"),B=Se("IconListView"),D=Se("IconOffScreenOne"),G=Se("IconFullScreenOne"),ae=Se("IconPower"),se=bn("contextmenu"),J=bn("tooltip");return U(),ee("div",{class:Je(["base-view",{"laser-pen":N.value}])},[He(O(LE,{slideWidth:H(b),slideHeight:H(M),animationIndex:H(A),turnSlideToId:H(x),manualExitFullscreen:H(L),onWheel:X[0]||(X[0]=Re=>H(f)(Re)),onTouchstart:X[1]||(X[1]=Re=>H(d)(Re)),onTouchend:X[2]||(X[2]=Re=>H(h)(Re))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[se,_]]),W.value?(U(),ke(A8e,{key:0,turnSlideToIndex:H(m),onClose:X[3]||(X[3]=Re=>W.value=!1)},null,8,["turnSlideToIndex"])):Qe("",!0),E.value?(U(),ke(OE,{key:1,slideWidth:H(b),slideHeight:H(M),onClose:X[4]||(X[4]=Re=>E.value=!1)},null,8,["slideWidth","slideHeight"])):Qe("",!0),P.value?(U(),ke(TE,{key:2,onClose:X[5]||(X[5]=Re=>P.value=!1)})):Qe("",!0),V("div",Q8e,[O(Y,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:X[6]||(X[6]=Re=>H(y)())}),O($,{class:"tool-btn",theme:"two-tone",fill:["#111","#fff"],onClick:X[7]||(X[7]=Re=>H(R)())})]),V("div",{class:Je(["tools-right",{visible:k.value}]),onMouseleave:X[16]||(X[16]=Re=>k.value=!1),onMouseenter:X[17]||(X[17]=Re=>k.value=!0)},[V("div",Z8e,[V("div",{class:"tool-btn page-number",onClick:X[8]||(X[8]=Re=>W.value=!0)},"幻灯片 "+vt(H(r)+1)+" / "+vt(H(n).length),1),He(O(le,{class:"tool-btn",onClick:X[9]||(X[9]=Re=>E.value=!0)},null,512),[[J,"画笔工具"]]),He(O(Q,{class:Je(["tool-btn",{active:N.value}]),onClick:X[10]||(X[10]=Re=>N.value=!N.value)},null,8,["class"]),[[J,"激光笔"]]),He(O(K,{class:Je(["tool-btn",{active:P.value}]),onClick:X[11]||(X[11]=Re=>P.value=!P.value)},null,8,["class"]),[[J,"计时器"]]),He(O(B,{class:"tool-btn",onClick:X[12]||(X[12]=Re=>C.changeViewMode("presenter"))},null,512),[[J,"演讲者视图"]]),H(w)?He((U(),ke(D,{key:0,class:"tool-btn",onClick:X[13]||(X[13]=Re=>H(L)())},null,512)),[[J,"退出全屏"]]):He((U(),ke(G,{key:1,class:"tool-btn",onClick:X[14]||(X[14]=Re=>H(Yx)())},null,512)),[[J,"进入全屏"]]),He(O(ae,{class:"tool-btn",onClick:X[15]||(X[15]=Re=>H(T)())},null,512),[[J,"结束放映"]])])],34)],2)}}}),D8e=Ue(B8e,[["__scopeId","data-v-85c13201"]]),r0=e=>(zt("data-v-691774ef"),e=e(),Jt(),e),K8e={class:"presenter-view"},H8e={class:"toolbar"},G8e=r0(()=>V("span",null,"普通视图",-1)),z8e=r0(()=>V("span",null,"画笔",-1)),J8e=r0(()=>V("span",null,"激光笔",-1)),$8e=r0(()=>V("span",null,"计时器",-1)),j8e=r0(()=>V("span",null,"结束放映",-1)),q8e={class:"content"},e6e=["onClick"],t6e={class:"remark"},n6e={class:"header"},r6e=r0(()=>V("span",null,"演讲者备注",-1)),o6e=["innerHTML"],i6e={class:"remark-scale"},a6e=Ee({__name:"PresenterView",props:{changeViewMode:{type:Function}},setup(e){const t=e,{slides:n,slideIndex:r,viewportRatio:o,currentSlide:i}=Xe(st()),a=ve(),s=ve(),l=ve(!1),c=ve(!1),u=ve(!1),{mousewheelListener:f,touchStartListener:d,touchEndListener:h,turnPrevSlide:p,turnNextSlide:v,turnSlideToIndex:m,turnSlideToId:x,animationIndex:y}=SE(),{slideWidth:R,slideHeight:A}=ME(a),{exitScreening:b}=Tc(),{slidesLoadLimit:M}=zp(),{fullscreenState:T,manualExitFullscreen:w}=wE(),L=ve(16),k=Me(()=>jg(i.value.remark||"无备注")),E=N=>{s.value&&s.value.scrollBy(N.deltaY,0)},P=N=>{N<12||N>40||(L.value=N)};wt(r,()=>{pr(()=>{if(!s.value)return;const N=s.value.querySelector(".thumbnail.active");if(!N)return;const _=s.value.offsetWidth,C=N.offsetLeft;s.value.scrollTo({left:C-_/2,behavior:"smooth"})})});const W=()=>[{text:"上一页",subText:"↑ ←",disable:r.value<=0,handler:()=>p()},{text:"下一页",subText:"↓ →",disable:r.value>=n.value.length-1,handler:()=>v()},{text:"第一页",disable:r.value===0,handler:()=>m(0)},{text:"最后一页",disable:r.value===n.value.length-1,handler:()=>m(n.value.length-1)},{divider:!0},{text:"画笔工具",handler:()=>l.value=!0},{text:"普通视图",handler:()=>t.changeViewMode("base")},{divider:!0},{text:"结束放映",subText:"ESC",handler:b}];return(N,_)=>{const C=Se("IconListView"),X=Se("IconWrite"),Y=Se("IconMagic"),$=Se("IconStopwatchStart"),le=Se("IconOffScreenOne"),Q=Se("IconPower"),K=Se("IconMinus"),B=Se("IconPlus"),D=bn("contextmenu");return U(),ee("div",K8e,[V("div",H8e,[V("div",{class:"tool-btn",onClick:_[0]||(_[0]=G=>N.changeViewMode("base"))},[O(C,{class:"tool-icon"}),G8e]),V("div",{class:Je(["tool-btn",{active:l.value}]),onClick:_[1]||(_[1]=G=>l.value=!l.value)},[O(X,{class:"tool-icon"}),z8e],2),V("div",{class:Je(["tool-btn",{active:u.value}]),onClick:_[2]||(_[2]=G=>u.value=!u.value)},[O(Y,{class:"tool-icon"}),J8e],2),V("div",{class:Je(["tool-btn",{active:c.value}]),onClick:_[3]||(_[3]=G=>c.value=!c.value)},[O($,{class:"tool-icon"}),$8e],2),V("div",{class:"tool-btn",onClick:_[4]||(_[4]=()=>H(T)?H(w)():H(Yx)())},[H(T)?(U(),ke(le,{key:0,class:"tool-icon"})):(U(),ke(le,{key:1,class:"tool-icon"})),V("span",null,vt(H(T)?"退出全屏":"全屏"),1)]),O(Ft,{class:"divider"}),V("div",{class:"tool-btn",onClick:_[5]||(_[5]=G=>H(b)())},[O(Q,{class:"tool-icon"}),j8e])]),V("div",q8e,[V("div",{class:Je(["slide-list-wrap",{"laser-pen":u.value}]),ref_key:"slideListWrapRef",ref:a},[He(O(LE,{slideWidth:H(R),slideHeight:H(A),animationIndex:H(y),turnSlideToId:H(x),manualExitFullscreen:H(w),onWheel:_[6]||(_[6]=G=>H(f)(G)),onTouchstart:_[7]||(_[7]=G=>H(d)(G)),onTouchend:_[8]||(_[8]=G=>H(h)(G))},null,8,["slideWidth","slideHeight","animationIndex","turnSlideToId","manualExitFullscreen"]),[[D,W]]),l.value?(U(),ke(OE,{key:0,slideWidth:H(R),slideHeight:H(A),left:-365,top:-155,onClose:_[9]||(_[9]=G=>l.value=!1)},null,8,["slideWidth","slideHeight"])):Qe("",!0),c.value?(U(),ke(TE,{key:1,left:75,onClose:_[10]||(_[10]=G=>c.value=!1)})):Qe("",!0)],2),V("div",{class:"thumbnails",ref_key:"thumbnailsRef",ref:s,onWheel:_[11]||(_[11]=Nt(G=>E(G),["prevent"]))},[(U(!0),ee(We,null,nt(H(n),(G,ae)=>(U(),ee("div",{class:Je(["thumbnail",{active:ae===H(r)}]),key:G.id,onClick:se=>H(m)(ae)},[O(Fa,{slide:G,size:120/H(o),visible:ae<H(M)},null,8,["slide","size","visible"])],10,e6e))),128))],544)]),V("div",t6e,[V("div",n6e,[r6e,V("span",null,"P "+vt(H(r)+1)+" / "+vt(H(n).length),1)]),V("div",{class:"remark-content ProseMirror-static",style:we({fontSize:L.value+"px"}),innerHTML:k.value},null,12,o6e),V("div",i6e,[V("div",{class:Je(["scale-btn",{disable:L.value===12}]),onClick:_[12]||(_[12]=G=>P(L.value-2))},[O(K)],2),V("div",{class:Je(["scale-btn",{disable:L.value===40}]),onClick:_[13]||(_[13]=G=>P(L.value+2))},[O(B)],2)])])])}}}),s6e=Ue(a6e,[["__scopeId","data-v-691774ef"]]),l6e={class:"pptist-screen"},c6e=Ee({__name:"index",setup(e){const t=ve("base"),n=i=>{t.value=i},{exitScreening:r}=Tc(),o=i=>{i.key.toUpperCase()===gt.ESC&&r()};return Qt(()=>document.addEventListener("keydown",o)),Sn(()=>document.removeEventListener("keydown",o)),(i,a)=>(U(),ee("div",l6e,[t.value==="base"?(U(),ke(D8e,{key:0,changeViewMode:n})):t.value==="presenter"?(U(),ke(s6e,{key:1,changeViewMode:n})):Qe("",!0)]))}}),u6e=Ue(c6e,[["__scopeId","data-v-2f0dc4b8"]]),f6e=Ee({__name:"MobileEditableElement",props:{elementInfo:{},elementIndex:{},selectElement:{type:Function}},setup(e){const t=e,n=Me(()=>({[Tt.IMAGE]:zI,[Tt.TEXT]:ZF,[Tt.SHAPE]:DF,[Tt.LINE]:KF,[Tt.CHART]:t_,[Tt.TABLE]:a_,[Tt.LATEX]:s_,[Tt.VIDEO]:c_,[Tt.AUDIO]:d_})[t.elementInfo.type]||null);return(r,o)=>(U(),ee("div",{class:"mobile-editable-element",style:we({zIndex:r.elementIndex})},[(U(),ke(ws(n.value),{elementInfo:r.elementInfo,selectElement:r.selectElement,contextmenus:()=>null},null,8,["elementInfo","selectElement"]))],4))}}),d6e=Ee({__name:"MobileOperate",props:{elementInfo:{},isSelected:{type:Boolean},canvasScale:{},scaleElement:{type:Function},rotateElement:{type:Function}},setup(e){const t=e,n=Me(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),r=Me(()=>t.elementInfo.width*t.canvasScale),o=Me(()=>t.elementInfo.height*t.canvasScale),{borderLines:i,resizeHandlers:a,textElementResizeHandlers:s}=tf(r,o),l=t.elementInfo.type==="text"||t.elementInfo.type==="table"?s:a,c=Me(()=>["chart","video","audio"].includes(t.elementInfo.type));return(u,f)=>(U(),ee("div",{class:"mobile-operate",style:we({top:u.elementInfo.top*u.canvasScale+"px",left:u.elementInfo.left*u.canvasScale+"px",transform:`rotate(${n.value}deg)`,transformOrigin:`${u.elementInfo.width*u.canvasScale/2}px ${u.elementInfo.height*u.canvasScale/2}px`})},[u.isSelected?(U(),ee(We,{key:0},[(U(!0),ee(We,null,nt(H(i),d=>(U(),ke(nf,{class:"operate-border-line",key:d.type,type:d.type,style:we(d.style)},null,8,["type","style"]))),128)),(U(!0),ee(We,null,nt(H(l),d=>(U(),ke(Ic,{class:"operate-resize-handler",key:d.direction,type:d.direction,rotate:u.elementInfo.rotate,style:we(d.style),onTouchstart:Nt(h=>u.scaleElement(h,u.elementInfo,d.direction),["stop"])},null,8,["type","rotate","style","onTouchstart"]))),128)),c.value?Qe("",!0):(U(),ke(t0,{key:0,class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onTouchstart:f[0]||(f[0]=Nt(d=>u.rotateElement(d,u.elementInfo),["stop"]))},null,8,["style"]))],64)):Qe("",!0)],4))}}),h6e=Ue(d6e,[["__scopeId","data-v-b61bf2dc"]]),p6e={class:"mobile-thumbnails"},v6e=["onClick"],g6e={class:"label"},m6e=Ee({__name:"MobileThumbnails",setup(e){const t=st(),{slides:n,slideIndex:r}=Xe(t),{sortSlides:o}=Oc(),{slidesLoadLimit:i}=zp(),a=l=>{t.updateSlideIndex(l)},s=l=>{const{newIndex:c,oldIndex:u}=l;c===void 0||u===void 0||c===u||o(c,u)};return(l,c)=>(U(),ee("div",p6e,[O(H(X5),{class:"thumbnail-list",modelValue:H(n),animation:200,scroll:!0,scrollSensitivity:50,delayOnTouchOnly:!0,delay:800,itemKey:"id",onEnd:s},{item:oe(({element:u,index:f})=>[V("div",{class:Je(["thumbnail-item",{active:H(r)===f}]),onClick:d=>a(f)},[V("div",g6e,vt(f+1),1),O(Fa,{class:"thumbnail",slide:u,size:120,visible:f<H(i)},null,8,["slide","visible"])],10,v6e)]),_:1},8,["modelValue"])]))}}),kE=Ue(m6e,[["__scopeId","data-v-f47af55e"]]),A6e={class:"slide-toolbar"},R6e={class:"remark"},y6e=["value"],b6e={class:"toolbar"},x6e=Ee({__name:"SlideToolbar",setup(e){const t=st(),{viewportRatio:n,currentSlide:r,viewportSize:o}=Xe(t),{createSlide:i,copyAndPasteSlide:a,deleteSlide:s}=Oc(),{createTextElement:l,createImageElement:c,createShapeElement:u}=Ju(),f=()=>{l({left:(o.value-400)/2,top:(o.value*n.value-56)/2,width:400,height:56},{content:"<p>新添加文本</p>"})},d=m=>{!m||!m[0]||Lc(m[0]).then(x=>c(x))},h=m=>{const R={square:{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"},round:{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"}},A=200;u({left:(o.value-A)/2,top:(o.value*n.value-A)/2,width:A,height:A},R[m])},p=Me(()=>{var m;return((m=r.value)==null?void 0:m.remark)||""}),v=m=>{const x=m.target.value;t.updateSlide({remark:x})};return(m,x)=>{const y=Se("IconPlus"),R=Se("IconCopy"),A=Se("IconDelete"),b=Se("IconFontSize"),M=Se("IconPicture"),T=Se("IconSquare"),w=Se("IconRound");return U(),ee("div",A6e,[V("div",R6e,[V("textarea",{value:p.value,placeholder:"点击输入演讲者备注",onInput:x[0]||(x[0]=L=>v(L))},null,40,y6e)]),V("div",b6e,[O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:x[1]||(x[1]=L=>H(i)())},{default:oe(()=>[O(y,{class:"icon"}),Ve(" 新幻灯片")]),_:1}),O(je,{style:{flex:"1"},onClick:x[2]||(x[2]=L=>H(a)())},{default:oe(()=>[O(R,{class:"icon"}),Ve(" 复制")]),_:1}),O(je,{style:{flex:"1"},onClick:x[3]||(x[3]=L=>H(s)())},{default:oe(()=>[O(A,{class:"icon"}),Ve(" 删除")]),_:1})]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:x[4]||(x[4]=L=>f())},{default:oe(()=>[O(b,{class:"icon"}),Ve(" 文字")]),_:1}),O(je,{style:{flex:"1"}},{default:oe(()=>[O(Wu,{onChange:x[5]||(x[5]=L=>d(L))},{default:oe(()=>[O(M,{class:"icon"}),Ve("图片 ")]),_:1})]),_:1}),O(je,{style:{flex:"1"},onClick:x[6]||(x[6]=L=>h("square"))},{default:oe(()=>[O(T,{class:"icon"}),Ve(" 矩形")]),_:1}),O(je,{style:{flex:"1"},onClick:x[7]||(x[7]=L=>h("round"))},{default:oe(()=>[O(w,{class:"icon"}),Ve(" 圆形")]),_:1})]),_:1})]),O(kE)])}}}),S6e=Ue(x6e,[["__scopeId","data-v-34808e39"]]),NE=e=>(zt("data-v-14deecba"),e=e(),Jt(),e),M6e={class:"element-toolbar"},w6e={class:"content"},L6e={key:0,class:"style"},O6e={class:"row-block"},T6e=NE(()=>V("div",{class:"label"},"文字颜色:",-1)),k6e={class:"colors"},N6e=["onClick"],P6e={class:"row-block"},C6e=NE(()=>V("div",{class:"label"},"填充色:",-1)),I6e={class:"colors"},F6e=["onClick"],_6e={key:1,class:"common"},E6e=Ee({__name:"ElementToolbar",setup(e){const t=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c","#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57"],n=ft(),r=st(),{handleElement:o,handleElementId:i,richTextAttrs:a}=Xe(n),{addHistorySnapshot:s}=Ht(),l=(R,A)=>{r.updateElement({id:R,props:A}),s()},c=[{key:"style",label:"样式"},{key:"common",label:"布局"}],u=ve("common"),{orderElement:f}=_p(),{alignElementToCanvas:d}=v2(),{addElementsFromData:h}=t2(),{deleteElement:p}=Fp(),v=()=>{const R=JSON.parse(JSON.stringify(o.value));h([R])},m=(R,A)=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:{command:R,value:A}})},x=R=>{var A;if(o.value){if((o.value.type==="text"||o.value.type==="shape"&&((A=o.value.text)!=null&&A.content))&&ao.emit(Hr.RICH_TEXT_COMMAND,{action:{command:"color",value:R}}),o.value.type==="table"){const b=JSON.parse(JSON.stringify(o.value.data));for(let M=0;M<b.length;M++)for(let T=0;T<b[M].length;T++){const w=b[M][T].style||{};b[M][T].style={...w,color:R}}l(i.value,{data:b})}o.value.type==="latex"&&l(i.value,{color:R})}},y=R=>{if(o.value){if((o.value.type==="text"||o.value.type==="shape"||o.value.type==="chart")&&l(i.value,{fill:R}),o.value.type==="table"){const A=JSON.parse(JSON.stringify(o.value.data));for(let b=0;b<A.length;b++)for(let M=0;M<A[b].length;M++){const T=A[b][M].style||{};A[b][M].style={...T,backcolor:R}}l(i.value,{data:A})}o.value.type==="audio"&&l(i.value,{color:R})}};return(R,A)=>{const b=Se("IconTextBold"),M=Se("IconTextItalic"),T=Se("IconTextUnderline"),w=Se("IconStrikethrough"),L=Se("IconFontSize"),k=Se("IconAlignTextLeft"),E=Se("IconAlignTextCenter"),P=Se("IconAlignTextRight"),W=Se("IconCopy"),N=Se("IconDelete"),_=Se("IconSendToBack"),C=Se("IconBringToFrontOne"),X=Se("IconBringToFront"),Y=Se("IconSentToBack"),$=Se("IconAlignLeft"),le=Se("IconAlignVertically"),Q=Se("IconAlignRight"),K=Se("IconAlignTop"),B=Se("IconAlignHorizontally"),D=Se("IconAlignBottom");return U(),ee("div",M6e,[O(_a,{tabs:c,value:u.value,"onUpdate:value":A[0]||(A[0]=G=>u.value=G),tabsStyle:{marginBottom:"8px"},tabStyle:{width:"30%",margin:"0 10%"}},null,8,["value"]),V("div",w6e,[u.value==="style"?(U(),ee("div",L6e,[O(Ln,{class:"row"},{default:oe(()=>[O(Ar,{style:{flex:"1"},checked:H(a).bold,onClick:A[1]||(A[1]=G=>m("bold"))},{default:oe(()=>[O(b)]),_:1},8,["checked"]),O(Ar,{style:{flex:"1"},checked:H(a).em,onClick:A[2]||(A[2]=G=>m("em"))},{default:oe(()=>[O(M)]),_:1},8,["checked"]),O(Ar,{style:{flex:"1"},checked:H(a).underline,onClick:A[3]||(A[3]=G=>m("underline"))},{default:oe(()=>[O(T)]),_:1},8,["checked"]),O(Ar,{style:{flex:"1"},checked:H(a).strikethrough,onClick:A[4]||(A[4]=G=>m("strikethrough"))},{default:oe(()=>[O(w)]),_:1},8,["checked"])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:A[5]||(A[5]=G=>m("fontsize-add"))},{default:oe(()=>[O(L),Ve("+")]),_:1}),O(je,{style:{flex:"1"},onClick:A[6]||(A[6]=G=>m("fontsize-reduce"))},{default:oe(()=>[O(L),Ve("-")]),_:1})]),_:1}),O(Ft,{margin:20}),O(Ms,{class:"row","button-style":"solid",value:H(a).align,"onUpdate:value":A[7]||(A[7]=G=>m("align",G))},{default:oe(()=>[O(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(k)]),_:1}),O(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(E)]),_:1}),O(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O(P)]),_:1})]),_:1},8,["value"]),O(Ft,{margin:20}),V("div",O6e,[T6e,V("div",k6e,[(U(),ee(We,null,nt(t,G=>V("div",{class:"color",key:G,onClick:ae=>x(G)},[V("div",{class:"color-block",style:we({backgroundColor:G})},null,4)],8,N6e)),64))])]),V("div",P6e,[C6e,V("div",I6e,[(U(),ee(We,null,nt(t,G=>V("div",{class:"color",key:G,onClick:ae=>y(G)},[V("div",{class:"color-block",style:we({backgroundColor:G})},null,4)],8,F6e)),64))])])])):Qe("",!0),u.value==="common"?(U(),ee("div",_6e,[O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:A[8]||(A[8]=G=>v())},{default:oe(()=>[O(W,{class:"icon"}),Ve(" 复制")]),_:1}),O(je,{style:{flex:"1"},onClick:A[9]||(A[9]=G=>H(p)())},{default:oe(()=>[O(N,{class:"icon"}),Ve(" 删除")]),_:1})]),_:1}),O(Ft,{margin:20}),O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:A[10]||(A[10]=G=>H(f)(H(o),H(dr).TOP))},{default:oe(()=>[O(_,{class:"icon"}),Ve(" 置顶")]),_:1}),O(je,{style:{flex:"1"},onClick:A[11]||(A[11]=G=>H(f)(H(o),H(dr).BOTTOM))},{default:oe(()=>[O(C,{class:"icon"}),Ve(" 置底")]),_:1}),O(je,{style:{flex:"1"},onClick:A[12]||(A[12]=G=>H(f)(H(o),H(dr).UP))},{default:oe(()=>[O(X,{class:"icon"}),Ve(" 上移")]),_:1}),O(je,{style:{flex:"1"},onClick:A[13]||(A[13]=G=>H(f)(H(o),H(dr).DOWN))},{default:oe(()=>[O(Y,{class:"icon"}),Ve(" 下移")]),_:1})]),_:1}),O(Ft,{margin:20}),O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:A[14]||(A[14]=G=>H(d)(H(nn).LEFT))},{default:oe(()=>[O($,{class:"icon"}),Ve(" 左对齐")]),_:1}),O(je,{style:{flex:"1"},onClick:A[15]||(A[15]=G=>H(d)(H(nn).HORIZONTAL))},{default:oe(()=>[O(le,{class:"icon"}),Ve(" 水平居中")]),_:1}),O(je,{style:{flex:"1"},onClick:A[16]||(A[16]=G=>H(d)(H(nn).RIGHT))},{default:oe(()=>[O(Q,{class:"icon"}),Ve(" 右对齐")]),_:1})]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:A[17]||(A[17]=G=>H(d)(H(nn).TOP))},{default:oe(()=>[O(K,{class:"icon"}),Ve(" 上对齐")]),_:1}),O(je,{style:{flex:"1"},onClick:A[18]||(A[18]=G=>H(d)(H(nn).VERTICAL))},{default:oe(()=>[O(B,{class:"icon"}),Ve(" 垂直居中")]),_:1}),O(je,{style:{flex:"1"},onClick:A[19]||(A[19]=G=>H(d)(H(nn).BOTTOM))},{default:oe(()=>[O(D,{class:"icon"}),Ve(" 下对齐")]),_:1})]),_:1})])):Qe("",!0)])])}}}),X6e=Ue(E6e,[["__scopeId","data-v-14deecba"]]),W6e={class:"mobile-editor-header"},V6e={class:"history"},U6e=Ee({__name:"Header",props:{changeMode:{type:Function}},setup(e){const{canUndo:t,canRedo:n}=Xe(qm()),{redo:r,undo:o}=Ht();return(i,a)=>{const s=Se("IconBack"),l=Se("IconNext"),c=Se("IconLogout");return U(),ee("div",W6e,[V("div",V6e,[V("div",{class:Je(["history-item",{disable:!H(t)}]),onClick:a[0]||(a[0]=Nt(u=>H(o)(),["stop"]))},[O(s),Ve(" 撤销")],2),V("div",{class:Je(["history-item",{disable:!H(n)}]),onClick:a[1]||(a[1]=Nt(u=>H(r)(),["stop"]))},[O(l),Ve(" 重做")],2)]),V("div",{class:"back",onClick:a[2]||(a[2]=u=>i.changeMode("preview"))},[O(c),Ve(" 退出编辑")])])}}}),Y6e=Ue(U6e,[["__scopeId","data-v-091403e4"]]),Q6e={class:"mobile-editor"},Z6e=Ee({__name:"index",props:{changeMode:{type:Function}},setup(e){const t=st(),n=ft(),{slideIndex:r,currentSlide:o,viewportRatio:i,viewportSize:a}=Xe(t),{activeElementIdList:s,handleElement:l}=Xe(n),c=ve(),u=ve(),f=ve([]),d=Me(()=>o.value.background),{backgroundStyle:h}=b2(d),p=Me(()=>{if(!c.value)return 1;const T=c.value.clientWidth,w=c.value.clientHeight;return w/T>=i.value?(T-20)/a.value:(w-20)/i.value/a.value});Qt(()=>{s.value.length&&n.setActiveElementIdList([]),r.value!==0&&t.updateSlideIndex(0)});const v=Me(()=>({width:a.value*p.value+"px",height:a.value*i.value*p.value+"px"})),m=ve([]);Dd(()=>{m.value=o.value?JSON.parse(JSON.stringify(o.value.elements)):[]});const{dragElement:y}=BI(m,f,p),{scaleElement:R}=ZI(m,f,p),{rotateElement:A}=YI(m,u,p),b=(T,w,L=!0)=>{s.value.includes(w.id)||(n.setActiveElementIdList([w.id]),n.setHandleElementId(w.id)),L&&y(T,w)},M=()=>{n.setActiveElementIdList([])};return(T,w)=>(U(),ee("div",Q6e,[O(Y6e,{changeMode:T.changeMode},null,8,["changeMode"]),V("div",{class:"content",ref_key:"contentRef",ref:c,onTouchstart:w[0]||(w[0]=L=>M())},[V("div",{class:"viewport-wrapper",style:we(v.value)},[V("div",{class:"background",style:we(H(h))},null,4),(U(!0),ee(We,null,nt(f.value,(L,k)=>(U(),ke(h_,{key:k,type:L.type,axis:L.axis,length:L.length,canvasScale:p.value},null,8,["type","axis","length","canvasScale"]))),128)),(U(!0),ee(We,null,nt(m.value,L=>(U(),ee(We,{key:L.id},[L.type!=="line"?(U(),ke(h6e,{key:0,elementInfo:L,isSelected:H(s).includes(L.id),canvasScale:p.value,scaleElement:H(R),rotateElement:H(A)},null,8,["elementInfo","isSelected","canvasScale","scaleElement","rotateElement"])):Qe("",!0)],64))),128)),V("div",{class:"viewport",ref_key:"viewportRef",ref:u,style:we({transform:`scale(${p.value})`})},[(U(!0),ee(We,null,nt(m.value,(L,k)=>(U(),ke(f6e,{key:L.id,elementInfo:L,elementIndex:k+1,selectElement:b},null,8,["elementInfo","elementIndex"]))),128))],4)],4)],544),O(S6e),H(l)?(U(),ke(X6e,{key:0})):Qe("",!0)]))}}),B6e=Ue(Z6e,[["__scopeId","data-v-94103018"]]),D6e={class:"header"},K6e=Ee({__name:"MobilePlayer",props:{changeMode:{type:Function}},setup(e){const t=st(),{slides:n,slideIndex:r,currentSlide:o,viewportRatio:i}=Xe(t),a=ve(!1),s=ve({width:0,height:0});Qt(()=>{r.value!==0&&t.updateSlideIndex(0),s.value={width:document.body.clientHeight,height:document.body.clientWidth}});const l=Me(()=>{const d=s.value.height/s.value.width;let h=0,p=0;return d>=i.value?(h=s.value.width,p=h*i.value):(p=s.value.height,h=p/i.value),{width:h,height:p}}),c=ve(null),u=d=>{c.value={x:d.changedTouches[0].pageX,y:d.changedTouches[0].pageY}},f=d=>{if(!c.value)return;const h=Math.abs(c.value.y-d.changedTouches[0].pageY),p=d.changedTouches[0].pageX-c.value.x;Math.abs(p)>h&&Math.abs(p)>50&&(c.value=null,p<0&&r.value>0&&t.updateSlideIndex(r.value-1),p>0&&r.value<n.value.length-1&&t.updateSlideIndex(r.value+1))};return(d,h)=>{const p=Se("IconLogout");return U(),ee("div",{class:"mobile-player",style:we({width:s.value.width+"px",height:s.value.height+"px",transform:`rotate(90deg) translateY(-${s.value.height}px)`})},[V("div",{class:"screen-slide-list",onClick:h[0]||(h[0]=v=>a.value=!a.value),onTouchstart:h[1]||(h[1]=v=>u(v)),onTouchend:h[2]||(h[2]=v=>f(v))},[(U(!0),ee(We,null,nt(H(n),(v,m)=>(U(),ee("div",{class:Je(["slide-item",`turning-mode-${v.turningMode||"slideY"}`,{current:m===H(r),before:m<H(r),after:m>H(r),hide:(m===H(r)-1||m===H(r)+1)&&v.turningMode!==H(o).turningMode}]),key:v.id},[Math.abs(H(r)-m)<2?(U(),ee("div",{key:0,class:"slide-content",style:we({width:l.value.width+"px",height:l.value.height+"px"})},[O(Fa,{slide:v,size:l.value.width},null,8,["slide","size"])],4)):Qe("",!0)],2))),128))],32),a.value?(U(),ee(We,{key:0},[V("div",D6e,[V("div",{class:"back",onClick:h[3]||(h[3]=v=>d.changeMode("preview"))},[O(p),Ve(" 退出播放")])]),O(kE,{class:"thumbnails"})],64)):Qe("",!0)],4)}}}),H6e=Ue(K6e,[["__scopeId","data-v-c846a018"]]),G6e={class:"thumbnail-list"},z6e={class:"menu"},J6e=Ee({__name:"MobilePreview",props:{changeMode:{type:Function}},setup(e){const{slides:t}=Xe(st()),{slidesLoadLimit:n}=zp(),r=ve(),o=ve(0);return Qt(()=>{r.value&&(o.value=r.value.clientWidth)}),(i,a)=>{const s=Se("IconEdit"),l=Se("IconFullScreenPlay");return U(),ee("div",{class:"mobile-preview",ref_key:"mobileRef",ref:r},[V("div",G6e,[(U(!0),ee(We,null,nt(H(t),(c,u)=>(U(),ee("div",{class:"thumbnail-item",key:c.id},[O(Fa,{slide:c,size:o.value-20,visible:u<H(n)},null,8,["slide","size","visible"])]))),128))]),V("div",z6e,[V("div",{class:"menu-item",onClick:a[0]||(a[0]=c=>i.changeMode("editor"))},[O(s,{class:"icon"}),Ve(" 编辑")]),O(Ft,{type:"vertical",style:{height:"30px"}}),V("div",{class:"menu-item",onClick:a[1]||(a[1]=c=>i.changeMode("player"))},[O(l,{class:"icon"}),Ve(" 播放")])])],512)}}}),$6e=Ue(J6e,[["__scopeId","data-v-99aa0ac4"]]),j6e={class:"mobile"},q6e=Ee({__name:"index",setup(e){const t=ve("preview"),n=o=>t.value=o,r=Me(()=>({editor:B6e,player:H6e,preview:$6e})[t.value]||null);return(o,i)=>(U(),ee("div",j6e,[(U(),ke(ws(r.value),{changeMode:n}))]))}}),eSe=Ue(q6e,[["__scopeId","data-v-d02011cb"]]),tSe=Ee({__name:"App",setup(e){const t=YJ(),n=ft(),r=qm(),{databaseId:o}=Xe(n),{screening:i}=Xe(c9());return window.onbeforeunload=()=>!1,Qt(async()=>{await VJ(),r.initSnapshotDatabase(),n.setAvailableFonts()}),window.addEventListener("unload",()=>{const a=localStorage.getItem(zg),s=a?JSON.parse(a):[];s.push(o.value);const l=JSON.stringify(s);localStorage.setItem(zg,l)}),(a,s)=>H(i)?(U(),ke(u6e,{key:0})):H(t)?(U(),ke(q5e,{key:1})):(U(),ke(eSe,{key:2}))}}),nSe={class:"menu-content"},rSe=["onClick"],oSe={class:"text"},iSe={key:0,class:"sub-text"},aSe=Ee({__name:"MenuContent",props:{menus:{},handleClickMenuItem:{type:Function}},setup(e){return(t,n)=>{const r=Se("menu-content",!0);return U(),ee("ul",nSe,[(U(!0),ee(We,null,nt(t.menus,(o,i)=>(U(),ee(We,{key:o.text||i},[o.hide?Qe("",!0):(U(),ee("li",{key:0,class:Je(["menu-item",{divider:o.divider,disable:o.disable}]),onClick:Nt(a=>t.handleClickMenuItem(o),["stop"])},[o.divider?Qe("",!0):(U(),ee("div",{key:0,class:Je(["menu-item-content",{"has-children":o.children,"has-handler":o.handler}])},[V("span",oSe,vt(o.text),1),o.subText&&!o.children?(U(),ee("span",iSe,vt(o.subText),1)):Qe("",!0),o.children&&o.children.length?(U(),ke(r,{key:1,class:"sub-menu",menus:o.children,handleClickMenuItem:t.handleClickMenuItem},null,8,["menus","handleClickMenuItem"])):Qe("",!0)],2))],10,rSe))],64))),128))])}}}),sSe=Ue(aSe,[["__scopeId","data-v-d336650d"]]),lSe=Ee({__name:"index",props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){const t=e,n=Me(()=>{const{x:l,y:c}=t.axis,u=t.menus.filter(m=>!(m.divider||m.hide)).length,f=t.menus.filter(m=>m.divider).length,d=180,h=u*30+f*11+5*2,p=document.body.clientWidth,v=document.body.clientHeight;return{left:p<=l+d?l-d:l,top:v<=c+h?c-h:c}}),r=o=>{o.disable||o.children&&!o.handler||(o.handler&&o.handler(t.el),t.removeContextmenu())};return(o,i)=>(U(),ee(We,null,[V("div",{class:"mask",onContextmenu:i[0]||(i[0]=Nt(a=>o.removeContextmenu(),["prevent"])),onMousedown:i[1]||(i[1]=Nt(a=>o.removeContextmenu(),["left"]))},null,32),V("div",{class:"contextmenu",style:we({left:n.value.left+"px",top:n.value.top+"px"}),onContextmenu:i[2]||(i[2]=Nt(()=>{},["prevent"]))},[O(sSe,{menus:o.menus,handleClickMenuItem:r},null,8,["menus"])],36)],64))}}),F0="CTX_CONTEXTMENU_HANDLER",cSe=(e,t,n)=>{t.stopPropagation(),t.preventDefault();const r=n.value(e);if(!r)return;let o=null;const i=()=>{o&&(document.body.removeChild(o),o=null),e.classList.remove("contextmenu-active"),document.body.removeEventListener("scroll",i),window.removeEventListener("resize",i)},a={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:i};o=document.createElement("div");const s=O(lSe,a,null);Td(s,o),document.body.appendChild(o),e.classList.add("contextmenu-active"),document.body.addEventListener("scroll",i),window.addEventListener("resize",i)},uSe={mounted(e,t){e[F0]=n=>cSe(e,n,t),e.addEventListener("contextmenu",e[F0])},unmounted(e){e&&e[F0]&&(e.removeEventListener("contextmenu",e[F0]),delete e[F0])}},_0="CTX_CLICK_OUTSIDE_HANDLER",fSe=(e,t,n)=>{const r=n.value,o=t.composedPath();(o?o.indexOf(e)<0:!e.contains(t.target))&&r(t)},dSe={mounted(e,t){e[_0]=n=>fSe(e,n,t),setTimeout(()=>{document.addEventListener("click",e[_0])},0)},unmounted(e){e[_0]&&(document.removeEventListener("click",e[_0]),delete e[_0])}},E0="TOOLTIP_INSTANCE",hSe={mounted(e,t){let n="",r="top",o=[300,0];typeof t.value=="string"?n=t.value:(n=t.value.content,t.value.placement!==void 0&&(r=t.value.placement),t.value.delay!==void 0&&(o=t.value.delay)),e[E0]=qu(e,{content:n,theme:"tooltip",duration:100,animation:"scale",allowHTML:!0,placement:r,delay:o})},updated(e,t){let n="";typeof t.value=="string"?n=t.value:n=t.value.content,e[E0]&&e[E0].setContent(n)},unmounted(e){e[E0]&&e[E0].destroy()}},pSe={install(e){e.directive("contextmenu",uSe),e.directive("click-outside",dSe),e.directive("tooltip",hSe)}},W2=MN(tSe);W2.use(Uq);W2.use(pSe);W2.use(hH());W2.mount("#app");
|