1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DxzZ9IOx.js","./index-BJ2AGjfq.js","./index-wDVejeeN.css","./index-C60qUvnf.js","./index-CxOs9Ri7.css","./index-Tt4oiGLk.js","./index-CAK8ITMl.css","./index-C6stCoCC.js","./404-R0y5dkvZ.js","./index-DzxhO4sY.css","./index-Bw2hQ8r1.js","./index-D1up3KE-.css"])))=>i.map(i=>d[i]);
- var BS=Object.defineProperty;var NS=(e,t,n)=>t in e?BS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var bl=(e,t,n)=>NS(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();/**
- * @vue/shared v3.4.34
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **//*! #__NO_SIDE_EFFECTS__ */function nf(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ut={},ms=[],yn=()=>{},FS=()=>!1,Ta=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$g=e=>e.startsWith("onUpdate:"),jt=Object.assign,Kg=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},DS=Object.prototype.hasOwnProperty,rt=(e,t)=>DS.call(e,t),xe=Array.isArray,ks=e=>Vs(e)==="[object Map]",Do=e=>Vs(e)==="[object Set]",R1=e=>Vs(e)==="[object Date]",WS=e=>Vs(e)==="[object RegExp]",Me=e=>typeof e=="function",kt=e=>typeof e=="string",Fr=e=>typeof e=="symbol",dt=e=>e!==null&&typeof e=="object",qg=e=>(dt(e)||Me(e))&&Me(e.then)&&Me(e.catch),wy=Object.prototype.toString,Vs=e=>wy.call(e),HS=e=>Vs(e).slice(8,-1),_y=e=>Vs(e)==="[object Object]",Jg=e=>kt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vs=nf(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rf=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},zS=/-(\w)/g,cn=rf(e=>e.replace(zS,(t,n)=>n?n.toUpperCase():"")),VS=/\B([A-Z])/g,An=rf(e=>e.replace(VS,"-$1").toLowerCase()),of=rf(e=>e.charAt(0).toUpperCase()+e.slice(1)),sc=rf(e=>e?`on${of(e)}`:""),kn=(e,t)=>!Object.is(e,t),ys=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},by=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Cc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Lc=e=>{const t=kt(e)?Number(e):NaN;return isNaN(t)?e:t};let I1;const xy=()=>I1||(I1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),US="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",$S=nf(US);function Us(e){if(xe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=kt(r)?GS(r):Us(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(kt(e)||dt(e))return e}const KS=/;(?![^(]*\))/g,qS=/:([^]+)/,JS=/\/\*[^]*?\*\//g;function GS(e){const t={};return e.replace(JS,"").split(KS).forEach(n=>{if(n){const r=n.split(qS);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function En(e){let t="";if(kt(e))t=e;else if(xe(e))for(let n=0;n<e.length;n++){const r=En(e[n]);r&&(t+=r+" ")}else if(dt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function gW(e){if(!e)return null;let{class:t,style:n}=e;return t&&!kt(t)&&(e.class=En(t)),n&&(e.style=Us(n)),e}const ZS="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",YS=nf(ZS);function Cy(e){return!!e||e===""}function XS(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ui(e[r],t[r]);return n}function Ui(e,t){if(e===t)return!0;let n=R1(e),r=R1(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Fr(e),r=Fr(t),n||r)return e===t;if(n=xe(e),r=xe(t),n||r)return n&&r?XS(e,t):!1;if(n=dt(e),r=dt(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const l in e){const u=e.hasOwnProperty(l),c=t.hasOwnProperty(l);if(u&&!c||!u&&c||!Ui(e[l],t[l]))return!1}}return String(e)===String(t)}function sf(e,t){return e.findIndex(n=>Ui(n,t))}const Ly=e=>!!(e&&e.__v_isRef===!0),Es=e=>kt(e)?e:e==null?"":xe(e)||dt(e)&&(e.toString===wy||!Me(e.toString))?Ly(e)?Es(e.value):JSON.stringify(e,Sy,2):String(e),Sy=(e,t)=>Ly(t)?Sy(e,t.value):ks(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[Xh(r,o)+" =>"]=i,n),{})}:Do(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Xh(n))}:Fr(t)?Xh(t):dt(t)&&!xe(t)&&!_y(t)?String(t):t,Xh=(e,t="")=>{var n;return Fr(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 Un;class Ey{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Un,!t&&Un&&(this.index=(Un.scopes||(Un.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Un;try{return Un=this,t()}finally{Un=n}}}on(){Un=this}off(){Un=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 i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function My(e){return new Ey(e)}function Ay(e,t=Un){t&&t.active&&t.effects.push(e)}function Gg(){return Un}function Ty(e){Un&&Un.cleanups.push(e)}let po;class la{constructor(t,n,r,i){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,Ay(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,qi();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(QS(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ji()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=zi,n=po;try{return zi=!0,po=this,this._runnings++,j1(this),this.fn()}finally{P1(this),this._runnings--,po=n,zi=t}}stop(){this.active&&(j1(this),P1(this),this.onStop&&this.onStop(),this.active=!1)}}function QS(e){return e.value}function j1(e){e._trackId++,e._depsLength=0}function P1(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Oy(e.deps[t],e);e.deps.length=e._depsLength}}function Oy(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function pW(e,t){e.effect instanceof la&&(e=e.effect.fn);const n=new la(e,yn,()=>{n.dirty&&n.run()});t&&(jt(n,t),t.scope&&Ay(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function mW(e){e.effect.stop()}let zi=!0,jd=0;const Ry=[];function qi(){Ry.push(zi),zi=!1}function Ji(){const e=Ry.pop();zi=e===void 0?!0:e}function Zg(){jd++}function Yg(){for(jd--;!jd&&Pd.length;)Pd.shift()()}function Iy(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Oy(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Pd=[];function jy(e,t,n){Zg();for(const r of e.keys()){let i;r._dirtyLevel<t&&(i??(i=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(i??(i=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Pd.push(r.scheduler)))}Yg()}const Py=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Sc=new WeakMap,mo=Symbol(""),Bd=Symbol("");function jn(e,t,n){if(zi&&po){let r=Sc.get(e);r||Sc.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=Py(()=>r.delete(n))),Iy(po,i)}}function li(e,t,n,r,i,o){const l=Sc.get(e);if(!l)return;let u=[];if(t==="clear")u=[...l.values()];else if(n==="length"&&xe(e)){const c=Number(r);l.forEach((h,d)=>{(d==="length"||!Fr(d)&&d>=c)&&u.push(h)})}else switch(n!==void 0&&u.push(l.get(n)),t){case"add":xe(e)?Jg(n)&&u.push(l.get("length")):(u.push(l.get(mo)),ks(e)&&u.push(l.get(Bd)));break;case"delete":xe(e)||(u.push(l.get(mo)),ks(e)&&u.push(l.get(Bd)));break;case"set":ks(e)&&u.push(l.get(mo));break}Zg();for(const c of u)c&&jy(c,4);Yg()}function eE(e,t){const n=Sc.get(e);return n&&n.get(t)}const tE=nf("__proto__,__v_isRef,__isVue"),By=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fr)),B1=nE();function nE(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=it(this);for(let o=0,l=this.length;o<l;o++)jn(r,"get",o+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(it)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){qi(),Zg();const r=it(this)[t].apply(this,n);return Yg(),Ji(),r}}),e}function rE(e){Fr(e)||(e=String(e));const t=it(this);return jn(t,"has",e),t.hasOwnProperty(e)}class Ny{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?Vy:zy:o?Hy:Wy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=xe(t);if(!i){if(l&&rt(B1,n))return Reflect.get(B1,n,r);if(n==="hasOwnProperty")return rE}const u=Reflect.get(t,n,r);return(Fr(n)?By.has(n):tE(n))||(i||jn(t,"get",n),o)?u:Bt(u)?l&&Jg(n)?u:u.value:dt(u)?i?Qg(u):$s(u):u}}class Fy extends Ny{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const c=So(o);if(!Ms(r)&&!So(r)&&(o=it(o),r=it(r)),!xe(t)&&Bt(o)&&!Bt(r))return c?!1:(o.value=r,!0)}const l=xe(t)&&Jg(n)?Number(n)<t.length:rt(t,n),u=Reflect.set(t,n,r,i);return t===it(i)&&(l?kn(r,o)&&li(t,"set",n,r):li(t,"add",n,r)),u}deleteProperty(t,n){const r=rt(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&li(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!Fr(n)||!By.has(n))&&jn(t,"has",n),r}ownKeys(t){return jn(t,"iterate",xe(t)?"length":mo),Reflect.ownKeys(t)}}class Dy extends Ny{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const iE=new Fy,oE=new Dy,sE=new Fy(!0),lE=new Dy(!0),Xg=e=>e,lf=e=>Reflect.getPrototypeOf(e);function Bu(e,t,n=!1,r=!1){e=e.__v_raw;const i=it(e),o=it(t);n||(kn(t,o)&&jn(i,"get",t),jn(i,"get",o));const{has:l}=lf(i),u=r?Xg:n?t0:aa;if(l.call(i,t))return u(e.get(t));if(l.call(i,o))return u(e.get(o));e!==i&&e.get(t)}function Nu(e,t=!1){const n=this.__v_raw,r=it(n),i=it(e);return t||(kn(e,i)&&jn(r,"has",e),jn(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Fu(e,t=!1){return e=e.__v_raw,!t&&jn(it(e),"iterate",mo),Reflect.get(e,"size",e)}function N1(e,t=!1){!t&&!Ms(e)&&!So(e)&&(e=it(e));const n=it(this);return lf(n).has.call(n,e)||(n.add(e),li(n,"add",e,e)),this}function F1(e,t,n=!1){!n&&!Ms(t)&&!So(t)&&(t=it(t));const r=it(this),{has:i,get:o}=lf(r);let l=i.call(r,e);l||(e=it(e),l=i.call(r,e));const u=o.call(r,e);return r.set(e,t),l?kn(t,u)&&li(r,"set",e,t):li(r,"add",e,t),this}function D1(e){const t=it(this),{has:n,get:r}=lf(t);let i=n.call(t,e);i||(e=it(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&li(t,"delete",e,void 0),o}function W1(){const e=it(this),t=e.size!==0,n=e.clear();return t&&li(e,"clear",void 0,void 0),n}function Du(e,t){return function(r,i){const o=this,l=o.__v_raw,u=it(l),c=t?Xg:e?t0:aa;return!e&&jn(u,"iterate",mo),l.forEach((h,d)=>r.call(i,c(h),c(d),o))}}function Wu(e,t,n){return function(...r){const i=this.__v_raw,o=it(i),l=ks(o),u=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,h=i[e](...r),d=n?Xg:t?t0:aa;return!t&&jn(o,"iterate",c?Bd:mo),{next(){const{value:g,done:v}=h.next();return v?{value:g,done:v}:{value:u?[d(g[0]),d(g[1])]:d(g),done:v}},[Symbol.iterator](){return this}}}}function Li(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function aE(){const e={get(o){return Bu(this,o)},get size(){return Fu(this)},has:Nu,add:N1,set:F1,delete:D1,clear:W1,forEach:Du(!1,!1)},t={get(o){return Bu(this,o,!1,!0)},get size(){return Fu(this)},has:Nu,add(o){return N1.call(this,o,!0)},set(o,l){return F1.call(this,o,l,!0)},delete:D1,clear:W1,forEach:Du(!1,!0)},n={get(o){return Bu(this,o,!0)},get size(){return Fu(this,!0)},has(o){return Nu.call(this,o,!0)},add:Li("add"),set:Li("set"),delete:Li("delete"),clear:Li("clear"),forEach:Du(!0,!1)},r={get(o){return Bu(this,o,!0,!0)},get size(){return Fu(this,!0)},has(o){return Nu.call(this,o,!0)},add:Li("add"),set:Li("set"),delete:Li("delete"),clear:Li("clear"),forEach:Du(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Wu(o,!1,!1),n[o]=Wu(o,!0,!1),t[o]=Wu(o,!1,!0),r[o]=Wu(o,!0,!0)}),[e,n,t,r]}const[uE,cE,fE,hE]=aE();function af(e,t){const n=t?e?hE:fE:e?cE:uE;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(rt(n,i)&&i in r?n:r,i,o)}const dE={get:af(!1,!1)},gE={get:af(!1,!0)},pE={get:af(!0,!1)},mE={get:af(!0,!0)},Wy=new WeakMap,Hy=new WeakMap,zy=new WeakMap,Vy=new WeakMap;function kE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vE(e){return e.__v_skip||!Object.isExtensible(e)?0:kE(HS(e))}function $s(e){return So(e)?e:cf(e,!1,iE,dE,Wy)}function uf(e){return cf(e,!1,sE,gE,Hy)}function Qg(e){return cf(e,!0,oE,pE,zy)}function kW(e){return cf(e,!0,lE,mE,Vy)}function cf(e,t,n,r,i){if(!dt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const l=vE(e);if(l===0)return e;const u=new Proxy(e,l===2?r:n);return i.set(e,u),u}function ai(e){return So(e)?ai(e.__v_raw):!!(e&&e.__v_isReactive)}function So(e){return!!(e&&e.__v_isReadonly)}function Ms(e){return!!(e&&e.__v_isShallow)}function Uy(e){return e?!!e.__v_raw:!1}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function e0(e){return Object.isExtensible(e)&&by(e,"__v_skip",!0),e}const aa=e=>dt(e)?$s(e):e,t0=e=>dt(e)?Qg(e):e;class $y{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new la(()=>t(this._value),()=>ws(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=it(this);return(!t._cacheable||t.effect.dirty)&&kn(t._value,t._value=t.effect.run())&&ws(t,4),n0(t),t.effect._dirtyLevel>=2&&ws(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function yE(e,t,n=!1){let r,i;const o=Me(e);return o?(r=e,i=yn):(r=e.get,i=e.set),new $y(r,i,o||!i,n)}function n0(e){var t;zi&&po&&(e=it(e),Iy(po,(t=e.dep)!=null?t:e.dep=Py(()=>e.dep=void 0,e instanceof $y?e:void 0)))}function ws(e,t=4,n,r){e=it(e);const i=e.dep;i&&jy(i,t)}function Bt(e){return!!(e&&e.__v_isRef===!0)}function Kt(e){return Ky(e,!1)}function wE(e){return Ky(e,!0)}function Ky(e,t){return Bt(e)?e:new _E(e,t)}class _E{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:it(t),this._value=n?t:aa(t)}get value(){return n0(this),this._value}set value(t){const n=this.__v_isShallow||Ms(t)||So(t);t=n?t:it(t),kn(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:aa(t),ws(this,4))}}function vW(e){ws(e,4)}function Pe(e){return Bt(e)?e.value:e}function yW(e){return Me(e)?e():Pe(e)}const bE={get:(e,t,n)=>Pe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Bt(i)&&!Bt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function qy(e){return ai(e)?e:new Proxy(e,bE)}class xE{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>n0(this),()=>ws(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function CE(e){return new xE(e)}function LE(e){const t=xe(e)?new Array(e.length):{};for(const n in e)t[n]=Jy(e,n);return t}class SE{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 eE(it(this._object),this._key)}}class EE{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ME(e,t,n){return Bt(e)?e:Me(e)?new EE(e):dt(e)&&arguments.length>1?Jy(e,t,n):Kt(e)}function Jy(e,t,n){const r=e[t];return Bt(r)?r:new SE(e,t,n)}const wW={GET:"get",HAS:"has",ITERATE:"iterate"},_W={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 bW(e,t){}const xW={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"},AE={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 Vi(e,t,n,r){try{return r?e(...r):e()}catch(i){Ks(i,t,n)}}function sr(e,t,n,r){if(Me(e)){const i=Vi(e,t,n,r);return i&&qg(i)&&i.catch(o=>{Ks(o,t,n)}),i}if(xe(e)){const i=[];for(let o=0;o<e.length;o++)i.push(sr(e[o],t,n,r));return i}}function Ks(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const h=o.ec;if(h){for(let d=0;d<h.length;d++)if(h[d](e,l,u)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){qi(),Vi(c,null,10,[e,l,u]),Ji();return}}TE(e,n,i,r)}function TE(e,t,n,r=!0){console.error(e)}let ua=!1,Nd=!1;const ln=[];let Ir=0;const _s=[];let Ri=null,fo=0;const Gy=Promise.resolve();let r0=null;function qs(e){const t=r0||Gy;return e?t.then(this?e.bind(this):e):t}function OE(e){let t=Ir+1,n=ln.length;for(;t<n;){const r=t+n>>>1,i=ln[r],o=ca(i);o<e||o===e&&i.pre?t=r+1:n=r}return t}function ff(e){(!ln.length||!ln.includes(e,ua&&e.allowRecurse?Ir+1:Ir))&&(e.id==null?ln.push(e):ln.splice(OE(e.id),0,e),Zy())}function Zy(){!ua&&!Nd&&(Nd=!0,r0=Gy.then(Yy))}function RE(e){const t=ln.indexOf(e);t>Ir&&ln.splice(t,1)}function Fd(e){xe(e)?_s.push(...e):(!Ri||!Ri.includes(e,e.allowRecurse?fo+1:fo))&&_s.push(e),Zy()}function H1(e,t,n=ua?Ir+1:0){for(;n<ln.length;n++){const r=ln[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;ln.splice(n,1),n--,r()}}}function Ec(e){if(_s.length){const t=[...new Set(_s)].sort((n,r)=>ca(n)-ca(r));if(_s.length=0,Ri){Ri.push(...t);return}for(Ri=t,fo=0;fo<Ri.length;fo++){const n=Ri[fo];n.active!==!1&&n()}Ri=null,fo=0}}const ca=e=>e.id==null?1/0:e.id,IE=(e,t)=>{const n=ca(e)-ca(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Yy(e){Nd=!1,ua=!0,ln.sort(IE);try{for(Ir=0;Ir<ln.length;Ir++){const t=ln[Ir];t&&t.active!==!1&&Vi(t,t.i,t.i?15:14)}}finally{Ir=0,ln.length=0,Ec(),ua=!1,r0=null,(ln.length||_s.length)&&Yy()}}let ls,Hu=[];function Xy(e,t){var n,r;ls=e,ls?(ls.enabled=!0,Hu.forEach(({event:i,args:o})=>ls.emit(i,...o)),Hu=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Xy(o,t)}),setTimeout(()=>{ls||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Hu=[])},3e3)):Hu=[]}let $t=null,hf=null;function fa(e){const t=$t;return $t=e,hf=e&&e.type.__scopeId||null,t}function CW(e){hf=e}function LW(){hf=null}const SW=e=>ko;function ko(e,t=$t,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&nk(-1);const o=fa(t);let l;try{l=e(...i)}finally{fa(o),r._d&&nk(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function i0(e,t){if($t===null)return e;const n=ja($t),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,u,c=ut]=t[i];o&&(Me(o)&&(o={mounted:o,updated:o}),o.deep&&Ni(l),r.push({dir:o,instance:n,value:l,oldValue:void 0,arg:u,modifiers:c}))}return e}function Tr(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let l=0;l<i.length;l++){const u=i[l];o&&(u.oldValue=o[l].value);let c=u.dir[r];c&&(qi(),sr(c,n,8,[e.el,u,e,t]),Ji())}}const Ii=Symbol("_leaveCb"),zu=Symbol("_enterCb");function Qy(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Js(()=>{e.isMounted=!0}),l0(()=>{e.isUnmounting=!0}),e}const or=[Function,Array],ew={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:or,onEnter:or,onAfterEnter:or,onEnterCancelled:or,onBeforeLeave:or,onLeave:or,onAfterLeave:or,onLeaveCancelled:or,onBeforeAppear:or,onAppear:or,onAfterAppear:or,onAppearCancelled:or},tw=e=>{const t=e.subTree;return t.component?tw(t.component):t},jE={name:"BaseTransition",props:ew,setup(e,{slots:t}){const n=Pn(),r=Qy();return()=>{const i=t.default&&o0(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const v of i)if(v.type!==tn){o=v;break}}const l=it(e),{mode:u}=l;if(r.isLeaving)return Qh(o);const c=z1(o);if(!c)return Qh(o);let h=ha(c,l,r,n,v=>h=v);Eo(c,h);const d=n.subTree,g=d&&z1(d);if(g&&g.type!==tn&&!wr(c,g)&&tw(n).type!==tn){const v=ha(g,l,r,n);if(Eo(g,v),u==="out-in"&&c.type!==tn)return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Qh(o);u==="in-out"&&c.type!==tn&&(v.delayLeave=(w,k,_)=>{const L=nw(r,g);L[String(g.key)]=g,w[Ii]=()=>{k(),w[Ii]=void 0,delete h.delayedLeave},h.delayedLeave=_})}return o}}},PE=jE;function nw(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 ha(e,t,n,r,i){const{appear:o,mode:l,persisted:u=!1,onBeforeEnter:c,onEnter:h,onAfterEnter:d,onEnterCancelled:g,onBeforeLeave:v,onLeave:w,onAfterLeave:k,onLeaveCancelled:_,onBeforeAppear:L,onAppear:O,onAfterAppear:M,onAppearCancelled:x}=t,y=String(e.key),E=nw(n,e),A=(B,W)=>{B&&sr(B,r,9,W)},j=(B,W)=>{const J=W[1];A(B,W),xe(B)?B.every(V=>V.length<=1)&&J():B.length<=1&&J()},N={mode:l,persisted:u,beforeEnter(B){let W=c;if(!n.isMounted)if(o)W=L||c;else return;B[Ii]&&B[Ii](!0);const J=E[y];J&&wr(e,J)&&J.el[Ii]&&J.el[Ii](),A(W,[B])},enter(B){let W=h,J=d,V=g;if(!n.isMounted)if(o)W=O||h,J=M||d,V=x||g;else return;let ee=!1;const pe=B[zu]=ue=>{ee||(ee=!0,ue?A(V,[B]):A(J,[B]),N.delayedLeave&&N.delayedLeave(),B[zu]=void 0)};W?j(W,[B,pe]):pe()},leave(B,W){const J=String(e.key);if(B[zu]&&B[zu](!0),n.isUnmounting)return W();A(v,[B]);let V=!1;const ee=B[Ii]=pe=>{V||(V=!0,W(),pe?A(_,[B]):A(k,[B]),B[Ii]=void 0,E[J]===e&&delete E[J])};E[J]=e,w?j(w,[B,ee]):ee()},clone(B){const W=ha(B,t,n,r,i);return i&&i(W),W}};return N}function Qh(e){if(Oa(e))return e=ci(e),e.children=null,e}function z1(e){if(!Oa(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Me(n.default))return n.default()}}function Eo(e,t){e.shapeFlag&6&&e.component?Eo(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 o0(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let l=e[o];const u=n==null?l.key:String(n)+String(l.key!=null?l.key:o);l.type===Dt?(l.patchFlag&128&&i++,r=r.concat(o0(l.children,t,u))):(t||l.type!==tn)&&r.push(u!=null?ci(l,{key:u}):l)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function mt(e,t){return Me(e)?jt({name:e.name},t,{setup:e}):e}const vo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function EW(e){Me(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:l=!0,onError:u}=e;let c=null,h,d=0;const g=()=>(d++,c=null,v()),v=()=>{let w;return c||(w=c=t().catch(k=>{if(k=k instanceof Error?k:new Error(String(k)),u)return new Promise((_,L)=>{u(k,()=>_(g()),()=>L(k),d+1)});throw k}).then(k=>w!==c&&c?c:(k&&(k.__esModule||k[Symbol.toStringTag]==="Module")&&(k=k.default),h=k,k)))};return mt({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return h},setup(){const w=Ut;if(h)return()=>ed(h,w);const k=M=>{c=null,Ks(M,w,13,!r)};if(l&&w.suspense||Ia)return v().then(M=>()=>ed(M,w)).catch(M=>(k(M),()=>r?m(r,{error:M}):null));const _=Kt(!1),L=Kt(),O=Kt(!!i);return i&&setTimeout(()=>{O.value=!1},i),o!=null&&setTimeout(()=>{if(!_.value&&!L.value){const M=new Error(`Async component timed out after ${o}ms.`);k(M),L.value=M}},o),v().then(()=>{_.value=!0,w.parent&&Oa(w.parent.vnode)&&(w.parent.effect.dirty=!0,ff(w.parent.update))}).catch(M=>{k(M),L.value=M}),()=>{if(_.value&&h)return ed(h,w);if(L.value&&r)return m(r,{error:L.value});if(n&&!O.value)return m(n)}}})}function ed(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,l=m(e,r,i);return l.ref=n,l.ce=o,delete t.vnode.ce,l}const Oa=e=>e.type.__isKeepAlive,BE={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Pn(),r=n.ctx;if(!r.renderer)return()=>{const M=t.default&&t.default();return M&&M.length===1?M[0]:M};const i=new Map,o=new Set;let l=null;const u=n.suspense,{renderer:{p:c,m:h,um:d,o:{createElement:g}}}=r,v=g("div");r.activate=(M,x,y,E,A)=>{const j=M.component;h(M,x,y,0,u),c(j.vnode,M,x,y,j,u,E,M.slotScopeIds,A),Jt(()=>{j.isDeactivated=!1,j.a&&ys(j.a);const N=M.props&&M.props.onVnodeMounted;N&&Sn(N,j.parent,M)},u)},r.deactivate=M=>{const x=M.component;Tc(x.m),Tc(x.a),h(M,v,null,1,u),Jt(()=>{x.da&&ys(x.da);const y=M.props&&M.props.onVnodeUnmounted;y&&Sn(y,x.parent,M),x.isDeactivated=!0},u)};function w(M){td(M),d(M,n,u,!0)}function k(M){i.forEach((x,y)=>{const E=Yd(x.type);E&&(!M||!M(E))&&_(y)})}function _(M){const x=i.get(M);!l||!wr(x,l)?w(x):l&&td(l),i.delete(M),o.delete(M)}lr(()=>[e.include,e.exclude],([M,x])=>{M&&k(y=>jl(M,y)),x&&k(y=>!jl(x,y))},{flush:"post",deep:!0});let L=null;const O=()=>{L!=null&&($d(n.subTree.type)?Jt(()=>{i.set(L,Vu(n.subTree))},n.subTree.suspense):i.set(L,Vu(n.subTree)))};return Js(O),s0(O),l0(()=>{i.forEach(M=>{const{subTree:x,suspense:y}=n,E=Vu(x);if(M.type===E.type&&M.key===E.key){td(E);const A=E.component.da;A&&Jt(A,y);return}w(M)})}),()=>{if(L=null,!t.default)return null;const M=t.default(),x=M[0];if(M.length>1)return l=null,M;if(!ui(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return l=null,x;let y=Vu(x);const E=y.type,A=Yd(vo(y)?y.type.__asyncResolved||{}:E),{include:j,exclude:N,max:B}=e;if(j&&(!A||!jl(j,A))||N&&A&&jl(N,A))return l=y,x;const W=y.key==null?E:y.key,J=i.get(W);return y.el&&(y=ci(y),x.shapeFlag&128&&(x.ssContent=y)),L=W,J?(y.el=J.el,y.component=J.component,y.transition&&Eo(y,y.transition),y.shapeFlag|=512,o.delete(W),o.add(W)):(o.add(W),B&&o.size>parseInt(B,10)&&_(o.values().next().value)),y.shapeFlag|=256,l=y,$d(x.type)?x:y}}},MW=BE;function jl(e,t){return xe(e)?e.some(n=>jl(n,t)):kt(e)?e.split(",").includes(t):WS(e)?e.test(t):!1}function NE(e,t){rw(e,"a",t)}function FE(e,t){rw(e,"da",t)}function rw(e,t,n=Ut){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(df(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Oa(i.parent.vnode)&&DE(r,t,n,i),i=i.parent}}function DE(e,t,n,r){const i=df(t,e,r,!0);a0(()=>{Kg(r[t],i)},n)}function td(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Vu(e){return e.shapeFlag&128?e.ssContent:e}function df(e,t,n=Ut,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{qi();const u=Ao(n),c=sr(t,n,e,l);return u(),Ji(),c});return r?i.unshift(o):i.push(o),o}}const di=e=>(t,n=Ut)=>{(!Ia||e==="sp")&&df(e,(...r)=>t(...r),n)},WE=di("bm"),Js=di("m"),HE=di("bu"),s0=di("u"),l0=di("bum"),a0=di("um"),zE=di("sp"),VE=di("rtg"),UE=di("rtc");function $E(e,t=Ut){df("ec",e,t)}const u0="components",KE="directives";function iw(e,t){return c0(u0,e,!0,t)||e}const ow=Symbol.for("v-ndc");function qE(e){return kt(e)?c0(u0,e,!1)||e:e||ow}function AW(e){return c0(KE,e)}function c0(e,t,n=!0,r=!1){const i=$t||Ut;if(i){const o=i.type;if(e===u0){const u=Yd(o,!1);if(u&&(u===t||u===cn(t)||u===of(cn(t))))return o}const l=V1(i[e]||o[e],t)||V1(i.appContext[e],t);return!l&&r?o:l}}function V1(e,t){return e&&(e[t]||e[cn(t)]||e[of(cn(t))])}function JE(e,t,n,r){let i;const o=n&&n[r];if(xe(e)||kt(e)){i=new Array(e.length);for(let l=0,u=e.length;l<u;l++)i[l]=t(e[l],l,void 0,o&&o[l])}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,o&&o[l])}else if(dt(e))if(e[Symbol.iterator])i=Array.from(e,(l,u)=>t(l,u,void 0,o&&o[u]));else{const l=Object.keys(e);i=new Array(l.length);for(let u=0,c=l.length;u<c;u++){const h=l[u];i[u]=t(e[h],h,u,o&&o[u])}}else i=[];return n&&(n[r]=i),i}function TW(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(xe(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function gf(e,t,n={},r,i){if($t.isCE||$t.parent&&vo($t.parent)&&$t.parent.isCE)return t!=="default"&&(n.name=t),m("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),tt();const l=o&&sw(o(n)),u=ii(Dt,{key:(n.key||l&&l.key||`_${t}`)+(!l&&r?"_fb":"")},l||(r?r():[]),l&&e._===1?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),o&&o._c&&(o._d=!0),u}function sw(e){return e.some(t=>ui(t)?!(t.type===tn||t.type===Dt&&!sw(t.children)):!0)?e:null}function OW(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:sc(r)]=e[r];return n}const Dd=e=>e?Pw(e)?ja(e):Dd(e.parent):null,Vl=jt(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=>Dd(e.parent),$root:e=>Dd(e.root),$emit:e=>e.emit,$options:e=>f0(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ff(e.update)}),$nextTick:e=>e.n||(e.n=qs.bind(e.proxy)),$watch:e=>x5.bind(e)}),nd=(e,t)=>e!==ut&&!e.__isScriptSetup&&rt(e,t),Wd={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:l,type:u,appContext:c}=e;let h;if(t[0]!=="$"){const w=l[t];if(w!==void 0)switch(w){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(nd(r,t))return l[t]=1,r[t];if(i!==ut&&rt(i,t))return l[t]=2,i[t];if((h=e.propsOptions[0])&&rt(h,t))return l[t]=3,o[t];if(n!==ut&&rt(n,t))return l[t]=4,n[t];Hd&&(l[t]=0)}}const d=Vl[t];let g,v;if(d)return t==="$attrs"&&jn(e.attrs,"get",""),d(e);if((g=u.__cssModules)&&(g=g[t]))return g;if(n!==ut&&rt(n,t))return l[t]=4,n[t];if(v=c.config.globalProperties,rt(v,t))return v[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return nd(i,t)?(i[t]=n,!0):r!==ut&&rt(r,t)?(r[t]=n,!0):rt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},l){let u;return!!n[l]||e!==ut&&rt(e,l)||nd(t,l)||(u=o[0])&&rt(u,l)||rt(r,l)||rt(Vl,l)||rt(i.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:rt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},GE=jt({},Wd,{get(e,t){if(t!==Symbol.unscopables)return Wd.get(e,t,e)},has(e,t){return t[0]!=="_"&&!$S(t)}});function RW(){return null}function IW(){return null}function jW(e){}function PW(e){}function BW(){return null}function NW(){}function FW(e,t){return null}function DW(){return lw().slots}function WW(){return lw().attrs}function lw(){const e=Pn();return e.setupContext||(e.setupContext=Fw(e))}function da(e){return xe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function HW(e,t){const n=da(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?xe(i)||Me(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function zW(e,t){return!e||!t?e||t:xe(e)&&xe(t)?e.concat(t):jt({},da(e),da(t))}function VW(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function UW(e){const t=Pn();let n=e();return Jd(),qg(n)&&(n=n.catch(r=>{throw Ao(t),r})),[n,()=>Ao(t)]}let Hd=!0;function ZE(e){const t=f0(e),n=e.proxy,r=e.ctx;Hd=!1,t.beforeCreate&&U1(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:u,provide:c,inject:h,created:d,beforeMount:g,mounted:v,beforeUpdate:w,updated:k,activated:_,deactivated:L,beforeDestroy:O,beforeUnmount:M,destroyed:x,unmounted:y,render:E,renderTracked:A,renderTriggered:j,errorCaptured:N,serverPrefetch:B,expose:W,inheritAttrs:J,components:V,directives:ee,filters:pe}=t;if(h&&YE(h,r,null),l)for(const te in l){const oe=l[te];Me(oe)&&(r[te]=oe.bind(n))}if(i){const te=i.call(n,n);dt(te)&&(e.data=$s(te))}if(Hd=!0,o)for(const te in o){const oe=o[te],Ge=Me(oe)?oe.bind(n,n):Me(oe.get)?oe.get.bind(n,n):yn,lt=!Me(oe)&&Me(oe.set)?oe.set.bind(n):yn,Ke=$e({get:Ge,set:lt});Object.defineProperty(r,te,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:st=>Ke.value=st})}if(u)for(const te in u)aw(u[te],r,n,te);if(c){const te=Me(c)?c.call(n):c;Reflect.ownKeys(te).forEach(oe=>{Ul(oe,te[oe])})}d&&U1(d,e,"c");function Q(te,oe){xe(oe)?oe.forEach(Ge=>te(Ge.bind(n))):oe&&te(oe.bind(n))}if(Q(WE,g),Q(Js,v),Q(HE,w),Q(s0,k),Q(NE,_),Q(FE,L),Q($E,N),Q(UE,A),Q(VE,j),Q(l0,M),Q(a0,y),Q(zE,B),xe(W))if(W.length){const te=e.exposed||(e.exposed={});W.forEach(oe=>{Object.defineProperty(te,oe,{get:()=>n[oe],set:Ge=>n[oe]=Ge})})}else e.exposed||(e.exposed={});E&&e.render===yn&&(e.render=E),J!=null&&(e.inheritAttrs=J),V&&(e.components=V),ee&&(e.directives=ee)}function YE(e,t,n=yn){xe(e)&&(e=zd(e));for(const r in e){const i=e[r];let o;dt(i)?"default"in i?o=Gt(i.from||r,i.default,!0):o=Gt(i.from||r):o=Gt(i),Bt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function U1(e,t,n){sr(xe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function aw(e,t,n,r){const i=r.includes(".")?Cw(n,r):()=>n[r];if(kt(e)){const o=t[e];Me(o)&&lr(i,o)}else if(Me(e))lr(i,e.bind(n));else if(dt(e))if(xe(e))e.forEach(o=>aw(o,t,n,r));else{const o=Me(e.handler)?e.handler.bind(n):t[e.handler];Me(o)&&lr(i,o,e)}}function f0(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,u=o.get(t);let c;return u?c=u:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(h=>Mc(c,h,l,!0)),Mc(c,t,l)),dt(t)&&o.set(t,c),c}function Mc(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Mc(e,o,n,!0),i&&i.forEach(l=>Mc(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const u=XE[l]||n&&n[l];e[l]=u?u(e[l],t[l]):t[l]}return e}const XE={data:$1,props:K1,emits:K1,methods:Pl,computed:Pl,beforeCreate:mn,created:mn,beforeMount:mn,mounted:mn,beforeUpdate:mn,updated:mn,beforeDestroy:mn,beforeUnmount:mn,destroyed:mn,unmounted:mn,activated:mn,deactivated:mn,errorCaptured:mn,serverPrefetch:mn,components:Pl,directives:Pl,watch:e5,provide:$1,inject:QE};function $1(e,t){return t?e?function(){return jt(Me(e)?e.call(this,this):e,Me(t)?t.call(this,this):t)}:t:e}function QE(e,t){return Pl(zd(e),zd(t))}function zd(e){if(xe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mn(e,t){return e?[...new Set([].concat(e,t))]:t}function Pl(e,t){return e?jt(Object.create(null),e,t):t}function K1(e,t){return e?xe(e)&&xe(t)?[...new Set([...e,...t])]:jt(Object.create(null),da(e),da(t??{})):t}function e5(e,t){if(!e)return t;if(!t)return e;const n=jt(Object.create(null),e);for(const r in t)n[r]=mn(e[r],t[r]);return n}function uw(){return{app:null,config:{isNativeTag:FS,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 t5=0;function n5(e,t){return function(r,i=null){Me(r)||(r=jt({},r)),i!=null&&!dt(i)&&(i=null);const o=uw(),l=new WeakSet;let u=!1;const c=o.app={_uid:t5++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:U5,get config(){return o.config},set config(h){},use(h,...d){return l.has(h)||(h&&Me(h.install)?(l.add(h),h.install(c,...d)):Me(h)&&(l.add(h),h(c,...d))),c},mixin(h){return o.mixins.includes(h)||o.mixins.push(h),c},component(h,d){return d?(o.components[h]=d,c):o.components[h]},directive(h,d){return d?(o.directives[h]=d,c):o.directives[h]},mount(h,d,g){if(!u){const v=m(r,i);return v.appContext=o,g===!0?g="svg":g===!1&&(g=void 0),d&&t?t(v,h):e(v,h,g),u=!0,c._container=h,h.__vue_app__=c,ja(v.component)}},unmount(){u&&(e(null,c._container),delete c._container.__vue_app__)},provide(h,d){return o.provides[h]=d,c},runWithContext(h){const d=bs;bs=c;try{return h()}finally{bs=d}}};return c}}let bs=null;function Ul(e,t){if(Ut){let n=Ut.provides;const r=Ut.parent&&Ut.parent.provides;r===n&&(n=Ut.provides=Object.create(r)),n[e]=t}}function Gt(e,t,n=!1){const r=Ut||$t;if(r||bs){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:bs._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Me(t)?t.call(r&&r.proxy):t}}function r5(){return!!(Ut||$t||bs)}const cw={},fw=()=>Object.create(cw),hw=e=>Object.getPrototypeOf(e)===cw;function i5(e,t,n,r=!1){const i={},o=fw();e.propsDefaults=Object.create(null),dw(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=r?i:uf(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function o5(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,u=it(i),[c]=e.propsOptions;let h=!1;if((r||l>0)&&!(l&16)){if(l&8){const d=e.vnode.dynamicProps;for(let g=0;g<d.length;g++){let v=d[g];if(pf(e.emitsOptions,v))continue;const w=t[v];if(c)if(rt(o,v))w!==o[v]&&(o[v]=w,h=!0);else{const k=cn(v);i[k]=Vd(c,u,k,w,e,!1)}else w!==o[v]&&(o[v]=w,h=!0)}}}else{dw(e,t,i,o)&&(h=!0);let d;for(const g in u)(!t||!rt(t,g)&&((d=An(g))===g||!rt(t,d)))&&(c?n&&(n[g]!==void 0||n[d]!==void 0)&&(i[g]=Vd(c,u,g,void 0,e,!0)):delete i[g]);if(o!==u)for(const g in o)(!t||!rt(t,g))&&(delete o[g],h=!0)}h&&li(e.attrs,"set","")}function dw(e,t,n,r){const[i,o]=e.propsOptions;let l=!1,u;if(t)for(let c in t){if(vs(c))continue;const h=t[c];let d;i&&rt(i,d=cn(c))?!o||!o.includes(d)?n[d]=h:(u||(u={}))[d]=h:pf(e.emitsOptions,c)||(!(c in r)||h!==r[c])&&(r[c]=h,l=!0)}if(o){const c=it(n),h=u||ut;for(let d=0;d<o.length;d++){const g=o[d];n[g]=Vd(i,c,g,h[g],e,!rt(h,g))}}return l}function Vd(e,t,n,r,i,o){const l=e[n];if(l!=null){const u=rt(l,"default");if(u&&r===void 0){const c=l.default;if(l.type!==Function&&!l.skipFactory&&Me(c)){const{propsDefaults:h}=i;if(n in h)r=h[n];else{const d=Ao(i);r=h[n]=c.call(null,t),d()}}else r=c}l[0]&&(o&&!u?r=!1:l[1]&&(r===""||r===An(n))&&(r=!0))}return r}const s5=new WeakMap;function gw(e,t,n=!1){const r=n?s5:t.propsCache,i=r.get(e);if(i)return i;const o=e.props,l={},u=[];let c=!1;if(!Me(e)){const d=g=>{c=!0;const[v,w]=gw(g,t,!0);jt(l,v),w&&u.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return dt(e)&&r.set(e,ms),ms;if(xe(o))for(let d=0;d<o.length;d++){const g=cn(o[d]);q1(g)&&(l[g]=ut)}else if(o)for(const d in o){const g=cn(d);if(q1(g)){const v=o[d],w=l[g]=xe(v)||Me(v)?{type:v}:jt({},v);if(w){const k=Z1(Boolean,w.type),_=Z1(String,w.type);w[0]=k>-1,w[1]=_<0||k<_,(k>-1||rt(w,"default"))&&u.push(g)}}}const h=[l,u];return dt(e)&&r.set(e,h),h}function q1(e){return e[0]!=="$"&&!vs(e)}function J1(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function G1(e,t){return J1(e)===J1(t)}function Z1(e,t){return xe(t)?t.findIndex(n=>G1(n,e)):Me(t)&&G1(t,e)?0:-1}const pw=e=>e[0]==="_"||e==="$stable",h0=e=>xe(e)?e.map(Mn):[Mn(e)],l5=(e,t,n)=>{if(t._n)return t;const r=ko((...i)=>h0(t(...i)),n);return r._c=!1,r},mw=(e,t,n)=>{const r=e._ctx;for(const i in e){if(pw(i))continue;const o=e[i];if(Me(o))t[i]=l5(i,o,r);else if(o!=null){const l=h0(o);t[i]=()=>l}}},kw=(e,t)=>{const n=h0(t);e.slots.default=()=>n},vw=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},a5=(e,t,n)=>{const r=e.slots=fw();if(e.vnode.shapeFlag&32){const i=t._;i?(vw(r,t,n),n&&by(r,"_",i,!0)):mw(t,r)}else t&&kw(e,t)},u5=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,l=ut;if(r.shapeFlag&32){const u=t._;u?n&&u===1?o=!1:vw(i,t,n):(o=!t.$stable,mw(t,i)),l=t}else t&&(kw(e,t),l={default:1});if(o)for(const u in i)!pw(u)&&l[u]==null&&delete i[u]};function Ac(e,t,n,r,i=!1){if(xe(e)){e.forEach((v,w)=>Ac(v,t&&(xe(t)?t[w]:t),n,r,i));return}if(vo(r)&&!i)return;const o=r.shapeFlag&4?ja(r.component):r.el,l=i?null:o,{i:u,r:c}=e,h=t&&t.r,d=u.refs===ut?u.refs={}:u.refs,g=u.setupState;if(h!=null&&h!==c&&(kt(h)?(d[h]=null,rt(g,h)&&(g[h]=null)):Bt(h)&&(h.value=null)),Me(c))Vi(c,u,12,[l,d]);else{const v=kt(c),w=Bt(c);if(v||w){const k=()=>{if(e.f){const _=v?rt(g,c)?g[c]:d[c]:c.value;i?xe(_)&&Kg(_,o):xe(_)?_.includes(o)||_.push(o):v?(d[c]=[o],rt(g,c)&&(g[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else v?(d[c]=l,rt(g,c)&&(g[c]=l)):w&&(c.value=l,e.k&&(d[e.k]=l))};l?(k.id=-1,Jt(k,n)):k()}}}const yw=Symbol("_vte"),c5=e=>e.__isTeleport,$l=e=>e&&(e.disabled||e.disabled===""),Y1=e=>typeof SVGElement<"u"&&e instanceof SVGElement,X1=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ud=(e,t)=>{const n=e&&e.to;return kt(n)?t?t(n):null:n},f5={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,l,u,c,h){const{mc:d,pc:g,pbc:v,o:{insert:w,querySelector:k,createText:_,createComment:L}}=h,O=$l(t.props);let{shapeFlag:M,children:x,dynamicChildren:y}=t;if(e==null){const E=t.el=_(""),A=t.anchor=_(""),j=t.target=Ud(t.props,k),N=t.targetStart=_(""),B=t.targetAnchor=_("");w(E,n,r),w(A,n,r),N[yw]=B,j&&(w(N,j),w(B,j),l==="svg"||Y1(j)?l="svg":(l==="mathml"||X1(j))&&(l="mathml"));const W=(J,V)=>{M&16&&d(x,J,V,i,o,l,u,c)};O?W(n,A):j&&W(j,B)}else{t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,A=t.target=e.target,j=t.targetAnchor=e.targetAnchor,N=$l(e.props),B=N?n:A,W=N?E:j;if(l==="svg"||Y1(A)?l="svg":(l==="mathml"||X1(A))&&(l="mathml"),y?(v(e.dynamicChildren,y,B,i,o,l,u),d0(e,t,!0)):c||g(e,t,B,W,i,o,l,u,!1),O)N?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Uu(t,n,E,h,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const J=t.target=Ud(t.props,k);J&&Uu(t,J,null,h,0)}else N&&Uu(t,A,j,h,1)}ww(t)},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:u,anchor:c,targetStart:h,targetAnchor:d,target:g,props:v}=e;if(g&&(i(h),i(d)),o&&i(c),l&16){const w=o||!$l(v);for(let k=0;k<u.length;k++){const _=u[k];r(_,t,n,w,!!_.dynamicChildren)}}},move:Uu,hydrate:h5};function Uu(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:l,anchor:u,shapeFlag:c,children:h,props:d}=e,g=o===2;if(g&&r(l,t,n),(!g||$l(d))&&c&16)for(let v=0;v<h.length;v++)i(h[v],t,n,2);g&&r(u,t,n)}function h5(e,t,n,r,i,o,{o:{nextSibling:l,parentNode:u,querySelector:c}},h){const d=t.target=Ud(t.props,c);if(d){const g=d._lpa||d.firstChild;if(t.shapeFlag&16)if($l(t.props))t.anchor=h(l(e),t,u(e),n,r,i,o),t.targetAnchor=g;else{t.anchor=l(e);let v=g;for(;v;)if(v=l(v),v&&v.nodeType===8&&v.data==="teleport anchor"){t.targetAnchor=v,d._lpa=t.targetAnchor&&l(t.targetAnchor);break}h(g,t,d,n,r,i,o)}ww(t)}return t.anchor&&l(t.anchor)}const $W=f5;function ww(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 Q1=!1;const rs=()=>{Q1||(console.error("Hydration completed but contains mismatches."),Q1=!0)},d5=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",g5=e=>e.namespaceURI.includes("MathML"),$u=e=>{if(d5(e))return"svg";if(g5(e))return"mathml"},Ku=e=>e.nodeType===8;function p5(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:l,remove:u,insert:c,createComment:h}}=e,d=(x,y)=>{if(!y.hasChildNodes()){n(null,x,y),Ec(),y._vnode=x;return}g(y.firstChild,x,null,null,null),Ec(),y._vnode=x},g=(x,y,E,A,j,N=!1)=>{N=N||!!y.dynamicChildren;const B=Ku(x)&&x.data==="[",W=()=>_(x,y,E,A,j,B),{type:J,ref:V,shapeFlag:ee,patchFlag:pe}=y;let ue=x.nodeType;y.el=x,pe===-2&&(N=!1,y.dynamicChildren=null);let Q=null;switch(J){case yo:ue!==3?y.children===""?(c(y.el=i(""),l(x),x),Q=x):Q=W():(x.data!==y.children&&(rs(),x.data=y.children),Q=o(x));break;case tn:M(x)?(Q=o(x),O(y.el=x.content.firstChild,x,E)):ue!==8||B?Q=W():Q=o(x);break;case Cs:if(B&&(x=o(x),ue=x.nodeType),ue===1||ue===3){Q=x;const te=!y.children.length;for(let oe=0;oe<y.staticCount;oe++)te&&(y.children+=Q.nodeType===1?Q.outerHTML:Q.data),oe===y.staticCount-1&&(y.anchor=Q),Q=o(Q);return B?o(Q):Q}else W();break;case Dt:B?Q=k(x,y,E,A,j,N):Q=W();break;default:if(ee&1)(ue!==1||y.type.toLowerCase()!==x.tagName.toLowerCase())&&!M(x)?Q=W():Q=v(x,y,E,A,j,N);else if(ee&6){y.slotScopeIds=j;const te=l(x);if(B?Q=L(x):Ku(x)&&x.data==="teleport start"?Q=L(x,x.data,"teleport end"):Q=o(x),t(y,te,null,E,A,$u(te),N),vo(y)){let oe;B?(oe=m(Dt),oe.anchor=Q?Q.previousSibling:te.lastChild):oe=x.nodeType===3?Rw(""):m("div"),oe.el=x,y.component.subTree=oe}}else ee&64?ue!==8?Q=W():Q=y.type.hydrate(x,y,E,A,j,N,e,w):ee&128&&(Q=y.type.hydrate(x,y,E,A,$u(l(x)),j,N,e,g))}return V!=null&&Ac(V,null,A,y),Q},v=(x,y,E,A,j,N)=>{N=N||!!y.dynamicChildren;const{type:B,props:W,patchFlag:J,shapeFlag:V,dirs:ee,transition:pe}=y,ue=B==="input"||B==="option";if(ue||J!==-1){ee&&Tr(y,null,E,"created");let Q=!1;if(M(x)){Q=bw(A,pe)&&E&&E.vnode.props&&E.vnode.props.appear;const oe=x.content.firstChild;Q&&pe.beforeEnter(oe),O(oe,x,E),y.el=x=oe}if(V&16&&!(W&&(W.innerHTML||W.textContent))){let oe=w(x.firstChild,y,x,E,A,j,N);for(;oe;){rs();const Ge=oe;oe=oe.nextSibling,u(Ge)}}else V&8&&x.textContent!==y.children&&(rs(),x.textContent=y.children);if(W){if(ue||!N||J&48)for(const oe in W)(ue&&(oe.endsWith("value")||oe==="indeterminate")||Ta(oe)&&!vs(oe)||oe[0]===".")&&r(x,oe,null,W[oe],void 0,E);else if(W.onClick)r(x,"onClick",null,W.onClick,void 0,E);else if(J&4&&ai(W.style))for(const oe in W.style)W.style[oe]}let te;(te=W&&W.onVnodeBeforeMount)&&Sn(te,E,y),ee&&Tr(y,null,E,"beforeMount"),((te=W&&W.onVnodeMounted)||ee||Q)&&Mw(()=>{te&&Sn(te,E,y),Q&&pe.enter(x),ee&&Tr(y,null,E,"mounted")},A)}return x.nextSibling},w=(x,y,E,A,j,N,B)=>{B=B||!!y.dynamicChildren;const W=y.children,J=W.length;for(let V=0;V<J;V++){const ee=B?W[V]:W[V]=Mn(W[V]),pe=ee.type===yo;if(x){if(pe&&!B){let ue=W[V+1];ue&&(ue=Mn(ue)).type===yo&&(c(i(x.data.slice(ee.children.length)),E,o(x)),x.data=ee.children)}x=g(x,ee,A,j,N,B)}else pe&&!ee.children?c(ee.el=i(""),E):(rs(),n(null,ee,E,null,A,j,$u(E),N))}return x},k=(x,y,E,A,j,N)=>{const{slotScopeIds:B}=y;B&&(j=j?j.concat(B):B);const W=l(x),J=w(o(x),y,W,E,A,j,N);return J&&Ku(J)&&J.data==="]"?o(y.anchor=J):(rs(),c(y.anchor=h("]"),W,J),J)},_=(x,y,E,A,j,N)=>{if(rs(),y.el=null,N){const J=L(x);for(;;){const V=o(x);if(V&&V!==J)u(V);else break}}const B=o(x),W=l(x);return u(x),n(null,y,W,B,E,A,$u(W),j),B},L=(x,y="[",E="]")=>{let A=0;for(;x;)if(x=o(x),x&&Ku(x)&&(x.data===y&&A++,x.data===E)){if(A===0)return o(x);A--}return x},O=(x,y,E)=>{const A=y.parentNode;A&&A.replaceChild(x,y);let j=E;for(;j;)j.vnode.el===y&&(j.vnode.el=j.subTree.el=x),j=j.parent},M=x=>x.nodeType===1&&x.tagName.toLowerCase()==="template";return[d,g]}const Jt=Mw;function m5(e){return _w(e)}function k5(e){return _w(e,p5)}function _w(e,t){const n=xy();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:l,createText:u,createComment:c,setText:h,setElementText:d,parentNode:g,nextSibling:v,setScopeId:w=yn,insertStaticContent:k}=e,_=(T,R,H,ne=null,$=null,se=null,he=void 0,ae=null,le=!!R.dynamicChildren)=>{if(T===R)return;T&&!wr(T,R)&&(ne=q(T),st(T,$,se,!0),T=null),R.patchFlag===-2&&(le=!1,R.dynamicChildren=null);const{type:re,ref:de,shapeFlag:Ce}=R;switch(re){case yo:L(T,R,H,ne);break;case tn:O(T,R,H,ne);break;case Cs:T==null&&M(R,H,ne,he);break;case Dt:V(T,R,H,ne,$,se,he,ae,le);break;default:Ce&1?E(T,R,H,ne,$,se,he,ae,le):Ce&6?ee(T,R,H,ne,$,se,he,ae,le):(Ce&64||Ce&128)&&re.process(T,R,H,ne,$,se,he,ae,le,me)}de!=null&&$&&Ac(de,T&&T.ref,se,R||T,!R)},L=(T,R,H,ne)=>{if(T==null)r(R.el=u(R.children),H,ne);else{const $=R.el=T.el;R.children!==T.children&&h($,R.children)}},O=(T,R,H,ne)=>{T==null?r(R.el=c(R.children||""),H,ne):R.el=T.el},M=(T,R,H,ne)=>{[T.el,T.anchor]=k(T.children,R,H,ne,T.el,T.anchor)},x=({el:T,anchor:R},H,ne)=>{let $;for(;T&&T!==R;)$=v(T),r(T,H,ne),T=$;r(R,H,ne)},y=({el:T,anchor:R})=>{let H;for(;T&&T!==R;)H=v(T),i(T),T=H;i(R)},E=(T,R,H,ne,$,se,he,ae,le)=>{R.type==="svg"?he="svg":R.type==="math"&&(he="mathml"),T==null?A(R,H,ne,$,se,he,ae,le):B(T,R,$,se,he,ae,le)},A=(T,R,H,ne,$,se,he,ae)=>{let le,re;const{props:de,shapeFlag:Ce,transition:ke,dirs:Te}=T;if(le=T.el=l(T.type,se,de&&de.is,de),Ce&8?d(le,T.children):Ce&16&&N(T.children,le,null,ne,$,rd(T,se),he,ae),Te&&Tr(T,null,ne,"created"),j(le,T,T.scopeId,he,ne),de){for(const Ze in de)Ze!=="value"&&!vs(Ze)&&o(le,Ze,null,de[Ze],se,ne);"value"in de&&o(le,"value",null,de.value,se),(re=de.onVnodeBeforeMount)&&Sn(re,ne,T)}Te&&Tr(T,null,ne,"beforeMount");const je=bw($,ke);je&&ke.beforeEnter(le),r(le,R,H),((re=de&&de.onVnodeMounted)||je||Te)&&Jt(()=>{re&&Sn(re,ne,T),je&&ke.enter(le),Te&&Tr(T,null,ne,"mounted")},$)},j=(T,R,H,ne,$)=>{if(H&&w(T,H),ne)for(let se=0;se<ne.length;se++)w(T,ne[se]);if($){let se=$.subTree;if(R===se){const he=$.vnode;j(T,he,he.scopeId,he.slotScopeIds,$.parent)}}},N=(T,R,H,ne,$,se,he,ae,le=0)=>{for(let re=le;re<T.length;re++){const de=T[re]=ae?ji(T[re]):Mn(T[re]);_(null,de,R,H,ne,$,se,he,ae)}},B=(T,R,H,ne,$,se,he)=>{const ae=R.el=T.el;let{patchFlag:le,dynamicChildren:re,dirs:de}=R;le|=T.patchFlag&16;const Ce=T.props||ut,ke=R.props||ut;let Te;if(H&&oo(H,!1),(Te=ke.onVnodeBeforeUpdate)&&Sn(Te,H,R,T),de&&Tr(R,T,H,"beforeUpdate"),H&&oo(H,!0),(Ce.innerHTML&&ke.innerHTML==null||Ce.textContent&&ke.textContent==null)&&d(ae,""),re?W(T.dynamicChildren,re,ae,H,ne,rd(R,$),se):he||oe(T,R,ae,null,H,ne,rd(R,$),se,!1),le>0){if(le&16)J(ae,Ce,ke,H,$);else if(le&2&&Ce.class!==ke.class&&o(ae,"class",null,ke.class,$),le&4&&o(ae,"style",Ce.style,ke.style,$),le&8){const je=R.dynamicProps;for(let Ze=0;Ze<je.length;Ze++){const Qe=je[Ze],Et=Ce[Qe],Zt=ke[Qe];(Zt!==Et||Qe==="value")&&o(ae,Qe,Et,Zt,$,H)}}le&1&&T.children!==R.children&&d(ae,R.children)}else!he&&re==null&&J(ae,Ce,ke,H,$);((Te=ke.onVnodeUpdated)||de)&&Jt(()=>{Te&&Sn(Te,H,R,T),de&&Tr(R,T,H,"updated")},ne)},W=(T,R,H,ne,$,se,he)=>{for(let ae=0;ae<R.length;ae++){const le=T[ae],re=R[ae],de=le.el&&(le.type===Dt||!wr(le,re)||le.shapeFlag&70)?g(le.el):H;_(le,re,de,null,ne,$,se,he,!0)}},J=(T,R,H,ne,$)=>{if(R!==H){if(R!==ut)for(const se in R)!vs(se)&&!(se in H)&&o(T,se,R[se],null,$,ne);for(const se in H){if(vs(se))continue;const he=H[se],ae=R[se];he!==ae&&se!=="value"&&o(T,se,ae,he,$,ne)}"value"in H&&o(T,"value",R.value,H.value,$)}},V=(T,R,H,ne,$,se,he,ae,le)=>{const re=R.el=T?T.el:u(""),de=R.anchor=T?T.anchor:u("");let{patchFlag:Ce,dynamicChildren:ke,slotScopeIds:Te}=R;Te&&(ae=ae?ae.concat(Te):Te),T==null?(r(re,H,ne),r(de,H,ne),N(R.children||[],H,de,$,se,he,ae,le)):Ce>0&&Ce&64&&ke&&T.dynamicChildren?(W(T.dynamicChildren,ke,H,$,se,he,ae),(R.key!=null||$&&R===$.subTree)&&d0(T,R,!0)):oe(T,R,H,de,$,se,he,ae,le)},ee=(T,R,H,ne,$,se,he,ae,le)=>{R.slotScopeIds=ae,T==null?R.shapeFlag&512?$.ctx.activate(R,H,ne,he,le):pe(R,H,ne,$,se,he,le):ue(T,R,le)},pe=(T,R,H,ne,$,se,he)=>{const ae=T.component=jw(T,ne,$);if(Oa(T)&&(ae.ctx.renderer=me),Bw(ae,!1,he),ae.asyncDep){if($&&$.registerDep(ae,Q,he),!T.el){const le=ae.subTree=m(tn);O(null,le,R,H)}}else Q(ae,T,R,H,$,se,he)},ue=(T,R,H)=>{const ne=R.component=T.component;if(M5(T,R,H))if(ne.asyncDep&&!ne.asyncResolved){te(ne,R,H);return}else ne.next=R,RE(ne.update),ne.effect.dirty=!0,ne.update();else R.el=T.el,ne.vnode=R},Q=(T,R,H,ne,$,se,he)=>{const ae=()=>{if(T.isMounted){let{next:de,bu:Ce,u:ke,parent:Te,vnode:je}=T;{const Zn=xw(T);if(Zn){de&&(de.el=je.el,te(T,de,he)),Zn.asyncDep.then(()=>{T.isUnmounted||ae()});return}}let Ze=de,Qe;oo(T,!1),de?(de.el=je.el,te(T,de,he)):de=je,Ce&&ys(Ce),(Qe=de.props&&de.props.onVnodeBeforeUpdate)&&Sn(Qe,Te,de,je),oo(T,!0);const Et=lc(T),Zt=T.subTree;T.subTree=Et,_(Zt,Et,g(Zt.el),q(Zt),T,$,se),de.el=Et.el,Ze===null&&g0(T,Et.el),ke&&Jt(ke,$),(Qe=de.props&&de.props.onVnodeUpdated)&&Jt(()=>Sn(Qe,Te,de,je),$)}else{let de;const{el:Ce,props:ke}=R,{bm:Te,m:je,parent:Ze}=T,Qe=vo(R);if(oo(T,!1),Te&&ys(Te),!Qe&&(de=ke&&ke.onVnodeBeforeMount)&&Sn(de,Ze,R),oo(T,!0),Ce&&ot){const Et=()=>{T.subTree=lc(T),ot(Ce,T.subTree,T,$,null)};Qe?R.type.__asyncLoader().then(()=>!T.isUnmounted&&Et()):Et()}else{const Et=T.subTree=lc(T);_(null,Et,H,ne,T,$,se),R.el=Et.el}if(je&&Jt(je,$),!Qe&&(de=ke&&ke.onVnodeMounted)){const Et=R;Jt(()=>Sn(de,Ze,Et),$)}(R.shapeFlag&256||Ze&&vo(Ze.vnode)&&Ze.vnode.shapeFlag&256)&&T.a&&Jt(T.a,$),T.isMounted=!0,R=H=ne=null}},le=T.effect=new la(ae,yn,()=>ff(re),T.scope),re=T.update=()=>{le.dirty&&le.run()};re.i=T,re.id=T.uid,oo(T,!0),re()},te=(T,R,H)=>{R.component=T;const ne=T.vnode.props;T.vnode=R,T.next=null,o5(T,R.props,ne,H),u5(T,R.children,H),qi(),H1(T),Ji()},oe=(T,R,H,ne,$,se,he,ae,le=!1)=>{const re=T&&T.children,de=T?T.shapeFlag:0,Ce=R.children,{patchFlag:ke,shapeFlag:Te}=R;if(ke>0){if(ke&128){lt(re,Ce,H,ne,$,se,he,ae,le);return}else if(ke&256){Ge(re,Ce,H,ne,$,se,he,ae,le);return}}Te&8?(de&16&&Be(re,$,se),Ce!==re&&d(H,Ce)):de&16?Te&16?lt(re,Ce,H,ne,$,se,he,ae,le):Be(re,$,se,!0):(de&8&&d(H,""),Te&16&&N(Ce,H,ne,$,se,he,ae,le))},Ge=(T,R,H,ne,$,se,he,ae,le)=>{T=T||ms,R=R||ms;const re=T.length,de=R.length,Ce=Math.min(re,de);let ke;for(ke=0;ke<Ce;ke++){const Te=R[ke]=le?ji(R[ke]):Mn(R[ke]);_(T[ke],Te,H,null,$,se,he,ae,le)}re>de?Be(T,$,se,!0,!1,Ce):N(R,H,ne,$,se,he,ae,le,Ce)},lt=(T,R,H,ne,$,se,he,ae,le)=>{let re=0;const de=R.length;let Ce=T.length-1,ke=de-1;for(;re<=Ce&&re<=ke;){const Te=T[re],je=R[re]=le?ji(R[re]):Mn(R[re]);if(wr(Te,je))_(Te,je,H,null,$,se,he,ae,le);else break;re++}for(;re<=Ce&&re<=ke;){const Te=T[Ce],je=R[ke]=le?ji(R[ke]):Mn(R[ke]);if(wr(Te,je))_(Te,je,H,null,$,se,he,ae,le);else break;Ce--,ke--}if(re>Ce){if(re<=ke){const Te=ke+1,je=Te<de?R[Te].el:ne;for(;re<=ke;)_(null,R[re]=le?ji(R[re]):Mn(R[re]),H,je,$,se,he,ae,le),re++}}else if(re>ke)for(;re<=Ce;)st(T[re],$,se,!0),re++;else{const Te=re,je=re,Ze=new Map;for(re=je;re<=ke;re++){const be=R[re]=le?ji(R[re]):Mn(R[re]);be.key!=null&&Ze.set(be.key,re)}let Qe,Et=0;const Zt=ke-je+1;let Zn=!1,gi=0;const K=new Array(Zt);for(re=0;re<Zt;re++)K[re]=0;for(re=Te;re<=Ce;re++){const be=T[re];if(Et>=Zt){st(be,$,se,!0);continue}let Fe;if(be.key!=null)Fe=Ze.get(be.key);else for(Qe=je;Qe<=ke;Qe++)if(K[Qe-je]===0&&wr(be,R[Qe])){Fe=Qe;break}Fe===void 0?st(be,$,se,!0):(K[Fe-je]=re+1,Fe>=gi?gi=Fe:Zn=!0,_(be,R[Fe],H,null,$,se,he,ae,le),Et++)}const ve=Zn?v5(K):ms;for(Qe=ve.length-1,re=Zt-1;re>=0;re--){const be=je+re,Fe=R[be],Je=be+1<de?R[be+1].el:ne;K[re]===0?_(null,Fe,H,Je,$,se,he,ae,le):Zn&&(Qe<0||re!==ve[Qe]?Ke(Fe,H,Je,2):Qe--)}}},Ke=(T,R,H,ne,$=null)=>{const{el:se,type:he,transition:ae,children:le,shapeFlag:re}=T;if(re&6){Ke(T.component.subTree,R,H,ne);return}if(re&128){T.suspense.move(R,H,ne);return}if(re&64){he.move(T,R,H,me);return}if(he===Dt){r(se,R,H);for(let Ce=0;Ce<le.length;Ce++)Ke(le[Ce],R,H,ne);r(T.anchor,R,H);return}if(he===Cs){x(T,R,H);return}if(ne!==2&&re&1&&ae)if(ne===0)ae.beforeEnter(se),r(se,R,H),Jt(()=>ae.enter(se),$);else{const{leave:Ce,delayLeave:ke,afterLeave:Te}=ae,je=()=>r(se,R,H),Ze=()=>{Ce(se,()=>{je(),Te&&Te()})};ke?ke(se,je,Ze):Ze()}else r(se,R,H)},st=(T,R,H,ne=!1,$=!1)=>{const{type:se,props:he,ref:ae,children:le,dynamicChildren:re,shapeFlag:de,patchFlag:Ce,dirs:ke,cacheIndex:Te}=T;if(Ce===-2&&($=!1),ae!=null&&Ac(ae,null,H,T,!0),Te!=null&&(R.renderCache[Te]=void 0),de&256){R.ctx.deactivate(T);return}const je=de&1&&ke,Ze=!vo(T);let Qe;if(Ze&&(Qe=he&&he.onVnodeBeforeUnmount)&&Sn(Qe,R,T),de&6)ct(T.component,H,ne);else{if(de&128){T.suspense.unmount(H,ne);return}je&&Tr(T,null,R,"beforeUnmount"),de&64?T.type.remove(T,R,H,me,ne):re&&!re.hasOnce&&(se!==Dt||Ce>0&&Ce&64)?Be(re,R,H,!1,!0):(se===Dt&&Ce&384||!$&&de&16)&&Be(le,R,H),ne&&wt(T)}(Ze&&(Qe=he&&he.onVnodeUnmounted)||je)&&Jt(()=>{Qe&&Sn(Qe,R,T),je&&Tr(T,null,R,"unmounted")},H)},wt=T=>{const{type:R,el:H,anchor:ne,transition:$}=T;if(R===Dt){Xe(H,ne);return}if(R===Cs){y(T);return}const se=()=>{i(H),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(T.shapeFlag&1&&$&&!$.persisted){const{leave:he,delayLeave:ae}=$,le=()=>he(H,se);ae?ae(T.el,se,le):le()}else se()},Xe=(T,R)=>{let H;for(;T!==R;)H=v(T),i(T),T=H;i(R)},ct=(T,R,H)=>{const{bum:ne,scope:$,update:se,subTree:he,um:ae,m:le,a:re}=T;Tc(le),Tc(re),ne&&ys(ne),$.stop(),se&&(se.active=!1,st(he,T,R,H)),ae&&Jt(ae,R),Jt(()=>{T.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},Be=(T,R,H,ne=!1,$=!1,se=0)=>{for(let he=se;he<T.length;he++)st(T[he],R,H,ne,$)},q=T=>{if(T.shapeFlag&6)return q(T.component.subTree);if(T.shapeFlag&128)return T.suspense.next();const R=v(T.anchor||T.el),H=R&&R[yw];return H?v(H):R};let fe=!1;const ce=(T,R,H)=>{T==null?R._vnode&&st(R._vnode,null,null,!0):_(R._vnode||null,T,R,null,null,null,H),fe||(fe=!0,H1(),Ec(),fe=!1),R._vnode=T},me={p:_,um:st,m:Ke,r:wt,mt:pe,mc:N,pc:oe,pbc:W,n:q,o:e};let He,ot;return t&&([He,ot]=t(me)),{render:ce,hydrate:He,createApp:n5(ce,He)}}function rd({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 oo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function bw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function d0(e,t,n=!1){const r=e.children,i=t.children;if(xe(r)&&xe(i))for(let o=0;o<r.length;o++){const l=r[o];let u=i[o];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=i[o]=ji(i[o]),u.el=l.el),!n&&u.patchFlag!==-2&&d0(l,u)),u.type===yo&&(u.el=l.el)}}function v5(e){const t=e.slice(),n=[0];let r,i,o,l,u;const c=e.length;for(r=0;r<c;r++){const h=e[r];if(h!==0){if(i=n[n.length-1],e[i]<h){t[r]=i,n.push(r);continue}for(o=0,l=n.length-1;o<l;)u=o+l>>1,e[n[u]]<h?o=u+1:l=u;h<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}function xw(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xw(t)}function Tc(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const y5=Symbol.for("v-scx"),w5=()=>Gt(y5);function KW(e,t){return Ra(e,null,t)}function _5(e,t){return Ra(e,null,{flush:"post"})}function b5(e,t){return Ra(e,null,{flush:"sync"})}const qu={};function lr(e,t,n){return Ra(e,t,n)}function Ra(e,t,{immediate:n,deep:r,flush:i,once:o,onTrack:l,onTrigger:u}=ut){if(t&&o){const A=t;t=(...j)=>{A(...j),E()}}const c=Ut,h=A=>r===!0?A:Ni(A,r===!1?1:void 0);let d,g=!1,v=!1;if(Bt(e)?(d=()=>e.value,g=Ms(e)):ai(e)?(d=()=>h(e),g=!0):xe(e)?(v=!0,g=e.some(A=>ai(A)||Ms(A)),d=()=>e.map(A=>{if(Bt(A))return A.value;if(ai(A))return h(A);if(Me(A))return Vi(A,c,2)})):Me(e)?t?d=()=>Vi(e,c,2):d=()=>(w&&w(),sr(e,c,3,[k])):d=yn,t&&r){const A=d;d=()=>Ni(A())}let w,k=A=>{w=x.onStop=()=>{Vi(A,c,4),w=x.onStop=void 0}},_;if(Ia)if(k=yn,t?n&&sr(t,c,3,[d(),v?[]:void 0,k]):d(),i==="sync"){const A=w5();_=A.__watcherHandles||(A.__watcherHandles=[])}else return yn;let L=v?new Array(e.length).fill(qu):qu;const O=()=>{if(!(!x.active||!x.dirty))if(t){const A=x.run();(r||g||(v?A.some((j,N)=>kn(j,L[N])):kn(A,L)))&&(w&&w(),sr(t,c,3,[A,L===qu?void 0:v&&L[0]===qu?[]:L,k]),L=A)}else x.run()};O.allowRecurse=!!t;let M;i==="sync"?M=O:i==="post"?M=()=>Jt(O,c&&c.suspense):(O.pre=!0,c&&(O.id=c.uid),M=()=>ff(O));const x=new la(d,yn,M),y=Gg(),E=()=>{x.stop(),y&&Kg(y.effects,x)};return t?n?O():L=x.run():i==="post"?Jt(x.run.bind(x),c&&c.suspense):x.run(),_&&_.push(E),E}function x5(e,t,n){const r=this.proxy,i=kt(e)?e.includes(".")?Cw(r,e):()=>r[e]:e.bind(r,r);let o;Me(t)?o=t:(o=t.handler,n=t);const l=Ao(this),u=Ra(i,o.bind(r),n);return l(),u}function Cw(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Ni(e,t=1/0,n){if(t<=0||!dt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Bt(e))Ni(e.value,t,n);else if(xe(e))for(let r=0;r<e.length;r++)Ni(e[r],t,n);else if(Do(e)||ks(e))e.forEach(r=>{Ni(r,t,n)});else if(_y(e)){for(const r in e)Ni(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ni(e[r],t,n)}return e}function qW(e,t,n=ut){const r=Pn(),i=cn(t),o=An(t),l=Lw(e,t),u=CE((c,h)=>{let d,g=ut,v;return b5(()=>{const w=e[t];kn(d,w)&&(d=w,h())}),{get(){return c(),n.get?n.get(d):d},set(w){if(!kn(w,d)&&!(g!==ut&&kn(w,g)))return;const k=r.vnode.props;k&&(t in k||i in k||o in k)&&(`onUpdate:${t}`in k||`onUpdate:${i}`in k||`onUpdate:${o}`in k)||(d=w,h());const _=n.set?n.set(w):w;r.emit(`update:${t}`,_),kn(w,_)&&kn(w,g)&&!kn(_,v)&&h(),g=w,v=_}}});return u[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?l||ut:u,done:!1}:{done:!0}}}},u}const Lw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${cn(t)}Modifiers`]||e[`${An(t)}Modifiers`];function C5(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ut;let i=n;const o=t.startsWith("update:"),l=o&&Lw(r,t.slice(7));l&&(l.trim&&(i=n.map(d=>kt(d)?d.trim():d)),l.number&&(i=n.map(Cc)));let u,c=r[u=sc(t)]||r[u=sc(cn(t))];!c&&o&&(c=r[u=sc(An(t))]),c&&sr(c,e,6,i);const h=r[u+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,sr(h,e,6,i)}}function Sw(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let l={},u=!1;if(!Me(e)){const c=h=>{const d=Sw(h,t,!0);d&&(u=!0,jt(l,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!u?(dt(e)&&r.set(e,null),null):(xe(o)?o.forEach(c=>l[c]=null):jt(l,o),dt(e)&&r.set(e,l),l)}function pf(e,t){return!e||!Ta(t)?!1:(t=t.slice(2).replace(/Once$/,""),rt(e,t[0].toLowerCase()+t.slice(1))||rt(e,An(t))||rt(e,t))}function lc(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:l,attrs:u,emit:c,render:h,renderCache:d,props:g,data:v,setupState:w,ctx:k,inheritAttrs:_}=e,L=fa(e);let O,M;try{if(n.shapeFlag&4){const y=i||r,E=y;O=Mn(h.call(E,y,d,g,w,v,k)),M=u}else{const y=t;O=Mn(y.length>1?y(g,{attrs:u,slots:l,emit:c}):y(g,null)),M=t.props?u:S5(u)}}catch(y){Kl.length=0,Ks(y,e,1),O=m(tn)}let x=O;if(M&&_!==!1){const y=Object.keys(M),{shapeFlag:E}=x;y.length&&E&7&&(o&&y.some($g)&&(M=E5(M,o)),x=ci(x,M,!1,!0))}return n.dirs&&(x=ci(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),O=x,fa(L),O}function L5(e,t=!0){let n;for(let r=0;r<e.length;r++){const i=e[r];if(ui(i)){if(i.type!==tn||i.children==="v-if"){if(n)return;n=i}}else return}return n}const S5=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ta(n))&&((t||(t={}))[n]=e[n]);return t},E5=(e,t)=>{const n={};for(const r in e)(!$g(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function M5(e,t,n){const{props:r,children:i,component:o}=e,{props:l,children:u,patchFlag:c}=t,h=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ek(r,l,h):!!l;if(c&8){const d=t.dynamicProps;for(let g=0;g<d.length;g++){const v=d[g];if(l[v]!==r[v]&&!pf(h,v))return!0}}}else return(i||u)&&(!u||!u.$stable)?!0:r===l?!1:r?l?ek(r,l,h):!0:!!l;return!1}function ek(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!pf(n,o))return!0}return!1}function g0({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 $d=e=>e.__isSuspense;let Kd=0;const A5={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,l,u,c,h){if(e==null)T5(t,n,r,i,o,l,u,c,h);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}O5(e,t,n,r,i,l,u,c,h)}},hydrate:R5,normalize:I5},JW=A5;function ga(e,t){const n=e.props&&e.props[t];Me(n)&&n()}function T5(e,t,n,r,i,o,l,u,c){const{p:h,o:{createElement:d}}=c,g=d("div"),v=e.suspense=Ew(e,i,r,t,g,n,o,l,u,c);h(null,v.pendingBranch=e.ssContent,g,null,r,v,o,l),v.deps>0?(ga(e,"onPending"),ga(e,"onFallback"),h(null,e.ssFallback,t,n,r,null,o,l),xs(v,e.ssFallback)):v.resolve(!1,!0)}function O5(e,t,n,r,i,o,l,u,{p:c,um:h,o:{createElement:d}}){const g=t.suspense=e.suspense;g.vnode=t,t.el=e.el;const v=t.ssContent,w=t.ssFallback,{activeBranch:k,pendingBranch:_,isInFallback:L,isHydrating:O}=g;if(_)g.pendingBranch=v,wr(v,_)?(c(_,v,g.hiddenContainer,null,i,g,o,l,u),g.deps<=0?g.resolve():L&&(O||(c(k,w,n,r,i,null,o,l,u),xs(g,w)))):(g.pendingId=Kd++,O?(g.isHydrating=!1,g.activeBranch=_):h(_,i,g),g.deps=0,g.effects.length=0,g.hiddenContainer=d("div"),L?(c(null,v,g.hiddenContainer,null,i,g,o,l,u),g.deps<=0?g.resolve():(c(k,w,n,r,i,null,o,l,u),xs(g,w))):k&&wr(v,k)?(c(k,v,n,r,i,g,o,l,u),g.resolve(!0)):(c(null,v,g.hiddenContainer,null,i,g,o,l,u),g.deps<=0&&g.resolve()));else if(k&&wr(v,k))c(k,v,n,r,i,g,o,l,u),xs(g,v);else if(ga(t,"onPending"),g.pendingBranch=v,v.shapeFlag&512?g.pendingId=v.component.suspenseId:g.pendingId=Kd++,c(null,v,g.hiddenContainer,null,i,g,o,l,u),g.deps<=0)g.resolve();else{const{timeout:M,pendingId:x}=g;M>0?setTimeout(()=>{g.pendingId===x&&g.fallback(w)},M):M===0&&g.fallback(w)}}function Ew(e,t,n,r,i,o,l,u,c,h,d=!1){const{p:g,m:v,um:w,n:k,o:{parentNode:_,remove:L}}=h;let O;const M=j5(e);M&&t&&t.pendingBranch&&(O=t.pendingId,t.deps++);const x=e.props?Lc(e.props.timeout):void 0,y=o,E={vnode:e,parent:t,parentComponent:n,namespace:l,container:r,hiddenContainer:i,deps:0,pendingId:Kd++,timeout:typeof x=="number"?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(A=!1,j=!1){const{vnode:N,activeBranch:B,pendingBranch:W,pendingId:J,effects:V,parentComponent:ee,container:pe}=E;let ue=!1;E.isHydrating?E.isHydrating=!1:A||(ue=B&&W.transition&&W.transition.mode==="out-in",ue&&(B.transition.afterLeave=()=>{J===E.pendingId&&(v(W,pe,o===y?k(B):o,0),Fd(V))}),B&&(_(B.el)!==E.hiddenContainer&&(o=k(B)),w(B,ee,E,!0)),ue||v(W,pe,o,0)),xs(E,W),E.pendingBranch=null,E.isInFallback=!1;let Q=E.parent,te=!1;for(;Q;){if(Q.pendingBranch){Q.effects.push(...V),te=!0;break}Q=Q.parent}!te&&!ue&&Fd(V),E.effects=[],M&&t&&t.pendingBranch&&O===t.pendingId&&(t.deps--,t.deps===0&&!j&&t.resolve()),ga(N,"onResolve")},fallback(A){if(!E.pendingBranch)return;const{vnode:j,activeBranch:N,parentComponent:B,container:W,namespace:J}=E;ga(j,"onFallback");const V=k(N),ee=()=>{E.isInFallback&&(g(null,A,W,V,B,null,J,u,c),xs(E,A))},pe=A.transition&&A.transition.mode==="out-in";pe&&(N.transition.afterLeave=ee),E.isInFallback=!0,w(N,B,null,!0),pe||ee()},move(A,j,N){E.activeBranch&&v(E.activeBranch,A,j,N),E.container=A},next(){return E.activeBranch&&k(E.activeBranch)},registerDep(A,j,N){const B=!!E.pendingBranch;B&&E.deps++;const W=A.vnode.el;A.asyncDep.catch(J=>{Ks(J,A,0)}).then(J=>{if(A.isUnmounted||E.isUnmounted||E.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:V}=A;Gd(A,J,!1),W&&(V.el=W);const ee=!W&&A.subTree.el;j(A,V,_(W||A.subTree.el),W?null:k(A.subTree),E,l,N),ee&&L(ee),g0(A,V.el),B&&--E.deps===0&&E.resolve()})},unmount(A,j){E.isUnmounted=!0,E.activeBranch&&w(E.activeBranch,n,A,j),E.pendingBranch&&w(E.pendingBranch,n,A,j)}};return E}function R5(e,t,n,r,i,o,l,u,c){const h=t.suspense=Ew(t,r,n,e.parentNode,document.createElement("div"),null,i,o,l,u,!0),d=c(e,h.pendingBranch=t.ssContent,n,h,o,l);return h.deps===0&&h.resolve(!1,!0),d}function I5(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=tk(r?n.default:n),e.ssFallback=r?tk(n.fallback):m(tn)}function tk(e){let t;if(Me(e)){const n=Mo&&e._c;n&&(e._d=!1,tt()),e=e(),n&&(e._d=!0,t=un,Aw())}return xe(e)&&(e=L5(e)),e=Mn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Mw(e,t){t&&t.pendingBranch?xe(e)?t.effects.push(...e):t.effects.push(e):Fd(e)}function xs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,g0(r,i))}function j5(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Dt=Symbol.for("v-fgt"),yo=Symbol.for("v-txt"),tn=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),Kl=[];let un=null;function tt(e=!1){Kl.push(un=e?null:[])}function Aw(){Kl.pop(),un=Kl[Kl.length-1]||null}let Mo=1;function nk(e){Mo+=e,e<0&&un&&(un.hasOnce=!0)}function Tw(e){return e.dynamicChildren=Mo>0?un||ms:null,Aw(),Mo>0&&un&&un.push(e),e}function xt(e,t,n,r,i,o){return Tw(yt(e,t,n,r,i,o,!0))}function ii(e,t,n,r,i){return Tw(m(e,t,n,r,i,!0))}function ui(e){return e?e.__v_isVNode===!0:!1}function wr(e,t){return e.type===t.type&&e.key===t.key}function GW(e){}const Ow=({key:e})=>e??null,ac=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?kt(e)||Bt(e)||Me(e)?{i:$t,r:e,k:t,f:!!n}:e:null);function yt(e,t=null,n=null,r=0,i=null,o=e===Dt?0:1,l=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ow(t),ref:t&&ac(t),scopeId:hf,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$t};return u?(p0(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=kt(n)?8:16),Mo>0&&!l&&un&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&un.push(c),c}const m=P5;function P5(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===ow)&&(e=tn),ui(e)){const u=ci(e,t,!0);return n&&p0(u,n),Mo>0&&!o&&un&&(u.shapeFlag&6?un[un.indexOf(e)]=u:un.push(u)),u.patchFlag=-2,u}if(z5(e)&&(e=e.__vccOpts),t){t=B5(t);let{class:u,style:c}=t;u&&!kt(u)&&(t.class=En(u)),dt(c)&&(Uy(c)&&!xe(c)&&(c=jt({},c)),t.style=Us(c))}const l=kt(e)?1:$d(e)?128:c5(e)?64:dt(e)?4:Me(e)?2:0;return yt(e,t,n,r,i,l,o,!0)}function B5(e){return e?Uy(e)||hw(e)?jt({},e):e:null}function ci(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:l,children:u,transition:c}=e,h=t?Iw(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Ow(h),ref:t&&t.ref?n&&o?xe(o)?o.concat(ac(t)):[o,ac(t)]:ac(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:u,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Dt?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ci(e.ssContent),ssFallback:e.ssFallback&&ci(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Eo(d,c.clone(d)),d}function Rw(e=" ",t=0){return m(yo,null,e,t)}function N5(e,t){const n=m(Cs,null,e);return n.staticCount=t,n}function Fi(e="",t=!1){return t?(tt(),ii(tn,null,e)):m(tn,null,e)}function Mn(e){return e==null||typeof e=="boolean"?m(tn):xe(e)?m(Dt,null,e.slice()):typeof e=="object"?ji(e):m(yo,null,String(e))}function ji(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ci(e)}function p0(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(xe(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),p0(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!hw(t)?t._ctx=$t:i===3&&$t&&($t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Me(t)?(t={default:t,_ctx:$t},n=32):(t=String(t),r&64?(n=16,t=[Rw(t)]):n=8);e.children=t,e.shapeFlag|=n}function Iw(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=En([t.class,r.class]));else if(i==="style")t.style=Us([t.style,r.style]);else if(Ta(i)){const o=t[i],l=r[i];l&&o!==l&&!(xe(o)&&o.includes(l))&&(t[i]=o?[].concat(o,l):l)}else i!==""&&(t[i]=r[i])}return t}function Sn(e,t,n,r=null){sr(e,t,7,[n,r])}const F5=uw();let D5=0;function jw(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||F5,o={uid:D5++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ey(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:gw(r,i),emitsOptions:Sw(r,i),emit:null,emitted:null,propsDefaults:ut,inheritAttrs:r.inheritAttrs,ctx:ut,data:ut,props:ut,attrs:ut,slots:ut,refs:ut,setupState:ut,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=C5.bind(null,o),e.ce&&e.ce(o),o}let Ut=null;const Pn=()=>Ut||$t;let Oc,qd;{const e=xy(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(l=>l(o)):i[0](o)}};Oc=t("__VUE_INSTANCE_SETTERS__",n=>Ut=n),qd=t("__VUE_SSR_SETTERS__",n=>Ia=n)}const Ao=e=>{const t=Ut;return Oc(e),e.scope.on(),()=>{e.scope.off(),Oc(t)}},Jd=()=>{Ut&&Ut.scope.off(),Oc(null)};function Pw(e){return e.vnode.shapeFlag&4}let Ia=!1;function Bw(e,t=!1,n=!1){t&&qd(t);const{props:r,children:i}=e.vnode,o=Pw(e);i5(e,r,o,t),a5(e,i,n);const l=o?W5(e,t):void 0;return t&&qd(!1),l}function W5(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Wd);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?Fw(e):null,o=Ao(e);qi();const l=Vi(r,e,0,[e.props,i]);if(Ji(),o(),qg(l)){if(l.then(Jd,Jd),t)return l.then(u=>{Gd(e,u,t)}).catch(u=>{Ks(u,e,0)});e.asyncDep=l}else Gd(e,l,t)}else Nw(e,t)}function Gd(e,t,n){Me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:dt(t)&&(e.setupState=qy(t)),Nw(e,n)}let Rc,Zd;function ZW(e){Rc=e,Zd=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,GE))}}const YW=()=>!Rc;function Nw(e,t,n){const r=e.type;if(!e.render){if(!t&&Rc&&!r.render){const i=r.template||f0(e).template;if(i){const{isCustomElement:o,compilerOptions:l}=e.appContext.config,{delimiters:u,compilerOptions:c}=r,h=jt(jt({isCustomElement:o,delimiters:u},l),c);r.render=Rc(i,h)}}e.render=r.render||yn,Zd&&Zd(e)}{const i=Ao(e);qi();try{ZE(e)}finally{Ji(),i()}}}const H5={get(e,t){return jn(e,"get",""),e[t]}};function Fw(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,H5),slots:e.slots,emit:e.emit,expose:t}}function ja(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(qy(e0(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vl)return Vl[n](e)},has(t,n){return n in t||n in Vl}})):e.proxy}function Yd(e,t=!0){return Me(e)?e.displayName||e.name:e.name||t&&e.__name}function z5(e){return Me(e)&&"__vccOpts"in e}const $e=(e,t)=>yE(e,t,Ia);function mf(e,t,n){const r=arguments.length;return r===2?dt(t)&&!xe(t)?ui(t)?m(e,null,[t]):m(e,t):m(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ui(n)&&(n=[n]),m(e,t,n))}function XW(){}function QW(e,t,n,r){const i=n[r];if(i&&V5(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function V5(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(kn(n[r],t[r]))return!1;return Mo>0&&un&&un.push(e),!0}const U5="3.4.34",$5=yn,eH=AE,tH=ls,nH=Xy,K5={createComponentInstance:jw,setupComponent:Bw,renderComponentRoot:lc,setCurrentRenderingInstance:fa,isVNode:ui,normalizeVNode:Mn,getComponentPublicInstance:ja},rH=K5,iH=null,oH=null,sH=null;/**
- * @vue/runtime-dom v3.4.34
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/const q5="http://www.w3.org/2000/svg",J5="http://www.w3.org/1998/Math/MathML",ni=typeof document<"u"?document:null,rk=ni&&ni.createElement("template"),G5={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?ni.createElementNS(q5,e):t==="mathml"?ni.createElementNS(J5,e):n?ni.createElement(e,{is:n}):ni.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>ni.createTextNode(e),createComment:e=>ni.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ni.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const l=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{rk.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const u=rk.content;if(r==="svg"||r==="mathml"){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}t.insertBefore(u,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Si="transition",xl="animation",As=Symbol("_vtc"),kf=(e,{slots:t})=>mf(PE,Ww(e),t);kf.displayName="Transition";const Dw={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},Z5=kf.props=jt({},ew,Dw),so=(e,t=[])=>{xe(e)?e.forEach(n=>n(...t)):e&&e(...t)},ik=e=>e?xe(e)?e.some(t=>t.length>1):e.length>1:!1;function Ww(e){const t={};for(const V in e)V in Dw||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:h=l,appearToClass:d=u,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:w=`${n}-leave-to`}=e,k=Y5(i),_=k&&k[0],L=k&&k[1],{onBeforeEnter:O,onEnter:M,onEnterCancelled:x,onLeave:y,onLeaveCancelled:E,onBeforeAppear:A=O,onAppear:j=M,onAppearCancelled:N=x}=t,B=(V,ee,pe)=>{Ai(V,ee?d:u),Ai(V,ee?h:l),pe&&pe()},W=(V,ee)=>{V._isLeaving=!1,Ai(V,g),Ai(V,w),Ai(V,v),ee&&ee()},J=V=>(ee,pe)=>{const ue=V?j:M,Q=()=>B(ee,V,pe);so(ue,[ee,Q]),ok(()=>{Ai(ee,V?c:o),ti(ee,V?d:u),ik(ue)||sk(ee,r,_,Q)})};return jt(t,{onBeforeEnter(V){so(O,[V]),ti(V,o),ti(V,l)},onBeforeAppear(V){so(A,[V]),ti(V,c),ti(V,h)},onEnter:J(!1),onAppear:J(!0),onLeave(V,ee){V._isLeaving=!0;const pe=()=>W(V,ee);ti(V,g),ti(V,v),zw(),ok(()=>{V._isLeaving&&(Ai(V,g),ti(V,w),ik(y)||sk(V,r,L,pe))}),so(y,[V,pe])},onEnterCancelled(V){B(V,!1),so(x,[V])},onAppearCancelled(V){B(V,!0),so(N,[V])},onLeaveCancelled(V){W(V),so(E,[V])}})}function Y5(e){if(e==null)return null;if(dt(e))return[id(e.enter),id(e.leave)];{const t=id(e);return[t,t]}}function id(e){return Lc(e)}function ti(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[As]||(e[As]=new Set)).add(t)}function Ai(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[As];n&&(n.delete(t),n.size||(e[As]=void 0))}function ok(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let X5=0;function sk(e,t,n,r){const i=e._endId=++X5,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:l,timeout:u,propCount:c}=Hw(e,t);if(!l)return r();const h=l+"end";let d=0;const g=()=>{e.removeEventListener(h,v),o()},v=w=>{w.target===e&&++d>=c&&g()};setTimeout(()=>{d<c&&g()},u+1),e.addEventListener(h,v)}function Hw(e,t){const n=window.getComputedStyle(e),r=k=>(n[k]||"").split(", "),i=r(`${Si}Delay`),o=r(`${Si}Duration`),l=lk(i,o),u=r(`${xl}Delay`),c=r(`${xl}Duration`),h=lk(u,c);let d=null,g=0,v=0;t===Si?l>0&&(d=Si,g=l,v=o.length):t===xl?h>0&&(d=xl,g=h,v=c.length):(g=Math.max(l,h),d=g>0?l>h?Si:xl:null,v=d?d===Si?o.length:c.length:0);const w=d===Si&&/\b(transform|all)(,|$)/.test(r(`${Si}Property`).toString());return{type:d,timeout:g,propCount:v,hasTransform:w}}function lk(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ak(n)+ak(e[r])))}function ak(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function zw(){return document.body.offsetHeight}function Q5(e,t,n){const r=e[As];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ic=Symbol("_vod"),Vw=Symbol("_vsh"),vf={beforeMount(e,{value:t},{transition:n}){e[Ic]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Cl(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),Cl(e,!0),r.enter(e)):r.leave(e,()=>{Cl(e,!1)}):Cl(e,t))},beforeUnmount(e,{value:t}){Cl(e,t)}};function Cl(e,t){e.style.display=t?e[Ic]:"none",e[Vw]=!t}function e9(){vf.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Uw=Symbol("");function lH(e){const t=Pn();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Qd(o,i))},r=()=>{const i=e(t.proxy);Xd(t.subTree,i),n(i)};Js(()=>{_5(r);const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),a0(()=>i.disconnect())})}function Xd(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Xd(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Qd(e.el,t);else if(e.type===Dt)e.children.forEach(n=>Xd(n,t));else if(e.type===Cs){let{el:n,anchor:r}=e;for(;n&&(Qd(n,t),n!==r);)n=n.nextSibling}}function Qd(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[Uw]=r}}const t9=/(^|;)\s*display\s*:/;function n9(e,t,n){const r=e.style,i=kt(n);let o=!1;if(n&&!i){if(t)if(kt(t))for(const l of t.split(";")){const u=l.slice(0,l.indexOf(":")).trim();n[u]==null&&uc(r,u,"")}else for(const l in t)n[l]==null&&uc(r,l,"");for(const l in n)l==="display"&&(o=!0),uc(r,l,n[l])}else if(i){if(t!==n){const l=r[Uw];l&&(n+=";"+l),r.cssText=n,o=t9.test(n)}}else t&&e.removeAttribute("style");Ic in e&&(e[Ic]=o?r.display:"",e[Vw]&&(r.display="none"))}const uk=/\s*!important$/;function uc(e,t,n){if(xe(n))n.forEach(r=>uc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=r9(e,t);uk.test(n)?e.setProperty(An(r),n.replace(uk,""),"important"):e[r]=n}}const ck=["Webkit","Moz","ms"],od={};function r9(e,t){const n=od[t];if(n)return n;let r=cn(t);if(r!=="filter"&&r in e)return od[t]=r;r=of(r);for(let i=0;i<ck.length;i++){const o=ck[i]+r;if(o in e)return od[t]=o}return t}const fk="http://www.w3.org/1999/xlink";function hk(e,t,n,r,i,o=YS(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(fk,t.slice(6,t.length)):e.setAttributeNS(fk,t,n):n==null||o&&!Cy(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Fr(n)?String(n):n)}function i9(e,t,n,r){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?"":String(n);(l!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Cy(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(t)}function oi(e,t,n,r){e.addEventListener(t,n,r)}function o9(e,t,n,r){e.removeEventListener(t,n,r)}const dk=Symbol("_vei");function s9(e,t,n,r,i=null){const o=e[dk]||(e[dk]={}),l=o[t];if(r&&l)l.value=r;else{const[u,c]=l9(t);if(r){const h=o[t]=c9(r,i);oi(e,u,h,c)}else l&&(o9(e,u,l,c),o[t]=void 0)}}const gk=/(?:Once|Passive|Capture)$/;function l9(e){let t;if(gk.test(e)){t={};let r;for(;r=e.match(gk);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):An(e.slice(2)),t]}let sd=0;const a9=Promise.resolve(),u9=()=>sd||(a9.then(()=>sd=0),sd=Date.now());function c9(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;sr(f9(r,n.value),t,5,[r])};return n.value=e,n.attached=u9(),n}function f9(e,t){if(xe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const pk=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,h9=(e,t,n,r,i,o)=>{const l=i==="svg";t==="class"?Q5(e,r,l):t==="style"?n9(e,n,r):Ta(t)?$g(t)||s9(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):d9(e,t,r,l))?(i9(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&hk(e,t,r,l,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),hk(e,t,r,l))};function d9(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&pk(t)&&Me(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return pk(t)&&kt(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function g9(e,t,n){const r=mt(e,t);class i extends m0{constructor(l){super(r,l,n)}}return i.def=r,i}/*! #__NO_SIDE_EFFECTS__ */const aH=(e,t)=>g9(e,t,M9),p9=typeof HTMLElement<"u"?HTMLElement:class{};class m0 extends p9{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,qs(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),Os(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 i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:o,styles:l}=r;let u;if(o&&!xe(o))for(const c in o){const h=o[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=Lc(this._props[c])),(u||(u=Object.create(null)))[cn(c)]=!0)}this._numberProps=u,i&&this._resolveProps(r),this._applyStyles(l),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=xe(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(cn))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=cn(t);this._numberProps&&this._numberProps[r]&&(n=Lc(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(An(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(An(t),n+""):n||this.removeAttribute(An(t))))}_update(){Os(this._createVNode(),this.shadowRoot)}_createVNode(){const t=m(this._def,jt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,l)=>{this.dispatchEvent(new CustomEvent(o,{detail:l}))};n.emit=(o,...l)=>{r(o,l),An(o)!==o&&r(An(o),l)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof m0){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function uH(e="$style"){{const t=Pn();if(!t)return ut;const n=t.type.__cssModules;if(!n)return ut;const r=n[e];return r||ut}}const $w=new WeakMap,Kw=new WeakMap,jc=Symbol("_moveCb"),mk=Symbol("_enterCb"),qw={name:"TransitionGroup",props:jt({},Z5,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Pn(),r=Qy();let i,o;return s0(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!w9(i[0].el,n.vnode.el,l))return;i.forEach(k9),i.forEach(v9);const u=i.filter(y9);zw(),u.forEach(c=>{const h=c.el,d=h.style;ti(h,l),d.transform=d.webkitTransform=d.transitionDuration="";const g=h[jc]=v=>{v&&v.target!==h||(!v||/transform$/.test(v.propertyName))&&(h.removeEventListener("transitionend",g),h[jc]=null,Ai(h,l))};h.addEventListener("transitionend",g)})}),()=>{const l=it(e),u=Ww(l);let c=l.tag||Dt;if(i=[],o)for(let h=0;h<o.length;h++){const d=o[h];d.el&&d.el instanceof Element&&(i.push(d),Eo(d,ha(d,u,r,n)),$w.set(d,d.el.getBoundingClientRect()))}o=t.default?o0(t.default()):[];for(let h=0;h<o.length;h++){const d=o[h];d.key!=null&&Eo(d,ha(d,u,r,n))}return m(c,null,o)}}},m9=e=>delete e.mode;qw.props;const cH=qw;function k9(e){const t=e.el;t[jc]&&t[jc](),t[mk]&&t[mk]()}function v9(e){Kw.set(e,e.el.getBoundingClientRect())}function y9(e){const t=$w.get(e),n=Kw.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function w9(e,t,n){const r=e.cloneNode(),i=e[As];i&&i.forEach(u=>{u.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(u=>u&&r.classList.add(u)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:l}=Hw(r);return o.removeChild(r),l}const $i=e=>{const t=e.props["onUpdate:modelValue"]||!1;return xe(t)?n=>ys(t,n):t};function _9(e){e.target.composing=!0}function kk(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ar=Symbol("_assign"),eg={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[ar]=$i(i);const o=r||i.props&&i.props.type==="number";oi(e,t?"change":"input",l=>{if(l.target.composing)return;let u=e.value;n&&(u=u.trim()),o&&(u=Cc(u)),e[ar](u)}),n&&oi(e,"change",()=>{e.value=e.value.trim()}),t||(oi(e,"compositionstart",_9),oi(e,"compositionend",kk),oi(e,"change",kk))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},l){if(e[ar]=$i(l),e.composing)return;const u=(o||e.type==="number")&&!/^0\d/.test(e.value)?Cc(e.value):e.value,c=t??"";u!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c))}},Jw={deep:!0,created(e,t,n){e[ar]=$i(n),oi(e,"change",()=>{const r=e._modelValue,i=Ts(e),o=e.checked,l=e[ar];if(xe(r)){const u=sf(r,i),c=u!==-1;if(o&&!c)l(r.concat(i));else if(!o&&c){const h=[...r];h.splice(u,1),l(h)}}else if(Do(r)){const u=new Set(r);o?u.add(i):u.delete(i),l(u)}else l(Zw(e,o))})},mounted:vk,beforeUpdate(e,t,n){e[ar]=$i(n),vk(e,t,n)}};function vk(e,{value:t,oldValue:n},r){e._modelValue=t,xe(t)?e.checked=sf(t,r.props.value)>-1:Do(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Ui(t,Zw(e,!0)))}const Gw={created(e,{value:t},n){e.checked=Ui(t,n.props.value),e[ar]=$i(n),oi(e,"change",()=>{e[ar](Ts(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ar]=$i(r),t!==n&&(e.checked=Ui(t,r.props.value))}},b9={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Do(t);oi(e,"change",()=>{const o=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?Cc(Ts(l)):Ts(l));e[ar](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,qs(()=>{e._assigning=!1})}),e[ar]=$i(r)},mounted(e,{value:t,modifiers:{number:n}}){yk(e,t)},beforeUpdate(e,t,n){e[ar]=$i(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||yk(e,t)}};function yk(e,t,n){const r=e.multiple,i=xe(t);if(!(r&&!i&&!Do(t))){for(let o=0,l=e.options.length;o<l;o++){const u=e.options[o],c=Ts(u);if(r)if(i){const h=typeof c;h==="string"||h==="number"?u.selected=t.some(d=>String(d)===String(c)):u.selected=sf(t,c)>-1}else u.selected=t.has(c);else if(Ui(Ts(u),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ts(e){return"_value"in e?e._value:e.value}function Zw(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const x9={created(e,t,n){Ju(e,t,n,null,"created")},mounted(e,t,n){Ju(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ju(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ju(e,t,n,r,"updated")}};function Yw(e,t){switch(e){case"SELECT":return b9;case"TEXTAREA":return eg;default:switch(t){case"checkbox":return Jw;case"radio":return Gw;default:return eg}}}function Ju(e,t,n,r,i){const l=Yw(e.tagName,n.props&&n.props.type)[i];l&&l(e,t,n,r)}function C9(){eg.getSSRProps=({value:e})=>({value:e}),Gw.getSSRProps=({value:e},t)=>{if(t.props&&Ui(t.props.value,e))return{checked:!0}},Jw.getSSRProps=({value:e},t)=>{if(xe(e)){if(t.props&&sf(e,t.props.value)>-1)return{checked:!0}}else if(Do(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},x9.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Yw(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const L9=["ctrl","shift","alt","meta"],S9={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)=>L9.some(n=>e[`${n}Key`]&&!t.includes(n))},ql=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let l=0;l<t.length;l++){const u=S9[t[l]];if(u&&u(i,t))return}return e(i,...o)})},E9={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},fH=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=An(i.key);if(t.some(l=>l===o||E9[l]===o))return e(i)})},Xw=jt({patchProp:h9},G5);let Jl,wk=!1;function Qw(){return Jl||(Jl=m5(Xw))}function e2(){return Jl=wk?Jl:k5(Xw),wk=!0,Jl}const Os=(...e)=>{Qw().render(...e)},M9=(...e)=>{e2().hydrate(...e)},A9=(...e)=>{const t=Qw().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=n2(r);if(!i)return;const o=t._component;!Me(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const l=n(i,!1,t2(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t},hH=(...e)=>{const t=e2().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=n2(r);if(i)return n(i,!0,t2(i))},t};function t2(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function n2(e){return kt(e)?document.querySelector(e):e}let _k=!1;const dH=()=>{_k||(_k=!0,C9(),e9())},T9="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let O9=e=>crypto.getRandomValues(new Uint8Array(e)),R9=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return(o=t)=>{let l="";for(;;){let u=n(i),c=i;for(;c--;)if(l+=e[u[c]&r]||"",l.length===o)return l}}},I9=(e,t=21)=>R9(e,t,O9),tg=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+=T9[n[e]&63];return t};var j9=!1;/*!
- * pinia v2.1.7
- * (c) 2023 Eduardo San Martin Morote
- * @license MIT
- */let r2;const yf=e=>r2=e,i2=Symbol();function ng(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Gl;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Gl||(Gl={}));function P9(){const e=My(!0),t=e.run(()=>Kt({}));let n=[],r=[];const i=e0({install(o){yf(i),i._a=o,o.provide(i2,i),o.config.globalProperties.$pinia=i,r.forEach(l=>n.push(l)),r=[]},use(o){return!this._a&&!j9?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const o2=()=>{};function bk(e,t,n,r=o2){e.push(t);const i=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&Gg()&&Ty(i),i}function is(e,...t){e.slice().forEach(n=>{n(...t)})}const B9=e=>e();function rg(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];ng(i)&&ng(r)&&e.hasOwnProperty(n)&&!Bt(r)&&!ai(r)?e[n]=rg(i,r):e[n]=r}return e}const N9=Symbol();function F9(e){return!ng(e)||!e.hasOwnProperty(N9)}const{assign:Ti}=Object;function D9(e){return!!(Bt(e)&&e.effect)}function W9(e,t,n,r){const{state:i,actions:o,getters:l}=t,u=n.state.value[e];let c;function h(){u||(n.state.value[e]=i?i():{});const d=LE(n.state.value[e]);return Ti(d,o,Object.keys(l||{}).reduce((g,v)=>(g[v]=e0($e(()=>{yf(n);const w=n._s.get(e);return l[v].call(w,w)})),g),{}))}return c=s2(e,h,t,n,r,!0),c}function s2(e,t,n={},r,i,o){let l;const u=Ti({actions:{}},n),c={deep:!0};let h,d,g=[],v=[],w;const k=r.state.value[e];!o&&!k&&(r.state.value[e]={}),Kt({});let _;function L(N){let B;h=d=!1,typeof N=="function"?(N(r.state.value[e]),B={type:Gl.patchFunction,storeId:e,events:w}):(rg(r.state.value[e],N),B={type:Gl.patchObject,payload:N,storeId:e,events:w});const W=_=Symbol();qs().then(()=>{_===W&&(h=!0)}),d=!0,is(g,B,r.state.value[e])}const O=o?function(){const{state:B}=n,W=B?B():{};this.$patch(J=>{Ti(J,W)})}:o2;function M(){l.stop(),g=[],v=[],r._s.delete(e)}function x(N,B){return function(){yf(r);const W=Array.from(arguments),J=[],V=[];function ee(Q){J.push(Q)}function pe(Q){V.push(Q)}is(v,{args:W,name:N,store:E,after:ee,onError:pe});let ue;try{ue=B.apply(this&&this.$id===e?this:E,W)}catch(Q){throw is(V,Q),Q}return ue instanceof Promise?ue.then(Q=>(is(J,Q),Q)).catch(Q=>(is(V,Q),Promise.reject(Q))):(is(J,ue),ue)}}const y={_p:r,$id:e,$onAction:bk.bind(null,v),$patch:L,$reset:O,$subscribe(N,B={}){const W=bk(g,N,B.detached,()=>J()),J=l.run(()=>lr(()=>r.state.value[e],V=>{(B.flush==="sync"?d:h)&&N({storeId:e,type:Gl.direct,events:w},V)},Ti({},c,B)));return W},$dispose:M},E=$s(y);r._s.set(e,E);const j=(r._a&&r._a.runWithContext||B9)(()=>r._e.run(()=>(l=My()).run(t)));for(const N in j){const B=j[N];if(Bt(B)&&!D9(B)||ai(B))o||(k&&F9(B)&&(Bt(B)?B.value=k[N]:rg(B,k[N])),r.state.value[e][N]=B);else if(typeof B=="function"){const W=x(N,B);j[N]=W,u.actions[N]=B}}return Ti(E,j),Ti(it(E),j),Object.defineProperty(E,"$state",{get:()=>r.state.value[e],set:N=>{L(B=>{Ti(B,N)})}}),r._p.forEach(N=>{Ti(E,l.run(()=>N({store:E,app:r._a,pinia:r,options:u})))}),k&&o&&n.hydrate&&n.hydrate(E.$state,k),h=!0,d=!0,E}function Gs(e,t,n){let r,i;const o=typeof t=="function";typeof e=="string"?(r=e,i=o?n:t):(i=e,r=e.id);function l(u,c){const h=r5();return u=u||(h?Gt(i2,null):null),u&&yf(u),u=r2,u._s.has(r)||(o?s2(r,t,i,u):W9(r,i,u)),u._s.get(r)}return l.$id=r,l}function gH(e){{e=it(e);const t={};for(const n in e){const r=e[n];(Bt(r)||ai(r))&&(t[n]=ME(e,n))}return t}}var l2=(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))(l2||{});function en(e){this.content=e}en.prototype={constructor:en,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,i=r.find(e),o=r.content.slice();return i==-1?o.push(n||e,t):(o[i+1]=t,n&&(o[i]=n)),new en(o)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new en(n)},addToStart:function(e,t){return new en([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new en(n)},addBefore:function(e,t,n){var r=this.remove(t),i=r.content.slice(),o=r.find(e);return i.splice(o==-1?i.length:o,0,t,n),new en(i)},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=en.from(e),e.size?new en(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=en.from(e),e.size?new en(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=en.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}};en.from=function(e){if(e instanceof en)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new en(t)};function a2(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let l=0;i.text[l]==o.text[l];l++)n++;return n}if(i.content.size||o.content.size){let l=a2(i.content,o.content,n+1);if(l!=null)return l}n+=i.nodeSize}}function u2(e,t,n,r){for(let i=e.childCount,o=t.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let l=e.child(--i),u=t.child(--o),c=l.nodeSize;if(l==u){n-=c,r-=c;continue}if(!l.sameMarkup(u))return{a:n,b:r};if(l.isText&&l.text!=u.text){let h=0,d=Math.min(l.text.length,u.text.length);for(;h<d&&l.text[l.text.length-h-1]==u.text[u.text.length-h-1];)h++,n--,r--;return{a:n,b:r}}if(l.content.size||u.content.size){let h=u2(l.content,u.content,n-1,r-1);if(h)return h}n-=c,r-=c}}class we{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,i=0,o){for(let l=0,u=0;u<n;l++){let c=this.content[l],h=u+c.nodeSize;if(h>t&&r(c,i+u,o||null,l)!==!1&&c.content.size){let d=u+1;c.nodesBetween(Math.max(0,t-d),Math.min(c.content.size,n-d),r,i+d)}u=h}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,i){let o="",l=!0;return this.nodesBetween(t,n,(u,c)=>{let h=u.isText?u.text.slice(Math.max(t,c)-c,n-c):u.isLeaf?i?typeof i=="function"?i(u):i:u.type.spec.leafText?u.type.spec.leafText(u):"":"";u.isBlock&&(u.isLeaf&&h||u.isTextblock)&&r&&(l?l=!1:o+=r),o+=h},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<t.content.length;o++)i.push(t.content[o]);return new we(i,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],i=0;if(n>t)for(let o=0,l=0;l<n;o++){let u=this.content[o],c=l+u.nodeSize;c>t&&((l<t||c>n)&&(u.isText?u=u.cut(Math.max(0,t-l),Math.min(u.text.length,n-l)):u=u.cut(Math.max(0,t-l-1),Math.min(u.content.size,n-l-1))),r.push(u),i+=u.nodeSize),l=c}return new we(r,i)}cutByIndex(t,n){return t==n?we.empty:t==0&&n==this.content.length?this:new we(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new we(i,o)}addToStart(t){return new we([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new we(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 i=this.content[n];t(i,r,n),r+=i.nodeSize}}findDiffStart(t,n=0){return a2(this,t,n)}findDiffEnd(t,n=this.size,r=t.size){return u2(this,t,n,r)}findIndex(t,n=-1){if(t==0)return Gu(0,t);if(t==this.size)return Gu(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),l=i+o.nodeSize;if(l>=t)return l==t||n>0?Gu(r+1,l):Gu(r,i);i=l}}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 we.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new we(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return we.empty;let n,r=0;for(let i=0;i<t.length;i++){let o=t[i];r+=o.nodeSize,i&&o.isText&&t[i-1].sameMarkup(o)?(n||(n=t.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new we(n||t,r)}static from(t){if(!t)return we.empty;if(t instanceof we)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new we([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}we.empty=new we([],0);const ld={index:0,offset:0};function Gu(e,t){return ld.index=e,ld.offset=t,ld}function Pc(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(!Pc(e[r],t[r]))return!1}else{for(let r in e)if(!(r in t)||!Pc(e[r],t[r]))return!1;for(let r in t)if(!(r in e))return!1}return!0}class ht{constructor(t,n){this.type=t,this.attrs=n}addToSet(t){let n,r=!1;for(let i=0;i<t.length;i++){let o=t[i];if(this.eq(o))return t;if(this.type.excludes(o.type))n||(n=t.slice(0,i));else{if(o.type.excludes(this.type))return t;!r&&o.type.rank>this.type.rank&&(n||(n=t.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;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&&Pc(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 i=r.create(n.attrs);return r.checkAttrs(i.attrs),i}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 ht.none;if(t instanceof ht)return[t];let n=t.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}}ht.none=[];class Bc extends Error{}class Ee{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=f2(this.content,t+this.openStart,n);return r&&new Ee(r,this.openStart,this.openEnd)}removeBetween(t,n){return new Ee(c2(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 Ee.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Ee(we.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let o=t.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=t.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new Ee(t,r,i)}}Ee.empty=new Ee(we.empty,0,0);function c2(e,t,n){let{index:r,offset:i}=e.findIndex(t),o=e.maybeChild(r),{index:l,offset:u}=e.findIndex(n);if(i==t||o.isText){if(u!=n&&!e.child(l).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=l)throw new RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(c2(o.content,t-i-1,n-i-1)))}function f2(e,t,n,r){let{index:i,offset:o}=e.findIndex(t),l=e.maybeChild(i);if(o==t||l.isText)return e.cut(0,t).append(n).append(e.cut(t));let u=f2(l.content,t-o-1,n);return u&&e.replaceChild(i,l.copy(u))}function H9(e,t,n){if(n.openStart>e.depth)throw new Bc("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new Bc("Inconsistent open depths");return h2(e,t,n,0)}function h2(e,t,n,r){let i=e.index(r),o=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let l=h2(e,t,n,r+1);return o.copy(o.content.replaceChild(i,l))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&e.depth==r&&t.depth==r){let l=e.parent,u=l.content;return _o(l,u.cut(0,e.parentOffset).append(n.content).append(u.cut(t.parentOffset)))}else{let{start:l,end:u}=z9(n,e);return _o(o,g2(e,l,u,t,r))}else return _o(o,Nc(e,t,r))}function d2(e,t){if(!t.type.compatibleContent(e.type))throw new Bc("Cannot join "+t.type.name+" onto "+e.type.name)}function ig(e,t,n){let r=e.node(n);return d2(r,t.node(n)),r}function wo(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 Zl(e,t,n,r){let i=(t||e).node(n),o=0,l=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(wo(e.nodeAfter,r),o++));for(let u=o;u<l;u++)wo(i.child(u),r);t&&t.depth==n&&t.textOffset&&wo(t.nodeBefore,r)}function _o(e,t){return e.type.checkContent(t),e.copy(t)}function g2(e,t,n,r,i){let o=e.depth>i&&ig(e,t,i+1),l=r.depth>i&&ig(n,r,i+1),u=[];return Zl(null,e,i,u),o&&l&&t.index(i)==n.index(i)?(d2(o,l),wo(_o(o,g2(e,t,n,r,i+1)),u)):(o&&wo(_o(o,Nc(e,t,i+1)),u),Zl(t,n,i,u),l&&wo(_o(l,Nc(n,r,i+1)),u)),Zl(r,null,i,u),new we(u)}function Nc(e,t,n){let r=[];if(Zl(null,e,n,r),e.depth>n){let i=ig(e,t,n+1);wo(_o(i,Nc(e,t,n+1)),r)}return Zl(t,null,n,r),new we(r)}function z9(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let o=n-1;o>=0;o--)i=t.node(o).copy(we.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}class pa{constructor(t,n,r){this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=t.child(n);return r?t.child(n).cut(r):i}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<t;o++)i+=r.child(o).nodeSize;return i}marks(){let t=this.parent,n=this.index();if(t.content.size==0)return ht.none;if(this.textOffset)return t.child(n).marks;let r=t.maybeChild(n-1),i=t.maybeChild(n);if(!r){let u=r;r=i,i=u}let o=r.marks;for(var l=0;l<o.length;l++)o[l].type.spec.inclusive===!1&&(!i||!o[l].isInSet(i.marks))&&(o=o[l--].removeFromSet(o));return o}marksAcross(t){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=t.parent.maybeChild(t.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].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 $9(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=[],i=0,o=n;for(let l=t;;){let{index:u,offset:c}=l.content.findIndex(o),h=o-c;if(r.push(l,u,i+c),!h||(l=l.child(u),l.isText))break;o=h-1,i+=c+1}return new pa(n,r,o)}static resolveCached(t,n){let r=xk.get(t);if(r)for(let o=0;o<r.elts.length;o++){let l=r.elts[o];if(l.pos==n)return l}else xk.set(t,r=new V9);let i=r.elts[r.i]=pa.resolve(t,n);return r.i=(r.i+1)%U9,i}}class V9{constructor(){this.elts=[],this.i=0}}const U9=12,xk=new WeakMap;class $9{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 K9=Object.create(null);class Pr{constructor(t,n,r,i=ht.none){this.type=t,this.attrs=n,this.marks=i,this.content=r||we.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,i=0){this.content.nodesBetween(t,n,r,i,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,i){return this.content.textBetween(t,n,r,i)}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&&Pc(this.attrs,n||t.defaultAttrs||K9)&&ht.sameSet(this.marks,r||ht.none)}copy(t=null){return t==this.content?this:new Pr(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new Pr(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 Ee.empty;let i=this.resolve(t),o=this.resolve(n),l=r?0:i.sharedDepth(n),u=i.start(l),h=i.node(l).content.cut(i.pos-u,o.pos-u);return new Ee(h,i.depth-l,o.depth-l)}replace(t,n,r){return H9(this.resolve(t),this.resolve(n),r)}nodeAt(t){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(t);if(n=n.maybeChild(r),!n)return null;if(i==t||n.isText)return n;t-=i+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 i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(t){return pa.resolveCached(this,t)}resolveNoCache(t){return pa.resolve(this,t)}rangeHasMark(t,n,r){let i=!1;return n>t&&this.nodesBetween(t,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),p2(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=we.empty,i=0,o=r.childCount){let l=this.contentMatchAt(t).matchFragment(r,i,o),u=l&&l.matchFragment(this.content,n);if(!u||!u.validEnd)return!1;for(let c=i;c<o;c++)if(!this.type.allowsMarks(r.child(c).marks))return!1;return!0}canReplaceWith(t,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(t).matchType(r),l=o&&o.matchFragment(this.content,n);return l?l.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=ht.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(!ht.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 i=we.fromJSON(t,n.content),o=t.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}}Pr.prototype.text=void 0;class Fc extends Pr{constructor(t,n,r,i){if(super(t,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):p2(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 Fc(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new Fc(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 p2(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class To{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new q9(t,n);if(r.next==null)return To.empty;let i=m2(r);r.next&&r.err("Unexpected trailing text");let o=eM(Q9(i));return tM(o,r),o}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 i=this;for(let o=n;i&&o<r;o++)i=i.matchType(t.child(o).type);return i}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 i=[this];function o(l,u){let c=l.matchFragment(t,r);if(c&&(!n||c.validEnd))return we.from(u.map(h=>h.createAndFill()));for(let h=0;h<l.next.length;h++){let{type:d,next:g}=l.next[h];if(!(d.isText||d.hasRequiredAttrs())&&i.indexOf(g)==-1){i.push(g);let v=o(g,u.concat(d));if(v)return v}}return null}return o(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 i=r.shift(),o=i.match;if(o.matchType(t)){let l=[];for(let u=i;u.type;u=u.via)l.push(u.type);return l.reverse()}for(let l=0;l<o.next.length;l++){let{type:u,next:c}=o.next[l];!u.isLeaf&&!u.hasRequiredAttrs()&&!(u.name in n)&&(!i.type||c.validEnd)&&(r.push({match:u.contentMatch,type:u,via:i}),n[u.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 i=0;i<r.next.length;i++)t.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return n(this),t.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let l=0;l<r.next.length;l++)o+=(l?", ":"")+r.next[l].type.name+"->"+t.indexOf(r.next[l].next);return o}).join(`
- `)}}To.empty=new To(!0);class q9{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 m2(e){let t=[];do t.push(J9(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function J9(e){let t=[];do t.push(G9(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function G9(e){let t=X9(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=Z9(e,t);else break;return t}function Ck(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function Z9(e,t){let n=Ck(e),r=n;return e.eat(",")&&(e.next!="}"?r=Ck(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function Y9(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let o in n){let l=n[o];l.groups.indexOf(t)>-1&&i.push(l)}return i.length==0&&e.err("No node type or group '"+t+"' found"),i}function X9(e){if(e.eat("(")){let t=m2(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=Y9(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 Q9(e){let t=[[]];return i(o(e,0),n()),t;function n(){return t.push([])-1}function r(l,u,c){let h={term:c,to:u};return t[l].push(h),h}function i(l,u){l.forEach(c=>c.to=u)}function o(l,u){if(l.type=="choice")return l.exprs.reduce((c,h)=>c.concat(o(h,u)),[]);if(l.type=="seq")for(let c=0;;c++){let h=o(l.exprs[c],u);if(c==l.exprs.length-1)return h;i(h,u=n())}else if(l.type=="star"){let c=n();return r(u,c),i(o(l.expr,c),c),[r(c)]}else if(l.type=="plus"){let c=n();return i(o(l.expr,u),c),i(o(l.expr,c),c),[r(c)]}else{if(l.type=="opt")return[r(u)].concat(o(l.expr,u));if(l.type=="range"){let c=u;for(let h=0;h<l.min;h++){let d=n();i(o(l.expr,c),d),c=d}if(l.max==-1)i(o(l.expr,c),c);else for(let h=l.min;h<l.max;h++){let d=n();r(c,d),i(o(l.expr,c),d),c=d}return[r(c)]}else{if(l.type=="name")return[r(u,void 0,l.value)];throw new Error("Unknown expr type")}}}}function k2(e,t){return t-e}function Lk(e,t){let n=[];return r(t),n.sort(k2);function r(i){let o=e[i];if(o.length==1&&!o[0].term)return r(o[0].to);n.push(i);for(let l=0;l<o.length;l++){let{term:u,to:c}=o[l];!u&&n.indexOf(c)==-1&&r(c)}}}function eM(e){let t=Object.create(null);return n(Lk(e,0));function n(r){let i=[];r.forEach(l=>{e[l].forEach(({term:u,to:c})=>{if(!u)return;let h;for(let d=0;d<i.length;d++)i[d][0]==u&&(h=i[d][1]);Lk(e,c).forEach(d=>{h||i.push([u,h=[]]),h.indexOf(d)==-1&&h.push(d)})})});let o=t[r.join(",")]=new To(r.indexOf(e.length-1)>-1);for(let l=0;l<i.length;l++){let u=i[l][1].sort(k2);o.next.push({type:i[l][0],next:t[u.join(",")]||n(u)})}return o}}function tM(e,t){for(let n=0,r=[e];n<r.length;n++){let i=r[n],o=!i.validEnd,l=[];for(let u=0;u<i.next.length;u++){let{type:c,next:h}=i.next[u];l.push(c.name),o&&!(c.isText||c.hasRequiredAttrs())&&(o=!1),r.indexOf(h)==-1&&r.push(h)}o&&t.err("Only non-generatable nodes ("+l.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function v2(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 y2(e,t){let n=Object.create(null);for(let r in e){let i=t&&t[r];if(i===void 0){let o=e[r];if(o.hasDefault)i=o.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=i}return n}function w2(e,t,n,r){for(let i in t)if(!(i in e))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let i in e){let o=e[i];o.validate&&o.validate(t[i])}}function _2(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new rM(e,r,t[r]);return n}class Dc{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=_2(t,r.attrs),this.defaultAttrs=v2(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==To.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:y2(this.attrs,t)}create(t=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Pr(this,this.computeAttrs(t),we.from(n),ht.setFrom(r))}createChecked(t=null,n,r){return n=we.from(n),this.checkContent(n),new Pr(this,this.computeAttrs(t),n,ht.setFrom(r))}createAndFill(t=null,n,r){if(t=this.computeAttrs(t),n=we.from(n),n.size){let l=this.contentMatch.fillBefore(n);if(!l)return null;n=l.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(we.empty,!0);return o?new Pr(this,t,n.append(o),ht.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){w2(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:ht.none:t}static compile(t,n){let r=Object.create(null);t.forEach((o,l)=>r[o]=new Dc(o,n,l));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}}function nM(e,t,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${o}`)}}class rM{constructor(t,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?nM(t,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class wf{constructor(t,n,r,i){this.name=t,this.rank=n,this.schema=r,this.spec=i,this.attrs=_2(t,i.attrs),this.excluded=null;let o=v2(this.attrs);this.instance=o?new ht(this,o):null}create(t=null){return!t&&this.instance?this.instance:new ht(this,y2(this.attrs,t))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((o,l)=>r[o]=new wf(o,i++,n,l)),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){w2(this.attrs,t,"mark",this.name)}excludes(t){return this.excluded.indexOf(t)>-1}}class pH{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in t)n[i]=t[i];n.nodes=en.from(t.nodes),n.marks=en.from(t.marks||{}),this.nodes=Dc.compile(this.spec.nodes,this),this.marks=wf.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],l=o.spec.content||"",u=o.spec.marks;if(o.contentMatch=r[l]||(r[l]=To.parse(l,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=u=="_"?null:u?Sk(this,u.split(" ")):u==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],l=o.spec.excludes;o.excluded=l==null?[o]:l==""?[]:Sk(this,l.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,n=null,r,i){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof Dc){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(n,r,i)}text(t,n){let r=this.nodes.text;return new Fc(r,r.defaultAttrs,t,ht.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeFromJSON(t){return Pr.fromJSON(this,t)}markFromJSON(t){return ht.fromJSON(this,t)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}}function Sk(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],o=e.marks[i],l=o;if(o)n.push(o);else for(let u in e.marks){let c=e.marks[u];(i=="_"||c.spec.group&&c.spec.group.split(" ").indexOf(i)>-1)&&n.push(l=c)}if(!l)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}function iM(e){return e.tag!=null}function oM(e){return e.style!=null}let mH=class og{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(iM(i))this.tags.push(i);else if(oM(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=t.nodes[i.node];return o.contentMatch.matchType(o)})}parse(t,n={}){let r=new Mk(this,n,!1);return r.addAll(t,n.from,n.to),r.finish()}parseSlice(t,n={}){let r=new Mk(this,n,!0);return r.addAll(t,n.from,n.to),Ee.maxOpen(r.finish())}matchTag(t,n,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let o=this.tags[i];if(aM(t,o.tag)&&(o.namespace===void 0||t.namespaceURI==o.namespace)&&(!o.context||n.matchesContext(o.context))){if(o.getAttrs){let l=o.getAttrs(t);if(l===!1)continue;o.attrs=l||void 0}return o}}}matchStyle(t,n,r,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let l=this.styles[o],u=l.style;if(!(u.indexOf(t)!=0||l.context&&!r.matchesContext(l.context)||u.length>t.length&&(u.charCodeAt(t.length)!=61||u.slice(t.length+1)!=n))){if(l.getAttrs){let c=l.getAttrs(n);if(c===!1)continue;l.attrs=c||void 0}return l}}}static schemaRules(t){let n=[];function r(i){let o=i.priority==null?50:i.priority,l=0;for(;l<n.length;l++){let u=n[l];if((u.priority==null?50:u.priority)<o)break}n.splice(l,0,i)}for(let i in t.marks){let o=t.marks[i].spec.parseDOM;o&&o.forEach(l=>{r(l=Ak(l)),l.mark||l.ignore||l.clearMark||(l.mark=i)})}for(let i in t.nodes){let o=t.nodes[i].spec.parseDOM;o&&o.forEach(l=>{r(l=Ak(l)),l.node||l.ignore||l.mark||(l.node=i)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new og(t,og.schemaRules(t)))}};const b2={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},sM={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},x2={ol:!0,ul:!0},Wc=1,Hc=2,Yl=4;function Ek(e,t,n){return t!=null?(t?Wc:0)|(t==="full"?Hc:0):e&&e.whitespace=="pre"?Wc|Hc:n&~Yl}class Zu{constructor(t,n,r,i,o,l,u){this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=i,this.solid=o,this.options=u,this.content=[],this.activeMarks=ht.none,this.stashMarks=[],this.match=l||(u&Yl?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(we.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(t.type))?(this.match=r,i):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&Wc)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=we.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(we.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 i=r[n];(this.type?this.type.allowsMarkType(i.type):uM(i.type,t))&&!i.isInSet(this.activeMarks)&&(this.activeMarks=i.addToSet(this.activeMarks),this.pendingMarks=i.removeFromSet(this.pendingMarks))}}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!b2.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class Mk{constructor(t,n,r){this.parser=t,this.options=n,this.isOpen=r,this.open=0;let i=n.topNode,o,l=Ek(null,n.preserveWhitespace,0)|(r?Yl:0);i?o=new Zu(i.type,i.attrs,ht.none,ht.none,!0,n.topMatch||i.type.contentMatch,l):r?o=new Zu(null,null,ht.none,ht.none,!0,null,l):o=new Zu(t.schema.topNodeType,null,ht.none,ht.none,!0,null,l),this.nodes=[o],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 i=this.readStyles(t.style);if(!i)return;let[o,l]=i,u=this.top;for(let c=0;c<l.length;c++)this.removePendingMark(l[c],u);for(let c=0;c<o.length;c++)this.addPendingMark(o[c]);n();for(let c=0;c<o.length;c++)this.removePendingMark(o[c],u);for(let c=0;c<l.length;c++)this.addPendingMark(l[c])}addTextNode(t){let n=t.nodeValue,r=this.top;if(r.options&Hc||r.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(r.options&Wc)r.options&Hc?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 i=r.content[r.content.length-1],o=t.previousSibling;(!i||o&&o.nodeName=="BR"||i.isText&&/[ \t\r\n\u000c]$/.test(i.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(),i;x2.hasOwnProperty(r)&&this.parser.normalizeLists&&lM(t);let o=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(i=this.parser.matchTag(t,this,n));if(o?o.ignore:sM.hasOwnProperty(r))this.findInside(t),this.ignoreFallback(t);else if(!o||o.skip||o.closeParent){o&&o.closeParent?this.open=Math.max(0,this.open-1):o&&o.skip.nodeType&&(t=o.skip);let l,u=this.top,c=this.needsBlock;if(b2.hasOwnProperty(r))u.content.length&&u.content[0].isInline&&this.open&&(this.open--,u=this.top),l=!0,u.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t);return}o&&o.skip?this.addAll(t):this.withStyleRules(t,()=>this.addAll(t)),l&&this.sync(u),this.needsBlock=c}else this.withStyleRules(t,()=>{this.addElementByRule(t,o,o.consuming===!1?i:void 0)})}leafFallback(t){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
- `))}ignoreFallback(t){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(t){let n=ht.none,r=ht.none;if(t.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],l=t.getPropertyValue(o);if(l)for(let u=void 0;;){let c=this.parser.matchStyle(o,l,this,u);if(!c)break;if(c.ignore)return null;if(c.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(h=>{c.clearMark(h)&&(r=h.addToSet(r))}):n=this.parser.schema.marks[c.mark].create(c.attrs).addToSet(n),c.consuming===!1)u=c;else break}}return[n,r]}addElementByRule(t,n,r){let i,o,l;n.node?(o=this.parser.schema.nodes[n.node],o.isLeaf?this.insertNode(o.create(n.attrs))||this.leafFallback(t):i=this.enter(o,n.attrs||null,n.preserveWhitespace)):(l=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(l));let u=this.top;if(o&&o.isLeaf)this.findInside(t);else if(r)this.addElement(t,r);else if(n.getContent)this.findInside(t),n.getContent(t,this.parser.schema).forEach(c=>this.insertNode(c));else{let c=t;typeof n.contentElement=="string"?c=t.querySelector(n.contentElement):typeof n.contentElement=="function"?c=n.contentElement(t):n.contentElement&&(c=n.contentElement),this.findAround(t,c,!0),this.addAll(c)}i&&this.sync(u)&&this.open--,l&&this.removePendingMark(l,u)}addAll(t,n,r){let i=n||0;for(let o=n?t.childNodes[n]:t.firstChild,l=r==null?null:t.childNodes[r];o!=l;o=o.nextSibling,++i)this.findAtPoint(t,i),this.addDOM(o);this.findAtPoint(t,i)}findPlace(t){let n,r;for(let i=this.open;i>=0;i--){let o=this.nodes[i],l=o.findWrapping(t);if(l&&(!n||n.length>l.length)&&(n=l,r=o,!l.length)||o.solid)break}if(!n)return!1;this.sync(r);for(let i=0;i<n.length;i++)this.enterInner(n[i],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 i=0;i<t.marks.length;i++)(!n.type||n.type.allowsMarkType(t.marks[i].type))&&(r=t.marks[i].addToSet(r));return n.content.push(t.mark(r)),!0}return!1}enter(t,n,r){let i=this.findPlace(t.create(n));return i&&this.enterInner(t,n,!0,r),i}enterInner(t,n=null,r=!1,i){this.closeExtra();let o=this.top;o.applyPending(t),o.match=o.match&&o.match.matchType(t);let l=Ek(t,i,o.options);o.options&Yl&&o.content.length==0&&(l|=Yl),this.nodes.push(new Zu(t,n,o.activeMarks,o.pendingMarks,r,null,l)),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 i=r.length-1;i>=0;i--)t+=r[i].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let r=0;r<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 i=0;i<this.find.length;i++)this.find[i].pos==null&&t.nodeType==1&&t.contains(this.find[i].node)&&n.compareDocumentPosition(this.find[i].node)&(r?2:4)&&(this.find[i].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,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),l=(u,c)=>{for(;u>=0;u--){let h=n[u];if(h==""){if(u==n.length-1||u==0)continue;for(;c>=o;c--)if(l(u-1,c))return!0;return!1}else{let d=c>0||c==0&&i?this.nodes[c].type:r&&c>=o?r.node(c-o).type:null;if(!d||d.name!=h&&d.groups.indexOf(h)==-1)return!1;c--}}return!0};return l(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=cM(t,this.top.pendingMarks);n&&this.top.stashMarks.push(n),this.top.pendingMarks=t.addToSet(this.top.pendingMarks)}removePendingMark(t,n){for(let r=this.open;r>=0;r--){let i=this.nodes[r];if(i.pendingMarks.lastIndexOf(t)>-1)i.pendingMarks=t.removeFromSet(i.pendingMarks);else{i.activeMarks=t.removeFromSet(i.activeMarks);let l=i.popFromStashMark(t);l&&i.type&&i.type.allowsMarkType(l.type)&&(i.activeMarks=l.addToSet(i.activeMarks))}if(i==n)break}}}function lM(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&x2.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function aM(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Ak(e){let t={};for(let n in e)t[n]=e[n];return t}function uM(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let o=[],l=u=>{o.push(u);for(let c=0;c<u.edgeCount;c++){let{type:h,next:d}=u.edge(c);if(h==t||o.indexOf(d)<0&&l(d))return!0}};if(l(i.contentMatch))return!0}}function cM(e,t){for(let n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}class C2{constructor(t,n){this.nodes=t,this.marks=n}serializeFragment(t,n={},r){r||(r=ad(n).createDocumentFragment());let i=r,o=[];return t.forEach(l=>{if(o.length||l.marks.length){let u=0,c=0;for(;u<o.length&&c<l.marks.length;){let h=l.marks[c];if(!this.marks[h.type.name]){c++;continue}if(!h.eq(o[u][0])||h.type.spec.spanning===!1)break;u++,c++}for(;u<o.length;)i=o.pop()[1];for(;c<l.marks.length;){let h=l.marks[c++],d=this.serializeMark(h,l.isInline,n);d&&(o.push([h,i]),i.appendChild(d.dom),i=d.contentDOM||d.dom)}}i.appendChild(this.serializeNodeInner(l,n))}),r}serializeNodeInner(t,n){let{dom:r,contentDOM:i}=cc(ad(n),this.nodes[t.type.name](t),null,t.attrs);if(i){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,n,i)}return r}serializeNode(t,n={}){let r=this.serializeNodeInner(t,n);for(let i=t.marks.length-1;i>=0;i--){let o=this.serializeMark(t.marks[i],t.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(t,n,r={}){let i=this.marks[t.type.name];return i&&cc(ad(r),i(t,n),null,t.attrs)}static renderSpec(t,n,r=null,i){return cc(t,n,r,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new C2(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=Tk(t.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(t){return Tk(t.marks)}}function Tk(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function ad(e){return e.document||window.document}const Ok=new WeakMap;function fM(e){let t=Ok.get(e);return t===void 0&&Ok.set(e,t=hM(e)),t}function hM(e){let t=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")t||(t=[]),t.push(r);else for(let i=0;i<r.length;i++)n(r[i]);else for(let i in r)n(r[i])}return n(e),t}function cc(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 i=t[0],o;if(typeof i!="string")throw new RangeError("Invalid array passed to renderSpec");if(r&&(o=fM(r))&&o.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 l=i.indexOf(" ");l>0&&(n=i.slice(0,l),i=i.slice(l+1));let u,c=n?e.createElementNS(n,i):e.createElement(i),h=t[1],d=1;if(h&&typeof h=="object"&&h.nodeType==null&&!Array.isArray(h)){d=2;for(let g in h)if(h[g]!=null){let v=g.indexOf(" ");v>0?c.setAttributeNS(g.slice(0,v),g.slice(v+1),h[g]):c.setAttribute(g,h[g])}}for(let g=d;g<t.length;g++){let v=t[g];if(v===0){if(g<t.length-1||g>d)throw new RangeError("Content hole must be the only child of its parent node");return{dom:c,contentDOM:c}}else{let{dom:w,contentDOM:k}=cc(e,v,n,r);if(c.appendChild(w),k){if(u)throw new RangeError("Multiple content holes");u=k}}}return{dom:c,contentDOM:u}}const L2=65535,S2=Math.pow(2,16);function dM(e,t){return e+t*S2}function Rk(e){return e&L2}function gM(e){return(e-(e&L2))/S2}const E2=1,M2=2,fc=4,A2=8;class sg{constructor(t,n,r){this.pos=t,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&A2)>0}get deletedBefore(){return(this.delInfo&(E2|fc))>0}get deletedAfter(){return(this.delInfo&(M2|fc))>0}get deletedAcross(){return(this.delInfo&fc)>0}}class $n{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&$n.empty)return $n.empty}recover(t){let n=0,r=Rk(t);if(!this.inverted)for(let i=0;i<r;i++)n+=this.ranges[i*3+2]-this.ranges[i*3+1];return this.ranges[r*3]+n+gM(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 i=0,o=this.inverted?2:1,l=this.inverted?1:2;for(let u=0;u<this.ranges.length;u+=3){let c=this.ranges[u]-(this.inverted?i:0);if(c>t)break;let h=this.ranges[u+o],d=this.ranges[u+l],g=c+h;if(t<=g){let v=h?t==c?-1:t==g?1:n:n,w=c+i+(v<0?0:d);if(r)return w;let k=t==(n<0?c:g)?null:dM(u/3,t-c),_=t==c?M2:t==g?E2:fc;return(n<0?t!=c:t!=g)&&(_|=A2),new sg(w,_,k)}i+=d-h}return r?t+i:new sg(t+i,0,null)}touches(t,n){let r=0,i=Rk(n),o=this.inverted?2:1,l=this.inverted?1:2;for(let u=0;u<this.ranges.length;u+=3){let c=this.ranges[u]-(this.inverted?r:0);if(c>t)break;let h=this.ranges[u+o],d=c+h;if(t<=d&&u==i*3)return!0;r+=this.ranges[u+l]-h}return!1}forEach(t){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i<this.ranges.length;i+=3){let l=this.ranges[i],u=l-(this.inverted?o:0),c=l+(this.inverted?0:o),h=this.ranges[i+n],d=this.ranges[i+r];t(u,u+h,c,c+d),o+=d-h}}invert(){return new $n(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return t==0?$n.empty:new $n(t<0?[0,-t,0]:[0,0,t])}}$n.empty=new $n([]);class Xl{constructor(t=[],n,r=0,i=t.length){this.maps=t,this.mirror=n,this.from=r,this.to=i}slice(t=0,n=this.maps.length){return new Xl(this.maps,this.mirror,t,n)}copy(){return new Xl(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 i=t.getMirror(n);this.appendMap(t.maps[n],i!=null&&i<n?r+i: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 i=t.getMirror(n);this.appendMap(t.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let t=new Xl;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 i=0;for(let o=this.from;o<this.to;o++){let l=this.maps[o],u=l.mapResult(t,n);if(u.recover!=null){let c=this.getMirror(o);if(c!=null&&c>o&&c<this.to){o=c,t=this.maps[c].recover(u.recover);continue}}i|=u.delInfo,t=u.pos}return r?t:new sg(t,i,null)}}const ud=Object.create(null);class hn{getMap(){return $n.empty}merge(t){return null}static fromJSON(t,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=ud[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 ud)throw new RangeError("Duplicate use of step JSON ID "+t);return ud[t]=n,n.prototype.jsonID=t,n}}class Wt{constructor(t,n){this.doc=t,this.failed=n}static ok(t){return new Wt(t,null)}static fail(t){return new Wt(null,t)}static fromReplace(t,n,r,i){try{return Wt.ok(t.replace(n,r,i))}catch(o){if(o instanceof Bc)return Wt.fail(o.message);throw o}}}function k0(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let o=e.child(i);o.content.size&&(o=o.copy(k0(o.content,t,o))),o.isInline&&(o=t(o,n,i)),r.push(o)}return we.fromArray(r)}class Di extends hn{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),i=r.node(r.sharedDepth(this.to)),o=new Ee(k0(n.content,(l,u)=>!l.isAtom||!u.type.allowsMarkType(this.mark.type)?l:l.mark(this.mark.addToSet(l.marks)),i),n.openStart,n.openEnd);return Wt.fromReplace(t,this.from,this.to,o)}invert(){return new jr(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 Di(n.pos,r.pos,this.mark)}merge(t){return t instanceof Di&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Di(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 Di(n.from,n.to,t.markFromJSON(n.mark))}}hn.jsonID("addMark",Di);class jr extends hn{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 Ee(k0(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),t),n.openStart,n.openEnd);return Wt.fromReplace(t,this.from,this.to,r)}invert(){return new Di(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 jr(n.pos,r.pos,this.mark)}merge(t){return t instanceof jr&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new jr(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 jr(n.from,n.to,t.markFromJSON(n.mark))}}hn.jsonID("removeMark",jr);class Wi extends hn{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return Wt.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Wt.fromReplace(t,this.pos,this.pos+1,new Ee(we.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;i<n.marks.length;i++)if(!n.marks[i].isInSet(r))return new Wi(this.pos,n.marks[i]);return new Wi(this.pos,this.mark)}}return new Rs(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new Wi(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 Wi(n.pos,t.markFromJSON(n.mark))}}hn.jsonID("addNodeMark",Wi);class Rs extends hn{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return Wt.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return Wt.fromReplace(t,this.pos,this.pos+1,new Ee(we.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new Wi(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new Rs(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 Rs(n.pos,t.markFromJSON(n.mark))}}hn.jsonID("removeNodeMark",Rs);class sn extends hn{constructor(t,n,r,i=!1){super(),this.from=t,this.to=n,this.slice=r,this.structure=i}apply(t){return this.structure&&lg(t,this.from,this.to)?Wt.fail("Structure replace would overwrite content"):Wt.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new $n([this.from,this.to-this.from,this.slice.size])}invert(t){return new sn(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 sn(n.pos,Math.max(n.pos,r.pos),this.slice)}merge(t){if(!(t instanceof sn)||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?Ee.empty:new Ee(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new sn(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?Ee.empty:new Ee(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new sn(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 sn(n.from,n.to,Ee.fromJSON(t,n.slice),!!n.structure)}}hn.jsonID("replace",sn);class qn extends hn{constructor(t,n,r,i,o,l,u=!1){super(),this.from=t,this.to=n,this.gapFrom=r,this.gapTo=i,this.slice=o,this.insert=l,this.structure=u}apply(t){if(this.structure&&(lg(t,this.from,this.gapFrom)||lg(t,this.gapTo,this.to)))return Wt.fail("Structure gap-replace would overwrite content");let n=t.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return Wt.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?Wt.fromReplace(t,this.from,this.to,r):Wt.fail("Content does not fit in gap")}getMap(){return new $n([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 qn(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),i=t.map(this.gapFrom,-1),o=t.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||o>r.pos?null:new qn(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new qn(n.from,n.to,n.gapFrom,n.gapTo,Ee.fromJSON(t,n.slice),n.insert,!!n.structure)}}hn.jsonID("replaceAround",qn);function lg(e,t,n){let r=e.resolve(t),i=n-t,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let l=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!l||l.isLeaf)return!0;l=l.firstChild,i--}}return!1}function pM(e,t,n,r){let i=[],o=[],l,u;e.doc.nodesBetween(t,n,(c,h,d)=>{if(!c.isInline)return;let g=c.marks;if(!r.isInSet(g)&&d.type.allowsMarkType(r.type)){let v=Math.max(h,t),w=Math.min(h+c.nodeSize,n),k=r.addToSet(g);for(let _=0;_<g.length;_++)g[_].isInSet(k)||(l&&l.to==v&&l.mark.eq(g[_])?l.to=w:i.push(l=new jr(v,w,g[_])));u&&u.to==v?u.to=w:o.push(u=new Di(v,w,r))}}),i.forEach(c=>e.step(c)),o.forEach(c=>e.step(c))}function mM(e,t,n,r){let i=[],o=0;e.doc.nodesBetween(t,n,(l,u)=>{if(!l.isInline)return;o++;let c=null;if(r instanceof wf){let h=l.marks,d;for(;d=r.isInSet(h);)(c||(c=[])).push(d),h=d.removeFromSet(h)}else r?r.isInSet(l.marks)&&(c=[r]):c=l.marks;if(c&&c.length){let h=Math.min(u+l.nodeSize,n);for(let d=0;d<c.length;d++){let g=c[d],v;for(let w=0;w<i.length;w++){let k=i[w];k.step==o-1&&g.eq(i[w].style)&&(v=k)}v?(v.to=h,v.step=o):i.push({style:g,from:Math.max(u,t),to:h,step:o})}}}),i.forEach(l=>e.step(new jr(l.from,l.to,l.style)))}function kM(e,t,n,r=n.contentMatch){let i=e.doc.nodeAt(t),o=[],l=t+1;for(let u=0;u<i.childCount;u++){let c=i.child(u),h=l+c.nodeSize,d=r.matchType(c.type);if(!d)o.push(new sn(l,h,Ee.empty));else{r=d;for(let g=0;g<c.marks.length;g++)n.allowsMarkType(c.marks[g].type)||e.step(new jr(l,h,c.marks[g]));if(c.isText&&!n.spec.code){let g,v=/\r?\n|\r/g,w;for(;g=v.exec(c.text);)w||(w=new Ee(we.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),o.push(new sn(l+g.index,l+g.index+g[0].length,w))}}l=h}if(!r.validEnd){let u=r.fillBefore(we.empty,!0);e.replace(l,l,new Ee(u,0,0))}for(let u=o.length-1;u>=0;u--)e.step(o[u])}function vM(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function _f(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth;;--r){let i=e.$from.node(r),o=e.$from.index(r),l=e.$to.indexAfter(r);if(r<e.depth&&i.canReplace(o,l,n))return r;if(r==0||i.type.spec.isolating||!vM(i,o,l))break}return null}function yM(e,t,n){let{$from:r,$to:i,depth:o}=t,l=r.before(o+1),u=i.after(o+1),c=l,h=u,d=we.empty,g=0;for(let k=o,_=!1;k>n;k--)_||r.index(k)>0?(_=!0,d=we.from(r.node(k).copy(d)),g++):c--;let v=we.empty,w=0;for(let k=o,_=!1;k>n;k--)_||i.after(k+1)<i.end(k)?(_=!0,v=we.from(i.node(k).copy(v)),w++):h++;e.step(new qn(c,h,l,u,new Ee(d.append(v),g,w),d.size-g,!0))}function wM(e,t,n=null,r=e){let i=_M(e,t),o=i&&bM(r,t);return o?i.map(Ik).concat({type:t,attrs:n}).concat(o.map(Ik)):null}function Ik(e){return{type:e,attrs:null}}function _M(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.contentMatchAt(r).findWrapping(t);if(!o)return null;let l=o.length?o[0]:t;return n.canReplaceWith(r,i,l)?o:null}function bM(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.child(r),l=t.contentMatch.findWrapping(o.type);if(!l)return null;let c=(l.length?l[l.length-1]:t).contentMatch;for(let h=r;c&&h<i;h++)c=c.matchType(n.child(h).type);return!c||!c.validEnd?null:l}function xM(e,t,n){let r=we.empty;for(let l=n.length-1;l>=0;l--){if(r.size){let u=n[l].type.contentMatch.matchFragment(r);if(!u||!u.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=we.from(n[l].type.create(n[l].attrs,r))}let i=t.start,o=t.end;e.step(new qn(i,o,i,o,new Ee(r,0,0),n.length,!0))}function CM(e,t,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=e.steps.length;e.doc.nodesBetween(t,n,(l,u)=>{if(l.isTextblock&&!l.hasMarkup(r,i)&&LM(e.doc,e.mapping.slice(o).map(u),r)){e.clearIncompatible(e.mapping.slice(o).map(u,1),r);let c=e.mapping.slice(o),h=c.map(u,1),d=c.map(u+l.nodeSize,1);return e.step(new qn(h,d,h+1,d-1,new Ee(we.from(r.create(i,null,l.marks)),0,0),1,!0)),!1}})}function LM(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function SM(e,t,n,r,i){let o=e.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let l=n.create(r,null,i||o.marks);if(o.isLeaf)return e.replaceWith(t,t+o.nodeSize,l);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new qn(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new Ee(we.from(l),0,0),1,!0))}function hc(e,t,n=1,r){let i=e.resolve(t),o=i.depth-n,l=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!l.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let h=i.depth-1,d=n-2;h>o;h--,d--){let g=i.node(h),v=i.index(h);if(g.type.spec.isolating)return!1;let w=g.content.cutByIndex(v,g.childCount),k=r&&r[d+1];k&&(w=w.replaceChild(0,k.type.create(k.attrs)));let _=r&&r[d]||g;if(!g.canReplace(v+1,g.childCount)||!_.type.validContent(w))return!1}let u=i.indexAfter(o),c=r&&r[0];return i.node(o).canReplaceWith(u,u,c?c.type:i.node(o+1).type)}function EM(e,t,n=1,r){let i=e.doc.resolve(t),o=we.empty,l=we.empty;for(let u=i.depth,c=i.depth-n,h=n-1;u>c;u--,h--){o=we.from(i.node(u).copy(o));let d=r&&r[h];l=we.from(d?d.type.create(d.attrs,l):i.node(u).copy(l))}e.step(new sn(t,t,new Ee(o.append(l),n,n),!0))}function bf(e,t){let n=e.resolve(t),r=n.index();return T2(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function T2(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function O2(e,t,n=-1){let r=e.resolve(t);for(let i=r.depth;;i--){let o,l,u=r.index(i);if(i==r.depth?(o=r.nodeBefore,l=r.nodeAfter):n>0?(o=r.node(i+1),u++,l=r.node(i).maybeChild(u)):(o=r.node(i).maybeChild(u-1),l=r.node(i+1)),o&&!o.isTextblock&&T2(o,l)&&r.node(i).canReplace(u,u+1))return t;if(i==0)break;t=n<0?r.before(i):r.after(i)}}function MM(e,t,n){let r=new sn(t-n,t+n,Ee.empty,!0);e.step(r)}function AM(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o<r.node(i).childCount)return null}return null}function kH(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let o=0;o<n.openStart;o++)i=i.firstChild.content;for(let o=1;o<=(n.openStart==0&&n.size?2:1);o++)for(let l=r.depth;l>=0;l--){let u=l==r.depth?0:r.pos<=(r.start(l+1)+r.end(l+1))/2?-1:1,c=r.index(l)+(u>0?1:0),h=r.node(l),d=!1;if(o==1)d=h.canReplace(c,c,i);else{let g=h.contentMatchAt(c).findWrapping(i.firstChild.type);d=g&&h.canReplaceWith(c,c,g[0])}if(d)return u==0?r.pos:u<0?r.before(l+1):r.after(l+1)}return null}function v0(e,t,n=t,r=Ee.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),o=e.resolve(n);return R2(i,o,r)?new sn(t,n,r):new TM(i,o,r).fit()}function R2(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}class TM{constructor(t,n,r){this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=we.empty;for(let i=0;i<=t.depth;i++){let o=t.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(i))})}for(let i=t.depth;i>0;i--)this.placed=we.from(t.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let h=this.findFittable();h?this.placeNodes(h):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(t<0?this.$to:r.doc.resolve(t));if(!i)return null;let o=this.placed,l=r.depth,u=i.depth;for(;l&&u&&o.childCount==1;)o=o.firstChild.content,l--,u--;let c=new Ee(o,l,u);return t>-1?new qn(r.pos,t,this.$to.pos,this.$to.end(),c,n):c.size||r.pos!=this.$to.pos?new sn(r.pos,i.pos,c):null}findFittable(){let t=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r<t;r++){let o=n.firstChild;if(n.childCount>1&&(i=0),o.type.spec.isolating&&i<=r){t=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?t:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=cd(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let l=i.firstChild;for(let u=this.depth;u>=0;u--){let{type:c,match:h}=this.frontier[u],d,g=null;if(n==1&&(l?h.matchType(l.type)||(g=h.fillBefore(we.from(l),!1)):o&&c.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:u,parent:o,inject:g};if(n==2&&l&&(d=h.findWrapping(l.type)))return{sliceDepth:r,frontierDepth:u,parent:o,wrap:d};if(o&&h.matchType(o.type))break}}}openMore(){let{content:t,openStart:n,openEnd:r}=this.unplaced,i=cd(t,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new Ee(t,n+1,Math.max(r,i.size+n>=t.size-r?n+1:0)),!0)}dropNode(){let{content:t,openStart:n,openEnd:r}=this.unplaced,i=cd(t,n);if(i.childCount<=1&&n>0){let o=t.size-n<=n+i.size;this.unplaced=new Ee(Bl(t,n-1,1),n-1,o?n-1:r)}else this.unplaced=new Ee(Bl(t,n,1),n,r)}placeNodes({sliceDepth:t,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let _=0;_<o.length;_++)this.openFrontierNode(o[_]);let l=this.unplaced,u=r?r.content:l.content,c=l.openStart-t,h=0,d=[],{match:g,type:v}=this.frontier[n];if(i){for(let _=0;_<i.childCount;_++)d.push(i.child(_));g=g.matchFragment(i)}let w=u.size+t-(l.content.size-l.openEnd);for(;h<u.childCount;){let _=u.child(h),L=g.matchType(_.type);if(!L)break;h++,(h>1||c==0||_.content.size)&&(g=L,d.push(I2(_.mark(v.allowedMarks(_.marks)),h==1?c:0,h==u.childCount?w:-1)))}let k=h==u.childCount;k||(w=-1),this.placed=Nl(this.placed,n,we.from(d)),this.frontier[n].match=g,k&&w<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let _=0,L=u;_<w;_++){let O=L.lastChild;this.frontier.push({type:O.type,match:O.contentMatchAt(O.childCount)}),L=O.content}this.unplaced=k?t==0?Ee.empty:new Ee(Bl(l.content,t-1,1),t-1,w<0?l.openEnd:t-1):new Ee(Bl(l.content,t,h),l.openStart,l.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let t=this.frontier[this.depth],n;if(!t.type.isTextblock||!fd(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,i=this.$to.after(r);for(;r>1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(t){e:for(let n=Math.min(this.depth,t.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n<t.depth&&t.end(n+1)==t.pos+(t.depth-(n+1)),l=fd(t,n,i,r,o);if(l){for(let u=n-1;u>=0;u--){let{match:c,type:h}=this.frontier[u],d=fd(t,u,h,c,!0);if(!d||d.childCount)continue e}return{depth:n,fit:l,move:o?t.doc.resolve(t.after(n+1)):t}}}}close(t){let n=this.findCloseLevel(t);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=Nl(this.placed,n.depth,n.fit)),t=n.move;for(let r=n.depth+1;r<=t.depth;r++){let i=t.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,t.index(r));this.openFrontierNode(i.type,i.attrs,o)}return t}openFrontierNode(t,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(t),this.placed=Nl(this.placed,this.depth,we.from(t.create(n,r))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(we.empty,!0);n.childCount&&(this.placed=Nl(this.placed,this.frontier.length,n))}}function Bl(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(Bl(e.firstChild.content,t-1,n)))}function Nl(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(Nl(e.lastChild.content,t-1,n)))}function cd(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function I2(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,I2(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(we.empty,!0)))),e.copy(r)}function fd(e,t,n,r,i){let o=e.node(t),l=i?e.indexAfter(t):e.index(t);if(l==o.childCount&&!n.compatibleContent(o.type))return null;let u=r.fillBefore(o.content,!0,l);return u&&!OM(n,o.content,l)?u:null}function OM(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}function RM(e){return e.spec.defining||e.spec.definingForContent}function IM(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),o=e.doc.resolve(n);if(R2(i,o,r))return e.step(new sn(t,n,r));let l=P2(i,e.doc.resolve(n));l[l.length-1]==0&&l.pop();let u=-(i.depth+1);l.unshift(u);for(let v=i.depth,w=i.pos-1;v>0;v--,w--){let k=i.node(v).type.spec;if(k.defining||k.definingAsContext||k.isolating)break;l.indexOf(v)>-1?u=v:i.before(v)==w&&l.splice(1,0,-v)}let c=l.indexOf(u),h=[],d=r.openStart;for(let v=r.content,w=0;;w++){let k=v.firstChild;if(h.push(k),w==r.openStart)break;v=k.content}for(let v=d-1;v>=0;v--){let w=h[v],k=RM(w.type);if(k&&!w.sameMarkup(i.node(Math.abs(u)-1)))d=v;else if(k||!w.type.isTextblock)break}for(let v=r.openStart;v>=0;v--){let w=(v+d+1)%(r.openStart+1),k=h[w];if(k)for(let _=0;_<l.length;_++){let L=l[(_+c)%l.length],O=!0;L<0&&(O=!1,L=-L);let M=i.node(L-1),x=i.index(L-1);if(M.canReplaceWith(x,x,k.type,k.marks))return e.replace(i.before(L),O?o.after(L):n,new Ee(j2(r.content,0,r.openStart,w),w,r.openEnd))}}let g=e.steps.length;for(let v=l.length-1;v>=0&&(e.replace(t,n,r),!(e.steps.length>g));v--){let w=l[v];w<0||(t=i.before(w),n=o.after(w))}}function j2(e,t,n,r,i){if(t<n){let o=e.firstChild;e=e.replaceChild(0,o.copy(j2(o.content,t+1,n,r,o)))}if(t>r){let o=i.contentMatchAt(0),l=o.fillBefore(e).append(e);e=l.append(o.matchFragment(l).fillBefore(we.empty,!0))}return e}function jM(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=AM(e.doc,t,r.type);i!=null&&(t=n=i)}e.replaceRange(t,n,new Ee(we.from(r),0,0))}function PM(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n),o=P2(r,i);for(let l=0;l<o.length;l++){let u=o[l],c=l==o.length-1;if(c&&u==0||r.node(u).type.contentMatch.validEnd)return e.delete(r.start(u),i.end(u));if(u>0&&(c||r.node(u-1).canReplace(r.index(u-1),i.indexAfter(u-1))))return e.delete(r.before(u),i.after(u))}for(let l=1;l<=r.depth&&l<=i.depth;l++)if(t-r.start(l)==r.depth-l&&n>r.end(l)&&i.end(l)-n!=i.depth-l)return e.delete(r.before(l),n);e.delete(t,n)}function P2(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let i=r;i>=0;i--){let o=e.start(i);if(o<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(o==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==o-1)&&n.push(i)}return n}class Ls extends hn{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 Wt.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return Wt.fromReplace(t,this.pos,this.pos+1,new Ee(we.from(i),0,n.isLeaf?0:1))}getMap(){return $n.empty}invert(t){return new Ls(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 Ls(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 Ls(n.pos,n.attr,n.value)}}hn.jsonID("attr",Ls);class ma extends hn{constructor(t,n){super(),this.attr=t,this.value=n}apply(t){let n=Object.create(null);for(let i in t.attrs)n[i]=t.attrs[i];n[this.attr]=this.value;let r=t.type.create(n,t.content,t.marks);return Wt.ok(r)}getMap(){return $n.empty}invert(t){return new ma(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 ma(n.attr,n.value)}}hn.jsonID("docAttr",ma);let Is=class extends Error{};Is=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n};Is.prototype=Object.create(Error.prototype);Is.prototype.constructor=Is;Is.prototype.name="TransformError";let BM=class{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new Xl}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let n=this.maybeStep(t);if(n.failed)throw new Is(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=Ee.empty){let i=v0(this.doc,t,n,r);return i&&this.step(i),this}replaceWith(t,n,r){return this.replace(t,n,new Ee(we.from(r),0,0))}delete(t,n){return this.replace(t,n,Ee.empty)}insert(t,n){return this.replaceWith(t,t,n)}replaceRange(t,n,r){return IM(this,t,n,r),this}replaceRangeWith(t,n,r){return jM(this,t,n,r),this}deleteRange(t,n){return PM(this,t,n),this}lift(t,n){return yM(this,t,n),this}join(t,n=1){return MM(this,t,n),this}wrap(t,n){return xM(this,t,n),this}setBlockType(t,n=t,r,i=null){return CM(this,t,n,r,i),this}setNodeMarkup(t,n,r=null,i){return SM(this,t,n,r,i),this}setNodeAttribute(t,n,r){return this.step(new Ls(t,n,r)),this}setDocAttribute(t,n){return this.step(new ma(t,n)),this}addNodeMark(t,n){return this.step(new Wi(t,n)),this}removeNodeMark(t,n){if(!(n instanceof ht)){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 Rs(t,n)),this}split(t,n=1,r){return EM(this,t,n,r),this}addMark(t,n,r){return pM(this,t,n,r),this}removeMark(t,n,r){return mM(this,t,n,r),this}clearIncompatible(t,n,r){return kM(this,t,n,r),this}};const hd=Object.create(null);class Tt{constructor(t,n,r){this.$anchor=t,this.$head=n,this.ranges=r||[new NM(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=Ee.empty){let r=n.content.lastChild,i=null;for(let u=0;u<n.openEnd;u++)i=r,r=r.lastChild;let o=t.steps.length,l=this.ranges;for(let u=0;u<l.length;u++){let{$from:c,$to:h}=l[u],d=t.mapping.slice(o);t.replaceRange(d.map(c.pos),d.map(h.pos),u?Ee.empty:n),u==0&&Bk(t,o,(r?r.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(t,n){let r=t.steps.length,i=this.ranges;for(let o=0;o<i.length;o++){let{$from:l,$to:u}=i[o],c=t.mapping.slice(r),h=c.map(l.pos),d=c.map(u.pos);o?t.deleteRange(h,d):(t.replaceRangeWith(h,d,n),Bk(t,r,n.isInline?-1:1))}}static findFrom(t,n,r=!1){let i=t.parent.inlineContent?new Kn(t):as(t.node(0),t.parent,t.pos,t.index(),n,r);if(i)return i;for(let o=t.depth-1;o>=0;o--){let l=n<0?as(t.node(0),t.node(o),t.before(o+1),t.index(o),n,r):as(t.node(0),t.node(o),t.after(o+1),t.index(o)+1,n,r);if(l)return l}return null}static near(t,n=1){return this.findFrom(t,n)||this.findFrom(t,-n)||new ur(t.node(0))}static atStart(t){return as(t,t,0,0,1)||new ur(t)}static atEnd(t){return as(t,t,t.content.size,t.childCount,-1)||new ur(t)}static fromJSON(t,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=hd[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 hd)throw new RangeError("Duplicate use of selection JSON ID "+t);return hd[t]=n,n.prototype.jsonID=t,n}getBookmark(){return Kn.between(this.$anchor,this.$head).getBookmark()}}Tt.prototype.visible=!0;class NM{constructor(t,n){this.$from=t,this.$to=n}}let jk=!1;function Pk(e){!jk&&!e.parent.inlineContent&&(jk=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class Kn extends Tt{constructor(t,n=t){Pk(t),Pk(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 Tt.near(r);let i=t.resolve(n.map(this.anchor));return new Kn(i.parent.inlineContent?i:r,r)}replace(t,n=Ee.empty){if(super.replace(t,n),n==Ee.empty){let r=this.$from.marksAcross(this.$to);r&&t.ensureMarks(r)}}eq(t){return t instanceof Kn&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new xf(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 Kn(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){let i=t.resolve(n);return new this(i,r==n?i:t.resolve(r))}static between(t,n,r){let i=t.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=Tt.findFrom(n,r,!0)||Tt.findFrom(n,-r,!0);if(o)n=o.$head;else return Tt.near(n,r)}return t.parent.inlineContent||(i==0?t=n:(t=(Tt.findFrom(t,-r,!0)||Tt.findFrom(t,r,!0)).$anchor,t.pos<n.pos!=i<0&&(t=n))),new Kn(t,n)}}Tt.jsonID("text",Kn);class xf{constructor(t,n){this.anchor=t,this.head=n}map(t){return new xf(t.map(this.anchor),t.map(this.head))}resolve(t){return Kn.between(t.resolve(this.anchor),t.resolve(this.head))}}class Ot extends Tt{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:i}=n.mapResult(this.anchor),o=t.resolve(i);return r?Tt.near(o):new Ot(o)}content(){return new Ee(we.from(this.node),0,0)}eq(t){return t instanceof Ot&&t.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new y0(this.anchor)}static fromJSON(t,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Ot(t.resolve(n.anchor))}static create(t,n){return new Ot(t.resolve(n))}static isSelectable(t){return!t.isText&&t.type.spec.selectable!==!1}}Ot.prototype.visible=!1;Tt.jsonID("node",Ot);class y0{constructor(t){this.anchor=t}map(t){let{deleted:n,pos:r}=t.mapResult(this.anchor);return n?new xf(r,r):new y0(r)}resolve(t){let n=t.resolve(this.anchor),r=n.nodeAfter;return r&&Ot.isSelectable(r)?new Ot(n):Tt.near(n)}}class ur extends Tt{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,n=Ee.empty){if(n==Ee.empty){t.delete(0,t.doc.content.size);let r=Tt.atStart(t.doc);r.eq(t.selection)||t.setSelection(r)}else super.replace(t,n)}toJSON(){return{type:"all"}}static fromJSON(t){return new ur(t)}map(t){return new ur(t)}eq(t){return t instanceof ur}getBookmark(){return FM}}Tt.jsonID("all",ur);const FM={map(){return this},resolve(e){return new ur(e)}};function as(e,t,n,r,i,o=!1){if(t.inlineContent)return Kn.create(e,n);for(let l=r-(i>0?0:1);i>0?l<t.childCount:l>=0;l+=i){let u=t.child(l);if(u.isAtom){if(!o&&Ot.isSelectable(u))return Ot.create(e,n-(i<0?u.nodeSize:0))}else{let c=as(e,u,n+i,i<0?u.childCount:0,i,o);if(c)return c}n+=u.nodeSize*i}return null}function Bk(e,t,n){let r=e.steps.length-1;if(r<t)return;let i=e.steps[r];if(!(i instanceof sn||i instanceof qn))return;let o=e.mapping.maps[r],l;o.forEach((u,c,h,d)=>{l==null&&(l=d)}),e.setSelection(Tt.near(e.doc.resolve(l),n))}const Nk=1,Yu=2,Fk=4;let DM=class extends BM{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|Nk)&~Yu,this.storedMarks=null,this}get selectionSet(){return(this.updated&Nk)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=Yu,this}ensureMarks(t){return ht.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&Yu)>0}addStep(t,n){super.addStep(t,n),this.updated=this.updated&~Yu,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)||ht.none))),r.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,n,r){let i=this.doc.type.schema;if(n==null)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!t)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let l=this.doc.resolve(n);o=r==n?l.marks():l.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(t,o)),this.selection.empty||this.setSelection(Tt.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|=Fk,this}get scrolledIntoView(){return(this.updated&Fk)>0}};function Dk(e,t){return!t||!e?e:e.bind(t)}class Fl{constructor(t,n,r){this.name=t,this.init=Dk(n.init,r),this.apply=Dk(n.apply,r)}}const WM=[new Fl("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new Fl("selection",{init(e,t){return e.selection||Tt.atStart(t.doc)},apply(e){return e.selection}}),new Fl("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new Fl("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class dd{constructor(t,n){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=WM.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 Fl(r.key,r.spec.state,r))})}}class Dl{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 i=this.config.plugins[r];if(i.spec.filterTransaction&&!i.spec.filterTransaction.call(i,t,this))return!1}return!0}applyTransaction(t){if(!this.filterTransaction(t))return{state:this,transactions:[]};let n=[t],r=this.applyInner(t),i=null;for(;;){let o=!1;for(let l=0;l<this.config.plugins.length;l++){let u=this.config.plugins[l];if(u.spec.appendTransaction){let c=i?i[l].n:0,h=i?i[l].state:this,d=c<n.length&&u.spec.appendTransaction.call(u,c?n.slice(c):n,h,r);if(d&&r.filterTransaction(d,l)){if(d.setMeta("appendedTransaction",t),!i){i=[];for(let g=0;g<this.config.plugins.length;g++)i.push(g<l?{state:r,n:n.length}:{state:this,n:0})}n.push(d),r=r.applyInner(d),o=!0}i&&(i[l]={state:r,n:n.length})}}if(!o)return{state:r,transactions:n}}}applyInner(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let n=new Dl(this.config),r=this.config.fields;for(let i=0;i<r.length;i++){let o=r[i];n[o.name]=o.apply(t,this[o.name],this,n)}return n}get tr(){return new DM(this)}static create(t){let n=new dd(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new Dl(n);for(let i=0;i<n.fields.length;i++)r[n.fields[i].name]=n.fields[i].init(t,r);return r}reconfigure(t){let n=new dd(this.schema,t.plugins),r=n.fields,i=new Dl(n);for(let o=0;o<r.length;o++){let l=r[o].name;i[l]=this.hasOwnProperty(l)?this[l]:r[o].init(t,i)}return i}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 i=t[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let i=new dd(t.schema,t.plugins),o=new Dl(i);return i.fields.forEach(l=>{if(l.name=="doc")o.doc=Pr.fromJSON(t.schema,n.doc);else if(l.name=="selection")o.selection=Tt.fromJSON(o.doc,n.selection);else if(l.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let u in r){let c=r[u],h=c.spec.state;if(c.key==l.name&&h&&h.fromJSON&&Object.prototype.hasOwnProperty.call(n,u)){o[l.name]=h.fromJSON.call(c,t,n[u],o);return}}o[l.name]=l.init(t,o)}}),o}}function B2(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):r=="handleDOMEvents"&&(i=B2(i,t,{})),n[r]=i}return n}class wH{constructor(t){this.spec=t,this.props={},t.props&&B2(t.props,this,this.props),this.key=t.key?t.key.key:N2("plugin")}getState(t){return t[this.key]}}const gd=Object.create(null);function N2(e){return e in gd?e+"$"+ ++gd[e]:(gd[e]=0,e+"$")}class _H{constructor(t="key"){this.key=N2(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const F2=(e,t)=>e.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function HM(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const zM=(e,t,n)=>{let r=HM(e,n);if(!r)return!1;let i=D2(r);if(!i){let l=r.blockRange(),u=l&&_f(l);return u==null?!1:(t&&t(e.tr.lift(l,u).scrollIntoView()),!0)}let o=i.nodeBefore;if(V2(e,i,t,-1))return!0;if(r.parent.content.size==0&&(js(o,"end")||Ot.isSelectable(o)))for(let l=r.depth;;l--){let u=v0(e.doc,r.before(l),r.after(l),Ee.empty);if(u&&u.slice.size<u.to-u.from){if(t){let c=e.tr.step(u);c.setSelection(js(o,"end")?Tt.findFrom(c.doc.resolve(c.mapping.map(i.pos,-1)),-1):Ot.create(c.doc,i.pos-o.nodeSize)),t(c.scrollIntoView())}return!0}if(l==1||r.node(l-1).childCount>1)break}return o.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1};function js(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 VM=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;o=D2(r)}let l=o&&o.nodeBefore;return!l||!Ot.isSelectable(l)?!1:(t&&t(e.tr.setSelection(Ot.create(e.doc,o.pos-l.nodeSize)).scrollIntoView()),!0)};function D2(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 UM(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}const $M=(e,t,n)=>{let r=UM(e,n);if(!r)return!1;let i=W2(r);if(!i)return!1;let o=i.nodeAfter;if(V2(e,i,t,1))return!0;if(r.parent.content.size==0&&(js(o,"start")||Ot.isSelectable(o))){let l=v0(e.doc,r.before(),r.after(),Ee.empty);if(l&&l.slice.size<l.to-l.from){if(t){let u=e.tr.step(l);u.setSelection(js(o,"start")?Tt.findFrom(u.doc.resolve(u.mapping.map(i.pos)),1):Ot.create(u.doc,u.mapping.map(i.pos))),t(u.scrollIntoView())}return!0}}return o.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),!0):!1},KM=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)return!1;o=W2(r)}let l=o&&o.nodeAfter;return!l||!Ot.isSelectable(l)?!1:(t&&t(e.tr.setSelection(Ot.create(e.doc,o.pos)).scrollIntoView()),!0)};function W2(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 bH=(e,t)=>{let n=e.selection,r=n instanceof Ot,i;if(r){if(n.node.isTextblock||!bf(e.doc,n.from))return!1;i=n.from}else if(i=O2(e.doc,n.from,-1),i==null)return!1;if(t){let o=e.tr.join(i);r&&o.setSelection(Ot.create(o.doc,i-e.doc.resolve(i).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0},xH=(e,t)=>{let n=e.selection,r;if(n instanceof Ot){if(n.node.isTextblock||!bf(e.doc,n.to))return!1;r=n.to}else if(r=O2(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},CH=(e,t)=>{let{$from:n,$to:r}=e.selection,i=n.blockRange(r),o=i&&_f(i);return o==null?!1:(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)},qM=(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 w0(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 JM=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),l=w0(i.contentMatchAt(o));if(!l||!i.canReplaceWith(o,o,l))return!1;if(t){let u=n.after(),c=e.tr.replaceWith(u,u,l.createAndFill());c.setSelection(Tt.near(c.doc.resolve(u),1)),t(c.scrollIntoView())}return!0},GM=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof ur||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=w0(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let l=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,u=e.tr.insert(l,o.createAndFill());u.setSelection(Kn.create(u.doc,l+1)),t(u.scrollIntoView())}return!0},ZM=(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 o=n.before();if(hc(e.doc,o))return t&&t(e.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&_f(r);return i==null?!1:(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)};function YM(e){return(t,n)=>{let{$from:r,$to:i}=t.selection;if(t.selection instanceof Ot&&t.selection.node.isBlock)return!r.parentOffset||!hc(t.doc,r.pos)?!1:(n&&n(t.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let o=i.parentOffset==i.parent.content.size,l=t.tr;(t.selection instanceof Kn||t.selection instanceof ur)&&l.deleteSelection();let u=r.depth==0?null:w0(r.node(-1).contentMatchAt(r.indexAfter(-1))),c=o&&u?[{type:u}]:void 0,h=hc(l.doc,l.mapping.map(r.pos),1,c);if(!c&&!h&&hc(l.doc,l.mapping.map(r.pos),1,u?[{type:u}]:void 0)&&(u&&(c=[{type:u}]),h=!0),h&&(l.split(l.mapping.map(r.pos),1,c),!o&&!r.parentOffset&&r.parent.type!=u)){let d=l.mapping.map(r.before()),g=l.doc.resolve(d);u&&r.node(-1).canReplaceWith(g.index(),g.index()+1,u)&&l.setNodeMarkup(l.mapping.map(r.before()),u)}n(l.scrollIntoView())}return!0}}const H2=YM(),LH=(e,t)=>H2(e,t&&(n=>{let r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();r&&n.ensureMarks(r),t(n)})),SH=(e,t)=>{let{$from:n,to:r}=e.selection,i,o=n.sharedDepth(r);return o==0?!1:(i=n.before(o),t&&t(e.tr.setSelection(Ot.create(e.doc,i))),!0)},z2=(e,t)=>(t&&t(e.tr.setSelection(new ur(e.doc))),!0);function XM(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,o=t.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&t.parent.canReplace(o-1,o)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(o,o+1)||!(i.isTextblock||bf(e.doc,t.pos))?!1:(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),!0)}function V2(e,t,n,r){let i=t.nodeBefore,o=t.nodeAfter,l,u,c=i.type.spec.isolating||o.type.spec.isolating;if(!c&&XM(e,t,n))return!0;let h=!c&&t.parent.canReplace(t.index(),t.index()+1);if(h&&(l=(u=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&u.matchType(l[0]||o.type).validEnd){if(n){let w=t.pos+o.nodeSize,k=we.empty;for(let O=l.length-1;O>=0;O--)k=we.from(l[O].create(null,k));k=we.from(i.copy(k));let _=e.tr.step(new qn(t.pos-1,w,t.pos,w,new Ee(k,1,0),l.length,!0)),L=w+2*l.length;bf(_.doc,L)&&_.join(L),n(_.scrollIntoView())}return!0}let d=o.type.spec.isolating||r>0&&c?null:Tt.findFrom(t,1),g=d&&d.$from.blockRange(d.$to),v=g&&_f(g);if(v!=null&&v>=t.depth)return n&&n(e.tr.lift(g,v).scrollIntoView()),!0;if(h&&js(o,"start",!0)&&js(i,"end")){let w=i,k=[];for(;k.push(w),!w.isTextblock;)w=w.lastChild;let _=o,L=1;for(;!_.isTextblock;_=_.firstChild)L++;if(w.canReplace(w.childCount,w.childCount,_.content)){if(n){let O=we.empty;for(let x=k.length-1;x>=0;x--)O=we.from(k[x].copy(O));let M=e.tr.step(new qn(t.pos-k.length,t.pos+o.nodeSize,t.pos+L,t.pos+o.nodeSize-L,new Ee(O,k.length,0),0,!0));n(M.scrollIntoView())}return!0}}return!1}function U2(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(t.tr.setSelection(Kn.create(t.doc,e<0?i.start(o):i.end(o)))),!0):!1}}const QM=U2(-1),eA=U2(1);function EH(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,l=i.blockRange(o),u=l&&wM(l,e,t);return u?(r&&r(n.tr.wrap(l,u).scrollIntoView()),!0):!1}}function tA(e,t,n,r){for(let i=0;i<t.length;i++){let{$from:o,$to:l}=t[i],u=o.depth==0?e.inlineContent&&e.type.allowsMarkType(n):!1;if(e.nodesBetween(o.pos,l.pos,(c,h)=>{if(u||!r)return!1;u=c.inlineContent&&c.type.allowsMarkType(n)}),u)return!0}return!1}function MH(e,t=null,n){let r=n!==!1;return function(i,o){let{empty:l,$cursor:u,ranges:c}=i.selection;if(l&&!u||!tA(i.doc,c,e,r))return!1;if(o)if(u)e.isInSet(i.storedMarks||u.marks())?o(i.tr.removeStoredMark(e)):o(i.tr.addStoredMark(e.create(t)));else{let h,d=i.tr;h=!c.some(g=>i.doc.rangeHasMark(g.$from.pos,g.$to.pos,e));for(let g=0;g<c.length;g++){let{$from:v,$to:w}=c[g];if(!h)d.removeMark(v.pos,w.pos,e);else{let k=v.pos,_=w.pos,L=v.nodeAfter,O=w.nodeBefore,M=L&&L.isText?/^\s*/.exec(L.text)[0].length:0,x=O&&O.isText?/\s*$/.exec(O.text)[0].length:0;k+M<_&&(k+=M,_-=x),d.addMark(k,_,e.create(t))}}o(d.scrollIntoView())}return!0}}function _0(...e){return function(t,n,r){for(let i=0;i<e.length;i++)if(e[i](t,n,r))return!0;return!1}}let pd=_0(F2,zM,VM),Wk=_0(F2,$M,KM);const ri={Enter:_0(qM,GM,ZM,H2),"Mod-Enter":JM,Backspace:pd,"Mod-Backspace":pd,"Shift-Backspace":pd,Delete:Wk,"Mod-Delete":Wk,"Mod-a":z2},$2={"Ctrl-h":ri.Backspace,"Alt-Backspace":ri["Mod-Backspace"],"Ctrl-d":ri.Delete,"Ctrl-Alt-Backspace":ri["Mod-Delete"],"Alt-Delete":ri["Mod-Delete"],"Alt-d":ri["Mod-Delete"],"Ctrl-a":QM,"Ctrl-e":eA};for(let e in ri)$2[e]=ri[e];const nA=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform?os.platform()=="darwin":!1,AH=nA?$2:ri,TH=(e,t)=>e.type===t.nodes.bullet_list||e.type===t.nodes.ordered_list,OH=e=>{const{empty:t}=e.state.selection;t&&z2(e.state,e.dispatch)},RH=(e,t,n)=>{if(n)e.dispatch(e.state.tr.addMark(n.from,n.to,t));else{const{$from:r,$to:i}=e.state.selection;e.dispatch(e.state.tr.addMark(r.pos,i.pos,t))}},IH=(e,t,n,r)=>{let i=t;const o=v=>v.type===r;let l=null,u=null,c=null;for(;i<=n;){const v=e.nodeAt(i);if(!v||!v.marks)return null;const w=v.marks.find(o);if(!w||l&&w!==l)return null;u=u||v,l=l||w,c=v,i++}let h=t,d=n,g=0;for(i=t-1;i>g;){const v=e.nodeAt(i),w=v&&v.marks.find(o);if(!w||w!==l)break;h=i,u=v,i--}for(i=n+1,g=e.nodeSize-2;i<g;){const v=e.nodeAt(i),w=v&&v.marks.find(o);if(!w||w!==l)break;d=i,c=v,i++}return{mark:l,from:{node:u,pos:h},to:{node:c,pos:d}}},rA=(e,t)=>Array.isArray(e)&&e.indexOf(t.type)>-1||t.type===e,iA=(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}}},oA=e=>t=>iA(t.$from,e),sA=e=>t=>oA(n=>rA(e,n))(t),md=(e,t)=>{const n=t.schema.nodes[e];return!!sA(n)(t.selection)},K2=e=>e?e.type.name==="text"?e:e.lastChild?K2(e.lastChild):null:null,q2=e=>{const{selection:t,doc:n}=e.state,{from:r}=t;let i=n.nodeAt(r)||n.nodeAt(r-1);return i=K2(i),(i==null?void 0:i.marks)||[]},us=(e,t,n)=>{for(const r of e)if(r.type.name===t&&r.attrs[n])return r.attrs[n];return null},lo=(e,t)=>{for(const n of e)if(n.type.name===t)return!0;return!1},jH=(e,t)=>{const{from:n,$from:r,to:i,empty:o}=e.selection;return o?t.isInSet(e.storedMarks||r.marks()):e.doc.rangeHasMark(n,i,t)},lA=(e,t)=>{const{selection:n,doc:r}=e.state,{from:i,to:o}=n;let l=!0,u="";return r.nodesBetween(i,o,c=>(l&&c.attrs[t]&&(l=!1,u=c.attrs[t]),l)),u},J2={color:"#000",backcolor:"",fontsize:"40px",fontname:"微软雅黑",align:"left"},PH=(e,t={})=>{const n={...J2,...t},r=q2(e),i=lo(r,"strong"),o=lo(r,"em"),l=lo(r,"underline"),u=lo(r,"strikethrough"),c=lo(r,"superscript"),h=lo(r,"subscript"),d=lo(r,"code"),g=us(r,"forecolor","color")||n.color,v=us(r,"backcolor","backcolor")||n.backcolor,w=us(r,"fontsize","fontsize")||n.fontsize,k=us(r,"fontname","fontname")||n.fontname,_=us(r,"link","href")||"",L=lA(e,"align")||n.align,O=md("bullet_list",e.state),M=md("ordered_list",e.state),x=md("blockquote",e.state);return{bold:i,em:o,underline:l,strikethrough:u,superscript:c,subscript:h,code:d,color:g,backcolor:v,fontsize:w,fontname:k,link:_,align:L,bulletList:O,orderedList:M,blockquote:x}},BH=e=>{const t=q2(e),n=us(t,"fontsize","fontsize")||J2.fontsize;return parseInt(n)},aA={bold:!1,em:!1,underline:!1,strikethrough:!1,superscript:!1,subscript:!1,code:!1,color:"#000",backcolor:"",fontsize:"40px",fontname:"微软雅黑",link:"",align:"left",bulletList:!1,orderedList:!1,blockquote:!1},Hk=[{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"}],NH=[{label:"得意黑",value:"得意黑"},{label:"仓耳小丸子",value:"仓耳小丸子"},{label:"优设标题黑",value:"优设标题黑"},{label:"峰广明锐体",value:"峰广明锐体"},{label:"摄图摩登小方体",value:"摄图摩登小方体"},{label:"站酷快乐体",value:"站酷快乐体"},{label:"字制区喜脉体",value:"字制区喜脉体"},{label:"素材集市康康体",value:"素材集市康康体"},{label:"素材集市酷方体",value:"素材集市酷方体"},{label:"途牛类圆体",value:"途牛类圆体"},{label:"锐字真言体",value:"锐字真言体"}],uA=e=>{if(typeof e!="string")return!1;const t="Arial";if(e.toLowerCase()===t.toLowerCase())return!0;const n=100,r=100,i=100,o="a",l=document.createElement("canvas"),u=l.getContext("2d",{willReadFrequently:!0});if(!u)return!1;l.width=r,l.height=i,u.textAlign="center",u.fillStyle="black",u.textBaseline="middle";const c=h=>{u.clearRect(0,0,r,i),u.font=`${n}px ${h}, ${t}`,u.fillText(o,r/2,i/2);const d=u.getImageData(0,0,r,i).data;return[].slice.call(d).filter(g=>g!==0)};return c(t).join("")!==c(e).join("")};function zc(e){"@babel/helpers - typeof";return zc=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},zc(e)}var cA=/^\s+/,fA=/\s+$/;function Se(e,t){if(e=e||"",t=t||{},e instanceof Se)return e;if(!(this instanceof Se))return new Se(e,t);var n=hA(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}Se.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,i,o,l,u;return n=t.r/255,r=t.g/255,i=t.b/255,n<=.03928?o=n/12.92:o=Math.pow((n+.055)/1.055,2.4),r<=.03928?l=r/12.92:l=Math.pow((r+.055)/1.055,2.4),i<=.03928?u=i/12.92:u=Math.pow((i+.055)/1.055,2.4),.2126*o+.7152*l+.0722*u},setAlpha:function(t){return this._a=G2(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Vk(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Vk(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+i+"%)":"hsva("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var t=zk(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=zk(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+i+"%)":"hsla("+n+", "+r+"%, "+i+"%, "+this._roundA+")"},toHex:function(t){return Uk(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return mA(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(At(this._r,255)*100)+"%",g:Math.round(At(this._g,255)*100)+"%",b:Math.round(At(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(At(this._r,255)*100)+"%, "+Math.round(At(this._g,255)*100)+"%, "+Math.round(At(this._b,255)*100)+"%)":"rgba("+Math.round(At(this._r,255)*100)+"%, "+Math.round(At(this._g,255)*100)+"%, "+Math.round(At(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:MA[Uk(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+$k(this._r,this._g,this._b,this._a),r=n,i=this._gradientType?"GradientType = 1, ":"";if(t){var o=Se(t);r="#"+$k(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,i=this._a<1&&this._a>=0,o=!n&&i&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return o?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 Se(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(wA,arguments)},brighten:function(){return this._applyModification(_A,arguments)},darken:function(){return this._applyModification(bA,arguments)},desaturate:function(){return this._applyModification(kA,arguments)},saturate:function(){return this._applyModification(vA,arguments)},greyscale:function(){return this._applyModification(yA,arguments)},spin:function(){return this._applyModification(xA,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(SA,arguments)},complement:function(){return this._applyCombination(CA,arguments)},monochromatic:function(){return this._applyCombination(EA,arguments)},splitcomplement:function(){return this._applyCombination(LA,arguments)},triad:function(){return this._applyCombination(Kk,[3])},tetrad:function(){return this._applyCombination(Kk,[4])}};Se.fromRatio=function(e,t){if(zc(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=Wl(e[r]));e=n}return Se(e,t)};function hA(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,l=!1,u=!1;return typeof e=="string"&&(e=RA(e)),zc(e)=="object"&&(Xr(e.r)&&Xr(e.g)&&Xr(e.b)?(t=dA(e.r,e.g,e.b),l=!0,u=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Xr(e.h)&&Xr(e.s)&&Xr(e.v)?(r=Wl(e.s),i=Wl(e.v),t=pA(e.h,r,i),l=!0,u="hsv"):Xr(e.h)&&Xr(e.s)&&Xr(e.l)&&(r=Wl(e.s),o=Wl(e.l),t=gA(e.h,r,o),l=!0,u="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=G2(n),{ok:l,format:e.format||u,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 dA(e,t,n){return{r:At(e,255)*255,g:At(t,255)*255,b:At(n,255)*255}}function zk(e,t,n){e=At(e,255),t=At(t,255),n=At(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o,l,u=(r+i)/2;if(r==i)o=l=0;else{var c=r-i;switch(l=u>.5?c/(2-r-i):c/(r+i),r){case e:o=(t-n)/c+(t<n?6:0);break;case t:o=(n-e)/c+2;break;case n:o=(e-t)/c+4;break}o/=6}return{h:o,s:l,l:u}}function gA(e,t,n){var r,i,o;e=At(e,360),t=At(t,100),n=At(n,100);function l(h,d,g){return g<0&&(g+=1),g>1&&(g-=1),g<1/6?h+(d-h)*6*g:g<1/2?d:g<2/3?h+(d-h)*(2/3-g)*6:h}if(t===0)r=i=o=n;else{var u=n<.5?n*(1+t):n+t-n*t,c=2*n-u;r=l(c,u,e+1/3),i=l(c,u,e),o=l(c,u,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Vk(e,t,n){e=At(e,255),t=At(t,255),n=At(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o,l,u=r,c=r-i;if(l=r===0?0:c/r,r==i)o=0;else{switch(r){case e:o=(t-n)/c+(t<n?6:0);break;case t:o=(n-e)/c+2;break;case n:o=(e-t)/c+4;break}o/=6}return{h:o,s:l,v:u}}function pA(e,t,n){e=At(e,360)*6,t=At(t,100),n=At(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),l=n*(1-i*t),u=n*(1-(1-i)*t),c=r%6,h=[n,l,o,o,u,n][c],d=[u,n,n,l,o,o][c],g=[o,o,u,n,n,l][c];return{r:h*255,g:d*255,b:g*255}}function Uk(e,t,n,r){var i=[_r(Math.round(e).toString(16)),_r(Math.round(t).toString(16)),_r(Math.round(n).toString(16))];return r&&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[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function mA(e,t,n,r,i){var o=[_r(Math.round(e).toString(16)),_r(Math.round(t).toString(16)),_r(Math.round(n).toString(16)),_r(Z2(r))];return i&&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[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function $k(e,t,n,r){var i=[_r(Z2(r)),_r(Math.round(e).toString(16)),_r(Math.round(t).toString(16)),_r(Math.round(n).toString(16))];return i.join("")}Se.equals=function(e,t){return!e||!t?!1:Se(e).toRgbString()==Se(t).toRgbString()};Se.random=function(){return Se.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function kA(e,t){t=t===0?0:t||10;var n=Se(e).toHsl();return n.s-=t/100,n.s=Cf(n.s),Se(n)}function vA(e,t){t=t===0?0:t||10;var n=Se(e).toHsl();return n.s+=t/100,n.s=Cf(n.s),Se(n)}function yA(e){return Se(e).desaturate(100)}function wA(e,t){t=t===0?0:t||10;var n=Se(e).toHsl();return n.l+=t/100,n.l=Cf(n.l),Se(n)}function _A(e,t){t=t===0?0:t||10;var n=Se(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)))),Se(n)}function bA(e,t){t=t===0?0:t||10;var n=Se(e).toHsl();return n.l-=t/100,n.l=Cf(n.l),Se(n)}function xA(e,t){var n=Se(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,Se(n)}function CA(e){var t=Se(e).toHsl();return t.h=(t.h+180)%360,Se(t)}function Kk(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=Se(e).toHsl(),r=[Se(e)],i=360/t,o=1;o<t;o++)r.push(Se({h:(n.h+o*i)%360,s:n.s,l:n.l}));return r}function LA(e){var t=Se(e).toHsl(),n=t.h;return[Se(e),Se({h:(n+72)%360,s:t.s,l:t.l}),Se({h:(n+216)%360,s:t.s,l:t.l})]}function SA(e,t,n){t=t||6,n=n||30;var r=Se(e).toHsl(),i=360/n,o=[Se(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(Se(r));return o}function EA(e,t){t=t||6;for(var n=Se(e).toHsv(),r=n.h,i=n.s,o=n.v,l=[],u=1/t;t--;)l.push(Se({h:r,s:i,v:o})),o=(o+u)%1;return l}Se.mix=function(e,t,n){n=n===0?0:n||50;var r=Se(e).toRgb(),i=Se(t).toRgb(),o=n/100,l={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return Se(l)};Se.readability=function(e,t){var n=Se(e),r=Se(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};Se.isReadable=function(e,t,n){var r=Se.readability(e,t),i,o;switch(o=!1,i=IA(n),i.level+i.size){case"AAsmall":case"AAAlarge":o=r>=4.5;break;case"AAlarge":o=r>=3;break;case"AAAsmall":o=r>=7;break}return o};Se.mostReadable=function(e,t,n){var r=null,i=0,o,l,u,c;n=n||{},l=n.includeFallbackColors,u=n.level,c=n.size;for(var h=0;h<t.length;h++)o=Se.readability(e,t[h]),o>i&&(i=o,r=Se(t[h]));return Se.isReadable(e,r,{level:u,size:c})||!l?r:(n.includeFallbackColors=!1,Se.mostReadable(e,["#fff","#000"],n))};var ag=Se.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"},MA=Se.hexNames=AA(ag);function AA(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function G2(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function At(e,t){TA(e)&&(e="100%");var n=OA(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 Cf(e){return Math.min(1,Math.max(0,e))}function zn(e){return parseInt(e,16)}function TA(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function OA(e){return typeof e=="string"&&e.indexOf("%")!=-1}function _r(e){return e.length==1?"0"+e:""+e}function Wl(e){return e<=1&&(e=e*100+"%"),e}function Z2(e){return Math.round(parseFloat(e)*255).toString(16)}function qk(e){return zn(e)/255}var yr=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+i),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 Xr(e){return!!yr.CSS_UNIT.exec(e)}function RA(e){e=e.replace(cA,"").replace(fA,"").toLowerCase();var t=!1;if(ag[e])e=ag[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=yr.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=yr.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=yr.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=yr.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=yr.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=yr.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=yr.hex8.exec(e))?{r:zn(n[1]),g:zn(n[2]),b:zn(n[3]),a:qk(n[4]),format:t?"name":"hex8"}:(n=yr.hex6.exec(e))?{r:zn(n[1]),g:zn(n[2]),b:zn(n[3]),format:t?"name":"hex"}:(n=yr.hex4.exec(e))?{r:zn(n[1]+""+n[1]),g:zn(n[2]+""+n[2]),b:zn(n[3]+""+n[3]),a:qk(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=yr.hex3.exec(e))?{r:zn(n[1]+""+n[1]),g:zn(n[2]+""+n[2]),b:zn(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function IA(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 cs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jA(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function FH(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 i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Vc={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
- */Vc.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",g=1,v=2,w=4,k=1,_=2,L=1,O=2,M=4,x=8,y=16,E=32,A=64,j=128,N=256,B=512,W=30,J="...",V=800,ee=16,pe=1,ue=2,Q=3,te=1/0,oe=9007199254740991,Ge=17976931348623157e292,lt=NaN,Ke=4294967295,st=Ke-1,wt=Ke>>>1,Xe=[["ary",j],["bind",L],["bindKey",O],["curry",x],["curryRight",y],["flip",B],["partial",E],["partialRight",A],["rearg",N]],ct="[object Arguments]",Be="[object Array]",q="[object AsyncFunction]",fe="[object Boolean]",ce="[object Date]",me="[object DOMException]",He="[object Error]",ot="[object Function]",T="[object GeneratorFunction]",R="[object Map]",H="[object Number]",ne="[object Null]",$="[object Object]",se="[object Promise]",he="[object Proxy]",ae="[object RegExp]",le="[object Set]",re="[object String]",de="[object Symbol]",Ce="[object Undefined]",ke="[object WeakMap]",Te="[object WeakSet]",je="[object ArrayBuffer]",Ze="[object DataView]",Qe="[object Float32Array]",Et="[object Float64Array]",Zt="[object Int8Array]",Zn="[object Int16Array]",gi="[object Int32Array]",K="[object Uint8Array]",ve="[object Uint8ClampedArray]",be="[object Uint16Array]",Fe="[object Uint32Array]",Je=/\b__p \+= '';/g,Yt=/\b(__p \+=) '' \+/g,wn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Hr=/&(?:amp|lt|gt|quot|#39);/g,il=/[&<>"']/g,zr=RegExp(Hr.source),ol=RegExp(il.source),Ho=/<%-([\s\S]+?)%>/g,pi=/<%([\s\S]+?)%>/g,qa=/<%=([\s\S]+?)%>/g,sl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zo=/^\w*$/,h_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wf=/[\\^$.*+?()[\]{}|]/g,d_=RegExp(Wf.source),Hf=/^\s+/,g_=/\s/,p_=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,m_=/\{\n\/\* \[wrapped with (.+)\] \*/,k_=/,? & /,v_=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,y_=/[()=,{}\[\]\/\s]/,w_=/\\(\\)?/g,__=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sp=/\w*$/,b_=/^[-+]0x[0-9a-f]+$/i,x_=/^0b[01]+$/i,C_=/^\[object .+?Constructor\]$/,L_=/^0o[0-7]+$/i,S_=/^(?:0|[1-9]\d*)$/,E_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ja=/($^)/,M_=/['\n\r\u2028\u2029\\]/g,Ga="\\ud800-\\udfff",A_="\\u0300-\\u036f",T_="\\ufe20-\\ufe2f",O_="\\u20d0-\\u20ff",lp=A_+T_+O_,ap="\\u2700-\\u27bf",up="a-z\\xdf-\\xf6\\xf8-\\xff",R_="\\xac\\xb1\\xd7\\xf7",I_="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",j_="\\u2000-\\u206f",P_=" \\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",cp="A-Z\\xc0-\\xd6\\xd8-\\xde",fp="\\ufe0e\\ufe0f",hp=R_+I_+j_+P_,zf="['’]",B_="["+Ga+"]",dp="["+hp+"]",Za="["+lp+"]",gp="\\d+",N_="["+ap+"]",pp="["+up+"]",mp="[^"+Ga+hp+gp+ap+up+cp+"]",Vf="\\ud83c[\\udffb-\\udfff]",F_="(?:"+Za+"|"+Vf+")",kp="[^"+Ga+"]",Uf="(?:\\ud83c[\\udde6-\\uddff]){2}",$f="[\\ud800-\\udbff][\\udc00-\\udfff]",Vo="["+cp+"]",vp="\\u200d",yp="(?:"+pp+"|"+mp+")",D_="(?:"+Vo+"|"+mp+")",wp="(?:"+zf+"(?:d|ll|m|re|s|t|ve))?",_p="(?:"+zf+"(?:D|LL|M|RE|S|T|VE))?",bp=F_+"?",xp="["+fp+"]?",W_="(?:"+vp+"(?:"+[kp,Uf,$f].join("|")+")"+xp+bp+")*",H_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",z_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Cp=xp+bp+W_,V_="(?:"+[N_,Uf,$f].join("|")+")"+Cp,U_="(?:"+[kp+Za+"?",Za,Uf,$f,B_].join("|")+")",$_=RegExp(zf,"g"),K_=RegExp(Za,"g"),Kf=RegExp(Vf+"(?="+Vf+")|"+U_+Cp,"g"),q_=RegExp([Vo+"?"+pp+"+"+wp+"(?="+[dp,Vo,"$"].join("|")+")",D_+"+"+_p+"(?="+[dp,Vo+yp,"$"].join("|")+")",Vo+"?"+yp+"+"+wp,Vo+"+"+_p,z_,H_,gp,V_].join("|"),"g"),J_=RegExp("["+vp+Ga+lp+fp+"]"),G_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Z_=["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"],Y_=-1,Lt={};Lt[Qe]=Lt[Et]=Lt[Zt]=Lt[Zn]=Lt[gi]=Lt[K]=Lt[ve]=Lt[be]=Lt[Fe]=!0,Lt[ct]=Lt[Be]=Lt[je]=Lt[fe]=Lt[Ze]=Lt[ce]=Lt[He]=Lt[ot]=Lt[R]=Lt[H]=Lt[$]=Lt[ae]=Lt[le]=Lt[re]=Lt[ke]=!1;var _t={};_t[ct]=_t[Be]=_t[je]=_t[Ze]=_t[fe]=_t[ce]=_t[Qe]=_t[Et]=_t[Zt]=_t[Zn]=_t[gi]=_t[R]=_t[H]=_t[$]=_t[ae]=_t[le]=_t[re]=_t[de]=_t[K]=_t[ve]=_t[be]=_t[Fe]=!0,_t[He]=_t[ot]=_t[ke]=!1;var X_={À:"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"},Q_={"&":"&","<":"<",">":">",'"':""","'":"'"},eb={"&":"&","<":"<",">":">",""":'"',"'":"'"},tb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nb=parseFloat,rb=parseInt,Lp=typeof cs=="object"&&cs&&cs.Object===Object&&cs,ib=typeof self=="object"&&self&&self.Object===Object&&self,Xt=Lp||ib||Function("return this")(),qf=t&&!t.nodeType&&t,Zi=qf&&!0&&e&&!e.nodeType&&e,Sp=Zi&&Zi.exports===qf,Jf=Sp&&Lp.process,Yn=function(){try{var F=Zi&&Zi.require&&Zi.require("util").types;return F||Jf&&Jf.binding&&Jf.binding("util")}catch{}}(),Ep=Yn&&Yn.isArrayBuffer,Mp=Yn&&Yn.isDate,Ap=Yn&&Yn.isMap,Tp=Yn&&Yn.isRegExp,Op=Yn&&Yn.isSet,Rp=Yn&&Yn.isTypedArray;function Bn(F,G,z){switch(z.length){case 0:return F.call(G);case 1:return F.call(G,z[0]);case 2:return F.call(G,z[0],z[1]);case 3:return F.call(G,z[0],z[1],z[2])}return F.apply(G,z)}function ob(F,G,z,ye){for(var De=-1,at=F==null?0:F.length;++De<at;){var zt=F[De];G(ye,zt,z(zt),F)}return ye}function Xn(F,G){for(var z=-1,ye=F==null?0:F.length;++z<ye&&G(F[z],z,F)!==!1;);return F}function sb(F,G){for(var z=F==null?0:F.length;z--&&G(F[z],z,F)!==!1;);return F}function Ip(F,G){for(var z=-1,ye=F==null?0:F.length;++z<ye;)if(!G(F[z],z,F))return!1;return!0}function mi(F,G){for(var z=-1,ye=F==null?0:F.length,De=0,at=[];++z<ye;){var zt=F[z];G(zt,z,F)&&(at[De++]=zt)}return at}function Ya(F,G){var z=F==null?0:F.length;return!!z&&Uo(F,G,0)>-1}function Gf(F,G,z){for(var ye=-1,De=F==null?0:F.length;++ye<De;)if(z(G,F[ye]))return!0;return!1}function Mt(F,G){for(var z=-1,ye=F==null?0:F.length,De=Array(ye);++z<ye;)De[z]=G(F[z],z,F);return De}function ki(F,G){for(var z=-1,ye=G.length,De=F.length;++z<ye;)F[De+z]=G[z];return F}function Zf(F,G,z,ye){var De=-1,at=F==null?0:F.length;for(ye&&at&&(z=F[++De]);++De<at;)z=G(z,F[De],De,F);return z}function lb(F,G,z,ye){var De=F==null?0:F.length;for(ye&&De&&(z=F[--De]);De--;)z=G(z,F[De],De,F);return z}function Yf(F,G){for(var z=-1,ye=F==null?0:F.length;++z<ye;)if(G(F[z],z,F))return!0;return!1}var ab=Xf("length");function ub(F){return F.split("")}function cb(F){return F.match(v_)||[]}function jp(F,G,z){var ye;return z(F,function(De,at,zt){if(G(De,at,zt))return ye=at,!1}),ye}function Xa(F,G,z,ye){for(var De=F.length,at=z+(ye?1:-1);ye?at--:++at<De;)if(G(F[at],at,F))return at;return-1}function Uo(F,G,z){return G===G?bb(F,G,z):Xa(F,Pp,z)}function fb(F,G,z,ye){for(var De=z-1,at=F.length;++De<at;)if(ye(F[De],G))return De;return-1}function Pp(F){return F!==F}function Bp(F,G){var z=F==null?0:F.length;return z?eh(F,G)/z:lt}function Xf(F){return function(G){return G==null?n:G[F]}}function Qf(F){return function(G){return F==null?n:F[G]}}function Np(F,G,z,ye,De){return De(F,function(at,zt,vt){z=ye?(ye=!1,at):G(z,at,zt,vt)}),z}function hb(F,G){var z=F.length;for(F.sort(G);z--;)F[z]=F[z].value;return F}function eh(F,G){for(var z,ye=-1,De=F.length;++ye<De;){var at=G(F[ye]);at!==n&&(z=z===n?at:z+at)}return z}function th(F,G){for(var z=-1,ye=Array(F);++z<F;)ye[z]=G(z);return ye}function db(F,G){return Mt(G,function(z){return[z,F[z]]})}function Fp(F){return F&&F.slice(0,zp(F)+1).replace(Hf,"")}function Nn(F){return function(G){return F(G)}}function nh(F,G){return Mt(G,function(z){return F[z]})}function ll(F,G){return F.has(G)}function Dp(F,G){for(var z=-1,ye=F.length;++z<ye&&Uo(G,F[z],0)>-1;);return z}function Wp(F,G){for(var z=F.length;z--&&Uo(G,F[z],0)>-1;);return z}function gb(F,G){for(var z=F.length,ye=0;z--;)F[z]===G&&++ye;return ye}var pb=Qf(X_),mb=Qf(Q_);function kb(F){return"\\"+tb[F]}function vb(F,G){return F==null?n:F[G]}function $o(F){return J_.test(F)}function yb(F){return G_.test(F)}function wb(F){for(var G,z=[];!(G=F.next()).done;)z.push(G.value);return z}function rh(F){var G=-1,z=Array(F.size);return F.forEach(function(ye,De){z[++G]=[De,ye]}),z}function Hp(F,G){return function(z){return F(G(z))}}function vi(F,G){for(var z=-1,ye=F.length,De=0,at=[];++z<ye;){var zt=F[z];(zt===G||zt===d)&&(F[z]=d,at[De++]=z)}return at}function Qa(F){var G=-1,z=Array(F.size);return F.forEach(function(ye){z[++G]=ye}),z}function _b(F){var G=-1,z=Array(F.size);return F.forEach(function(ye){z[++G]=[ye,ye]}),z}function bb(F,G,z){for(var ye=z-1,De=F.length;++ye<De;)if(F[ye]===G)return ye;return-1}function xb(F,G,z){for(var ye=z+1;ye--;)if(F[ye]===G)return ye;return ye}function Ko(F){return $o(F)?Lb(F):ab(F)}function pr(F){return $o(F)?Sb(F):ub(F)}function zp(F){for(var G=F.length;G--&&g_.test(F.charAt(G)););return G}var Cb=Qf(eb);function Lb(F){for(var G=Kf.lastIndex=0;Kf.test(F);)++G;return G}function Sb(F){return F.match(Kf)||[]}function Eb(F){return F.match(q_)||[]}var Mb=function F(G){G=G==null?Xt:qo.defaults(Xt.Object(),G,qo.pick(Xt,Z_));var z=G.Array,ye=G.Date,De=G.Error,at=G.Function,zt=G.Math,vt=G.Object,ih=G.RegExp,Ab=G.String,Qn=G.TypeError,eu=z.prototype,Tb=at.prototype,Jo=vt.prototype,tu=G["__core-js_shared__"],nu=Tb.toString,gt=Jo.hasOwnProperty,Ob=0,Vp=function(){var s=/[^.]+$/.exec(tu&&tu.keys&&tu.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ru=Jo.toString,Rb=nu.call(vt),Ib=Xt._,jb=ih("^"+nu.call(gt).replace(Wf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),iu=Sp?G.Buffer:n,yi=G.Symbol,ou=G.Uint8Array,Up=iu?iu.allocUnsafe:n,su=Hp(vt.getPrototypeOf,vt),$p=vt.create,Kp=Jo.propertyIsEnumerable,lu=eu.splice,qp=yi?yi.isConcatSpreadable:n,al=yi?yi.iterator:n,Yi=yi?yi.toStringTag:n,au=function(){try{var s=no(vt,"defineProperty");return s({},"",{}),s}catch{}}(),Pb=G.clearTimeout!==Xt.clearTimeout&&G.clearTimeout,Bb=ye&&ye.now!==Xt.Date.now&&ye.now,Nb=G.setTimeout!==Xt.setTimeout&&G.setTimeout,uu=zt.ceil,cu=zt.floor,oh=vt.getOwnPropertySymbols,Fb=iu?iu.isBuffer:n,Jp=G.isFinite,Db=eu.join,Wb=Hp(vt.keys,vt),Vt=zt.max,rn=zt.min,Hb=ye.now,zb=G.parseInt,Gp=zt.random,Vb=eu.reverse,sh=no(G,"DataView"),ul=no(G,"Map"),lh=no(G,"Promise"),Go=no(G,"Set"),cl=no(G,"WeakMap"),fl=no(vt,"create"),fu=cl&&new cl,Zo={},Ub=ro(sh),$b=ro(ul),Kb=ro(lh),qb=ro(Go),Jb=ro(cl),hu=yi?yi.prototype:n,hl=hu?hu.valueOf:n,Zp=hu?hu.toString:n;function C(s){if(Pt(s)&&!We(s)&&!(s instanceof et)){if(s instanceof er)return s;if(gt.call(s,"__wrapped__"))return Ym(s)}return new er(s)}var Yo=function(){function s(){}return function(a){if(!Rt(a))return{};if($p)return $p(a);s.prototype=a;var f=new s;return s.prototype=n,f}}();function du(){}function er(s,a){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=n}C.templateSettings={escape:Ho,evaluate:pi,interpolate:qa,variable:"",imports:{_:C}},C.prototype=du.prototype,C.prototype.constructor=C,er.prototype=Yo(du.prototype),er.prototype.constructor=er;function et(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ke,this.__views__=[]}function Gb(){var s=new et(this.__wrapped__);return s.__actions__=_n(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=_n(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=_n(this.__views__),s}function Zb(){if(this.__filtered__){var s=new et(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function Yb(){var s=this.__wrapped__.value(),a=this.__dir__,f=We(s),p=a<0,b=f?s.length:0,S=u8(0,b,this.__views__),I=S.start,P=S.end,D=P-I,Y=p?P:I-1,X=this.__iteratees__,ie=X.length,ge=0,Le=rn(D,this.__takeCount__);if(!f||!p&&b==D&&Le==D)return wm(s,this.__actions__);var Oe=[];e:for(;D--&&ge<Le;){Y+=a;for(var Ue=-1,Re=s[Y];++Ue<ie;){var Ye=X[Ue],nt=Ye.iteratee,Wn=Ye.type,pn=nt(Re);if(Wn==ue)Re=pn;else if(!pn){if(Wn==pe)continue e;break e}}Oe[ge++]=Re}return Oe}et.prototype=Yo(du.prototype),et.prototype.constructor=et;function Xi(s){var a=-1,f=s==null?0:s.length;for(this.clear();++a<f;){var p=s[a];this.set(p[0],p[1])}}function Xb(){this.__data__=fl?fl(null):{},this.size=0}function Qb(s){var a=this.has(s)&&delete this.__data__[s];return this.size-=a?1:0,a}function ex(s){var a=this.__data__;if(fl){var f=a[s];return f===c?n:f}return gt.call(a,s)?a[s]:n}function tx(s){var a=this.__data__;return fl?a[s]!==n:gt.call(a,s)}function nx(s,a){var f=this.__data__;return this.size+=this.has(s)?0:1,f[s]=fl&&a===n?c:a,this}Xi.prototype.clear=Xb,Xi.prototype.delete=Qb,Xi.prototype.get=ex,Xi.prototype.has=tx,Xi.prototype.set=nx;function Vr(s){var a=-1,f=s==null?0:s.length;for(this.clear();++a<f;){var p=s[a];this.set(p[0],p[1])}}function rx(){this.__data__=[],this.size=0}function ix(s){var a=this.__data__,f=gu(a,s);if(f<0)return!1;var p=a.length-1;return f==p?a.pop():lu.call(a,f,1),--this.size,!0}function ox(s){var a=this.__data__,f=gu(a,s);return f<0?n:a[f][1]}function sx(s){return gu(this.__data__,s)>-1}function lx(s,a){var f=this.__data__,p=gu(f,s);return p<0?(++this.size,f.push([s,a])):f[p][1]=a,this}Vr.prototype.clear=rx,Vr.prototype.delete=ix,Vr.prototype.get=ox,Vr.prototype.has=sx,Vr.prototype.set=lx;function Ur(s){var a=-1,f=s==null?0:s.length;for(this.clear();++a<f;){var p=s[a];this.set(p[0],p[1])}}function ax(){this.size=0,this.__data__={hash:new Xi,map:new(ul||Vr),string:new Xi}}function ux(s){var a=Su(this,s).delete(s);return this.size-=a?1:0,a}function cx(s){return Su(this,s).get(s)}function fx(s){return Su(this,s).has(s)}function hx(s,a){var f=Su(this,s),p=f.size;return f.set(s,a),this.size+=f.size==p?0:1,this}Ur.prototype.clear=ax,Ur.prototype.delete=ux,Ur.prototype.get=cx,Ur.prototype.has=fx,Ur.prototype.set=hx;function Qi(s){var a=-1,f=s==null?0:s.length;for(this.__data__=new Ur;++a<f;)this.add(s[a])}function dx(s){return this.__data__.set(s,c),this}function gx(s){return this.__data__.has(s)}Qi.prototype.add=Qi.prototype.push=dx,Qi.prototype.has=gx;function mr(s){var a=this.__data__=new Vr(s);this.size=a.size}function px(){this.__data__=new Vr,this.size=0}function mx(s){var a=this.__data__,f=a.delete(s);return this.size=a.size,f}function kx(s){return this.__data__.get(s)}function vx(s){return this.__data__.has(s)}function yx(s,a){var f=this.__data__;if(f instanceof Vr){var p=f.__data__;if(!ul||p.length<i-1)return p.push([s,a]),this.size=++f.size,this;f=this.__data__=new Ur(p)}return f.set(s,a),this.size=f.size,this}mr.prototype.clear=px,mr.prototype.delete=mx,mr.prototype.get=kx,mr.prototype.has=vx,mr.prototype.set=yx;function Yp(s,a){var f=We(s),p=!f&&io(s),b=!f&&!p&&Ci(s),S=!f&&!p&&!b&&ts(s),I=f||p||b||S,P=I?th(s.length,Ab):[],D=P.length;for(var Y in s)(a||gt.call(s,Y))&&!(I&&(Y=="length"||b&&(Y=="offset"||Y=="parent")||S&&(Y=="buffer"||Y=="byteLength"||Y=="byteOffset")||Jr(Y,D)))&&P.push(Y);return P}function Xp(s){var a=s.length;return a?s[vh(0,a-1)]:n}function wx(s,a){return Eu(_n(s),eo(a,0,s.length))}function _x(s){return Eu(_n(s))}function ah(s,a,f){(f!==n&&!kr(s[a],f)||f===n&&!(a in s))&&$r(s,a,f)}function dl(s,a,f){var p=s[a];(!(gt.call(s,a)&&kr(p,f))||f===n&&!(a in s))&&$r(s,a,f)}function gu(s,a){for(var f=s.length;f--;)if(kr(s[f][0],a))return f;return-1}function bx(s,a,f,p){return wi(s,function(b,S,I){a(p,b,f(b),I)}),p}function Qp(s,a){return s&&Mr(a,qt(a),s)}function xx(s,a){return s&&Mr(a,xn(a),s)}function $r(s,a,f){a=="__proto__"&&au?au(s,a,{configurable:!0,enumerable:!0,value:f,writable:!0}):s[a]=f}function uh(s,a){for(var f=-1,p=a.length,b=z(p),S=s==null;++f<p;)b[f]=S?n:Vh(s,a[f]);return b}function eo(s,a,f){return s===s&&(f!==n&&(s=s<=f?s:f),a!==n&&(s=s>=a?s:a)),s}function tr(s,a,f,p,b,S){var I,P=a&g,D=a&v,Y=a&w;if(f&&(I=b?f(s,p,b,S):f(s)),I!==n)return I;if(!Rt(s))return s;var X=We(s);if(X){if(I=f8(s),!P)return _n(s,I)}else{var ie=on(s),ge=ie==ot||ie==T;if(Ci(s))return xm(s,P);if(ie==$||ie==ct||ge&&!b){if(I=D||ge?{}:zm(s),!P)return D?e8(s,xx(I,s)):Qx(s,Qp(I,s))}else{if(!_t[ie])return b?s:{};I=h8(s,ie,P)}}S||(S=new mr);var Le=S.get(s);if(Le)return Le;S.set(s,I),k1(s)?s.forEach(function(Re){I.add(tr(Re,a,f,Re,s,S))}):p1(s)&&s.forEach(function(Re,Ye){I.set(Ye,tr(Re,a,f,Ye,s,S))});var Oe=Y?D?Ah:Mh:D?xn:qt,Ue=X?n:Oe(s);return Xn(Ue||s,function(Re,Ye){Ue&&(Ye=Re,Re=s[Ye]),dl(I,Ye,tr(Re,a,f,Ye,s,S))}),I}function Cx(s){var a=qt(s);return function(f){return em(f,s,a)}}function em(s,a,f){var p=f.length;if(s==null)return!p;for(s=vt(s);p--;){var b=f[p],S=a[b],I=s[b];if(I===n&&!(b in s)||!S(I))return!1}return!0}function tm(s,a,f){if(typeof s!="function")throw new Qn(l);return wl(function(){s.apply(n,f)},a)}function gl(s,a,f,p){var b=-1,S=Ya,I=!0,P=s.length,D=[],Y=a.length;if(!P)return D;f&&(a=Mt(a,Nn(f))),p?(S=Gf,I=!1):a.length>=i&&(S=ll,I=!1,a=new Qi(a));e:for(;++b<P;){var X=s[b],ie=f==null?X:f(X);if(X=p||X!==0?X:0,I&&ie===ie){for(var ge=Y;ge--;)if(a[ge]===ie)continue e;D.push(X)}else S(a,ie,p)||D.push(X)}return D}var wi=Mm(Er),nm=Mm(fh,!0);function Lx(s,a){var f=!0;return wi(s,function(p,b,S){return f=!!a(p,b,S),f}),f}function pu(s,a,f){for(var p=-1,b=s.length;++p<b;){var S=s[p],I=a(S);if(I!=null&&(P===n?I===I&&!Dn(I):f(I,P)))var P=I,D=S}return D}function Sx(s,a,f,p){var b=s.length;for(f=Ve(f),f<0&&(f=-f>b?0:b+f),p=p===n||p>b?b:Ve(p),p<0&&(p+=b),p=f>p?0:y1(p);f<p;)s[f++]=a;return s}function rm(s,a){var f=[];return wi(s,function(p,b,S){a(p,b,S)&&f.push(p)}),f}function Qt(s,a,f,p,b){var S=-1,I=s.length;for(f||(f=g8),b||(b=[]);++S<I;){var P=s[S];a>0&&f(P)?a>1?Qt(P,a-1,f,p,b):ki(b,P):p||(b[b.length]=P)}return b}var ch=Am(),im=Am(!0);function Er(s,a){return s&&ch(s,a,qt)}function fh(s,a){return s&&im(s,a,qt)}function mu(s,a){return mi(a,function(f){return Gr(s[f])})}function to(s,a){a=bi(a,s);for(var f=0,p=a.length;s!=null&&f<p;)s=s[Ar(a[f++])];return f&&f==p?s:n}function om(s,a,f){var p=a(s);return We(s)?p:ki(p,f(s))}function dn(s){return s==null?s===n?Ce:ne:Yi&&Yi in vt(s)?a8(s):_8(s)}function hh(s,a){return s>a}function Ex(s,a){return s!=null&>.call(s,a)}function Mx(s,a){return s!=null&&a in vt(s)}function Ax(s,a,f){return s>=rn(a,f)&&s<Vt(a,f)}function dh(s,a,f){for(var p=f?Gf:Ya,b=s[0].length,S=s.length,I=S,P=z(S),D=1/0,Y=[];I--;){var X=s[I];I&&a&&(X=Mt(X,Nn(a))),D=rn(X.length,D),P[I]=!f&&(a||b>=120&&X.length>=120)?new Qi(I&&X):n}X=s[0];var ie=-1,ge=P[0];e:for(;++ie<b&&Y.length<D;){var Le=X[ie],Oe=a?a(Le):Le;if(Le=f||Le!==0?Le:0,!(ge?ll(ge,Oe):p(Y,Oe,f))){for(I=S;--I;){var Ue=P[I];if(!(Ue?ll(Ue,Oe):p(s[I],Oe,f)))continue e}ge&&ge.push(Oe),Y.push(Le)}}return Y}function Tx(s,a,f,p){return Er(s,function(b,S,I){a(p,f(b),S,I)}),p}function pl(s,a,f){a=bi(a,s),s=Km(s,a);var p=s==null?s:s[Ar(rr(a))];return p==null?n:Bn(p,s,f)}function sm(s){return Pt(s)&&dn(s)==ct}function Ox(s){return Pt(s)&&dn(s)==je}function Rx(s){return Pt(s)&&dn(s)==ce}function ml(s,a,f,p,b){return s===a?!0:s==null||a==null||!Pt(s)&&!Pt(a)?s!==s&&a!==a:Ix(s,a,f,p,ml,b)}function Ix(s,a,f,p,b,S){var I=We(s),P=We(a),D=I?Be:on(s),Y=P?Be:on(a);D=D==ct?$:D,Y=Y==ct?$:Y;var X=D==$,ie=Y==$,ge=D==Y;if(ge&&Ci(s)){if(!Ci(a))return!1;I=!0,X=!1}if(ge&&!X)return S||(S=new mr),I||ts(s)?Dm(s,a,f,p,b,S):s8(s,a,D,f,p,b,S);if(!(f&k)){var Le=X&>.call(s,"__wrapped__"),Oe=ie&>.call(a,"__wrapped__");if(Le||Oe){var Ue=Le?s.value():s,Re=Oe?a.value():a;return S||(S=new mr),b(Ue,Re,f,p,S)}}return ge?(S||(S=new mr),l8(s,a,f,p,b,S)):!1}function jx(s){return Pt(s)&&on(s)==R}function gh(s,a,f,p){var b=f.length,S=b,I=!p;if(s==null)return!S;for(s=vt(s);b--;){var P=f[b];if(I&&P[2]?P[1]!==s[P[0]]:!(P[0]in s))return!1}for(;++b<S;){P=f[b];var D=P[0],Y=s[D],X=P[1];if(I&&P[2]){if(Y===n&&!(D in s))return!1}else{var ie=new mr;if(p)var ge=p(Y,X,D,s,a,ie);if(!(ge===n?ml(X,Y,k|_,p,ie):ge))return!1}}return!0}function lm(s){if(!Rt(s)||m8(s))return!1;var a=Gr(s)?jb:C_;return a.test(ro(s))}function Px(s){return Pt(s)&&dn(s)==ae}function Bx(s){return Pt(s)&&on(s)==le}function Nx(s){return Pt(s)&&Iu(s.length)&&!!Lt[dn(s)]}function am(s){return typeof s=="function"?s:s==null?Cn:typeof s=="object"?We(s)?fm(s[0],s[1]):cm(s):T1(s)}function ph(s){if(!yl(s))return Wb(s);var a=[];for(var f in vt(s))gt.call(s,f)&&f!="constructor"&&a.push(f);return a}function Fx(s){if(!Rt(s))return w8(s);var a=yl(s),f=[];for(var p in s)p=="constructor"&&(a||!gt.call(s,p))||f.push(p);return f}function mh(s,a){return s<a}function um(s,a){var f=-1,p=bn(s)?z(s.length):[];return wi(s,function(b,S,I){p[++f]=a(b,S,I)}),p}function cm(s){var a=Oh(s);return a.length==1&&a[0][2]?Um(a[0][0],a[0][1]):function(f){return f===s||gh(f,s,a)}}function fm(s,a){return Ih(s)&&Vm(a)?Um(Ar(s),a):function(f){var p=Vh(f,s);return p===n&&p===a?Uh(f,s):ml(a,p,k|_)}}function ku(s,a,f,p,b){s!==a&&ch(a,function(S,I){if(b||(b=new mr),Rt(S))Dx(s,a,I,f,ku,p,b);else{var P=p?p(Ph(s,I),S,I+"",s,a,b):n;P===n&&(P=S),ah(s,I,P)}},xn)}function Dx(s,a,f,p,b,S,I){var P=Ph(s,f),D=Ph(a,f),Y=I.get(D);if(Y){ah(s,f,Y);return}var X=S?S(P,D,f+"",s,a,I):n,ie=X===n;if(ie){var ge=We(D),Le=!ge&&Ci(D),Oe=!ge&&!Le&&ts(D);X=D,ge||Le||Oe?We(P)?X=P:Nt(P)?X=_n(P):Le?(ie=!1,X=xm(D,!0)):Oe?(ie=!1,X=Cm(D,!0)):X=[]:_l(D)||io(D)?(X=P,io(P)?X=w1(P):(!Rt(P)||Gr(P))&&(X=zm(D))):ie=!1}ie&&(I.set(D,X),b(X,D,p,S,I),I.delete(D)),ah(s,f,X)}function hm(s,a){var f=s.length;if(f)return a+=a<0?f:0,Jr(a,f)?s[a]:n}function dm(s,a,f){a.length?a=Mt(a,function(S){return We(S)?function(I){return to(I,S.length===1?S[0]:S)}:S}):a=[Cn];var p=-1;a=Mt(a,Nn(Ae()));var b=um(s,function(S,I,P){var D=Mt(a,function(Y){return Y(S)});return{criteria:D,index:++p,value:S}});return hb(b,function(S,I){return Xx(S,I,f)})}function Wx(s,a){return gm(s,a,function(f,p){return Uh(s,p)})}function gm(s,a,f){for(var p=-1,b=a.length,S={};++p<b;){var I=a[p],P=to(s,I);f(P,I)&&kl(S,bi(I,s),P)}return S}function Hx(s){return function(a){return to(a,s)}}function kh(s,a,f,p){var b=p?fb:Uo,S=-1,I=a.length,P=s;for(s===a&&(a=_n(a)),f&&(P=Mt(s,Nn(f)));++S<I;)for(var D=0,Y=a[S],X=f?f(Y):Y;(D=b(P,X,D,p))>-1;)P!==s&&lu.call(P,D,1),lu.call(s,D,1);return s}function pm(s,a){for(var f=s?a.length:0,p=f-1;f--;){var b=a[f];if(f==p||b!==S){var S=b;Jr(b)?lu.call(s,b,1):_h(s,b)}}return s}function vh(s,a){return s+cu(Gp()*(a-s+1))}function zx(s,a,f,p){for(var b=-1,S=Vt(uu((a-s)/(f||1)),0),I=z(S);S--;)I[p?S:++b]=s,s+=f;return I}function yh(s,a){var f="";if(!s||a<1||a>oe)return f;do a%2&&(f+=s),a=cu(a/2),a&&(s+=s);while(a);return f}function qe(s,a){return Bh($m(s,a,Cn),s+"")}function Vx(s){return Xp(ns(s))}function Ux(s,a){var f=ns(s);return Eu(f,eo(a,0,f.length))}function kl(s,a,f,p){if(!Rt(s))return s;a=bi(a,s);for(var b=-1,S=a.length,I=S-1,P=s;P!=null&&++b<S;){var D=Ar(a[b]),Y=f;if(D==="__proto__"||D==="constructor"||D==="prototype")return s;if(b!=I){var X=P[D];Y=p?p(X,D,P):n,Y===n&&(Y=Rt(X)?X:Jr(a[b+1])?[]:{})}dl(P,D,Y),P=P[D]}return s}var mm=fu?function(s,a){return fu.set(s,a),s}:Cn,$x=au?function(s,a){return au(s,"toString",{configurable:!0,enumerable:!1,value:Kh(a),writable:!0})}:Cn;function Kx(s){return Eu(ns(s))}function nr(s,a,f){var p=-1,b=s.length;a<0&&(a=-a>b?0:b+a),f=f>b?b:f,f<0&&(f+=b),b=a>f?0:f-a>>>0,a>>>=0;for(var S=z(b);++p<b;)S[p]=s[p+a];return S}function qx(s,a){var f;return wi(s,function(p,b,S){return f=a(p,b,S),!f}),!!f}function vu(s,a,f){var p=0,b=s==null?p:s.length;if(typeof a=="number"&&a===a&&b<=wt){for(;p<b;){var S=p+b>>>1,I=s[S];I!==null&&!Dn(I)&&(f?I<=a:I<a)?p=S+1:b=S}return b}return wh(s,a,Cn,f)}function wh(s,a,f,p){var b=0,S=s==null?0:s.length;if(S===0)return 0;a=f(a);for(var I=a!==a,P=a===null,D=Dn(a),Y=a===n;b<S;){var X=cu((b+S)/2),ie=f(s[X]),ge=ie!==n,Le=ie===null,Oe=ie===ie,Ue=Dn(ie);if(I)var Re=p||Oe;else Y?Re=Oe&&(p||ge):P?Re=Oe&&ge&&(p||!Le):D?Re=Oe&&ge&&!Le&&(p||!Ue):Le||Ue?Re=!1:Re=p?ie<=a:ie<a;Re?b=X+1:S=X}return rn(S,st)}function km(s,a){for(var f=-1,p=s.length,b=0,S=[];++f<p;){var I=s[f],P=a?a(I):I;if(!f||!kr(P,D)){var D=P;S[b++]=I===0?0:I}}return S}function vm(s){return typeof s=="number"?s:Dn(s)?lt:+s}function Fn(s){if(typeof s=="string")return s;if(We(s))return Mt(s,Fn)+"";if(Dn(s))return Zp?Zp.call(s):"";var a=s+"";return a=="0"&&1/s==-te?"-0":a}function _i(s,a,f){var p=-1,b=Ya,S=s.length,I=!0,P=[],D=P;if(f)I=!1,b=Gf;else if(S>=i){var Y=a?null:i8(s);if(Y)return Qa(Y);I=!1,b=ll,D=new Qi}else D=a?[]:P;e:for(;++p<S;){var X=s[p],ie=a?a(X):X;if(X=f||X!==0?X:0,I&&ie===ie){for(var ge=D.length;ge--;)if(D[ge]===ie)continue e;a&&D.push(ie),P.push(X)}else b(D,ie,f)||(D!==P&&D.push(ie),P.push(X))}return P}function _h(s,a){return a=bi(a,s),s=Km(s,a),s==null||delete s[Ar(rr(a))]}function ym(s,a,f,p){return kl(s,a,f(to(s,a)),p)}function yu(s,a,f,p){for(var b=s.length,S=p?b:-1;(p?S--:++S<b)&&a(s[S],S,s););return f?nr(s,p?0:S,p?S+1:b):nr(s,p?S+1:0,p?b:S)}function wm(s,a){var f=s;return f instanceof et&&(f=f.value()),Zf(a,function(p,b){return b.func.apply(b.thisArg,ki([p],b.args))},f)}function bh(s,a,f){var p=s.length;if(p<2)return p?_i(s[0]):[];for(var b=-1,S=z(p);++b<p;)for(var I=s[b],P=-1;++P<p;)P!=b&&(S[b]=gl(S[b]||I,s[P],a,f));return _i(Qt(S,1),a,f)}function _m(s,a,f){for(var p=-1,b=s.length,S=a.length,I={};++p<b;){var P=p<S?a[p]:n;f(I,s[p],P)}return I}function xh(s){return Nt(s)?s:[]}function Ch(s){return typeof s=="function"?s:Cn}function bi(s,a){return We(s)?s:Ih(s,a)?[s]:Zm(ft(s))}var Jx=qe;function xi(s,a,f){var p=s.length;return f=f===n?p:f,!a&&f>=p?s:nr(s,a,f)}var bm=Pb||function(s){return Xt.clearTimeout(s)};function xm(s,a){if(a)return s.slice();var f=s.length,p=Up?Up(f):new s.constructor(f);return s.copy(p),p}function Lh(s){var a=new s.constructor(s.byteLength);return new ou(a).set(new ou(s)),a}function Gx(s,a){var f=a?Lh(s.buffer):s.buffer;return new s.constructor(f,s.byteOffset,s.byteLength)}function Zx(s){var a=new s.constructor(s.source,sp.exec(s));return a.lastIndex=s.lastIndex,a}function Yx(s){return hl?vt(hl.call(s)):{}}function Cm(s,a){var f=a?Lh(s.buffer):s.buffer;return new s.constructor(f,s.byteOffset,s.length)}function Lm(s,a){if(s!==a){var f=s!==n,p=s===null,b=s===s,S=Dn(s),I=a!==n,P=a===null,D=a===a,Y=Dn(a);if(!P&&!Y&&!S&&s>a||S&&I&&D&&!P&&!Y||p&&I&&D||!f&&D||!b)return 1;if(!p&&!S&&!Y&&s<a||Y&&f&&b&&!p&&!S||P&&f&&b||!I&&b||!D)return-1}return 0}function Xx(s,a,f){for(var p=-1,b=s.criteria,S=a.criteria,I=b.length,P=f.length;++p<I;){var D=Lm(b[p],S[p]);if(D){if(p>=P)return D;var Y=f[p];return D*(Y=="desc"?-1:1)}}return s.index-a.index}function Sm(s,a,f,p){for(var b=-1,S=s.length,I=f.length,P=-1,D=a.length,Y=Vt(S-I,0),X=z(D+Y),ie=!p;++P<D;)X[P]=a[P];for(;++b<I;)(ie||b<S)&&(X[f[b]]=s[b]);for(;Y--;)X[P++]=s[b++];return X}function Em(s,a,f,p){for(var b=-1,S=s.length,I=-1,P=f.length,D=-1,Y=a.length,X=Vt(S-P,0),ie=z(X+Y),ge=!p;++b<X;)ie[b]=s[b];for(var Le=b;++D<Y;)ie[Le+D]=a[D];for(;++I<P;)(ge||b<S)&&(ie[Le+f[I]]=s[b++]);return ie}function _n(s,a){var f=-1,p=s.length;for(a||(a=z(p));++f<p;)a[f]=s[f];return a}function Mr(s,a,f,p){var b=!f;f||(f={});for(var S=-1,I=a.length;++S<I;){var P=a[S],D=p?p(f[P],s[P],P,f,s):n;D===n&&(D=s[P]),b?$r(f,P,D):dl(f,P,D)}return f}function Qx(s,a){return Mr(s,Rh(s),a)}function e8(s,a){return Mr(s,Wm(s),a)}function wu(s,a){return function(f,p){var b=We(f)?ob:bx,S=a?a():{};return b(f,s,Ae(p,2),S)}}function Xo(s){return qe(function(a,f){var p=-1,b=f.length,S=b>1?f[b-1]:n,I=b>2?f[2]:n;for(S=s.length>3&&typeof S=="function"?(b--,S):n,I&&gn(f[0],f[1],I)&&(S=b<3?n:S,b=1),a=vt(a);++p<b;){var P=f[p];P&&s(a,P,p,S)}return a})}function Mm(s,a){return function(f,p){if(f==null)return f;if(!bn(f))return s(f,p);for(var b=f.length,S=a?b:-1,I=vt(f);(a?S--:++S<b)&&p(I[S],S,I)!==!1;);return f}}function Am(s){return function(a,f,p){for(var b=-1,S=vt(a),I=p(a),P=I.length;P--;){var D=I[s?P:++b];if(f(S[D],D,S)===!1)break}return a}}function t8(s,a,f){var p=a&L,b=vl(s);function S(){var I=this&&this!==Xt&&this instanceof S?b:s;return I.apply(p?f:this,arguments)}return S}function Tm(s){return function(a){a=ft(a);var f=$o(a)?pr(a):n,p=f?f[0]:a.charAt(0),b=f?xi(f,1).join(""):a.slice(1);return p[s]()+b}}function Qo(s){return function(a){return Zf(M1(E1(a).replace($_,"")),s,"")}}function vl(s){return function(){var a=arguments;switch(a.length){case 0:return new s;case 1:return new s(a[0]);case 2:return new s(a[0],a[1]);case 3:return new s(a[0],a[1],a[2]);case 4:return new s(a[0],a[1],a[2],a[3]);case 5:return new s(a[0],a[1],a[2],a[3],a[4]);case 6:return new s(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new s(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var f=Yo(s.prototype),p=s.apply(f,a);return Rt(p)?p:f}}function n8(s,a,f){var p=vl(s);function b(){for(var S=arguments.length,I=z(S),P=S,D=es(b);P--;)I[P]=arguments[P];var Y=S<3&&I[0]!==D&&I[S-1]!==D?[]:vi(I,D);if(S-=Y.length,S<f)return Pm(s,a,_u,b.placeholder,n,I,Y,n,n,f-S);var X=this&&this!==Xt&&this instanceof b?p:s;return Bn(X,this,I)}return b}function Om(s){return function(a,f,p){var b=vt(a);if(!bn(a)){var S=Ae(f,3);a=qt(a),f=function(P){return S(b[P],P,b)}}var I=s(a,f,p);return I>-1?b[S?a[I]:I]:n}}function Rm(s){return qr(function(a){var f=a.length,p=f,b=er.prototype.thru;for(s&&a.reverse();p--;){var S=a[p];if(typeof S!="function")throw new Qn(l);if(b&&!I&&Lu(S)=="wrapper")var I=new er([],!0)}for(p=I?p:f;++p<f;){S=a[p];var P=Lu(S),D=P=="wrapper"?Th(S):n;D&&jh(D[0])&&D[1]==(j|x|E|N)&&!D[4].length&&D[9]==1?I=I[Lu(D[0])].apply(I,D[3]):I=S.length==1&&jh(S)?I[P]():I.thru(S)}return function(){var Y=arguments,X=Y[0];if(I&&Y.length==1&&We(X))return I.plant(X).value();for(var ie=0,ge=f?a[ie].apply(this,Y):X;++ie<f;)ge=a[ie].call(this,ge);return ge}})}function _u(s,a,f,p,b,S,I,P,D,Y){var X=a&j,ie=a&L,ge=a&O,Le=a&(x|y),Oe=a&B,Ue=ge?n:vl(s);function Re(){for(var Ye=arguments.length,nt=z(Ye),Wn=Ye;Wn--;)nt[Wn]=arguments[Wn];if(Le)var pn=es(Re),Hn=gb(nt,pn);if(p&&(nt=Sm(nt,p,b,Le)),S&&(nt=Em(nt,S,I,Le)),Ye-=Hn,Le&&Ye<Y){var Ft=vi(nt,pn);return Pm(s,a,_u,Re.placeholder,f,nt,Ft,P,D,Y-Ye)}var vr=ie?f:this,Yr=ge?vr[s]:s;return Ye=nt.length,P?nt=b8(nt,P):Oe&&Ye>1&&nt.reverse(),X&&D<Ye&&(nt.length=D),this&&this!==Xt&&this instanceof Re&&(Yr=Ue||vl(Yr)),Yr.apply(vr,nt)}return Re}function Im(s,a){return function(f,p){return Tx(f,s,a(p),{})}}function bu(s,a){return function(f,p){var b;if(f===n&&p===n)return a;if(f!==n&&(b=f),p!==n){if(b===n)return p;typeof f=="string"||typeof p=="string"?(f=Fn(f),p=Fn(p)):(f=vm(f),p=vm(p)),b=s(f,p)}return b}}function Sh(s){return qr(function(a){return a=Mt(a,Nn(Ae())),qe(function(f){var p=this;return s(a,function(b){return Bn(b,p,f)})})})}function xu(s,a){a=a===n?" ":Fn(a);var f=a.length;if(f<2)return f?yh(a,s):a;var p=yh(a,uu(s/Ko(a)));return $o(a)?xi(pr(p),0,s).join(""):p.slice(0,s)}function r8(s,a,f,p){var b=a&L,S=vl(s);function I(){for(var P=-1,D=arguments.length,Y=-1,X=p.length,ie=z(X+D),ge=this&&this!==Xt&&this instanceof I?S:s;++Y<X;)ie[Y]=p[Y];for(;D--;)ie[Y++]=arguments[++P];return Bn(ge,b?f:this,ie)}return I}function jm(s){return function(a,f,p){return p&&typeof p!="number"&&gn(a,f,p)&&(f=p=n),a=Zr(a),f===n?(f=a,a=0):f=Zr(f),p=p===n?a<f?1:-1:Zr(p),zx(a,f,p,s)}}function Cu(s){return function(a,f){return typeof a=="string"&&typeof f=="string"||(a=ir(a),f=ir(f)),s(a,f)}}function Pm(s,a,f,p,b,S,I,P,D,Y){var X=a&x,ie=X?I:n,ge=X?n:I,Le=X?S:n,Oe=X?n:S;a|=X?E:A,a&=~(X?A:E),a&M||(a&=~(L|O));var Ue=[s,a,b,Le,ie,Oe,ge,P,D,Y],Re=f.apply(n,Ue);return jh(s)&&qm(Re,Ue),Re.placeholder=p,Jm(Re,s,a)}function Eh(s){var a=zt[s];return function(f,p){if(f=ir(f),p=p==null?0:rn(Ve(p),292),p&&Jp(f)){var b=(ft(f)+"e").split("e"),S=a(b[0]+"e"+(+b[1]+p));return b=(ft(S)+"e").split("e"),+(b[0]+"e"+(+b[1]-p))}return a(f)}}var i8=Go&&1/Qa(new Go([,-0]))[1]==te?function(s){return new Go(s)}:Gh;function Bm(s){return function(a){var f=on(a);return f==R?rh(a):f==le?_b(a):db(a,s(a))}}function Kr(s,a,f,p,b,S,I,P){var D=a&O;if(!D&&typeof s!="function")throw new Qn(l);var Y=p?p.length:0;if(Y||(a&=~(E|A),p=b=n),I=I===n?I:Vt(Ve(I),0),P=P===n?P:Ve(P),Y-=b?b.length:0,a&A){var X=p,ie=b;p=b=n}var ge=D?n:Th(s),Le=[s,a,f,p,b,X,ie,S,I,P];if(ge&&y8(Le,ge),s=Le[0],a=Le[1],f=Le[2],p=Le[3],b=Le[4],P=Le[9]=Le[9]===n?D?0:s.length:Vt(Le[9]-Y,0),!P&&a&(x|y)&&(a&=~(x|y)),!a||a==L)var Oe=t8(s,a,f);else a==x||a==y?Oe=n8(s,a,P):(a==E||a==(L|E))&&!b.length?Oe=r8(s,a,f,p):Oe=_u.apply(n,Le);var Ue=ge?mm:qm;return Jm(Ue(Oe,Le),s,a)}function Nm(s,a,f,p){return s===n||kr(s,Jo[f])&&!gt.call(p,f)?a:s}function Fm(s,a,f,p,b,S){return Rt(s)&&Rt(a)&&(S.set(a,s),ku(s,a,n,Fm,S),S.delete(a)),s}function o8(s){return _l(s)?n:s}function Dm(s,a,f,p,b,S){var I=f&k,P=s.length,D=a.length;if(P!=D&&!(I&&D>P))return!1;var Y=S.get(s),X=S.get(a);if(Y&&X)return Y==a&&X==s;var ie=-1,ge=!0,Le=f&_?new Qi:n;for(S.set(s,a),S.set(a,s);++ie<P;){var Oe=s[ie],Ue=a[ie];if(p)var Re=I?p(Ue,Oe,ie,a,s,S):p(Oe,Ue,ie,s,a,S);if(Re!==n){if(Re)continue;ge=!1;break}if(Le){if(!Yf(a,function(Ye,nt){if(!ll(Le,nt)&&(Oe===Ye||b(Oe,Ye,f,p,S)))return Le.push(nt)})){ge=!1;break}}else if(!(Oe===Ue||b(Oe,Ue,f,p,S))){ge=!1;break}}return S.delete(s),S.delete(a),ge}function s8(s,a,f,p,b,S,I){switch(f){case Ze:if(s.byteLength!=a.byteLength||s.byteOffset!=a.byteOffset)return!1;s=s.buffer,a=a.buffer;case je:return!(s.byteLength!=a.byteLength||!S(new ou(s),new ou(a)));case fe:case ce:case H:return kr(+s,+a);case He:return s.name==a.name&&s.message==a.message;case ae:case re:return s==a+"";case R:var P=rh;case le:var D=p&k;if(P||(P=Qa),s.size!=a.size&&!D)return!1;var Y=I.get(s);if(Y)return Y==a;p|=_,I.set(s,a);var X=Dm(P(s),P(a),p,b,S,I);return I.delete(s),X;case de:if(hl)return hl.call(s)==hl.call(a)}return!1}function l8(s,a,f,p,b,S){var I=f&k,P=Mh(s),D=P.length,Y=Mh(a),X=Y.length;if(D!=X&&!I)return!1;for(var ie=D;ie--;){var ge=P[ie];if(!(I?ge in a:gt.call(a,ge)))return!1}var Le=S.get(s),Oe=S.get(a);if(Le&&Oe)return Le==a&&Oe==s;var Ue=!0;S.set(s,a),S.set(a,s);for(var Re=I;++ie<D;){ge=P[ie];var Ye=s[ge],nt=a[ge];if(p)var Wn=I?p(nt,Ye,ge,a,s,S):p(Ye,nt,ge,s,a,S);if(!(Wn===n?Ye===nt||b(Ye,nt,f,p,S):Wn)){Ue=!1;break}Re||(Re=ge=="constructor")}if(Ue&&!Re){var pn=s.constructor,Hn=a.constructor;pn!=Hn&&"constructor"in s&&"constructor"in a&&!(typeof pn=="function"&&pn instanceof pn&&typeof Hn=="function"&&Hn instanceof Hn)&&(Ue=!1)}return S.delete(s),S.delete(a),Ue}function qr(s){return Bh($m(s,n,e1),s+"")}function Mh(s){return om(s,qt,Rh)}function Ah(s){return om(s,xn,Wm)}var Th=fu?function(s){return fu.get(s)}:Gh;function Lu(s){for(var a=s.name+"",f=Zo[a],p=gt.call(Zo,a)?f.length:0;p--;){var b=f[p],S=b.func;if(S==null||S==s)return b.name}return a}function es(s){var a=gt.call(C,"placeholder")?C:s;return a.placeholder}function Ae(){var s=C.iteratee||qh;return s=s===qh?am:s,arguments.length?s(arguments[0],arguments[1]):s}function Su(s,a){var f=s.__data__;return p8(a)?f[typeof a=="string"?"string":"hash"]:f.map}function Oh(s){for(var a=qt(s),f=a.length;f--;){var p=a[f],b=s[p];a[f]=[p,b,Vm(b)]}return a}function no(s,a){var f=vb(s,a);return lm(f)?f:n}function a8(s){var a=gt.call(s,Yi),f=s[Yi];try{s[Yi]=n;var p=!0}catch{}var b=ru.call(s);return p&&(a?s[Yi]=f:delete s[Yi]),b}var Rh=oh?function(s){return s==null?[]:(s=vt(s),mi(oh(s),function(a){return Kp.call(s,a)}))}:Zh,Wm=oh?function(s){for(var a=[];s;)ki(a,Rh(s)),s=su(s);return a}:Zh,on=dn;(sh&&on(new sh(new ArrayBuffer(1)))!=Ze||ul&&on(new ul)!=R||lh&&on(lh.resolve())!=se||Go&&on(new Go)!=le||cl&&on(new cl)!=ke)&&(on=function(s){var a=dn(s),f=a==$?s.constructor:n,p=f?ro(f):"";if(p)switch(p){case Ub:return Ze;case $b:return R;case Kb:return se;case qb:return le;case Jb:return ke}return a});function u8(s,a,f){for(var p=-1,b=f.length;++p<b;){var S=f[p],I=S.size;switch(S.type){case"drop":s+=I;break;case"dropRight":a-=I;break;case"take":a=rn(a,s+I);break;case"takeRight":s=Vt(s,a-I);break}}return{start:s,end:a}}function c8(s){var a=s.match(m_);return a?a[1].split(k_):[]}function Hm(s,a,f){a=bi(a,s);for(var p=-1,b=a.length,S=!1;++p<b;){var I=Ar(a[p]);if(!(S=s!=null&&f(s,I)))break;s=s[I]}return S||++p!=b?S:(b=s==null?0:s.length,!!b&&Iu(b)&&Jr(I,b)&&(We(s)||io(s)))}function f8(s){var a=s.length,f=new s.constructor(a);return a&&typeof s[0]=="string"&>.call(s,"index")&&(f.index=s.index,f.input=s.input),f}function zm(s){return typeof s.constructor=="function"&&!yl(s)?Yo(su(s)):{}}function h8(s,a,f){var p=s.constructor;switch(a){case je:return Lh(s);case fe:case ce:return new p(+s);case Ze:return Gx(s,f);case Qe:case Et:case Zt:case Zn:case gi:case K:case ve:case be:case Fe:return Cm(s,f);case R:return new p;case H:case re:return new p(s);case ae:return Zx(s);case le:return new p;case de:return Yx(s)}}function d8(s,a){var f=a.length;if(!f)return s;var p=f-1;return a[p]=(f>1?"& ":"")+a[p],a=a.join(f>2?", ":" "),s.replace(p_,`{
- /* [wrapped with `+a+`] */
- `)}function g8(s){return We(s)||io(s)||!!(qp&&s&&s[qp])}function Jr(s,a){var f=typeof s;return a=a??oe,!!a&&(f=="number"||f!="symbol"&&S_.test(s))&&s>-1&&s%1==0&&s<a}function gn(s,a,f){if(!Rt(f))return!1;var p=typeof a;return(p=="number"?bn(f)&&Jr(a,f.length):p=="string"&&a in f)?kr(f[a],s):!1}function Ih(s,a){if(We(s))return!1;var f=typeof s;return f=="number"||f=="symbol"||f=="boolean"||s==null||Dn(s)?!0:zo.test(s)||!sl.test(s)||a!=null&&s in vt(a)}function p8(s){var a=typeof s;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?s!=="__proto__":s===null}function jh(s){var a=Lu(s),f=C[a];if(typeof f!="function"||!(a in et.prototype))return!1;if(s===f)return!0;var p=Th(f);return!!p&&s===p[0]}function m8(s){return!!Vp&&Vp in s}var k8=tu?Gr:Yh;function yl(s){var a=s&&s.constructor,f=typeof a=="function"&&a.prototype||Jo;return s===f}function Vm(s){return s===s&&!Rt(s)}function Um(s,a){return function(f){return f==null?!1:f[s]===a&&(a!==n||s in vt(f))}}function v8(s){var a=Ou(s,function(p){return f.size===h&&f.clear(),p}),f=a.cache;return a}function y8(s,a){var f=s[1],p=a[1],b=f|p,S=b<(L|O|j),I=p==j&&f==x||p==j&&f==N&&s[7].length<=a[8]||p==(j|N)&&a[7].length<=a[8]&&f==x;if(!(S||I))return s;p&L&&(s[2]=a[2],b|=f&L?0:M);var P=a[3];if(P){var D=s[3];s[3]=D?Sm(D,P,a[4]):P,s[4]=D?vi(s[3],d):a[4]}return P=a[5],P&&(D=s[5],s[5]=D?Em(D,P,a[6]):P,s[6]=D?vi(s[5],d):a[6]),P=a[7],P&&(s[7]=P),p&j&&(s[8]=s[8]==null?a[8]:rn(s[8],a[8])),s[9]==null&&(s[9]=a[9]),s[0]=a[0],s[1]=b,s}function w8(s){var a=[];if(s!=null)for(var f in vt(s))a.push(f);return a}function _8(s){return ru.call(s)}function $m(s,a,f){return a=Vt(a===n?s.length-1:a,0),function(){for(var p=arguments,b=-1,S=Vt(p.length-a,0),I=z(S);++b<S;)I[b]=p[a+b];b=-1;for(var P=z(a+1);++b<a;)P[b]=p[b];return P[a]=f(I),Bn(s,this,P)}}function Km(s,a){return a.length<2?s:to(s,nr(a,0,-1))}function b8(s,a){for(var f=s.length,p=rn(a.length,f),b=_n(s);p--;){var S=a[p];s[p]=Jr(S,f)?b[S]:n}return s}function Ph(s,a){if(!(a==="constructor"&&typeof s[a]=="function")&&a!="__proto__")return s[a]}var qm=Gm(mm),wl=Nb||function(s,a){return Xt.setTimeout(s,a)},Bh=Gm($x);function Jm(s,a,f){var p=a+"";return Bh(s,d8(p,x8(c8(p),f)))}function Gm(s){var a=0,f=0;return function(){var p=Hb(),b=ee-(p-f);if(f=p,b>0){if(++a>=V)return arguments[0]}else a=0;return s.apply(n,arguments)}}function Eu(s,a){var f=-1,p=s.length,b=p-1;for(a=a===n?p:a;++f<a;){var S=vh(f,b),I=s[S];s[S]=s[f],s[f]=I}return s.length=a,s}var Zm=v8(function(s){var a=[];return s.charCodeAt(0)===46&&a.push(""),s.replace(h_,function(f,p,b,S){a.push(b?S.replace(w_,"$1"):p||f)}),a});function Ar(s){if(typeof s=="string"||Dn(s))return s;var a=s+"";return a=="0"&&1/s==-te?"-0":a}function ro(s){if(s!=null){try{return nu.call(s)}catch{}try{return s+""}catch{}}return""}function x8(s,a){return Xn(Xe,function(f){var p="_."+f[0];a&f[1]&&!Ya(s,p)&&s.push(p)}),s.sort()}function Ym(s){if(s instanceof et)return s.clone();var a=new er(s.__wrapped__,s.__chain__);return a.__actions__=_n(s.__actions__),a.__index__=s.__index__,a.__values__=s.__values__,a}function C8(s,a,f){(f?gn(s,a,f):a===n)?a=1:a=Vt(Ve(a),0);var p=s==null?0:s.length;if(!p||a<1)return[];for(var b=0,S=0,I=z(uu(p/a));b<p;)I[S++]=nr(s,b,b+=a);return I}function L8(s){for(var a=-1,f=s==null?0:s.length,p=0,b=[];++a<f;){var S=s[a];S&&(b[p++]=S)}return b}function S8(){var s=arguments.length;if(!s)return[];for(var a=z(s-1),f=arguments[0],p=s;p--;)a[p-1]=arguments[p];return ki(We(f)?_n(f):[f],Qt(a,1))}var E8=qe(function(s,a){return Nt(s)?gl(s,Qt(a,1,Nt,!0)):[]}),M8=qe(function(s,a){var f=rr(a);return Nt(f)&&(f=n),Nt(s)?gl(s,Qt(a,1,Nt,!0),Ae(f,2)):[]}),A8=qe(function(s,a){var f=rr(a);return Nt(f)&&(f=n),Nt(s)?gl(s,Qt(a,1,Nt,!0),n,f):[]});function T8(s,a,f){var p=s==null?0:s.length;return p?(a=f||a===n?1:Ve(a),nr(s,a<0?0:a,p)):[]}function O8(s,a,f){var p=s==null?0:s.length;return p?(a=f||a===n?1:Ve(a),a=p-a,nr(s,0,a<0?0:a)):[]}function R8(s,a){return s&&s.length?yu(s,Ae(a,3),!0,!0):[]}function I8(s,a){return s&&s.length?yu(s,Ae(a,3),!0):[]}function j8(s,a,f,p){var b=s==null?0:s.length;return b?(f&&typeof f!="number"&&gn(s,a,f)&&(f=0,p=b),Sx(s,a,f,p)):[]}function Xm(s,a,f){var p=s==null?0:s.length;if(!p)return-1;var b=f==null?0:Ve(f);return b<0&&(b=Vt(p+b,0)),Xa(s,Ae(a,3),b)}function Qm(s,a,f){var p=s==null?0:s.length;if(!p)return-1;var b=p-1;return f!==n&&(b=Ve(f),b=f<0?Vt(p+b,0):rn(b,p-1)),Xa(s,Ae(a,3),b,!0)}function e1(s){var a=s==null?0:s.length;return a?Qt(s,1):[]}function P8(s){var a=s==null?0:s.length;return a?Qt(s,te):[]}function B8(s,a){var f=s==null?0:s.length;return f?(a=a===n?1:Ve(a),Qt(s,a)):[]}function N8(s){for(var a=-1,f=s==null?0:s.length,p={};++a<f;){var b=s[a];p[b[0]]=b[1]}return p}function t1(s){return s&&s.length?s[0]:n}function F8(s,a,f){var p=s==null?0:s.length;if(!p)return-1;var b=f==null?0:Ve(f);return b<0&&(b=Vt(p+b,0)),Uo(s,a,b)}function D8(s){var a=s==null?0:s.length;return a?nr(s,0,-1):[]}var W8=qe(function(s){var a=Mt(s,xh);return a.length&&a[0]===s[0]?dh(a):[]}),H8=qe(function(s){var a=rr(s),f=Mt(s,xh);return a===rr(f)?a=n:f.pop(),f.length&&f[0]===s[0]?dh(f,Ae(a,2)):[]}),z8=qe(function(s){var a=rr(s),f=Mt(s,xh);return a=typeof a=="function"?a:n,a&&f.pop(),f.length&&f[0]===s[0]?dh(f,n,a):[]});function V8(s,a){return s==null?"":Db.call(s,a)}function rr(s){var a=s==null?0:s.length;return a?s[a-1]:n}function U8(s,a,f){var p=s==null?0:s.length;if(!p)return-1;var b=p;return f!==n&&(b=Ve(f),b=b<0?Vt(p+b,0):rn(b,p-1)),a===a?xb(s,a,b):Xa(s,Pp,b,!0)}function $8(s,a){return s&&s.length?hm(s,Ve(a)):n}var K8=qe(n1);function n1(s,a){return s&&s.length&&a&&a.length?kh(s,a):s}function q8(s,a,f){return s&&s.length&&a&&a.length?kh(s,a,Ae(f,2)):s}function J8(s,a,f){return s&&s.length&&a&&a.length?kh(s,a,n,f):s}var G8=qr(function(s,a){var f=s==null?0:s.length,p=uh(s,a);return pm(s,Mt(a,function(b){return Jr(b,f)?+b:b}).sort(Lm)),p});function Z8(s,a){var f=[];if(!(s&&s.length))return f;var p=-1,b=[],S=s.length;for(a=Ae(a,3);++p<S;){var I=s[p];a(I,p,s)&&(f.push(I),b.push(p))}return pm(s,b),f}function Nh(s){return s==null?s:Vb.call(s)}function Y8(s,a,f){var p=s==null?0:s.length;return p?(f&&typeof f!="number"&&gn(s,a,f)?(a=0,f=p):(a=a==null?0:Ve(a),f=f===n?p:Ve(f)),nr(s,a,f)):[]}function X8(s,a){return vu(s,a)}function Q8(s,a,f){return wh(s,a,Ae(f,2))}function e6(s,a){var f=s==null?0:s.length;if(f){var p=vu(s,a);if(p<f&&kr(s[p],a))return p}return-1}function t6(s,a){return vu(s,a,!0)}function n6(s,a,f){return wh(s,a,Ae(f,2),!0)}function r6(s,a){var f=s==null?0:s.length;if(f){var p=vu(s,a,!0)-1;if(kr(s[p],a))return p}return-1}function i6(s){return s&&s.length?km(s):[]}function o6(s,a){return s&&s.length?km(s,Ae(a,2)):[]}function s6(s){var a=s==null?0:s.length;return a?nr(s,1,a):[]}function l6(s,a,f){return s&&s.length?(a=f||a===n?1:Ve(a),nr(s,0,a<0?0:a)):[]}function a6(s,a,f){var p=s==null?0:s.length;return p?(a=f||a===n?1:Ve(a),a=p-a,nr(s,a<0?0:a,p)):[]}function u6(s,a){return s&&s.length?yu(s,Ae(a,3),!1,!0):[]}function c6(s,a){return s&&s.length?yu(s,Ae(a,3)):[]}var f6=qe(function(s){return _i(Qt(s,1,Nt,!0))}),h6=qe(function(s){var a=rr(s);return Nt(a)&&(a=n),_i(Qt(s,1,Nt,!0),Ae(a,2))}),d6=qe(function(s){var a=rr(s);return a=typeof a=="function"?a:n,_i(Qt(s,1,Nt,!0),n,a)});function g6(s){return s&&s.length?_i(s):[]}function p6(s,a){return s&&s.length?_i(s,Ae(a,2)):[]}function m6(s,a){return a=typeof a=="function"?a:n,s&&s.length?_i(s,n,a):[]}function Fh(s){if(!(s&&s.length))return[];var a=0;return s=mi(s,function(f){if(Nt(f))return a=Vt(f.length,a),!0}),th(a,function(f){return Mt(s,Xf(f))})}function r1(s,a){if(!(s&&s.length))return[];var f=Fh(s);return a==null?f:Mt(f,function(p){return Bn(a,n,p)})}var k6=qe(function(s,a){return Nt(s)?gl(s,a):[]}),v6=qe(function(s){return bh(mi(s,Nt))}),y6=qe(function(s){var a=rr(s);return Nt(a)&&(a=n),bh(mi(s,Nt),Ae(a,2))}),w6=qe(function(s){var a=rr(s);return a=typeof a=="function"?a:n,bh(mi(s,Nt),n,a)}),_6=qe(Fh);function b6(s,a){return _m(s||[],a||[],dl)}function x6(s,a){return _m(s||[],a||[],kl)}var C6=qe(function(s){var a=s.length,f=a>1?s[a-1]:n;return f=typeof f=="function"?(s.pop(),f):n,r1(s,f)});function i1(s){var a=C(s);return a.__chain__=!0,a}function L6(s,a){return a(s),s}function Mu(s,a){return a(s)}var S6=qr(function(s){var a=s.length,f=a?s[0]:0,p=this.__wrapped__,b=function(S){return uh(S,s)};return a>1||this.__actions__.length||!(p instanceof et)||!Jr(f)?this.thru(b):(p=p.slice(f,+f+(a?1:0)),p.__actions__.push({func:Mu,args:[b],thisArg:n}),new er(p,this.__chain__).thru(function(S){return a&&!S.length&&S.push(n),S}))});function E6(){return i1(this)}function M6(){return new er(this.value(),this.__chain__)}function A6(){this.__values__===n&&(this.__values__=v1(this.value()));var s=this.__index__>=this.__values__.length,a=s?n:this.__values__[this.__index__++];return{done:s,value:a}}function T6(){return this}function O6(s){for(var a,f=this;f instanceof du;){var p=Ym(f);p.__index__=0,p.__values__=n,a?b.__wrapped__=p:a=p;var b=p;f=f.__wrapped__}return b.__wrapped__=s,a}function R6(){var s=this.__wrapped__;if(s instanceof et){var a=s;return this.__actions__.length&&(a=new et(this)),a=a.reverse(),a.__actions__.push({func:Mu,args:[Nh],thisArg:n}),new er(a,this.__chain__)}return this.thru(Nh)}function I6(){return wm(this.__wrapped__,this.__actions__)}var j6=wu(function(s,a,f){gt.call(s,f)?++s[f]:$r(s,f,1)});function P6(s,a,f){var p=We(s)?Ip:Lx;return f&&gn(s,a,f)&&(a=n),p(s,Ae(a,3))}function B6(s,a){var f=We(s)?mi:rm;return f(s,Ae(a,3))}var N6=Om(Xm),F6=Om(Qm);function D6(s,a){return Qt(Au(s,a),1)}function W6(s,a){return Qt(Au(s,a),te)}function H6(s,a,f){return f=f===n?1:Ve(f),Qt(Au(s,a),f)}function o1(s,a){var f=We(s)?Xn:wi;return f(s,Ae(a,3))}function s1(s,a){var f=We(s)?sb:nm;return f(s,Ae(a,3))}var z6=wu(function(s,a,f){gt.call(s,f)?s[f].push(a):$r(s,f,[a])});function V6(s,a,f,p){s=bn(s)?s:ns(s),f=f&&!p?Ve(f):0;var b=s.length;return f<0&&(f=Vt(b+f,0)),ju(s)?f<=b&&s.indexOf(a,f)>-1:!!b&&Uo(s,a,f)>-1}var U6=qe(function(s,a,f){var p=-1,b=typeof a=="function",S=bn(s)?z(s.length):[];return wi(s,function(I){S[++p]=b?Bn(a,I,f):pl(I,a,f)}),S}),$6=wu(function(s,a,f){$r(s,f,a)});function Au(s,a){var f=We(s)?Mt:um;return f(s,Ae(a,3))}function K6(s,a,f,p){return s==null?[]:(We(a)||(a=a==null?[]:[a]),f=p?n:f,We(f)||(f=f==null?[]:[f]),dm(s,a,f))}var q6=wu(function(s,a,f){s[f?0:1].push(a)},function(){return[[],[]]});function J6(s,a,f){var p=We(s)?Zf:Np,b=arguments.length<3;return p(s,Ae(a,4),f,b,wi)}function G6(s,a,f){var p=We(s)?lb:Np,b=arguments.length<3;return p(s,Ae(a,4),f,b,nm)}function Z6(s,a){var f=We(s)?mi:rm;return f(s,Ru(Ae(a,3)))}function Y6(s){var a=We(s)?Xp:Vx;return a(s)}function X6(s,a,f){(f?gn(s,a,f):a===n)?a=1:a=Ve(a);var p=We(s)?wx:Ux;return p(s,a)}function Q6(s){var a=We(s)?_x:Kx;return a(s)}function eC(s){if(s==null)return 0;if(bn(s))return ju(s)?Ko(s):s.length;var a=on(s);return a==R||a==le?s.size:ph(s).length}function tC(s,a,f){var p=We(s)?Yf:qx;return f&&gn(s,a,f)&&(a=n),p(s,Ae(a,3))}var nC=qe(function(s,a){if(s==null)return[];var f=a.length;return f>1&&gn(s,a[0],a[1])?a=[]:f>2&&gn(a[0],a[1],a[2])&&(a=[a[0]]),dm(s,Qt(a,1),[])}),Tu=Bb||function(){return Xt.Date.now()};function rC(s,a){if(typeof a!="function")throw new Qn(l);return s=Ve(s),function(){if(--s<1)return a.apply(this,arguments)}}function l1(s,a,f){return a=f?n:a,a=s&&a==null?s.length:a,Kr(s,j,n,n,n,n,a)}function a1(s,a){var f;if(typeof a!="function")throw new Qn(l);return s=Ve(s),function(){return--s>0&&(f=a.apply(this,arguments)),s<=1&&(a=n),f}}var Dh=qe(function(s,a,f){var p=L;if(f.length){var b=vi(f,es(Dh));p|=E}return Kr(s,p,a,f,b)}),u1=qe(function(s,a,f){var p=L|O;if(f.length){var b=vi(f,es(u1));p|=E}return Kr(a,p,s,f,b)});function c1(s,a,f){a=f?n:a;var p=Kr(s,x,n,n,n,n,n,a);return p.placeholder=c1.placeholder,p}function f1(s,a,f){a=f?n:a;var p=Kr(s,y,n,n,n,n,n,a);return p.placeholder=f1.placeholder,p}function h1(s,a,f){var p,b,S,I,P,D,Y=0,X=!1,ie=!1,ge=!0;if(typeof s!="function")throw new Qn(l);a=ir(a)||0,Rt(f)&&(X=!!f.leading,ie="maxWait"in f,S=ie?Vt(ir(f.maxWait)||0,a):S,ge="trailing"in f?!!f.trailing:ge);function Le(Ft){var vr=p,Yr=b;return p=b=n,Y=Ft,I=s.apply(Yr,vr),I}function Oe(Ft){return Y=Ft,P=wl(Ye,a),X?Le(Ft):I}function Ue(Ft){var vr=Ft-D,Yr=Ft-Y,O1=a-vr;return ie?rn(O1,S-Yr):O1}function Re(Ft){var vr=Ft-D,Yr=Ft-Y;return D===n||vr>=a||vr<0||ie&&Yr>=S}function Ye(){var Ft=Tu();if(Re(Ft))return nt(Ft);P=wl(Ye,Ue(Ft))}function nt(Ft){return P=n,ge&&p?Le(Ft):(p=b=n,I)}function Wn(){P!==n&&bm(P),Y=0,p=D=b=P=n}function pn(){return P===n?I:nt(Tu())}function Hn(){var Ft=Tu(),vr=Re(Ft);if(p=arguments,b=this,D=Ft,vr){if(P===n)return Oe(D);if(ie)return bm(P),P=wl(Ye,a),Le(D)}return P===n&&(P=wl(Ye,a)),I}return Hn.cancel=Wn,Hn.flush=pn,Hn}var iC=qe(function(s,a){return tm(s,1,a)}),oC=qe(function(s,a,f){return tm(s,ir(a)||0,f)});function sC(s){return Kr(s,B)}function Ou(s,a){if(typeof s!="function"||a!=null&&typeof a!="function")throw new Qn(l);var f=function(){var p=arguments,b=a?a.apply(this,p):p[0],S=f.cache;if(S.has(b))return S.get(b);var I=s.apply(this,p);return f.cache=S.set(b,I)||S,I};return f.cache=new(Ou.Cache||Ur),f}Ou.Cache=Ur;function Ru(s){if(typeof s!="function")throw new Qn(l);return function(){var a=arguments;switch(a.length){case 0:return!s.call(this);case 1:return!s.call(this,a[0]);case 2:return!s.call(this,a[0],a[1]);case 3:return!s.call(this,a[0],a[1],a[2])}return!s.apply(this,a)}}function lC(s){return a1(2,s)}var aC=Jx(function(s,a){a=a.length==1&&We(a[0])?Mt(a[0],Nn(Ae())):Mt(Qt(a,1),Nn(Ae()));var f=a.length;return qe(function(p){for(var b=-1,S=rn(p.length,f);++b<S;)p[b]=a[b].call(this,p[b]);return Bn(s,this,p)})}),Wh=qe(function(s,a){var f=vi(a,es(Wh));return Kr(s,E,n,a,f)}),d1=qe(function(s,a){var f=vi(a,es(d1));return Kr(s,A,n,a,f)}),uC=qr(function(s,a){return Kr(s,N,n,n,n,a)});function cC(s,a){if(typeof s!="function")throw new Qn(l);return a=a===n?a:Ve(a),qe(s,a)}function fC(s,a){if(typeof s!="function")throw new Qn(l);return a=a==null?0:Vt(Ve(a),0),qe(function(f){var p=f[a],b=xi(f,0,a);return p&&ki(b,p),Bn(s,this,b)})}function hC(s,a,f){var p=!0,b=!0;if(typeof s!="function")throw new Qn(l);return Rt(f)&&(p="leading"in f?!!f.leading:p,b="trailing"in f?!!f.trailing:b),h1(s,a,{leading:p,maxWait:a,trailing:b})}function dC(s){return l1(s,1)}function gC(s,a){return Wh(Ch(a),s)}function pC(){if(!arguments.length)return[];var s=arguments[0];return We(s)?s:[s]}function mC(s){return tr(s,w)}function kC(s,a){return a=typeof a=="function"?a:n,tr(s,w,a)}function vC(s){return tr(s,g|w)}function yC(s,a){return a=typeof a=="function"?a:n,tr(s,g|w,a)}function wC(s,a){return a==null||em(s,a,qt(a))}function kr(s,a){return s===a||s!==s&&a!==a}var _C=Cu(hh),bC=Cu(function(s,a){return s>=a}),io=sm(function(){return arguments}())?sm:function(s){return Pt(s)&>.call(s,"callee")&&!Kp.call(s,"callee")},We=z.isArray,xC=Ep?Nn(Ep):Ox;function bn(s){return s!=null&&Iu(s.length)&&!Gr(s)}function Nt(s){return Pt(s)&&bn(s)}function CC(s){return s===!0||s===!1||Pt(s)&&dn(s)==fe}var Ci=Fb||Yh,LC=Mp?Nn(Mp):Rx;function SC(s){return Pt(s)&&s.nodeType===1&&!_l(s)}function EC(s){if(s==null)return!0;if(bn(s)&&(We(s)||typeof s=="string"||typeof s.splice=="function"||Ci(s)||ts(s)||io(s)))return!s.length;var a=on(s);if(a==R||a==le)return!s.size;if(yl(s))return!ph(s).length;for(var f in s)if(gt.call(s,f))return!1;return!0}function MC(s,a){return ml(s,a)}function AC(s,a,f){f=typeof f=="function"?f:n;var p=f?f(s,a):n;return p===n?ml(s,a,n,f):!!p}function Hh(s){if(!Pt(s))return!1;var a=dn(s);return a==He||a==me||typeof s.message=="string"&&typeof s.name=="string"&&!_l(s)}function TC(s){return typeof s=="number"&&Jp(s)}function Gr(s){if(!Rt(s))return!1;var a=dn(s);return a==ot||a==T||a==q||a==he}function g1(s){return typeof s=="number"&&s==Ve(s)}function Iu(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=oe}function Rt(s){var a=typeof s;return s!=null&&(a=="object"||a=="function")}function Pt(s){return s!=null&&typeof s=="object"}var p1=Ap?Nn(Ap):jx;function OC(s,a){return s===a||gh(s,a,Oh(a))}function RC(s,a,f){return f=typeof f=="function"?f:n,gh(s,a,Oh(a),f)}function IC(s){return m1(s)&&s!=+s}function jC(s){if(k8(s))throw new De(o);return lm(s)}function PC(s){return s===null}function BC(s){return s==null}function m1(s){return typeof s=="number"||Pt(s)&&dn(s)==H}function _l(s){if(!Pt(s)||dn(s)!=$)return!1;var a=su(s);if(a===null)return!0;var f=gt.call(a,"constructor")&&a.constructor;return typeof f=="function"&&f instanceof f&&nu.call(f)==Rb}var zh=Tp?Nn(Tp):Px;function NC(s){return g1(s)&&s>=-oe&&s<=oe}var k1=Op?Nn(Op):Bx;function ju(s){return typeof s=="string"||!We(s)&&Pt(s)&&dn(s)==re}function Dn(s){return typeof s=="symbol"||Pt(s)&&dn(s)==de}var ts=Rp?Nn(Rp):Nx;function FC(s){return s===n}function DC(s){return Pt(s)&&on(s)==ke}function WC(s){return Pt(s)&&dn(s)==Te}var HC=Cu(mh),zC=Cu(function(s,a){return s<=a});function v1(s){if(!s)return[];if(bn(s))return ju(s)?pr(s):_n(s);if(al&&s[al])return wb(s[al]());var a=on(s),f=a==R?rh:a==le?Qa:ns;return f(s)}function Zr(s){if(!s)return s===0?s:0;if(s=ir(s),s===te||s===-te){var a=s<0?-1:1;return a*Ge}return s===s?s:0}function Ve(s){var a=Zr(s),f=a%1;return a===a?f?a-f:a:0}function y1(s){return s?eo(Ve(s),0,Ke):0}function ir(s){if(typeof s=="number")return s;if(Dn(s))return lt;if(Rt(s)){var a=typeof s.valueOf=="function"?s.valueOf():s;s=Rt(a)?a+"":a}if(typeof s!="string")return s===0?s:+s;s=Fp(s);var f=x_.test(s);return f||L_.test(s)?rb(s.slice(2),f?2:8):b_.test(s)?lt:+s}function w1(s){return Mr(s,xn(s))}function VC(s){return s?eo(Ve(s),-oe,oe):s===0?s:0}function ft(s){return s==null?"":Fn(s)}var UC=Xo(function(s,a){if(yl(a)||bn(a)){Mr(a,qt(a),s);return}for(var f in a)gt.call(a,f)&&dl(s,f,a[f])}),_1=Xo(function(s,a){Mr(a,xn(a),s)}),Pu=Xo(function(s,a,f,p){Mr(a,xn(a),s,p)}),$C=Xo(function(s,a,f,p){Mr(a,qt(a),s,p)}),KC=qr(uh);function qC(s,a){var f=Yo(s);return a==null?f:Qp(f,a)}var JC=qe(function(s,a){s=vt(s);var f=-1,p=a.length,b=p>2?a[2]:n;for(b&&gn(a[0],a[1],b)&&(p=1);++f<p;)for(var S=a[f],I=xn(S),P=-1,D=I.length;++P<D;){var Y=I[P],X=s[Y];(X===n||kr(X,Jo[Y])&&!gt.call(s,Y))&&(s[Y]=S[Y])}return s}),GC=qe(function(s){return s.push(n,Fm),Bn(b1,n,s)});function ZC(s,a){return jp(s,Ae(a,3),Er)}function YC(s,a){return jp(s,Ae(a,3),fh)}function XC(s,a){return s==null?s:ch(s,Ae(a,3),xn)}function QC(s,a){return s==null?s:im(s,Ae(a,3),xn)}function eL(s,a){return s&&Er(s,Ae(a,3))}function tL(s,a){return s&&fh(s,Ae(a,3))}function nL(s){return s==null?[]:mu(s,qt(s))}function rL(s){return s==null?[]:mu(s,xn(s))}function Vh(s,a,f){var p=s==null?n:to(s,a);return p===n?f:p}function iL(s,a){return s!=null&&Hm(s,a,Ex)}function Uh(s,a){return s!=null&&Hm(s,a,Mx)}var oL=Im(function(s,a,f){a!=null&&typeof a.toString!="function"&&(a=ru.call(a)),s[a]=f},Kh(Cn)),sL=Im(function(s,a,f){a!=null&&typeof a.toString!="function"&&(a=ru.call(a)),gt.call(s,a)?s[a].push(f):s[a]=[f]},Ae),lL=qe(pl);function qt(s){return bn(s)?Yp(s):ph(s)}function xn(s){return bn(s)?Yp(s,!0):Fx(s)}function aL(s,a){var f={};return a=Ae(a,3),Er(s,function(p,b,S){$r(f,a(p,b,S),p)}),f}function uL(s,a){var f={};return a=Ae(a,3),Er(s,function(p,b,S){$r(f,b,a(p,b,S))}),f}var cL=Xo(function(s,a,f){ku(s,a,f)}),b1=Xo(function(s,a,f,p){ku(s,a,f,p)}),fL=qr(function(s,a){var f={};if(s==null)return f;var p=!1;a=Mt(a,function(S){return S=bi(S,s),p||(p=S.length>1),S}),Mr(s,Ah(s),f),p&&(f=tr(f,g|v|w,o8));for(var b=a.length;b--;)_h(f,a[b]);return f});function hL(s,a){return x1(s,Ru(Ae(a)))}var dL=qr(function(s,a){return s==null?{}:Wx(s,a)});function x1(s,a){if(s==null)return{};var f=Mt(Ah(s),function(p){return[p]});return a=Ae(a),gm(s,f,function(p,b){return a(p,b[0])})}function gL(s,a,f){a=bi(a,s);var p=-1,b=a.length;for(b||(b=1,s=n);++p<b;){var S=s==null?n:s[Ar(a[p])];S===n&&(p=b,S=f),s=Gr(S)?S.call(s):S}return s}function pL(s,a,f){return s==null?s:kl(s,a,f)}function mL(s,a,f,p){return p=typeof p=="function"?p:n,s==null?s:kl(s,a,f,p)}var C1=Bm(qt),L1=Bm(xn);function kL(s,a,f){var p=We(s),b=p||Ci(s)||ts(s);if(a=Ae(a,4),f==null){var S=s&&s.constructor;b?f=p?new S:[]:Rt(s)?f=Gr(S)?Yo(su(s)):{}:f={}}return(b?Xn:Er)(s,function(I,P,D){return a(f,I,P,D)}),f}function vL(s,a){return s==null?!0:_h(s,a)}function yL(s,a,f){return s==null?s:ym(s,a,Ch(f))}function wL(s,a,f,p){return p=typeof p=="function"?p:n,s==null?s:ym(s,a,Ch(f),p)}function ns(s){return s==null?[]:nh(s,qt(s))}function _L(s){return s==null?[]:nh(s,xn(s))}function bL(s,a,f){return f===n&&(f=a,a=n),f!==n&&(f=ir(f),f=f===f?f:0),a!==n&&(a=ir(a),a=a===a?a:0),eo(ir(s),a,f)}function xL(s,a,f){return a=Zr(a),f===n?(f=a,a=0):f=Zr(f),s=ir(s),Ax(s,a,f)}function CL(s,a,f){if(f&&typeof f!="boolean"&&gn(s,a,f)&&(a=f=n),f===n&&(typeof a=="boolean"?(f=a,a=n):typeof s=="boolean"&&(f=s,s=n)),s===n&&a===n?(s=0,a=1):(s=Zr(s),a===n?(a=s,s=0):a=Zr(a)),s>a){var p=s;s=a,a=p}if(f||s%1||a%1){var b=Gp();return rn(s+b*(a-s+nb("1e-"+((b+"").length-1))),a)}return vh(s,a)}var LL=Qo(function(s,a,f){return a=a.toLowerCase(),s+(f?S1(a):a)});function S1(s){return $h(ft(s).toLowerCase())}function E1(s){return s=ft(s),s&&s.replace(E_,pb).replace(K_,"")}function SL(s,a,f){s=ft(s),a=Fn(a);var p=s.length;f=f===n?p:eo(Ve(f),0,p);var b=f;return f-=a.length,f>=0&&s.slice(f,b)==a}function EL(s){return s=ft(s),s&&ol.test(s)?s.replace(il,mb):s}function ML(s){return s=ft(s),s&&d_.test(s)?s.replace(Wf,"\\$&"):s}var AL=Qo(function(s,a,f){return s+(f?"-":"")+a.toLowerCase()}),TL=Qo(function(s,a,f){return s+(f?" ":"")+a.toLowerCase()}),OL=Tm("toLowerCase");function RL(s,a,f){s=ft(s),a=Ve(a);var p=a?Ko(s):0;if(!a||p>=a)return s;var b=(a-p)/2;return xu(cu(b),f)+s+xu(uu(b),f)}function IL(s,a,f){s=ft(s),a=Ve(a);var p=a?Ko(s):0;return a&&p<a?s+xu(a-p,f):s}function jL(s,a,f){s=ft(s),a=Ve(a);var p=a?Ko(s):0;return a&&p<a?xu(a-p,f)+s:s}function PL(s,a,f){return f||a==null?a=0:a&&(a=+a),zb(ft(s).replace(Hf,""),a||0)}function BL(s,a,f){return(f?gn(s,a,f):a===n)?a=1:a=Ve(a),yh(ft(s),a)}function NL(){var s=arguments,a=ft(s[0]);return s.length<3?a:a.replace(s[1],s[2])}var FL=Qo(function(s,a,f){return s+(f?"_":"")+a.toLowerCase()});function DL(s,a,f){return f&&typeof f!="number"&&gn(s,a,f)&&(a=f=n),f=f===n?Ke:f>>>0,f?(s=ft(s),s&&(typeof a=="string"||a!=null&&!zh(a))&&(a=Fn(a),!a&&$o(s))?xi(pr(s),0,f):s.split(a,f)):[]}var WL=Qo(function(s,a,f){return s+(f?" ":"")+$h(a)});function HL(s,a,f){return s=ft(s),f=f==null?0:eo(Ve(f),0,s.length),a=Fn(a),s.slice(f,f+a.length)==a}function zL(s,a,f){var p=C.templateSettings;f&&gn(s,a,f)&&(a=n),s=ft(s),a=Pu({},a,p,Nm);var b=Pu({},a.imports,p.imports,Nm),S=qt(b),I=nh(b,S),P,D,Y=0,X=a.interpolate||Ja,ie="__p += '",ge=ih((a.escape||Ja).source+"|"+X.source+"|"+(X===qa?__:Ja).source+"|"+(a.evaluate||Ja).source+"|$","g"),Le="//# sourceURL="+(gt.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Y_+"]")+`
- `;s.replace(ge,function(Re,Ye,nt,Wn,pn,Hn){return nt||(nt=Wn),ie+=s.slice(Y,Hn).replace(M_,kb),Ye&&(P=!0,ie+=`' +
- __e(`+Ye+`) +
- '`),pn&&(D=!0,ie+=`';
- `+pn+`;
- __p += '`),nt&&(ie+=`' +
- ((__t = (`+nt+`)) == null ? '' : __t) +
- '`),Y=Hn+Re.length,Re}),ie+=`';
- `;var Oe=gt.call(a,"variable")&&a.variable;if(!Oe)ie=`with (obj) {
- `+ie+`
- }
- `;else if(y_.test(Oe))throw new De(u);ie=(D?ie.replace(Je,""):ie).replace(Yt,"$1").replace(wn,"$1;"),ie="function("+(Oe||"obj")+`) {
- `+(Oe?"":`obj || (obj = {});
- `)+"var __t, __p = ''"+(P?", __e = _.escape":"")+(D?`, __j = Array.prototype.join;
- function print() { __p += __j.call(arguments, '') }
- `:`;
- `)+ie+`return __p
- }`;var Ue=A1(function(){return at(S,Le+"return "+ie).apply(n,I)});if(Ue.source=ie,Hh(Ue))throw Ue;return Ue}function VL(s){return ft(s).toLowerCase()}function UL(s){return ft(s).toUpperCase()}function $L(s,a,f){if(s=ft(s),s&&(f||a===n))return Fp(s);if(!s||!(a=Fn(a)))return s;var p=pr(s),b=pr(a),S=Dp(p,b),I=Wp(p,b)+1;return xi(p,S,I).join("")}function KL(s,a,f){if(s=ft(s),s&&(f||a===n))return s.slice(0,zp(s)+1);if(!s||!(a=Fn(a)))return s;var p=pr(s),b=Wp(p,pr(a))+1;return xi(p,0,b).join("")}function qL(s,a,f){if(s=ft(s),s&&(f||a===n))return s.replace(Hf,"");if(!s||!(a=Fn(a)))return s;var p=pr(s),b=Dp(p,pr(a));return xi(p,b).join("")}function JL(s,a){var f=W,p=J;if(Rt(a)){var b="separator"in a?a.separator:b;f="length"in a?Ve(a.length):f,p="omission"in a?Fn(a.omission):p}s=ft(s);var S=s.length;if($o(s)){var I=pr(s);S=I.length}if(f>=S)return s;var P=f-Ko(p);if(P<1)return p;var D=I?xi(I,0,P).join(""):s.slice(0,P);if(b===n)return D+p;if(I&&(P+=D.length-P),zh(b)){if(s.slice(P).search(b)){var Y,X=D;for(b.global||(b=ih(b.source,ft(sp.exec(b))+"g")),b.lastIndex=0;Y=b.exec(X);)var ie=Y.index;D=D.slice(0,ie===n?P:ie)}}else if(s.indexOf(Fn(b),P)!=P){var ge=D.lastIndexOf(b);ge>-1&&(D=D.slice(0,ge))}return D+p}function GL(s){return s=ft(s),s&&zr.test(s)?s.replace(Hr,Cb):s}var ZL=Qo(function(s,a,f){return s+(f?" ":"")+a.toUpperCase()}),$h=Tm("toUpperCase");function M1(s,a,f){return s=ft(s),a=f?n:a,a===n?yb(s)?Eb(s):cb(s):s.match(a)||[]}var A1=qe(function(s,a){try{return Bn(s,n,a)}catch(f){return Hh(f)?f:new De(f)}}),YL=qr(function(s,a){return Xn(a,function(f){f=Ar(f),$r(s,f,Dh(s[f],s))}),s});function XL(s){var a=s==null?0:s.length,f=Ae();return s=a?Mt(s,function(p){if(typeof p[1]!="function")throw new Qn(l);return[f(p[0]),p[1]]}):[],qe(function(p){for(var b=-1;++b<a;){var S=s[b];if(Bn(S[0],this,p))return Bn(S[1],this,p)}})}function QL(s){return Cx(tr(s,g))}function Kh(s){return function(){return s}}function eS(s,a){return s==null||s!==s?a:s}var tS=Rm(),nS=Rm(!0);function Cn(s){return s}function qh(s){return am(typeof s=="function"?s:tr(s,g))}function rS(s){return cm(tr(s,g))}function iS(s,a){return fm(s,tr(a,g))}var oS=qe(function(s,a){return function(f){return pl(f,s,a)}}),sS=qe(function(s,a){return function(f){return pl(s,f,a)}});function Jh(s,a,f){var p=qt(a),b=mu(a,p);f==null&&!(Rt(a)&&(b.length||!p.length))&&(f=a,a=s,s=this,b=mu(a,qt(a)));var S=!(Rt(f)&&"chain"in f)||!!f.chain,I=Gr(s);return Xn(b,function(P){var D=a[P];s[P]=D,I&&(s.prototype[P]=function(){var Y=this.__chain__;if(S||Y){var X=s(this.__wrapped__),ie=X.__actions__=_n(this.__actions__);return ie.push({func:D,args:arguments,thisArg:s}),X.__chain__=Y,X}return D.apply(s,ki([this.value()],arguments))})}),s}function lS(){return Xt._===this&&(Xt._=Ib),this}function Gh(){}function aS(s){return s=Ve(s),qe(function(a){return hm(a,s)})}var uS=Sh(Mt),cS=Sh(Ip),fS=Sh(Yf);function T1(s){return Ih(s)?Xf(Ar(s)):Hx(s)}function hS(s){return function(a){return s==null?n:to(s,a)}}var dS=jm(),gS=jm(!0);function Zh(){return[]}function Yh(){return!1}function pS(){return{}}function mS(){return""}function kS(){return!0}function vS(s,a){if(s=Ve(s),s<1||s>oe)return[];var f=Ke,p=rn(s,Ke);a=Ae(a),s-=Ke;for(var b=th(p,a);++f<s;)a(f);return b}function yS(s){return We(s)?Mt(s,Ar):Dn(s)?[s]:_n(Zm(ft(s)))}function wS(s){var a=++Ob;return ft(s)+a}var _S=bu(function(s,a){return s+a},0),bS=Eh("ceil"),xS=bu(function(s,a){return s/a},1),CS=Eh("floor");function LS(s){return s&&s.length?pu(s,Cn,hh):n}function SS(s,a){return s&&s.length?pu(s,Ae(a,2),hh):n}function ES(s){return Bp(s,Cn)}function MS(s,a){return Bp(s,Ae(a,2))}function AS(s){return s&&s.length?pu(s,Cn,mh):n}function TS(s,a){return s&&s.length?pu(s,Ae(a,2),mh):n}var OS=bu(function(s,a){return s*a},1),RS=Eh("round"),IS=bu(function(s,a){return s-a},0);function jS(s){return s&&s.length?eh(s,Cn):0}function PS(s,a){return s&&s.length?eh(s,Ae(a,2)):0}return C.after=rC,C.ary=l1,C.assign=UC,C.assignIn=_1,C.assignInWith=Pu,C.assignWith=$C,C.at=KC,C.before=a1,C.bind=Dh,C.bindAll=YL,C.bindKey=u1,C.castArray=pC,C.chain=i1,C.chunk=C8,C.compact=L8,C.concat=S8,C.cond=XL,C.conforms=QL,C.constant=Kh,C.countBy=j6,C.create=qC,C.curry=c1,C.curryRight=f1,C.debounce=h1,C.defaults=JC,C.defaultsDeep=GC,C.defer=iC,C.delay=oC,C.difference=E8,C.differenceBy=M8,C.differenceWith=A8,C.drop=T8,C.dropRight=O8,C.dropRightWhile=R8,C.dropWhile=I8,C.fill=j8,C.filter=B6,C.flatMap=D6,C.flatMapDeep=W6,C.flatMapDepth=H6,C.flatten=e1,C.flattenDeep=P8,C.flattenDepth=B8,C.flip=sC,C.flow=tS,C.flowRight=nS,C.fromPairs=N8,C.functions=nL,C.functionsIn=rL,C.groupBy=z6,C.initial=D8,C.intersection=W8,C.intersectionBy=H8,C.intersectionWith=z8,C.invert=oL,C.invertBy=sL,C.invokeMap=U6,C.iteratee=qh,C.keyBy=$6,C.keys=qt,C.keysIn=xn,C.map=Au,C.mapKeys=aL,C.mapValues=uL,C.matches=rS,C.matchesProperty=iS,C.memoize=Ou,C.merge=cL,C.mergeWith=b1,C.method=oS,C.methodOf=sS,C.mixin=Jh,C.negate=Ru,C.nthArg=aS,C.omit=fL,C.omitBy=hL,C.once=lC,C.orderBy=K6,C.over=uS,C.overArgs=aC,C.overEvery=cS,C.overSome=fS,C.partial=Wh,C.partialRight=d1,C.partition=q6,C.pick=dL,C.pickBy=x1,C.property=T1,C.propertyOf=hS,C.pull=K8,C.pullAll=n1,C.pullAllBy=q8,C.pullAllWith=J8,C.pullAt=G8,C.range=dS,C.rangeRight=gS,C.rearg=uC,C.reject=Z6,C.remove=Z8,C.rest=cC,C.reverse=Nh,C.sampleSize=X6,C.set=pL,C.setWith=mL,C.shuffle=Q6,C.slice=Y8,C.sortBy=nC,C.sortedUniq=i6,C.sortedUniqBy=o6,C.split=DL,C.spread=fC,C.tail=s6,C.take=l6,C.takeRight=a6,C.takeRightWhile=u6,C.takeWhile=c6,C.tap=L6,C.throttle=hC,C.thru=Mu,C.toArray=v1,C.toPairs=C1,C.toPairsIn=L1,C.toPath=yS,C.toPlainObject=w1,C.transform=kL,C.unary=dC,C.union=f6,C.unionBy=h6,C.unionWith=d6,C.uniq=g6,C.uniqBy=p6,C.uniqWith=m6,C.unset=vL,C.unzip=Fh,C.unzipWith=r1,C.update=yL,C.updateWith=wL,C.values=ns,C.valuesIn=_L,C.without=k6,C.words=M1,C.wrap=gC,C.xor=v6,C.xorBy=y6,C.xorWith=w6,C.zip=_6,C.zipObject=b6,C.zipObjectDeep=x6,C.zipWith=C6,C.entries=C1,C.entriesIn=L1,C.extend=_1,C.extendWith=Pu,Jh(C,C),C.add=_S,C.attempt=A1,C.camelCase=LL,C.capitalize=S1,C.ceil=bS,C.clamp=bL,C.clone=mC,C.cloneDeep=vC,C.cloneDeepWith=yC,C.cloneWith=kC,C.conformsTo=wC,C.deburr=E1,C.defaultTo=eS,C.divide=xS,C.endsWith=SL,C.eq=kr,C.escape=EL,C.escapeRegExp=ML,C.every=P6,C.find=N6,C.findIndex=Xm,C.findKey=ZC,C.findLast=F6,C.findLastIndex=Qm,C.findLastKey=YC,C.floor=CS,C.forEach=o1,C.forEachRight=s1,C.forIn=XC,C.forInRight=QC,C.forOwn=eL,C.forOwnRight=tL,C.get=Vh,C.gt=_C,C.gte=bC,C.has=iL,C.hasIn=Uh,C.head=t1,C.identity=Cn,C.includes=V6,C.indexOf=F8,C.inRange=xL,C.invoke=lL,C.isArguments=io,C.isArray=We,C.isArrayBuffer=xC,C.isArrayLike=bn,C.isArrayLikeObject=Nt,C.isBoolean=CC,C.isBuffer=Ci,C.isDate=LC,C.isElement=SC,C.isEmpty=EC,C.isEqual=MC,C.isEqualWith=AC,C.isError=Hh,C.isFinite=TC,C.isFunction=Gr,C.isInteger=g1,C.isLength=Iu,C.isMap=p1,C.isMatch=OC,C.isMatchWith=RC,C.isNaN=IC,C.isNative=jC,C.isNil=BC,C.isNull=PC,C.isNumber=m1,C.isObject=Rt,C.isObjectLike=Pt,C.isPlainObject=_l,C.isRegExp=zh,C.isSafeInteger=NC,C.isSet=k1,C.isString=ju,C.isSymbol=Dn,C.isTypedArray=ts,C.isUndefined=FC,C.isWeakMap=DC,C.isWeakSet=WC,C.join=V8,C.kebabCase=AL,C.last=rr,C.lastIndexOf=U8,C.lowerCase=TL,C.lowerFirst=OL,C.lt=HC,C.lte=zC,C.max=LS,C.maxBy=SS,C.mean=ES,C.meanBy=MS,C.min=AS,C.minBy=TS,C.stubArray=Zh,C.stubFalse=Yh,C.stubObject=pS,C.stubString=mS,C.stubTrue=kS,C.multiply=OS,C.nth=$8,C.noConflict=lS,C.noop=Gh,C.now=Tu,C.pad=RL,C.padEnd=IL,C.padStart=jL,C.parseInt=PL,C.random=CL,C.reduce=J6,C.reduceRight=G6,C.repeat=BL,C.replace=NL,C.result=gL,C.round=RS,C.runInContext=F,C.sample=Y6,C.size=eC,C.snakeCase=FL,C.some=tC,C.sortedIndex=X8,C.sortedIndexBy=Q8,C.sortedIndexOf=e6,C.sortedLastIndex=t6,C.sortedLastIndexBy=n6,C.sortedLastIndexOf=r6,C.startCase=WL,C.startsWith=HL,C.subtract=IS,C.sum=jS,C.sumBy=PS,C.template=zL,C.times=vS,C.toFinite=Zr,C.toInteger=Ve,C.toLength=y1,C.toLower=VL,C.toNumber=ir,C.toSafeInteger=VC,C.toString=ft,C.toUpper=UL,C.trim=$L,C.trimEnd=KL,C.trimStart=qL,C.truncate=JL,C.unescape=GL,C.uniqueId=wS,C.upperCase=ZL,C.upperFirst=$h,C.each=o1,C.eachRight=s1,C.first=t1,Jh(C,function(){var s={};return Er(C,function(a,f){gt.call(C.prototype,f)||(s[f]=a)}),s}(),{chain:!1}),C.VERSION=r,Xn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){C[s].placeholder=C}),Xn(["drop","take"],function(s,a){et.prototype[s]=function(f){f=f===n?1:Vt(Ve(f),0);var p=this.__filtered__&&!a?new et(this):this.clone();return p.__filtered__?p.__takeCount__=rn(f,p.__takeCount__):p.__views__.push({size:rn(f,Ke),type:s+(p.__dir__<0?"Right":"")}),p},et.prototype[s+"Right"]=function(f){return this.reverse()[s](f).reverse()}}),Xn(["filter","map","takeWhile"],function(s,a){var f=a+1,p=f==pe||f==Q;et.prototype[s]=function(b){var S=this.clone();return S.__iteratees__.push({iteratee:Ae(b,3),type:f}),S.__filtered__=S.__filtered__||p,S}}),Xn(["head","last"],function(s,a){var f="take"+(a?"Right":"");et.prototype[s]=function(){return this[f](1).value()[0]}}),Xn(["initial","tail"],function(s,a){var f="drop"+(a?"":"Right");et.prototype[s]=function(){return this.__filtered__?new et(this):this[f](1)}}),et.prototype.compact=function(){return this.filter(Cn)},et.prototype.find=function(s){return this.filter(s).head()},et.prototype.findLast=function(s){return this.reverse().find(s)},et.prototype.invokeMap=qe(function(s,a){return typeof s=="function"?new et(this):this.map(function(f){return pl(f,s,a)})}),et.prototype.reject=function(s){return this.filter(Ru(Ae(s)))},et.prototype.slice=function(s,a){s=Ve(s);var f=this;return f.__filtered__&&(s>0||a<0)?new et(f):(s<0?f=f.takeRight(-s):s&&(f=f.drop(s)),a!==n&&(a=Ve(a),f=a<0?f.dropRight(-a):f.take(a-s)),f)},et.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},et.prototype.toArray=function(){return this.take(Ke)},Er(et.prototype,function(s,a){var f=/^(?:filter|find|map|reject)|While$/.test(a),p=/^(?:head|last)$/.test(a),b=C[p?"take"+(a=="last"?"Right":""):a],S=p||/^find/.test(a);b&&(C.prototype[a]=function(){var I=this.__wrapped__,P=p?[1]:arguments,D=I instanceof et,Y=P[0],X=D||We(I),ie=function(Ye){var nt=b.apply(C,ki([Ye],P));return p&&ge?nt[0]:nt};X&&f&&typeof Y=="function"&&Y.length!=1&&(D=X=!1);var ge=this.__chain__,Le=!!this.__actions__.length,Oe=S&&!ge,Ue=D&&!Le;if(!S&&X){I=Ue?I:new et(this);var Re=s.apply(I,P);return Re.__actions__.push({func:Mu,args:[ie],thisArg:n}),new er(Re,ge)}return Oe&&Ue?s.apply(this,P):(Re=this.thru(ie),Oe?p?Re.value()[0]:Re.value():Re)})}),Xn(["pop","push","shift","sort","splice","unshift"],function(s){var a=eu[s],f=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",p=/^(?:pop|shift)$/.test(s);C.prototype[s]=function(){var b=arguments;if(p&&!this.__chain__){var S=this.value();return a.apply(We(S)?S:[],b)}return this[f](function(I){return a.apply(We(I)?I:[],b)})}}),Er(et.prototype,function(s,a){var f=C[a];if(f){var p=f.name+"";gt.call(Zo,p)||(Zo[p]=[]),Zo[p].push({name:a,func:f})}}),Zo[_u(n,O).name]=[{name:"wrapper",func:n}],et.prototype.clone=Gb,et.prototype.reverse=Zb,et.prototype.value=Yb,C.prototype.at=S6,C.prototype.chain=E6,C.prototype.commit=M6,C.prototype.next=A6,C.prototype.plant=O6,C.prototype.reverse=R6,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=I6,C.prototype.first=C.prototype.head,al&&(C.prototype[al]=T6),C},qo=Mb();Zi?((Zi.exports=qo)._=qo,qf._=qo):Xt._=qo}).call(cs)})(Vc,Vc.exports);var Jk=Vc.exports;const PA=[{id:tg(10),elements:[],background:{type:"solid",color:"#ffffff"}}],BA={themeColor:"#5b9bd5",fontColor:"#333",fontName:"Microsoft Yahei",fontSize:"40px",backgroundColor:"#fff",shadow:{h:3,v:3,blur:2,color:"#808080"},outline:{width:2,color:"#525252",style:"solid"}},NA=[{id:tg(10),elements:[{type:"text",id:tg(10),left:809.8,top:345.5256570713392,width:300.3754693366708,height:110,content:"<p style=''><span style='font-size: 60px;'>默认模板</span></p>",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333333",vertical:!1,paragraphSpace:10}],background:{type:"solid",color:"#ffffff"}}],gs=Gs("slides",{state:()=>({title:"",theme:BA,slides:PA,slideIndex:0,viewportSize:1920,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(i=>i.id);return t.animations.filter(i=>r.includes(i.elId))},formatedAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(l=>l.id),i=t.animations.filter(l=>r.includes(l.elId)),o=[];for(const l of i)if(l.trigger==="click"||!o.length)o.push({animations:[l],autoNext:!1});else if(l.trigger==="meantime"){const u=o[o.length-1];u.animations=u.animations.filter(c=>c.elId!==l.elId),u.animations.push(l),o[o.length-1]=u}else if(l.trigger==="auto"){const u=o[o.length-1];u.autoNext=!0,o[o.length-1]=u,o.push({animations:[l],autoNext:!1})}return o},layouts(e){const{themeColor:t,fontColor:n,fontName:r,backgroundColor:i}=e.theme,o=Se(n).isDark()?"rgba(230, 230, 230, 0.5)":"rgba(180, 180, 180, 0.5)",l=JSON.stringify(NA).replace(/{{themeColor}}/g,t).replace(/{{fontColor}}/g,n).replace(/{{fontName}}/g,r).replace(/{{backgroundColor}}/g,i).replace(/{{subColor}}/g,o);return JSON.parse(l)}},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(i=>i.id===t?Jk.omit(i,n):i);this.slides=r},deleteSlide(e){const t=Array.isArray(e)?e:[e],n=JSON.parse(JSON.stringify(this.slides)),r=[];for(const l of t){const u=n.findIndex(h=>h.id===l);r.push(u);const c=n[u].sectionTag;if(c){const h=n[u+1];h&&!h.sectionTag&&(delete n[u].sectionTag,n[u+1].sectionTag=c)}n.splice(u,1)}let i=Math.min(...r);const o=n.length-1;i>o&&(i=o),this.slideIndex=i,this.slides=n},updateSlideIndex(e){this.slideIndex=e},addElement(e){const t=Array.isArray(e)?e:[e],r=[...this.slides[this.slideIndex].elements,...t];this.slides[this.slideIndex].elements=r},deleteElement(e){const t=Array.isArray(e)?e:[e],r=this.slides[this.slideIndex].elements.filter(i=>!t.includes(i.id));this.slides[this.slideIndex].elements=r},updateElement(e){const{id:t,props:n,slideId:r}=e,i=typeof t=="string"?[t]:t,o=r?this.slides.findIndex(c=>c.id===r):this.slideIndex,u=this.slides[o].elements.map(c=>i.includes(c.id)?{...c,...n}:c);this.slides[o].elements=u},removeElementProps(e){const{id:t,propName:n}=e,r=typeof n=="string"?[n]:n,i=this.slideIndex,l=this.slides[i].elements.map(u=>u.id===t?Jk.omit(u,r):u);this.slides[i].elements=l}}}),FA=I9("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),Y2=FA(10),Gk=Gs("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:Hk,toolbarState:l2.SLIDE_DESIGN,clipingImageElementId:"",richTextAttrs:aA,selectedTableCells:[],isScaling:!1,selectedSlidesIndex:[],databaseId:Y2,textFormatPainter:null,shapeFormatPainter:null,showSelectPanel:!1,showSearchPanel:!1,showNotesPanel:!1}),getters:{activeElementList(e){const n=gs().currentSlide;return!n||!n.elements?[]:n.elements.filter(r=>e.activeElementIdList.includes(r.id))},handleElement(e){const n=gs().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=Hk.filter(e=>uA(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},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 bt=function(){return bt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},bt.apply(this,arguments)};function ug(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],l=0,u=o.length;l<u;l++,i++)r[i]=o[l];return r}var nn=Object.keys,vn=Array.isArray,St=typeof self<"u"?self:typeof window<"u"?window:global;typeof Promise<"u"&&!St.Promise&&(St.Promise=Promise);function fr(e,t){return typeof t!="object"||nn(t).forEach(function(n){e[n]=t[n]}),e}var X2=Object.getPrototypeOf,DA={}.hasOwnProperty;function hr(e,t){return DA.call(e,t)}function ka(e,t){typeof t=="function"&&(t=t(X2(e))),nn(t).forEach(function(n){fi(e,n,t[n])})}var Q2=Object.defineProperty;function fi(e,t,n,r){Q2(e,t,fr(n&&hr(n,"get")&&typeof n.get=="function"?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function Zs(e){return{from:function(t){return e.prototype=Object.create(t.prototype),fi(e.prototype,"constructor",e),{extend:ka.bind(null,e.prototype)}}}}var WA=Object.getOwnPropertyDescriptor;function b0(e,t){var n=WA(e,t),r;return n||(r=X2(e))&&b0(r,t)}var HA=[].slice;function Lf(e,t,n){return HA.call(e,t,n)}function e4(e,t){return t(e)}function Hl(e){if(!e)throw new Error("Assertion Failed")}function t4(e){St.setImmediate?setImmediate(e):setTimeout(e,0)}function n4(e,t){return e.reduce(function(n,r,i){var o=t(r,i);return o&&(n[o[0]]=o[1]),n},{})}function zA(e,t,n){try{e.apply(null,n)}catch{}}function Br(e,t){if(hr(e,t))return e[t];if(!t)return e;if(typeof t!="string"){for(var n=[],r=0,i=t.length;r<i;++r){var o=Br(e,t[r]);n.push(o)}return n}var l=t.indexOf(".");if(l!==-1){var u=e[t.substr(0,l)];return u===void 0?void 0:Br(u,t.substr(l+1))}}function Cr(e,t,n){if(!(!e||t===void 0)&&!("isFrozen"in Object&&Object.isFrozen(e)))if(typeof t!="string"&&"length"in t){Hl(typeof n!="string"&&"length"in n);for(var r=0,i=t.length;r<i;++r)Cr(e,t[r],n[r])}else{var o=t.indexOf(".");if(o!==-1){var l=t.substr(0,o),u=t.substr(o+1);if(u==="")n===void 0?vn(e)&&!isNaN(parseInt(l))?e.splice(l,1):delete e[l]:e[l]=n;else{var c=e[l];c||(c=e[l]={}),Cr(c,u,n)}}else n===void 0?vn(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=n}}function r4(e,t){typeof t=="string"?Cr(e,t,void 0):"length"in t&&[].map.call(t,function(n){Cr(e,n,void 0)})}function i4(e){var t={};for(var n in e)hr(e,n)&&(t[n]=e[n]);return t}var VA=[].concat;function o4(e){return VA.apply([],e)}var s4="Boolean,String,Date,RegExp,Blob,File,FileList,ArrayBuffer,DataView,Uint8ClampedArray,ImageData,Map,Set".split(",").concat(o4([8,16,32,64].map(function(e){return["Int","Uint","Float"].map(function(t){return t+e+"Array"})}))).filter(function(e){return St[e]}),UA=s4.map(function(e){return St[e]}),$A=n4(s4,function(e){return[e,!0]});function va(e){if(!e||typeof e!="object")return e;var t;if(vn(e)){t=[];for(var n=0,r=e.length;n<r;++n)t.push(va(e[n]))}else if(UA.indexOf(e.constructor)>=0)t=e;else{t=e.constructor?Object.create(e.constructor.prototype):{};for(var i in e)hr(e,i)&&(t[i]=va(e[i]))}return t}var KA={}.toString;function cg(e){return KA.call(e).slice(8,-1)}var fg=function(e,t){return t==="Array"?""+e.map(function(n){return fg(n,cg(n))}):t==="ArrayBuffer"?""+new Uint8Array(e):t==="Date"?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function x0(e,t,n,r){return n=n||{},r=r||"",nn(e).forEach(function(i){if(!hr(t,i))n[r+i]=void 0;else{var o=e[i],l=t[i];if(typeof o=="object"&&typeof l=="object"&&o&&l){var u=cg(o),c=cg(l);u===c?$A[u]?fg(o,u)!==fg(l,c)&&(n[r+i]=t[i]):x0(o,l,n,r+i+"."):n[r+i]=t[i]}else o!==l&&(n[r+i]=t[i])}}),nn(t).forEach(function(i){hr(e,i)||(n[r+i]=t[i])}),n}var Zk=typeof Symbol<"u"&&Symbol.iterator,qA=Zk?function(e){var t;return e!=null&&(t=e[Zk])&&t.apply(e)}:function(){return null},fs={};function si(e){var t,n,r,i;if(arguments.length===1){if(vn(e))return e.slice();if(this===fs&&typeof e=="string")return[e];if(i=qA(e)){for(n=[];r=i.next(),!r.done;)n.push(r.value);return n}if(e==null)return[e];if(t=e.length,typeof t=="number"){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var l4=typeof Symbol<"u"?function(e){return e[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},Wr=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function a4(e,t){Wr=e,u4=t}var u4=function(){return!0},JA=!new Error("").stack;function Ys(){if(JA)try{throw new Error}catch(e){return e}return new Error}function hg(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(u4).map(function(r){return`
- `+r}).join("")):""}var GA=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],c4=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],C0=GA.concat(c4),ZA={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function Xs(e,t){this._e=Ys(),this.name=e,this.message=t}Zs(Xs).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+hg(this._e,2))}},toString:function(){return this.name+": "+this.message}});function f4(e,t){return e+". Errors: "+Object.keys(t).map(function(n){return t[n].toString()}).filter(function(n,r,i){return i.indexOf(n)===r}).join(`
- `)}function Uc(e,t,n,r){this._e=Ys(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=f4(e,t)}Zs(Uc).from(Xs);function Ql(e,t){this._e=Ys(),this.name="BulkError",this.failures=t,this.message=f4(e,t)}Zs(Ql).from(Xs);var YA=C0.reduce(function(e,t){return e[t]=t+"Error",e},{}),XA=Xs,Ne=C0.reduce(function(e,t){var n=t+"Error";function r(i,o){this._e=Ys(),this.name=n,i?typeof i=="string"?(this.message=""+i+(o?`
- `+o:""),this.inner=o||null):typeof i=="object"&&(this.message=i.name+" "+i.message,this.inner=i):(this.message=ZA[t]||n,this.inner=null)}return Zs(r).from(XA),e[t]=r,e},{});Ne.Syntax=SyntaxError;Ne.Type=TypeError;Ne.Range=RangeError;var Yk=c4.reduce(function(e,t){return e[t+"Error"]=Ne[t],e},{});function QA(e,t){if(!e||e instanceof Xs||e instanceof TypeError||e instanceof SyntaxError||!e.name||!Yk[e.name])return e;var n=new Yk[e.name](t||e.message,e);return"stack"in e&&fi(n,"stack",{get:function(){return this.inner.stack}}),n}var Sf=C0.reduce(function(e,t){return["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=Ne[t]),e},{});Sf.ModifyError=Uc;Sf.DexieError=Xs;Sf.BulkError=Ql;function Ct(){}function Pa(e){return e}function eT(e,t){return e==null||e===Pa?t:function(n){return t(e(n))}}function Oo(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function tT(e,t){return e===Ct?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?Oo(r,this.onsuccess):r),i&&(this.onerror=this.onerror?Oo(i,this.onerror):i),o!==void 0?o:n}}function nT(e,t){return e===Ct?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?Oo(n,this.onsuccess):n),r&&(this.onerror=this.onerror?Oo(r,this.onerror):r)}}function rT(e,t){return e===Ct?t:function(n){var r=e.apply(this,arguments);fr(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var l=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?Oo(i,this.onsuccess):i),o&&(this.onerror=this.onerror?Oo(o,this.onerror):o),r===void 0?l===void 0?void 0:l:fr(r,l)}}function iT(e,t){return e===Ct?t:function(){return t.apply(this,arguments)===!1?!1:e.apply(this,arguments)}}function h4(e,t){return e===Ct?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then=="function"){for(var r=this,i=arguments.length,o=new Array(i);i--;)o[i]=arguments[i];return n.then(function(){return t.apply(r,o)})}return t.apply(this,arguments)}}var ya={},oT=100,sT=20,d4=100,L0=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]}(),dg=L0[0],$c=L0[1],gg=L0[2],g4=$c&&$c.then,dc=dg&&dg.constructor,S0=!!gg,pg=!1,lT=gg?function(){gg.then(Xu)}:St.setImmediate?setImmediate.bind(null,Xu):St.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){Xu(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(Xu,0)},wa=function(e,t){zl.push([e,t]),Kc&&(lT(),Kc=!1)},mg=!0,Kc=!0,bo=[],gc=[],kg=null,vg=Pa,Ss={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:ev,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{ev(e[0],e[1])}catch{}})}},Ie=Ss,zl=[],xo=0,pc=[];function _e(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Ct,this._lib=!1;var t=this._PSD=Ie;if(Wr&&(this._stackHolder=Ys(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==ya)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&wg(this,this._value);return}this._state=null,this._value=null,++t.ref,m4(this,e)}var yg={get:function(){var e=Ie,t=qc;function n(r,i){var o=this,l=!e.global&&(e!==Ie||t!==qc),u=l&&!Io(),c=new _e(function(h,d){E0(o,new p4(Gc(r,e,l,u),Gc(i,e,l,u),h,d,e))});return Wr&&y4(c,this),c}return n.prototype=ya,n},set:function(e){fi(this,"then",e&&e.prototype===ya?yg:{get:function(){return e},set:yg.set})}};ka(_e.prototype,{then:yg,_then:function(e,t){E0(this,new p4(null,null,e,t,Ie))},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):mc(r)}):this.then(null,function(r){return r&&r.name===t?n(r):mc(r)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),mc(t)})},stack:{get:function(){if(this._stack)return this._stack;try{pg=!0;var e=v4(this,[],sT),t=e.join(`
- From previous: `);return this._state!==null&&(this._stack=t),t}finally{pg=!1}}},timeout:function(e,t){var n=this;return e<1/0?new _e(function(r,i){var o=setTimeout(function(){return i(new Ne.Timeout(t))},e);n.then(r,i).finally(clearTimeout.bind(null,o))}):this}});typeof Symbol<"u"&&Symbol.toStringTag&&fi(_e.prototype,Symbol.toStringTag,"Dexie.Promise");Ss.env=w4();function p4(e,t,n,r,i){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=i}ka(_e,{all:function(){var e=si.apply(null,arguments).map(Jc);return new _e(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(i,o){return _e.resolve(i).then(function(l){e[o]=l,--r||t(e)},n)})})},resolve:function(e){if(e instanceof _e)return e;if(e&&typeof e.then=="function")return new _e(function(n,r){e.then(n,r)});var t=new _e(ya,!0,e);return y4(t,kg),t},reject:mc,race:function(){var e=si.apply(null,arguments).map(Jc);return new _e(function(t,n){e.map(function(r){return _e.resolve(r).then(t,n)})})},PSD:{get:function(){return Ie},set:function(e){return Ie=e}},totalEchoes:{get:function(){return qc}},newPSD:Ro,usePSD:Da,scheduler:{get:function(){return wa},set:function(e){wa=e}},rejectionMapper:{get:function(){return vg},set:function(e){vg=e}},follow:function(e,t){return new _e(function(n,r){return Ro(function(i,o){var l=Ie;l.unhandleds=[],l.onunhandled=o,l.finalize=Oo(function(){var u=this;uT(function(){u.unhandleds.length===0?i():o(u.unhandleds[0])})},l.finalize),e()},t,n,r)})}});dc&&(dc.allSettled&&fi(_e,"allSettled",function(){var e=si.apply(null,arguments).map(Jc);return new _e(function(t){e.length===0&&t([]);var n=e.length,r=new Array(n);e.forEach(function(i,o){return _e.resolve(i).then(function(l){return r[o]={status:"fulfilled",value:l}},function(l){return r[o]={status:"rejected",reason:l}}).then(function(){return--n||t(r)})})})}),dc.any&&typeof AggregateError<"u"&&fi(_e,"any",function(){var e=si.apply(null,arguments).map(Jc);return new _e(function(t,n){e.length===0&&n(new AggregateError([]));var r=e.length,i=new Array(r);e.forEach(function(o,l){return _e.resolve(o).then(function(u){return t(u)},function(u){i[l]=u,--r||n(new AggregateError(i))})})})}));function m4(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&&Ba();n&&typeof n.then=="function"?m4(e,function(i,o){n instanceof _e?n._then(i,o):n.then(i,o)}):(e._state=!0,e._value=n,k4(e)),r&&Na()}},wg.bind(null,e))}catch(n){wg(e,n)}}function wg(e,t){if(gc.push(t),e._state===null){var n=e._lib&&Ba();t=vg(t),e._state=!1,e._value=t,Wr&&t!==null&&typeof t=="object"&&!t._promise&&zA(function(){var r=b0(t,"stack");t._promise=e,fi(t,"stack",{get:function(){return pg?r&&(r.get?r.get.apply(t):r.value):e.stack}})}),cT(e),k4(e),n&&Na()}}function k4(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n<r;++n)E0(e,t[n]);var i=e._PSD;--i.ref||i.finalize(),xo===0&&(++xo,wa(function(){--xo===0&&M0()},[]))}function E0(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,++xo,wa(aT,[n,e,t])}function aT(e,t,n){try{kg=t;var r,i=t._value;t._state?r=e(i):(gc.length&&(gc=[]),r=e(i),gc.indexOf(i)===-1&&fT(t)),n.resolve(r)}catch(o){n.reject(o)}finally{kg=null,--xo===0&&M0(),--n.psd.ref||n.psd.finalize()}}function v4(e,t,n){if(t.length===n)return t;var r="";if(e._state===!1){var i=e._value,o,l;i!=null?(o=i.name||"Error",l=i.message||i,r=hg(i,0)):(o=i,l=""),t.push(o+(l?": "+l:"")+r)}return Wr&&(r=hg(e._stackHolder,2),r&&t.indexOf(r)===-1&&t.push(r),e._prev&&v4(e._prev,t,n)),t}function y4(e,t){var n=t?t._numPrev+1:0;n<oT&&(e._prev=t,e._numPrev=n)}function Xu(){Ba()&&Na()}function Ba(){var e=mg;return mg=!1,Kc=!1,e}function Na(){var e,t,n;do for(;zl.length>0;)for(e=zl,zl=[],n=e.length,t=0;t<n;++t){var r=e[t];r[0].apply(null,r[1])}while(zl.length>0);mg=!0,Kc=!0}function M0(){var e=bo;bo=[],e.forEach(function(r){r._PSD.onunhandled.call(null,r._value,r)});for(var t=pc.slice(0),n=t.length;n;)t[--n]()}function uT(e){function t(){e(),pc.splice(pc.indexOf(t),1)}pc.push(t),++xo,wa(function(){--xo===0&&M0()},[])}function cT(e){bo.some(function(t){return t._value===e._value})||bo.push(e)}function fT(e){for(var t=bo.length;t;)if(bo[--t]._value===e._value){bo.splice(t,1);return}}function mc(e){return new _e(ya,!1,e)}function It(e,t){var n=Ie;return function(){var r=Ba(),i=Ie;try{return Ki(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{Ki(i,!1),r&&Na()}}}var an={awaits:0,echoes:0,id:0},hT=0,kc=[],kd=0,qc=0,dT=0;function Ro(e,t,n,r){var i=Ie,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++dT;var l=Ss.env;o.env=S0?{Promise:_e,PromiseProp:{value:_e,configurable:!0,writable:!0},all:_e.all,race:_e.race,allSettled:_e.allSettled,any:_e.any,resolve:_e.resolve,reject:_e.reject,nthen:Xk(l.nthen,o),gthen:Xk(l.gthen,o)}:{},t&&fr(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var u=Da(o,e,n,r);return o.ref===0&&o.finalize(),u}function Fa(){return an.id||(an.id=++hT),++an.awaits,an.echoes+=d4,an.id}function Io(){return an.awaits?(--an.awaits===0&&(an.id=0),an.echoes=an.awaits*d4,!0):!1}(""+g4).indexOf("[native code]")===-1&&(Fa=Io=Ct);function Jc(e){return an.echoes&&e&&e.constructor===dc?(Fa(),e.then(function(t){return Io(),t},function(t){return Io(),fn(t)})):e}function gT(e){++qc,(!an.echoes||--an.echoes===0)&&(an.echoes=an.id=0),kc.push(Ie),Ki(e,!0)}function pT(){var e=kc[kc.length-1];kc.pop(),Ki(e,!1)}function Ki(e,t){var n=Ie;if((t?an.echoes&&(!kd++||e!==Ie):kd&&(!--kd||e!==Ie))&&_4(t?gT.bind(null,e):pT),e!==Ie&&(Ie=e,n===Ss&&(Ss.env=w4()),S0)){var r=Ss.env.Promise,i=e.env;$c.then=i.nthen,r.prototype.then=i.gthen,(n.global||e.global)&&(Object.defineProperty(St,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function w4(){var e=St.Promise;return S0?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(St,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:$c.then,gthen:e.prototype.then}:{}}function Da(e,t,n,r,i){var o=Ie;try{return Ki(e,!0),t(n,r,i)}finally{Ki(o,!1)}}function _4(e){g4.call(dg,e)}function Gc(e,t,n,r){return typeof e!="function"?e:function(){var i=Ie;n&&Fa(),Ki(t,!0);try{return e.apply(this,arguments)}finally{Ki(i,!1),r&&_4(Io)}}}function Xk(e,t){return function(n,r){return e.call(this,Gc(n,t),Gc(r,t))}}var Qk="unhandledrejection";function ev(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,i={promise:t,reason:e};if(St.document&&document.createEvent?(r=document.createEvent("Event"),r.initEvent(Qk,!0,!0),fr(r,i)):St.CustomEvent&&(r=new CustomEvent(Qk,{detail:i}),fr(r,i)),r&&St.dispatchEvent&&(dispatchEvent(r),!St.PromiseRejectionEvent&&St.onunhandledrejection))try{St.onunhandledrejection(r)}catch{}Wr&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch{}}var fn=_e.reject;function b4(e,t,n,r){if(!e._state.openComplete&&!Ie.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return fn(new Ne.DatabaseClosed);e.open().catch(Ct)}return e._state.dbReadyPromise.then(function(){return b4(e,t,n,r)})}else{var i=e._createTransaction(t,n,e._dbSchema);try{i.create()}catch(o){return fn(o)}return i._promise(t,function(o,l){return Ro(function(){return Ie.trans=i,r(o,l,i)})}).then(function(o){return i._completion.then(function(){return o})})}}var tv="3.0.3",ps="",_g=-1/0,Qr="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",x4="String expected.",ea=[],A0=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),mT=A0,kT=A0,C4=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},Qu="__dbnames",vd="readonly",yd="readwrite";function jo(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var L4={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function ec(e){return function(t){return Br(t,e)===void 0&&(t=va(t),r4(t,e)),t}}var vT=function(){function e(){}return e.prototype._trans=function(t,n,r){var i=this._tx||Ie.trans,o=this.name;function l(c,h,d){if(!d.schema[o])throw new Ne.NotFound("Table "+o+" not part of transaction");return n(d.idbtrans,d)}var u=Ba();try{return i&&i.db===this.db?i===Ie.trans?i._promise(t,l,r):Ro(function(){return i._promise(t,l,r)},{trans:i,transless:Ie.transless||Ie}):b4(this.db,t,[this.name],l)}finally{u&&Na()}},e.prototype.get=function(t,n){var r=this;return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",function(i){return r.core.get({trans:i,key:t}).then(function(o){return r.hook.reading.fire(o)})}).then(n)},e.prototype.where=function(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(vn(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var n=nn(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(d){return d.compound&&n.every(function(g){return d.keyPath.indexOf(g)>=0})&&d.keyPath.every(function(g){return n.indexOf(g)>=0})})[0];if(r&&this.db._maxKey!==ps)return this.where(r.name).equals(r.keyPath.map(function(d){return t[d]}));!r&&Wr&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var i=this.schema.idxByName,o=this.db._deps.indexedDB;function l(d,g){try{return o.cmp(d,g)===0}catch{return!1}}var u=n.reduce(function(d,g){var v=d[0],w=d[1],k=i[g],_=t[g];return[v||k,v||!k?jo(w,k&&k.multi?function(L){var O=Br(L,g);return vn(O)&&O.some(function(M){return l(_,M)})}:function(L){return l(_,Br(L,g))}):w]},[null,null]),c=u[0],h=u[1];return c?this.where(c.name).equals(t[c.keyPath]).filter(h):r?this.filter(h):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,vn(t)?"["+t.join("+")+"]":t))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(t){this.schema.mappedClass=t;var n=function(r){if(!r)return r;var i=Object.create(t.prototype);for(var o in r)if(hr(r,o))try{i[o]=r[o]}catch{}return i};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=n,this.hook("reading",n),t},e.prototype.defineClass=function(){function t(n){fr(this,n)}return this.mapToClass(t)},e.prototype.add=function(t,n){var r=this,i=this.schema.primKey,o=i.auto,l=i.keyPath,u=t;return l&&o&&(u=ec(l)(t)),this._trans("readwrite",function(c){return r.core.mutate({trans:c,type:"add",keys:n!=null?[n]:null,values:[u]})}).then(function(c){return c.numFailures?_e.reject(c.failures[0]):c.lastResult}).then(function(c){if(l)try{Cr(t,l,c)}catch{}return c})},e.prototype.update=function(t,n){if(typeof n!="object"||vn(n))throw new Ne.InvalidArgument("Modifications must be an object.");if(typeof t=="object"&&!vn(t)){nn(n).forEach(function(i){Cr(t,i,n[i])});var r=Br(t,this.schema.primKey.keyPath);return r===void 0?fn(new Ne.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(r).modify(n)}else return this.where(":id").equals(t).modify(n)},e.prototype.put=function(t,n){var r=this,i=this.schema.primKey,o=i.auto,l=i.keyPath,u=t;return l&&o&&(u=ec(l)(t)),this._trans("readwrite",function(c){return r.core.mutate({trans:c,type:"put",values:[u],keys:n!=null?[n]:null})}).then(function(c){return c.numFailures?_e.reject(c.failures[0]):c.lastResult}).then(function(c){if(l)try{Cr(t,l,c)}catch{}return c})},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?_e.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:L4})}).then(function(n){return n.numFailures?_e.reject(n.failures[0]):void 0})},e.prototype.bulkGet=function(t){var n=this;return this._trans("readonly",function(r){return n.core.getMany({keys:t,trans:r}).then(function(i){return i.map(function(o){return n.hook.reading.fire(o)})})})},e.prototype.bulkAdd=function(t,n,r){var i=this,o=Array.isArray(n)?n:void 0;r=r||(o?void 0:n);var l=r?r.allKeys:void 0;return this._trans("readwrite",function(u){var c=i.schema.primKey,h=c.auto,d=c.keyPath;if(d&&o)throw new Ne.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(o&&o.length!==t.length)throw new Ne.InvalidArgument("Arguments objects and keys must have the same length");var g=t.length,v=d&&h?t.map(ec(d)):t;return i.core.mutate({trans:u,type:"add",keys:o,values:v,wantResults:l}).then(function(w){var k=w.numFailures,_=w.results,L=w.lastResult,O=w.failures,M=l?_:L;if(k===0)return M;throw new Ql(i.name+".bulkAdd(): "+k+" of "+g+" operations failed",Object.keys(O).map(function(x){return O[x]}))})})},e.prototype.bulkPut=function(t,n,r){var i=this,o=Array.isArray(n)?n:void 0;r=r||(o?void 0:n);var l=r?r.allKeys:void 0;return this._trans("readwrite",function(u){var c=i.schema.primKey,h=c.auto,d=c.keyPath;if(d&&o)throw new Ne.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(o&&o.length!==t.length)throw new Ne.InvalidArgument("Arguments objects and keys must have the same length");var g=t.length,v=d&&h?t.map(ec(d)):t;return i.core.mutate({trans:u,type:"put",keys:o,values:v,wantResults:l}).then(function(w){var k=w.numFailures,_=w.results,L=w.lastResult,O=w.failures,M=l?_:L;if(k===0)return M;throw new Ql(i.name+".bulkPut(): "+k+" of "+g+" operations failed",Object.keys(O).map(function(x){return O[x]}))})})},e.prototype.bulkDelete=function(t){var n=this,r=t.length;return this._trans("readwrite",function(i){return n.core.mutate({trans:i,type:"delete",keys:t})}).then(function(i){var o=i.numFailures,l=i.lastResult,u=i.failures;if(o===0)return l;throw new Ql(n.name+".bulkDelete(): "+o+" of "+r+" operations failed",u)})},e}();function Ef(e){var t={},n=function(u,c){if(c){for(var h=arguments.length,d=new Array(h-1);--h;)d[h-1]=arguments[h];return t[u].subscribe.apply(null,d),e}else if(typeof u=="string")return t[u]};n.addEventType=o;for(var r=1,i=arguments.length;r<i;++r)o(arguments[r]);return n;function o(u,c,h){if(typeof u=="object")return l(u);c||(c=iT),h||(h=Ct);var d={subscribers:[],fire:h,subscribe:function(g){d.subscribers.indexOf(g)===-1&&(d.subscribers.push(g),d.fire=c(d.fire,g))},unsubscribe:function(g){d.subscribers=d.subscribers.filter(function(v){return v!==g}),d.fire=d.subscribers.reduce(c,h)}};return t[u]=n[u]=d,d}function l(u){nn(u).forEach(function(c){var h=u[c];if(vn(h))o(c,u[c][0],u[c][1]);else if(h==="asap")var d=o(c,Pa,function(){for(var v=arguments.length,w=new Array(v);v--;)w[v]=arguments[v];d.subscribers.forEach(function(k){t4(function(){k.apply(null,w)})})});else throw new Ne.InvalidArgument("Invalid event config")})}}function Wa(e,t){return Zs(t).from({prototype:e}),t}function yT(e){return Wa(vT.prototype,function(n,r,i){this.db=e,this._tx=i,this.name=n,this.schema=r,this.hook=e._allTables[n]?e._allTables[n].hook:Ef(null,{creating:[tT,Ct],reading:[eT,Pa],updating:[rT,Ct],deleting:[nT,Ct]})})}function Ll(e,t){return!(e.filter||e.algorithm||e.or)&&(t?e.justLimit:!e.replayFilter)}function wd(e,t){e.filter=jo(e.filter,t)}function _d(e,t,n){var r=e.replayFilter;e.replayFilter=r?function(){return jo(r(),t())}:t,e.justLimit=n&&!r}function wT(e,t){e.isMatch=jo(e.isMatch,t)}function vc(e,t){if(e.isPrimKey)return t.primaryKey;var n=t.getIndexByKeyPath(e.index);if(!n)throw new Ne.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function nv(e,t,n){var r=vc(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 tc(e,t,n,r){var i=e.replayFilter?jo(e.filter,e.replayFilter()):e.filter;if(e.or){var o={},l=function(u,c,h){if(!i||i(c,h,function(v){return c.stop(v)},function(v){return c.fail(v)})){var d=c.primaryKey,g=""+d;g==="[object ArrayBuffer]"&&(g=""+new Uint8Array(d)),hr(o,g)||(o[g]=!0,t(u,c,h))}};return Promise.all([e.or._iterate(l,n),rv(nv(e,r,n),e.algorithm,l,!e.keysOnly&&e.valueMapper)])}else return rv(nv(e,r,n),jo(e.algorithm,i),t,!e.keysOnly&&e.valueMapper)}function rv(e,t,n,r){var i=r?function(l,u,c){return n(r(l),u,c)}:n,o=It(i);return e.then(function(l){if(l)return l.start(function(){var u=function(){return l.continue()};(!t||t(l,function(c){return u=c},function(c){l.stop(c),u=Ct},function(c){l.fail(c),u=Ct}))&&o(l.value,l,function(c){return u=c}),u()})})}var _T=function(){function e(){}return e.prototype._read=function(t,n){var r=this._ctx;return r.error?r.table._trans(null,fn.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,fn.bind(null,n.error)):n.table._trans("readwrite",t,"locked")},e.prototype._addAlgorithm=function(t){var n=this._ctx;n.algorithm=jo(n.algorithm,t)},e.prototype._iterate=function(t,n){return tc(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&&fr(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 tc(n,t,r,n.table.core)})},e.prototype.count=function(t){var n=this;return this._read(function(r){var i=n._ctx,o=i.table.core;if(Ll(i,!0))return o.count({trans:r,query:{index:vc(i,o.schema),range:i.range}}).then(function(u){return Math.min(u,i.limit)});var l=0;return tc(i,function(){return++l,!1},r,o).then(function(){return l})}).then(t)},e.prototype.sortBy=function(t,n){var r=t.split(".").reverse(),i=r[0],o=r.length-1;function l(h,d){return d?l(h[r[d]],d-1):h[i]}var u=this._ctx.dir==="next"?1:-1;function c(h,d){var g=l(h,o),v=l(d,o);return g<v?-u:g>v?u:0}return this.toArray(function(h){return h.sort(c)}).then(n)},e.prototype.toArray=function(t){var n=this;return this._read(function(r){var i=n._ctx;if(i.dir==="next"&&Ll(i,!0)&&i.limit>0){var o=i.valueMapper,l=vc(i,i.table.core.schema);return i.table.core.query({trans:r,limit:i.limit,values:!0,query:{index:l,range:i.range}}).then(function(c){var h=c.result;return o?h.map(o):h})}else{var u=[];return tc(i,function(c){return u.push(c)},r,i.table.core).then(function(){return u})}},t)},e.prototype.offset=function(t){var n=this._ctx;return t<=0?this:(n.offset+=t,Ll(n)?_d(n,function(){var r=t;return function(i,o){return r===0?!0:r===1?(--r,!1):(o(function(){i.advance(r),r=0}),!1)}}):_d(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),_d(this._ctx,function(){var n=t;return function(r,i,o){return--n<=0&&i(o),n>=0}},!0),this},e.prototype.until=function(t,n){return wd(this._ctx,function(r,i,o){return t(r.value)?(i(o),n):!0}),this},e.prototype.first=function(t){return this.limit(1).toArray(function(n){return n[0]}).then(t)},e.prototype.last=function(t){return this.reverse().first(t)},e.prototype.filter=function(t){return wd(this._ctx,function(n){return t(n.value)}),wT(this._ctx,t),this},e.prototype.and=function(t){return this.filter(t)},e.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},e.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.key,i)})},e.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},e.prototype.eachPrimaryKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.primaryKey,i)})},e.prototype.keys=function(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.key)}).then(function(){return r}).then(t)},e.prototype.primaryKeys=function(t){var n=this._ctx;if(n.dir==="next"&&Ll(n,!0)&&n.limit>0)return this._read(function(i){var o=vc(n,n.table.core.schema);return n.table.core.query({trans:i,values:!1,limit:n.limit,query:{index:o,range:n.range}})}).then(function(i){var o=i.result;return o}).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.primaryKey)}).then(function(){return r}).then(t)},e.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},e.prototype.firstKey=function(t){return this.limit(1).keys(function(n){return n[0]}).then(t)},e.prototype.lastKey=function(t){return this.reverse().firstKey(t)},e.prototype.distinct=function(){var t=this._ctx,n=t.index&&t.table.schema.idxByName[t.index];if(!n||!n.multi)return this;var r={};return wd(this._ctx,function(i){var o=i.primaryKey.toString(),l=hr(r,o);return r[o]=!0,!l}),this},e.prototype.modify=function(t){var n=this,r=this._ctx;return this._write(function(i){var o;if(typeof t=="function")o=t;else{var l=nn(t),u=l.length;o=function(M){for(var x=!1,y=0;y<u;++y){var E=l[y],A=t[E];Br(M,E)!==A&&(Cr(M,E,A),x=!0)}return x}}var c=r.table.core,h=c.schema.primaryKey,d=h.outbound,g=h.extractKey,v="testmode"in Po?1:2e3,w=n.db.core.cmp,k=[],_=0,L=[],O=function(M,x){var y=x.failures,E=x.numFailures;_+=M-E;for(var A=0,j=nn(y);A<j.length;A++){var N=j[A];k.push(y[N])}};return n.clone().primaryKeys().then(function(M){var x=function(y){var E=Math.min(v,M.length-y);return c.getMany({trans:i,keys:M.slice(y,y+E)}).then(function(A){for(var j=[],N=[],B=d?[]:null,W=[],J=0;J<E;++J){var V=A[J],ee={value:va(V),primKey:M[y+J]};o.call(ee,ee.value,ee)!==!1&&(ee.value==null?W.push(M[y+J]):!d&&w(g(V),g(ee.value))!==0?(W.push(M[y+J]),j.push(ee.value)):(N.push(ee.value),d&&B.push(M[y+J])))}return Promise.resolve(j.length>0&&c.mutate({trans:i,type:"add",values:j}).then(function(pe){for(var ue in pe.failures)W.splice(parseInt(ue),1);O(j.length,pe)})).then(function(pe){return N.length>0&&c.mutate({trans:i,type:"put",keys:B,values:N}).then(function(ue){return O(N.length,ue)})}).then(function(){return W.length>0&&c.mutate({trans:i,type:"delete",keys:W}).then(function(pe){return O(W.length,pe)})}).then(function(){return M.length>y+E&&x(y+v)})})};return x(0).then(function(){if(k.length>0)throw new Uc("Error modifying one or more objects",k,_,L);return M.length})})})},e.prototype.delete=function(){var t=this._ctx,n=t.range;return Ll(t)&&(t.isPrimKey&&!kT||n.type===3)?this._write(function(r){var i=t.table.core.schema.primaryKey,o=n;return t.table.core.count({trans:r,query:{index:i,range:o}}).then(function(l){return t.table.core.mutate({trans:r,type:"deleteRange",range:o}).then(function(u){var c=u.failures;u.lastResult,u.results;var h=u.numFailures;if(h)throw new Uc("Could not delete some values",Object.keys(c).map(function(d){return c[d]}),l-h);return l-h})})}):this.modify(function(r,i){return i.value=null})},e}();function bT(e){return Wa(_T.prototype,function(n,r){this.db=e;var i=L4,o=null;if(r)try{i=r()}catch(h){o=h}var l=n._ctx,u=l.table,c=u.hook.reading.fire;this._ctx={table:u,index:l.index,isPrimKey:!l.index||u.schema.primKey.keyPath&&l.index===u.schema.primKey.name,range:i,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:o,or:l.or,valueMapper:c!==Pa?c:null}})}function xT(e,t){return e<t?-1:e===t?0:1}function CT(e,t){return e>t?-1:e===t?0:1}function Vn(e,t,n){var r=e instanceof E4?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function ss(e){return new e.Collection(e,function(){return S4("")}).limit(0)}function LT(e){return e==="next"?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function ST(e){return e==="next"?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function ET(e,t,n,r,i,o){for(var l=Math.min(e.length,r.length),u=-1,c=0;c<l;++c){var h=t[c];if(h!==r[c])return i(e[c],n[c])<0?e.substr(0,c)+n[c]+n.substr(c+1):i(e[c],r[c])<0?e.substr(0,c)+r[c]+n.substr(c+1):u>=0?e.substr(0,u)+t[u]+n.substr(u+1):null;i(e[c],h)<0&&(u=c)}return l<r.length&&o==="next"?e+n.substr(e.length):l<e.length&&o==="prev"?e.substr(0,n.length):u<0?null:e.substr(0,u)+r[u]+n.substr(u+1)}function nc(e,t,n,r){var i,o,l,u,c,h,d,g=n.length;if(!n.every(function(_){return typeof _=="string"}))return Vn(e,x4);function v(_){i=LT(_),o=ST(_),l=_==="next"?xT:CT;var L=n.map(function(O){return{lower:o(O),upper:i(O)}}).sort(function(O,M){return l(O.lower,M.lower)});u=L.map(function(O){return O.upper}),c=L.map(function(O){return O.lower}),h=_,d=_==="next"?"":r}v("next");var w=new e.Collection(e,function(){return Oi(u[0],c[g-1]+r)});w._ondirectionchange=function(_){v(_)};var k=0;return w._addAlgorithm(function(_,L,O){var M=_.key;if(typeof M!="string")return!1;var x=o(M);if(t(x,c,k))return!0;for(var y=null,E=k;E<g;++E){var A=ET(M,x,u[E],c[E],l,h);A===null&&y===null?k=E+1:(y===null||l(y,A)>0)&&(y=A)}return L(y!==null?function(){_.continue(y+d)}:O),!1}),w}function Oi(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function S4(e){return{type:1,lower:e,upper:e}}var E4=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(t,n,r,i){r=r!==!1,i=i===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||i)&&!(r&&i)?ss(this):new this.Collection(this,function(){return Oi(t,n,!r,!i)})}catch{return Vn(this,Qr)}},e.prototype.equals=function(t){return t==null?Vn(this,Qr):new this.Collection(this,function(){return S4(t)})},e.prototype.above=function(t){return t==null?Vn(this,Qr):new this.Collection(this,function(){return Oi(t,void 0,!0)})},e.prototype.aboveOrEqual=function(t){return t==null?Vn(this,Qr):new this.Collection(this,function(){return Oi(t,void 0,!1)})},e.prototype.below=function(t){return t==null?Vn(this,Qr):new this.Collection(this,function(){return Oi(void 0,t,!1,!0)})},e.prototype.belowOrEqual=function(t){return t==null?Vn(this,Qr):new this.Collection(this,function(){return Oi(void 0,t)})},e.prototype.startsWith=function(t){return typeof t!="string"?Vn(this,x4):this.between(t,t+ps,!0,!0)},e.prototype.startsWithIgnoreCase=function(t){return t===""?this.startsWith(t):nc(this,function(n,r){return n.indexOf(r[0])===0},[t],ps)},e.prototype.equalsIgnoreCase=function(t){return nc(this,function(n,r){return n===r[0]},[t],"")},e.prototype.anyOfIgnoreCase=function(){var t=si.apply(fs,arguments);return t.length===0?ss(this):nc(this,function(n,r){return r.indexOf(n)!==-1},t,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var t=si.apply(fs,arguments);return t.length===0?ss(this):nc(this,function(n,r){return r.some(function(i){return n.indexOf(i)===0})},t,ps)},e.prototype.anyOf=function(){var t=this,n=si.apply(fs,arguments),r=this._cmp;try{n.sort(r)}catch{return Vn(this,Qr)}if(n.length===0)return ss(this);var i=new this.Collection(this,function(){return Oi(n[0],n[n.length-1])});i._ondirectionchange=function(l){r=l==="next"?t._ascending:t._descending,n.sort(r)};var o=0;return i._addAlgorithm(function(l,u,c){for(var h=l.key;r(h,n[o])>0;)if(++o,o===n.length)return u(c),!1;return r(h,n[o])===0?!0:(u(function(){l.continue(n[o])}),!1)}),i},e.prototype.notEqual=function(t){return this.inAnyRange([[_g,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var t=si.apply(fs,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return Vn(this,Qr)}var n=t.reduce(function(r,i){return r?r.concat([[r[r.length-1][1],i]]):[[_g,i]]},null);return n.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(t,n){var r=this,i=this._cmp,o=this._ascending,l=this._descending,u=this._min,c=this._max;if(t.length===0)return ss(this);if(!t.every(function(E){return E[0]!==void 0&&E[1]!==void 0&&o(E[0],E[1])<=0}))return Vn(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",Ne.InvalidArgument);var h=!n||n.includeLowers!==!1,d=n&&n.includeUppers===!0;function g(E,A){for(var j=0,N=E.length;j<N;++j){var B=E[j];if(i(A[0],B[1])<0&&i(A[1],B[0])>0){B[0]=u(B[0],A[0]),B[1]=c(B[1],A[1]);break}}return j===N&&E.push(A),E}var v=o;function w(E,A){return v(E[0],A[0])}var k;try{k=t.reduce(g,[]),k.sort(w)}catch{return Vn(this,Qr)}var _=0,L=d?function(E){return o(E,k[_][1])>0}:function(E){return o(E,k[_][1])>=0},O=h?function(E){return l(E,k[_][0])>0}:function(E){return l(E,k[_][0])>=0};function M(E){return!L(E)&&!O(E)}var x=L,y=new this.Collection(this,function(){return Oi(k[0][0],k[k.length-1][1],!h,!d)});return y._ondirectionchange=function(E){E==="next"?(x=L,v=o):(x=O,v=l),k.sort(w)},y._addAlgorithm(function(E,A,j){for(var N=E.key;x(N);)if(++_,_===k.length)return A(j),!1;return M(N)?!0:(r._cmp(N,k[_][1])===0||r._cmp(N,k[_][0])===0||A(function(){v===o?E.continue(k[_][0]):E.continue(k[_][1])}),!1)}),y},e.prototype.startsWithAnyOf=function(){var t=si.apply(fs,arguments);return t.every(function(n){return typeof n=="string"})?t.length===0?ss(this):this.inAnyRange(t.map(function(n){return[n,n+ps]})):Vn(this,"startsWithAnyOf() only works with strings")},e}();function MT(e){return Wa(E4.prototype,function(n,r,i){this.db=e,this._ctx={table:n,index:r===":id"?null:r,or:i};var o=e._deps.indexedDB;if(!o)throw new Ne.MissingAPI("indexedDB API missing");this._cmp=this._ascending=o.cmp.bind(o),this._descending=function(l,u){return o.cmp(u,l)},this._max=function(l,u){return o.cmp(l,u)>0?l:u},this._min=function(l,u){return o.cmp(l,u)<0?l:u},this._IDBKeyRange=e._deps.IDBKeyRange})}function M4(e){return e.length===1?e[0]:e}function T0(e){try{return e.only([[]]),[[]]}catch{return ps}}function Or(e){return It(function(t){return _a(t),e(t.target.error),!1})}function _a(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var AT=function(){function e(){}return e.prototype._lock=function(){return Hl(!Ie.global),++this._reculock,this._reculock===1&&!Ie.global&&(Ie.lockOwnerFor=this),this},e.prototype._unlock=function(){if(Hl(!Ie.global),--this._reculock===0)for(Ie.global||(Ie.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{Da(t[1],t[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&Ie.lockOwnerFor!==this},e.prototype.create=function(t){var n=this;if(!this.mode)return this;var r=this.db.idbdb,i=this.db._state.dbOpenError;if(Hl(!this.idbtrans),!t&&!r)switch(i&&i.name){case"DatabaseClosedError":throw new Ne.DatabaseClosed(i);case"MissingAPIError":throw new Ne.MissingAPI(i.message,i);default:throw new Ne.OpenFailed(i)}if(!this.active)throw new Ne.TransactionInactive;return Hl(this._completion._state===null),t=this.idbtrans=t||r.transaction(M4(this.storeNames),this.mode),t.onerror=It(function(o){_a(o),n._reject(t.error)}),t.onabort=It(function(o){_a(o),n.active&&n._reject(new Ne.Abort(t.error)),n.active=!1,n.on("abort").fire(o)}),t.oncomplete=It(function(){n.active=!1,n._resolve()}),this},e.prototype._promise=function(t,n,r){var i=this;if(t==="readwrite"&&this.mode!=="readwrite")return fn(new Ne.ReadOnly("Transaction is readonly"));if(!this.active)return fn(new Ne.TransactionInactive);if(this._locked())return new _e(function(l,u){i._blockedFuncs.push([function(){i._promise(t,n,r).then(l,u)},Ie])});if(r)return Ro(function(){var l=new _e(function(u,c){i._lock();var h=n(u,c,i);h&&h.then&&h.then(u,c)});return l.finally(function(){return i._unlock()}),l._lib=!0,l});var o=new _e(function(l,u){var c=n(l,u,i);c&&c.then&&c.then(l,u)});return o._lib=!0,o},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(t){var n=this._root(),r=_e.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return r});else{n._waitingFor=r,n._waitingQueue=[];var i=n.idbtrans.objectStore(n.storeNames[0]);(function l(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(i.get(-1/0).onsuccess=l)})()}var o=n._waitingFor;return new _e(function(l,u){r.then(function(c){return n._waitingQueue.push(It(l.bind(null,c)))},function(c){return n._waitingQueue.push(It(u.bind(null,c)))}).finally(function(){n._waitingFor===o&&(n._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new Ne.Abort),this.active=!1},e.prototype.table=function(t){var n=this._memoizedTables||(this._memoizedTables={});if(hr(n,t))return n[t];var r=this.schema[t];if(!r)throw new Ne.NotFound("Table "+t+" not part of transaction");var i=new this.db.Table(t,r,this);return i.core=this.db.core.table(t),n[t]=i,i},e}();function TT(e){return Wa(AT.prototype,function(n,r,i,o){var l=this;this.db=e,this.mode=n,this.storeNames=r,this.schema=i,this.idbtrans=null,this.on=Ef(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new _e(function(u,c){l._resolve=u,l._reject=c}),this._completion.then(function(){l.active=!1,l.on.complete.fire()},function(u){var c=l.active;return l.active=!1,l.on.error.fire(u),l.parent?l.parent._reject(u):c&&l.idbtrans&&l.idbtrans.abort(),fn(u)})})}function bg(e,t,n,r,i,o,l){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!l?"&":"")+(r?"*":"")+(i?"++":"")+A4(t)}}function A4(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function T4(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:n4(n,function(r){return[r.name,r]})}}function xg(e){return e==null?function(){}:typeof e=="string"?OT(e):function(t){return Br(t,e)}}function OT(e){var t=e.split(".");return t.length===1?function(n){return n[e]}:function(n){return Br(n,e)}}function O4(e,t){return t.type==="delete"?t.keys:t.keys||t.values.map(e.extractKey)}function RT(e,t,n){return t.type==="add"?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function iv(e){return[].slice.call(e)}var IT=0;function ta(e){return e==null?":id":typeof e=="string"?e:"["+e.join("+")+"]"}function jT(e,t,n,r){var i=t.cmp.bind(t);function o(w,k){var _=iv(w.objectStoreNames);return{schema:{name:w.name,tables:_.map(function(L){return k.objectStore(L)}).map(function(L){var O=L.keyPath,M=L.autoIncrement,x=vn(O),y=O==null,E={},A={name:L.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:y,compound:x,keyPath:O,autoIncrement:M,unique:!0,extractKey:xg(O)},indexes:iv(L.indexNames).map(function(j){return L.index(j)}).map(function(j){var N=j.name,B=j.unique,W=j.multiEntry,J=j.keyPath,V=vn(J),ee={name:N,compound:V,keyPath:J,unique:B,multiEntry:W,extractKey:xg(J)};return E[ta(J)]=ee,ee}),getIndexByKeyPath:function(j){return E[ta(j)]}};return E[":id"]=A.primaryKey,O!=null&&(E[ta(O)]=A.primaryKey),A})},hasGetAll:_.length>0&&"getAll"in k.objectStore(_[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function l(w){if(w.type===3)return null;if(w.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var k=w.lower,_=w.upper,L=w.lowerOpen,O=w.upperOpen,M=k===void 0?_===void 0?null:n.upperBound(_,!!O):_===void 0?n.lowerBound(k,!!L):n.bound(k,_,!!L,!!O);return M}function u(w){var k=w.name;function _(M){var x=M.trans,y=M.type,E=M.keys,A=M.values,j=M.range,N=M.wantResults;return new Promise(function(B,W){B=It(B);var J=x.objectStore(k),V=J.keyPath==null,ee=y==="put"||y==="add";if(!ee&&y!=="delete"&&y!=="deleteRange")throw new Error("Invalid operation type: "+y);var pe=(E||A||{length:1}).length;if(E&&A&&E.length!==A.length)throw new Error("Given keys array must have same length as given values array.");if(pe===0)return B({numFailures:0,failures:{},results:[],lastResult:void 0});var ue=N&&ug(E||O4(w.primaryKey,{type:y,keys:E,values:A})),Q,te=[],oe=0,Ge=function(Be){++oe,_a(Be),ue&&(ue[Be.target._reqno]=void 0),te[Be.target._reqno]=Be.target.error},lt=function(Be){var q=Be.target;ue[q._reqno]=q.result};if(y==="deleteRange"){if(j.type===4)return B({numFailures:oe,failures:te,results:ue,lastResult:void 0});j.type===3?Q=J.clear():Q=J.delete(l(j))}else{var Ke=ee?V?[A,E]:[A,null]:[E,null],st=Ke[0],wt=Ke[1];if(ee)for(var Xe=0;Xe<pe;++Xe)Q=wt&&wt[Xe]!==void 0?J[y](st[Xe],wt[Xe]):J[y](st[Xe]),Q._reqno=Xe,ue&&ue[Xe]===void 0&&(Q.onsuccess=lt),Q.onerror=Ge;else for(var Xe=0;Xe<pe;++Xe)Q=J[y](st[Xe]),Q._reqno=Xe,Q.onerror=Ge}var ct=function(Be){var q=Be.target.result;ue&&(ue[pe-1]=q),B({numFailures:oe,failures:te,results:ue,lastResult:q})};Q.onerror=function(Be){Ge(Be),ct(Be)},Q.onsuccess=ct})}function L(M){var x=M.trans,y=M.values,E=M.query,A=M.reverse,j=M.unique;return new Promise(function(N,B){N=It(N);var W=E.index,J=E.range,V=x.objectStore(k),ee=W.isPrimaryKey?V:V.index(W.name),pe=A?j?"prevunique":"prev":j?"nextunique":"next",ue=y||!("openKeyCursor"in ee)?ee.openCursor(l(J),pe):ee.openKeyCursor(l(J),pe);ue.onerror=Or(B),ue.onsuccess=It(function(Q){var te=ue.result;if(!te){N(null);return}te.___id=++IT,te.done=!1;var oe=te.continue.bind(te),Ge=te.continuePrimaryKey;Ge&&(Ge=Ge.bind(te));var lt=te.advance.bind(te),Ke=function(){throw new Error("Cursor not started")},st=function(){throw new Error("Cursor not stopped")};te.trans=x,te.stop=te.continue=te.continuePrimaryKey=te.advance=Ke,te.fail=It(B),te.next=function(){var wt=this,Xe=1;return this.start(function(){return Xe--?wt.continue():wt.stop()}).then(function(){return wt})},te.start=function(wt){var Xe=new Promise(function(Be,q){Be=It(Be),ue.onerror=Or(q),te.fail=q,te.stop=function(fe){te.stop=te.continue=te.continuePrimaryKey=te.advance=st,Be(fe)}}),ct=function(){if(ue.result)try{wt()}catch(Be){te.fail(Be)}else te.done=!0,te.start=function(){throw new Error("Cursor behind last entry")},te.stop()};return ue.onsuccess=It(function(Be){ue.onsuccess=ct,ct()}),te.continue=oe,te.continuePrimaryKey=Ge,te.advance=lt,ct(),Xe},N(te)},B)})}function O(M){return function(x){return new Promise(function(y,E){y=It(y);var A=x.trans,j=x.values,N=x.limit,B=x.query,W=N===1/0?void 0:N,J=B.index,V=B.range,ee=A.objectStore(k),pe=J.isPrimaryKey?ee:ee.index(J.name),ue=l(V);if(N===0)return y({result:[]});if(M){var Q=j?pe.getAll(ue,W):pe.getAllKeys(ue,W);Q.onsuccess=function(lt){return y({result:lt.target.result})},Q.onerror=Or(E)}else{var te=0,oe=j||!("openKeyCursor"in pe)?pe.openCursor(ue):pe.openKeyCursor(ue),Ge=[];oe.onsuccess=function(lt){var Ke=oe.result;if(!Ke)return y({result:Ge});if(Ge.push(j?Ke.value:Ke.primaryKey),++te===N)return y({result:Ge});Ke.continue()},oe.onerror=Or(E)}})}}return{name:k,schema:w,mutate:_,getMany:function(M){var x=M.trans,y=M.keys;return new Promise(function(E,A){E=It(E);for(var j=x.objectStore(k),N=y.length,B=new Array(N),W=0,J=0,V,ee=function(te){var oe=te.target;(B[oe._pos]=oe.result)!=null,++J===W&&E(B)},pe=Or(A),ue=0;ue<N;++ue){var Q=y[ue];Q!=null&&(V=j.get(y[ue]),V._pos=ue,V.onsuccess=ee,V.onerror=pe,++W)}W===0&&E(B)})},get:function(M){var x=M.trans,y=M.key;return new Promise(function(E,A){E=It(E);var j=x.objectStore(k),N=j.get(y);N.onsuccess=function(B){return E(B.target.result)},N.onerror=Or(A)})},query:O(d),openCursor:L,count:function(M){var x=M.query,y=M.trans,E=x.index,A=x.range;return new Promise(function(j,N){var B=y.objectStore(k),W=E.isPrimaryKey?B:B.index(E.name),J=l(A),V=J?W.count(J):W.count();V.onsuccess=It(function(ee){return j(ee.target.result)}),V.onerror=Or(N)})}}}var c=o(e,r),h=c.schema,d=c.hasGetAll,g=h.tables.map(function(w){return u(w)}),v={};return g.forEach(function(w){return v[w.name]=w}),{stack:"dbcore",transaction:e.transaction.bind(e),table:function(w){var k=v[w];if(!k)throw new Error("Table '"+w+"' not found");return v[w]},cmp:i,MIN_KEY:-1/0,MAX_KEY:T0(n),schema:h}}function PT(e,t){return t.reduce(function(n,r){var i=r.create;return bt(bt({},n),i(n))},e)}function BT(e,t,n,r){var i=n.IDBKeyRange,o=n.indexedDB,l=PT(jT(t,o,i,r),e.dbcore);return{dbcore:l}}function O0(e,t){var n=t.db,r=BT(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach(function(i){var o=i.name;e.core.schema.tables.some(function(l){return l.name===o})&&(i.core=e.core.table(o),e[o]instanceof e.Table&&(e[o].core=i.core))})}function Zc(e,t,n,r){n.forEach(function(i){var o=r[i];t.forEach(function(l){var u=b0(l,i);(!u||"value"in u&&u.value===void 0)&&(l===e.Transaction.prototype||l instanceof e.Transaction?fi(l,i,{get:function(){return this.table(i)},set:function(c){Q2(this,i,{value:c,writable:!0,configurable:!0,enumerable:!0})}}):l[i]=new e.Table(i,o))})})}function Cg(e,t){t.forEach(function(n){for(var r in n)n[r]instanceof e.Table&&delete n[r]})}function NT(e,t){return e._cfg.version-t._cfg.version}function FT(e,t,n,r){var i=e._dbSchema,o=e._createTransaction("readwrite",e._storeNames,i);o.create(n),o._completion.catch(r);var l=o._reject.bind(o),u=Ie.transless||Ie;Ro(function(){Ie.trans=o,Ie.transless=u,t===0?(nn(i).forEach(function(c){R0(n,c,i[c].primKey,i[c].indexes)}),O0(e,n),_e.follow(function(){return e.on.populate.fire(o)}).catch(l)):DT(e,t,o,n).catch(l)})}function DT(e,t,n,r){var i=[],o=e._versions,l=e._dbSchema=I0(e,e.idbdb,r),u=!1,c=o.filter(function(d){return d._cfg.version>=t});c.forEach(function(d){i.push(function(){var g=l,v=d._cfg.dbschema;Sg(e,g,r),Sg(e,v,r),l=e._dbSchema=v;var w=R4(g,v);w.add.forEach(function(x){R0(r,x[0],x[1].primKey,x[1].indexes)}),w.change.forEach(function(x){if(x.recreate)throw new Ne.Upgrade("Not yet support for changing primary key");var y=r.objectStore(x.name);x.add.forEach(function(E){return Lg(y,E)}),x.change.forEach(function(E){y.deleteIndex(E.name),Lg(y,E)}),x.del.forEach(function(E){return y.deleteIndex(E)})});var k=d._cfg.contentUpgrade;if(k&&d._cfg.version>t){O0(e,r),n._memoizedTables={},u=!0;var _=i4(v);w.del.forEach(function(x){_[x]=g[x]}),Cg(e,[e.Transaction.prototype]),Zc(e,[e.Transaction.prototype],nn(_),_),n.schema=_;var L=l4(k);L&&Fa();var O,M=_e.follow(function(){if(O=k(n),O&&L){var x=Io.bind(null,null);O.then(x,x)}});return O&&typeof O.then=="function"?_e.resolve(O):M.then(function(){return O})}}),i.push(function(g){if(!u||!mT){var v=d._cfg.dbschema;HT(v,g)}Cg(e,[e.Transaction.prototype]),Zc(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})});function h(){return i.length?_e.resolve(i.shift()(n.idbtrans)).then(h):_e.resolve()}return h().then(function(){WT(l,r)})}function R4(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var i=e[r],o=t[r];if(!i)n.add.push([r,o]);else{var l={name:r,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||i.primKey.auto!==o.primKey.auto&&!A0)l.recreate=!0,n.change.push(l);else{var u=i.idxByName,c=o.idxByName,h=void 0;for(h in u)c[h]||l.del.push(h);for(h in c){var d=u[h],g=c[h];d?d.src!==g.src&&l.change.push(g):l.add.push(g)}(l.del.length>0||l.add.length>0||l.change.length>0)&&n.change.push(l)}}}return n}function R0(e,t,n,r){var i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(o){return Lg(i,o)}),i}function WT(e,t){nn(e).forEach(function(n){t.db.objectStoreNames.contains(n)||R0(t,n,e[n].primKey,e[n].indexes)})}function HT(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 Lg(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function I0(e,t,n){var r={},i=Lf(t.objectStoreNames,0);return i.forEach(function(o){for(var l=n.objectStore(o),u=l.keyPath,c=bg(A4(u),u||"",!1,!1,!!l.autoIncrement,u&&typeof u!="string",!0),h=[],d=0;d<l.indexNames.length;++d){var g=l.index(l.indexNames[d]);u=g.keyPath;var v=bg(g.name,u,!!g.unique,!!g.multiEntry,!1,u&&typeof u!="string",!1);h.push(v)}r[o]=T4(o,c,h)}),r}function zT(e,t,n){e.verno=t.version/10;var r=e._dbSchema=I0(e,t,n);e._storeNames=Lf(t.objectStoreNames,0),Zc(e,[e._allTables],nn(r),r)}function VT(e,t){var n=I0(e,e.idbdb,t),r=R4(n,e._dbSchema);return!(r.add.length||r.change.some(function(i){return i.add.length||i.change.length}))}function Sg(e,t,n){for(var r=n.db.objectStoreNames,i=0;i<r.length;++i){var o=r[i],l=n.objectStore(o);e._hasGetAll="getAll"in l;for(var u=0;u<l.indexNames.length;++u){var c=l.indexNames[u],h=l.index(c).keyPath,d=typeof h=="string"?h:"["+Lf(h).join("+")+"]";if(t[o]){var g=t[o].idxByName[d];g&&(g.name=c,delete t[o].idxByName[d],t[o].idxByName[c]=g)}}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&St.WorkerGlobalScope&&St instanceof St.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(e._hasGetAll=!1)}function UT(e){return e.split(",").map(function(t,n){t=t.trim();var r=t.replace(/([&*]|\+\+)/g,""),i=/^\[/.test(r)?r.match(/^\[(.*)\]$/)[1].split("+"):r;return bg(r,i||null,/\&/.test(t),/\*/.test(t),/\+\+/.test(t),vn(i),n===0)})}var $T=function(){function e(){}return e.prototype._parseStoresSpec=function(t,n){nn(t).forEach(function(r){if(t[r]!==null){var i=UT(t[r]),o=i.shift();if(o.multi)throw new Ne.Schema("Primary key cannot be multi-valued");i.forEach(function(l){if(l.auto)throw new Ne.Schema("Only primary key can be marked as autoIncrement (++)");if(!l.keyPath)throw new Ne.Schema("Index must have a name and cannot be an empty string")}),n[r]=T4(r,o,i)}})},e.prototype.stores=function(t){var n=this.db;this._cfg.storesSource=this._cfg.storesSource?fr(this._cfg.storesSource,t):t;var r=n._versions,i={},o={};return r.forEach(function(l){fr(i,l._cfg.storesSource),o=l._cfg.dbschema={},l._parseStoresSpec(i,o)}),n._dbSchema=o,Cg(n,[n._allTables,n,n.Transaction.prototype]),Zc(n,[n._allTables,n,n.Transaction.prototype,this._cfg.tables],nn(o),o),n._storeNames=nn(o),this},e.prototype.upgrade=function(t){return this._cfg.contentUpgrade=t,this},e}();function KT(e){return Wa($T.prototype,function(n){this.db=e,this._cfg={version:n,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}var ba;function qT(e){var t=e&&typeof e.databases=="function",n;if(!t){var r=new Po(Qu,{addons:[]});r.version(1).stores({dbnames:"name"}),n=r.table("dbnames")}return{getDatabaseNames:function(){return t?_e.resolve(e.databases()).then(function(i){return i.map(function(o){return o.name}).filter(function(o){return o!==Qu})}):n.toCollection().primaryKeys()},add:function(i){return!t&&i!==Qu&&n.put({name:i}).catch(Ct)},remove:function(i){return!t&&i!==Qu&&n.delete(i).catch(Ct)}}}function JT(e){try{ba=qT(e)}catch{}}function Eg(e){return Ro(function(){return Ie.letThrough=!0,e()})}function GT(e){var t=e._state,n=e._deps.indexedDB;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then(function(){return t.dbOpenError?fn(t.dbOpenError):e});Wr&&(t.openCanceller._stackHolder=Ys()),t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;var r=t.dbReadyResolve,i=null;return _e.race([t.openCanceller,new _e(function(o,l){if(!n)throw new Ne.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 u=e.name,c=t.autoSchema?n.open(u):n.open(u,Math.round(e.verno*10));if(!c)throw new Ne.MissingAPI("IndexedDB API not available");c.onerror=Or(l),c.onblocked=It(e._fireOnBlocked),c.onupgradeneeded=It(function(h){if(i=c.transaction,t.autoSchema&&!e._options.allowEmptyDB){c.onerror=_a,i.abort(),c.result.close();var d=n.deleteDatabase(u);d.onsuccess=d.onerror=It(function(){l(new Ne.NoSuchDatabase("Database "+u+" doesnt exist"))})}else{i.onerror=Or(l);var g=h.oldVersion>Math.pow(2,62)?0:h.oldVersion;e.idbdb=c.result,FT(e,g/10,i,l)}},l),c.onsuccess=It(function(){i=null;var h=e.idbdb=c.result,d=Lf(h.objectStoreNames);if(d.length>0)try{var g=h.transaction(M4(d),"readonly");t.autoSchema?zT(e,h,g):(Sg(e,e._dbSchema,g),VT(e,g)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),O0(e,g)}catch{}ea.push(e),h.onversionchange=It(function(v){t.vcFired=!0,e.on("versionchange").fire(v)}),ba.add(u),o()},l)})]).then(function(){return t.onReadyBeingFired=[],_e.resolve(Eg(e.on.ready.fire)).then(function o(){if(t.onReadyBeingFired.length>0){var l=t.onReadyBeingFired.reduce(h4,Ct);return t.onReadyBeingFired=[],_e.resolve(Eg(l)).then(o)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(o){try{i&&i.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=o,fn(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function Mg(e){var t=function(l){return e.next(l)},n=function(l){return e.throw(l)},r=o(t),i=o(n);function o(l){return function(u){var c=l(u),h=c.value;return c.done?h:!h||typeof h.then!="function"?vn(h)?Promise.all(h).then(r,i):r(h):h.then(r,i)}}return o(t)()}function ZT(e,t,n){var r=arguments.length;if(r<2)throw new Ne.InvalidArgument("Too few arguments");for(var i=new Array(r-1);--r;)i[r-1]=arguments[r];n=i.pop();var o=o4(i);return[e,o,n]}function YT(e,t,n,r,i){return _e.resolve().then(function(){var o=Ie.transless||Ie,l=e._createTransaction(t,n,e._dbSchema,r),u={trans:l,transless:o};r?l.idbtrans=r.idbtrans:l.create();var c=l4(i);c&&Fa();var h,d=_e.follow(function(){if(h=i.call(l,l),h)if(c){var g=Io.bind(null,null);h.then(g,g)}else typeof h.next=="function"&&typeof h.throw=="function"&&(h=Mg(h))},u);return(h&&typeof h.then=="function"?_e.resolve(h).then(function(g){return l.active?g:fn(new Ne.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):d.then(function(){return h})).then(function(g){return r&&l._resolve(),l._completion.then(function(){return g})}).catch(function(g){return l._reject(g),fn(g)})})}function Sl(e,t,n){for(var r=vn(e)?e.slice():[e],i=0;i<n;++i)r.push(t);return r}function XT(e){return bt(bt({},e),{table:function(t){var n=e.table(t),r=n.schema,i={},o=[];function l(_,L,O){var M=ta(_),x=i[M]=i[M]||[],y=_==null?0:typeof _=="string"?1:_.length,E=L>0,A=bt(bt({},O),{isVirtual:E,isPrimaryKey:!E&&O.isPrimaryKey,keyTail:L,keyLength:y,extractKey:xg(_),unique:!E&&O.unique});if(x.push(A),A.isPrimaryKey||o.push(A),y>1){var j=y===2?_[0]:_.slice(0,y-1);l(j,L+1,O)}return x.sort(function(N,B){return N.keyTail-B.keyTail}),A}var u=l(r.primaryKey.keyPath,0,r.primaryKey);i[":id"]=[u];for(var c=0,h=r.indexes;c<h.length;c++){var d=h[c];l(d.keyPath,0,d)}function g(_){var L=i[ta(_)];return L&&L[0]}function v(_,L){return{type:_.type===1?2:_.type,lower:Sl(_.lower,_.lowerOpen?e.MAX_KEY:e.MIN_KEY,L),lowerOpen:!0,upper:Sl(_.upper,_.upperOpen?e.MIN_KEY:e.MAX_KEY,L),upperOpen:!0}}function w(_){var L=_.query.index;return L.isVirtual?bt(bt({},_),{query:{index:L,range:v(_.query.range,L.keyTail)}}):_}var k=bt(bt({},n),{schema:bt(bt({},r),{primaryKey:u,indexes:o,getIndexByKeyPath:g}),count:function(_){return n.count(w(_))},query:function(_){return n.query(w(_))},openCursor:function(_){var L=_.query.index,O=L.keyTail,M=L.isVirtual,x=L.keyLength;if(!M)return n.openCursor(_);function y(E){function A(N){N!=null?E.continue(Sl(N,_.reverse?e.MAX_KEY:e.MIN_KEY,O)):_.unique?E.continue(Sl(E.key,_.reverse?e.MIN_KEY:e.MAX_KEY,O)):E.continue()}var j=Object.create(E,{continue:{value:A},continuePrimaryKey:{value:function(N,B){E.continuePrimaryKey(Sl(N,e.MAX_KEY,O),B)}},key:{get:function(){var N=E.key;return x===1?N[0]:N.slice(0,x)}},value:{get:function(){return E.value}}});return j}return n.openCursor(w(_)).then(function(E){return E&&y(E)})}});return k}})}var QT={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:XT},eO={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(e){return bt(bt({},e),{table:function(t){var n=e.table(t),r=n.schema.primaryKey,i=bt(bt({},n),{mutate:function(o){var l=Ie.trans,u=l.table(t).hook,c=u.deleting,h=u.creating,d=u.updating;switch(o.type){case"add":if(h.fire===Ct)break;return l._promise("readwrite",function(){return g(o)},!0);case"put":if(h.fire===Ct&&d.fire===Ct)break;return l._promise("readwrite",function(){return g(o)},!0);case"delete":if(c.fire===Ct)break;return l._promise("readwrite",function(){return g(o)},!0);case"deleteRange":if(c.fire===Ct)break;return l._promise("readwrite",function(){return v(o)},!0)}return n.mutate(o);function g(k){var _=Ie.trans,L=k.keys||O4(r,k);if(!L)throw new Error("Keys missing");return k=k.type==="add"||k.type==="put"?bt(bt({},k),{keys:L,wantResults:!0}):bt({},k),k.type!=="delete"&&(k.values=ug(k.values)),k.keys&&(k.keys=ug(k.keys)),RT(n,k,L).then(function(O){var M=L.map(function(x,y){var E=O[y],A={onerror:null,onsuccess:null};if(k.type==="delete")c.fire.call(A,x,E,_);else if(k.type==="add"||E===void 0){var j=h.fire.call(A,x,k.values[y],_);x==null&&j!=null&&(x=j,k.keys[y]=x,r.outbound||Cr(k.values[y],r.keyPath,x))}else{var N=x0(E,k.values[y]),B=d.fire.call(A,N,x,E,_);if(B){var W=k.values[y];Object.keys(B).forEach(function(J){hr(W,J)?W[J]=B[J]:Cr(W,J,B[J])})}}return A});return n.mutate(k).then(function(x){for(var y=x.failures,E=x.results,A=x.numFailures,j=x.lastResult,N=0;N<L.length;++N){var B=E?E[N]:L[N],W=M[N];B==null?W.onerror&&W.onerror(y[N]):W.onsuccess&&W.onsuccess(k.type==="put"&&O[N]?k.values[N]:B)}return{failures:y,results:E,numFailures:A,lastResult:j}}).catch(function(x){return M.forEach(function(y){return y.onerror&&y.onerror(x)}),Promise.reject(x)})})}function v(k){return w(k.trans,k.range,1e4)}function w(k,_,L){return n.query({trans:k,values:!1,query:{index:r,range:_},limit:L}).then(function(O){var M=O.result;return g({type:"delete",keys:M,trans:k}).then(function(x){return x.numFailures>0?Promise.reject(x.failures[0]):M.length<L?{failures:[],numFailures:0,lastResult:void 0}:w(k,bt(bt({},_),{lower:M[M.length-1],lowerOpen:!0}),L)})})}}});return i}})}},Po=function(){function e(t,n){var r=this;this._middlewares={},this.verno=0;var i=e.dependencies;this._options=n=bt({addons:e.addons,autoOpen:!0,indexedDB:i.indexedDB,IDBKeyRange:i.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var o=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null;var l={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Ct,dbReadyPromise:null,cancelOpen:Ct,openCanceller:null,autoSchema:!0};l.dbReadyPromise=new _e(function(u){l.dbReadyResolve=u}),l.openCanceller=new _e(function(u,c){l.cancelOpen=c}),this._state=l,this.name=t,this.on=Ef(this,"populate","blocked","versionchange",{ready:[h4,Ct]}),this.on.ready.subscribe=e4(this.on.ready.subscribe,function(u){return function(c,h){e.vip(function(){var d=r._state;if(d.openComplete)d.dbOpenError||_e.resolve().then(c),h&&u(c);else if(d.onReadyBeingFired)d.onReadyBeingFired.push(c),h&&u(c);else{u(c);var g=r;h||u(function v(){g.on.ready.unsubscribe(c),g.on.ready.unsubscribe(v)})}})}}),this.Collection=bT(this),this.Table=yT(this),this.Transaction=TT(this),this.Version=KT(this),this.WhereClause=MT(this),this.on("versionchange",function(u){u.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(u){!u.newVersion||u.newVersion<u.oldVersion?console.warn("Dexie.delete('"+r.name+"') was blocked"):console.warn("Upgrade '"+r.name+"' blocked by other connection holding version "+u.oldVersion/10)}),this._maxKey=T0(n.IDBKeyRange),this._createTransaction=function(u,c,h,d){return new r.Transaction(u,c,h,d)},this._fireOnBlocked=function(u){r.on("blocked").fire(u),ea.filter(function(c){return c.name===r.name&&c!==r&&!c._state.vcFired}).map(function(c){return c.on("versionchange").fire(u)})},this.use(QT),this.use(eO),o.forEach(function(u){return u(r)})}return e.prototype.version=function(t){if(isNaN(t)||t<.1)throw new Ne.Type("Given version is not a positive number");if(t=Math.round(t*10)/10,this.idbdb||this._state.isBeingOpened)throw new Ne.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);var n=this._versions,r=n.filter(function(i){return i._cfg.version===t})[0];return r||(r=new this.Version(t),n.push(r),n.sort(NT),r.stores({}),this._state.autoSchema=!1,r)},e.prototype._whenReady=function(t){var n=this;return this._state.openComplete||Ie.letThrough?t():new _e(function(r,i){if(!n._state.isBeingOpened){if(!n._options.autoOpen){i(new Ne.DatabaseClosed);return}n.open().catch(Ct)}n._state.dbReadyPromise.then(r,i)}).then(t)},e.prototype.use=function(t){var n=t.stack,r=t.create,i=t.level,o=t.name;o&&this.unuse({stack:n,name:o});var l=this._middlewares[n]||(this._middlewares[n]=[]);return l.push({stack:n,create:r,level:i??10,name:o}),l.sort(function(u,c){return u.level-c.level}),this},e.prototype.unuse=function(t){var n=t.stack,r=t.name,i=t.create;return n&&this._middlewares[n]&&(this._middlewares[n]=this._middlewares[n].filter(function(o){return i?o.create!==i:r?o.name!==r:!1})),this},e.prototype.open=function(){return GT(this)},e.prototype.close=function(){var t=ea.indexOf(this),n=this._state;if(t>=0&&ea.splice(t,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,n.dbOpenError=new Ne.DatabaseClosed,n.isBeingOpened&&n.cancelOpen(n.dbOpenError),n.dbReadyPromise=new _e(function(r){n.dbReadyResolve=r}),n.openCanceller=new _e(function(r,i){n.cancelOpen=i})},e.prototype.delete=function(){var t=this,n=arguments.length>0,r=this._state;return new _e(function(i,o){var l=function(){t.close();var u=t._deps.indexedDB.deleteDatabase(t.name);u.onsuccess=It(function(){ba.remove(t.name),i()}),u.onerror=Or(o),u.onblocked=t._fireOnBlocked};if(n)throw new Ne.InvalidArgument("Arguments not allowed in db.delete()");r.isBeingOpened?r.dbReadyPromise.then(l):l()})},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 nn(this._allTables).map(function(n){return t._allTables[n]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var t=ZT.apply(this,arguments);return this._transaction.apply(this,t)},e.prototype._transaction=function(t,n,r){var i=this,o=Ie.trans;(!o||o.db!==this||t.indexOf("!")!==-1)&&(o=null);var l=t.indexOf("?")!==-1;t=t.replace("!","").replace("?","");var u,c;try{if(c=n.map(function(d){var g=d instanceof i.Table?d.name:d;if(typeof g!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return g}),t=="r"||t===vd)u=vd;else if(t=="rw"||t==yd)u=yd;else throw new Ne.InvalidArgument("Invalid transaction mode: "+t);if(o){if(o.mode===vd&&u===yd)if(l)o=null;else throw new Ne.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");o&&c.forEach(function(d){if(o&&o.storeNames.indexOf(d)===-1)if(l)o=null;else throw new Ne.SubTransaction("Table "+d+" not included in parent transaction.")}),l&&o&&!o.active&&(o=null)}}catch(d){return o?o._promise(null,function(g,v){v(d)}):fn(d)}var h=YT.bind(null,this,u,c,o,r);return o?o._promise(u,h,"lock"):Ie.trans?Da(Ie.transless,function(){return i._whenReady(h)}):this._whenReady(h)},e.prototype.table=function(t){if(!hr(this._allTables,t))throw new Ne.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},e}(),Pi=Po;ka(Pi,bt(bt({},Sf),{delete:function(e){var t=new Pi(e);return t.delete()},exists:function(e){return new Pi(e,{addons:[]}).open().then(function(t){return t.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return ba?ba.getDatabaseNames().then(e):_e.resolve([])},defineClass:function(){function e(t){fr(this,t)}return e},ignoreTransaction:function(e){return Ie.trans?Da(Ie.transless,e):e()},vip:Eg,async:function(e){return function(){try{var t=Mg(e.apply(this,arguments));return!t||typeof t.then!="function"?_e.resolve(t):t}catch(n){return fn(n)}}},spawn:function(e,t,n){try{var r=Mg(e.apply(n,t||[]));return!r||typeof r.then!="function"?_e.resolve(r):r}catch(i){return fn(i)}},currentTransaction:{get:function(){return Ie.trans||null}},waitFor:function(e,t){var n=_e.resolve(typeof e=="function"?Pi.ignoreTransaction(e):e).timeout(t||6e4);return Ie.trans?Ie.trans.waitFor(n):n},Promise:_e,debug:{get:function(){return Wr},set:function(e){a4(e,e==="dexie"?function(){return!0}:C4)}},derive:Zs,extend:fr,props:ka,override:e4,Events:Ef,getByKeyPath:Br,setByKeyPath:Cr,delByKeyPath:r4,shallowClone:i4,deepClone:va,getObjectDiff:x0,asap:t4,minKey:_g,addons:[],connections:ea,errnames:YA,dependencies:function(){try{return{indexedDB:St.indexedDB||St.mozIndexedDB||St.webkitIndexedDB||St.msIndexedDB,IDBKeyRange:St.IDBKeyRange||St.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}}(),semVer:tv,version:tv.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,n*2)}),default:Pi,Dexie:Pi}));Pi.maxKey=T0(Pi.dependencies.IDBKeyRange);JT(Po.dependencies.indexedDB);_e.rejectionMapper=QA;a4(Wr,C4);const ov="PPTIST_DISCARDED_DB",Ag="PPT",DH=async()=>{const e=new Date().getTime(),t=localStorage.getItem(ov),n=t?JSON.parse(t):[],i=(await Po.getDatabaseNames()).filter(o=>{if(o.indexOf(Ag)===-1)return!1;const[l,u,c]=o.split("_");return!!(l!==Ag||!u||!c||n.includes(u)||e-+c>=1e3*60*60*12)});for(const o of i)Po.delete(o);localStorage.removeItem(ov)};class tO extends Po{constructor(){super(`${Ag}_${Y2}_${new Date().getTime()}`);bl(this,"snapshots");bl(this,"writingBoardImgs");this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}}const ao=new tO,WH=Gs("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=gs(),t={index:e.slideIndex,slides:e.slides};await ao.snapshots.add(t),this.setSnapshotCursor(0),this.setSnapshotLength(1)},async addSnapshot(){const e=gs(),t=await ao.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 ao.snapshots.add(r);let i=t.length-n.length+1;i>20&&(n.push(t[0]),i--),i>=2&&ao.snapshots.update(t[i-2],{index:e.slideIndex}),await ao.snapshots.bulkDelete(n),this.setSnapshotCursor(i-1),this.setSnapshotLength(i)},async unDo(){if(this.snapshotCursor<=0)return;const e=gs(),t=Gk(),n=this.snapshotCursor-1,i=(await ao.snapshots.orderBy("id").toArray())[n],{index:o,slides:l}=i,u=o>l.length-1?l.length-1:o;e.setSlides(l),e.updateSlideIndex(u),this.setSnapshotCursor(n),t.setActiveElementIdList([])},async reDo(){if(this.snapshotCursor>=this.snapshotLength-1)return;const e=gs(),t=Gk(),n=this.snapshotCursor+1,i=(await ao.snapshots.orderBy("id").toArray())[n],{index:o,slides:l}=i,u=o>l.length-1?l.length-1:o;e.setSlides(l),e.updateSlideIndex(u),this.setSnapshotCursor(n),t.setActiveElementIdList([])}}}),HH=Gs("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}}}),zH=Gs("screen",{state:()=>({mode:"pptEditor",screening:!1}),actions:{setScreening(e){this.screening=e},setScreenMode(e){this.mode=e}}}),I4=P9();/*!
- * vue-router v4.4.5
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */const hs=typeof document<"u";function j4(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function nO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&j4(e.default)}const pt=Object.assign;function bd(e,t){const n={};for(const r in t){const i=t[r];n[r]=Lr(i)?i.map(e):e(i)}return n}const na=()=>{},Lr=Array.isArray,P4=/#/g,rO=/&/g,iO=/\//g,oO=/=/g,sO=/\?/g,B4=/\+/g,lO=/%5B/g,aO=/%5D/g,N4=/%5E/g,uO=/%60/g,F4=/%7B/g,cO=/%7C/g,D4=/%7D/g,fO=/%20/g;function j0(e){return encodeURI(""+e).replace(cO,"|").replace(lO,"[").replace(aO,"]")}function hO(e){return j0(e).replace(F4,"{").replace(D4,"}").replace(N4,"^")}function Tg(e){return j0(e).replace(B4,"%2B").replace(fO,"+").replace(P4,"%23").replace(rO,"%26").replace(uO,"`").replace(F4,"{").replace(D4,"}").replace(N4,"^")}function dO(e){return Tg(e).replace(oO,"%3D")}function gO(e){return j0(e).replace(P4,"%23").replace(sO,"%3F")}function pO(e){return e==null?"":gO(e).replace(iO,"%2F")}function xa(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const mO=/\/$/,kO=e=>e.replace(mO,"");function xd(e,t,n="/"){let r,i={},o="",l="";const u=t.indexOf("#");let c=t.indexOf("?");return u<c&&u>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,u>-1?u:t.length),i=e(o)),u>-1&&(r=r||t.slice(0,u),l=t.slice(u,t.length)),r=_O(r??t,n),{fullPath:r+(o&&"?")+o+l,path:r,query:i,hash:xa(l)}}function vO(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function sv(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function yO(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Ps(t.matched[r],n.matched[i])&&W4(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ps(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function W4(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!wO(e[n],t[n]))return!1;return!0}function wO(e,t){return Lr(e)?lv(e,t):Lr(t)?lv(t,e):e===t}function lv(e,t){return Lr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function _O(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,l,u;for(l=0;l<r.length;l++)if(u=r[l],u!==".")if(u==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(l).join("/")}const Ei={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ca;(function(e){e.pop="pop",e.push="push"})(Ca||(Ca={}));var ra;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ra||(ra={}));function bO(e){if(!e)if(hs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),kO(e)}const xO=/^[^#]+#/;function CO(e,t){return e.replace(xO,"#")+t}function LO(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Mf=()=>({left:window.scrollX,top:window.scrollY});function SO(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=LO(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function av(e,t){return(history.state?history.state.position-t:-1)+e}const Og=new Map;function EO(e,t){Og.set(e,t)}function MO(e){const t=Og.get(e);return Og.delete(e),t}let AO=()=>location.protocol+"//"+location.host;function H4(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let u=i.includes(e.slice(o))?e.slice(o).length:1,c=i.slice(u);return c[0]!=="/"&&(c="/"+c),sv(c,"")}return sv(n,e)+r+i}function TO(e,t,n,r){let i=[],o=[],l=null;const u=({state:v})=>{const w=H4(e,location),k=n.value,_=t.value;let L=0;if(v){if(n.value=w,t.value=v,l&&l===k){l=null;return}L=_?v.position-_.position:0}else r(w);i.forEach(O=>{O(n.value,k,{delta:L,type:Ca.pop,direction:L?L>0?ra.forward:ra.back:ra.unknown})})};function c(){l=n.value}function h(v){i.push(v);const w=()=>{const k=i.indexOf(v);k>-1&&i.splice(k,1)};return o.push(w),w}function d(){const{history:v}=window;v.state&&v.replaceState(pt({},v.state,{scroll:Mf()}),"")}function g(){for(const v of o)v();o=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:h,destroy:g}}function uv(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Mf():null}}function OO(e){const{history:t,location:n}=window,r={value:H4(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,h,d){const g=e.indexOf("#"),v=g>-1?(n.host&&document.querySelector("base")?e:e.slice(g))+c:AO()+e+c;try{t[d?"replaceState":"pushState"](h,"",v),i.value=h}catch(w){console.error(w),n[d?"replace":"assign"](v)}}function l(c,h){const d=pt({},t.state,uv(i.value.back,c,i.value.forward,!0),h,{position:i.value.position});o(c,d,!0),r.value=c}function u(c,h){const d=pt({},i.value,t.state,{forward:c,scroll:Mf()});o(d.current,d,!0);const g=pt({},uv(r.value,c,null),{position:d.position+1},h);o(c,g,!1),r.value=c}return{location:r,state:i,push:u,replace:l}}function RO(e){e=bO(e);const t=OO(e),n=TO(e,t.state,t.location,t.replace);function r(o,l=!0){l||n.pauseListeners(),history.go(o)}const i=pt({location:"",base:e,go:r,createHref:CO.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function IO(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),RO(e)}function jO(e){return typeof e=="string"||e&&typeof e=="object"}function z4(e){return typeof e=="string"||typeof e=="symbol"}const V4=Symbol("");var cv;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(cv||(cv={}));function Bs(e,t){return pt(new Error,{type:e,[V4]:!0},t)}function ei(e,t){return e instanceof Error&&V4 in e&&(t==null||!!(e.type&t))}const fv="[^/]+?",PO={sensitive:!1,strict:!1,start:!0,end:!0},BO=/[.+*?^${}()[\]/\\]/g;function NO(e,t){const n=pt({},PO,t),r=[];let i=n.start?"^":"";const o=[];for(const h of e){const d=h.length?[]:[90];n.strict&&!h.length&&(i+="/");for(let g=0;g<h.length;g++){const v=h[g];let w=40+(n.sensitive?.25:0);if(v.type===0)g||(i+="/"),i+=v.value.replace(BO,"\\$&"),w+=40;else if(v.type===1){const{value:k,repeatable:_,optional:L,regexp:O}=v;o.push({name:k,repeatable:_,optional:L});const M=O||fv;if(M!==fv){w+=10;try{new RegExp(`(${M})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${k}" (${M}): `+y.message)}}let x=_?`((?:${M})(?:/(?:${M}))*)`:`(${M})`;g||(x=L&&h.length<2?`(?:/${x})`:"/"+x),L&&(x+="?"),i+=x,w+=20,L&&(w+=-8),_&&(w+=-20),M===".*"&&(w+=-50)}d.push(w)}r.push(d)}if(n.strict&&n.end){const h=r.length-1;r[h][r[h].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const l=new RegExp(i,n.sensitive?"":"i");function u(h){const d=h.match(l),g={};if(!d)return null;for(let v=1;v<d.length;v++){const w=d[v]||"",k=o[v-1];g[k.name]=w&&k.repeatable?w.split("/"):w}return g}function c(h){let d="",g=!1;for(const v of e){(!g||!d.endsWith("/"))&&(d+="/"),g=!1;for(const w of v)if(w.type===0)d+=w.value;else if(w.type===1){const{value:k,repeatable:_,optional:L}=w,O=k in h?h[k]:"";if(Lr(O)&&!_)throw new Error(`Provided param "${k}" is an array but it is not repeatable (* or + modifiers)`);const M=Lr(O)?O.join("/"):O;if(!M)if(L)v.length<2&&(d.endsWith("/")?d=d.slice(0,-1):g=!0);else throw new Error(`Missing required param "${k}"`);d+=M}}return d||"/"}return{re:l,score:r,keys:o,parse:u,stringify:c}}function FO(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function U4(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const o=FO(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(hv(r))return 1;if(hv(i))return-1}return i.length-r.length}function hv(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const DO={type:0,value:""},WO=/[a-zA-Z0-9_]/;function HO(e){if(!e)return[[]];if(e==="/")return[[DO]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(w){throw new Error(`ERR (${n})/"${h}": ${w}`)}let n=0,r=n;const i=[];let o;function l(){o&&i.push(o),o=[]}let u=0,c,h="",d="";function g(){h&&(n===0?o.push({type:0,value:h}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${h}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:h,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),h="")}function v(){h+=c}for(;u<e.length;){if(c=e[u++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(h&&g(),l()):c===":"?(g(),n=1):v();break;case 4:v(),n=r;break;case 1:c==="("?n=2:WO.test(c)?v():(g(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&u--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=3:d+=c;break;case 3:g(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&u--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${h}"`),g(),l(),i}function zO(e,t,n){const r=NO(HO(e.path),n),i=pt(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function VO(e,t){const n=[],r=new Map;t=mv({strict:!1,end:!0,sensitive:!1},t);function i(g){return r.get(g)}function o(g,v,w){const k=!w,_=gv(g);_.aliasOf=w&&w.record;const L=mv(t,g),O=[_];if("alias"in g){const y=typeof g.alias=="string"?[g.alias]:g.alias;for(const E of y)O.push(gv(pt({},_,{components:w?w.record.components:_.components,path:E,aliasOf:w?w.record:_})))}let M,x;for(const y of O){const{path:E}=y;if(v&&E[0]!=="/"){const A=v.record.path,j=A[A.length-1]==="/"?"":"/";y.path=v.record.path+(E&&j+E)}if(M=zO(y,v,L),w?w.alias.push(M):(x=x||M,x!==M&&x.alias.push(M),k&&g.name&&!pv(M)&&l(g.name)),$4(M)&&c(M),_.children){const A=_.children;for(let j=0;j<A.length;j++)o(A[j],M,w&&w.children[j])}w=w||M}return x?()=>{l(x)}:na}function l(g){if(z4(g)){const v=r.get(g);v&&(r.delete(g),n.splice(n.indexOf(v),1),v.children.forEach(l),v.alias.forEach(l))}else{const v=n.indexOf(g);v>-1&&(n.splice(v,1),g.record.name&&r.delete(g.record.name),g.children.forEach(l),g.alias.forEach(l))}}function u(){return n}function c(g){const v=KO(g,n);n.splice(v,0,g),g.record.name&&!pv(g)&&r.set(g.record.name,g)}function h(g,v){let w,k={},_,L;if("name"in g&&g.name){if(w=r.get(g.name),!w)throw Bs(1,{location:g});L=w.record.name,k=pt(dv(v.params,w.keys.filter(x=>!x.optional).concat(w.parent?w.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),g.params&&dv(g.params,w.keys.map(x=>x.name))),_=w.stringify(k)}else if(g.path!=null)_=g.path,w=n.find(x=>x.re.test(_)),w&&(k=w.parse(_),L=w.record.name);else{if(w=v.name?r.get(v.name):n.find(x=>x.re.test(v.path)),!w)throw Bs(1,{location:g,currentLocation:v});L=w.record.name,k=pt({},v.params,g.params),_=w.stringify(k)}const O=[];let M=w;for(;M;)O.unshift(M.record),M=M.parent;return{name:L,path:_,params:k,matched:O,meta:$O(O)}}e.forEach(g=>o(g));function d(){n.length=0,r.clear()}return{addRoute:o,resolve:h,removeRoute:l,clearRoutes:d,getRoutes:u,getRecordMatcher:i}}function dv(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gv(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:UO(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function UO(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function pv(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $O(e){return e.reduce((t,n)=>pt(t,n.meta),{})}function mv(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function KO(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;U4(e,t[o])<0?r=o:n=o+1}const i=qO(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function qO(e){let t=e;for(;t=t.parent;)if($4(t)&&U4(e,t)===0)return t}function $4({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function JO(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const o=r[i].replace(B4," "),l=o.indexOf("="),u=xa(l<0?o:o.slice(0,l)),c=l<0?null:xa(o.slice(l+1));if(u in t){let h=t[u];Lr(h)||(h=t[u]=[h]),h.push(c)}else t[u]=c}return t}function kv(e){let t="";for(let n in e){const r=e[n];if(n=dO(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Lr(r)?r.map(o=>o&&Tg(o)):[r&&Tg(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function GO(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Lr(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const ZO=Symbol(""),vv=Symbol(""),Af=Symbol(""),P0=Symbol(""),Rg=Symbol("");function El(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bi(e,t,n,r,i,o=l=>l()){const l=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((u,c)=>{const h=v=>{v===!1?c(Bs(4,{from:n,to:t})):v instanceof Error?c(v):jO(v)?c(Bs(2,{from:t,to:v})):(l&&r.enterCallbacks[i]===l&&typeof v=="function"&&l.push(v),u())},d=o(()=>e.call(r&&r.instances[i],t,n,h));let g=Promise.resolve(d);e.length<3&&(g=g.then(h)),g.catch(v=>c(v))})}function Cd(e,t,n,r,i=o=>o()){const o=[];for(const l of e)for(const u in l.components){let c=l.components[u];if(!(t!=="beforeRouteEnter"&&!l.instances[u]))if(j4(c)){const d=(c.__vccOpts||c)[t];d&&o.push(Bi(d,n,r,l,u,i))}else{let h=c();o.push(()=>h.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${u}" at "${l.path}"`);const g=nO(d)?d.default:d;l.mods[u]=d,l.components[u]=g;const w=(g.__vccOpts||g)[t];return w&&Bi(w,n,r,l,u,i)()}))}}return o}function yv(e){const t=Gt(Af),n=Gt(P0),r=$e(()=>{const c=Pe(e.to);return t.resolve(c)}),i=$e(()=>{const{matched:c}=r.value,{length:h}=c,d=c[h-1],g=n.matched;if(!d||!g.length)return-1;const v=g.findIndex(Ps.bind(null,d));if(v>-1)return v;const w=wv(c[h-2]);return h>1&&wv(d)===w&&g[g.length-1].path!==w?g.findIndex(Ps.bind(null,c[h-2])):v}),o=$e(()=>i.value>-1&&eR(n.params,r.value.params)),l=$e(()=>i.value>-1&&i.value===n.matched.length-1&&W4(n.params,r.value.params));function u(c={}){return QO(c)?t[Pe(e.replace)?"replace":"push"](Pe(e.to)).catch(na):Promise.resolve()}return{route:r,href:$e(()=>r.value.href),isActive:o,isExactActive:l,navigate:u}}const YO=mt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:yv,setup(e,{slots:t}){const n=$s(yv(e)),{options:r}=Gt(Af),i=$e(()=>({[_v(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[_v(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:mf("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),XO=YO;function QO(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function eR(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Lr(i)||i.length!==r.length||r.some((o,l)=>o!==i[l]))return!1}return!0}function wv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const _v=(e,t,n)=>e??t??n,tR=mt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Gt(Rg),i=$e(()=>e.route||r.value),o=Gt(vv,0),l=$e(()=>{let h=Pe(o);const{matched:d}=i.value;let g;for(;(g=d[h])&&!g.components;)h++;return h}),u=$e(()=>i.value.matched[l.value]);Ul(vv,$e(()=>l.value+1)),Ul(ZO,u),Ul(Rg,i);const c=Kt();return lr(()=>[c.value,u.value,e.name],([h,d,g],[v,w,k])=>{d&&(d.instances[g]=h,w&&w!==d&&h&&h===v&&(d.leaveGuards.size||(d.leaveGuards=w.leaveGuards),d.updateGuards.size||(d.updateGuards=w.updateGuards))),h&&d&&(!w||!Ps(d,w)||!v)&&(d.enterCallbacks[g]||[]).forEach(_=>_(h))},{flush:"post"}),()=>{const h=i.value,d=e.name,g=u.value,v=g&&g.components[d];if(!v)return bv(n.default,{Component:v,route:h});const w=g.props[d],k=w?w===!0?h.params:typeof w=="function"?w(h):w:null,L=mf(v,pt({},k,t,{onVnodeUnmounted:O=>{O.component.isUnmounted&&(g.instances[d]=null)},ref:c}));return bv(n.default,{Component:L,route:h})||L}}});function bv(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const nR=tR;function rR(e){const t=VO(e.routes,e),n=e.parseQuery||JO,r=e.stringifyQuery||kv,i=e.history,o=El(),l=El(),u=El(),c=wE(Ei);let h=Ei;hs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=bd.bind(null,q=>""+q),g=bd.bind(null,pO),v=bd.bind(null,xa);function w(q,fe){let ce,me;return z4(q)?(ce=t.getRecordMatcher(q),me=fe):me=q,t.addRoute(me,ce)}function k(q){const fe=t.getRecordMatcher(q);fe&&t.removeRoute(fe)}function _(){return t.getRoutes().map(q=>q.record)}function L(q){return!!t.getRecordMatcher(q)}function O(q,fe){if(fe=pt({},fe||c.value),typeof q=="string"){const R=xd(n,q,fe.path),H=t.resolve({path:R.path},fe),ne=i.createHref(R.fullPath);return pt(R,H,{params:v(H.params),hash:xa(R.hash),redirectedFrom:void 0,href:ne})}let ce;if(q.path!=null)ce=pt({},q,{path:xd(n,q.path,fe.path).path});else{const R=pt({},q.params);for(const H in R)R[H]==null&&delete R[H];ce=pt({},q,{params:g(R)}),fe.params=g(fe.params)}const me=t.resolve(ce,fe),He=q.hash||"";me.params=d(v(me.params));const ot=vO(r,pt({},q,{hash:hO(He),path:me.path})),T=i.createHref(ot);return pt({fullPath:ot,hash:He,query:r===kv?GO(q.query):q.query||{}},me,{redirectedFrom:void 0,href:T})}function M(q){return typeof q=="string"?xd(n,q,c.value.path):pt({},q)}function x(q,fe){if(h!==q)return Bs(8,{from:fe,to:q})}function y(q){return j(q)}function E(q){return y(pt(M(q),{replace:!0}))}function A(q){const fe=q.matched[q.matched.length-1];if(fe&&fe.redirect){const{redirect:ce}=fe;let me=typeof ce=="function"?ce(q):ce;return typeof me=="string"&&(me=me.includes("?")||me.includes("#")?me=M(me):{path:me},me.params={}),pt({query:q.query,hash:q.hash,params:me.path!=null?{}:q.params},me)}}function j(q,fe){const ce=h=O(q),me=c.value,He=q.state,ot=q.force,T=q.replace===!0,R=A(ce);if(R)return j(pt(M(R),{state:typeof R=="object"?pt({},He,R.state):He,force:ot,replace:T}),fe||ce);const H=ce;H.redirectedFrom=fe;let ne;return!ot&&yO(r,me,ce)&&(ne=Bs(16,{to:H,from:me}),Ke(me,me,!0,!1)),(ne?Promise.resolve(ne):W(H,me)).catch($=>ei($)?ei($,2)?$:lt($):oe($,H,me)).then($=>{if($){if(ei($,2))return j(pt({replace:T},M($.to),{state:typeof $.to=="object"?pt({},He,$.to.state):He,force:ot}),fe||H)}else $=V(H,me,!0,T,He);return J(H,me,$),$})}function N(q,fe){const ce=x(q,fe);return ce?Promise.reject(ce):Promise.resolve()}function B(q){const fe=Xe.values().next().value;return fe&&typeof fe.runWithContext=="function"?fe.runWithContext(q):q()}function W(q,fe){let ce;const[me,He,ot]=iR(q,fe);ce=Cd(me.reverse(),"beforeRouteLeave",q,fe);for(const R of me)R.leaveGuards.forEach(H=>{ce.push(Bi(H,q,fe))});const T=N.bind(null,q,fe);return ce.push(T),Be(ce).then(()=>{ce=[];for(const R of o.list())ce.push(Bi(R,q,fe));return ce.push(T),Be(ce)}).then(()=>{ce=Cd(He,"beforeRouteUpdate",q,fe);for(const R of He)R.updateGuards.forEach(H=>{ce.push(Bi(H,q,fe))});return ce.push(T),Be(ce)}).then(()=>{ce=[];for(const R of ot)if(R.beforeEnter)if(Lr(R.beforeEnter))for(const H of R.beforeEnter)ce.push(Bi(H,q,fe));else ce.push(Bi(R.beforeEnter,q,fe));return ce.push(T),Be(ce)}).then(()=>(q.matched.forEach(R=>R.enterCallbacks={}),ce=Cd(ot,"beforeRouteEnter",q,fe,B),ce.push(T),Be(ce))).then(()=>{ce=[];for(const R of l.list())ce.push(Bi(R,q,fe));return ce.push(T),Be(ce)}).catch(R=>ei(R,8)?R:Promise.reject(R))}function J(q,fe,ce){u.list().forEach(me=>B(()=>me(q,fe,ce)))}function V(q,fe,ce,me,He){const ot=x(q,fe);if(ot)return ot;const T=fe===Ei,R=hs?history.state:{};ce&&(me||T?i.replace(q.fullPath,pt({scroll:T&&R&&R.scroll},He)):i.push(q.fullPath,He)),c.value=q,Ke(q,fe,ce,T),lt()}let ee;function pe(){ee||(ee=i.listen((q,fe,ce)=>{if(!ct.listening)return;const me=O(q),He=A(me);if(He){j(pt(He,{replace:!0}),me).catch(na);return}h=me;const ot=c.value;hs&&EO(av(ot.fullPath,ce.delta),Mf()),W(me,ot).catch(T=>ei(T,12)?T:ei(T,2)?(j(T.to,me).then(R=>{ei(R,20)&&!ce.delta&&ce.type===Ca.pop&&i.go(-1,!1)}).catch(na),Promise.reject()):(ce.delta&&i.go(-ce.delta,!1),oe(T,me,ot))).then(T=>{T=T||V(me,ot,!1),T&&(ce.delta&&!ei(T,8)?i.go(-ce.delta,!1):ce.type===Ca.pop&&ei(T,20)&&i.go(-1,!1)),J(me,ot,T)}).catch(na)}))}let ue=El(),Q=El(),te;function oe(q,fe,ce){lt(q);const me=Q.list();return me.length?me.forEach(He=>He(q,fe,ce)):console.error(q),Promise.reject(q)}function Ge(){return te&&c.value!==Ei?Promise.resolve():new Promise((q,fe)=>{ue.add([q,fe])})}function lt(q){return te||(te=!q,pe(),ue.list().forEach(([fe,ce])=>q?ce(q):fe()),ue.reset()),q}function Ke(q,fe,ce,me){const{scrollBehavior:He}=e;if(!hs||!He)return Promise.resolve();const ot=!ce&&MO(av(q.fullPath,0))||(me||!ce)&&history.state&&history.state.scroll||null;return qs().then(()=>He(q,fe,ot)).then(T=>T&&SO(T)).catch(T=>oe(T,q,fe))}const st=q=>i.go(q);let wt;const Xe=new Set,ct={currentRoute:c,listening:!0,addRoute:w,removeRoute:k,clearRoutes:t.clearRoutes,hasRoute:L,getRoutes:_,resolve:O,options:e,push:y,replace:E,go:st,back:()=>st(-1),forward:()=>st(1),beforeEach:o.add,beforeResolve:l.add,afterEach:u.add,onError:Q.add,isReady:Ge,install(q){const fe=this;q.component("RouterLink",XO),q.component("RouterView",nR),q.config.globalProperties.$router=fe,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>Pe(c)}),hs&&!wt&&c.value===Ei&&(wt=!0,y(i.location).catch(He=>{}));const ce={};for(const He in Ei)Object.defineProperty(ce,He,{get:()=>c.value[He],enumerable:!0});q.provide(Af,fe),q.provide(P0,uf(ce)),q.provide(Rg,c);const me=q.unmount;Xe.add(q),q.unmount=function(){Xe.delete(q),Xe.size<1&&(h=Ei,ee&&ee(),ee=null,c.value=Ei,wt=!1,te=!1),me()}}};function Be(q){return q.reduce((fe,ce)=>fe.then(()=>B(ce)),Promise.resolve())}return ct}function iR(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let l=0;l<o;l++){const u=t.matched[l];u&&(e.matched.find(h=>Ps(h,u))?r.push(u):n.push(u));const c=e.matched[l];c&&(t.matched.find(h=>Ps(h,c))||i.push(c))}return[n,r,i]}function VH(){return Gt(Af)}function UH(e){return Gt(P0)}const oR="modulepreload",sR=function(e,t){return new URL(e,t).href},xv={},rc=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.all(n.map(c=>{if(c=sR(c,r),c in xv)return;xv[c]=!0;const h=c.endsWith(".css"),d=h?'[rel="stylesheet"]':"";if(!!r)for(let w=o.length-1;w>=0;w--){const k=o[w];if(k.href===c&&(!h||k.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const v=document.createElement("link");if(v.rel=h?"stylesheet":oR,h||(v.as="script",v.crossOrigin=""),v.href=c,u&&v.setAttribute("nonce",u),document.head.appendChild(v),h)return new Promise((w,k)=>{v.addEventListener("load",w),v.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${c}`)))})}))}return i.then(()=>t()).catch(o=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o})},lR=[{path:"/",redirect:"/pptEditor"},{path:"/pptEditor",name:"pptEditor",component:()=>rc(()=>import("./index-DxzZ9IOx.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)},{path:"/pptScreen",name:"pptScreen",component:()=>rc(()=>import("./index-Tt4oiGLk.js"),__vite__mapDeps([5,1,2,6]),import.meta.url)},{path:"/login",name:"login",component:()=>rc(()=>import("./index-C6stCoCC.js"),__vite__mapDeps([7,8,3,9]),import.meta.url)},{path:"/:pathMatch(.*)*",name:"errorPage",component:()=>rc(()=>import("./index-Bw2hQ8r1.js"),__vite__mapDeps([10,8,3,11]),import.meta.url)}];var K4={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
- * @license MIT */(function(e,t){(function(n,r){e.exports=r()})(cs,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(k){var _,L;for(_ in k)L=k[_],L!==void 0&&k.hasOwnProperty(_)&&(r[_]=L);return this},n.status=null,n.set=function(k){var _=n.isStarted();k=i(k,r.minimum,1),n.status=k===1?null:k;var L=n.render(!_),O=L.querySelector(r.barSelector),M=r.speed,x=r.easing;return L.offsetWidth,u(function(y){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),c(O,l(k,M,x)),k===1?(c(L,{transition:"none",opacity:1}),L.offsetWidth,setTimeout(function(){c(L,{transition:"all "+M+"ms linear",opacity:0}),setTimeout(function(){n.remove(),y()},M)},M)):setTimeout(y,M)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var k=function(){setTimeout(function(){n.status&&(n.trickle(),k())},r.trickleSpeed)};return r.trickle&&k(),this},n.done=function(k){return!k&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(k){var _=n.status;return _?(typeof k!="number"&&(k=(1-_)*i(Math.random()*_,.1,.95)),_=i(_+k,0,.994),n.set(_)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var k=0,_=0;n.promise=function(L){return!L||L.state()==="resolved"?this:(_===0&&n.start(),k++,_++,L.always(function(){_--,_===0?(k=0,n.done()):n.set((k-_)/k)}),this)}}(),n.render=function(k){if(n.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var _=document.createElement("div");_.id="nprogress",_.innerHTML=r.template;var L=_.querySelector(r.barSelector),O=k?"-100":o(n.status||0),M=document.querySelector(r.parent),x;return c(L,{transition:"all 0 linear",transform:"translate3d("+O+"%,0,0)"}),r.showSpinner||(x=_.querySelector(r.spinnerSelector),x&&w(x)),M!=document.body&&d(M,"nprogress-custom-parent"),M.appendChild(_),_},n.remove=function(){g(document.documentElement,"nprogress-busy"),g(document.querySelector(r.parent),"nprogress-custom-parent");var k=document.getElementById("nprogress");k&&w(k)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var k=document.body.style,_="WebkitTransform"in k?"Webkit":"MozTransform"in k?"Moz":"msTransform"in k?"ms":"OTransform"in k?"O":"";return _+"Perspective"in k?"translate3d":_+"Transform"in k?"translate":"margin"};function i(k,_,L){return k<_?_:k>L?L:k}function o(k){return(-1+k)*100}function l(k,_,L){var O;return r.positionUsing==="translate3d"?O={transform:"translate3d("+o(k)+"%,0,0)"}:r.positionUsing==="translate"?O={transform:"translate("+o(k)+"%,0)"}:O={"margin-left":o(k)+"%"},O.transition="all "+_+"ms "+L,O}var u=function(){var k=[];function _(){var L=k.shift();L&&L(_)}return function(L){k.push(L),k.length==1&&_()}}(),c=function(){var k=["Webkit","O","Moz","ms"],_={};function L(y){return y.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(E,A){return A.toUpperCase()})}function O(y){var E=document.body.style;if(y in E)return y;for(var A=k.length,j=y.charAt(0).toUpperCase()+y.slice(1),N;A--;)if(N=k[A]+j,N in E)return N;return y}function M(y){return y=L(y),_[y]||(_[y]=O(y))}function x(y,E,A){E=M(E),y.style[E]=A}return function(y,E){var A=arguments,j,N;if(A.length==2)for(j in E)N=E[j],N!==void 0&&E.hasOwnProperty(j)&&x(y,j,N);else x(y,A[1],A[2])}}();function h(k,_){var L=typeof k=="string"?k:v(k);return L.indexOf(" "+_+" ")>=0}function d(k,_){var L=v(k),O=L+_;h(L,_)||(k.className=O.substring(1))}function g(k,_){var L=v(k),O;h(k,_)&&(O=L.replace(" "+_+" "," "),k.className=O.substring(1,O.length-1))}function v(k){return(" "+(k.className||"")+" ").replace(/\s+/gi," ")}function w(k){k&&k.parentNode&&k.parentNode.removeChild(k)}return n})})(K4);var aR=K4.exports;const ho=jA(aR);ho.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3});var Cv;const Qs=typeof window<"u",uR=e=>typeof e<"u",cR=e=>typeof e=="function",fR=e=>typeof e=="string",hR=()=>{};Qs&&((Cv=window==null?void 0:window.navigator)!=null&&Cv.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function B0(e){return typeof e=="function"?e():Pe(e)}function dR(e){return e}function N0(e){return Gg()?(Ty(e),!0):!1}function gR(e,t=!0){Pn()?Js(e):t?e():qs(e)}function pR(e,t,n={}){const{immediate:r=!0}=n,i=Kt(!1);let o=null;function l(){o&&(clearTimeout(o),o=null)}function u(){i.value=!1,l()}function c(...h){l(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,e(...h)},B0(t))}return r&&(i.value=!0,Qs&&c()),N0(u),{isPending:Qg(i),start:c,stop:u}}function q4(e){var t;const n=B0(e);return(t=n==null?void 0:n.$el)!=null?t:n}const J4=Qs?window:void 0;function mR(...e){let t,n,r,i;if(fR(e[0])||Array.isArray(e[0])?([n,r,i]=e,t=J4):[t,n,r,i]=e,!t)return hR;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],l=()=>{o.forEach(d=>d()),o.length=0},u=(d,g,v,w)=>(d.addEventListener(g,v,w),()=>d.removeEventListener(g,v,w)),c=lr(()=>[q4(t),B0(i)],([d,g])=>{l(),d&&o.push(...n.flatMap(v=>r.map(w=>u(d,v,w,g))))},{immediate:!0,flush:"post"}),h=()=>{c(),l()};return N0(h),h}function kR(e,t=!1){const n=Kt(),r=()=>n.value=!!e();return r(),gR(r,t),n}function vR(e){return JSON.parse(JSON.stringify(e))}const Lv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Sv="__vueuse_ssr_handlers__";Lv[Sv]=Lv[Sv]||{};var Ev=Object.getOwnPropertySymbols,yR=Object.prototype.hasOwnProperty,wR=Object.prototype.propertyIsEnumerable,_R=(e,t)=>{var n={};for(var r in e)yR.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ev)for(var r of Ev(e))t.indexOf(r)<0&&wR.call(e,r)&&(n[r]=e[r]);return n};function bR(e,t,n={}){const r=n,{window:i=J4}=r,o=_R(r,["window"]);let l;const u=kR(()=>i&&"ResizeObserver"in i),c=()=>{l&&(l.disconnect(),l=void 0)},h=lr(()=>q4(e),g=>{c(),u.value&&i&&g&&(l=new ResizeObserver(t),l.observe(g,o))},{immediate:!0,flush:"post"}),d=()=>{c(),h()};return N0(d),{isSupported:u,stop:d}}var Mv;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Mv||(Mv={}));var xR=Object.defineProperty,Av=Object.getOwnPropertySymbols,CR=Object.prototype.hasOwnProperty,LR=Object.prototype.propertyIsEnumerable,Tv=(e,t,n)=>t in e?xR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,SR=(e,t)=>{for(var n in t||(t={}))CR.call(t,n)&&Tv(e,n,t[n]);if(Av)for(var n of Av(t))LR.call(t,n)&&Tv(e,n,t[n]);return e};const ER={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};SR({linear:dR},ER);function $H(e,t,n,r={}){var i,o,l;const{clone:u=!1,passive:c=!1,eventName:h,deep:d=!1,defaultValue:g}=r,v=Pn(),w=(v==null?void 0:v.emit)||((i=v==null?void 0:v.$emit)==null?void 0:i.bind(v))||((l=(o=v==null?void 0:v.proxy)==null?void 0:o.$emit)==null?void 0:l.bind(v==null?void 0:v.proxy));let k=h;k=h||k||`update:${t.toString()}`;const _=O=>u?cR(u)?u(O):vR(O):O,L=()=>uR(e[t])?_(e[t]):g;if(c){const O=L(),M=Kt(O);return lr(()=>e[t],x=>M.value=_(x)),lr(M,x=>{(x!==e[t]||d)&&w(k,x)},{deep:d}),M}else return $e({get(){return L()},set(O){w(k,O)}})}var MR=typeof global=="object"&&global&&global.Object===Object&&global,AR=typeof self=="object"&&self&&self.Object===Object&&self,F0=MR||AR||Function("return this")(),Ns=F0.Symbol,G4=Object.prototype,TR=G4.hasOwnProperty,OR=G4.toString,Ml=Ns?Ns.toStringTag:void 0;function RR(e){var t=TR.call(e,Ml),n=e[Ml];try{e[Ml]=void 0;var r=!0}catch{}var i=OR.call(e);return r&&(t?e[Ml]=n:delete e[Ml]),i}var IR=Object.prototype,jR=IR.toString;function PR(e){return jR.call(e)}var BR="[object Null]",NR="[object Undefined]",Ov=Ns?Ns.toStringTag:void 0;function Z4(e){return e==null?e===void 0?NR:BR:Ov&&Ov in Object(e)?RR(e):PR(e)}function FR(e){return e!=null&&typeof e=="object"}var DR="[object Symbol]";function D0(e){return typeof e=="symbol"||FR(e)&&Z4(e)==DR}function WR(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var W0=Array.isArray,HR=1/0,Rv=Ns?Ns.prototype:void 0,Iv=Rv?Rv.toString:void 0;function Y4(e){if(typeof e=="string")return e;if(W0(e))return WR(e,Y4)+"";if(D0(e))return Iv?Iv.call(e):"";var t=e+"";return t=="0"&&1/e==-HR?"-0":t}function X4(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var zR="[object AsyncFunction]",VR="[object Function]",UR="[object GeneratorFunction]",$R="[object Proxy]";function KR(e){if(!X4(e))return!1;var t=Z4(e);return t==VR||t==UR||t==zR||t==$R}var Ld=F0["__core-js_shared__"],jv=function(){var e=/[^.]+$/.exec(Ld&&Ld.keys&&Ld.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function qR(e){return!!jv&&jv in e}var JR=Function.prototype,GR=JR.toString;function ZR(e){if(e!=null){try{return GR.call(e)}catch{}try{return e+""}catch{}}return""}var YR=/[\\^$.*+?()[\]{}|]/g,XR=/^\[object .+?Constructor\]$/,QR=Function.prototype,e7=Object.prototype,t7=QR.toString,n7=e7.hasOwnProperty,r7=RegExp("^"+t7.call(n7).replace(YR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function i7(e){if(!X4(e)||qR(e))return!1;var t=KR(e)?r7:XR;return t.test(ZR(e))}function o7(e,t){return e==null?void 0:e[t]}function Q4(e,t){var n=o7(e,t);return i7(n)?n:void 0}function s7(e,t){return e===t||e!==e&&t!==t}var l7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a7=/^\w*$/;function u7(e,t){if(W0(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||D0(e)?!0:a7.test(e)||!l7.test(e)||t!=null&&e in Object(t)}var La=Q4(Object,"create");function c7(){this.__data__=La?La(null):{},this.size=0}function f7(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var h7="__lodash_hash_undefined__",d7=Object.prototype,g7=d7.hasOwnProperty;function p7(e){var t=this.__data__;if(La){var n=t[e];return n===h7?void 0:n}return g7.call(t,e)?t[e]:void 0}var m7=Object.prototype,k7=m7.hasOwnProperty;function v7(e){var t=this.__data__;return La?t[e]!==void 0:k7.call(t,e)}var y7="__lodash_hash_undefined__";function w7(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=La&&t===void 0?y7:t,this}function Bo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bo.prototype.clear=c7;Bo.prototype.delete=f7;Bo.prototype.get=p7;Bo.prototype.has=v7;Bo.prototype.set=w7;function _7(){this.__data__=[],this.size=0}function Tf(e,t){for(var n=e.length;n--;)if(s7(e[n][0],t))return n;return-1}var b7=Array.prototype,x7=b7.splice;function C7(e){var t=this.__data__,n=Tf(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():x7.call(t,n,1),--this.size,!0}function L7(e){var t=this.__data__,n=Tf(t,e);return n<0?void 0:t[n][1]}function S7(e){return Tf(this.__data__,e)>-1}function E7(e,t){var n=this.__data__,r=Tf(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function el(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}el.prototype.clear=_7;el.prototype.delete=C7;el.prototype.get=L7;el.prototype.has=S7;el.prototype.set=E7;var M7=Q4(F0,"Map");function A7(){this.size=0,this.__data__={hash:new Bo,map:new(M7||el),string:new Bo}}function T7(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Of(e,t){var n=e.__data__;return T7(t)?n[typeof t=="string"?"string":"hash"]:n.map}function O7(e){var t=Of(this,e).delete(e);return this.size-=t?1:0,t}function R7(e){return Of(this,e).get(e)}function I7(e){return Of(this,e).has(e)}function j7(e,t){var n=Of(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Wo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Wo.prototype.clear=A7;Wo.prototype.delete=O7;Wo.prototype.get=R7;Wo.prototype.has=I7;Wo.prototype.set=j7;var P7="Expected a function";function H0(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(P7);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var l=e.apply(this,r);return n.cache=o.set(i,l)||o,l};return n.cache=new(H0.Cache||Wo),n}H0.Cache=Wo;var B7=500;function N7(e){var t=H0(e,function(r){return n.size===B7&&n.clear(),r}),n=t.cache;return t}var F7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,D7=/\\(\\)?/g,W7=N7(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(F7,function(n,r,i,o){t.push(i?o.replace(D7,"$1"):r||n)}),t});function H7(e){return e==null?"":Y4(e)}function z7(e,t){return W0(e)?e:u7(e,t)?[e]:W7(H7(e))}var V7=1/0;function U7(e){if(typeof e=="string"||D0(e))return e;var t=e+"";return t=="0"&&1/e==-V7?"-0":t}function $7(e,t){t=z7(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[U7(t[n++])];return n&&n==r?e:void 0}function K7(e,t,n){var r=e==null?void 0:$7(e,t);return r===void 0?n:r}function q7(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}const J7=e=>e===void 0,Sa=e=>typeof e=="number",G7=e=>typeof Element>"u"?!1:e instanceof Element,Z7=e=>kt(e)?!Number.isNaN(Number(e)):!1,Pv=e=>Object.keys(e),KH=e=>Object.entries(e),e3=(e="")=>e.split(" ").filter(t=>!!t.trim()),qH=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},JH=(e,t)=>{!e||!t.trim()||e.classList.add(...e3(t))},GH=(e,t)=>{!e||!t.trim()||e.classList.remove(...e3(t))},ZH=(e,t)=>{var n;if(!Qs||!e||!t)return"";let r=cn(t);r==="float"&&(r="cssFloat");try{const i=e.style[r];if(i)return i;const o=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return o?o[r]:""}catch{return e.style[r]}};function Y7(e,t="px"){if(!e)return"";if(Sa(e)||Z7(e))return`${e}${t}`;if(kt(e))return e}/*! Element Plus Icons Vue v2.3.1 */var X7=mt({name:"Check",__name:"check",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),YH=X7,Q7=mt({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),yt("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),eI=Q7,tI=mt({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),t3=tI,nI=mt({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),yt("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),rI=nI,iI=mt({name:"Close",__name:"close",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),oI=iI,sI=mt({name:"Delete",__name:"delete",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),XH=sI,lI=mt({name:"Document",__name:"document",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),QH=lI,aI=mt({name:"Hide",__name:"hide",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),yt("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),ez=aI,uI=mt({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),n3=uI,cI=mt({name:"Loading",__name:"loading",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),fI=cI,hI=mt({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),r3=hI,dI=mt({name:"View",__name:"view",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),tz=dI,gI=mt({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),i3=gI,pI=mt({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(tt(),xt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[yt("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),nz=pI;const o3="__epPropKey",Hi=e=>e,mI=e=>dt(e)&&!!e[o3],s3=(e,t)=>{if(!dt(e)||mI(e))return e;const{values:n,required:r,default:i,type:o,validator:l}=e,c={type:o,required:!!r,validator:n||l?h=>{let d=!1,g=[];if(n&&(g=Array.from(n),rt(e,"default")&&g.push(i),d||(d=g.includes(h))),l&&(d||(d=l(h))),!d&&g.length>0){const v=[...new Set(g)].map(w=>JSON.stringify(w)).join(", ");$5(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${v}], got value ${JSON.stringify(h)}.`)}return d}:void 0,[o3]:!0};return rt(e,"default")&&(c.default=i),c},Rf=e=>q7(Object.entries(e).map(([t,n])=>[t,s3(n,t)])),kI=Hi([String,Object,Function]),vI={Close:oI,SuccessFilled:r3,InfoFilled:n3,WarningFilled:i3,CircleCloseFilled:t3},Bv={success:r3,warning:i3,error:t3,info:n3},rz={validating:fI,success:eI,error:rI},z0=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},yI=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),iz=e=>(e.install=yn,e),wI={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},_I=["","default","small","large"],bI=e=>e;var xI={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const CI=e=>(t,n)=>LI(t,n,Pe(e)),LI=(e,t,n)=>K7(n,e,e).replace(/\{(\w+)\}/g,(r,i)=>{var o;return`${(o=t==null?void 0:t[i])!=null?o:`{${i}}`}`}),SI=e=>{const t=$e(()=>Pe(e).name),n=Bt(e)?e:Kt(e);return{lang:t,locale:n,t:CI(e)}},l3=Symbol("localeContextKey"),EI=e=>{const t=e||Gt(l3,Kt());return SI($e(()=>t.value||xI))},yc="el",MI="is-",uo=(e,t,n,r,i)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),i&&(o+=`--${i}`),o},a3=Symbol("namespaceContextKey"),AI=e=>{const t=e||(Pn()?Gt(a3,Kt(yc)):Kt(yc));return $e(()=>Pe(t)||yc)},V0=(e,t)=>{const n=AI(t);return{namespace:n,b:(_="")=>uo(n.value,e,_,"",""),e:_=>_?uo(n.value,e,"",_,""):"",m:_=>_?uo(n.value,e,"","",_):"",be:(_,L)=>_&&L?uo(n.value,e,_,L,""):"",em:(_,L)=>_&&L?uo(n.value,e,"",_,L):"",bm:(_,L)=>_&&L?uo(n.value,e,_,"",L):"",bem:(_,L,O)=>_&&L&&O?uo(n.value,e,_,L,O):"",is:(_,...L)=>{const O=L.length>=1?L[0]:!0;return _&&O?`${MI}${_}`:""},cssVar:_=>{const L={};for(const O in _)_[O]&&(L[`--${n.value}-${O}`]=_[O]);return L},cssVarName:_=>`--${n.value}-${_}`,cssVarBlock:_=>{const L={};for(const O in _)_[O]&&(L[`--${n.value}-${e}-${O}`]=_[O]);return L},cssVarBlockName:_=>`--${n.value}-${e}-${_}`}};var Tn="top",dr="bottom",gr="right",On="left",U0="auto",Ha=[Tn,dr,gr,On],Fs="start",Ea="end",TI="clippingParents",u3="viewport",Al="popper",OI="reference",Nv=Ha.reduce(function(e,t){return e.concat([t+"-"+Fs,t+"-"+Ea])},[]),c3=[].concat(Ha,[U0]).reduce(function(e,t){return e.concat([t,t+"-"+Fs,t+"-"+Ea])},[]),RI="beforeRead",II="read",jI="afterRead",PI="beforeMain",BI="main",NI="afterMain",FI="beforeWrite",DI="write",WI="afterWrite",HI=[RI,II,jI,PI,BI,NI,FI,DI,WI];function Dr(e){return e?(e.nodeName||"").toLowerCase():null}function Gn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function No(e){var t=Gn(e).Element;return e instanceof t||e instanceof Element}function cr(e){var t=Gn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $0(e){if(typeof ShadowRoot>"u")return!1;var t=Gn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function zI(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!cr(o)||!Dr(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(l){var u=i[l];u===!1?o.removeAttribute(l):o.setAttribute(l,u===!0?"":u)}))})}function VI(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(c,h){return c[h]="",c},{});!cr(i)||!Dr(i)||(Object.assign(i.style,u),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}const f3={name:"applyStyles",enabled:!0,phase:"write",fn:zI,effect:VI,requires:["computeStyles"]};function Nr(e){return e.split("-")[0]}var Co=Math.max,Yc=Math.min,Ds=Math.round;function Ig(){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 h3(){return!/^((?!chrome|android).)*safari/i.test(Ig())}function Ws(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&cr(e)&&(i=e.offsetWidth>0&&Ds(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ds(r.height)/e.offsetHeight||1);var l=No(e)?Gn(e):window,u=l.visualViewport,c=!h3()&&n,h=(r.left+(c&&u?u.offsetLeft:0))/i,d=(r.top+(c&&u?u.offsetTop:0))/o,g=r.width/i,v=r.height/o;return{width:g,height:v,top:d,right:h+g,bottom:d+v,left:h,x:h,y:d}}function K0(e){var t=Ws(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 d3(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&$0(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function hi(e){return Gn(e).getComputedStyle(e)}function UI(e){return["table","td","th"].indexOf(Dr(e))>=0}function Gi(e){return((No(e)?e.ownerDocument:e.document)||window.document).documentElement}function If(e){return Dr(e)==="html"?e:e.assignedSlot||e.parentNode||($0(e)?e.host:null)||Gi(e)}function Fv(e){return!cr(e)||hi(e).position==="fixed"?null:e.offsetParent}function $I(e){var t=/firefox/i.test(Ig()),n=/Trident/i.test(Ig());if(n&&cr(e)){var r=hi(e);if(r.position==="fixed")return null}var i=If(e);for($0(i)&&(i=i.host);cr(i)&&["html","body"].indexOf(Dr(i))<0;){var o=hi(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function za(e){for(var t=Gn(e),n=Fv(e);n&&UI(n)&&hi(n).position==="static";)n=Fv(n);return n&&(Dr(n)==="html"||Dr(n)==="body"&&hi(n).position==="static")?t:n||$I(e)||t}function q0(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ia(e,t,n){return Co(e,Yc(t,n))}function KI(e,t,n){var r=ia(e,t,n);return r>n?n:r}function g3(){return{top:0,right:0,bottom:0,left:0}}function p3(e){return Object.assign({},g3(),e)}function m3(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var qI=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,p3(typeof t!="number"?t:m3(t,Ha))};function JI(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,l=n.modifiersData.popperOffsets,u=Nr(n.placement),c=q0(u),h=[On,gr].indexOf(u)>=0,d=h?"height":"width";if(!(!o||!l)){var g=qI(i.padding,n),v=K0(o),w=c==="y"?Tn:On,k=c==="y"?dr:gr,_=n.rects.reference[d]+n.rects.reference[c]-l[c]-n.rects.popper[d],L=l[c]-n.rects.reference[c],O=za(o),M=O?c==="y"?O.clientHeight||0:O.clientWidth||0:0,x=_/2-L/2,y=g[w],E=M-v[d]-g[k],A=M/2-v[d]/2+x,j=ia(y,A,E),N=c;n.modifiersData[r]=(t={},t[N]=j,t.centerOffset=j-A,t)}}function GI(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||d3(t.elements.popper,i)&&(t.elements.arrow=i))}const ZI={name:"arrow",enabled:!0,phase:"main",fn:JI,effect:GI,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hs(e){return e.split("-")[1]}var YI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function XI(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Ds(n*i)/i||0,y:Ds(r*i)/i||0}}function Dv(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,h=e.adaptive,d=e.roundOffsets,g=e.isFixed,v=l.x,w=v===void 0?0:v,k=l.y,_=k===void 0?0:k,L=typeof d=="function"?d({x:w,y:_}):{x:w,y:_};w=L.x,_=L.y;var O=l.hasOwnProperty("x"),M=l.hasOwnProperty("y"),x=On,y=Tn,E=window;if(h){var A=za(n),j="clientHeight",N="clientWidth";if(A===Gn(n)&&(A=Gi(n),hi(A).position!=="static"&&u==="absolute"&&(j="scrollHeight",N="scrollWidth")),A=A,i===Tn||(i===On||i===gr)&&o===Ea){y=dr;var B=g&&A===E&&E.visualViewport?E.visualViewport.height:A[j];_-=B-r.height,_*=c?1:-1}if(i===On||(i===Tn||i===dr)&&o===Ea){x=gr;var W=g&&A===E&&E.visualViewport?E.visualViewport.width:A[N];w-=W-r.width,w*=c?1:-1}}var J=Object.assign({position:u},h&&YI),V=d===!0?XI({x:w,y:_},Gn(n)):{x:w,y:_};if(w=V.x,_=V.y,c){var ee;return Object.assign({},J,(ee={},ee[y]=M?"0":"",ee[x]=O?"0":"",ee.transform=(E.devicePixelRatio||1)<=1?"translate("+w+"px, "+_+"px)":"translate3d("+w+"px, "+_+"px, 0)",ee))}return Object.assign({},J,(t={},t[y]=M?_+"px":"",t[x]=O?w+"px":"",t.transform="",t))}function QI(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,l=o===void 0?!0:o,u=n.roundOffsets,c=u===void 0?!0:u,h={placement:Nr(t.placement),variation:Hs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Dv(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Dv(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ej={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:QI,data:{}};var ic={passive:!0};function tj(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,l=r.resize,u=l===void 0?!0:l,c=Gn(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&h.forEach(function(d){d.addEventListener("scroll",n.update,ic)}),u&&c.addEventListener("resize",n.update,ic),function(){o&&h.forEach(function(d){d.removeEventListener("scroll",n.update,ic)}),u&&c.removeEventListener("resize",n.update,ic)}}const nj={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tj,data:{}};var rj={left:"right",right:"left",bottom:"top",top:"bottom"};function wc(e){return e.replace(/left|right|bottom|top/g,function(t){return rj[t]})}var ij={start:"end",end:"start"};function Wv(e){return e.replace(/start|end/g,function(t){return ij[t]})}function J0(e){var t=Gn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function G0(e){return Ws(Gi(e)).left+J0(e).scrollLeft}function oj(e,t){var n=Gn(e),r=Gi(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,u=0,c=0;if(i){o=i.width,l=i.height;var h=h3();(h||!h&&t==="fixed")&&(u=i.offsetLeft,c=i.offsetTop)}return{width:o,height:l,x:u+G0(e),y:c}}function sj(e){var t,n=Gi(e),r=J0(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Co(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),l=Co(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+G0(e),c=-r.scrollTop;return hi(i||n).direction==="rtl"&&(u+=Co(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:l,x:u,y:c}}function Z0(e){var t=hi(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function k3(e){return["html","body","#document"].indexOf(Dr(e))>=0?e.ownerDocument.body:cr(e)&&Z0(e)?e:k3(If(e))}function oa(e,t){var n;t===void 0&&(t=[]);var r=k3(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Gn(r),l=i?[o].concat(o.visualViewport||[],Z0(r)?r:[]):r,u=t.concat(l);return i?u:u.concat(oa(If(l)))}function jg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function lj(e,t){var n=Ws(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 Hv(e,t,n){return t===u3?jg(oj(e,n)):No(t)?lj(t,n):jg(sj(Gi(e)))}function aj(e){var t=oa(If(e)),n=["absolute","fixed"].indexOf(hi(e).position)>=0,r=n&&cr(e)?za(e):e;return No(r)?t.filter(function(i){return No(i)&&d3(i,r)&&Dr(i)!=="body"}):[]}function uj(e,t,n,r){var i=t==="clippingParents"?aj(e):[].concat(t),o=[].concat(i,[n]),l=o[0],u=o.reduce(function(c,h){var d=Hv(e,h,r);return c.top=Co(d.top,c.top),c.right=Yc(d.right,c.right),c.bottom=Yc(d.bottom,c.bottom),c.left=Co(d.left,c.left),c},Hv(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function v3(e){var t=e.reference,n=e.element,r=e.placement,i=r?Nr(r):null,o=r?Hs(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,c;switch(i){case Tn:c={x:l,y:t.y-n.height};break;case dr:c={x:l,y:t.y+t.height};break;case gr:c={x:t.x+t.width,y:u};break;case On:c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}var h=i?q0(i):null;if(h!=null){var d=h==="y"?"height":"width";switch(o){case Fs:c[h]=c[h]-(t[d]/2-n[d]/2);break;case Ea:c[h]=c[h]+(t[d]/2-n[d]/2);break}}return c}function Ma(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,l=o===void 0?e.strategy:o,u=n.boundary,c=u===void 0?TI:u,h=n.rootBoundary,d=h===void 0?u3:h,g=n.elementContext,v=g===void 0?Al:g,w=n.altBoundary,k=w===void 0?!1:w,_=n.padding,L=_===void 0?0:_,O=p3(typeof L!="number"?L:m3(L,Ha)),M=v===Al?OI:Al,x=e.rects.popper,y=e.elements[k?M:v],E=uj(No(y)?y:y.contextElement||Gi(e.elements.popper),c,d,l),A=Ws(e.elements.reference),j=v3({reference:A,element:x,strategy:"absolute",placement:i}),N=jg(Object.assign({},x,j)),B=v===Al?N:A,W={top:E.top-B.top+O.top,bottom:B.bottom-E.bottom+O.bottom,left:E.left-B.left+O.left,right:B.right-E.right+O.right},J=e.modifiersData.offset;if(v===Al&&J){var V=J[i];Object.keys(W).forEach(function(ee){var pe=[gr,dr].indexOf(ee)>=0?1:-1,ue=[Tn,dr].indexOf(ee)>=0?"y":"x";W[ee]+=V[ue]*pe})}return W}function cj(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,l=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,h=c===void 0?c3:c,d=Hs(r),g=d?u?Nv:Nv.filter(function(k){return Hs(k)===d}):Ha,v=g.filter(function(k){return h.indexOf(k)>=0});v.length===0&&(v=g);var w=v.reduce(function(k,_){return k[_]=Ma(e,{placement:_,boundary:i,rootBoundary:o,padding:l})[Nr(_)],k},{});return Object.keys(w).sort(function(k,_){return w[k]-w[_]})}function fj(e){if(Nr(e)===U0)return[];var t=wc(e);return[Wv(e),t,Wv(t)]}function hj(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,l=n.altAxis,u=l===void 0?!0:l,c=n.fallbackPlacements,h=n.padding,d=n.boundary,g=n.rootBoundary,v=n.altBoundary,w=n.flipVariations,k=w===void 0?!0:w,_=n.allowedAutoPlacements,L=t.options.placement,O=Nr(L),M=O===L,x=c||(M||!k?[wc(L)]:fj(L)),y=[L].concat(x).reduce(function(Xe,ct){return Xe.concat(Nr(ct)===U0?cj(t,{placement:ct,boundary:d,rootBoundary:g,padding:h,flipVariations:k,allowedAutoPlacements:_}):ct)},[]),E=t.rects.reference,A=t.rects.popper,j=new Map,N=!0,B=y[0],W=0;W<y.length;W++){var J=y[W],V=Nr(J),ee=Hs(J)===Fs,pe=[Tn,dr].indexOf(V)>=0,ue=pe?"width":"height",Q=Ma(t,{placement:J,boundary:d,rootBoundary:g,altBoundary:v,padding:h}),te=pe?ee?gr:On:ee?dr:Tn;E[ue]>A[ue]&&(te=wc(te));var oe=wc(te),Ge=[];if(o&&Ge.push(Q[V]<=0),u&&Ge.push(Q[te]<=0,Q[oe]<=0),Ge.every(function(Xe){return Xe})){B=J,N=!1;break}j.set(J,Ge)}if(N)for(var lt=k?3:1,Ke=function(ct){var Be=y.find(function(q){var fe=j.get(q);if(fe)return fe.slice(0,ct).every(function(ce){return ce})});if(Be)return B=Be,"break"},st=lt;st>0;st--){var wt=Ke(st);if(wt==="break")break}t.placement!==B&&(t.modifiersData[r]._skip=!0,t.placement=B,t.reset=!0)}}const dj={name:"flip",enabled:!0,phase:"main",fn:hj,requiresIfExists:["offset"],data:{_skip:!1}};function zv(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 Vv(e){return[Tn,gr,dr,On].some(function(t){return e[t]>=0})}function gj(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,l=Ma(t,{elementContext:"reference"}),u=Ma(t,{altBoundary:!0}),c=zv(l,r),h=zv(u,i,o),d=Vv(c),g=Vv(h);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:h,isReferenceHidden:d,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":g})}const pj={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:gj};function mj(e,t,n){var r=Nr(e),i=[On,Tn].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=o[0],u=o[1];return l=l||0,u=(u||0)*i,[On,gr].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function kj(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,l=c3.reduce(function(d,g){return d[g]=mj(g,t.rects,o),d},{}),u=l[t.placement],c=u.x,h=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=h),t.modifiersData[r]=l}const vj={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:kj};function yj(e){var t=e.state,n=e.name;t.modifiersData[n]=v3({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const wj={name:"popperOffsets",enabled:!0,phase:"read",fn:yj,data:{}};function _j(e){return e==="x"?"y":"x"}function bj(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,l=n.altAxis,u=l===void 0?!1:l,c=n.boundary,h=n.rootBoundary,d=n.altBoundary,g=n.padding,v=n.tether,w=v===void 0?!0:v,k=n.tetherOffset,_=k===void 0?0:k,L=Ma(t,{boundary:c,rootBoundary:h,padding:g,altBoundary:d}),O=Nr(t.placement),M=Hs(t.placement),x=!M,y=q0(O),E=_j(y),A=t.modifiersData.popperOffsets,j=t.rects.reference,N=t.rects.popper,B=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,W=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),J=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(A){if(o){var ee,pe=y==="y"?Tn:On,ue=y==="y"?dr:gr,Q=y==="y"?"height":"width",te=A[y],oe=te+L[pe],Ge=te-L[ue],lt=w?-N[Q]/2:0,Ke=M===Fs?j[Q]:N[Q],st=M===Fs?-N[Q]:-j[Q],wt=t.elements.arrow,Xe=w&&wt?K0(wt):{width:0,height:0},ct=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:g3(),Be=ct[pe],q=ct[ue],fe=ia(0,j[Q],Xe[Q]),ce=x?j[Q]/2-lt-fe-Be-W.mainAxis:Ke-fe-Be-W.mainAxis,me=x?-j[Q]/2+lt+fe+q+W.mainAxis:st+fe+q+W.mainAxis,He=t.elements.arrow&&za(t.elements.arrow),ot=He?y==="y"?He.clientTop||0:He.clientLeft||0:0,T=(ee=J==null?void 0:J[y])!=null?ee:0,R=te+ce-T-ot,H=te+me-T,ne=ia(w?Yc(oe,R):oe,te,w?Co(Ge,H):Ge);A[y]=ne,V[y]=ne-te}if(u){var $,se=y==="x"?Tn:On,he=y==="x"?dr:gr,ae=A[E],le=E==="y"?"height":"width",re=ae+L[se],de=ae-L[he],Ce=[Tn,On].indexOf(O)!==-1,ke=($=J==null?void 0:J[E])!=null?$:0,Te=Ce?re:ae-j[le]-N[le]-ke+W.altAxis,je=Ce?ae+j[le]+N[le]-ke-W.altAxis:de,Ze=w&&Ce?KI(Te,ae,je):ia(w?Te:re,ae,w?je:de);A[E]=Ze,V[E]=Ze-ae}t.modifiersData[r]=V}}const xj={name:"preventOverflow",enabled:!0,phase:"main",fn:bj,requiresIfExists:["offset"]};function Cj(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Lj(e){return e===Gn(e)||!cr(e)?J0(e):Cj(e)}function Sj(e){var t=e.getBoundingClientRect(),n=Ds(t.width)/e.offsetWidth||1,r=Ds(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Ej(e,t,n){n===void 0&&(n=!1);var r=cr(t),i=cr(t)&&Sj(t),o=Gi(t),l=Ws(e,i,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Dr(t)!=="body"||Z0(o))&&(u=Lj(t)),cr(t)?(c=Ws(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=G0(o))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function Mj(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var c=t.get(u);c&&i(c)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Aj(e){var t=Mj(e);return HI.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Tj(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Oj(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Uv={placement:"bottom",modifiers:[],strategy:"absolute"};function $v(){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 Rj(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?Uv:i;return function(u,c,h){h===void 0&&(h=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Uv,o),modifiersData:{},elements:{reference:u,popper:c},attributes:{},styles:{}},g=[],v=!1,w={state:d,setOptions:function(O){var M=typeof O=="function"?O(d.options):O;_(),d.options=Object.assign({},o,d.options,M),d.scrollParents={reference:No(u)?oa(u):u.contextElement?oa(u.contextElement):[],popper:oa(c)};var x=Aj(Oj([].concat(r,d.options.modifiers)));return d.orderedModifiers=x.filter(function(y){return y.enabled}),k(),w.update()},forceUpdate:function(){if(!v){var O=d.elements,M=O.reference,x=O.popper;if($v(M,x)){d.rects={reference:Ej(M,za(x),d.options.strategy==="fixed"),popper:K0(x)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(W){return d.modifiersData[W.name]=Object.assign({},W.data)});for(var y=0;y<d.orderedModifiers.length;y++){if(d.reset===!0){d.reset=!1,y=-1;continue}var E=d.orderedModifiers[y],A=E.fn,j=E.options,N=j===void 0?{}:j,B=E.name;typeof A=="function"&&(d=A({state:d,options:N,name:B,instance:w})||d)}}}},update:Tj(function(){return new Promise(function(L){w.forceUpdate(),L(d)})}),destroy:function(){_(),v=!0}};if(!$v(u,c))return w;w.setOptions(h).then(function(L){!v&&h.onFirstUpdate&&h.onFirstUpdate(L)});function k(){d.orderedModifiers.forEach(function(L){var O=L.name,M=L.options,x=M===void 0?{}:M,y=L.effect;if(typeof y=="function"){var E=y({state:d,name:O,instance:w,options:x}),A=function(){};g.push(E||A)}})}function _(){g.forEach(function(L){return L()}),g=[]}return w}}var Ij=[nj,wj,ej,f3,vj,dj,xj,ZI,pj],jj=Rj({defaultModifiers:Ij});const Kv=Kt(0),y3=2e3,w3=Symbol("zIndexContextKey"),Pj=e=>{const t=e||(Pn()?Gt(w3,void 0):void 0),n=$e(()=>{const o=Pe(t);return Sa(o)?o:y3}),r=$e(()=>n.value+Kv.value);return{initialZIndex:n,currentZIndex:r,nextZIndex:()=>(Kv.value++,r.value)}},Bj=s3({type:String,values:_I,required:!1}),_3=Symbol("size"),oz=()=>{const e=Gt(_3,{});return $e(()=>Pe(e.size)||"")},b3=Symbol(),Xc=Kt();function x3(e,t=void 0){const n=Pn()?Gt(b3,Xc):Xc;return e?$e(()=>{var r,i;return(i=(r=n.value)==null?void 0:r[e])!=null?i:t}):n}function Nj(e,t){const n=x3(),r=V0(e,$e(()=>{var u;return((u=n.value)==null?void 0:u.namespace)||yc})),i=EI($e(()=>{var u;return(u=n.value)==null?void 0:u.locale})),o=Pj($e(()=>{var u;return((u=n.value)==null?void 0:u.zIndex)||y3})),l=$e(()=>{var u;return Pe(t)||((u=n.value)==null?void 0:u.size)||""});return C3($e(()=>Pe(n)||{})),{ns:r,locale:i,zIndex:o,size:l}}const C3=(e,t,n=!1)=>{var r;const i=!!Pn(),o=i?x3():void 0,l=(r=void 0)!=null?r:i?Ul:void 0;if(!l)return;const u=$e(()=>{const c=Pe(e);return o!=null&&o.value?Fj(o.value,c):c});return l(b3,u),l(l3,$e(()=>u.value.locale)),l(a3,$e(()=>u.value.namespace)),l(w3,$e(()=>u.value.zIndex)),l(_3,{size:$e(()=>u.value.size||"")}),(n||!Xc.value)&&(Xc.value=u.value),u},Fj=(e,t)=>{var n;const r=[...new Set([...Pv(e),...Pv(t)])],i={};for(const o of r)i[o]=(n=t[o])!=null?n:e[o];return i},Dj=Rf({a11y:{type:Boolean,default:!0},locale:{type:Hi(Object)},size:Bj,button:{type:Hi(Object)},experimentalFeatures:{type:Hi(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Hi(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),Pg={},Wj=mt({name:"ElConfigProvider",props:Dj,setup(e,{slots:t}){lr(()=>e.message,r=>{Object.assign(Pg,r??{})},{immediate:!0,deep:!0});const n=C3(e);return()=>gf(t,"default",{config:n==null?void 0:n.value})}}),Hj=z0(Wj);var Y0=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const zj=Rf({size:{type:Hi([Number,String])},color:{type:String}}),Vj=mt({name:"ElIcon",inheritAttrs:!1}),Uj=mt({...Vj,props:zj,setup(e){const t=e,n=V0("icon"),r=$e(()=>{const{size:i,color:o}=t;return!i&&!o?{}:{fontSize:J7(i)?void 0:Y7(i),"--color":o}});return(i,o)=>(tt(),xt("i",Iw({class:Pe(n).b(),style:Pe(r)},i.$attrs),[gf(i.$slots,"default")],16))}});var $j=Y0(Uj,[["__file","icon.vue"]]);const qv=z0($j),Kj=Rf({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0}}),qj=["textContent"],Jj=mt({name:"ElBadge"}),Gj=mt({...Jj,props:Kj,setup(e,{expose:t}){const n=e,r=V0("badge"),i=$e(()=>n.isDot?"":Sa(n.value)&&Sa(n.max)?n.max<n.value?`${n.max}+`:n.value===0&&!n.showZero?"":`${n.value}`:`${n.value}`);return t({content:i}),(o,l)=>(tt(),xt("div",{class:En(Pe(r).b())},[gf(o.$slots,"default"),m(kf,{name:`${Pe(r).namespace.value}-zoom-in-center`,persisted:""},{default:ko(()=>[i0(yt("sup",{class:En([Pe(r).e("content"),Pe(r).em("content",o.type),Pe(r).is("fixed",!!o.$slots.default),Pe(r).is("dot",o.isDot)]),textContent:Es(Pe(i))},null,10,qj),[[vf,!o.hidden&&(Pe(i)||o.isDot)]])]),_:1},8,["name"])],2))}});var Zj=Y0(Gj,[["__file","badge.vue"]]);const Yj=z0(Zj),L3=["success","info","warning","error"],Ln=bI({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:Qs?document.body:void 0}),Xj=Rf({customClass:{type:String,default:Ln.customClass},center:{type:Boolean,default:Ln.center},dangerouslyUseHTMLString:{type:Boolean,default:Ln.dangerouslyUseHTMLString},duration:{type:Number,default:Ln.duration},icon:{type:kI,default:Ln.icon},id:{type:String,default:Ln.id},message:{type:Hi([String,Object,Function]),default:Ln.message},onClose:{type:Hi(Function),required:!1},showClose:{type:Boolean,default:Ln.showClose},type:{type:String,values:L3,default:Ln.type},offset:{type:Number,default:Ln.offset},zIndex:{type:Number,default:Ln.zIndex},grouping:{type:Boolean,default:Ln.grouping},repeatNum:{type:Number,default:Ln.repeatNum}}),Qj={destroy:()=>!0},br=uf([]),eP=e=>{const t=br.findIndex(i=>i.id===e),n=br[t];let r;return t>0&&(r=br[t-1]),{current:n,prev:r}},tP=e=>{const{prev:t}=eP(e);return t?t.vm.exposed.bottom.value:0},nP=(e,t)=>br.findIndex(r=>r.id===e)>0?16:t,rP=["id"],iP=["innerHTML"],oP=mt({name:"ElMessage"}),sP=mt({...oP,props:Xj,emits:Qj,setup(e,{expose:t}){const n=e,{Close:r}=vI,{ns:i,zIndex:o}=Nj("message"),{currentZIndex:l,nextZIndex:u}=o,c=Kt(),h=Kt(!1),d=Kt(0);let g;const v=$e(()=>n.type?n.type==="error"?"danger":n.type:"info"),w=$e(()=>{const j=n.type;return{[i.bm("icon",j)]:j&&Bv[j]}}),k=$e(()=>n.icon||Bv[n.type]||""),_=$e(()=>tP(n.id)),L=$e(()=>nP(n.id,n.offset)+_.value),O=$e(()=>d.value+L.value),M=$e(()=>({top:`${L.value}px`,zIndex:l.value}));function x(){n.duration!==0&&({stop:g}=pR(()=>{E()},n.duration))}function y(){g==null||g()}function E(){h.value=!1}function A({code:j}){j===wI.esc&&E()}return Js(()=>{x(),u(),h.value=!0}),lr(()=>n.repeatNum,()=>{y(),x()}),mR(document,"keydown",A),bR(c,()=>{d.value=c.value.getBoundingClientRect().height}),t({visible:h,bottom:O,close:E}),(j,N)=>(tt(),ii(kf,{name:Pe(i).b("fade"),onBeforeLeave:j.onClose,onAfterLeave:N[0]||(N[0]=B=>j.$emit("destroy")),persisted:""},{default:ko(()=>[i0(yt("div",{id:j.id,ref_key:"messageRef",ref:c,class:En([Pe(i).b(),{[Pe(i).m(j.type)]:j.type},Pe(i).is("center",j.center),Pe(i).is("closable",j.showClose),j.customClass]),style:Us(Pe(M)),role:"alert",onMouseenter:y,onMouseleave:x},[j.repeatNum>1?(tt(),ii(Pe(Yj),{key:0,value:j.repeatNum,type:Pe(v),class:En(Pe(i).e("badge"))},null,8,["value","type","class"])):Fi("v-if",!0),Pe(k)?(tt(),ii(Pe(qv),{key:1,class:En([Pe(i).e("icon"),Pe(w)])},{default:ko(()=>[(tt(),ii(qE(Pe(k))))]),_:1},8,["class"])):Fi("v-if",!0),gf(j.$slots,"default",{},()=>[j.dangerouslyUseHTMLString?(tt(),xt(Dt,{key:1},[Fi(" Caution here, message could've been compromised, never use user's input as message "),yt("p",{class:En(Pe(i).e("content")),innerHTML:j.message},null,10,iP)],2112)):(tt(),xt("p",{key:0,class:En(Pe(i).e("content"))},Es(j.message),3))]),j.showClose?(tt(),ii(Pe(qv),{key:2,class:En(Pe(i).e("closeBtn")),onClick:ql(E,["stop"])},{default:ko(()=>[m(Pe(r))]),_:1},8,["class","onClick"])):Fi("v-if",!0)],46,rP),[[vf,h.value]])]),_:3},8,["name","onBeforeLeave"]))}});var lP=Y0(sP,[["__file","message.vue"]]);let aP=1;const S3=e=>{const t=!e||kt(e)||ui(e)||Me(e)?{message:e}:e,n={...Ln,...t};if(!n.appendTo)n.appendTo=document.body;else if(kt(n.appendTo)){let r=document.querySelector(n.appendTo);G7(r)||(r=document.body),n.appendTo=r}return n},uP=e=>{const t=br.indexOf(e);if(t===-1)return;br.splice(t,1);const{handler:n}=e;n.close()},cP=({appendTo:e,...t},n)=>{const r=`message_${aP++}`,i=t.onClose,o=document.createElement("div"),l={...t,id:r,onClose:()=>{i==null||i(),uP(d)},onDestroy:()=>{Os(null,o)}},u=m(lP,l,Me(l.message)||ui(l.message)?{default:Me(l.message)?l.message:()=>l.message}:null);u.appContext=n||zs._context,Os(u,o),e.appendChild(o.firstElementChild);const c=u.component,d={id:r,vnode:u,vm:c,handler:{close:()=>{c.exposed.visible.value=!1}},props:u.component.props};return d},zs=(e={},t)=>{if(!Qs)return{close:()=>{}};if(Sa(Pg.max)&&br.length>=Pg.max)return{close:()=>{}};const n=S3(e);if(n.grouping&&br.length){const i=br.find(({vnode:o})=>{var l;return((l=o.props)==null?void 0:l.message)===n.message});if(i)return i.props.repeatNum+=1,i.props.type=n.type,i.handler}const r=cP(n,t);return br.push(r),r.handler};L3.forEach(e=>{zs[e]=(t={},n)=>{const r=S3(t);return zs({...r,type:e},n)}});function fP(e){for(const t of br)(!e||e===t.props.type)&&t.handler.close()}zs.closeAll=fP;zs._context=null;const Jv=yI(zs,"$message");let E3=5e3;const hP="ERR_CANCELED",X0="ppt-Token";let Q0=!0;function M3(){return sessionStorage.getItem(X0)}function dP(e){return Q0=!0,sessionStorage.setItem(X0,e)}function gP(){Q0=!1,sessionStorage.removeItem(X0)}const sz=(e,t)=>{const n=document.createElement("a");n.style.display="none",n.href=window.URL.createObjectURL(e),n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(n.href)},A3=(e="")=>e.split(" ").filter(t=>!!t.trim()),pP=(e,t)=>{e&&e.classList.add(...A3(t))},mP=(e,t)=>{e&&e.classList.remove(...A3(t))},kP=mt({setup(){const e=uf({text:"",show:!1}),t=document.querySelector("body"),n="h-loadingBarBody",r="正在加载中...";return{loadingBarData:e,loading:(o,l)=>{e.text=l??r,e.show=o,e.show?pP(t,n):mP(t,n)}}}}),T3=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},vP={class:"h-loading-bar"},yP={class:"loading-bar-content"},wP=N5('<div class="loadingBox"><div class="loadingItem"></div><div class="loadingItem"></div><div class="loadingItem"></div><div class="loadingItem"></div></div>',1),_P={class:"loadingTip"};function bP(e,t,n,r,i,o){return i0((tt(),xt("div",vP,[yt("div",yP,[wP,yt("div",_P,Es(e.loadingBarData.text),1)])],512)),[[vf,e.loadingBarData.show]])}const xP=T3(kP,[["render",bP]]),O3=mf(xP);Os(O3,document.body);const CP=O3.component.proxy,lz=CP,LP=function(e,...t){return new Promise(n=>{e(...t).then(r=>{n(r.data)}).catch(r=>{n(r)})})},az=function(e,...t){return new Promise(n=>{e(...t).then(r=>{const i=r.data;i.code!==200&&Jv({showClose:!0,message:i.message,type:"error"}),n(r.data)}).catch(r=>{Jv({showClose:!0,message:r.message,type:"error"}),n(r)})})};function R3(e,t){return function(){return e.apply(t,arguments)}}const{toString:SP}=Object.prototype,{getPrototypeOf:ep}=Object,jf=(e=>t=>{const n=SP.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Sr=e=>(e=e.toLowerCase(),t=>jf(t)===e),Pf=e=>t=>typeof t===e,{isArray:tl}=Array,Aa=Pf("undefined");function EP(e){return e!==null&&!Aa(e)&&e.constructor!==null&&!Aa(e.constructor)&&Jn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const I3=Sr("ArrayBuffer");function MP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&I3(e.buffer),t}const AP=Pf("string"),Jn=Pf("function"),j3=Pf("number"),Bf=e=>e!==null&&typeof e=="object",TP=e=>e===!0||e===!1,_c=e=>{if(jf(e)!=="object")return!1;const t=ep(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},OP=Sr("Date"),RP=Sr("File"),IP=Sr("Blob"),jP=Sr("FileList"),PP=e=>Bf(e)&&Jn(e.pipe),BP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Jn(e.append)&&((t=jf(e))==="formdata"||t==="object"&&Jn(e.toString)&&e.toString()==="[object FormData]"))},NP=Sr("URLSearchParams"),[FP,DP,WP,HP]=["ReadableStream","Request","Response","Headers"].map(Sr),zP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Va(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),tl(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),l=o.length;let u;for(r=0;r<l;r++)u=o[r],t.call(null,e[u],u,e)}}function P3(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,B3=e=>!Aa(e)&&e!==go;function Bg(){const{caseless:e}=B3(this)&&this||{},t={},n=(r,i)=>{const o=e&&P3(t,i)||i;_c(t[o])&&_c(r)?t[o]=Bg(t[o],r):_c(r)?t[o]=Bg({},r):tl(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Va(arguments[r],n);return t}const VP=(e,t,n,{allOwnKeys:r}={})=>(Va(t,(i,o)=>{n&&Jn(i)?e[o]=R3(i,n):e[o]=i},{allOwnKeys:r}),e),UP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$P=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},KP=(e,t,n,r)=>{let i,o,l;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)l=i[o],(!r||r(l,e,t))&&!u[l]&&(t[l]=e[l],u[l]=!0);e=n!==!1&&ep(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},qP=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},JP=e=>{if(!e)return null;if(tl(e))return e;let t=e.length;if(!j3(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},GP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ep(Uint8Array)),ZP=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},YP=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},XP=Sr("HTMLFormElement"),QP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Gv=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),eB=Sr("RegExp"),N3=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Va(n,(i,o)=>{let l;(l=t(i,o,e))!==!1&&(r[o]=l||i)}),Object.defineProperties(e,r)},tB=e=>{N3(e,(t,n)=>{if(Jn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Jn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},nB=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return tl(e)?r(e):r(String(e).split(t)),n},rB=()=>{},iB=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Sd="abcdefghijklmnopqrstuvwxyz",Zv="0123456789",F3={DIGIT:Zv,ALPHA:Sd,ALPHA_DIGIT:Sd+Sd.toUpperCase()+Zv},oB=(e=16,t=F3.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function sB(e){return!!(e&&Jn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const lB=e=>{const t=new Array(10),n=(r,i)=>{if(Bf(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=tl(r)?[]:{};return Va(r,(l,u)=>{const c=n(l,i+1);!Aa(c)&&(o[u]=c)}),t[i]=void 0,o}}return r};return n(e,0)},aB=Sr("AsyncFunction"),uB=e=>e&&(Bf(e)||Jn(e))&&Jn(e.then)&&Jn(e.catch),D3=((e,t)=>e?setImmediate:t?((n,r)=>(go.addEventListener("message",({source:i,data:o})=>{i===go&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),go.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Jn(go.postMessage)),cB=typeof queueMicrotask<"u"?queueMicrotask.bind(go):typeof process<"u"&&process.nextTick||D3,U={isArray:tl,isArrayBuffer:I3,isBuffer:EP,isFormData:BP,isArrayBufferView:MP,isString:AP,isNumber:j3,isBoolean:TP,isObject:Bf,isPlainObject:_c,isReadableStream:FP,isRequest:DP,isResponse:WP,isHeaders:HP,isUndefined:Aa,isDate:OP,isFile:RP,isBlob:IP,isRegExp:eB,isFunction:Jn,isStream:PP,isURLSearchParams:NP,isTypedArray:GP,isFileList:jP,forEach:Va,merge:Bg,extend:VP,trim:zP,stripBOM:UP,inherits:$P,toFlatObject:KP,kindOf:jf,kindOfTest:Sr,endsWith:qP,toArray:JP,forEachEntry:ZP,matchAll:YP,isHTMLForm:XP,hasOwnProperty:Gv,hasOwnProp:Gv,reduceDescriptors:N3,freezeMethods:tB,toObjectSet:nB,toCamelCase:QP,noop:rB,toFiniteNumber:iB,findKey:P3,global:go,isContextDefined:B3,ALPHABET:F3,generateString:oB,isSpecCompliantForm:sB,toJSONObject:lB,isAsyncFn:aB,isThenable:uB,setImmediate:D3,asap:cB};function ze(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}U.inherits(ze,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:U.toJSONObject(this.config),code:this.code,status:this.status}}});const W3=ze.prototype,H3={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{H3[e]={value:e}});Object.defineProperties(ze,H3);Object.defineProperty(W3,"isAxiosError",{value:!0});ze.from=(e,t,n,r,i,o)=>{const l=Object.create(W3);return U.toFlatObject(e,l,function(c){return c!==Error.prototype},u=>u!=="isAxiosError"),ze.call(l,e.message,t,n,r,i),l.cause=e,l.name=e.name,o&&Object.assign(l,o),l};const fB=null;function Ng(e){return U.isPlainObject(e)||U.isArray(e)}function z3(e){return U.endsWith(e,"[]")?e.slice(0,-2):e}function Yv(e,t,n){return e?e.concat(t).map(function(i,o){return i=z3(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function hB(e){return U.isArray(e)&&!e.some(Ng)}const dB=U.toFlatObject(U,{},null,function(t){return/^is[A-Z]/.test(t)});function Nf(e,t,n){if(!U.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,L){return!U.isUndefined(L[_])});const r=n.metaTokens,i=n.visitor||d,o=n.dots,l=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&U.isSpecCompliantForm(t);if(!U.isFunction(i))throw new TypeError("visitor must be a function");function h(k){if(k===null)return"";if(U.isDate(k))return k.toISOString();if(!c&&U.isBlob(k))throw new ze("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(k)||U.isTypedArray(k)?c&&typeof Blob=="function"?new Blob([k]):Buffer.from(k):k}function d(k,_,L){let O=k;if(k&&!L&&typeof k=="object"){if(U.endsWith(_,"{}"))_=r?_:_.slice(0,-2),k=JSON.stringify(k);else if(U.isArray(k)&&hB(k)||(U.isFileList(k)||U.endsWith(_,"[]"))&&(O=U.toArray(k)))return _=z3(_),O.forEach(function(x,y){!(U.isUndefined(x)||x===null)&&t.append(l===!0?Yv([_],y,o):l===null?_:_+"[]",h(x))}),!1}return Ng(k)?!0:(t.append(Yv(L,_,o),h(k)),!1)}const g=[],v=Object.assign(dB,{defaultVisitor:d,convertValue:h,isVisitable:Ng});function w(k,_){if(!U.isUndefined(k)){if(g.indexOf(k)!==-1)throw Error("Circular reference detected in "+_.join("."));g.push(k),U.forEach(k,function(O,M){(!(U.isUndefined(O)||O===null)&&i.call(t,O,U.isString(M)?M.trim():M,_,v))===!0&&w(O,_?_.concat(M):[M])}),g.pop()}}if(!U.isObject(e))throw new TypeError("data must be an object");return w(e),t}function Xv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function tp(e,t){this._pairs=[],e&&Nf(e,this,t)}const V3=tp.prototype;V3.append=function(t,n){this._pairs.push([t,n])};V3.toString=function(t){const n=t?function(r){return t.call(this,r,Xv)}:Xv;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function gB(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function U3(e,t,n){if(!t)return e;const r=n&&n.encode||gB,i=n&&n.serialize;let o;if(i?o=i(t,n):o=U.isURLSearchParams(t)?t.toString():new tp(t,n).toString(r),o){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Qv{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){U.forEach(this.handlers,function(r){r!==null&&t(r)})}}const $3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pB=typeof URLSearchParams<"u"?URLSearchParams:tp,mB=typeof FormData<"u"?FormData:null,kB=typeof Blob<"u"?Blob:null,vB={isBrowser:!0,classes:{URLSearchParams:pB,FormData:mB,Blob:kB},protocols:["http","https","file","blob","url","data"]},np=typeof window<"u"&&typeof document<"u",Fg=typeof navigator=="object"&&navigator||void 0,yB=np&&(!Fg||["ReactNative","NativeScript","NS"].indexOf(Fg.product)<0),wB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",_B=np&&window.location.href||"http://localhost",bB=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:np,hasStandardBrowserEnv:yB,hasStandardBrowserWebWorkerEnv:wB,navigator:Fg,origin:_B},Symbol.toStringTag,{value:"Module"})),Rn={...bB,...vB};function xB(e,t){return Nf(e,new Rn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Rn.isNode&&U.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function CB(e){return U.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function LB(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function K3(e){function t(n,r,i,o){let l=n[o++];if(l==="__proto__")return!0;const u=Number.isFinite(+l),c=o>=n.length;return l=!l&&U.isArray(i)?i.length:l,c?(U.hasOwnProp(i,l)?i[l]=[i[l],r]:i[l]=r,!u):((!i[l]||!U.isObject(i[l]))&&(i[l]=[]),t(n,r,i[l],o)&&U.isArray(i[l])&&(i[l]=LB(i[l])),!u)}if(U.isFormData(e)&&U.isFunction(e.entries)){const n={};return U.forEachEntry(e,(r,i)=>{t(CB(r),i,n,0)}),n}return null}function SB(e,t,n){if(U.isString(e))try{return(t||JSON.parse)(e),U.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ua={transitional:$3,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=U.isObject(t);if(o&&U.isHTMLForm(t)&&(t=new FormData(t)),U.isFormData(t))return i?JSON.stringify(K3(t)):t;if(U.isArrayBuffer(t)||U.isBuffer(t)||U.isStream(t)||U.isFile(t)||U.isBlob(t)||U.isReadableStream(t))return t;if(U.isArrayBufferView(t))return t.buffer;if(U.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return xB(t,this.formSerializer).toString();if((u=U.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Nf(u?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),SB(t)):t}],transformResponse:[function(t){const n=this.transitional||Ua.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(U.isResponse(t)||U.isReadableStream(t))return t;if(t&&U.isString(t)&&(r&&!this.responseType||i)){const l=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(u){if(l)throw u.name==="SyntaxError"?ze.from(u,ze.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Rn.classes.FormData,Blob:Rn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};U.forEach(["delete","get","head","post","put","patch"],e=>{Ua.headers[e]={}});const EB=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),MB=e=>{const t={};let n,r,i;return e&&e.split(`
- `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&EB[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ey=Symbol("internals");function Tl(e){return e&&String(e).trim().toLowerCase()}function bc(e){return e===!1||e==null?e:U.isArray(e)?e.map(bc):String(e)}function AB(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const TB=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ed(e,t,n,r,i){if(U.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!U.isString(t)){if(U.isString(r))return t.indexOf(r)!==-1;if(U.isRegExp(r))return r.test(t)}}function OB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function RB(e,t){const n=U.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,l){return this[r].call(this,t,i,o,l)},configurable:!0})})}class In{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(u,c,h){const d=Tl(c);if(!d)throw new Error("header name must be a non-empty string");const g=U.findKey(i,d);(!g||i[g]===void 0||h===!0||h===void 0&&i[g]!==!1)&&(i[g||c]=bc(u))}const l=(u,c)=>U.forEach(u,(h,d)=>o(h,d,c));if(U.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(U.isString(t)&&(t=t.trim())&&!TB(t))l(MB(t),n);else if(U.isHeaders(t))for(const[u,c]of t.entries())o(c,u,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=Tl(t),t){const r=U.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return AB(i);if(U.isFunction(n))return n.call(this,i,r);if(U.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Tl(t),t){const r=U.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ed(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(l){if(l=Tl(l),l){const u=U.findKey(r,l);u&&(!n||Ed(r,r[u],u,n))&&(delete r[u],i=!0)}}return U.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Ed(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return U.forEach(this,(i,o)=>{const l=U.findKey(r,o);if(l){n[l]=bc(i),delete n[o];return}const u=t?OB(o):String(o).trim();u!==o&&delete n[o],n[u]=bc(i),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return U.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&U.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[ey]=this[ey]={accessors:{}}).accessors,i=this.prototype;function o(l){const u=Tl(l);r[u]||(RB(i,l),r[u]=!0)}return U.isArray(t)?t.forEach(o):o(t),this}}In.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);U.reduceDescriptors(In.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});U.freezeMethods(In);function Md(e,t){const n=this||Ua,r=t||n,i=In.from(r.headers);let o=r.data;return U.forEach(e,function(u){o=u.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function q3(e){return!!(e&&e.__CANCEL__)}function nl(e,t,n){ze.call(this,e??"canceled",ze.ERR_CANCELED,t,n),this.name="CanceledError"}U.inherits(nl,ze,{__CANCEL__:!0});function J3(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ze("Request failed with status code "+n.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function IB(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function jB(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,l;return t=t!==void 0?t:1e3,function(c){const h=Date.now(),d=r[o];l||(l=h),n[i]=c,r[i]=h;let g=o,v=0;for(;g!==i;)v+=n[g++],g=g%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),h-l<t)return;const w=d&&h-d;return w?Math.round(v*1e3/w):void 0}}function PB(e,t){let n=0,r=1e3/t,i,o;const l=(h,d=Date.now())=>{n=d,i=null,o&&(clearTimeout(o),o=null),e.apply(null,h)};return[(...h)=>{const d=Date.now(),g=d-n;g>=r?l(h,d):(i=h,o||(o=setTimeout(()=>{o=null,l(i)},r-g)))},()=>i&&l(i)]}const Qc=(e,t,n=3)=>{let r=0;const i=jB(50,250);return PB(o=>{const l=o.loaded,u=o.lengthComputable?o.total:void 0,c=l-r,h=i(c),d=l<=u;r=l;const g={loaded:l,total:u,progress:u?l/u:void 0,bytes:c,rate:h||void 0,estimated:h&&u&&d?(u-l)/h:void 0,event:o,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(g)},n)},ty=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},ny=e=>(...t)=>U.asap(()=>e(...t)),BB=Rn.hasStandardBrowserEnv?function(){const t=Rn.navigator&&/(msie|trident)/i.test(Rn.navigator.userAgent),n=document.createElement("a");let r;function i(o){let l=o;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(l){const u=U.isString(l)?i(l):l;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}(),NB=Rn.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const l=[e+"="+encodeURIComponent(t)];U.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),U.isString(r)&&l.push("path="+r),U.isString(i)&&l.push("domain="+i),o===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function FB(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function DB(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function G3(e,t){return e&&!FB(t)?DB(e,t):t}const ry=e=>e instanceof In?{...e}:e;function Fo(e,t){t=t||{};const n={};function r(h,d,g){return U.isPlainObject(h)&&U.isPlainObject(d)?U.merge.call({caseless:g},h,d):U.isPlainObject(d)?U.merge({},d):U.isArray(d)?d.slice():d}function i(h,d,g){if(U.isUndefined(d)){if(!U.isUndefined(h))return r(void 0,h,g)}else return r(h,d,g)}function o(h,d){if(!U.isUndefined(d))return r(void 0,d)}function l(h,d){if(U.isUndefined(d)){if(!U.isUndefined(h))return r(void 0,h)}else return r(void 0,d)}function u(h,d,g){if(g in t)return r(h,d);if(g in e)return r(void 0,h)}const c={url:o,method:o,data:o,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u,headers:(h,d)=>i(ry(h),ry(d),!0)};return U.forEach(Object.keys(Object.assign({},e,t)),function(d){const g=c[d]||i,v=g(e[d],t[d],d);U.isUndefined(v)&&g!==u||(n[d]=v)}),n}const Z3=e=>{const t=Fo({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:l,auth:u}=t;t.headers=l=In.from(l),t.url=U3(G3(t.baseURL,t.url),e.params,e.paramsSerializer),u&&l.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let c;if(U.isFormData(n)){if(Rn.hasStandardBrowserEnv||Rn.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((c=l.getContentType())!==!1){const[h,...d]=c?c.split(";").map(g=>g.trim()).filter(Boolean):[];l.setContentType([h||"multipart/form-data",...d].join("; "))}}if(Rn.hasStandardBrowserEnv&&(r&&U.isFunction(r)&&(r=r(t)),r||r!==!1&&BB(t.url))){const h=i&&o&&NB.read(o);h&&l.set(i,h)}return t},WB=typeof XMLHttpRequest<"u",HB=WB&&function(e){return new Promise(function(n,r){const i=Z3(e);let o=i.data;const l=In.from(i.headers).normalize();let{responseType:u,onUploadProgress:c,onDownloadProgress:h}=i,d,g,v,w,k;function _(){w&&w(),k&&k(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let L=new XMLHttpRequest;L.open(i.method.toUpperCase(),i.url,!0),L.timeout=i.timeout;function O(){if(!L)return;const x=In.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),E={data:!u||u==="text"||u==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:x,config:e,request:L};J3(function(j){n(j),_()},function(j){r(j),_()},E),L=null}"onloadend"in L?L.onloadend=O:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf("file:")===0)||setTimeout(O)},L.onabort=function(){L&&(r(new ze("Request aborted",ze.ECONNABORTED,e,L)),L=null)},L.onerror=function(){r(new ze("Network Error",ze.ERR_NETWORK,e,L)),L=null},L.ontimeout=function(){let y=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||$3;i.timeoutErrorMessage&&(y=i.timeoutErrorMessage),r(new ze(y,E.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,e,L)),L=null},o===void 0&&l.setContentType(null),"setRequestHeader"in L&&U.forEach(l.toJSON(),function(y,E){L.setRequestHeader(E,y)}),U.isUndefined(i.withCredentials)||(L.withCredentials=!!i.withCredentials),u&&u!=="json"&&(L.responseType=i.responseType),h&&([v,k]=Qc(h,!0),L.addEventListener("progress",v)),c&&L.upload&&([g,w]=Qc(c),L.upload.addEventListener("progress",g),L.upload.addEventListener("loadend",w)),(i.cancelToken||i.signal)&&(d=x=>{L&&(r(!x||x.type?new nl(null,e,L):x),L.abort(),L=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const M=IB(i.url);if(M&&Rn.protocols.indexOf(M)===-1){r(new ze("Unsupported protocol "+M+":",ze.ERR_BAD_REQUEST,e));return}L.send(o||null)})},zB=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(h){if(!i){i=!0,u();const d=h instanceof Error?h:this.reason;r.abort(d instanceof ze?d:new nl(d instanceof Error?d.message:d))}};let l=t&&setTimeout(()=>{l=null,o(new ze(`timeout ${t} of ms exceeded`,ze.ETIMEDOUT))},t);const u=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(h=>{h.unsubscribe?h.unsubscribe(o):h.removeEventListener("abort",o)}),e=null)};e.forEach(h=>h.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>U.asap(u),c}},VB=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},UB=async function*(e,t){for await(const n of $B(e))yield*VB(n,t)},$B=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},iy=(e,t,n,r)=>{const i=UB(e,t);let o=0,l,u=c=>{l||(l=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:h,value:d}=await i.next();if(h){u(),c.close();return}let g=d.byteLength;if(n){let v=o+=g;n(v)}c.enqueue(new Uint8Array(d))}catch(h){throw u(h),h}},cancel(c){return u(c),i.return()}},{highWaterMark:2})},Ff=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Y3=Ff&&typeof ReadableStream=="function",KB=Ff&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),X3=(e,...t)=>{try{return!!e(...t)}catch{return!1}},qB=Y3&&X3(()=>{let e=!1;const t=new Request(Rn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),oy=64*1024,Dg=Y3&&X3(()=>U.isReadableStream(new Response("").body)),ef={stream:Dg&&(e=>e.body)};Ff&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ef[t]&&(ef[t]=U.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ze(`Response type '${t}' is not supported`,ze.ERR_NOT_SUPPORT,r)})})})(new Response);const JB=async e=>{if(e==null)return 0;if(U.isBlob(e))return e.size;if(U.isSpecCompliantForm(e))return(await new Request(Rn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(U.isArrayBufferView(e)||U.isArrayBuffer(e))return e.byteLength;if(U.isURLSearchParams(e)&&(e=e+""),U.isString(e))return(await KB(e)).byteLength},GB=async(e,t)=>{const n=U.toFiniteNumber(e.getContentLength());return n??JB(t)},ZB=Ff&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:l,onDownloadProgress:u,onUploadProgress:c,responseType:h,headers:d,withCredentials:g="same-origin",fetchOptions:v}=Z3(e);h=h?(h+"").toLowerCase():"text";let w=zB([i,o&&o.toAbortSignal()],l),k;const _=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let L;try{if(c&&qB&&n!=="get"&&n!=="head"&&(L=await GB(d,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),A;if(U.isFormData(r)&&(A=E.headers.get("content-type"))&&d.setContentType(A),E.body){const[j,N]=ty(L,Qc(ny(c)));r=iy(E.body,oy,j,N)}}U.isString(g)||(g=g?"include":"omit");const O="credentials"in Request.prototype;k=new Request(t,{...v,signal:w,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:O?g:void 0});let M=await fetch(k);const x=Dg&&(h==="stream"||h==="response");if(Dg&&(u||x&&_)){const E={};["status","statusText","headers"].forEach(B=>{E[B]=M[B]});const A=U.toFiniteNumber(M.headers.get("content-length")),[j,N]=u&&ty(A,Qc(ny(u),!0))||[];M=new Response(iy(M.body,oy,j,()=>{N&&N(),_&&_()}),E)}h=h||"text";let y=await ef[U.findKey(ef,h)||"text"](M,e);return!x&&_&&_(),await new Promise((E,A)=>{J3(E,A,{data:y,headers:In.from(M.headers),status:M.status,statusText:M.statusText,config:e,request:k})})}catch(O){throw _&&_(),O&&O.name==="TypeError"&&/fetch/i.test(O.message)?Object.assign(new ze("Network Error",ze.ERR_NETWORK,e,k),{cause:O.cause||O}):ze.from(O,O&&O.code,e,k)}}),Wg={http:fB,xhr:HB,fetch:ZB};U.forEach(Wg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const sy=e=>`- ${e}`,YB=e=>U.isFunction(e)||e===null||e===!1,Q3={getAdapter:e=>{e=U.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let l;if(r=n,!YB(n)&&(r=Wg[(l=String(n)).toLowerCase()],r===void 0))throw new ze(`Unknown adapter '${l}'`);if(r)break;i[l||"#"+o]=r}if(!r){const o=Object.entries(i).map(([u,c])=>`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let l=t?o.length>1?`since :
- `+o.map(sy).join(`
- `):" "+sy(o[0]):"as no adapter specified";throw new ze("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r},adapters:Wg};function Ad(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new nl(null,e)}function ly(e){return Ad(e),e.headers=In.from(e.headers),e.data=Md.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Q3.getAdapter(e.adapter||Ua.adapter)(e).then(function(r){return Ad(e),r.data=Md.call(e,e.transformResponse,r),r.headers=In.from(r.headers),r},function(r){return q3(r)||(Ad(e),r&&r.response&&(r.response.data=Md.call(e,e.transformResponse,r.response),r.response.headers=In.from(r.response.headers))),Promise.reject(r)})}const e_="1.7.7",rp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ay={};rp.transitional=function(t,n,r){function i(o,l){return"[Axios v"+e_+"] Transitional option '"+o+"'"+l+(r?". "+r:"")}return(o,l,u)=>{if(t===!1)throw new ze(i(l," has been removed"+(n?" in "+n:"")),ze.ERR_DEPRECATED);return n&&!ay[l]&&(ay[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,l,u):!0}};function XB(e,t,n){if(typeof e!="object")throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],l=t[o];if(l){const u=e[o],c=u===void 0||l(u,o,e);if(c!==!0)throw new ze("option "+o+" must be "+c,ze.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ze("Unknown option "+o,ze.ERR_BAD_OPTION)}}const Hg={assertOptions:XB,validators:rp},Mi=Hg.validators;class Lo{constructor(t){this.defaults=t,this.interceptors={request:new Qv,response:new Qv}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
- `+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Fo(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Hg.assertOptions(r,{silentJSONParsing:Mi.transitional(Mi.boolean),forcedJSONParsing:Mi.transitional(Mi.boolean),clarifyTimeoutError:Mi.transitional(Mi.boolean)},!1),i!=null&&(U.isFunction(i)?n.paramsSerializer={serialize:i}:Hg.assertOptions(i,{encode:Mi.function,serialize:Mi.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=o&&U.merge(o.common,o[n.method]);o&&U.forEach(["delete","get","head","post","put","patch","common"],k=>{delete o[k]}),n.headers=In.concat(l,o);const u=[];let c=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(c=c&&_.synchronous,u.unshift(_.fulfilled,_.rejected))});const h=[];this.interceptors.response.forEach(function(_){h.push(_.fulfilled,_.rejected)});let d,g=0,v;if(!c){const k=[ly.bind(this),void 0];for(k.unshift.apply(k,u),k.push.apply(k,h),v=k.length,d=Promise.resolve(n);g<v;)d=d.then(k[g++],k[g++]);return d}v=u.length;let w=n;for(g=0;g<v;){const k=u[g++],_=u[g++];try{w=k(w)}catch(L){_.call(this,L);break}}try{d=ly.call(this,w)}catch(k){return Promise.reject(k)}for(g=0,v=h.length;g<v;)d=d.then(h[g++],h[g++]);return d}getUri(t){t=Fo(this.defaults,t);const n=G3(t.baseURL,t.url);return U3(n,t.params,t.paramsSerializer)}}U.forEach(["delete","get","head","options"],function(t){Lo.prototype[t]=function(n,r){return this.request(Fo(r||{},{method:t,url:n,data:(r||{}).data}))}});U.forEach(["post","put","patch"],function(t){function n(r){return function(o,l,u){return this.request(Fo(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:l}))}}Lo.prototype[t]=n(),Lo.prototype[t+"Form"]=n(!0)});class ip{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const l=new Promise(u=>{r.subscribe(u),o=u}).then(i);return l.cancel=function(){r.unsubscribe(o)},l},t(function(o,l,u){r.reason||(r.reason=new nl(o,l,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ip(function(i){t=i}),cancel:t}}}function QB(e){return function(n){return e.apply(null,n)}}function eN(e){return U.isObject(e)&&e.isAxiosError===!0}const zg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zg).forEach(([e,t])=>{zg[t]=e});function t_(e){const t=new Lo(e),n=R3(Lo.prototype.request,t);return U.extend(n,Lo.prototype,t,{allOwnKeys:!0}),U.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return t_(Fo(e,i))},n}const Ht=t_(Ua);Ht.Axios=Lo;Ht.CanceledError=nl;Ht.CancelToken=ip;Ht.isCancel=q3;Ht.VERSION=e_;Ht.toFormData=Nf;Ht.AxiosError=ze;Ht.Cancel=Ht.CanceledError;Ht.all=function(t){return Promise.all(t)};Ht.spread=QB;Ht.isAxiosError=eN;Ht.mergeConfig=Fo;Ht.AxiosHeaders=In;Ht.formToJSON=e=>K3(U.isHTMLForm(e)?new FormData(e):e);Ht.getAdapter=Q3.getAdapter;Ht.HttpStatusCode=zg;Ht.default=Ht;class tN{constructor(t,n){bl(this,"URL","");bl(this,"axiosObj");this.URL=t,this.axiosObj=n}httpInterceptor(t){(!this.axiosObj||this.axiosObj.nprogress!==!1)&&ho.start(),t.interceptors.request.use(n=>n,n=>{console.log(n),ho.done();const r={code:500,message:"系统运行异常,请联系管理员处理",data:null};return Promise.reject(r)}),t.interceptors.response.use(n=>(ho.done(),n.data.code===E3&&Q0&&r_().resetUser(),n),n=>{console.log(n),ho.done();const r=n.code===hP?{code:n.code,message:"系统取消接口",data:null}:{code:500,message:"系统运行异常,请联系管理员处理",data:null};return Promise.reject(r)})}createInstance(){const t=this.axiosObj;return Ht.create(t!=null&&t.tokenName?{baseURL:this.URL,headers:{[t.tokenName]:t.getTokenFun&&t.getTokenFun()}}:{baseURL:this.URL})}axioseRquest(t){const n=this.createInstance();return this.httpInterceptor(n),n(t)}}const nN="https://test.kt.colexiu.com",uz="https://test.kt.colexiu.com/instrument",n_=new tN(nN,{tokenName:"Authorization",getTokenFun:M3}),rN=()=>n_.axioseRquest({method:"get",url:"/edu-app/user/getUserInfo"}),cz=(e,t)=>n_.axioseRquest({method:"post",url:"/edu-app/open/getUploadSign",data:e,params:t}),iN=Gs("user",{state:()=>({userInfo:{},roles:""}),actions:{async login(){function e(){const n=window.location.href,r=n.indexOf("?");if(r===-1)return;const i=n.slice(r+1);return new URLSearchParams(i).get("Authorization")||void 0}const t=e();t&&dP(t)},async getUserInfo(){const e=await LP(rN);if(e.code!==200)return Promise.reject(e);const t=e.data||{};return t.id?(this.userInfo=t,this.roles=t.id,Promise.resolve()):Promise.reject({code:"500",data:null,message:"获取用户信息出错,请联系管理员!"})},async loginOut(){return this.resetUser(),Promise.resolve()},resetUser(){this.userInfo={},this.roles="",gP(),rl.push({path:"/login"})}}}),r_=()=>iN(I4),oN=$s({hideFullScreen:!1});function sN(){const e=rl.currentRoute.value.query;oN.hideFullScreen=!!e.hideFullScreen}const xc=r_();xc.login();const rl=rR({history:IO("./"),routes:lR,scrollBehavior(){return{left:0,top:0}}});function lN(e,t){return e.findIndex(n=>n.test(t))>-1}const uy=["/login"],aN=[];rl.beforeEach((e,t,n)=>{ho.start();const r=M3();if(r&&!uy.includes(e.path))xc.roles?n():xc.getUserInfo().then(()=>{n()}).catch(o=>{o.code!==E3&&xc.resetUser()});else{if(r&&e.path==="/login"){n({path:"/"});return}uy.includes(e.path)||lN(aN,e.path)?n():n({path:"/login"})}});rl.afterEach(()=>{ho.done()});rl.isReady().then(()=>{sN()});var uN={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const cN=mt({__name:"App",setup(e){return(t,n)=>{const r=iw("router-view");return tt(),ii(Pe(Hj),{locale:Pe(uN)},{default:ko(()=>[m(r)]),_:1},8,["locale"])}}});var fN={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 hN(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function dN(e,t,n){var r=typeof t.fill=="string"?[t.fill]:t.fill||[],i=[],o=t.theme||n.theme;switch(o){case"outline":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("none"),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("none");break;case"filled":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("#FFF"),i.push("#FFF");break;case"two-tone":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.multiColor.outFillColor),i.push(typeof r[2]=="string"?r[2]:n.colors.multiColor.innerStrokeColor),i.push(typeof r[3]=="string"?r[3]:n.colors.multiColor.innerFillColor);break}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:i,id:e}}var gN=Symbol("icon-context");function Z(e,t,n){var r={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(o){var l=hN(),u=Gt(gN,fN);return function(){var c=o.size,h=o.strokeWidth,d=o.strokeLinecap,g=o.strokeLinejoin,v=o.theme,w=o.fill,k=o.spin,_=dN(l,{size:c,strokeWidth:h,strokeLinecap:d,strokeLinejoin:g,theme:v,fill:w},u),L=[u.prefix+"-icon"];return L.push(u.prefix+"-icon-"+e),t&&u.rtl&&L.push(u.prefix+"-icon-rtl"),k&&L.push(u.prefix+"-icon-spin"),m("span",{class:L.join(" ")},[n(_)])}}};return r}const pN=Z("add-text",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M4 8H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M28 21H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M18 42L18 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M36 42L36 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),mN=Z("align-bottom",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M42 42H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),kN=Z("align-horizontally",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vN=Z("align-left",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M6.5 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yN=Z("align-right",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M42 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),wN=Z("align-text-both",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M42 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_N=Z("align-text-bottom-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M34 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M27 34H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bN=Z("align-text-center",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M36 19H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M36 39H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),xN=Z("align-text-left",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M34 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M34 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),CN=Z("align-text-middle-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M34 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M26 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),LN=Z("align-text-right",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 19H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 39H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),SN=Z("align-text-top-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M26 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M34 13H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),EN=Z("align-top",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M42 6.5H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),MN=Z("align-vertically",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),AN=Z("arrow-circle-left",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M32.4917 24.5H14.4917",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),TN=Z("attention",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("path",{d:"M24 12V28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ON=Z("back",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),RN=Z("background-color",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M20.8535 5.50439L24.389 9.03993",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("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),m("path",{d:"M12 20.0732L28.961 25.6496",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M4 43H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),IN=Z("bring-to-front",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M26.0023 6H30V10.0152",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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),m("path",{d:"M15.9922 30H17.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),jN=Z("bring-to-front-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M14 21V34H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 14H34V27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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)])}),PN=Z("chart-histogram",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 30V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M22 22V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M30 6V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M38 14V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),BN=Z("chart-histogram-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M18 34H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M26 26H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 18H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M34 10L14 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),NN=Z("chart-line",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 34L22 18L32 27L42 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),FN=Z("chart-line-area",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),DN=Z("chart-pie",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),WN=Z("chart-proportion",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),HN=Z("chart-ring",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),zN=Z("chart-scatter",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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),m("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),m("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)])}),VN=Z("check-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),UN=Z("clear",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M8 40H40V22H8V40Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 39.8977V33.8977",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M32 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$N=Z("click",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M24 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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),m("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),m("path",{d:"M4 24H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),KN=Z("close",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qN=Z("close-one",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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)])}),JN=Z("close-small",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M14 14L34 34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 34L34 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),GN=Z("code",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M16 13L4 25.4322L16 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M32 13L44 25.4322L32 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M28 4L21 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),ZN=Z("color-filter",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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)])}),YN=Z("comment",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M14 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M34 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),XN=Z("connection",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M39 34L44 39L39 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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)])}),QN=Z("copy",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),eF=Z("delete",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M9 10V44H39V10H9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M20 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M28 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M4 10H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),tF=Z("down",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nF=Z("download",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 24.0083V42H42V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M33 23L24 32L15 23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M23.9917 6V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),rF=Z("edit",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M7 42H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),iF=Z("effects",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),oF=Z("erase",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M4 42H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),sF=Z("fill",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("path",{d:"M34 23L23 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M25 14L14 25",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M34 14L14 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 22V34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M22 14H34V26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lF=Z("flip-horizontally",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M4 34L16 12V34H4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M44 34H32V12L44 34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),aF=Z("flip-vertically",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M42 24L6 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 4L36 16H14V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 44V32H36L14 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),uF=Z("font-size",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M8 10.9333L8 6H40V10.9333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cF=Z("format",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("path",{d:"M16 32L16 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),fF=Z("format-brush",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M34 5H6V20H34V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),hF=Z("formula",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),dF=Z("full-screen",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),gF=Z("full-screen-one",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),pF=Z("full-screen-play",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),mF=Z("fullwidth",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),kF=Z("graphic-design",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M44 18H18V44H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),vF=Z("group",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M12 4H4V12H12V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M44 36H36V44H44V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 36H4V44H12V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M44 4H36V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M8 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M40 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 8H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),yF=Z("high-light",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 44L6 25H12V17H36V25H42V44H6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M17 17V8L31 4V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),wF=Z("indent-left",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 9H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M19 19H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M19 29H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M11 19L6 24L11 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M6 39H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_F=Z("indent-right",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M29 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M29 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M37 19L42 24L37 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bF=Z("info",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("path",{d:"M24.5 34V20H23.5H22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 34H28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),xF=Z("insert-table",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M18 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M30 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M6 18H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M6 30H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),CF=Z("left",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M31 36L19 24L31 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),LF=Z("left-two",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),SF=Z("link-cloud",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M13 33C9.66666 33 4 31.5 4 25.5C4 18.5 11 17 13 17C14 13.5 16 8 24 8C31 8 34 12 35 15.5C35 15.5 44 16.5 44 25C44 31 39 33 35 33H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M27 28L22 33L27 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),EF=Z("link-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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),m("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)])}),MF=Z("list",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M5 10L8 13L14 7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M5 24L8 27L14 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M5 38L8 41L14 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),AF=Z("list-view",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M20 24H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M20 32H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 24H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 32H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),TF=Z("lock",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),OF=Z("logout",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),RF=Z("magic",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),IF=Z("minus",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M10.5 24L38.5 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),jF=Z("more",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("circle",{cx:"12",cy:"24",r:"3",fill:e.colors[0]},null),m("circle",{cx:"24",cy:"24",r:"3",fill:e.colors[0]},null),m("circle",{cx:"36",cy:"24",r:"3",fill:e.colors[0]},null)])}),PF=Z("move-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),BF=Z("needle",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("g",{"clip-path":"url(#"+e.id+"3d50a8e2)"},[m("path",{d:"M39 23L25 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M43.9995 17L30.9995 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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),m("path",{d:"M11 37L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)]),m("defs",null,[m("clipPath",{id:e.id+"3d50a8e2"},[m("rect",{width:"48",height:"48",fill:e.colors[2]},null)])])])}),NF=Z("next",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),FF=Z("off-screen-one",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M32 7V16H41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16 7V16H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16 41V32H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M32 41V32H40.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),DF=Z("ordered-list",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M9 4V13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 27H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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),m("path",{d:"M11 38H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M9 4L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),WF=Z("pause",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M16 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M32 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),HF=Z("picture",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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)])}),zF=Z("platte",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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),m("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)])}),VF=Z("play-one",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),UF=Z("plus",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M24.0605 10L24.0239 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M10 24L38 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$F=Z("power",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M24 4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),KF=Z("ppt",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M4 8H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("path",{d:"M22 16L27 21L22 26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16 42L24 34L32 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qF=Z("preview-close",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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),m("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),m("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)])}),JF=Z("preview-open",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),GF=Z("quote",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),ZF=Z("radar-chart",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M23.9998 3L45.8741 18.8926L38 45H10L2.12549 18.8926L23.9998 3Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M38 45L31 37",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M10 45L17 37",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M2 19L12 22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M46 19L36 22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 3V13",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 13L30.0073 17.5706L36 22L31 37H17L12 22L17.9927 17.5706L24 13Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M7.59406 14.9194L2.12549 18.8926L4.09412 25.4194",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M8.03125 38.4731L9.99988 45H16.9999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M31 45H38L39.9685 38.4731",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M40.4053 14.9194L45.8738 18.8926L43.9053 25.4194",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M29.4684 6.97315L23.9998 3L18.5312 6.97315",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),YF=Z("right",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M19 12L31 24L19 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),XF=Z("right-two",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),QF=Z("rotate",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M12 24H42V42H12V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M6 8V17H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),eD=Z("round",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),tD=Z("row-height",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M16 35L10 41L4 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16 13L10 7L4 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M10 7V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M44 9H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M36 19H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M44 29H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M36 39H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nD=Z("search",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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)])}),rD=Z("send-to-back",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M14 21H5V5H21V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M32 27H43V43H27V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 32V14H32V32H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),iD=Z("sent-to-back",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M26 30H29.9971V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M26.0023 6H30V9.99785",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M6 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M30 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M15.9922 30H19.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),oD=Z("square",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),sD=Z("stopwatch-start",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M18 4H30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 19V27",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M32 27H24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 4V8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lD=Z("strikethrough",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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),m("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)])}),aD=Z("switch",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M42 19H5.99998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M30 7L42 19",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M6.79897 29H42.799",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M6.79895 29L18.799 41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),uD=Z("tailoring",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M12 4V36H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M20 12H36V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 12H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M36 44V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),cD=Z("text",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M16 19V16H32V19",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M22 34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 18L24 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fD=Z("text-bold",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),hD=Z("text-italic",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M20 6H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M12 42H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M29 5.95215L19 41.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),dD=Z("text-rotation-down",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M37 6V42L43 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),gD=Z("text-rotation-none",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M6 37H42L36 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),pD=Z("text-underline",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M8 44H40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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)])}),mD=Z("theme",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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)])}),kD=Z("transform",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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),m("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)])}),vD=Z("undo",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("path",{d:"M6 9V17H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yD=Z("ungroup",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("path",{d:"M11.2729 7.63623H24.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M24 40.3638H36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("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),m("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),m("path",{d:"M7.63672 11.2725V23.9997",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M40.3633 24V36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),wD=Z("unlock",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_D=Z("up",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bD=Z("user",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),xD=Z("vertical-spacing-between-items",!1,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("path",{d:"M8 6V12H40V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M14 24H34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),m("path",{d:"M8 42V36H40V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),CD=Z("video-two",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("path",{d:"M6 15H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M33 6L27 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),m("path",{d:"M21 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),LD=Z("volume-mute",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("rect",{opacity:"0.01",x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null),m("mask",{id:e.id+"603476ab",maskUnits:"userSpaceOnUse",x:"30",y:"18",width:"13",height:"13",style:{maskType:"alpha"}},[m("rect",{x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null)]),m("g",{mask:"url(#"+e.id+"603476ab)"},[m("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),m("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)]),m("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)])}),SD=Z("volume-notice",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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),m("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)])}),ED=Z("volume-small",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),MD=Z("write",!0,function(e){return m("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[m("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),m("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)])}),cy={IconPlayOne:VF,IconFullScreenPlay:pF,IconLock:TF,IconUnlock:wD,IconPpt:KF,IconFormat:cF,IconPicture:HF,IconFullScreen:dF,IconList:MF,IconOrderedList:DF,IconFlipVertically:aF,IconFlipHorizontally:lF,IconFontSize:uF,IconCode:GN,IconTextBold:fD,IconTextItalic:hD,IconTextUnderline:pD,IconStrikethrough:lD,IconEdit:rF,IconQuote:GF,IconBackgroundColor:RN,IconGroup:vF,IconUngroup:yD,IconBack:ON,IconNext:NF,IconFullwidth:mF,IconAlignTop:EN,IconAlignLeft:vN,IconAlignRight:yN,IconAlignBottom:mN,IconAlignVertically:MN,IconAlignHorizontally:kN,IconBringToFront:IN,IconSendToBack:rD,IconAlignTextLeft:xN,IconAlignTextRight:LN,IconAlignTextCenter:bN,IconAlignTextBoth:wN,IconRowHeight:tD,IconWrite:MD,IconInsertTable:xF,IconAddText:pN,IconFill:sF,IconTailoring:uD,IconEffects:iF,IconColorFilter:ZN,IconUp:_D,IconDown:tF,IconPlus:UF,IconMinus:IF,IconConnection:XN,IconBringToFrontOne:jN,IconSentToBack:iD,IconChartProportion:WN,IconChartHistogram:PN,IconChartHistogramOne:BN,IconChartLineArea:FN,IconChartRing:HN,IconChartScatter:zN,IconChartLine:NN,IconChartPie:DN,IconRadarChart:ZF,IconText:cD,IconRotate:QF,IconLeftTwo:LF,IconRightTwo:XF,IconPlatte:zF,IconClose:KN,IconCloseSmall:JN,IconUndo:vD,IconTransform:kD,IconClick:$N,IconTheme:mD,IconArrowCircleLeft:AN,IconGraphicDesign:kF,IconLogout:OF,IconErase:oF,IconClear:UN,IconAlignTextTopOne:SN,IconAlignTextBottomOne:_N,IconAlignTextMiddleOne:CN,IconPause:WF,IconVolumeMute:LD,IconVolumeNotice:SD,IconVolumeSmall:ED,IconVideoTwo:CD,IconFormula:hF,IconLinkOne:EF,IconFullScreenOne:gF,IconOffScreenOne:FF,IconPower:$F,IconListView:AF,IconMagic:RF,IconHighLight:yF,IconDownload:nF,IconIndentLeft:wF,IconIndentRight:_F,IconVerticalSpacingBetweenItems:xD,IconCopy:QN,IconDelete:eF,IconSquare:oD,IconRound:eD,IconNeedle:BF,IconTextRotationNone:gD,IconTextRotationDown:dD,IconFormatBrush:fF,IconPreviewOpen:JF,IconPreviewClose:qF,IconStopwatchStart:sD,IconSearch:nD,IconLeft:CF,IconRight:YF,IconMoveOne:PF,IconAttention:TN,IconCheckOne:VN,IconCloseOne:qN,IconInfo:bF,IconComment:YN,IconUser:bD,IconSwitch:aD,IconMore:jF,IconLinkCloud:SF},AD={install(e){for(const t of Object.keys(cy))e.component(t,cy[t])}},TD={class:"menu-content"},OD=["onClick"],RD={class:"text"},ID={key:0,class:"sub-text"},jD=mt({__name:"MenuContent",props:{menus:{},handleClickMenuItem:{type:Function}},setup(e){return(t,n)=>{const r=iw("menu-content",!0);return tt(),xt("ul",TD,[(tt(!0),xt(Dt,null,JE(t.menus,(i,o)=>(tt(),xt(Dt,{key:i.text||o},[i.hide?Fi("",!0):(tt(),xt("li",{key:0,class:En(["menu-item",{divider:i.divider,disable:i.disable}]),onClick:ql(l=>t.handleClickMenuItem(i),["stop"])},[i.divider?Fi("",!0):(tt(),xt("div",{key:0,class:En(["menu-item-content",{"has-children":i.children,"has-handler":i.handler}])},[yt("span",RD,Es(i.text),1),i.subText&&!i.children?(tt(),xt("span",ID,Es(i.subText),1)):Fi("",!0),i.children&&i.children.length?(tt(),ii(r,{key:1,class:"sub-menu",menus:i.children,handleClickMenuItem:t.handleClickMenuItem},null,8,["menus","handleClickMenuItem"])):Fi("",!0)],2))],10,OD))],64))),128))])}}}),PD=T3(jD,[["__scopeId","data-v-85158e25"]]),BD=mt({__name:"index",props:{axis:{},el:{},menus:{},removeContextmenu:{type:Function}},setup(e){const t=e,n=$e(()=>{const{x:c,y:h}=t.axis,d=t.menus.filter(L=>!(L.divider||L.hide)).length,g=t.menus.filter(L=>L.divider).length,v=180,w=d*30+g*11+5*2,k=document.body.clientWidth,_=document.body.clientHeight;return{left:k<=c+v?c-v:c,top:_<=h+w?h-w:h}}),r=i=>{i.disable||i.children&&!i.handler||(i.handler&&i.handler(t.el),t.removeContextmenu())};return(i,o)=>(tt(),xt(Dt,null,[yt("div",{class:"mask",onContextmenu:o[0]||(o[0]=ql(l=>i.removeContextmenu(),["prevent"])),onMousedown:o[1]||(o[1]=ql(l=>i.removeContextmenu(),["left"]))},null,32),yt("div",{class:"contextmenu",style:Us({left:n.value.left+"px",top:n.value.top+"px"}),onContextmenu:o[2]||(o[2]=ql(()=>{},["prevent"]))},[m(PD,{menus:i.menus,handleClickMenuItem:r},null,8,["menus"])],36)],64))}}),Ol="CTX_CONTEXTMENU_HANDLER",ND=(e,t,n)=>{t.stopPropagation(),t.preventDefault();const r=n.value(e);if(!r)return;let i=null;const o=()=>{i&&(document.body.removeChild(i),i=null),e.classList.remove("contextmenu-active"),document.body.removeEventListener("scroll",o),window.removeEventListener("resize",o)},l={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:o};i=document.createElement("div");const u=m(BD,l,null);Os(u,i),document.body.appendChild(i),e.classList.add("contextmenu-active"),document.body.addEventListener("scroll",o),window.addEventListener("resize",o)},FD={mounted(e,t){e[Ol]=n=>ND(e,n,t),e.addEventListener("contextmenu",e[Ol])},unmounted(e){e&&e[Ol]&&(e.removeEventListener("contextmenu",e[Ol]),delete e[Ol])}},Rl="CTX_CLICK_OUTSIDE_HANDLER",DD=(e,t,n)=>{const r=n.value,i=t.composedPath();(i?i.indexOf(e)<0:!e.contains(t.target))&&r(t)},WD={mounted(e,t){e[Rl]=n=>DD(e,n,t),setTimeout(()=>{document.addEventListener("click",e[Rl])},0)},unmounted(e){e[Rl]&&(document.removeEventListener("click",e[Rl]),delete e[Rl])}};var HD="tippy-box",i_="tippy-content",zD="tippy-backdrop",o_="tippy-arrow",s_="tippy-svg-arrow",co={passive:!0,capture:!0},l_=function(){return document.body};function Td(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function op(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function a_(e,t){return typeof e=="function"?e.apply(void 0,t):e}function fy(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function VD(e){return e.split(/\s+/).filter(Boolean)}function ds(e){return[].concat(e)}function hy(e,t){e.indexOf(t)===-1&&e.push(t)}function UD(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function $D(e){return e.split("-")[0]}function tf(e){return[].slice.call(e)}function dy(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function sa(){return document.createElement("div")}function Df(e){return["Element","Fragment"].some(function(t){return op(e,t)})}function KD(e){return op(e,"NodeList")}function qD(e){return op(e,"MouseEvent")}function JD(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function GD(e){return Df(e)?[e]:KD(e)?tf(e):Array.isArray(e)?e:tf(document.querySelectorAll(e))}function Od(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function gy(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function ZD(e){var t,n=ds(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function YD(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,l=i.popperState,u=i.props,c=u.interactiveBorder,h=$D(l.placement),d=l.modifiersData.offset;if(!d)return!0;var g=h==="bottom"?d.top.y:0,v=h==="top"?d.bottom.y:0,w=h==="right"?d.left.x:0,k=h==="left"?d.right.x:0,_=o.top-r+g>c,L=r-o.bottom-v>c,O=o.left-n+w>c,M=n-o.right-k>c;return _||L||O||M})}function Rd(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function py(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 Rr={isTouch:!1},my=0;function XD(){Rr.isTouch||(Rr.isTouch=!0,window.performance&&document.addEventListener("mousemove",u_))}function u_(){var e=performance.now();e-my<20&&(Rr.isTouch=!1,document.removeEventListener("mousemove",u_)),my=e}function QD(){var e=document.activeElement;if(JD(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function eW(){document.addEventListener("touchstart",XD,co),window.addEventListener("blur",QD)}var tW=typeof window<"u"&&typeof document<"u",nW=tW?!!window.msCrypto:!1,rW={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},iW={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},xr=Object.assign({appendTo:l_,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},rW,iW),oW=Object.keys(xr),sW=function(t){var n=Object.keys(t);n.forEach(function(r){xr[r]=t[r]})};function c_(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,l=i.defaultValue;if(o){var u;r[o]=e[o]!==void 0?e[o]:(u=xr[o])!=null?u:l}return r},{});return Object.assign({},e,n)}function lW(e,t){var n=t?Object.keys(c_(Object.assign({},xr,{plugins:t}))):oW,r=n.reduce(function(i,o){var l=(e.getAttribute("data-tippy-"+o)||"").trim();if(!l)return i;if(o==="content")i[o]=l;else try{i[o]=JSON.parse(l)}catch{i[o]=l}return i},{});return r}function ky(e,t){var n=Object.assign({},t,{content:a_(t.content,[e])},t.ignoreAttributes?{}:lW(e,t.plugins));return n.aria=Object.assign({},xr.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 aW=function(){return"innerHTML"};function Vg(e,t){e[aW()]=t}function vy(e){var t=sa();return e===!0?t.className=o_:(t.className=s_,Df(e)?t.appendChild(e):Vg(t,e)),t}function yy(e,t){Df(t.content)?(Vg(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Vg(e,t.content):e.textContent=t.content)}function Ug(e){var t=e.firstElementChild,n=tf(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(i_)}),arrow:n.find(function(r){return r.classList.contains(o_)||r.classList.contains(s_)}),backdrop:n.find(function(r){return r.classList.contains(zD)})}}function f_(e){var t=sa(),n=sa();n.className=HD,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=sa();r.className=i_,r.setAttribute("data-state","hidden"),yy(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,l){var u=Ug(t),c=u.box,h=u.content,d=u.arrow;l.theme?c.setAttribute("data-theme",l.theme):c.removeAttribute("data-theme"),typeof l.animation=="string"?c.setAttribute("data-animation",l.animation):c.removeAttribute("data-animation"),l.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof l.maxWidth=="number"?l.maxWidth+"px":l.maxWidth,l.role?c.setAttribute("role",l.role):c.removeAttribute("role"),(o.content!==l.content||o.allowHTML!==l.allowHTML)&&yy(h,e.props),l.arrow?d?o.arrow!==l.arrow&&(c.removeChild(d),c.appendChild(vy(l.arrow))):c.appendChild(vy(l.arrow)):d&&c.removeChild(d)}return{popper:t,onUpdate:i}}f_.$$tippy=!0;var uW=1,oc=[],Id=[];function cW(e,t){var n=ky(e,Object.assign({},xr,c_(dy(t)))),r,i,o,l=!1,u=!1,c=!1,h=!1,d,g,v,w=[],k=fy(R,n.interactiveDebounce),_,L=uW++,O=null,M=UD(n.plugins),x={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:L,reference:e,popper:sa(),popperInstance:O,props:n,state:x,plugins:M,clearDelayTimeouts:Te,setProps:je,setContent:Ze,show:Qe,hide:Et,hideWithInteractivity:Zt,enable:Ce,disable:ke,unmount:Zn,destroy:gi};if(!n.render)return y;var E=n.render(y),A=E.popper,j=E.onUpdate;A.setAttribute("data-tippy-root",""),A.id="tippy-"+y.id,y.popper=A,e._tippy=y,A._tippy=y;var N=M.map(function(K){return K.fn(y)}),B=e.hasAttribute("aria-expanded");return He(),lt(),te(),oe("onCreate",[y]),n.showOnCreate&&re(),A.addEventListener("mouseenter",function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),A.addEventListener("mouseleave",function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&pe().addEventListener("mousemove",k)}),y;function W(){var K=y.props.touch;return Array.isArray(K)?K:[K,0]}function J(){return W()[0]==="hold"}function V(){var K;return!!((K=y.props.render)!=null&&K.$$tippy)}function ee(){return _||e}function pe(){var K=ee().parentNode;return K?ZD(K):document}function ue(){return Ug(A)}function Q(K){return y.state.isMounted&&!y.state.isVisible||Rr.isTouch||d&&d.type==="focus"?0:Td(y.props.delay,K?0:1,xr.delay)}function te(K){K===void 0&&(K=!1),A.style.pointerEvents=y.props.interactive&&!K?"":"none",A.style.zIndex=""+y.props.zIndex}function oe(K,ve,be){if(be===void 0&&(be=!0),N.forEach(function(Je){Je[K]&&Je[K].apply(Je,ve)}),be){var Fe;(Fe=y.props)[K].apply(Fe,ve)}}function Ge(){var K=y.props.aria;if(K.content){var ve="aria-"+K.content,be=A.id,Fe=ds(y.props.triggerTarget||e);Fe.forEach(function(Je){var Yt=Je.getAttribute(ve);if(y.state.isVisible)Je.setAttribute(ve,Yt?Yt+" "+be:be);else{var wn=Yt&&Yt.replace(be,"").trim();wn?Je.setAttribute(ve,wn):Je.removeAttribute(ve)}})}}function lt(){if(!(B||!y.props.aria.expanded)){var K=ds(y.props.triggerTarget||e);K.forEach(function(ve){y.props.interactive?ve.setAttribute("aria-expanded",y.state.isVisible&&ve===ee()?"true":"false"):ve.removeAttribute("aria-expanded")})}}function Ke(){pe().removeEventListener("mousemove",k),oc=oc.filter(function(K){return K!==k})}function st(K){if(!(Rr.isTouch&&(c||K.type==="mousedown"))){var ve=K.composedPath&&K.composedPath()[0]||K.target;if(!(y.props.interactive&&py(A,ve))){if(ds(y.props.triggerTarget||e).some(function(be){return py(be,ve)})){if(Rr.isTouch||y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else oe("onClickOutside",[y,K]);y.props.hideOnClick===!0&&(y.clearDelayTimeouts(),y.hide(),u=!0,setTimeout(function(){u=!1}),y.state.isMounted||Be())}}}function wt(){c=!0}function Xe(){c=!1}function ct(){var K=pe();K.addEventListener("mousedown",st,!0),K.addEventListener("touchend",st,co),K.addEventListener("touchstart",Xe,co),K.addEventListener("touchmove",wt,co)}function Be(){var K=pe();K.removeEventListener("mousedown",st,!0),K.removeEventListener("touchend",st,co),K.removeEventListener("touchstart",Xe,co),K.removeEventListener("touchmove",wt,co)}function q(K,ve){ce(K,function(){!y.state.isVisible&&A.parentNode&&A.parentNode.contains(A)&&ve()})}function fe(K,ve){ce(K,ve)}function ce(K,ve){var be=ue().box;function Fe(Je){Je.target===be&&(Rd(be,"remove",Fe),ve())}if(K===0)return ve();Rd(be,"remove",g),Rd(be,"add",Fe),g=Fe}function me(K,ve,be){be===void 0&&(be=!1);var Fe=ds(y.props.triggerTarget||e);Fe.forEach(function(Je){Je.addEventListener(K,ve,be),w.push({node:Je,eventType:K,handler:ve,options:be})})}function He(){J()&&(me("touchstart",T,{passive:!0}),me("touchend",H,{passive:!0})),VD(y.props.trigger).forEach(function(K){if(K!=="manual")switch(me(K,T),K){case"mouseenter":me("mouseleave",H);break;case"focus":me(nW?"focusout":"blur",ne);break;case"focusin":me("focusout",ne);break}})}function ot(){w.forEach(function(K){var ve=K.node,be=K.eventType,Fe=K.handler,Je=K.options;ve.removeEventListener(be,Fe,Je)}),w=[]}function T(K){var ve,be=!1;if(!(!y.state.isEnabled||$(K)||u)){var Fe=((ve=d)==null?void 0:ve.type)==="focus";d=K,_=K.currentTarget,lt(),!y.state.isVisible&&qD(K)&&oc.forEach(function(Je){return Je(K)}),K.type==="click"&&(y.props.trigger.indexOf("mouseenter")<0||l)&&y.props.hideOnClick!==!1&&y.state.isVisible?be=!0:re(K),K.type==="click"&&(l=!be),be&&!Fe&&de(K)}}function R(K){var ve=K.target,be=ee().contains(ve)||A.contains(ve);if(!(K.type==="mousemove"&&be)){var Fe=le().concat(A).map(function(Je){var Yt,wn=Je._tippy,Hr=(Yt=wn.popperInstance)==null?void 0:Yt.state;return Hr?{popperRect:Je.getBoundingClientRect(),popperState:Hr,props:n}:null}).filter(Boolean);YD(Fe,K)&&(Ke(),de(K))}}function H(K){var ve=$(K)||y.props.trigger.indexOf("click")>=0&&l;if(!ve){if(y.props.interactive){y.hideWithInteractivity(K);return}de(K)}}function ne(K){y.props.trigger.indexOf("focusin")<0&&K.target!==ee()||y.props.interactive&&K.relatedTarget&&A.contains(K.relatedTarget)||de(K)}function $(K){return Rr.isTouch?J()!==K.type.indexOf("touch")>=0:!1}function se(){he();var K=y.props,ve=K.popperOptions,be=K.placement,Fe=K.offset,Je=K.getReferenceClientRect,Yt=K.moveTransition,wn=V()?Ug(A).arrow:null,Hr=Je?{getBoundingClientRect:Je,contextElement:Je.contextElement||ee()}:e,il={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ho){var pi=Ho.state;if(V()){var qa=ue(),sl=qa.box;["placement","reference-hidden","escaped"].forEach(function(zo){zo==="placement"?sl.setAttribute("data-placement",pi.placement):pi.attributes.popper["data-popper-"+zo]?sl.setAttribute("data-"+zo,""):sl.removeAttribute("data-"+zo)}),pi.attributes.popper={}}}},zr=[{name:"offset",options:{offset:Fe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Yt}},il];V()&&wn&&zr.push({name:"arrow",options:{element:wn,padding:3}}),zr.push.apply(zr,(ve==null?void 0:ve.modifiers)||[]),y.popperInstance=jj(Hr,A,Object.assign({},ve,{placement:be,onFirstUpdate:v,modifiers:zr}))}function he(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function ae(){var K=y.props.appendTo,ve,be=ee();y.props.interactive&&K===l_||K==="parent"?ve=be.parentNode:ve=a_(K,[be]),ve.contains(A)||ve.appendChild(A),y.state.isMounted=!0,se()}function le(){return tf(A.querySelectorAll("[data-tippy-root]"))}function re(K){y.clearDelayTimeouts(),K&&oe("onTrigger",[y,K]),ct();var ve=Q(!0),be=W(),Fe=be[0],Je=be[1];Rr.isTouch&&Fe==="hold"&&Je&&(ve=Je),ve?r=setTimeout(function(){y.show()},ve):y.show()}function de(K){if(y.clearDelayTimeouts(),oe("onUntrigger",[y,K]),!y.state.isVisible){Be();return}if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(K.type)>=0&&l)){var ve=Q(!1);ve?i=setTimeout(function(){y.state.isVisible&&y.hide()},ve):o=requestAnimationFrame(function(){y.hide()})}}function Ce(){y.state.isEnabled=!0}function ke(){y.hide(),y.state.isEnabled=!1}function Te(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function je(K){if(!y.state.isDestroyed){oe("onBeforeUpdate",[y,K]),ot();var ve=y.props,be=ky(e,Object.assign({},ve,dy(K),{ignoreAttributes:!0}));y.props=be,He(),ve.interactiveDebounce!==be.interactiveDebounce&&(Ke(),k=fy(R,be.interactiveDebounce)),ve.triggerTarget&&!be.triggerTarget?ds(ve.triggerTarget).forEach(function(Fe){Fe.removeAttribute("aria-expanded")}):be.triggerTarget&&e.removeAttribute("aria-expanded"),lt(),te(),j&&j(ve,be),y.popperInstance&&(se(),le().forEach(function(Fe){requestAnimationFrame(Fe._tippy.popperInstance.forceUpdate)})),oe("onAfterUpdate",[y,K])}}function Ze(K){y.setProps({content:K})}function Qe(){var K=y.state.isVisible,ve=y.state.isDestroyed,be=!y.state.isEnabled,Fe=Rr.isTouch&&!y.props.touch,Je=Td(y.props.duration,0,xr.duration);if(!(K||ve||be||Fe)&&!ee().hasAttribute("disabled")&&(oe("onShow",[y],!1),y.props.onShow(y)!==!1)){if(y.state.isVisible=!0,V()&&(A.style.visibility="visible"),te(),ct(),y.state.isMounted||(A.style.transition="none"),V()){var Yt=ue(),wn=Yt.box,Hr=Yt.content;Od([wn,Hr],0)}v=function(){var zr;if(!(!y.state.isVisible||h)){if(h=!0,A.offsetHeight,A.style.transition=y.props.moveTransition,V()&&y.props.animation){var ol=ue(),Ho=ol.box,pi=ol.content;Od([Ho,pi],Je),gy([Ho,pi],"visible")}Ge(),lt(),hy(Id,y),(zr=y.popperInstance)==null||zr.forceUpdate(),oe("onMount",[y]),y.props.animation&&V()&&fe(Je,function(){y.state.isShown=!0,oe("onShown",[y])})}},ae()}}function Et(){var K=!y.state.isVisible,ve=y.state.isDestroyed,be=!y.state.isEnabled,Fe=Td(y.props.duration,1,xr.duration);if(!(K||ve||be)&&(oe("onHide",[y],!1),y.props.onHide(y)!==!1)){if(y.state.isVisible=!1,y.state.isShown=!1,h=!1,l=!1,V()&&(A.style.visibility="hidden"),Ke(),Be(),te(!0),V()){var Je=ue(),Yt=Je.box,wn=Je.content;y.props.animation&&(Od([Yt,wn],Fe),gy([Yt,wn],"hidden"))}Ge(),lt(),y.props.animation?V()&&q(Fe,y.unmount):y.unmount()}}function Zt(K){pe().addEventListener("mousemove",k),hy(oc,k),k(K)}function Zn(){y.state.isVisible&&y.hide(),y.state.isMounted&&(he(),le().forEach(function(K){K._tippy.unmount()}),A.parentNode&&A.parentNode.removeChild(A),Id=Id.filter(function(K){return K!==y}),y.state.isMounted=!1,oe("onHidden",[y]))}function gi(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),ot(),delete e._tippy,y.state.isDestroyed=!0,oe("onDestroy",[y]))}}function $a(e,t){t===void 0&&(t={});var n=xr.plugins.concat(t.plugins||[]);eW();var r=Object.assign({},t,{plugins:n}),i=GD(e),o=i.reduce(function(l,u){var c=u&&cW(u,r);return c&&l.push(c),l},[]);return Df(e)?o[0]:o}$a.defaultProps=xr;$a.setDefaultProps=sW;$a.currentInput=Rr;Object.assign({},f3,{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)}});$a.setDefaultProps({render:f_});const Il="TOOLTIP_INSTANCE",fW={mounted(e,t){let n="",r="top",i=[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&&(i=t.value.delay)),e[Il]=$a(e,{content:n,theme:"tooltip",duration:100,animation:"scale",allowHTML:!0,placement:r,delay:i})},updated(e,t){let n="";typeof t.value=="string"?n=t.value:n=t.value.content,e[Il]&&e[Il].setContent(n)},unmounted(e){e[Il]&&e[Il].destroy()}},hW={install(e){e.directive("contextmenu",FD),e.directive("click-outside",WD),e.directive("tooltip",fW)}},Ka=A9(cN);Ka.use(AD);Ka.use(hW);Ka.use(I4);Ka.use(rl);Ka.mount("#app");export{My as $,TW as A,PE as B,tn as C,sH as D,Ey as E,Dt as F,N5 as G,Rw as H,m as I,CE as J,MW as K,EW as L,mt as M,g9 as N,IW as O,jW as P,NW as Q,la as R,Cs as S,$W as T,PW as U,m0 as V,RW as W,aH as X,BW as Y,tH as Z,pW as _,ew as a,wE as a$,Pn as a0,Gg as a1,o0 as a2,B5 as a3,mf as a4,Ks as a5,r5 as a6,M9 as a7,XW as a8,dH as a9,Ty as aA,zE as aB,a0 as aC,s0 as aD,tt as aE,LW as aF,Ul as aG,qy as aH,CW as aI,Fd as aJ,$s as aK,Qg as aL,Kt as aM,ZW as aN,Os as aO,JE as aP,gf as aQ,iw as aR,AW as aS,qE as aT,iH as aU,ha as aV,nk as aW,nH as aX,Eo as aY,uf as aZ,kW as a_,Gt as aa,V5 as ab,Uy as ac,ai as ad,So as ae,Bt as af,YW as ag,Ms as ah,ui as ai,e0 as aj,HW as ak,zW as al,Iw as am,qs as an,En as ao,gW as ap,Us as aq,NE as ar,WE as as,l0 as at,HE as au,FE as av,$E as aw,Js as ax,UE as ay,VE as az,xW as b,GH as b$,y5 as b0,rH as b1,mW as b2,Es as b3,sc as b4,OW as b5,it as b6,ME as b7,LE as b8,yW as b9,fH as bA,QW as bB,ql as bC,SW as bD,Qs as bE,Q4 as bF,F0 as bG,X4 as bH,s7 as bI,KR as bJ,FR as bK,Z4 as bL,MR as bM,W0 as bN,el as bO,M7 as bP,Wo as bQ,ZR as bR,Ns as bS,_I as bT,q7 as bU,Y7 as bV,V0 as bW,yE as bX,qH as bY,ZH as bZ,JH as b_,GW as ba,vW as bb,Pe as bc,WW as bd,uH as be,lH as bf,qW as bg,w5 as bh,DW as bi,Qy as bj,Jw as bk,x9 as bl,Gw as bm,b9 as bn,eg as bo,vf as bp,U5 as bq,$5 as br,lr as bs,KW as bt,_5 as bu,b5 as bv,UW as bw,ko as bx,FW as by,i0 as bz,eH as c,ur as c$,yn as c0,wI as c1,mR as c2,Me as c3,Sa as c4,Rf as c5,Bj as c6,Hi as c7,kI as c8,bI as c9,J7 as cA,G7 as cB,cs as cC,jA as cD,FH as cE,WH as cF,Jk as cG,Gk as cH,gs as cI,gH as cJ,tg as cK,HH as cL,Ht as cM,nN as cN,M3 as cO,Jv as cP,sz as cQ,T3 as cR,Ot as cS,Kn as cT,Tt as cU,Ee as cV,kH as cW,we as cX,C2 as cY,mH as cZ,ht as c_,kt as ca,rz as cb,tz as cc,ez as cd,bR as ce,qv as cf,rI as cg,Y0 as ch,dt as ci,z0 as cj,i3 as ck,eI as cl,YH as cm,oI as cn,xe as co,EI as cp,QH as cq,nz as cr,XH as cs,_y as ct,KH as cu,$H as cv,vI as cw,Nj as cx,Bv as cy,rt as cz,JW as d,wH as d0,_H as d1,Xl as d2,$9 as d3,wM as d4,qn as d5,hc as d6,_f as d7,bf as d8,MH as d9,NH as dA,Hk as dB,l2 as dC,$a as dD,r_ as dE,zH as dF,DH as dG,ov as dH,n_ as dI,PA as dJ,lz as dK,cz as dL,Gs as dM,I4 as dN,UH as dO,az as dP,uz as dQ,ao as dR,oN as dS,VH as dT,AI as dU,oz as dV,x3 as dW,fI as dX,iz as dY,_0 as da,bH as db,xH as dc,SH as dd,LH as de,ZM as df,GM as dg,qM as dh,AH as di,pH as dj,Dl as dk,TH as dl,oA as dm,PH as dn,OH as dp,RH as dq,BH as dr,md as ds,CH as dt,EH as du,IH as dv,jH as dw,Se as dx,cy as dy,LP as dz,yo as e,wW as f,kf as g,cH as h,_W as i,bW as j,sr as k,Vi as l,cn as m,of as n,ci as o,oH as p,$e as q,A9 as r,ii as s,Fi as t,xt as u,yt as v,k5 as w,VW as x,m5 as y,hH as z};
|