diff --git a/src/main/resources/static/comment-widget.iife.js b/src/main/resources/static/comment-widget.iife.js index 798ffa8..b231099 100644 --- a/src/main/resources/static/comment-widget.iife.js +++ b/src/main/resources/static/comment-widget.iife.js @@ -1,32 +1,24 @@ -var CommentWidget=function(Bc){"use strict";function ti(e,n){const i=Object.create(null),t=e.split(",");for(let r=0;r!!i[r.toLowerCase()]:r=>!!i[r]}const I6=ti("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),N6=ti("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function xp(e){return!!e||e===""}function Eo(e){if(ee(e)){const n={};for(let i=0;i{if(i){const t=i.split(j6);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),n}function Do(e){let n="";if(pe(e))n=e;else if(ee(e))for(let i=0;inr(i,n))}const Y6=e=>pe(e)?e:e==null?"":ee(e)||Le(e)&&(e.toString===Op||!ce(e.toString))?JSON.stringify(e,Tp,2):String(e),Tp=(e,n)=>n&&n.__v_isRef?Tp(e,n.value):aa(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((i,[t,r])=>(i[`${t} =>`]=r,i),{})}:Jr(n)?{[`Set(${n.size})`]:[...n.values()]}:Le(n)&&!ee(n)&&!Ip(n)?String(n):n,$e={},sa=[],Jn=()=>{},uf=()=>!1,G6=/^on[^a-z]/,Gr=e=>G6.test(e),xc=e=>e.startsWith("onUpdate:"),Te=Object.assign,$c=(e,n)=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)},J6=Object.prototype.hasOwnProperty,Ae=(e,n)=>J6.call(e,n),ee=Array.isArray,aa=e=>Co(e)==="[object Map]",Jr=e=>Co(e)==="[object Set]",Pp=e=>Co(e)==="[object Date]",ce=e=>typeof e=="function",pe=e=>typeof e=="string",ir=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",Tc=e=>Le(e)&&ce(e.then)&&ce(e.catch),Op=Object.prototype.toString,Co=e=>Op.call(e),Q6=e=>Co(e).slice(8,-1),Ip=e=>Co(e)==="[object Object]",Pc=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qr=ti(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Z6=ti("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ff=e=>{const n=Object.create(null);return i=>n[i]||(n[i]=e(i))},X6=/-(\w)/g,An=ff(e=>e.replace(X6,(n,i)=>i?i.toUpperCase():"")),e9=/\B([A-Z])/g,qi=ff(e=>e.replace(e9,"-$1").toLowerCase()),Zr=ff(e=>e.charAt(0).toUpperCase()+e.slice(1)),oa=ff(e=>e?`on${Zr(e)}`:""),ua=(e,n)=>!Object.is(e,n),fa=(e,n)=>{for(let i=0;i{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:i})},tr=e=>{const n=parseFloat(e);return isNaN(n)?e:n};let Np;const n9=()=>Np||(Np=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let mi;class Oc{constructor(n=!1){this.active=!0,this.effects=[],this.cleanups=[],!n&&mi&&(this.parent=mi,this.index=(mi.scopes||(mi.scopes=[])).push(this)-1)}run(n){if(this.active){const i=mi;try{return mi=this,n()}finally{mi=i}}}on(){mi=this}off(){mi=this.parent}stop(n){if(this.active){let i,t;for(i=0,t=this.effects.length;i{const n=new Set(e);return n.w=0,n.n=0,n},jp=e=>(e.w&rr)>0,Rp=e=>(e.n&rr)>0,s9=({deps:e})=>{if(e.length)for(let n=0;n{const{deps:n}=e;if(n.length){let i=0;for(let t=0;t{(f==="length"||f>=t)&&o.push(u)});else switch(i!==void 0&&o.push(a.get(i)),n){case"add":ee(e)?Pc(i)&&o.push(a.get("length")):(o.push(a.get(Xr)),aa(e)&&o.push(a.get(jc)));break;case"delete":ee(e)||(o.push(a.get(Xr)),aa(e)&&o.push(a.get(jc)));break;case"set":aa(e)&&o.push(a.get(Xr));break}if(o.length===1)o[0]&&Rc(o[0]);else{const u=[];for(const f of o)f&&u.push(...f);Rc(Ic(u))}}function Rc(e,n){const i=ee(e)?e:[...e];for(const t of i)t.computed&&Vp(t);for(const t of i)t.computed||Vp(t)}function Vp(e,n){(e!==Ki||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const f9=ti("__proto__,__v_isRef,__isVue"),Wp=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ir)),l9=df(),d9=df(!1,!0),c9=df(!0),h9=df(!0,!0),qp=m9();function m9(){const e={};return["includes","indexOf","lastIndexOf"].forEach(n=>{e[n]=function(...i){const t=Ee(this);for(let s=0,a=this.length;s{e[n]=function(...i){es();const t=Ee(this)[n].apply(this,i);return ns(),t}}),e}function df(e=!1,n=!1){return function(t,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return n;if(r==="__v_raw"&&s===(e?n?tF:iF:n?nF:eF).get(t))return t;const a=ee(t);if(!e&&a&&Ae(qp,r))return Reflect.get(qp,r,s);const o=Reflect.get(t,r,s);return(ir(r)?Wp.has(r):f9(r))||(e||pi(t,"get",r),n)?o:an(o)?a&&Pc(r)?o:o.value:Le(o)?e?Hc(o):yf(o):o}}const p9=Kp(),F9=Kp(!0);function Kp(e=!1){return function(i,t,r,s){let a=i[t];if(ts(a)&&an(a)&&!an(r))return!1;if(!e&&(!Mo(r)&&!ts(r)&&(a=Ee(a),r=Ee(r)),!ee(i)&&an(a)&&!an(r)))return a.value=r,!0;const o=ee(i)&&Pc(t)?Number(t)e,cf=e=>Reflect.getPrototypeOf(e);function hf(e,n,i=!1,t=!1){e=e.__v_raw;const r=Ee(e),s=Ee(n);i||(n!==s&&pi(r,"get",n),pi(r,"get",s));const{has:a}=cf(r),o=t?zc:i?Wc:Bo;if(a.call(r,n))return o(e.get(n));if(a.call(r,s))return o(e.get(s));e!==r&&e.get(n)}function mf(e,n=!1){const i=this.__v_raw,t=Ee(i),r=Ee(e);return n||(e!==r&&pi(t,"has",e),pi(t,"has",r)),e===r?i.has(e):i.has(e)||i.has(r)}function pf(e,n=!1){return e=e.__v_raw,!n&&pi(Ee(e),"iterate",Xr),Reflect.get(e,"size",e)}function Jp(e){e=Ee(e);const n=Ee(this);return cf(n).has.call(n,e)||(n.add(e),At(n,"add",e,e)),this}function Qp(e,n){n=Ee(n);const i=Ee(this),{has:t,get:r}=cf(i);let s=t.call(i,e);s||(e=Ee(e),s=t.call(i,e));const a=r.call(i,e);return i.set(e,n),s?ua(n,a)&&At(i,"set",e,n):At(i,"add",e,n),this}function Zp(e){const n=Ee(this),{has:i,get:t}=cf(n);let r=i.call(n,e);r||(e=Ee(e),r=i.call(n,e)),t&&t.call(n,e);const s=n.delete(e);return r&&At(n,"delete",e,void 0),s}function Xp(){const e=Ee(this),n=e.size!==0,i=e.clear();return n&&At(e,"clear",void 0,void 0),i}function Ff(e,n){return function(t,r){const s=this,a=s.__v_raw,o=Ee(a),u=n?zc:e?Wc:Bo;return!e&&pi(o,"iterate",Xr),a.forEach((f,l)=>t.call(r,u(f),u(l),s))}}function gf(e,n,i){return function(...t){const r=this.__v_raw,s=Ee(r),a=aa(s),o=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,f=r[e](...t),l=i?zc:n?Wc:Bo;return!n&&pi(s,"iterate",u?jc:Xr),{next(){const{value:d,done:c}=f.next();return c?{value:d,done:c}:{value:o?[l(d[0]),l(d[1])]:l(d),done:c}},[Symbol.iterator](){return this}}}}function ar(e){return function(...n){return e==="delete"?!1:this}}function b9(){const e={get(s){return hf(this,s)},get size(){return pf(this)},has:mf,add:Jp,set:Qp,delete:Zp,clear:Xp,forEach:Ff(!1,!1)},n={get(s){return hf(this,s,!1,!0)},get size(){return pf(this)},has:mf,add:Jp,set:Qp,delete:Zp,clear:Xp,forEach:Ff(!1,!0)},i={get(s){return hf(this,s,!0)},get size(){return pf(this,!0)},has(s){return mf.call(this,s,!0)},add:ar("add"),set:ar("set"),delete:ar("delete"),clear:ar("clear"),forEach:Ff(!0,!1)},t={get(s){return hf(this,s,!0,!0)},get size(){return pf(this,!0)},has(s){return mf.call(this,s,!0)},add:ar("add"),set:ar("set"),delete:ar("delete"),clear:ar("clear"),forEach:Ff(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=gf(s,!1,!1),i[s]=gf(s,!0,!1),n[s]=gf(s,!1,!0),t[s]=gf(s,!0,!0)}),[e,i,n,t]}const[_9,E9,D9,C9]=b9();function vf(e,n){const i=n?e?C9:D9:e?E9:_9;return(t,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?t:Reflect.get(Ae(i,r)&&r in t?i:t,r,s)}const S9={get:vf(!1,!1)},A9={get:vf(!1,!0)},M9={get:vf(!0,!1)},B9={get:vf(!0,!0)},eF=new WeakMap,nF=new WeakMap,iF=new WeakMap,tF=new WeakMap;function x9(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $9(e){return e.__v_skip||!Object.isExtensible(e)?0:x9(Q6(e))}function yf(e){return ts(e)?e:kf(e,!1,Yp,S9,eF)}function rF(e){return kf(e,!1,k9,A9,nF)}function Hc(e){return kf(e,!0,Gp,M9,iF)}function T9(e){return kf(e,!0,w9,B9,tF)}function kf(e,n,i,t,r){if(!Le(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const a=$9(e);if(a===0)return e;const o=new Proxy(e,a===2?t:i);return r.set(e,o),o}function is(e){return ts(e)?is(e.__v_raw):!!(e&&e.__v_isReactive)}function ts(e){return!!(e&&e.__v_isReadonly)}function Mo(e){return!!(e&&e.__v_isShallow)}function Uc(e){return is(e)||ts(e)}function Ee(e){const n=e&&e.__v_raw;return n?Ee(n):e}function Vc(e){return lf(e,"__v_skip",!0),e}const Bo=e=>Le(e)?yf(e):e,Wc=e=>Le(e)?Hc(e):e;function qc(e){sr&&Ki&&(e=Ee(e),Up(e.dep||(e.dep=Ic())))}function wf(e,n){e=Ee(e),e.dep&&Rc(e.dep)}function an(e){return!!(e&&e.__v_isRef===!0)}function bf(e){return sF(e,!1)}function P9(e){return sF(e,!0)}function sF(e,n){return an(e)?e:new O9(e,n)}class O9{constructor(n,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?n:Ee(n),this._value=i?n:Bo(n)}get value(){return qc(this),this._value}set value(n){const i=this.__v_isShallow||Mo(n)||ts(n);n=i?n:Ee(n),ua(n,this._rawValue)&&(this._rawValue=n,this._value=i?n:Bo(n),wf(this))}}function I9(e){wf(e)}function aF(e){return an(e)?e.value:e}const N9={get:(e,n,i)=>aF(Reflect.get(e,n,i)),set:(e,n,i,t)=>{const r=e[n];return an(r)&&!an(i)?(r.value=i,!0):Reflect.set(e,n,i,t)}};function Kc(e){return is(e)?e:new Proxy(e,N9)}class L9{constructor(n){this.dep=void 0,this.__v_isRef=!0;const{get:i,set:t}=n(()=>qc(this),()=>wf(this));this._get=i,this._set=t}get value(){return this._get()}set value(n){this._set(n)}}function j9(e){return new L9(e)}function R9(e){const n=ee(e)?new Array(e.length):{};for(const i in e)n[i]=oF(e,i);return n}class z9{constructor(n,i,t){this._object=n,this._key=i,this._defaultValue=t,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}}function oF(e,n,i){const t=e[n];return an(t)?t:new z9(e,n,i)}var uF;class H9{constructor(n,i,t,r){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this[uF]=!1,this._dirty=!0,this.effect=new Ao(n,()=>{this._dirty||(this._dirty=!0,wf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=t}get value(){const n=Ee(this);return qc(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}uF="__v_isReadonly";function U9(e,n,i=!1){let t,r;const s=ce(e);return s?(t=e,r=Jn):(t=e.get,r=e.set),new H9(t,r,s||!r,i)}const xo=[];function fF(e,...n){es();const i=xo.length?xo[xo.length-1].component:null,t=i&&i.appContext.config.warnHandler,r=V9();if(t)st(t,i,11,[e+n.join(""),i&&i.proxy,r.map(({vnode:s})=>`at <${hg(i,s.type)}>`).join(` -`),r]);else{const s=[`[Vue warn]: ${e}`,...n];r.length&&s.push(` -`,...W9(r)),console.warn(...s)}ns()}function V9(){let e=xo[xo.length-1];if(!e)return[];const n=[];for(;e;){const i=n[0];i&&i.vnode===e?i.recurseCount++:n.push({vnode:e,recurseCount:0});const t=e.component&&e.component.parent;e=t&&t.vnode}return n}function W9(e){const n=[];return e.forEach((i,t)=>{n.push(...t===0?[]:[` -`],...q9(i))}),n}function q9({vnode:e,recurseCount:n}){const i=n>0?`... (${n} recursive calls)`:"",t=e.component?e.component.parent==null:!1,r=` at <${hg(e.component,e.type,t)}`,s=">"+i;return e.props?[r,...K9(e.props),s]:[r+s]}function K9(e){const n=[],i=Object.keys(e);return i.slice(0,3).forEach(t=>{n.push(...lF(t,e[t]))}),i.length>3&&n.push(" ..."),n}function lF(e,n,i){return pe(n)?(n=JSON.stringify(n),i?n:[`${e}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?i?n:[`${e}=${n}`]:an(n)?(n=lF(e,Ee(n.value),!0),i?n:[`${e}=Ref<`,n,">"]):ce(n)?[`${e}=fn${n.name?`<${n.name}>`:""}`]:(n=Ee(n),i?n:[`${e}=`,n])}function st(e,n,i,t){let r;try{r=t?e(...t):e()}catch(s){rs(s,n,i)}return r}function Fi(e,n,i,t){if(ce(e)){const s=st(e,n,i,t);return s&&Tc(s)&&s.catch(a=>{rs(a,n,i)}),s}const r=[];for(let s=0;s>>1;To(Mn[t])at&&Mn.splice(n,1)}function Qc(e){ee(e)?la.push(...e):(!Mt||!Mt.includes(e,e.allowRecurse?ss+1:ss))&&la.push(e),cF()}function hF(e,n=$o?at+1:0){for(;nTo(i)-To(t)),ss=0;sse.id==null?1/0:e.id,Q9=(e,n)=>{const i=To(e)-To(n);if(i===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return i};function mF(e){Yc=!1,$o=!0,Mn.sort(Q9);const n=Jn;try{for(at=0;atda.emit(r,...s)),Df=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((t=(i=window.navigator)===null||i===void 0?void 0:i.userAgent)===null||t===void 0)&&t.includes("jsdom"))?((n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{pF(s,n)}),setTimeout(()=>{da||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Df=[])},3e3)):Df=[]}function Z9(e,n,...i){if(e.isUnmounted)return;const t=e.vnode.props||$e;let r=i;const s=n.startsWith("update:"),a=s&&n.slice(7);if(a&&a in t){const l=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:c}=t[l]||$e;c&&(r=i.map(h=>h.trim())),d&&(r=i.map(tr))}let o,u=t[o=oa(n)]||t[o=oa(An(n))];!u&&s&&(u=t[o=oa(qi(n))]),u&&Fi(u,e,6,r);const f=t[o+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Fi(f,e,6,r)}}function FF(e,n,i=!1){const t=n.emitsCache,r=t.get(e);if(r!==void 0)return r;const s=e.emits;let a={},o=!1;if(!ce(e)){const u=f=>{const l=FF(f,n,!0);l&&(o=!0,Te(a,l))};!i&&n.mixins.length&&n.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!o?(Le(e)&&t.set(e,null),null):(ee(s)?s.forEach(u=>a[u]=null):Te(a,s),Le(e)&&t.set(e,a),a)}function Cf(e,n){return!e||!Gr(n)?!1:(n=n.slice(2).replace(/Once$/,""),Ae(e,n[0].toLowerCase()+n.slice(1))||Ae(e,qi(n))||Ae(e,n))}let Bn=null,Sf=null;function Po(e){const n=Bn;return Bn=e,Sf=e&&e.type.__scopeId||null,n}function X9(e){Sf=e}function eE(){Sf=null}const nE=e=>Zc;function Zc(e,n=Bn,i){if(!n||e._n)return e;const t=(...r)=>{t._d&&y1(-1);const s=Po(n),a=e(...r);return Po(s),t._d&&y1(1),a};return t._n=!0,t._c=!0,t._d=!0,t}function $z(){}function Af(e){const{type:n,vnode:i,proxy:t,withProxy:r,props:s,propsOptions:[a],slots:o,attrs:u,emit:f,render:l,renderCache:d,data:c,setupState:h,ctx:F,inheritAttrs:v}=e;let y,p;const m=Po(e);try{if(i.shapeFlag&4){const w=r||t;y=gi(l.call(w,w,d,s,h,c,F)),p=u}else{const w=n;y=gi(w.length>1?w(s,{attrs:u,slots:o,emit:f}):w(s,null)),p=n.props?u:tE(u)}}catch(w){Uo.length=0,rs(w,e,1),y=Ue(xn)}let k=y;if(p&&v!==!1){const w=Object.keys(p),{shapeFlag:D}=k;w.length&&D&7&&(a&&w.some(xc)&&(p=rE(p,a)),k=ft(k,p))}return i.dirs&&(k=ft(k),k.dirs=k.dirs?k.dirs.concat(i.dirs):i.dirs),i.transition&&(k.transition=i.transition),y=k,Po(m),y}function iE(e){let n;for(let i=0;i{let n;for(const i in e)(i==="class"||i==="style"||Gr(i))&&((n||(n={}))[i]=e[i]);return n},rE=(e,n)=>{const i={};for(const t in e)(!xc(t)||!(t.slice(9)in n))&&(i[t]=e[t]);return i};function sE(e,n,i){const{props:t,children:r,component:s}=e,{props:a,children:o,patchFlag:u}=n,f=s.emitsOptions;if(n.dirs||n.transition)return!0;if(i&&u>=0){if(u&1024)return!0;if(u&16)return t?gF(t,a,f):!!a;if(u&8){const l=n.dynamicProps;for(let d=0;de.__isSuspense,aE={name:"Suspense",__isSuspense:!0,process(e,n,i,t,r,s,a,o,u,f){e==null?oE(n,i,t,r,s,a,o,u,f):uE(e,n,i,t,r,a,o,u,f)},hydrate:fE,create:e1,normalize:lE};function Oo(e,n){const i=e.props&&e.props[n];ce(i)&&i()}function oE(e,n,i,t,r,s,a,o,u){const{p:f,o:{createElement:l}}=u,d=l("div"),c=e.suspense=e1(e,r,t,n,d,i,s,a,o,u);f(null,c.pendingBranch=e.ssContent,d,null,t,c,s,a),c.deps>0?(Oo(e,"onPending"),Oo(e,"onFallback"),f(null,e.ssFallback,n,i,t,null,s,a),ca(c,e.ssFallback)):c.resolve()}function uE(e,n,i,t,r,s,a,o,{p:u,um:f,o:{createElement:l}}){const d=n.suspense=e.suspense;d.vnode=n,n.el=e.el;const c=n.ssContent,h=n.ssFallback,{activeBranch:F,pendingBranch:v,isInFallback:y,isHydrating:p}=d;if(v)d.pendingBranch=c,ut(c,v)?(u(v,c,d.hiddenContainer,null,r,d,s,a,o),d.deps<=0?d.resolve():y&&(u(F,h,i,t,r,null,s,a,o),ca(d,h))):(d.pendingId++,p?(d.isHydrating=!1,d.activeBranch=v):f(v,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=l("div"),y?(u(null,c,d.hiddenContainer,null,r,d,s,a,o),d.deps<=0?d.resolve():(u(F,h,i,t,r,null,s,a,o),ca(d,h))):F&&ut(c,F)?(u(F,c,i,t,r,d,s,a,o),d.resolve(!0)):(u(null,c,d.hiddenContainer,null,r,d,s,a,o),d.deps<=0&&d.resolve()));else if(F&&ut(c,F))u(F,c,i,t,r,d,s,a,o),ca(d,c);else if(Oo(n,"onPending"),d.pendingBranch=c,d.pendingId++,u(null,c,d.hiddenContainer,null,r,d,s,a,o),d.deps<=0)d.resolve();else{const{timeout:m,pendingId:k}=d;m>0?setTimeout(()=>{d.pendingId===k&&d.fallback(h)},m):m===0&&d.fallback(h)}}function e1(e,n,i,t,r,s,a,o,u,f,l=!1){const{p:d,m:c,um:h,n:F,o:{parentNode:v,remove:y}}=f,p=tr(e.props&&e.props.timeout),m={vnode:e,parent:n,parentComponent:i,isSVG:a,container:t,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:l,isUnmounted:!1,effects:[],resolve(k=!1){const{vnode:w,activeBranch:D,pendingBranch:E,pendingId:C,effects:b,parentComponent:S,container:A}=m;if(m.isHydrating)m.isHydrating=!1;else if(!k){const z=D&&E.transition&&E.transition.mode==="out-in";z&&(D.transition.afterLeave=()=>{C===m.pendingId&&c(E,A,I,0)});let{anchor:I}=m;D&&(I=F(D),h(D,S,m,!0)),z||c(E,A,I,0)}ca(m,E),m.pendingBranch=null,m.isInFallback=!1;let T=m.parent,$=!1;for(;T;){if(T.pendingBranch){T.effects.push(...b),$=!0;break}T=T.parent}$||Qc(b),m.effects=[],Oo(w,"onResolve")},fallback(k){if(!m.pendingBranch)return;const{vnode:w,activeBranch:D,parentComponent:E,container:C,isSVG:b}=m;Oo(w,"onFallback");const S=F(D),A=()=>{!m.isInFallback||(d(null,k,C,S,E,null,b,o,u),ca(m,k))},T=k.transition&&k.transition.mode==="out-in";T&&(D.transition.afterLeave=A),m.isInFallback=!0,h(D,E,null,!0),T||A()},move(k,w,D){m.activeBranch&&c(m.activeBranch,k,w,D),m.container=k},next(){return m.activeBranch&&F(m.activeBranch)},registerDep(k,w){const D=!!m.pendingBranch;D&&m.deps++;const E=k.vnode.el;k.asyncDep.catch(C=>{rs(C,k,0)}).then(C=>{if(k.isUnmounted||m.isUnmounted||m.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:b}=k;E1(k,C,!1),E&&(b.el=E);const S=!E&&k.subTree.el;w(k,b,v(E||k.subTree.el),E?null:F(k.subTree),m,a,u),S&&y(S),Xc(k,b.el),D&&--m.deps===0&&m.resolve()})},unmount(k,w){m.isUnmounted=!0,m.activeBranch&&h(m.activeBranch,i,k,w),m.pendingBranch&&h(m.pendingBranch,i,k,w)}};return m}function fE(e,n,i,t,r,s,a,o,u){const f=n.suspense=e1(n,t,i,e.parentNode,document.createElement("div"),null,r,s,a,o,!0),l=u(e,f.pendingBranch=n.ssContent,i,f,s,a);return f.deps===0&&f.resolve(),l}function lE(e){const{shapeFlag:n,children:i}=e,t=n&32;e.ssContent=yF(t?i.default:i),e.ssFallback=t?yF(i.fallback):Ue(xn)}function yF(e){let n;if(ce(e)){const i=cs&&e._c;i&&(e._d=!1,Rf()),e=e(),i&&(e._d=!0,n=ri,ig())}return ee(e)&&(e=iE(e)),e=gi(e),n&&!e.dynamicChildren&&(e.dynamicChildren=n.filter(i=>i!==e)),e}function kF(e,n){n&&n.pendingBranch?ee(e)?n.effects.push(...e):n.effects.push(e):Qc(e)}function ca(e,n){e.activeBranch=n;const{vnode:i,parentComponent:t}=e,r=i.el=n.el;t&&t.subTree===i&&(t.vnode.el=r,Xc(t,r))}function wF(e,n){if(on){let i=on.provides;const t=on.parent&&on.parent.provides;t===i&&(i=on.provides=Object.create(t)),i[e]=n}}function Io(e,n,i=!1){const t=on||Bn;if(t){const r=t.parent==null?t.vnode.appContext&&t.vnode.appContext.provides:t.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return i&&ce(n)?n.call(t.proxy):n}}function dE(e,n){return Lo(e,null,n)}function bF(e,n){return Lo(e,null,{flush:"post"})}function cE(e,n){return Lo(e,null,{flush:"sync"})}const _F={};function No(e,n,i){return Lo(e,n,i)}function Lo(e,n,{immediate:i,deep:t,flush:r,onTrack:s,onTrigger:a}=$e){const o=on;let u,f=!1,l=!1;if(an(e)?(u=()=>e.value,f=Mo(e)):is(e)?(u=()=>e,t=!0):ee(e)?(l=!0,f=e.some(p=>is(p)||Mo(p)),u=()=>e.map(p=>{if(an(p))return p.value;if(is(p))return as(p);if(ce(p))return st(p,o,2)})):ce(e)?n?u=()=>st(e,o,2):u=()=>{if(!(o&&o.isUnmounted))return d&&d(),Fi(e,o,3,[c])}:u=Jn,n&&t){const p=u;u=()=>as(p())}let d,c=p=>{d=y.onStop=()=>{st(p,o,4)}};if(pa)return c=Jn,n?i&&Fi(n,o,3,[u(),l?[]:void 0,c]):u(),Jn;let h=l?[]:_F;const F=()=>{if(!!y.active)if(n){const p=y.run();(t||f||(l?p.some((m,k)=>ua(m,h[k])):ua(p,h)))&&(d&&d(),Fi(n,o,3,[p,h===_F?void 0:h,c]),h=p)}else y.run()};F.allowRecurse=!!n;let v;r==="sync"?v=F:r==="post"?v=()=>yn(F,o&&o.suspense):(F.pre=!0,o&&(F.id=o.uid),v=()=>_f(F));const y=new Ao(u,v);return n?i?F():h=y.run():r==="post"?yn(y.run.bind(y),o&&o.suspense):y.run(),()=>{y.stop(),o&&o.scope&&$c(o.scope.effects,y)}}function hE(e,n,i){const t=this.proxy,r=pe(e)?e.includes(".")?EF(t,e):()=>t[e]:e.bind(t,t);let s;ce(n)?s=n:(s=n.handler,i=n);const a=on;dr(this);const o=Lo(r,s.bind(t),i);return a?dr(a):cr(),o}function EF(e,n){const i=n.split(".");return()=>{let t=e;for(let r=0;r{as(i,n)});else if(Ip(e))for(const i in e)as(e[i],n);return e}function n1(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return zo(()=>{e.isMounted=!0}),$f(()=>{e.isUnmounting=!0}),e}const Ti=[Function,Array],i1={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ti,onEnter:Ti,onAfterEnter:Ti,onEnterCancelled:Ti,onBeforeLeave:Ti,onLeave:Ti,onAfterLeave:Ti,onLeaveCancelled:Ti,onBeforeAppear:Ti,onAppear:Ti,onAfterAppear:Ti,onAppearCancelled:Ti},setup(e,{slots:n}){const i=lr(),t=n1();let r;return()=>{const s=n.default&&Mf(n.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){for(const v of s)if(v.type!==xn){a=v;break}}const o=Ee(e),{mode:u}=o;if(t.isLeaving)return t1(a);const f=CF(a);if(!f)return t1(a);const l=ha(f,o,t,i);os(f,l);const d=i.subTree,c=d&&CF(d);let h=!1;const{getTransitionKey:F}=f.type;if(F){const v=F();r===void 0?r=v:v!==r&&(r=v,h=!0)}if(c&&c.type!==xn&&(!ut(f,c)||h)){const v=ha(c,o,t,i);if(os(c,v),u==="out-in")return t.isLeaving=!0,v.afterLeave=()=>{t.isLeaving=!1,i.update()},t1(a);u==="in-out"&&f.type!==xn&&(v.delayLeave=(y,p,m)=>{const k=DF(t,c);k[String(c.key)]=c,y._leaveCb=()=>{p(),y._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=m})}return a}}};function DF(e,n){const{leavingVNodes:i}=e;let t=i.get(n.type);return t||(t=Object.create(null),i.set(n.type,t)),t}function ha(e,n,i,t){const{appear:r,mode:s,persisted:a=!1,onBeforeEnter:o,onEnter:u,onAfterEnter:f,onEnterCancelled:l,onBeforeLeave:d,onLeave:c,onAfterLeave:h,onLeaveCancelled:F,onBeforeAppear:v,onAppear:y,onAfterAppear:p,onAppearCancelled:m}=n,k=String(e.key),w=DF(i,e),D=(b,S)=>{b&&Fi(b,t,9,S)},E=(b,S)=>{const A=S[1];D(b,S),ee(b)?b.every(T=>T.length<=1)&&A():b.length<=1&&A()},C={mode:s,persisted:a,beforeEnter(b){let S=o;if(!i.isMounted)if(r)S=v||o;else return;b._leaveCb&&b._leaveCb(!0);const A=w[k];A&&ut(e,A)&&A.el._leaveCb&&A.el._leaveCb(),D(S,[b])},enter(b){let S=u,A=f,T=l;if(!i.isMounted)if(r)S=y||u,A=p||f,T=m||l;else return;let $=!1;const z=b._enterCb=I=>{$||($=!0,I?D(T,[b]):D(A,[b]),C.delayedLeave&&C.delayedLeave(),b._enterCb=void 0)};S?E(S,[b,z]):z()},leave(b,S){const A=String(e.key);if(b._enterCb&&b._enterCb(!0),i.isUnmounting)return S();D(d,[b]);let T=!1;const $=b._leaveCb=z=>{T||(T=!0,S(),z?D(F,[b]):D(h,[b]),b._leaveCb=void 0,w[A]===e&&delete w[A])};w[A]=e,c?E(c,[b,$]):$()},clone(b){return ha(b,n,i,t)}};return C}function t1(e){if(jo(e))return e=ft(e),e.children=null,e}function CF(e){return jo(e)?e.children?e.children[0]:void 0:e}function os(e,n){e.shapeFlag&6&&e.component?os(e.component.subTree,n):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function Mf(e,n=!1,i){let t=[],r=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader;function mE(e){ce(e)&&(e={loader:e});const{loader:n,loadingComponent:i,errorComponent:t,delay:r=200,timeout:s,suspensible:a=!0,onError:o}=e;let u=null,f,l=0;const d=()=>(l++,u=null,c()),c=()=>{let h;return u||(h=u=n().catch(F=>{if(F=F instanceof Error?F:new Error(String(F)),o)return new Promise((v,y)=>{o(F,()=>v(d()),()=>y(F),l+1)});throw F}).then(F=>h!==u&&u?u:(F&&(F.__esModule||F[Symbol.toStringTag]==="Module")&&(F=F.default),f=F,F)))};return r1({name:"AsyncComponentWrapper",__asyncLoader:c,get __asyncResolved(){return f},setup(){const h=on;if(f)return()=>s1(f,h);const F=m=>{u=null,rs(m,h,13,!t)};if(a&&h.suspense||pa)return c().then(m=>()=>s1(m,h)).catch(m=>(F(m),()=>t?Ue(t,{error:m}):null));const v=bf(!1),y=bf(),p=bf(!!r);return r&&setTimeout(()=>{p.value=!1},r),s!=null&&setTimeout(()=>{if(!v.value&&!y.value){const m=new Error(`Async component timed out after ${s}ms.`);F(m),y.value=m}},s),c().then(()=>{v.value=!0,h.parent&&jo(h.parent.vnode)&&_f(h.parent.update)}).catch(m=>{F(m),y.value=m}),()=>{if(v.value&&f)return s1(f,h);if(y.value&&t)return Ue(t,{error:y.value});if(i&&!p.value)return Ue(i)}}})}function s1(e,{vnode:{ref:n,props:i,children:t,shapeFlag:r},parent:s}){const a=Ue(e,i,t);return a.ref=n,a}const jo=e=>e.type.__isKeepAlive,pE={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:n}){const i=lr(),t=i.ctx;if(!t.renderer)return()=>{const m=n.default&&n.default();return m&&m.length===1?m[0]:m};const r=new Map,s=new Set;let a=null;const o=i.suspense,{renderer:{p:u,m:f,um:l,o:{createElement:d}}}=t,c=d("div");t.activate=(m,k,w,D,E)=>{const C=m.component;f(m,k,w,0,o),u(C.vnode,m,k,w,C,o,D,m.slotScopeIds,E),yn(()=>{C.isDeactivated=!1,C.a&&fa(C.a);const b=m.props&&m.props.onVnodeMounted;b&&si(b,C.parent,m)},o)},t.deactivate=m=>{const k=m.component;f(m,c,null,1,o),yn(()=>{k.da&&fa(k.da);const w=m.props&&m.props.onVnodeUnmounted;w&&si(w,k.parent,m),k.isDeactivated=!0},o)};function h(m){a1(m),l(m,i,o,!0)}function F(m){r.forEach((k,w)=>{const D=Wf(k.type);D&&(!m||!m(D))&&v(w)})}function v(m){const k=r.get(m);!a||k.type!==a.type?h(k):a&&a1(a),r.delete(m),s.delete(m)}No(()=>[e.include,e.exclude],([m,k])=>{m&&F(w=>Ro(m,w)),k&&F(w=>!Ro(k,w))},{flush:"post",deep:!0});let y=null;const p=()=>{y!=null&&r.set(y,o1(i.subTree))};return zo(p),xf(p),$f(()=>{r.forEach(m=>{const{subTree:k,suspense:w}=i,D=o1(k);if(m.type===D.type){a1(D);const E=D.component.da;E&&yn(E,w);return}h(m)})}),()=>{if(y=null,!n.default)return null;const m=n.default(),k=m[0];if(m.length>1)return a=null,m;if(!ur(k)||!(k.shapeFlag&4)&&!(k.shapeFlag&128))return a=null,k;let w=o1(k);const D=w.type,E=Wf(us(w)?w.type.__asyncResolved||{}:D),{include:C,exclude:b,max:S}=e;if(C&&(!E||!Ro(C,E))||b&&E&&Ro(b,E))return a=w,k;const A=w.key==null?D:w.key,T=r.get(A);return w.el&&(w=ft(w),k.shapeFlag&128&&(k.ssContent=w)),y=A,T?(w.el=T.el,w.component=T.component,w.transition&&os(w,w.transition),w.shapeFlag|=512,s.delete(A),s.add(A)):(s.add(A),S&&s.size>parseInt(S,10)&&v(s.values().next().value)),w.shapeFlag|=256,a=w,vF(k.type)?k:w}}};function Ro(e,n){return ee(e)?e.some(i=>Ro(i,n)):pe(e)?e.split(",").includes(n):e.test?e.test(n):!1}function SF(e,n){MF(e,"a",n)}function AF(e,n){MF(e,"da",n)}function MF(e,n,i=on){const t=e.__wdc||(e.__wdc=()=>{let r=i;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Bf(n,t,i),i){let r=i.parent;for(;r&&r.parent;)jo(r.parent.vnode)&&FE(t,n,i,r),r=r.parent}}function FE(e,n,i,t){const r=Bf(n,e,t,!0);Tf(()=>{$c(t[n],r)},i)}function a1(e){let n=e.shapeFlag;n&256&&(n-=256),n&512&&(n-=512),e.shapeFlag=n}function o1(e){return e.shapeFlag&128?e.ssContent:e}function Bf(e,n,i=on,t=!1){if(i){const r=i[e]||(i[e]=[]),s=n.__weh||(n.__weh=(...a)=>{if(i.isUnmounted)return;es(),dr(i);const o=Fi(n,i,e,a);return cr(),ns(),o});return t?r.unshift(s):r.push(s),s}}const Bt=e=>(n,i=on)=>(!pa||e==="sp")&&Bf(e,n,i),BF=Bt("bm"),zo=Bt("m"),xF=Bt("bu"),xf=Bt("u"),$f=Bt("bum"),Tf=Bt("um"),$F=Bt("sp"),TF=Bt("rtg"),PF=Bt("rtc");function OF(e,n=on){Bf("ec",e,n)}function gE(e,n){const i=Bn;if(i===null)return e;const t=Vf(i)||i.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;sn(a,o,void 0,s&&s[o]));else{const a=Object.keys(e);r=new Array(a.length);for(let o=0,u=a.length;o{const s=t.fn(...r);return s.key=t.key,s}:t.fn)}return e}function EE(e,n,i={},t,r){if(Bn.isCE||Bn.parent&&us(Bn.parent)&&Bn.parent.isCE)return Ue("slot",n==="default"?null:{name:n},t&&t());let s=e[n];s&&s._c&&(s._d=!1),Rf();const a=s&&LF(s(i)),o=k1(kn,{key:i.key||a&&a.key||`_${n}`},a||(t?t():[]),a&&e._===1?64:-2);return!r&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),s&&s._c&&(s._d=!0),o}function LF(e){return e.some(n=>ur(n)?!(n.type===xn||n.type===kn&&!LF(n.children)):!0)?e:null}function DE(e,n){const i={};for(const t in e)i[n&&/[A-Z]/.test(t)?`on:${t}`:oa(t)]=e[t];return i}const l1=e=>e?ug(e)?Vf(e)||e.proxy:l1(e.parent):null,Pf=Te(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=>l1(e.parent),$root:e=>l1(e.root),$emit:e=>e.emit,$options:e=>h1(e),$forceUpdate:e=>e.f||(e.f=()=>_f(e.update)),$nextTick:e=>e.n||(e.n=Jc.bind(e.proxy)),$watch:e=>hE.bind(e)}),d1={get({_:e},n){const{ctx:i,setupState:t,data:r,props:s,accessCache:a,type:o,appContext:u}=e;let f;if(n[0]!=="$"){const h=a[n];if(h!==void 0)switch(h){case 1:return t[n];case 2:return r[n];case 4:return i[n];case 3:return s[n]}else{if(t!==$e&&Ae(t,n))return a[n]=1,t[n];if(r!==$e&&Ae(r,n))return a[n]=2,r[n];if((f=e.propsOptions[0])&&Ae(f,n))return a[n]=3,s[n];if(i!==$e&&Ae(i,n))return a[n]=4,i[n];c1&&(a[n]=0)}}const l=Pf[n];let d,c;if(l)return n==="$attrs"&&pi(e,"get",n),l(e);if((d=o.__cssModules)&&(d=d[n]))return d;if(i!==$e&&Ae(i,n))return a[n]=4,i[n];if(c=u.config.globalProperties,Ae(c,n))return c[n]},set({_:e},n,i){const{data:t,setupState:r,ctx:s}=e;return r!==$e&&Ae(r,n)?(r[n]=i,!0):t!==$e&&Ae(t,n)?(t[n]=i,!0):Ae(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(s[n]=i,!0)},has({_:{data:e,setupState:n,accessCache:i,ctx:t,appContext:r,propsOptions:s}},a){let o;return!!i[a]||e!==$e&&Ae(e,a)||n!==$e&&Ae(n,a)||(o=s[0])&&Ae(o,a)||Ae(t,a)||Ae(Pf,a)||Ae(r.config.globalProperties,a)},defineProperty(e,n,i){return i.get!=null?e._.accessCache[n]=0:Ae(i,"value")&&this.set(e,n,i.value,null),Reflect.defineProperty(e,n,i)}},CE=Te({},d1,{get(e,n){if(n!==Symbol.unscopables)return d1.get(e,n,e)},has(e,n){return n[0]!=="_"&&!I6(n)}});let c1=!0;function SE(e){const n=h1(e),i=e.proxy,t=e.ctx;c1=!1,n.beforeCreate&&jF(n.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:o,provide:u,inject:f,created:l,beforeMount:d,mounted:c,beforeUpdate:h,updated:F,activated:v,deactivated:y,beforeDestroy:p,beforeUnmount:m,destroyed:k,unmounted:w,render:D,renderTracked:E,renderTriggered:C,errorCaptured:b,serverPrefetch:S,expose:A,inheritAttrs:T,components:$,directives:z,filters:I}=n;if(f&&AE(f,t,null,e.appContext.config.unwrapInjectedRef),a)for(const oe in a){const X=a[oe];ce(X)&&(t[oe]=X.bind(i))}if(r){const oe=r.call(i,i);Le(oe)&&(e.data=yf(oe))}if(c1=!0,s)for(const oe in s){const X=s[oe],be=ce(X)?X.bind(i,i):ce(X.get)?X.get.bind(i,i):Jn,gn=!ce(X)&&ce(X.set)?X.set.bind(i):Jn,tn=mg({get:be,set:gn});Object.defineProperty(t,oe,{enumerable:!0,configurable:!0,get:()=>tn.value,set:We=>tn.value=We})}if(o)for(const oe in o)RF(o[oe],t,i,oe);if(u){const oe=ce(u)?u.call(i):u;Reflect.ownKeys(oe).forEach(X=>{wF(X,oe[X])})}l&&jF(l,e,"c");function J(oe,X){ee(X)?X.forEach(be=>oe(be.bind(i))):X&&oe(X.bind(i))}if(J(BF,d),J(zo,c),J(xF,h),J(xf,F),J(SF,v),J(AF,y),J(OF,b),J(PF,E),J(TF,C),J($f,m),J(Tf,w),J($F,S),ee(A))if(A.length){const oe=e.exposed||(e.exposed={});A.forEach(X=>{Object.defineProperty(oe,X,{get:()=>i[X],set:be=>i[X]=be})})}else e.exposed||(e.exposed={});D&&e.render===Jn&&(e.render=D),T!=null&&(e.inheritAttrs=T),$&&(e.components=$),z&&(e.directives=z)}function AE(e,n,i=Jn,t=!1){ee(e)&&(e=m1(e));for(const r in e){const s=e[r];let a;Le(s)?"default"in s?a=Io(s.from||r,s.default,!0):a=Io(s.from||r):a=Io(s),an(a)&&t?Object.defineProperty(n,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):n[r]=a}}function jF(e,n,i){Fi(ee(e)?e.map(t=>t.bind(n.proxy)):e.bind(n.proxy),n,i)}function RF(e,n,i,t){const r=t.includes(".")?EF(i,t):()=>i[t];if(pe(e)){const s=n[e];ce(s)&&No(r,s)}else if(ce(e))No(r,e.bind(i));else if(Le(e))if(ee(e))e.forEach(s=>RF(s,n,i,t));else{const s=ce(e.handler)?e.handler.bind(i):n[e.handler];ce(s)&&No(r,s,e)}}function h1(e){const n=e.type,{mixins:i,extends:t}=n,{mixins:r,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,o=s.get(n);let u;return o?u=o:!r.length&&!i&&!t?u=n:(u={},r.length&&r.forEach(f=>Of(u,f,a,!0)),Of(u,n,a)),Le(n)&&s.set(n,u),u}function Of(e,n,i,t=!1){const{mixins:r,extends:s}=n;s&&Of(e,s,i,!0),r&&r.forEach(a=>Of(e,a,i,!0));for(const a in n)if(!(t&&a==="expose")){const o=ME[a]||i&&i[a];e[a]=o?o(e[a],n[a]):n[a]}return e}const ME={data:zF,props:fs,emits:fs,methods:fs,computed:fs,beforeCreate:Qn,created:Qn,beforeMount:Qn,mounted:Qn,beforeUpdate:Qn,updated:Qn,beforeDestroy:Qn,beforeUnmount:Qn,destroyed:Qn,unmounted:Qn,activated:Qn,deactivated:Qn,errorCaptured:Qn,serverPrefetch:Qn,components:fs,directives:fs,watch:xE,provide:zF,inject:BE};function zF(e,n){return n?e?function(){return Te(ce(e)?e.call(this,this):e,ce(n)?n.call(this,this):n)}:n:e}function BE(e,n){return fs(m1(e),m1(n))}function m1(e){if(ee(e)){const n={};for(let i=0;i0)&&!(a&16)){if(a&8){const l=e.vnode.dynamicProps;for(let d=0;d{u=!0;const[c,h]=UF(d,n,!0);Te(a,c),h&&o.push(...h)};!i&&n.mixins.length&&n.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!s&&!u)return Le(e)&&t.set(e,sa),sa;if(ee(s))for(let l=0;l-1,h[1]=v<0||F-1||Ae(h,"default"))&&o.push(d)}}}const f=[a,o];return Le(e)&&t.set(e,f),f}function VF(e){return e[0]!=="$"}function WF(e){const n=e&&e.toString().match(/^\s*function (\w+)/);return n?n[1]:e===null?"null":""}function qF(e,n){return WF(e)===WF(n)}function KF(e,n){return ee(n)?n.findIndex(i=>qF(i,e)):ce(n)&&qF(n,e)?0:-1}const YF=e=>e[0]==="_"||e==="$stable",F1=e=>ee(e)?e.map(gi):[gi(e)],PE=(e,n,i)=>{if(n._n)return n;const t=Zc((...r)=>F1(n(...r)),i);return t._c=!1,t},GF=(e,n,i)=>{const t=e._ctx;for(const r in e){if(YF(r))continue;const s=e[r];if(ce(s))n[r]=PE(r,s,t);else if(s!=null){const a=F1(s);n[r]=()=>a}}},JF=(e,n)=>{const i=F1(n);e.slots.default=()=>i},OE=(e,n)=>{if(e.vnode.shapeFlag&32){const i=n._;i?(e.slots=Ee(n),lf(n,"_",i)):GF(n,e.slots={})}else e.slots={},n&&JF(e,n);lf(e.slots,zf,1)},IE=(e,n,i)=>{const{vnode:t,slots:r}=e;let s=!0,a=$e;if(t.shapeFlag&32){const o=n._;o?i&&o===1?s=!1:(Te(r,n),!i&&o===1&&delete r._):(s=!n.$stable,GF(n,r)),a=n}else n&&(JF(e,n),a={default:1});if(s)for(const o in r)!YF(o)&&!(o in a)&&delete r[o]};function QF(){return{app:null,config:{isNativeTag:uf,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 NE=0;function LE(e,n){return function(t,r=null){ce(t)||(t=Object.assign({},t)),r!=null&&!Le(r)&&(r=null);const s=QF(),a=new Set;let o=!1;const u=s.app={_uid:NE++,_component:t,_props:r,_container:null,_context:s,_instance:null,version:yg,get config(){return s.config},set config(f){},use(f,...l){return a.has(f)||(f&&ce(f.install)?(a.add(f),f.install(u,...l)):ce(f)&&(a.add(f),f(u,...l))),u},mixin(f){return s.mixins.includes(f)||s.mixins.push(f),u},component(f,l){return l?(s.components[f]=l,u):s.components[f]},directive(f,l){return l?(s.directives[f]=l,u):s.directives[f]},mount(f,l,d){if(!o){const c=Ue(t,r);return c.appContext=s,l&&n?n(c,f):e(c,f,d),o=!0,u._container=f,f.__vue_app__=u,Vf(c.component)||c.component.proxy}},unmount(){o&&(e(null,u._container),delete u._container.__vue_app__)},provide(f,l){return s.provides[f]=l,u}};return u}}function If(e,n,i,t,r=!1){if(ee(e)){e.forEach((c,h)=>If(c,n&&(ee(n)?n[h]:n),i,t,r));return}if(us(t)&&!r)return;const s=t.shapeFlag&4?Vf(t.component)||t.component.proxy:t.el,a=r?null:s,{i:o,r:u}=e,f=n&&n.r,l=o.refs===$e?o.refs={}:o.refs,d=o.setupState;if(f!=null&&f!==u&&(pe(f)?(l[f]=null,Ae(d,f)&&(d[f]=null)):an(f)&&(f.value=null)),ce(u))st(u,o,12,[a,l]);else{const c=pe(u),h=an(u);if(c||h){const F=()=>{if(e.f){const v=c?l[u]:u.value;r?ee(v)&&$c(v,s):ee(v)?v.includes(s)||v.push(s):c?(l[u]=[s],Ae(d,u)&&(d[u]=l[u])):(u.value=[s],e.k&&(l[e.k]=u.value))}else c?(l[u]=a,Ae(d,u)&&(d[u]=a)):h&&(u.value=a,e.k&&(l[e.k]=a))};a?(F.id=-1,yn(F,i)):F()}}}let or=!1;const Nf=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Lf=e=>e.nodeType===8;function jE(e){const{mt:n,p:i,o:{patchProp:t,createText:r,nextSibling:s,parentNode:a,remove:o,insert:u,createComment:f}}=e,l=(p,m)=>{if(!m.hasChildNodes()){i(null,p,m),Ef(),m._vnode=p;return}or=!1,d(m.firstChild,p,null,null,null),Ef(),m._vnode=p,or&&console.error("Hydration completed but contains mismatches.")},d=(p,m,k,w,D,E=!1)=>{const C=Lf(p)&&p.data==="[",b=()=>v(p,m,k,w,D,C),{type:S,ref:A,shapeFlag:T,patchFlag:$}=m,z=p.nodeType;m.el=p,$===-2&&(E=!1,m.dynamicChildren=null);let I=null;switch(S){case ma:z!==3?m.children===""?(u(m.el=r(""),a(p),p),I=p):I=b():(p.data!==m.children&&(or=!0,p.data=m.children),I=s(p));break;case xn:z!==8||C?I=b():I=s(p);break;case ds:if(z!==1&&z!==3)I=b();else{I=p;const Z=!m.children.length;for(let J=0;J{E=E||!!m.dynamicChildren;const{type:C,props:b,patchFlag:S,shapeFlag:A,dirs:T}=m,$=C==="input"&&T||C==="option";if($||S!==-1){if(T&&ot(m,null,k,"created"),b)if($||!E||S&48)for(const I in b)($&&I.endsWith("value")||Gr(I)&&!Qr(I))&&t(p,I,null,b[I],!1,void 0,k);else b.onClick&&t(p,"onClick",null,b.onClick,!1,void 0,k);let z;if((z=b&&b.onVnodeBeforeMount)&&si(z,k,m),T&&ot(m,null,k,"beforeMount"),((z=b&&b.onVnodeMounted)||T)&&kF(()=>{z&&si(z,k,m),T&&ot(m,null,k,"mounted")},w),A&16&&!(b&&(b.innerHTML||b.textContent))){let I=h(p.firstChild,m,p,k,w,D,E);for(;I;){or=!0;const Z=I;I=I.nextSibling,o(Z)}}else A&8&&p.textContent!==m.children&&(or=!0,p.textContent=m.children)}return p.nextSibling},h=(p,m,k,w,D,E,C)=>{C=C||!!m.dynamicChildren;const b=m.children,S=b.length;for(let A=0;A{const{slotScopeIds:C}=m;C&&(D=D?D.concat(C):C);const b=a(p),S=h(s(p),m,b,k,w,D,E);return S&&Lf(S)&&S.data==="]"?s(m.anchor=S):(or=!0,u(m.anchor=f("]"),b,S),S)},v=(p,m,k,w,D,E)=>{if(or=!0,m.el=null,E){const S=y(p);for(;;){const A=s(p);if(A&&A!==S)o(A);else break}}const C=s(p),b=a(p);return o(p),i(null,m,b,C,k,w,Nf(b),D),C},y=p=>{let m=0;for(;p;)if(p=s(p),p&&Lf(p)&&(p.data==="["&&m++,p.data==="]")){if(m===0)return s(p);m--}return p};return[l,d]}const yn=kF;function ZF(e){return eg(e)}function XF(e){return eg(e,jE)}function eg(e,n){const i=n9();i.__VUE__=!0;const{insert:t,remove:r,patchProp:s,createElement:a,createText:o,createComment:u,setText:f,setElementText:l,parentNode:d,nextSibling:c,setScopeId:h=Jn,cloneNode:F,insertStaticContent:v}=e,y=(g,_,M,x=null,P=null,R=null,L=!1,N=null,O=!!_.dynamicChildren)=>{if(g===_)return;g&&!ut(g,_)&&(x=ta(g),Yn(g,P,R,!0),g=null),_.patchFlag===-2&&(O=!1,_.dynamicChildren=null);const{type:H,ref:U,shapeFlag:V}=_;switch(H){case ma:p(g,_,M,x);break;case xn:m(g,_,M,x);break;case ds:g==null&&k(_,M,x,L);break;case kn:z(g,_,M,x,P,R,L,N,O);break;default:V&1?E(g,_,M,x,P,R,L,N,O):V&6?I(g,_,M,x,P,R,L,N,O):(V&64||V&128)&&H.process(g,_,M,x,P,R,L,N,O,St)}U!=null&&P&&If(U,g&&g.ref,R,_||g,!_)},p=(g,_,M,x)=>{if(g==null)t(_.el=o(_.children),M,x);else{const P=_.el=g.el;_.children!==g.children&&f(P,_.children)}},m=(g,_,M,x)=>{g==null?t(_.el=u(_.children||""),M,x):_.el=g.el},k=(g,_,M,x)=>{[g.el,g.anchor]=v(g.children,_,M,x,g.el,g.anchor)},w=({el:g,anchor:_},M,x)=>{let P;for(;g&&g!==_;)P=c(g),t(g,M,x),g=P;t(_,M,x)},D=({el:g,anchor:_})=>{let M;for(;g&&g!==_;)M=c(g),r(g),g=M;r(_)},E=(g,_,M,x,P,R,L,N,O)=>{L=L||_.type==="svg",g==null?C(_,M,x,P,R,L,N,O):A(g,_,P,R,L,N,O)},C=(g,_,M,x,P,R,L,N)=>{let O,H;const{type:U,props:V,shapeFlag:K,transition:G,patchFlag:re,dirs:ue}=g;if(g.el&&F!==void 0&&re===-1)O=g.el=F(g.el);else{if(O=g.el=a(g.type,R,V&&V.is,V),K&8?l(O,g.children):K&16&&S(g.children,O,null,x,P,R&&U!=="foreignObject",L,N),ue&&ot(g,null,x,"created"),V){for(const _e in V)_e!=="value"&&!Qr(_e)&&s(O,_e,null,V[_e],R,g.children,x,P,hi);"value"in V&&s(O,"value",null,V.value),(H=V.onVnodeBeforeMount)&&si(H,x,g)}b(O,g,g.scopeId,L,x)}ue&&ot(g,null,x,"beforeMount");const de=(!P||P&&!P.pendingBranch)&&G&&!G.persisted;de&&G.beforeEnter(O),t(O,_,M),((H=V&&V.onVnodeMounted)||de||ue)&&yn(()=>{H&&si(H,x,g),de&&G.enter(O),ue&&ot(g,null,x,"mounted")},P)},b=(g,_,M,x,P)=>{if(M&&h(g,M),x)for(let R=0;R{for(let H=O;H{const N=_.el=g.el;let{patchFlag:O,dynamicChildren:H,dirs:U}=_;O|=g.patchFlag&16;const V=g.props||$e,K=_.props||$e;let G;M&&ls(M,!1),(G=K.onVnodeBeforeUpdate)&&si(G,M,_,g),U&&ot(_,g,M,"beforeUpdate"),M&&ls(M,!0);const re=P&&_.type!=="foreignObject";if(H?T(g.dynamicChildren,H,N,M,x,re,R):L||be(g,_,N,null,M,x,re,R,!1),O>0){if(O&16)$(N,_,V,K,M,x,P);else if(O&2&&V.class!==K.class&&s(N,"class",null,K.class,P),O&4&&s(N,"style",V.style,K.style,P),O&8){const ue=_.dynamicProps;for(let de=0;de{G&&si(G,M,_,g),U&&ot(_,g,M,"updated")},x)},T=(g,_,M,x,P,R,L)=>{for(let N=0;N<_.length;N++){const O=g[N],H=_[N],U=O.el&&(O.type===kn||!ut(O,H)||O.shapeFlag&70)?d(O.el):M;y(O,H,U,null,x,P,R,L,!0)}},$=(g,_,M,x,P,R,L)=>{if(M!==x){for(const N in x){if(Qr(N))continue;const O=x[N],H=M[N];O!==H&&N!=="value"&&s(g,N,H,O,L,_.children,P,R,hi)}if(M!==$e)for(const N in M)!Qr(N)&&!(N in x)&&s(g,N,M[N],null,L,_.children,P,R,hi);"value"in x&&s(g,"value",M.value,x.value)}},z=(g,_,M,x,P,R,L,N,O)=>{const H=_.el=g?g.el:o(""),U=_.anchor=g?g.anchor:o("");let{patchFlag:V,dynamicChildren:K,slotScopeIds:G}=_;G&&(N=N?N.concat(G):G),g==null?(t(H,M,x),t(U,M,x),S(_.children,M,U,P,R,L,N,O)):V>0&&V&64&&K&&g.dynamicChildren?(T(g.dynamicChildren,K,M,P,R,L,N),(_.key!=null||P&&_===P.subTree)&&g1(g,_,!0)):be(g,_,M,U,P,R,L,N,O)},I=(g,_,M,x,P,R,L,N,O)=>{_.slotScopeIds=N,g==null?_.shapeFlag&512?P.ctx.activate(_,M,x,L,O):Z(_,M,x,P,R,L,O):J(g,_,O)},Z=(g,_,M,x,P,R,L)=>{const N=g.component=og(g,x,P);if(jo(g)&&(N.ctx.renderer=St),fg(N),N.asyncDep){if(P&&P.registerDep(N,oe),!g.el){const O=N.subTree=Ue(xn);m(null,O,_,M)}return}oe(N,g,_,M,P,R,L)},J=(g,_,M)=>{const x=_.component=g.component;if(sE(g,_,M))if(x.asyncDep&&!x.asyncResolved){X(x,_,M);return}else x.next=_,J9(x.update),x.update();else _.el=g.el,x.vnode=_},oe=(g,_,M,x,P,R,L)=>{const N=()=>{if(g.isMounted){let{next:U,bu:V,u:K,parent:G,vnode:re}=g,ue=U,de;ls(g,!1),U?(U.el=re.el,X(g,U,L)):U=re,V&&fa(V),(de=U.props&&U.props.onVnodeBeforeUpdate)&&si(de,G,U,re),ls(g,!0);const _e=Af(g),vn=g.subTree;g.subTree=_e,y(vn,_e,d(vn.el),ta(vn),g,P,R),U.el=_e.el,ue===null&&Xc(g,_e.el),K&&yn(K,P),(de=U.props&&U.props.onVnodeUpdated)&&yn(()=>si(de,G,U,re),P)}else{let U;const{el:V,props:K}=_,{bm:G,m:re,parent:ue}=g,de=us(_);if(ls(g,!1),G&&fa(G),!de&&(U=K&&K.onVnodeBeforeMount)&&si(U,ue,_),ls(g,!0),V&&B){const _e=()=>{g.subTree=Af(g),B(V,g.subTree,g,P,null)};de?_.type.__asyncLoader().then(()=>!g.isUnmounted&&_e()):_e()}else{const _e=g.subTree=Af(g);y(null,_e,M,x,g,P,R),_.el=_e.el}if(re&&yn(re,P),!de&&(U=K&&K.onVnodeMounted)){const _e=_;yn(()=>si(U,ue,_e),P)}(_.shapeFlag&256||ue&&us(ue.vnode)&&ue.vnode.shapeFlag&256)&&g.a&&yn(g.a,P),g.isMounted=!0,_=M=x=null}},O=g.effect=new Ao(N,()=>_f(H),g.scope),H=g.update=()=>O.run();H.id=g.uid,ls(g,!0),H()},X=(g,_,M)=>{_.component=g;const x=g.vnode.props;g.vnode=_,g.next=null,TE(g,_.props,x,M),IE(g,_.children,M),es(),hF(),ns()},be=(g,_,M,x,P,R,L,N,O=!1)=>{const H=g&&g.children,U=g?g.shapeFlag:0,V=_.children,{patchFlag:K,shapeFlag:G}=_;if(K>0){if(K&128){tn(H,V,M,x,P,R,L,N,O);return}else if(K&256){gn(H,V,M,x,P,R,L,N,O);return}}G&8?(U&16&&hi(H,P,R),V!==H&&l(M,V)):U&16?G&16?tn(H,V,M,x,P,R,L,N,O):hi(H,P,R,!0):(U&8&&l(M,""),G&16&&S(V,M,x,P,R,L,N,O))},gn=(g,_,M,x,P,R,L,N,O)=>{g=g||sa,_=_||sa;const H=g.length,U=_.length,V=Math.min(H,U);let K;for(K=0;KU?hi(g,P,R,!0,!1,V):S(_,M,x,P,R,L,N,O,V)},tn=(g,_,M,x,P,R,L,N,O)=>{let H=0;const U=_.length;let V=g.length-1,K=U-1;for(;H<=V&&H<=K;){const G=g[H],re=_[H]=O?fr(_[H]):gi(_[H]);if(ut(G,re))y(G,re,M,null,P,R,L,N,O);else break;H++}for(;H<=V&&H<=K;){const G=g[V],re=_[K]=O?fr(_[K]):gi(_[K]);if(ut(G,re))y(G,re,M,null,P,R,L,N,O);else break;V--,K--}if(H>V){if(H<=K){const G=K+1,re=GK)for(;H<=V;)Yn(g[H],P,R,!0),H++;else{const G=H,re=H,ue=new Map;for(H=re;H<=K;H++){const qe=_[H]=O?fr(_[H]):gi(_[H]);qe.key!=null&&ue.set(qe.key,H)}let de,_e=0;const vn=K-re+1;let er=!1,Kr=0;const Yr=new Array(vn);for(H=0;H=vn){Yn(qe,P,R,!0);continue}let $i;if(qe.key!=null)$i=ue.get(qe.key);else for(de=re;de<=K;de++)if(Yr[de-re]===0&&ut(qe,_[de])){$i=de;break}$i===void 0?Yn(qe,P,R,!0):(Yr[$i-re]=H+1,$i>=Kr?Kr=$i:er=!0,y(qe,_[$i],M,null,P,R,L,N,O),_e++)}const Gn=er?RE(Yr):sa;for(de=Gn.length-1,H=vn-1;H>=0;H--){const qe=re+H,$i=_[qe],O6=qe+1{const{el:R,type:L,transition:N,children:O,shapeFlag:H}=g;if(H&6){We(g.component.subTree,_,M,x);return}if(H&128){g.suspense.move(_,M,x);return}if(H&64){L.move(g,_,M,St);return}if(L===kn){t(R,_,M);for(let V=0;VN.enter(R),P);else{const{leave:V,delayLeave:K,afterLeave:G}=N,re=()=>t(R,_,M),ue=()=>{V(R,()=>{re(),G&&G()})};K?K(R,re,ue):ue()}else t(R,_,M)},Yn=(g,_,M,x=!1,P=!1)=>{const{type:R,props:L,ref:N,children:O,dynamicChildren:H,shapeFlag:U,patchFlag:V,dirs:K}=g;if(N!=null&&If(N,null,M,g,!0),U&256){_.ctx.deactivate(g);return}const G=U&1&&K,re=!us(g);let ue;if(re&&(ue=L&&L.onVnodeBeforeUnmount)&&si(ue,_,g),U&6)rt(g.component,M,x);else{if(U&128){g.suspense.unmount(M,x);return}G&&ot(g,null,_,"beforeUnmount"),U&64?g.type.remove(g,_,M,P,St,x):H&&(R!==kn||V>0&&V&64)?hi(H,_,M,!1,!0):(R===kn&&V&384||!P&&U&16)&&hi(O,_,M),x&&ia(g)}(re&&(ue=L&&L.onVnodeUnmounted)||G)&&yn(()=>{ue&&si(ue,_,g),G&&ot(g,null,_,"unmounted")},M)},ia=g=>{const{type:_,el:M,anchor:x,transition:P}=g;if(_===kn){Bp(M,x);return}if(_===ds){D(g);return}const R=()=>{r(M),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(g.shapeFlag&1&&P&&!P.persisted){const{leave:L,delayLeave:N}=P,O=()=>L(M,R);N?N(g.el,R,O):O()}else R()},Bp=(g,_)=>{let M;for(;g!==_;)M=c(g),r(g),g=M;r(_)},rt=(g,_,M)=>{const{bum:x,scope:P,update:R,subTree:L,um:N}=g;x&&fa(x),P.stop(),R&&(R.active=!1,Yn(L,g,_,M)),N&&yn(N,_),yn(()=>{g.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},hi=(g,_,M,x=!1,P=!1,R=0)=>{for(let L=R;Lg.shapeFlag&6?ta(g.component.subTree):g.shapeFlag&128?g.suspense.next():c(g.anchor||g.el),Xt=(g,_,M)=>{g==null?_._vnode&&Yn(_._vnode,null,null,!0):y(_._vnode||null,g,_,null,null,null,M),hF(),Ef(),_._vnode=g},St={p:y,um:Yn,m:We,r:ia,mt:Z,mc:S,pc:be,pbc:T,n:ta,o:e};let ra,B;return n&&([ra,B]=n(St)),{render:Xt,hydrate:ra,createApp:LE(Xt,ra)}}function ls({effect:e,update:n},i){e.allowRecurse=n.allowRecurse=i}function g1(e,n,i=!1){const t=e.children,r=n.children;if(ee(t)&&ee(r))for(let s=0;s>1,e[i[o]]0&&(n[t]=i[s-1]),i[s]=t)}}for(s=i.length,a=i[s-1];s-- >0;)i[s]=a,a=n[a];return i}const zE=e=>e.__isTeleport,Ho=e=>e&&(e.disabled||e.disabled===""),ng=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,v1=(e,n)=>{const i=e&&e.to;return pe(i)?n?n(i):null:i},HE={__isTeleport:!0,process(e,n,i,t,r,s,a,o,u,f){const{mc:l,pc:d,pbc:c,o:{insert:h,querySelector:F,createText:v,createComment:y}}=f,p=Ho(n.props);let{shapeFlag:m,children:k,dynamicChildren:w}=n;if(e==null){const D=n.el=v(""),E=n.anchor=v("");h(D,i,t),h(E,i,t);const C=n.target=v1(n.props,F),b=n.targetAnchor=v("");C&&(h(b,C),a=a||ng(C));const S=(A,T)=>{m&16&&l(k,A,T,r,s,a,o,u)};p?S(i,E):C&&S(C,b)}else{n.el=e.el;const D=n.anchor=e.anchor,E=n.target=e.target,C=n.targetAnchor=e.targetAnchor,b=Ho(e.props),S=b?i:E,A=b?D:C;if(a=a||ng(E),w?(c(e.dynamicChildren,w,S,r,s,a,o),g1(e,n,!0)):u||d(e,n,S,A,r,s,a,o,!1),p)b||jf(n,i,D,f,1);else if((n.props&&n.props.to)!==(e.props&&e.props.to)){const T=n.target=v1(n.props,F);T&&jf(n,T,null,f,0)}else b&&jf(n,E,C,f,1)}},remove(e,n,i,t,{um:r,o:{remove:s}},a){const{shapeFlag:o,children:u,anchor:f,targetAnchor:l,target:d,props:c}=e;if(d&&s(l),(a||!Ho(c))&&(s(f),o&16))for(let h=0;h0?ri||sa:null,ig(),cs>0&&ri&&ri.push(e),e}function WE(e,n,i,t,r,s){return tg(w1(e,n,i,t,r,s,!0))}function k1(e,n,i,t,r){return tg(Ue(e,n,i,t,r,!0))}function ur(e){return e?e.__v_isVNode===!0:!1}function ut(e,n){return e.type===n.type&&e.key===n.key}function qE(e){}const zf="__vInternal",rg=({key:e})=>e!=null?e:null,Hf=({ref:e,ref_key:n,ref_for:i})=>e!=null?pe(e)||an(e)||ce(e)?{i:Bn,r:e,k:n,f:!!i}:e:null;function w1(e,n=null,i=null,t=0,r=null,s=e===kn?0:1,a=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&rg(n),ref:n&&Hf(n),scopeId:Sf,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:t,dynamicProps:r,dynamicChildren:null,appContext:null};return o?(_1(u,i),s&128&&e.normalize(u)):i&&(u.shapeFlag|=pe(i)?8:16),cs>0&&!a&&ri&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&ri.push(u),u}const Ue=KE;function KE(e,n=null,i=null,t=0,r=null,s=!1){if((!e||e===IF)&&(e=xn),ur(e)){const o=ft(e,n,!0);return i&&_1(o,i),cs>0&&!s&&ri&&(o.shapeFlag&6?ri[ri.indexOf(e)]=o:ri.push(o)),o.patchFlag|=-2,o}if(tD(e)&&(e=e.__vccOpts),n){n=sg(n);let{class:o,style:u}=n;o&&!pe(o)&&(n.class=Do(o)),Le(u)&&(Uc(u)&&!ee(u)&&(u=Te({},u)),n.style=Eo(u))}const a=pe(e)?1:vF(e)?128:zE(e)?64:Le(e)?4:ce(e)?2:0;return w1(e,n,i,t,r,a,s,!0)}function sg(e){return e?Uc(e)||zf in e?Te({},e):e:null}function ft(e,n,i=!1){const{props:t,ref:r,patchFlag:s,children:a}=e,o=n?ag(t||{},n):t;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&rg(o),ref:n&&n.ref?i&&r?ee(r)?r.concat(Hf(n)):[r,Hf(n)]:Hf(n):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==kn?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ft(e.ssContent),ssFallback:e.ssFallback&&ft(e.ssFallback),el:e.el,anchor:e.anchor}}function b1(e=" ",n=0){return Ue(ma,null,e,n)}function YE(e,n){const i=Ue(ds,null,e);return i.staticCount=n,i}function GE(e="",n=!1){return n?(Rf(),k1(xn,null,e)):Ue(xn,null,e)}function gi(e){return e==null||typeof e=="boolean"?Ue(xn):ee(e)?Ue(kn,null,e.slice()):typeof e=="object"?fr(e):Ue(ma,null,String(e))}function fr(e){return e.el===null||e.memo?e:ft(e)}function _1(e,n){let i=0;const{shapeFlag:t}=e;if(n==null)n=null;else if(ee(n))i=16;else if(typeof n=="object")if(t&65){const r=n.default;r&&(r._c&&(r._d=!1),_1(e,r()),r._c&&(r._d=!0));return}else{i=32;const r=n._;!r&&!(zf in n)?n._ctx=Bn:r===3&&Bn&&(Bn.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else ce(n)?(n={default:n,_ctx:Bn},i=32):(n=String(n),t&64?(i=16,n=[b1(n)]):i=8);e.children=n,e.shapeFlag|=i}function ag(...e){const n={};for(let i=0;ion||Bn,dr=e=>{on=e,e.scope.on()},cr=()=>{on&&on.scope.off(),on=null};function ug(e){return e.vnode.shapeFlag&4}let pa=!1;function fg(e,n=!1){pa=n;const{props:i,children:t}=e.vnode,r=ug(e);$E(e,i,r,n),OE(e,t);const s=r?ZE(e,n):void 0;return pa=!1,s}function ZE(e,n){const i=e.type;e.accessCache=Object.create(null),e.proxy=Vc(new Proxy(e.ctx,d1));const{setup:t}=i;if(t){const r=e.setupContext=t.length>1?cg(e):null;dr(e),es();const s=st(t,e,0,[e.props,r]);if(ns(),cr(),Tc(s)){if(s.then(cr,cr),n)return s.then(a=>{E1(e,a,n)}).catch(a=>{rs(a,e,0)});e.asyncDep=s}else E1(e,s,n)}else dg(e,n)}function E1(e,n,i){ce(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:Le(n)&&(e.setupState=Kc(n)),dg(e,i)}let Uf,D1;function lg(e){Uf=e,D1=n=>{n.render._rc&&(n.withProxy=new Proxy(n.ctx,CE))}}const XE=()=>!Uf;function dg(e,n,i){const t=e.type;if(!e.render){if(!n&&Uf&&!t.render){const r=t.template||h1(e).template;if(r){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:o,compilerOptions:u}=t,f=Te(Te({isCustomElement:s,delimiters:o},a),u);t.render=Uf(r,f)}}e.render=t.render||Jn,D1&&D1(e)}dr(e),es(),SE(e),ns(),cr()}function eD(e){return new Proxy(e.attrs,{get(n,i){return pi(e,"get","$attrs"),n[i]}})}function cg(e){const n=t=>{e.exposed=t||{}};let i;return{get attrs(){return i||(i=eD(e))},slots:e.slots,emit:e.emit,expose:n}}function Vf(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kc(Vc(e.exposed)),{get(n,i){if(i in n)return n[i];if(i in Pf)return Pf[i](e)}}))}const nD=/(?:^|[-_])(\w)/g,iD=e=>e.replace(nD,n=>n.toUpperCase()).replace(/[-_]/g,"");function Wf(e,n=!0){return ce(e)?e.displayName||e.name:e.name||n&&e.__name}function hg(e,n,i=!1){let t=Wf(n);if(!t&&n.__file){const r=n.__file.match(/([^/\\]+)\.\w+$/);r&&(t=r[1])}if(!t&&e&&e.parent){const r=s=>{for(const a in s)if(s[a]===n)return a};t=r(e.components||e.parent.type.components)||r(e.appContext.components)}return t?iD(t):i?"App":"Anonymous"}function tD(e){return ce(e)&&"__vccOpts"in e}const mg=(e,n)=>U9(e,n,pa);function rD(){return null}function sD(){return null}function aD(e){}function oD(e,n){return null}function uD(){return pg().slots}function fD(){return pg().attrs}function pg(){const e=lr();return e.setupContext||(e.setupContext=cg(e))}function lD(e,n){const i=ee(e)?e.reduce((t,r)=>(t[r]={},t),{}):e;for(const t in n){const r=i[t];r?ee(r)||ce(r)?i[t]={type:r,default:n[t]}:r.default=n[t]:r===null&&(i[t]={default:n[t]})}return i}function dD(e,n){const i={};for(const t in e)n.includes(t)||Object.defineProperty(i,t,{enumerable:!0,get:()=>e[t]});return i}function cD(e){const n=lr();let i=e();return cr(),Tc(i)&&(i=i.catch(t=>{throw dr(n),t})),[i,()=>dr(n)]}function Fg(e,n,i){const t=arguments.length;return t===2?Le(n)&&!ee(n)?ur(n)?Ue(e,null,[n]):Ue(e,n):Ue(e,null,n):(t>3?i=Array.prototype.slice.call(arguments,2):t===3&&ur(i)&&(i=[i]),Ue(e,n,i))}const gg=Symbol(""),hD=()=>{{const e=Io(gg);return e||fF("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function mD(){}function pD(e,n,i,t){const r=i[t];if(r&&vg(r,e))return r;const s=n();return s.memo=e.slice(),i[t]=s}function vg(e,n){const i=e.memo;if(i.length!=n.length)return!1;for(let t=0;t0&&ri&&ri.push(e),!0}const yg="3.2.39",FD={createComponentInstance:og,setupComponent:fg,renderComponentRoot:Af,setCurrentRenderingInstance:Po,isVNode:ur,normalizeVNode:gi},gD=null,vD=null,yD="http://www.w3.org/2000/svg",hs=typeof document!="undefined"?document:null,kg=hs&&hs.createElement("template"),kD={insert:(e,n,i)=>{n.insertBefore(e,i||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,i,t)=>{const r=n?hs.createElementNS(yD,e):hs.createElement(e,i?{is:i}:void 0);return e==="select"&&t&&t.multiple!=null&&r.setAttribute("multiple",t.multiple),r},createText:e=>hs.createTextNode(e),createComment:e=>hs.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>hs.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},cloneNode(e){const n=e.cloneNode(!0);return"_value"in e&&(n._value=e._value),n},insertStaticContent(e,n,i,t,r,s){const a=i?i.previousSibling:n.lastChild;if(r&&(r===s||r.nextSibling))for(;n.insertBefore(r.cloneNode(!0),i),!(r===s||!(r=r.nextSibling)););else{kg.innerHTML=t?`${e}`:e;const o=kg.content;if(t){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}n.insertBefore(o,i)}return[a?a.nextSibling:n.firstChild,i?i.previousSibling:n.lastChild]}};function wD(e,n,i){const t=e._vtc;t&&(n=(n?[n,...t]:[...t]).join(" ")),n==null?e.removeAttribute("class"):i?e.setAttribute("class",n):e.className=n}function bD(e,n,i){const t=e.style,r=pe(i);if(i&&!r){for(const s in i)C1(t,s,i[s]);if(n&&!pe(n))for(const s in n)i[s]==null&&C1(t,s,"")}else{const s=t.display;r?n!==i&&(t.cssText=i):n&&e.removeAttribute("style"),"_vod"in e&&(t.display=s)}}const wg=/\s*!important$/;function C1(e,n,i){if(ee(i))i.forEach(t=>C1(e,n,t));else if(i==null&&(i=""),n.startsWith("--"))e.setProperty(n,i);else{const t=_D(e,n);wg.test(i)?e.setProperty(qi(t),i.replace(wg,""),"important"):e[t]=i}}const bg=["Webkit","Moz","ms"],S1={};function _D(e,n){const i=S1[n];if(i)return i;let t=An(n);if(t!=="filter"&&t in e)return S1[n]=t;t=Zr(t);for(let r=0;r{let e=Date.now,n=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const i=navigator.userAgent.match(/firefox\/(\d+)/i);n=!!(i&&Number(i[1])<=53)}return[e,n]})();let A1=0;const SD=Promise.resolve(),AD=()=>{A1=0},MD=()=>A1||(SD.then(AD),A1=Eg());function xt(e,n,i,t){e.addEventListener(n,i,t)}function BD(e,n,i,t){e.removeEventListener(n,i,t)}function xD(e,n,i,t,r=null){const s=e._vei||(e._vei={}),a=s[n];if(t&&a)a.value=t;else{const[o,u]=$D(n);if(t){const f=s[n]=TD(t,r);xt(e,o,f,u)}else a&&(BD(e,o,a,u),s[n]=void 0)}}const Dg=/(?:Once|Passive|Capture)$/;function $D(e){let n;if(Dg.test(e)){n={};let t;for(;t=e.match(Dg);)e=e.slice(0,e.length-t[0].length),n[t[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):qi(e.slice(2)),n]}function TD(e,n){const i=t=>{const r=t.timeStamp||Eg();(CD||r>=i.attached-1)&&Fi(PD(t,i.value),n,5,[t])};return i.value=e,i.attached=MD(),i}function PD(e,n){if(ee(n)){const i=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{i.call(e),e._stopped=!0},n.map(t=>r=>!r._stopped&&t&&t(r))}else return n}const Cg=/^on[a-z]/,OD=(e,n,i,t,r=!1,s,a,o,u)=>{n==="class"?wD(e,t,r):n==="style"?bD(e,i,t):Gr(n)?xc(n)||xD(e,n,i,t,a):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):ID(e,n,t,r))?DD(e,n,t,s,a,o,u):(n==="true-value"?e._trueValue=t:n==="false-value"&&(e._falseValue=t),ED(e,n,t,r))};function ID(e,n,i,t){return t?!!(n==="innerHTML"||n==="textContent"||n in e&&Cg.test(n)&&ce(i)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA"||Cg.test(n)&&pe(i)?!1:n in e}function Sg(e,n){const i=r1(e);class t extends qf{constructor(s){super(i,s,n)}}return t.def=i,t}const ND=e=>Sg(e,Zg),LD=typeof HTMLElement!="undefined"?HTMLElement:class{};class qf extends LD{constructor(n,i={},t){super(),this._def=n,this._props=i,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&t?t(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Jc(()=>{this._connected||(P1(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let t=0;t{for(const r of t)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const n=t=>{const{props:r,styles:s}=t,a=!ee(r),o=r?a?Object.keys(r):r:[];let u;if(a)for(const f in this._props){const l=r[f];(l===Number||l&&l.type===Number)&&(this._props[f]=tr(this._props[f]),(u||(u=Object.create(null)))[f]=!0)}this._numberProps=u;for(const f of Object.keys(this))f[0]!=="_"&&this._setProp(f,this[f],!0,!1);for(const f of o.map(An))Object.defineProperty(this,f,{get(){return this._getProp(f)},set(l){this._setProp(f,l)}});this._applyStyles(s),this._update()},i=this._def.__asyncLoader;i?i().then(n):n(this._def)}_setAttr(n){let i=this.getAttribute(n);this._numberProps&&this._numberProps[n]&&(i=tr(i)),this._setProp(An(n),i,!1)}_getProp(n){return this._props[n]}_setProp(n,i,t=!0,r=!0){i!==this._props[n]&&(this._props[n]=i,r&&this._instance&&this._update(),t&&(i===!0?this.setAttribute(qi(n),""):typeof i=="string"||typeof i=="number"?this.setAttribute(qi(n),i+""):i||this.removeAttribute(qi(n))))}_update(){P1(this._createVNode(),this.shadowRoot)}_createVNode(){const n=Ue(this._def,Te({},this._props));return this._instance||(n.ce=i=>{this._instance=i,i.isCE=!0,i.emit=(r,...s)=>{this.dispatchEvent(new CustomEvent(r,{detail:s}))};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof qf){i.parent=t._instance;break}}),n}_applyStyles(n){n&&n.forEach(i=>{const t=document.createElement("style");t.textContent=i,this.shadowRoot.appendChild(t)})}}function jD(e="$style"){{const n=lr();if(!n)return $e;const i=n.type.__cssModules;if(!i)return $e;const t=i[e];return t||$e}}function RD(e){const n=lr();if(!n)return;const i=()=>M1(n.subTree,e(n.proxy));bF(i),zo(()=>{const t=new MutationObserver(i);t.observe(n.subTree.el.parentNode,{childList:!0}),Tf(()=>t.disconnect())})}function M1(e,n){if(e.shapeFlag&128){const i=e.suspense;e=i.activeBranch,i.pendingBranch&&!i.isHydrating&&i.effects.push(()=>{M1(i.activeBranch,n)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ag(e.el,n);else if(e.type===kn)e.children.forEach(i=>M1(i,n));else if(e.type===ds){let{el:i,anchor:t}=e;for(;i&&(Ag(i,n),i!==t);)i=i.nextSibling}}function Ag(e,n){if(e.nodeType===1){const i=e.style;for(const t in n)i.setProperty(`--${t}`,n[t])}}const hr="transition",Vo="animation",B1=(e,{slots:n})=>Fg(i1,xg(e),n);B1.displayName="Transition";const Mg={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},zD=B1.props=Te({},i1.props,Mg),ms=(e,n=[])=>{ee(e)?e.forEach(i=>i(...n)):e&&e(...n)},Bg=e=>e?ee(e)?e.some(n=>n.length>1):e.length>1:!1;function xg(e){const n={};for(const $ in e)$ in Mg||(n[$]=e[$]);if(e.css===!1)return n;const{name:i="v",type:t,duration:r,enterFromClass:s=`${i}-enter-from`,enterActiveClass:a=`${i}-enter-active`,enterToClass:o=`${i}-enter-to`,appearFromClass:u=s,appearActiveClass:f=a,appearToClass:l=o,leaveFromClass:d=`${i}-leave-from`,leaveActiveClass:c=`${i}-leave-active`,leaveToClass:h=`${i}-leave-to`}=e,F=HD(r),v=F&&F[0],y=F&&F[1],{onBeforeEnter:p,onEnter:m,onEnterCancelled:k,onLeave:w,onLeaveCancelled:D,onBeforeAppear:E=p,onAppear:C=m,onAppearCancelled:b=k}=n,S=($,z,I)=>{mr($,z?l:o),mr($,z?f:a),I&&I()},A=($,z)=>{$._isLeaving=!1,mr($,d),mr($,h),mr($,c),z&&z()},T=$=>(z,I)=>{const Z=$?C:m,J=()=>S(z,$,I);ms(Z,[z,J]),$g(()=>{mr(z,$?u:s),$t(z,$?l:o),Bg(Z)||Tg(z,t,v,J)})};return Te(n,{onBeforeEnter($){ms(p,[$]),$t($,s),$t($,a)},onBeforeAppear($){ms(E,[$]),$t($,u),$t($,f)},onEnter:T(!1),onAppear:T(!0),onLeave($,z){$._isLeaving=!0;const I=()=>A($,z);$t($,d),Ng(),$t($,c),$g(()=>{!$._isLeaving||(mr($,d),$t($,h),Bg(w)||Tg($,t,y,I))}),ms(w,[$,I])},onEnterCancelled($){S($,!1),ms(k,[$])},onAppearCancelled($){S($,!0),ms(b,[$])},onLeaveCancelled($){A($),ms(D,[$])}})}function HD(e){if(e==null)return null;if(Le(e))return[x1(e.enter),x1(e.leave)];{const n=x1(e);return[n,n]}}function x1(e){return tr(e)}function $t(e,n){n.split(/\s+/).forEach(i=>i&&e.classList.add(i)),(e._vtc||(e._vtc=new Set)).add(n)}function mr(e,n){n.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:i}=e;i&&(i.delete(n),i.size||(e._vtc=void 0))}function $g(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let UD=0;function Tg(e,n,i,t){const r=e._endId=++UD,s=()=>{r===e._endId&&t()};if(i)return setTimeout(s,i);const{type:a,timeout:o,propCount:u}=Pg(e,n);if(!a)return t();const f=a+"end";let l=0;const d=()=>{e.removeEventListener(f,c),s()},c=h=>{h.target===e&&++l>=u&&d()};setTimeout(()=>{l(i[F]||"").split(", "),r=t(hr+"Delay"),s=t(hr+"Duration"),a=Og(r,s),o=t(Vo+"Delay"),u=t(Vo+"Duration"),f=Og(o,u);let l=null,d=0,c=0;n===hr?a>0&&(l=hr,d=a,c=s.length):n===Vo?f>0&&(l=Vo,d=f,c=u.length):(d=Math.max(a,f),l=d>0?a>f?hr:Vo:null,c=l?l===hr?s.length:u.length:0);const h=l===hr&&/\b(transform|all)(,|$)/.test(i[hr+"Property"]);return{type:l,timeout:d,propCount:c,hasTransform:h}}function Og(e,n){for(;e.lengthIg(i)+Ig(e[t])))}function Ig(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Ng(){return document.body.offsetHeight}const Lg=new WeakMap,jg=new WeakMap,VD={name:"TransitionGroup",props:Te({},zD,{tag:String,moveClass:String}),setup(e,{slots:n}){const i=lr(),t=n1();let r,s;return xf(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!YD(r[0].el,i.vnode.el,a))return;r.forEach(WD),r.forEach(qD);const o=r.filter(KD);Ng(),o.forEach(u=>{const f=u.el,l=f.style;$t(f,a),l.transform=l.webkitTransform=l.transitionDuration="";const d=f._moveCb=c=>{c&&c.target!==f||(!c||/transform$/.test(c.propertyName))&&(f.removeEventListener("transitionend",d),f._moveCb=null,mr(f,a))};f.addEventListener("transitionend",d)})}),()=>{const a=Ee(e),o=xg(a);let u=a.tag||kn;r=s,s=n.default?Mf(n.default()):[];for(let f=0;f{a.split(/\s+/).forEach(o=>o&&t.classList.remove(o))}),i.split(/\s+/).forEach(a=>a&&t.classList.add(a)),t.style.display="none";const r=n.nodeType===1?n:n.parentNode;r.appendChild(t);const{hasTransform:s}=Pg(t);return r.removeChild(t),s}const pr=e=>{const n=e.props["onUpdate:modelValue"]||!1;return ee(n)?i=>fa(n,i):n};function GD(e){e.target.composing=!0}function Rg(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const Kf={created(e,{modifiers:{lazy:n,trim:i,number:t}},r){e._assign=pr(r);const s=t||r.props&&r.props.type==="number";xt(e,n?"change":"input",a=>{if(a.target.composing)return;let o=e.value;i&&(o=o.trim()),s&&(o=tr(o)),e._assign(o)}),i&&xt(e,"change",()=>{e.value=e.value.trim()}),n||(xt(e,"compositionstart",GD),xt(e,"compositionend",Rg),xt(e,"change",Rg))},mounted(e,{value:n}){e.value=n==null?"":n},beforeUpdate(e,{value:n,modifiers:{lazy:i,trim:t,number:r}},s){if(e._assign=pr(s),e.composing||document.activeElement===e&&e.type!=="range"&&(i||t&&e.value.trim()===n||(r||e.type==="number")&&tr(e.value)===n))return;const a=n==null?"":n;e.value!==a&&(e.value=a)}},$1={deep:!0,created(e,n,i){e._assign=pr(i),xt(e,"change",()=>{const t=e._modelValue,r=Fa(e),s=e.checked,a=e._assign;if(ee(t)){const o=of(t,r),u=o!==-1;if(s&&!u)a(t.concat(r));else if(!s&&u){const f=[...t];f.splice(o,1),a(f)}}else if(Jr(t)){const o=new Set(t);s?o.add(r):o.delete(r),a(o)}else a(Vg(e,s))})},mounted:zg,beforeUpdate(e,n,i){e._assign=pr(i),zg(e,n,i)}};function zg(e,{value:n,oldValue:i},t){e._modelValue=n,ee(n)?e.checked=of(n,t.props.value)>-1:Jr(n)?e.checked=n.has(t.props.value):n!==i&&(e.checked=nr(n,Vg(e,!0)))}const T1={created(e,{value:n},i){e.checked=nr(n,i.props.value),e._assign=pr(i),xt(e,"change",()=>{e._assign(Fa(e))})},beforeUpdate(e,{value:n,oldValue:i},t){e._assign=pr(t),n!==i&&(e.checked=nr(n,t.props.value))}},Hg={deep:!0,created(e,{value:n,modifiers:{number:i}},t){const r=Jr(n);xt(e,"change",()=>{const s=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>i?tr(Fa(a)):Fa(a));e._assign(e.multiple?r?new Set(s):s:s[0])}),e._assign=pr(t)},mounted(e,{value:n}){Ug(e,n)},beforeUpdate(e,n,i){e._assign=pr(i)},updated(e,{value:n}){Ug(e,n)}};function Ug(e,n){const i=e.multiple;if(!(i&&!ee(n)&&!Jr(n))){for(let t=0,r=e.options.length;t-1:s.selected=n.has(a);else if(nr(Fa(s),n)){e.selectedIndex!==t&&(e.selectedIndex=t);return}}!i&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Fa(e){return"_value"in e?e._value:e.value}function Vg(e,n){const i=n?"_trueValue":"_falseValue";return i in e?e[i]:n}const Wg={created(e,n,i){Yf(e,n,i,null,"created")},mounted(e,n,i){Yf(e,n,i,null,"mounted")},beforeUpdate(e,n,i,t){Yf(e,n,i,t,"beforeUpdate")},updated(e,n,i,t){Yf(e,n,i,t,"updated")}};function qg(e,n){switch(e){case"SELECT":return Hg;case"TEXTAREA":return Kf;default:switch(n){case"checkbox":return $1;case"radio":return T1;default:return Kf}}}function Yf(e,n,i,t,r){const a=qg(e.tagName,i.props&&i.props.type)[r];a&&a(e,n,i,t)}function JD(){Kf.getSSRProps=({value:e})=>({value:e}),T1.getSSRProps=({value:e},n)=>{if(n.props&&nr(n.props.value,e))return{checked:!0}},$1.getSSRProps=({value:e},n)=>{if(ee(e)){if(n.props&&of(e,n.props.value)>-1)return{checked:!0}}else if(Jr(e)){if(n.props&&e.has(n.props.value))return{checked:!0}}else if(e)return{checked:!0}},Wg.getSSRProps=(e,n)=>{if(typeof n.type!="string")return;const i=qg(n.type.toUpperCase(),n.props&&n.props.type);if(i.getSSRProps)return i.getSSRProps(e,n)}}const QD=["ctrl","shift","alt","meta"],ZD={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,n)=>QD.some(i=>e[`${i}Key`]&&!n.includes(i))},XD=(e,n)=>(i,...t)=>{for(let r=0;ri=>{if(!("key"in i))return;const t=qi(i.key);if(n.some(r=>r===t||eC[r]===t))return e(i)},Kg={beforeMount(e,{value:n},{transition:i}){e._vod=e.style.display==="none"?"":e.style.display,i&&n?i.beforeEnter(e):Wo(e,n)},mounted(e,{value:n},{transition:i}){i&&n&&i.enter(e)},updated(e,{value:n,oldValue:i},{transition:t}){!n!=!i&&(t?n?(t.beforeEnter(e),Wo(e,!0),t.enter(e)):t.leave(e,()=>{Wo(e,!1)}):Wo(e,n))},beforeUnmount(e,{value:n}){Wo(e,n)}};function Wo(e,n){e.style.display=n?e._vod:"none"}function iC(){Kg.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Yg=Te({patchProp:OD},kD);let qo,Gg=!1;function Jg(){return qo||(qo=ZF(Yg))}function Qg(){return qo=Gg?qo:XF(Yg),Gg=!0,qo}const P1=(...e)=>{Jg().render(...e)},Zg=(...e)=>{Qg().hydrate(...e)},Xg=(...e)=>{const n=Jg().createApp(...e),{mount:i}=n;return n.mount=t=>{const r=ev(t);if(!r)return;const s=n._component;!ce(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const a=i(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},n},tC=(...e)=>{const n=Qg().createApp(...e),{mount:i}=n;return n.mount=t=>{const r=ev(t);if(r)return i(r,!0,r instanceof SVGElement)},n};function ev(e){return pe(e)?document.querySelector(e):e}let nv=!1;var rC=Object.freeze(Object.defineProperty({__proto__:null,Transition:B1,TransitionGroup:VD,VueElement:qf,createApp:Xg,createSSRApp:tC,defineCustomElement:Sg,defineSSRCustomElement:ND,hydrate:Zg,initDirectivesForSSR:()=>{nv||(nv=!0,JD(),iC())},render:P1,useCssModule:jD,useCssVars:RD,vModelCheckbox:$1,vModelDynamic:Wg,vModelRadio:T1,vModelSelect:Hg,vModelText:Kf,vShow:Kg,withKeys:nC,withModifiers:XD,EffectScope:Oc,ReactiveEffect:Ao,customRef:j9,effect:o9,effectScope:i9,getCurrentScope:t9,isProxy:Uc,isReactive:is,isReadonly:ts,isRef:an,isShallow:Mo,markRaw:Vc,onScopeDispose:r9,proxyRefs:Kc,reactive:yf,readonly:Hc,ref:bf,shallowReactive:rF,shallowReadonly:T9,shallowRef:P9,stop:u9,toRaw:Ee,toRef:oF,toRefs:R9,triggerRef:I9,unref:aF,camelize:An,capitalize:Zr,normalizeClass:Do,normalizeProps:R6,normalizeStyle:Eo,toDisplayString:Y6,toHandlerKey:oa,BaseTransition:i1,Comment:xn,Fragment:kn,KeepAlive:pE,Static:ds,Suspense:aE,Teleport:VE,Text:ma,callWithAsyncErrorHandling:Fi,callWithErrorHandling:st,cloneVNode:ft,compatUtils:vD,computed:mg,createBlock:k1,createCommentVNode:GE,createElementBlock:WE,createElementVNode:w1,createHydrationRenderer:XF,createPropsRestProxy:dD,createRenderer:ZF,createSlots:_E,createStaticVNode:YE,createTextVNode:b1,createVNode:Ue,defineAsyncComponent:mE,defineComponent:r1,defineEmits:sD,defineExpose:aD,defineProps:rD,get devtools(){return da},getCurrentInstance:lr,getTransitionRawChildren:Mf,guardReactiveProps:sg,h:Fg,handleError:rs,initCustomFormatter:mD,inject:Io,isMemoSame:vg,isRuntimeOnly:XE,isVNode:ur,mergeDefaults:lD,mergeProps:ag,nextTick:Jc,onActivated:SF,onBeforeMount:BF,onBeforeUnmount:$f,onBeforeUpdate:xF,onDeactivated:AF,onErrorCaptured:OF,onMounted:zo,onRenderTracked:PF,onRenderTriggered:TF,onServerPrefetch:$F,onUnmounted:Tf,onUpdated:xf,openBlock:Rf,popScopeId:eE,provide:wF,pushScopeId:X9,queuePostFlushCb:Qc,registerRuntimeCompiler:lg,renderList:bE,renderSlot:EE,resolveComponent:yE,resolveDirective:wE,resolveDynamicComponent:kE,resolveFilter:gD,resolveTransitionHooks:ha,setBlockTracking:y1,setDevtoolsHook:pF,setTransitionHooks:os,ssrContextKey:gg,ssrUtils:FD,toHandlers:DE,transformVNodeArgs:qE,useAttrs:fD,useSSRContext:hD,useSlots:uD,useTransitionState:n1,version:yg,warn:fF,watch:No,watchEffect:dE,watchPostEffect:bF,watchSyncEffect:cE,withAsyncContext:cD,withCtx:Zc,withDefaults:oD,withDirectives:gE,withMemo:pD,withScopeId:nE},Symbol.toStringTag,{value:"Module"}));function O1(e){throw e}function iv(e){}function Ke(e,n,i,t){const r=e,s=new SyntaxError(String(r));return s.code=e,s.loc=n,s}const Ko=Symbol(""),Yo=Symbol(""),I1=Symbol(""),Gf=Symbol(""),tv=Symbol(""),ps=Symbol(""),rv=Symbol(""),sv=Symbol(""),N1=Symbol(""),L1=Symbol(""),Go=Symbol(""),j1=Symbol(""),av=Symbol(""),R1=Symbol(""),Jf=Symbol(""),z1=Symbol(""),H1=Symbol(""),U1=Symbol(""),V1=Symbol(""),ov=Symbol(""),uv=Symbol(""),Qf=Symbol(""),Zf=Symbol(""),W1=Symbol(""),q1=Symbol(""),Jo=Symbol(""),Qo=Symbol(""),K1=Symbol(""),Y1=Symbol(""),sC=Symbol(""),G1=Symbol(""),Xf=Symbol(""),aC=Symbol(""),oC=Symbol(""),J1=Symbol(""),uC=Symbol(""),fC=Symbol(""),Q1=Symbol(""),fv=Symbol(""),ga={[Ko]:"Fragment",[Yo]:"Teleport",[I1]:"Suspense",[Gf]:"KeepAlive",[tv]:"BaseTransition",[ps]:"openBlock",[rv]:"createBlock",[sv]:"createElementBlock",[N1]:"createVNode",[L1]:"createElementVNode",[Go]:"createCommentVNode",[j1]:"createTextVNode",[av]:"createStaticVNode",[R1]:"resolveComponent",[Jf]:"resolveDynamicComponent",[z1]:"resolveDirective",[H1]:"resolveFilter",[U1]:"withDirectives",[V1]:"renderList",[ov]:"renderSlot",[uv]:"createSlots",[Qf]:"toDisplayString",[Zf]:"mergeProps",[W1]:"normalizeClass",[q1]:"normalizeStyle",[Jo]:"normalizeProps",[Qo]:"guardReactiveProps",[K1]:"toHandlers",[Y1]:"camelize",[sC]:"capitalize",[G1]:"toHandlerKey",[Xf]:"setBlockTracking",[aC]:"pushScopeId",[oC]:"popScopeId",[J1]:"withCtx",[uC]:"unref",[fC]:"isRef",[Q1]:"withMemo",[fv]:"isMemoSame"};function lC(e){Object.getOwnPropertySymbols(e).forEach(n=>{ga[n]=e[n]})}const vi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function dC(e,n=vi){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:n}}function Zo(e,n,i,t,r,s,a,o=!1,u=!1,f=!1,l=vi){return e&&(o?(e.helper(ps),e.helper(wa(e.inSSR,f))):e.helper(ka(e.inSSR,f)),a&&e.helper(U1)),{type:13,tag:n,props:i,children:t,patchFlag:r,dynamicProps:s,directives:a,isBlock:o,disableTracking:u,isComponent:f,loc:l}}function Xo(e,n=vi){return{type:17,loc:n,elements:e}}function Pi(e,n=vi){return{type:15,loc:n,properties:e}}function Ge(e,n){return{type:16,loc:vi,key:pe(e)?ve(e,!0):e,value:n}}function ve(e,n=!1,i=vi,t=0){return{type:4,loc:i,content:e,isStatic:n,constType:n?3:t}}function Yi(e,n=vi){return{type:8,loc:n,children:e}}function rn(e,n=[],i=vi){return{type:14,loc:i,callee:e,arguments:n}}function va(e,n=void 0,i=!1,t=!1,r=vi){return{type:18,params:e,returns:n,newline:i,isSlot:t,loc:r}}function Z1(e,n,i,t=!0){return{type:19,test:e,consequent:n,alternate:i,newline:t,loc:vi}}function cC(e,n,i=!1){return{type:20,index:e,value:n,isVNode:i,loc:vi}}function hC(e){return{type:21,body:e,loc:vi}}const yi=e=>e.type===4&&e.isStatic,ya=(e,n)=>e===n||e===qi(n);function lv(e){if(ya(e,"Teleport"))return Yo;if(ya(e,"Suspense"))return I1;if(ya(e,"KeepAlive"))return Gf;if(ya(e,"BaseTransition"))return tv}const mC=/^\d|[^\$\w]/,X1=e=>!mC.test(e),pC=/[A-Za-z_$\xA0-\uFFFF]/,FC=/[\.\?\w$\xA0-\uFFFF]/,gC=/\s+[.[]\s*|\s*[.[]\s+/g,dv=e=>{e=e.trim().replace(gC,a=>a.trim());let n=0,i=[],t=0,r=0,s=null;for(let a=0;an.type===7&&n.name==="bind"&&(!n.arg||n.arg.type!==4||!n.arg.isStatic))}function e0(e){return e.type===5||e.type===2}function yC(e){return e.type===7&&e.name==="slot"}function tl(e){return e.type===1&&e.tagType===3}function rl(e){return e.type===1&&e.tagType===2}function ka(e,n){return e||n?N1:L1}function wa(e,n){return e||n?rv:sv}const kC=new Set([Jo,Qo]);function hv(e,n=[]){if(e&&!pe(e)&&e.type===14){const i=e.callee;if(!pe(i)&&kC.has(i))return hv(e.arguments[0],n.concat(e))}return[e,n]}function sl(e,n,i){let t,r=e.type===13?e.props:e.arguments[2],s=[],a;if(r&&!pe(r)&&r.type===14){const o=hv(r);r=o[0],s=o[1],a=s[s.length-1]}if(r==null||pe(r))t=Pi([n]);else if(r.type===14){const o=r.arguments[0];!pe(o)&&o.type===15?o.properties.unshift(n):r.callee===K1?t=rn(i.helper(Zf),[Pi([n]),r]):r.arguments.unshift(Pi([n])),!t&&(t=r)}else if(r.type===15){let o=!1;if(n.key.type===4){const u=n.key.content;o=r.properties.some(f=>f.key.type===4&&f.key.content===u)}o||r.properties.unshift(n),t=r}else t=rn(i.helper(Zf),[Pi([n]),r]),a&&a.callee===Qo&&(a=s[s.length-2]);e.type===13?a?a.arguments[0]=t:e.props=t:a?a.arguments[0]=t:e.arguments[2]=t}function eu(e,n){return`_${n}_${e.replace(/[^\w]/g,(i,t)=>i==="-"?"_":e.charCodeAt(t).toString())}`}function wC(e){return e.type===14&&e.callee===Q1?e.arguments[1].returns:e}function n0(e,{helper:n,removeHelper:i,inSSR:t}){e.isBlock||(e.isBlock=!0,i(ka(t,e.isComponent)),n(ps),n(wa(t,e.isComponent)))}function mv(e,n){const i=n.options?n.options.compatConfig:n.compatConfig,t=i&&i[e];return e==="MODE"?t||3:t}function gs(e,n){const i=mv("MODE",n),t=mv(e,n);return i===3?t===!0:t!==!1}function nu(e,n,i,...t){return gs(e,n)}const bC=/&(gt|lt|amp|apos|quot);/g,_C={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},pv={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:uf,isPreTag:uf,isCustomElement:uf,decodeEntities:e=>e.replace(bC,(n,i)=>_C[i]),onError:O1,onWarn:iv,comments:!1};function EC(e,n={}){const i=DC(e,n),t=ki(i);return dC(i0(i,0,[]),Ii(i,t))}function DC(e,n){const i=Te({},pv);let t;for(t in n)i[t]=n[t]===void 0?pv[t]:n[t];return{options:i,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:i.onWarn}}function i0(e,n,i){const t=al(i),r=t?t.ns:0,s=[];for(;!PC(e,n,i);){const o=e.source;let u;if(n===0||n===1){if(!e.inVPre&&$n(o,e.options.delimiters[0]))u=$C(e,n);else if(n===0&&o[0]==="<")if(o.length===1)Ie(e,5,1);else if(o[1]==="!")$n(o,"=0;){const f=a[o];f&&f.type===9&&(u+=f.branches.length)}return()=>{if(s)t.codegenNode=Bv(r,u,i);else{const f=s5(t.codegenNode);f.alternate=Bv(r,u+t.branches.length-1,i)}}}));function r5(e,n,i,t){if(n.name!=="else"&&(!n.exp||!n.exp.content.trim())){const r=n.exp?n.exp.loc:e.loc;i.onError(Ke(28,n.loc)),n.exp=ve("true",!1,r)}if(n.name==="if"){const r=Mv(e,n),s={type:9,loc:e.loc,branches:[r]};if(i.replaceNode(s),t)return t(s,r,!0)}else{const r=i.parent.children;let s=r.indexOf(e);for(;s-->=-1;){const a=r[s];if(a&&a.type===2&&!a.content.trim().length){i.removeNode(a);continue}if(a&&a.type===9){n.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&i.onError(Ke(30,e.loc)),i.removeNode();const o=Mv(e,n);a.branches.push(o);const u=t&&t(a,o,!1);ul(o,i),u&&u(),i.currentNode=null}else i.onError(Ke(30,e.loc));break}}}function Mv(e,n){const i=e.tagType===3;return{type:10,loc:e.loc,condition:n.name==="else"?void 0:n.exp,children:i&&!Oi(e,"for")?e.children:[e],userKey:il(e,"key"),isTemplateIf:i}}function Bv(e,n,i){return e.condition?Z1(e.condition,xv(e,n,i),rn(i.helper(Go),['""',"true"])):xv(e,n,i)}function xv(e,n,i){const{helper:t}=i,r=Ge("key",ve(`${n}`,!1,vi,2)),{children:s}=e,a=s[0];if(s.length!==1||a.type!==1)if(s.length===1&&a.type===11){const u=a.codegenNode;return sl(u,r,i),u}else{let u=64;return Zo(i,t(Ko),Pi([r]),s,u+"",void 0,void 0,!0,!1,!1,e.loc)}else{const u=a.codegenNode,f=wC(u);return f.type===13&&n0(f,i),sl(f,r,i),u}}function s5(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const a5=Dv("for",(e,n,i)=>{const{helper:t,removeHelper:r}=i;return o5(e,n,i,s=>{const a=rn(t(V1),[s.source]),o=tl(e),u=Oi(e,"memo"),f=il(e,"key"),l=f&&(f.type===6?ve(f.value.content,!0):f.exp),d=f?Ge("key",l):null,c=s.source.type===4&&s.source.constType>0,h=c?64:f?128:256;return s.codegenNode=Zo(i,t(Ko),void 0,a,h+"",void 0,void 0,!0,!c,!1,e.loc),()=>{let F;const{children:v}=s,y=v.length!==1||v[0].type!==1,p=rl(e)?e:o&&e.children.length===1&&rl(e.children[0])?e.children[0]:null;if(p?(F=p.codegenNode,o&&d&&sl(F,d,i)):y?F=Zo(i,t(Ko),d?Pi([d]):void 0,e.children,64+"",void 0,void 0,!0,void 0,!1):(F=v[0].codegenNode,o&&d&&sl(F,d,i),F.isBlock!==!c&&(F.isBlock?(r(ps),r(wa(i.inSSR,F.isComponent))):r(ka(i.inSSR,F.isComponent))),F.isBlock=!c,F.isBlock?(t(ps),t(wa(i.inSSR,F.isComponent))):t(ka(i.inSSR,F.isComponent))),u){const m=va(o0(s.parseResult,[ve("_cached")]));m.body=hC([Yi(["const _memo = (",u.exp,")"]),Yi(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${i.helperString(fv)}(_cached, _memo)) return _cached`]),Yi(["const _item = ",F]),ve("_item.memo = _memo"),ve("return _item")]),a.arguments.push(m,ve("_cache"),ve(String(i.cached++)))}else a.arguments.push(va(o0(s.parseResult),F,!0))}})});function o5(e,n,i,t){if(!n.exp){i.onError(Ke(31,n.loc));return}const r=Tv(n.exp);if(!r){i.onError(Ke(32,n.loc));return}const{addIdentifiers:s,removeIdentifiers:a,scopes:o}=i,{source:u,value:f,key:l,index:d}=r,c={type:11,loc:n.loc,source:u,valueAlias:f,keyAlias:l,objectIndexAlias:d,parseResult:r,children:tl(e)?e.children:[e]};i.replaceNode(c),o.vFor++;const h=t&&t(c);return()=>{o.vFor--,h&&h()}}const u5=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$v=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,f5=/^\(|\)$/g;function Tv(e,n){const i=e.loc,t=e.content,r=t.match(u5);if(!r)return;const[,s,a]=r,o={source:ll(i,a.trim(),t.indexOf(a,s.length)),value:void 0,key:void 0,index:void 0};let u=s.trim().replace(f5,"").trim();const f=s.indexOf(u),l=u.match($v);if(l){u=u.replace($v,"").trim();const d=l[1].trim();let c;if(d&&(c=t.indexOf(d,f+u.length),o.key=ll(i,d,c)),l[2]){const h=l[2].trim();h&&(o.index=ll(i,h,t.indexOf(h,o.key?c+d.length:f+u.length)))}}return u&&(o.value=ll(i,u,f)),o}function ll(e,n,i){return ve(n,!1,cv(e,i,n.length))}function o0({value:e,key:n,index:i},t=[]){return l5([e,n,i,...t])}function l5(e){let n=e.length;for(;n--&&!e[n];);return e.slice(0,n+1).map((i,t)=>i||ve("_".repeat(t+1),!1))}const Pv=ve("undefined",!1),d5=(e,n)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const i=Oi(e,"slot");if(i)return i.exp,n.scopes.vSlot++,()=>{n.scopes.vSlot--}}},c5=(e,n,i)=>va(e,n,!1,!0,n.length?n[0].loc:i);function h5(e,n,i=c5){n.helper(J1);const{children:t,loc:r}=e,s=[],a=[];let o=n.scopes.vSlot>0||n.scopes.vFor>0;const u=Oi(e,"slot",!0);if(u){const{arg:y,exp:p}=u;y&&!yi(y)&&(o=!0),s.push(Ge(y||ve("default",!0),i(p,t,r)))}let f=!1,l=!1;const d=[],c=new Set;let h=0;for(let y=0;y{const k=i(p,m,r);return n.compatConfig&&(k.isNonScopedSlot=!0),Ge("default",k)};f?d.length&&d.some(p=>Ov(p))&&(l?n.onError(Ke(39,d[0].loc)):s.push(y(void 0,d))):s.push(y(void 0,t))}const F=o?2:cl(e.children)?3:1;let v=Pi(s.concat(Ge("_",ve(F+"",!1))),r);return a.length&&(v=rn(n.helper(uv),[v,Xo(a)])),{slots:v,hasDynamicSlots:o}}function dl(e,n,i){const t=[Ge("name",e),Ge("fn",n)];return i!=null&&t.push(Ge("key",ve(String(i),!0))),Pi(t)}function cl(e){for(let n=0;nfunction(){if(e=n.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:t,props:r}=e,s=e.tagType===1;let a=s?p5(e,n):`"${t}"`;const o=Le(a)&&a.callee===Jf;let u,f,l,d=0,c,h,F,v=o||a===Yo||a===I1||!s&&(t==="svg"||t==="foreignObject");if(r.length>0){const y=Nv(e,n,void 0,s,o);u=y.props,d=y.patchFlag,h=y.dynamicPropNames;const p=y.directives;F=p&&p.length?Xo(p.map(m=>g5(m,n))):void 0,y.shouldUseBlock&&(v=!0)}if(e.children.length>0)if(a===Gf&&(v=!0,d|=1024),s&&a!==Yo&&a!==Gf){const{slots:p,hasDynamicSlots:m}=h5(e,n);f=p,m&&(d|=1024)}else if(e.children.length===1&&a!==Yo){const p=e.children[0],m=p.type,k=m===5||m===8;k&&wi(p,n)===0&&(d|=1),k||m===2?f=p:f=e.children}else f=e.children;d!==0&&(l=String(d),h&&h.length&&(c=v5(h))),e.codegenNode=Zo(n,a,u,f,l,c,F,!!v,!1,s,e.loc)};function p5(e,n,i=!1){let{tag:t}=e;const r=f0(t),s=il(e,"is");if(s)if(r||gs("COMPILER_IS_ON_ELEMENT",n)){const u=s.type===6?s.value&&ve(s.value.content,!0):s.exp;if(u)return rn(n.helper(Jf),[u])}else s.type===6&&s.value.content.startsWith("vue:")&&(t=s.value.content.slice(4));const a=!r&&Oi(e,"is");if(a&&a.exp)return rn(n.helper(Jf),[a.exp]);const o=lv(t)||n.isBuiltInComponent(t);return o?(i||n.helper(o),o):(n.helper(R1),n.components.add(t),eu(t,"component"))}function Nv(e,n,i=e.props,t,r,s=!1){const{tag:a,loc:o,children:u}=e;let f=[];const l=[],d=[],c=u.length>0;let h=!1,F=0,v=!1,y=!1,p=!1,m=!1,k=!1,w=!1;const D=[],E=({key:b,value:S})=>{if(yi(b)){const A=b.content,T=Gr(A);if(T&&(!t||r)&&A.toLowerCase()!=="onclick"&&A!=="onUpdate:modelValue"&&!Qr(A)&&(m=!0),T&&Qr(A)&&(w=!0),S.type===20||(S.type===4||S.type===8)&&wi(S,n)>0)return;A==="ref"?v=!0:A==="class"?y=!0:A==="style"?p=!0:A!=="key"&&!D.includes(A)&&D.push(A),t&&(A==="class"||A==="style")&&!D.includes(A)&&D.push(A)}else k=!0};for(let b=0;b0&&f.push(Ge(ve("ref_for",!0),ve("true")))),T==="is"&&(f0(a)||$&&$.content.startsWith("vue:")||gs("COMPILER_IS_ON_ELEMENT",n)))continue;f.push(Ge(ve(T,!0,cv(A,0,T.length)),ve($?$.content:"",z,$?$.loc:A)))}else{const{name:A,arg:T,exp:$,loc:z}=S,I=A==="bind",Z=A==="on";if(A==="slot"){t||n.onError(Ke(40,z));continue}if(A==="once"||A==="memo"||A==="is"||I&&Fs(T,"is")&&(f0(a)||gs("COMPILER_IS_ON_ELEMENT",n))||Z&&s)continue;if((I&&Fs(T,"key")||Z&&c&&Fs(T,"vue:before-update"))&&(h=!0),I&&Fs(T,"ref")&&n.scopes.vFor>0&&f.push(Ge(ve("ref_for",!0),ve("true"))),!T&&(I||Z)){if(k=!0,$)if(f.length&&(l.push(Pi(u0(f),o)),f=[]),I){if(gs("COMPILER_V_BIND_OBJECT_ORDER",n)){l.unshift($);continue}l.push($)}else l.push({type:14,loc:z,callee:n.helper(K1),arguments:t?[$]:[$,"true"]});else n.onError(Ke(I?34:35,z));continue}const J=n.directiveTransforms[A];if(J){const{props:oe,needRuntime:X}=J(S,e,n);!s&&oe.forEach(E),f.push(...oe),X&&(d.push(S),ir(X)&&Iv.set(S,X))}else Z6(A)||(d.push(S),c&&(h=!0))}}let C;if(l.length?(f.length&&l.push(Pi(u0(f),o)),l.length>1?C=rn(n.helper(Zf),l,o):C=l[0]):f.length&&(C=Pi(u0(f),o)),k?F|=16:(y&&!t&&(F|=2),p&&!t&&(F|=4),D.length&&(F|=8),m&&(F|=32)),!h&&(F===0||F===32)&&(v||w||d.length>0)&&(F|=512),!n.inSSR&&C)switch(C.type){case 15:let b=-1,S=-1,A=!1;for(let z=0;zGe(a,s)),r))}return Xo(i,e.loc)}function v5(e){let n="[";for(let i=0,t=e.length;i{const n=Object.create(null);return i=>n[i]||(n[i]=e(i))},k5=/-(\w)/g,Lv=y5(e=>e.replace(k5,(n,i)=>i?i.toUpperCase():"")),w5=(e,n)=>{if(rl(e)){const{children:i,loc:t}=e,{slotName:r,slotProps:s}=b5(e,n),a=[n.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let o=2;s&&(a[2]=s,o=3),i.length&&(a[3]=va([],i,!1,!1,t),o=4),n.scopeId&&!n.slotted&&(o=5),a.splice(o),e.codegenNode=rn(n.helper(ov),a,t)}};function b5(e,n){let i='"default"',t;const r=[];for(let s=0;s0){const{props:s,directives:a}=Nv(e,n,r,!1,!1);t=s,a.length&&n.onError(Ke(36,a[0].loc))}return{slotName:i,slotProps:t}}const _5=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,jv=(e,n,i,t)=>{const{loc:r,modifiers:s,arg:a}=e;!e.exp&&!s.length&&i.onError(Ke(35,r));let o;if(a.type===4)if(a.isStatic){let d=a.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const c=n.tagType===1||d.startsWith("vnode")||!/[A-Z]/.test(d)?oa(An(d)):`on:${d}`;o=ve(c,!0,a.loc)}else o=Yi([`${i.helperString(G1)}(`,a,")"]);else o=a,o.children.unshift(`${i.helperString(G1)}(`),o.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let f=i.cacheHandlers&&!u&&!i.inVOnce;if(u){const d=dv(u.content),c=!(d||_5.test(u.content)),h=u.content.includes(";");(c||f&&d)&&(u=Yi([`${c?"$event":"(...args)"} => ${h?"{":"("}`,u,h?"}":")"]))}let l={props:[Ge(o,u||ve("() => {}",!1,r))]};return t&&(l=t(l)),f&&(l.props[0].value=i.cache(l.props[0].value)),l.props.forEach(d=>d.key.isHandlerKey=!0),l},E5=(e,n,i)=>{const{exp:t,modifiers:r,loc:s}=e,a=e.arg;return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),r.includes("camel")&&(a.type===4?a.isStatic?a.content=An(a.content):a.content=`${i.helperString(Y1)}(${a.content})`:(a.children.unshift(`${i.helperString(Y1)}(`),a.children.push(")"))),i.inSSR||(r.includes("prop")&&Rv(a,"."),r.includes("attr")&&Rv(a,"^")),!t||t.type===4&&!t.content.trim()?(i.onError(Ke(34,s)),{props:[Ge(a,ve("",!0,s))]}):{props:[Ge(a,t)]}},Rv=(e,n)=>{e.type===4?e.isStatic?e.content=n+e.content:e.content=`\`${n}\${${e.content}}\``:(e.children.unshift(`'${n}' + (`),e.children.push(")"))},D5=(e,n)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const i=e.children;let t,r=!1;for(let s=0;ss.type===7&&!n.directiveTransforms[s.name])&&e.tag!=="template")))for(let s=0;s{if(e.type===1&&Oi(e,"once",!0))return zv.has(e)||n.inVOnce?void 0:(zv.add(e),n.inVOnce=!0,n.helper(Xf),()=>{n.inVOnce=!1;const i=n.currentNode;i.codegenNode&&(i.codegenNode=n.cache(i.codegenNode,!0))})},Hv=(e,n,i)=>{const{exp:t,arg:r}=e;if(!t)return i.onError(Ke(41,e.loc)),l0();const s=t.loc.source,a=t.type===4?t.content:s;i.bindingMetadata[s];const o=!1;if(!a.trim()||!dv(a)&&!o)return i.onError(Ke(42,t.loc)),l0();const u=r||ve("modelValue",!0),f=r?yi(r)?`onUpdate:${r.content}`:Yi(['"onUpdate:" + ',r]):"onUpdate:modelValue";let l;const d=i.isTS?"($event: any)":"$event";l=Yi([`${d} => ((`,t,") = $event)"]);const c=[Ge(u,e.exp),Ge(f,l)];if(e.modifiers.length&&n.tagType===1){const h=e.modifiers.map(v=>(X1(v)?v:JSON.stringify(v))+": true").join(", "),F=r?yi(r)?`${r.content}Modifiers`:Yi([r,' + "Modifiers"']):"modelModifiers";c.push(Ge(F,ve(`{ ${h} }`,!1,e.loc,2)))}return l0(c)};function l0(e=[]){return{props:e}}const S5=/[\w).+\-_$\]]/,A5=(e,n)=>{!gs("COMPILER_FILTER",n)||(e.type===5&&hl(e.content,n),e.type===1&&e.props.forEach(i=>{i.type===7&&i.name!=="for"&&i.exp&&hl(i.exp,n)}))};function hl(e,n){if(e.type===4)Uv(e,n);else for(let i=0;i=0&&(m=i.charAt(p),m===" ");p--);(!m||!S5.test(m))&&(a=!0)}}F===void 0?F=i.slice(0,h).trim():l!==0&&y();function y(){v.push(i.slice(l,h).trim()),l=h+1}if(v.length){for(h=0;h{if(e.type===1){const i=Oi(e,"memo");return!i||Vv.has(e)?void 0:(Vv.add(e),()=>{const t=e.codegenNode||n.currentNode.codegenNode;t&&t.type===13&&(e.tagType!==1&&n0(t,n),e.codegenNode=rn(n.helper(Q1),[i.exp,va(void 0,t),"_cache",String(n.cached++)]))})}};function x5(e){return[[C5,t5,B5,a5,A5,w5,m5,d5,D5],{on:jv,bind:E5,model:Hv}]}function $5(e,n={}){const i=n.onError||O1,t=n.mode==="module";n.prefixIdentifiers===!0?i(Ke(46)):t&&i(Ke(47));const r=!1;n.cacheHandlers&&i(Ke(48)),n.scopeId&&!t&&i(Ke(49));const s=pe(e)?EC(e,n):e,[a,o]=x5();return LC(s,Te({},n,{prefixIdentifiers:r,nodeTransforms:[...a,...n.nodeTransforms||[]],directiveTransforms:Te({},o,n.directiveTransforms||{})})),HC(s,Te({},n,{prefixIdentifiers:r}))}const T5=()=>({props:[]}),Wv=Symbol(""),qv=Symbol(""),Kv=Symbol(""),Yv=Symbol(""),d0=Symbol(""),Gv=Symbol(""),Jv=Symbol(""),Qv=Symbol(""),Zv=Symbol(""),Xv=Symbol("");lC({[Wv]:"vModelRadio",[qv]:"vModelCheckbox",[Kv]:"vModelText",[Yv]:"vModelSelect",[d0]:"vModelDynamic",[Gv]:"withModifiers",[Jv]:"withKeys",[Qv]:"vShow",[Zv]:"Transition",[Xv]:"TransitionGroup"});let ba;function P5(e,n=!1){return ba||(ba=document.createElement("div")),n?(ba.innerHTML=`
`,ba.children[0].getAttribute("foo")):(ba.innerHTML=e,ba.textContent)}const O5=ti("style,iframe,script,noscript",!0),I5={isVoidTag:q6,isNativeTag:e=>V6(e)||W6(e),isPreTag:e=>e==="pre",decodeEntities:P5,isBuiltInComponent:e=>{if(ya(e,"Transition"))return Zv;if(ya(e,"TransitionGroup"))return Xv},getNamespace(e,n){let i=n?n.ns:0;if(n&&i===2)if(n.tag==="annotation-xml"){if(e==="svg")return 1;n.props.some(t=>t.type===6&&t.name==="encoding"&&t.value!=null&&(t.value.content==="text/html"||t.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(n.tag)&&e!=="mglyph"&&e!=="malignmark"&&(i=0);else n&&i===1&&(n.tag==="foreignObject"||n.tag==="desc"||n.tag==="title")&&(i=0);if(i===0){if(e==="svg")return 1;if(e==="math")return 2}return i},getTextMode({tag:e,ns:n}){if(n===0){if(e==="textarea"||e==="title")return 1;if(O5(e))return 2}return 0}},N5=e=>{e.type===1&&e.props.forEach((n,i)=>{n.type===6&&n.name==="style"&&n.value&&(e.props[i]={type:7,name:"bind",arg:ve("style",!0,n.loc),exp:L5(n.value.content,n.loc),modifiers:[],loc:n.loc})})},L5=(e,n)=>{const i=$p(e);return ve(JSON.stringify(i),!1,n,3)};function Tt(e,n){return Ke(e,n)}const j5=(e,n,i)=>{const{exp:t,loc:r}=e;return t||i.onError(Tt(50,r)),n.children.length&&(i.onError(Tt(51,r)),n.children.length=0),{props:[Ge(ve("innerHTML",!0,r),t||ve("",!0))]}},R5=(e,n,i)=>{const{exp:t,loc:r}=e;return t||i.onError(Tt(52,r)),n.children.length&&(i.onError(Tt(53,r)),n.children.length=0),{props:[Ge(ve("textContent",!0),t?wi(t,i)>0?t:rn(i.helperString(Qf),[t],r):ve("",!0))]}},z5=(e,n,i)=>{const t=Hv(e,n,i);if(!t.props.length||n.tagType===1)return t;e.arg&&i.onError(Tt(55,e.arg.loc));const{tag:r}=n,s=i.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||s){let a=Kv,o=!1;if(r==="input"||s){const u=il(n,"type");if(u){if(u.type===7)a=d0;else if(u.value)switch(u.value.content){case"radio":a=Wv;break;case"checkbox":a=qv;break;case"file":o=!0,i.onError(Tt(56,e.loc));break}}else vC(n)&&(a=d0)}else r==="select"&&(a=Yv);o||(t.needRuntime=i.helper(a))}else i.onError(Tt(54,e.loc));return t.props=t.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),t},H5=ti("passive,once,capture"),U5=ti("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),V5=ti("left,right"),ey=ti("onkeyup,onkeydown,onkeypress",!0),W5=(e,n,i,t)=>{const r=[],s=[],a=[];for(let o=0;oyi(e)&&e.content.toLowerCase()==="onclick"?ve(n,!0):e.type!==4?Yi(["(",e,`) === "onClick" ? "${n}" : (`,e,")"]):e,q5=(e,n,i)=>jv(e,n,i,t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:s,value:a}=t.props[0];const{keyModifiers:o,nonKeyModifiers:u,eventOptionModifiers:f}=W5(s,r,i,e.loc);if(u.includes("right")&&(s=ny(s,"onContextmenu")),u.includes("middle")&&(s=ny(s,"onMouseup")),u.length&&(a=rn(i.helper(Gv),[a,JSON.stringify(u)])),o.length&&(!yi(s)||ey(s.content))&&(a=rn(i.helper(Jv),[a,JSON.stringify(o)])),f.length){const l=f.map(Zr).join("");s=yi(s)?ve(`${s.content}${l}`,!0):Yi(["(",s,`) + "${l}"`])}return{props:[Ge(s,a)]}}),K5=(e,n,i)=>{const{exp:t,loc:r}=e;return t||i.onError(Tt(58,r)),{props:[],needRuntime:i.helper(Qv)}},Y5=(e,n)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(n.onError(Tt(60,e.loc)),n.removeNode())},G5=[N5],J5={cloak:T5,html:j5,text:R5,model:z5,on:q5,show:K5};function Q5(e,n={}){return $5(e,Te({},I5,n,{nodeTransforms:[Y5,...G5,...n.nodeTransforms||[]],directiveTransforms:Te({},J5,n.directiveTransforms||{}),transformHoist:null}))}const iy=Object.create(null);function Z5(e,n){if(!pe(e))if(e.nodeType)e=e.innerHTML;else return Jn;const i=e,t=iy[i];if(t)return t;if(e[0]==="#"){const o=document.querySelector(e);e=o?o.innerHTML:""}const r=Te({hoistStatic:!0,onError:void 0,onWarn:Jn},n);!r.isCustomElement&&typeof customElements!="undefined"&&(r.isCustomElement=o=>!!customElements.get(o));const{code:s}=Q5(e,r),a=new Function("Vue",s)(rC);return a._rc=!0,iy[i]=a}lg(Z5);function ai(e,n){const i=Object.create(null),t=e.split(",");for(let r=0;r!!i[r.toLowerCase()]:r=>!!i[r]}const X5=ai("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),eS=ai("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ty(e){return!!e||e===""}function Pt(e){if(ne(e)){const n={};for(let i=0;i{if(i){const t=i.split(iS);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),n}function dn(e){let n="";if(Fe(e))n=e;else if(ne(e))for(let i=0;iFr(i,n))}const cn=e=>Fe(e)?e:e==null?"":ne(e)||je(e)&&(e.toString===oy||!he(e.toString))?JSON.stringify(e,sy,2):String(e),sy=(e,n)=>n&&n.__v_isRef?sy(e,n.value):Ea(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((i,[t,r])=>(i[`${t} =>`]=r,i),{})}:ys(n)?{[`Set(${n.size})`]:[...n.values()]}:je(n)&&!ne(n)&&!uy(n)?String(n):n,Pe={},_a=[],Zn=()=>{},pl=()=>!1,dS=/^on[^a-z]/,vs=e=>dS.test(e),c0=e=>e.startsWith("onUpdate:"),Oe=Object.assign,h0=(e,n)=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)},cS=Object.prototype.hasOwnProperty,Me=(e,n)=>cS.call(e,n),ne=Array.isArray,Ea=e=>au(e)==="[object Map]",ys=e=>au(e)==="[object Set]",ay=e=>au(e)==="[object Date]",he=e=>typeof e=="function",Fe=e=>typeof e=="string",gr=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",m0=e=>je(e)&&he(e.then)&&he(e.catch),oy=Object.prototype.toString,au=e=>oy.call(e),hS=e=>au(e).slice(8,-1),uy=e=>au(e)==="[object Object]",p0=e=>Fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ks=ai(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mS=ai("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Fl=e=>{const n=Object.create(null);return i=>n[i]||(n[i]=e(i))},pS=/-(\w)/g,Pn=Fl(e=>e.replace(pS,(n,i)=>i?i.toUpperCase():"")),FS=/\B([A-Z])/g,Gi=Fl(e=>e.replace(FS,"-$1").toLowerCase()),ws=Fl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Da=Fl(e=>e?`on${ws(e)}`:""),Ca=(e,n)=>!Object.is(e,n),Sa=(e,n)=>{for(let i=0;i{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:i})},vr=e=>{const n=parseFloat(e);return isNaN(n)?e:n};let fy;const gS=()=>fy||(fy=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let bi;class F0{constructor(n=!1){this.active=!0,this.effects=[],this.cleanups=[],!n&&bi&&(this.parent=bi,this.index=(bi.scopes||(bi.scopes=[])).push(this)-1)}run(n){if(this.active){const i=bi;try{return bi=this,n()}finally{bi=i}}}on(){bi=this}off(){bi=this.parent}stop(n){if(this.active){let i,t;for(i=0,t=this.effects.length;i{const n=new Set(e);return n.w=0,n.n=0,n},hy=e=>(e.w&yr)>0,my=e=>(e.n&yr)>0,yS=({deps:e})=>{if(e.length)for(let n=0;n{const{deps:n}=e;if(n.length){let i=0;for(let t=0;t{(f==="length"||f>=t)&&o.push(u)});else switch(i!==void 0&&o.push(a.get(i)),n){case"add":ne(e)?p0(i)&&o.push(a.get("length")):(o.push(a.get(bs)),Ea(e)&&o.push(a.get(k0)));break;case"delete":ne(e)||(o.push(a.get(bs)),Ea(e)&&o.push(a.get(k0)));break;case"set":Ea(e)&&o.push(a.get(bs));break}if(o.length===1)o[0]&&w0(o[0]);else{const u=[];for(const f of o)f&&u.push(...f);w0(g0(u))}}function w0(e,n){const i=ne(e)?e:[...e];for(const t of i)t.computed&&vy(t);for(const t of i)t.computed||vy(t)}function vy(e,n){(e!==Ji||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const _S=ai("__proto__,__v_isRef,__isVue"),yy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gr)),ES=vl(),DS=vl(!1,!0),CS=vl(!0),SS=vl(!0,!0),ky=AS();function AS(){const e={};return["includes","indexOf","lastIndexOf"].forEach(n=>{e[n]=function(...i){const t=De(this);for(let s=0,a=this.length;s{e[n]=function(...i){_s();const t=De(this)[n].apply(this,i);return Es(),t}}),e}function vl(e=!1,n=!1){return function(t,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return n;if(r==="__v_raw"&&s===(e?n?xy:By:n?My:Ay).get(t))return t;const a=ne(t);if(!e&&a&&Me(ky,r))return Reflect.get(ky,r,s);const o=Reflect.get(t,r,s);return(gr(r)?yy.has(r):_S(r))||(e||_i(t,"get",r),n)?o:Ve(o)?a&&p0(r)?o:o.value:je(o)?e?Cl(o):me(o):o}}const MS=wy(),BS=wy(!0);function wy(e=!1){return function(i,t,r,s){let a=i[t];if(Cs(a)&&Ve(a)&&!Ve(r))return!1;if(!e&&(!fu(r)&&!Cs(r)&&(a=De(a),r=De(r)),!ne(i)&&Ve(a)&&!Ve(r)))return a.value=r,!0;const o=ne(i)&&p0(t)?Number(t)e,yl=e=>Reflect.getPrototypeOf(e);function kl(e,n,i=!1,t=!1){e=e.__v_raw;const r=De(e),s=De(n);i||(n!==s&&_i(r,"get",n),_i(r,"get",s));const{has:a}=yl(r),o=t?b0:i?D0:lu;if(a.call(r,n))return o(e.get(n));if(a.call(r,s))return o(e.get(s));e!==r&&e.get(n)}function wl(e,n=!1){const i=this.__v_raw,t=De(i),r=De(e);return n||(e!==r&&_i(t,"has",e),_i(t,"has",r)),e===r?i.has(e):i.has(e)||i.has(r)}function bl(e,n=!1){return e=e.__v_raw,!n&&_i(De(e),"iterate",bs),Reflect.get(e,"size",e)}function Ey(e){e=De(e);const n=De(this);return yl(n).has.call(n,e)||(n.add(e),Ot(n,"add",e,e)),this}function Dy(e,n){n=De(n);const i=De(this),{has:t,get:r}=yl(i);let s=t.call(i,e);s||(e=De(e),s=t.call(i,e));const a=r.call(i,e);return i.set(e,n),s?Ca(n,a)&&Ot(i,"set",e,n):Ot(i,"add",e,n),this}function Cy(e){const n=De(this),{has:i,get:t}=yl(n);let r=i.call(n,e);r||(e=De(e),r=i.call(n,e)),t&&t.call(n,e);const s=n.delete(e);return r&&Ot(n,"delete",e,void 0),s}function Sy(){const e=De(this),n=e.size!==0,i=e.clear();return n&&Ot(e,"clear",void 0,void 0),i}function _l(e,n){return function(t,r){const s=this,a=s.__v_raw,o=De(a),u=n?b0:e?D0:lu;return!e&&_i(o,"iterate",bs),a.forEach((f,l)=>t.call(r,u(f),u(l),s))}}function El(e,n,i){return function(...t){const r=this.__v_raw,s=De(r),a=Ea(s),o=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,f=r[e](...t),l=i?b0:n?D0:lu;return!n&&_i(s,"iterate",u?k0:bs),{next(){const{value:d,done:c}=f.next();return c?{value:d,done:c}:{value:o?[l(d[0]),l(d[1])]:l(d),done:c}},[Symbol.iterator](){return this}}}}function wr(e){return function(...n){return e==="delete"?!1:this}}function IS(){const e={get(s){return kl(this,s)},get size(){return bl(this)},has:wl,add:Ey,set:Dy,delete:Cy,clear:Sy,forEach:_l(!1,!1)},n={get(s){return kl(this,s,!1,!0)},get size(){return bl(this)},has:wl,add:Ey,set:Dy,delete:Cy,clear:Sy,forEach:_l(!1,!0)},i={get(s){return kl(this,s,!0)},get size(){return bl(this,!0)},has(s){return wl.call(this,s,!0)},add:wr("add"),set:wr("set"),delete:wr("delete"),clear:wr("clear"),forEach:_l(!0,!1)},t={get(s){return kl(this,s,!0,!0)},get size(){return bl(this,!0)},has(s){return wl.call(this,s,!0)},add:wr("add"),set:wr("set"),delete:wr("delete"),clear:wr("clear"),forEach:_l(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=El(s,!1,!1),i[s]=El(s,!0,!1),n[s]=El(s,!1,!0),t[s]=El(s,!0,!0)}),[e,i,n,t]}const[NS,LS,jS,RS]=IS();function Dl(e,n){const i=n?e?RS:jS:e?LS:NS;return(t,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?t:Reflect.get(Me(i,r)&&r in t?i:t,r,s)}const zS={get:Dl(!1,!1)},HS={get:Dl(!1,!0)},US={get:Dl(!0,!1)},VS={get:Dl(!0,!0)},Ay=new WeakMap,My=new WeakMap,By=new WeakMap,xy=new WeakMap;function WS(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qS(e){return e.__v_skip||!Object.isExtensible(e)?0:WS(hS(e))}function me(e){return Cs(e)?e:Sl(e,!1,by,zS,Ay)}function $y(e){return Sl(e,!1,PS,HS,My)}function Cl(e){return Sl(e,!0,_y,US,By)}function KS(e){return Sl(e,!0,OS,VS,xy)}function Sl(e,n,i,t,r){if(!je(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const a=qS(e);if(a===0)return e;const o=new Proxy(e,a===2?t:i);return r.set(e,o),o}function Ds(e){return Cs(e)?Ds(e.__v_raw):!!(e&&e.__v_isReactive)}function Cs(e){return!!(e&&e.__v_isReadonly)}function fu(e){return!!(e&&e.__v_isShallow)}function _0(e){return Ds(e)||Cs(e)}function De(e){const n=e&&e.__v_raw;return n?De(n):e}function E0(e){return gl(e,"__v_skip",!0),e}const lu=e=>je(e)?me(e):e,D0=e=>je(e)?Cl(e):e;function C0(e){kr&&Ji&&(e=De(e),gy(e.dep||(e.dep=g0())))}function Al(e,n){e=De(e),e.dep&&w0(e.dep)}function Ve(e){return!!(e&&e.__v_isRef===!0)}function j(e){return Ty(e,!1)}function Aa(e){return Ty(e,!0)}function Ty(e,n){return Ve(e)?e:new YS(e,n)}class YS{constructor(n,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?n:De(n),this._value=i?n:lu(n)}get value(){return C0(this),this._value}set value(n){const i=this.__v_isShallow||fu(n)||Cs(n);n=i?n:De(n),Ca(n,this._rawValue)&&(this._rawValue=n,this._value=i?n:lu(n),Al(this))}}function GS(e){Al(e)}function q(e){return Ve(e)?e.value:e}const JS={get:(e,n,i)=>q(Reflect.get(e,n,i)),set:(e,n,i,t)=>{const r=e[n];return Ve(r)&&!Ve(i)?(r.value=i,!0):Reflect.set(e,n,i,t)}};function S0(e){return Ds(e)?e:new Proxy(e,JS)}class QS{constructor(n){this.dep=void 0,this.__v_isRef=!0;const{get:i,set:t}=n(()=>C0(this),()=>Al(this));this._get=i,this._set=t}get value(){return this._get()}set value(n){this._set(n)}}function Py(e){return new QS(e)}function Ml(e){const n=ne(e)?new Array(e.length):{};for(const i in e)n[i]=Bl(e,i);return n}class ZS{constructor(n,i,t){this._object=n,this._key=i,this._defaultValue=t,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}}function Bl(e,n,i){const t=e[n];return Ve(t)?t:new ZS(e,n,i)}var Oy;class XS{constructor(n,i,t,r){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this[Oy]=!1,this._dirty=!0,this.effect=new uu(n,()=>{this._dirty||(this._dirty=!0,Al(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=t}get value(){const n=De(this);return C0(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}Oy="__v_isReadonly";function e8(e,n,i=!1){let t,r;const s=he(e);return s?(t=e,r=Zn):(t=e.get,r=e.set),new XS(t,r,s||!r,i)}const du=[];function Iy(e,...n){_s();const i=du.length?du[du.length-1].component:null,t=i&&i.appContext.config.warnHandler,r=n8();if(t)lt(t,i,11,[e+n.join(""),i&&i.proxy,r.map(({vnode:s})=>`at <${j2(i,s.type)}>`).join(` -`),r]);else{const s=[`[Vue warn]: ${e}`,...n];r.length&&s.push(` -`,...i8(r)),console.warn(...s)}Es()}function n8(){let e=du[du.length-1];if(!e)return[];const n=[];for(;e;){const i=n[0];i&&i.vnode===e?i.recurseCount++:n.push({vnode:e,recurseCount:0});const t=e.component&&e.component.parent;e=t&&t.vnode}return n}function i8(e){const n=[];return e.forEach((i,t)=>{n.push(...t===0?[]:[` -`],...t8(i))}),n}function t8({vnode:e,recurseCount:n}){const i=n>0?`... (${n} recursive calls)`:"",t=e.component?e.component.parent==null:!1,r=` at <${j2(e.component,e.type,t)}`,s=">"+i;return e.props?[r,...r8(e.props),s]:[r+s]}function r8(e){const n=[],i=Object.keys(e);return i.slice(0,3).forEach(t=>{n.push(...Ny(t,e[t]))}),i.length>3&&n.push(" ..."),n}function Ny(e,n,i){return Fe(n)?(n=JSON.stringify(n),i?n:[`${e}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?i?n:[`${e}=${n}`]:Ve(n)?(n=Ny(e,De(n.value),!0),i?n:[`${e}=Ref<`,n,">"]):he(n)?[`${e}=fn${n.name?`<${n.name}>`:""}`]:(n=De(n),i?n:[`${e}=`,n])}function lt(e,n,i,t){let r;try{r=t?e(...t):e()}catch(s){Ss(s,n,i)}return r}function Ei(e,n,i,t){if(he(e)){const s=lt(e,n,i,t);return s&&m0(s)&&s.catch(a=>{Ss(a,n,i)}),s}const r=[];for(let s=0;s>>1;hu(On[t])dt&&On.splice(n,1)}function B0(e){ne(e)?Ma.push(...e):(!It||!It.includes(e,e.allowRecurse?As+1:As))&&Ma.push(e),jy()}function Ry(e,n=cu?dt+1:0){for(;nhu(i)-hu(t)),As=0;Ase.id==null?1/0:e.id,u8=(e,n)=>{const i=hu(e)-hu(n);if(i===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return i};function zy(e){A0=!1,cu=!0,On.sort(u8);const n=Zn;try{for(dt=0;dtxa.emit(r,...s)),Tl=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((t=(i=window.navigator)===null||i===void 0?void 0:i.userAgent)===null||t===void 0)&&t.includes("jsdom"))?((n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Hy(s,n)}),setTimeout(()=>{xa||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Tl=[])},3e3)):Tl=[]}function f8(e,n,...i){if(e.isUnmounted)return;const t=e.vnode.props||Pe;let r=i;const s=n.startsWith("update:"),a=s&&n.slice(7);if(a&&a in t){const l=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:c}=t[l]||Pe;c&&(r=i.map(h=>h.trim())),d&&(r=i.map(vr))}let o,u=t[o=Da(n)]||t[o=Da(Pn(n))];!u&&s&&(u=t[o=Da(Gi(n))]),u&&Ei(u,e,6,r);const f=t[o+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Ei(f,e,6,r)}}function Uy(e,n,i=!1){const t=n.emitsCache,r=t.get(e);if(r!==void 0)return r;const s=e.emits;let a={},o=!1;if(!he(e)){const u=f=>{const l=Uy(f,n,!0);l&&(o=!0,Oe(a,l))};!i&&n.mixins.length&&n.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!o?(je(e)&&t.set(e,null),null):(ne(s)?s.forEach(u=>a[u]=null):Oe(a,s),je(e)&&t.set(e,a),a)}function Pl(e,n){return!e||!vs(n)?!1:(n=n.slice(2).replace(/Once$/,""),Me(e,n[0].toLowerCase()+n.slice(1))||Me(e,Gi(n))||Me(e,n))}let In=null,Ol=null;function mu(e){const n=In;return In=e,Ol=e&&e.type.__scopeId||null,n}function l8(e){Ol=e}function d8(){Ol=null}const c8=e=>Re;function Re(e,n=In,i){if(!n||e._n)return e;const t=(...r)=>{t._d&&Q0(-1);const s=mu(n),a=e(...r);return mu(s),t._d&&Q0(1),a};return t._n=!0,t._c=!0,t._d=!0,t}function Hz(){}function Il(e){const{type:n,vnode:i,proxy:t,withProxy:r,props:s,propsOptions:[a],slots:o,attrs:u,emit:f,render:l,renderCache:d,data:c,setupState:h,ctx:F,inheritAttrs:v}=e;let y,p;const m=mu(e);try{if(i.shapeFlag&4){const w=r||t;y=Di(l.call(w,w,d,s,h,c,F)),p=u}else{const w=n;y=Di(w.length>1?w(s,{attrs:u,slots:o,emit:f}):w(s,null)),p=n.props?u:m8(u)}}catch(w){ku.length=0,Ss(w,e,1),y=ie(Nn)}let k=y;if(p&&v!==!1){const w=Object.keys(p),{shapeFlag:D}=k;w.length&&D&7&&(a&&w.some(c0)&&(p=p8(p,a)),k=Qi(k,p))}return i.dirs&&(k=Qi(k),k.dirs=k.dirs?k.dirs.concat(i.dirs):i.dirs),i.transition&&(k.transition=i.transition),y=k,mu(m),y}function h8(e){let n;for(let i=0;i{let n;for(const i in e)(i==="class"||i==="style"||vs(i))&&((n||(n={}))[i]=e[i]);return n},p8=(e,n)=>{const i={};for(const t in e)(!c0(t)||!(t.slice(9)in n))&&(i[t]=e[t]);return i};function F8(e,n,i){const{props:t,children:r,component:s}=e,{props:a,children:o,patchFlag:u}=n,f=s.emitsOptions;if(n.dirs||n.transition)return!0;if(i&&u>=0){if(u&1024)return!0;if(u&16)return t?Vy(t,a,f):!!a;if(u&8){const l=n.dynamicProps;for(let d=0;de.__isSuspense,g8={name:"Suspense",__isSuspense:!0,process(e,n,i,t,r,s,a,o,u,f){e==null?v8(n,i,t,r,s,a,o,u,f):y8(e,n,i,t,r,a,o,u,f)},hydrate:k8,create:$0,normalize:w8};function pu(e,n){const i=e.props&&e.props[n];he(i)&&i()}function v8(e,n,i,t,r,s,a,o,u){const{p:f,o:{createElement:l}}=u,d=l("div"),c=e.suspense=$0(e,r,t,n,d,i,s,a,o,u);f(null,c.pendingBranch=e.ssContent,d,null,t,c,s,a),c.deps>0?(pu(e,"onPending"),pu(e,"onFallback"),f(null,e.ssFallback,n,i,t,null,s,a),$a(c,e.ssFallback)):c.resolve()}function y8(e,n,i,t,r,s,a,o,{p:u,um:f,o:{createElement:l}}){const d=n.suspense=e.suspense;d.vnode=n,n.el=e.el;const c=n.ssContent,h=n.ssFallback,{activeBranch:F,pendingBranch:v,isInFallback:y,isHydrating:p}=d;if(v)d.pendingBranch=c,mt(c,v)?(u(v,c,d.hiddenContainer,null,r,d,s,a,o),d.deps<=0?d.resolve():y&&(u(F,h,i,t,r,null,s,a,o),$a(d,h))):(d.pendingId++,p?(d.isHydrating=!1,d.activeBranch=v):f(v,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=l("div"),y?(u(null,c,d.hiddenContainer,null,r,d,s,a,o),d.deps<=0?d.resolve():(u(F,h,i,t,r,null,s,a,o),$a(d,h))):F&&mt(c,F)?(u(F,c,i,t,r,d,s,a,o),d.resolve(!0)):(u(null,c,d.hiddenContainer,null,r,d,s,a,o),d.deps<=0&&d.resolve()));else if(F&&mt(c,F))u(F,c,i,t,r,d,s,a,o),$a(d,c);else if(pu(n,"onPending"),d.pendingBranch=c,d.pendingId++,u(null,c,d.hiddenContainer,null,r,d,s,a,o),d.deps<=0)d.resolve();else{const{timeout:m,pendingId:k}=d;m>0?setTimeout(()=>{d.pendingId===k&&d.fallback(h)},m):m===0&&d.fallback(h)}}function $0(e,n,i,t,r,s,a,o,u,f,l=!1){const{p:d,m:c,um:h,n:F,o:{parentNode:v,remove:y}}=f,p=vr(e.props&&e.props.timeout),m={vnode:e,parent:n,parentComponent:i,isSVG:a,container:t,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:l,isUnmounted:!1,effects:[],resolve(k=!1){const{vnode:w,activeBranch:D,pendingBranch:E,pendingId:C,effects:b,parentComponent:S,container:A}=m;if(m.isHydrating)m.isHydrating=!1;else if(!k){const z=D&&E.transition&&E.transition.mode==="out-in";z&&(D.transition.afterLeave=()=>{C===m.pendingId&&c(E,A,I,0)});let{anchor:I}=m;D&&(I=F(D),h(D,S,m,!0)),z||c(E,A,I,0)}$a(m,E),m.pendingBranch=null,m.isInFallback=!1;let T=m.parent,$=!1;for(;T;){if(T.pendingBranch){T.effects.push(...b),$=!0;break}T=T.parent}$||B0(b),m.effects=[],pu(w,"onResolve")},fallback(k){if(!m.pendingBranch)return;const{vnode:w,activeBranch:D,parentComponent:E,container:C,isSVG:b}=m;pu(w,"onFallback");const S=F(D),A=()=>{!m.isInFallback||(d(null,k,C,S,E,null,b,o,u),$a(m,k))},T=k.transition&&k.transition.mode==="out-in";T&&(D.transition.afterLeave=A),m.isInFallback=!0,h(D,E,null,!0),T||A()},move(k,w,D){m.activeBranch&&c(m.activeBranch,k,w,D),m.container=k},next(){return m.activeBranch&&F(m.activeBranch)},registerDep(k,w){const D=!!m.pendingBranch;D&&m.deps++;const E=k.vnode.el;k.asyncDep.catch(C=>{Ss(C,k,0)}).then(C=>{if(k.isUnmounted||m.isUnmounted||m.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:b}=k;X0(k,C,!1),E&&(b.el=E);const S=!E&&k.subTree.el;w(k,b,v(E||k.subTree.el),E?null:F(k.subTree),m,a,u),S&&y(S),x0(k,b.el),D&&--m.deps===0&&m.resolve()})},unmount(k,w){m.isUnmounted=!0,m.activeBranch&&h(m.activeBranch,i,k,w),m.pendingBranch&&h(m.pendingBranch,i,k,w)}};return m}function k8(e,n,i,t,r,s,a,o,u){const f=n.suspense=$0(n,t,i,e.parentNode,document.createElement("div"),null,r,s,a,o,!0),l=u(e,f.pendingBranch=n.ssContent,i,f,s,a);return f.deps===0&&f.resolve(),l}function w8(e){const{shapeFlag:n,children:i}=e,t=n&32;e.ssContent=qy(t?i.default:i),e.ssFallback=t?qy(i.fallback):ie(Nn)}function qy(e){let n;if(he(e)){const i=Os&&e._c;i&&(e._d=!1,ae()),e=e(),i&&(e._d=!0,n=oi,A2())}return ne(e)&&(e=h8(e)),e=Di(e),n&&!e.dynamicChildren&&(e.dynamicChildren=n.filter(i=>i!==e)),e}function Ky(e,n){n&&n.pendingBranch?ne(e)?n.effects.push(...e):n.effects.push(e):B0(e)}function $a(e,n){e.activeBranch=n;const{vnode:i,parentComponent:t}=e,r=i.el=n.el;t&&t.subTree===i&&(t.vnode.el=r,x0(t,r))}function Ni(e,n){if(fn){let i=fn.provides;const t=fn.parent&&fn.parent.provides;t===i&&(i=fn.provides=Object.create(t)),i[e]=n}}function wn(e,n,i=!1){const t=fn||In;if(t){const r=t.parent==null?t.vnode.appContext&&t.vnode.appContext.provides:t.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return i&&he(n)?n.call(t.proxy):n}}function ct(e,n){return Fu(e,null,n)}function Yy(e,n){return Fu(e,null,{flush:"post"})}function b8(e,n){return Fu(e,null,{flush:"sync"})}const Gy={};function Be(e,n,i){return Fu(e,n,i)}function Fu(e,n,{immediate:i,deep:t,flush:r,onTrack:s,onTrigger:a}=Pe){const o=fn;let u,f=!1,l=!1;if(Ve(e)?(u=()=>e.value,f=fu(e)):Ds(e)?(u=()=>e,t=!0):ne(e)?(l=!0,f=e.some(p=>Ds(p)||fu(p)),u=()=>e.map(p=>{if(Ve(p))return p.value;if(Ds(p))return Ms(p);if(he(p))return lt(p,o,2)})):he(e)?n?u=()=>lt(e,o,2):u=()=>{if(!(o&&o.isUnmounted))return d&&d(),Ei(e,o,3,[c])}:u=Zn,n&&t){const p=u;u=()=>Ms(p())}let d,c=p=>{d=y.onStop=()=>{lt(p,o,4)}};if(Oa)return c=Zn,n?i&&Ei(n,o,3,[u(),l?[]:void 0,c]):u(),Zn;let h=l?[]:Gy;const F=()=>{if(!!y.active)if(n){const p=y.run();(t||f||(l?p.some((m,k)=>Ca(m,h[k])):Ca(p,h)))&&(d&&d(),Ei(n,o,3,[p,h===Gy?void 0:h,c]),h=p)}else y.run()};F.allowRecurse=!!n;let v;r==="sync"?v=F:r==="post"?v=()=>bn(F,o&&o.suspense):(F.pre=!0,o&&(F.id=o.uid),v=()=>xl(F));const y=new uu(u,v);return n?i?F():h=y.run():r==="post"?bn(y.run.bind(y),o&&o.suspense):y.run(),()=>{y.stop(),o&&o.scope&&h0(o.scope.effects,y)}}function _8(e,n,i){const t=this.proxy,r=Fe(e)?e.includes(".")?Jy(t,e):()=>t[e]:e.bind(t,t);let s;he(n)?s=n:(s=n.handler,i=n);const a=fn;Sr(this);const o=Fu(r,s.bind(t),i);return a?Sr(a):Ar(),o}function Jy(e,n){const i=n.split(".");return()=>{let t=e;for(let r=0;r{Ms(i,n)});else if(uy(e))for(const i in e)Ms(e[i],n);return e}function T0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return br(()=>{e.isMounted=!0}),Rl(()=>{e.isUnmounting=!0}),e}const Li=[Function,Array],P0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Li,onEnter:Li,onAfterEnter:Li,onEnterCancelled:Li,onBeforeLeave:Li,onLeave:Li,onAfterLeave:Li,onLeaveCancelled:Li,onBeforeAppear:Li,onAppear:Li,onAfterAppear:Li,onAppearCancelled:Li},setup(e,{slots:n}){const i=pt(),t=T0();let r;return()=>{const s=n.default&&Nl(n.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){for(const v of s)if(v.type!==Nn){a=v;break}}const o=De(e),{mode:u}=o;if(t.isLeaving)return O0(a);const f=Zy(a);if(!f)return O0(a);const l=Ta(f,o,t,i);Bs(f,l);const d=i.subTree,c=d&&Zy(d);let h=!1;const{getTransitionKey:F}=f.type;if(F){const v=F();r===void 0?r=v:v!==r&&(r=v,h=!0)}if(c&&c.type!==Nn&&(!mt(f,c)||h)){const v=Ta(c,o,t,i);if(Bs(c,v),u==="out-in")return t.isLeaving=!0,v.afterLeave=()=>{t.isLeaving=!1,i.update()},O0(a);u==="in-out"&&f.type!==Nn&&(v.delayLeave=(y,p,m)=>{const k=Qy(t,c);k[String(c.key)]=c,y._leaveCb=()=>{p(),y._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=m})}return a}}};function Qy(e,n){const{leavingVNodes:i}=e;let t=i.get(n.type);return t||(t=Object.create(null),i.set(n.type,t)),t}function Ta(e,n,i,t){const{appear:r,mode:s,persisted:a=!1,onBeforeEnter:o,onEnter:u,onAfterEnter:f,onEnterCancelled:l,onBeforeLeave:d,onLeave:c,onAfterLeave:h,onLeaveCancelled:F,onBeforeAppear:v,onAppear:y,onAfterAppear:p,onAppearCancelled:m}=n,k=String(e.key),w=Qy(i,e),D=(b,S)=>{b&&Ei(b,t,9,S)},E=(b,S)=>{const A=S[1];D(b,S),ne(b)?b.every(T=>T.length<=1)&&A():b.length<=1&&A()},C={mode:s,persisted:a,beforeEnter(b){let S=o;if(!i.isMounted)if(r)S=v||o;else return;b._leaveCb&&b._leaveCb(!0);const A=w[k];A&&mt(e,A)&&A.el._leaveCb&&A.el._leaveCb(),D(S,[b])},enter(b){let S=u,A=f,T=l;if(!i.isMounted)if(r)S=y||u,A=p||f,T=m||l;else return;let $=!1;const z=b._enterCb=I=>{$||($=!0,I?D(T,[b]):D(A,[b]),C.delayedLeave&&C.delayedLeave(),b._enterCb=void 0)};S?E(S,[b,z]):z()},leave(b,S){const A=String(e.key);if(b._enterCb&&b._enterCb(!0),i.isUnmounting)return S();D(d,[b]);let T=!1;const $=b._leaveCb=z=>{T||(T=!0,S(),z?D(F,[b]):D(h,[b]),b._leaveCb=void 0,w[A]===e&&delete w[A])};w[A]=e,c?E(c,[b,$]):$()},clone(b){return Ta(b,n,i,t)}};return C}function O0(e){if(gu(e))return e=Qi(e),e.children=null,e}function Zy(e){return gu(e)?e.children?e.children[0]:void 0:e}function Bs(e,n){e.shapeFlag&6&&e.component?Bs(e.component.subTree,n):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function Nl(e,n=!1,i){let t=[],r=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader;function E8(e){he(e)&&(e={loader:e});const{loader:n,loadingComponent:i,errorComponent:t,delay:r=200,timeout:s,suspensible:a=!0,onError:o}=e;let u=null,f,l=0;const d=()=>(l++,u=null,c()),c=()=>{let h;return u||(h=u=n().catch(F=>{if(F=F instanceof Error?F:new Error(String(F)),o)return new Promise((v,y)=>{o(F,()=>v(d()),()=>y(F),l+1)});throw F}).then(F=>h!==u&&u?u:(F&&(F.__esModule||F[Symbol.toStringTag]==="Module")&&(F=F.default),f=F,F)))};return te({name:"AsyncComponentWrapper",__asyncLoader:c,get __asyncResolved(){return f},setup(){const h=fn;if(f)return()=>I0(f,h);const F=m=>{u=null,Ss(m,h,13,!t)};if(a&&h.suspense||Oa)return c().then(m=>()=>I0(m,h)).catch(m=>(F(m),()=>t?ie(t,{error:m}):null));const v=j(!1),y=j(),p=j(!!r);return r&&setTimeout(()=>{p.value=!1},r),s!=null&&setTimeout(()=>{if(!v.value&&!y.value){const m=new Error(`Async component timed out after ${s}ms.`);F(m),y.value=m}},s),c().then(()=>{v.value=!0,h.parent&&gu(h.parent.vnode)&&xl(h.parent.update)}).catch(m=>{F(m),y.value=m}),()=>{if(v.value&&f)return I0(f,h);if(y.value&&t)return ie(t,{error:y.value});if(i&&!p.value)return ie(i)}}})}function I0(e,{vnode:{ref:n,props:i,children:t,shapeFlag:r},parent:s}){const a=ie(e,i,t);return a.ref=n,a}const gu=e=>e.type.__isKeepAlive,D8={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:n}){const i=pt(),t=i.ctx;if(!t.renderer)return()=>{const m=n.default&&n.default();return m&&m.length===1?m[0]:m};const r=new Map,s=new Set;let a=null;const o=i.suspense,{renderer:{p:u,m:f,um:l,o:{createElement:d}}}=t,c=d("div");t.activate=(m,k,w,D,E)=>{const C=m.component;f(m,k,w,0,o),u(C.vnode,m,k,w,C,o,D,m.slotScopeIds,E),bn(()=>{C.isDeactivated=!1,C.a&&Sa(C.a);const b=m.props&&m.props.onVnodeMounted;b&&fi(b,C.parent,m)},o)},t.deactivate=m=>{const k=m.component;f(m,c,null,1,o),bn(()=>{k.da&&Sa(k.da);const w=m.props&&m.props.onVnodeUnmounted;w&&fi(w,k.parent,m),k.isDeactivated=!0},o)};function h(m){N0(m),l(m,i,o,!0)}function F(m){r.forEach((k,w)=>{const D=Xl(k.type);D&&(!m||!m(D))&&v(w)})}function v(m){const k=r.get(m);!a||k.type!==a.type?h(k):a&&N0(a),r.delete(m),s.delete(m)}Be(()=>[e.include,e.exclude],([m,k])=>{m&&F(w=>vu(m,w)),k&&F(w=>!vu(k,w))},{flush:"post",deep:!0});let y=null;const p=()=>{y!=null&&r.set(y,L0(i.subTree))};return br(p),jl(p),Rl(()=>{r.forEach(m=>{const{subTree:k,suspense:w}=i,D=L0(k);if(m.type===D.type){N0(D);const E=D.component.da;E&&bn(E,w);return}h(m)})}),()=>{if(y=null,!n.default)return null;const m=n.default(),k=m[0];if(m.length>1)return a=null,m;if(!Dr(k)||!(k.shapeFlag&4)&&!(k.shapeFlag&128))return a=null,k;let w=L0(k);const D=w.type,E=Xl(xs(w)?w.type.__asyncResolved||{}:D),{include:C,exclude:b,max:S}=e;if(C&&(!E||!vu(C,E))||b&&E&&vu(b,E))return a=w,k;const A=w.key==null?D:w.key,T=r.get(A);return w.el&&(w=Qi(w),k.shapeFlag&128&&(k.ssContent=w)),y=A,T?(w.el=T.el,w.component=T.component,w.transition&&Bs(w,w.transition),w.shapeFlag|=512,s.delete(A),s.add(A)):(s.add(A),S&&s.size>parseInt(S,10)&&v(s.values().next().value)),w.shapeFlag|=256,a=w,Wy(k.type)?k:w}}};function vu(e,n){return ne(e)?e.some(i=>vu(i,n)):Fe(e)?e.split(",").includes(n):e.test?e.test(n):!1}function Xy(e,n){n2(e,"a",n)}function e2(e,n){n2(e,"da",n)}function n2(e,n,i=fn){const t=e.__wdc||(e.__wdc=()=>{let r=i;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ll(n,t,i),i){let r=i.parent;for(;r&&r.parent;)gu(r.parent.vnode)&&C8(t,n,i,r),r=r.parent}}function C8(e,n,i,t){const r=Ll(n,e,t,!0);zl(()=>{h0(t[n],r)},i)}function N0(e){let n=e.shapeFlag;n&256&&(n-=256),n&512&&(n-=512),e.shapeFlag=n}function L0(e){return e.shapeFlag&128?e.ssContent:e}function Ll(e,n,i=fn,t=!1){if(i){const r=i[e]||(i[e]=[]),s=n.__weh||(n.__weh=(...a)=>{if(i.isUnmounted)return;_s(),Sr(i);const o=Ei(n,i,e,a);return Ar(),Es(),o});return t?r.unshift(s):r.push(s),s}}const Nt=e=>(n,i=fn)=>(!Oa||e==="sp")&&Ll(e,(...t)=>n(...t),i),j0=Nt("bm"),br=Nt("m"),i2=Nt("bu"),jl=Nt("u"),Rl=Nt("bum"),zl=Nt("um"),t2=Nt("sp"),r2=Nt("rtg"),s2=Nt("rtc");function a2(e,n=fn){Ll("ec",e,n)}function _r(e,n){const i=In;if(i===null)return e;const t=Zl(i)||i.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;sn(a,o,void 0,s&&s[o]));else{const a=Object.keys(e);r=new Array(a.length);for(let o=0,u=a.length;o{const s=t.fn(...r);return s&&(s.key=t.key),s}:t.fn)}return e}function hn(e,n,i={},t,r){if(In.isCE||In.parent&&xs(In.parent)&&In.parent.isCE)return ie("slot",n==="default"?null:{name:n},t&&t());let s=e[n];s&&s._c&&(s._d=!1),ae();const a=s&&f2(s(i)),o=Ln(He,{key:i.key||a&&a.key||`_${n}`},a||(t?t():[]),a&&e._===1?64:-2);return!r&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),s&&s._c&&(s._d=!0),o}function f2(e){return e.some(n=>Dr(n)?!(n.type===Nn||n.type===He&&!f2(n.children)):!0)?e:null}function $8(e,n){const i={};for(const t in e)i[n&&/[A-Z]/.test(t)?`on:${t}`:Da(t)]=e[t];return i}const H0=e=>e?P2(e)?Zl(e)||e.proxy:H0(e.parent):null,Ul=Oe(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=>H0(e.parent),$root:e=>H0(e.root),$emit:e=>e.emit,$options:e=>W0(e),$forceUpdate:e=>e.f||(e.f=()=>xl(e.update)),$nextTick:e=>e.n||(e.n=Ba.bind(e.proxy)),$watch:e=>_8.bind(e)}),U0={get({_:e},n){const{ctx:i,setupState:t,data:r,props:s,accessCache:a,type:o,appContext:u}=e;let f;if(n[0]!=="$"){const h=a[n];if(h!==void 0)switch(h){case 1:return t[n];case 2:return r[n];case 4:return i[n];case 3:return s[n]}else{if(t!==Pe&&Me(t,n))return a[n]=1,t[n];if(r!==Pe&&Me(r,n))return a[n]=2,r[n];if((f=e.propsOptions[0])&&Me(f,n))return a[n]=3,s[n];if(i!==Pe&&Me(i,n))return a[n]=4,i[n];V0&&(a[n]=0)}}const l=Ul[n];let d,c;if(l)return n==="$attrs"&&_i(e,"get",n),l(e);if((d=o.__cssModules)&&(d=d[n]))return d;if(i!==Pe&&Me(i,n))return a[n]=4,i[n];if(c=u.config.globalProperties,Me(c,n))return c[n]},set({_:e},n,i){const{data:t,setupState:r,ctx:s}=e;return r!==Pe&&Me(r,n)?(r[n]=i,!0):t!==Pe&&Me(t,n)?(t[n]=i,!0):Me(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(s[n]=i,!0)},has({_:{data:e,setupState:n,accessCache:i,ctx:t,appContext:r,propsOptions:s}},a){let o;return!!i[a]||e!==Pe&&Me(e,a)||n!==Pe&&Me(n,a)||(o=s[0])&&Me(o,a)||Me(t,a)||Me(Ul,a)||Me(r.config.globalProperties,a)},defineProperty(e,n,i){return i.get!=null?e._.accessCache[n]=0:Me(i,"value")&&this.set(e,n,i.value,null),Reflect.defineProperty(e,n,i)}},T8=Oe({},U0,{get(e,n){if(n!==Symbol.unscopables)return U0.get(e,n,e)},has(e,n){return n[0]!=="_"&&!X5(n)}});let V0=!0;function P8(e){const n=W0(e),i=e.proxy,t=e.ctx;V0=!1,n.beforeCreate&&l2(n.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:o,provide:u,inject:f,created:l,beforeMount:d,mounted:c,beforeUpdate:h,updated:F,activated:v,deactivated:y,beforeDestroy:p,beforeUnmount:m,destroyed:k,unmounted:w,render:D,renderTracked:E,renderTriggered:C,errorCaptured:b,serverPrefetch:S,expose:A,inheritAttrs:T,components:$,directives:z,filters:I}=n;if(f&&O8(f,t,null,e.appContext.config.unwrapInjectedRef),a)for(const oe in a){const X=a[oe];he(X)&&(t[oe]=X.bind(i))}if(r){const oe=r.call(i,i);je(oe)&&(e.data=me(oe))}if(V0=!0,s)for(const oe in s){const X=s[oe],be=he(X)?X.bind(i,i):he(X.get)?X.get.bind(i,i):Zn,gn=!he(X)&&he(X.set)?X.set.bind(i):Zn,tn=le({get:be,set:gn});Object.defineProperty(t,oe,{enumerable:!0,configurable:!0,get:()=>tn.value,set:We=>tn.value=We})}if(o)for(const oe in o)d2(o[oe],t,i,oe);if(u){const oe=he(u)?u.call(i):u;Reflect.ownKeys(oe).forEach(X=>{Ni(X,oe[X])})}l&&l2(l,e,"c");function J(oe,X){ne(X)?X.forEach(be=>oe(be.bind(i))):X&&oe(X.bind(i))}if(J(j0,d),J(br,c),J(i2,h),J(jl,F),J(Xy,v),J(e2,y),J(a2,b),J(s2,E),J(r2,C),J(Rl,m),J(zl,w),J(t2,S),ne(A))if(A.length){const oe=e.exposed||(e.exposed={});A.forEach(X=>{Object.defineProperty(oe,X,{get:()=>i[X],set:be=>i[X]=be})})}else e.exposed||(e.exposed={});D&&e.render===Zn&&(e.render=D),T!=null&&(e.inheritAttrs=T),$&&(e.components=$),z&&(e.directives=z)}function O8(e,n,i=Zn,t=!1){ne(e)&&(e=q0(e));for(const r in e){const s=e[r];let a;je(s)?"default"in s?a=wn(s.from||r,s.default,!0):a=wn(s.from||r):a=wn(s),Ve(a)&&t?Object.defineProperty(n,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):n[r]=a}}function l2(e,n,i){Ei(ne(e)?e.map(t=>t.bind(n.proxy)):e.bind(n.proxy),n,i)}function d2(e,n,i,t){const r=t.includes(".")?Jy(i,t):()=>i[t];if(Fe(e)){const s=n[e];he(s)&&Be(r,s)}else if(he(e))Be(r,e.bind(i));else if(je(e))if(ne(e))e.forEach(s=>d2(s,n,i,t));else{const s=he(e.handler)?e.handler.bind(i):n[e.handler];he(s)&&Be(r,s,e)}}function W0(e){const n=e.type,{mixins:i,extends:t}=n,{mixins:r,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,o=s.get(n);let u;return o?u=o:!r.length&&!i&&!t?u=n:(u={},r.length&&r.forEach(f=>Vl(u,f,a,!0)),Vl(u,n,a)),je(n)&&s.set(n,u),u}function Vl(e,n,i,t=!1){const{mixins:r,extends:s}=n;s&&Vl(e,s,i,!0),r&&r.forEach(a=>Vl(e,a,i,!0));for(const a in n)if(!(t&&a==="expose")){const o=I8[a]||i&&i[a];e[a]=o?o(e[a],n[a]):n[a]}return e}const I8={data:c2,props:$s,emits:$s,methods:$s,computed:$s,beforeCreate:Xn,created:Xn,beforeMount:Xn,mounted:Xn,beforeUpdate:Xn,updated:Xn,beforeDestroy:Xn,beforeUnmount:Xn,destroyed:Xn,unmounted:Xn,activated:Xn,deactivated:Xn,errorCaptured:Xn,serverPrefetch:Xn,components:$s,directives:$s,watch:L8,provide:c2,inject:N8};function c2(e,n){return n?e?function(){return Oe(he(e)?e.call(this,this):e,he(n)?n.call(this,this):n)}:n:e}function N8(e,n){return $s(q0(e),q0(n))}function q0(e){if(ne(e)){const n={};for(let i=0;i0)&&!(a&16)){if(a&8){const l=e.vnode.dynamicProps;for(let d=0;d{u=!0;const[c,h]=m2(d,n,!0);Oe(a,c),h&&o.push(...h)};!i&&n.mixins.length&&n.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!s&&!u)return je(e)&&t.set(e,_a),_a;if(ne(s))for(let l=0;l-1,h[1]=v<0||F-1||Me(h,"default"))&&o.push(d)}}}const f=[a,o];return je(e)&&t.set(e,f),f}function p2(e){return e[0]!=="$"}function F2(e){const n=e&&e.toString().match(/^\s*function (\w+)/);return n?n[1]:e===null?"null":""}function g2(e,n){return F2(e)===F2(n)}function v2(e,n){return ne(n)?n.findIndex(i=>g2(i,e)):he(n)&&g2(n,e)?0:-1}const y2=e=>e[0]==="_"||e==="$stable",Y0=e=>ne(e)?e.map(Di):[Di(e)],z8=(e,n,i)=>{if(n._n)return n;const t=Re((...r)=>Y0(n(...r)),i);return t._c=!1,t},k2=(e,n,i)=>{const t=e._ctx;for(const r in e){if(y2(r))continue;const s=e[r];if(he(s))n[r]=z8(r,s,t);else if(s!=null){const a=Y0(s);n[r]=()=>a}}},w2=(e,n)=>{const i=Y0(n);e.slots.default=()=>i},H8=(e,n)=>{if(e.vnode.shapeFlag&32){const i=n._;i?(e.slots=De(n),gl(n,"_",i)):k2(n,e.slots={})}else e.slots={},n&&w2(e,n);gl(e.slots,Gl,1)},U8=(e,n,i)=>{const{vnode:t,slots:r}=e;let s=!0,a=Pe;if(t.shapeFlag&32){const o=n._;o?i&&o===1?s=!1:(Oe(r,n),!i&&o===1&&delete r._):(s=!n.$stable,k2(n,r)),a=n}else n&&(w2(e,n),a={default:1});if(s)for(const o in r)!y2(o)&&!(o in a)&&delete r[o]};function b2(){return{app:null,config:{isNativeTag:pl,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 V8=0;function W8(e,n){return function(t,r=null){he(t)||(t=Object.assign({},t)),r!=null&&!je(r)&&(r=null);const s=b2(),a=new Set;let o=!1;const u=s.app={_uid:V8++,_component:t,_props:r,_container:null,_context:s,_instance:null,version:V2,get config(){return s.config},set config(f){},use(f,...l){return a.has(f)||(f&&he(f.install)?(a.add(f),f.install(u,...l)):he(f)&&(a.add(f),f(u,...l))),u},mixin(f){return s.mixins.includes(f)||s.mixins.push(f),u},component(f,l){return l?(s.components[f]=l,u):s.components[f]},directive(f,l){return l?(s.directives[f]=l,u):s.directives[f]},mount(f,l,d){if(!o){const c=ie(t,r);return c.appContext=s,l&&n?n(c,f):e(c,f,d),o=!0,u._container=f,f.__vue_app__=u,Zl(c.component)||c.component.proxy}},unmount(){o&&(e(null,u._container),delete u._container.__vue_app__)},provide(f,l){return s.provides[f]=l,u}};return u}}function Wl(e,n,i,t,r=!1){if(ne(e)){e.forEach((c,h)=>Wl(c,n&&(ne(n)?n[h]:n),i,t,r));return}if(xs(t)&&!r)return;const s=t.shapeFlag&4?Zl(t.component)||t.component.proxy:t.el,a=r?null:s,{i:o,r:u}=e,f=n&&n.r,l=o.refs===Pe?o.refs={}:o.refs,d=o.setupState;if(f!=null&&f!==u&&(Fe(f)?(l[f]=null,Me(d,f)&&(d[f]=null)):Ve(f)&&(f.value=null)),he(u))lt(u,o,12,[a,l]);else{const c=Fe(u),h=Ve(u);if(c||h){const F=()=>{if(e.f){const v=c?l[u]:u.value;r?ne(v)&&h0(v,s):ne(v)?v.includes(s)||v.push(s):c?(l[u]=[s],Me(d,u)&&(d[u]=l[u])):(u.value=[s],e.k&&(l[e.k]=u.value))}else c?(l[u]=a,Me(d,u)&&(d[u]=a)):h&&(u.value=a,e.k&&(l[e.k]=a))};a?(F.id=-1,bn(F,i)):F()}}}let Er=!1;const ql=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Kl=e=>e.nodeType===8;function q8(e){const{mt:n,p:i,o:{patchProp:t,createText:r,nextSibling:s,parentNode:a,remove:o,insert:u,createComment:f}}=e,l=(p,m)=>{if(!m.hasChildNodes()){i(null,p,m),$l(),m._vnode=p;return}Er=!1,d(m.firstChild,p,null,null,null),$l(),m._vnode=p,Er&&console.error("Hydration completed but contains mismatches.")},d=(p,m,k,w,D,E=!1)=>{const C=Kl(p)&&p.data==="[",b=()=>v(p,m,k,w,D,C),{type:S,ref:A,shapeFlag:T,patchFlag:$}=m;let z=p.nodeType;m.el=p,$===-2&&(E=!1,m.dynamicChildren=null);let I=null;switch(S){case Pa:z!==3?m.children===""?(u(m.el=r(""),a(p),p),I=p):I=b():(p.data!==m.children&&(Er=!0,p.data=m.children),I=s(p));break;case Nn:z!==8||C?I=b():I=s(p);break;case Ps:if(C&&(p=s(p),z=p.nodeType),z===1||z===3){I=p;const Z=!m.children.length;for(let J=0;J{E=E||!!m.dynamicChildren;const{type:C,props:b,patchFlag:S,shapeFlag:A,dirs:T}=m,$=C==="input"&&T||C==="option";if($||S!==-1){if(T&&ht(m,null,k,"created"),b)if($||!E||S&48)for(const I in b)($&&I.endsWith("value")||vs(I)&&!ks(I))&&t(p,I,null,b[I],!1,void 0,k);else b.onClick&&t(p,"onClick",null,b.onClick,!1,void 0,k);let z;if((z=b&&b.onVnodeBeforeMount)&&fi(z,k,m),T&&ht(m,null,k,"beforeMount"),((z=b&&b.onVnodeMounted)||T)&&Ky(()=>{z&&fi(z,k,m),T&&ht(m,null,k,"mounted")},w),A&16&&!(b&&(b.innerHTML||b.textContent))){let I=h(p.firstChild,m,p,k,w,D,E);for(;I;){Er=!0;const Z=I;I=I.nextSibling,o(Z)}}else A&8&&p.textContent!==m.children&&(Er=!0,p.textContent=m.children)}return p.nextSibling},h=(p,m,k,w,D,E,C)=>{C=C||!!m.dynamicChildren;const b=m.children,S=b.length;for(let A=0;A{const{slotScopeIds:C}=m;C&&(D=D?D.concat(C):C);const b=a(p),S=h(s(p),m,b,k,w,D,E);return S&&Kl(S)&&S.data==="]"?s(m.anchor=S):(Er=!0,u(m.anchor=f("]"),b,S),S)},v=(p,m,k,w,D,E)=>{if(Er=!0,m.el=null,E){const S=y(p);for(;;){const A=s(p);if(A&&A!==S)o(A);else break}}const C=s(p),b=a(p);return o(p),i(null,m,b,C,k,w,ql(b),D),C},y=p=>{let m=0;for(;p;)if(p=s(p),p&&Kl(p)&&(p.data==="["&&m++,p.data==="]")){if(m===0)return s(p);m--}return p};return[l,d]}const bn=Ky;function _2(e){return D2(e)}function E2(e){return D2(e,q8)}function D2(e,n){const i=gS();i.__VUE__=!0;const{insert:t,remove:r,patchProp:s,createElement:a,createText:o,createComment:u,setText:f,setElementText:l,parentNode:d,nextSibling:c,setScopeId:h=Zn,insertStaticContent:F}=e,v=(B,g,_,M=null,x=null,P=null,R=!1,L=null,N=!!g.dynamicChildren)=>{if(B===g)return;B&&!mt(B,g)&&(M=hi(B),We(B,x,P,!0),B=null),g.patchFlag===-2&&(N=!1,g.dynamicChildren=null);const{type:O,ref:H,shapeFlag:U}=g;switch(O){case Pa:y(B,g,_,M);break;case Nn:p(B,g,_,M);break;case Ps:B==null&&m(g,_,M,R);break;case He:$(B,g,_,M,x,P,R,L,N);break;default:U&1?D(B,g,_,M,x,P,R,L,N):U&6?z(B,g,_,M,x,P,R,L,N):(U&64||U&128)&&O.process(B,g,_,M,x,P,R,L,N,Xt)}H!=null&&x&&Wl(H,B&&B.ref,P,g||B,!g)},y=(B,g,_,M)=>{if(B==null)t(g.el=o(g.children),_,M);else{const x=g.el=B.el;g.children!==B.children&&f(x,g.children)}},p=(B,g,_,M)=>{B==null?t(g.el=u(g.children||""),_,M):g.el=B.el},m=(B,g,_,M)=>{[B.el,B.anchor]=F(B.children,g,_,M,B.el,B.anchor)},k=({el:B,anchor:g},_,M)=>{let x;for(;B&&B!==g;)x=c(B),t(B,_,M),B=x;t(g,_,M)},w=({el:B,anchor:g})=>{let _;for(;B&&B!==g;)_=c(B),r(B),B=_;r(g)},D=(B,g,_,M,x,P,R,L,N)=>{R=R||g.type==="svg",B==null?E(g,_,M,x,P,R,L,N):S(B,g,x,P,R,L,N)},E=(B,g,_,M,x,P,R,L)=>{let N,O;const{type:H,props:U,shapeFlag:V,transition:K,dirs:G}=B;if(N=B.el=a(B.type,P,U&&U.is,U),V&8?l(N,B.children):V&16&&b(B.children,N,null,M,x,P&&H!=="foreignObject",R,L),G&&ht(B,null,M,"created"),U){for(const ue in U)ue!=="value"&&!ks(ue)&&s(N,ue,null,U[ue],P,B.children,M,x,rt);"value"in U&&s(N,"value",null,U.value),(O=U.onVnodeBeforeMount)&&fi(O,M,B)}C(N,B,B.scopeId,R,M),G&&ht(B,null,M,"beforeMount");const re=(!x||x&&!x.pendingBranch)&&K&&!K.persisted;re&&K.beforeEnter(N),t(N,g,_),((O=U&&U.onVnodeMounted)||re||G)&&bn(()=>{O&&fi(O,M,B),re&&K.enter(N),G&&ht(B,null,M,"mounted")},x)},C=(B,g,_,M,x)=>{if(_&&h(B,_),M)for(let P=0;P{for(let O=N;O{const L=g.el=B.el;let{patchFlag:N,dynamicChildren:O,dirs:H}=g;N|=B.patchFlag&16;const U=B.props||Pe,V=g.props||Pe;let K;_&&Ts(_,!1),(K=V.onVnodeBeforeUpdate)&&fi(K,_,g,B),H&&ht(g,B,_,"beforeUpdate"),_&&Ts(_,!0);const G=x&&g.type!=="foreignObject";if(O?A(B.dynamicChildren,O,L,_,M,G,P):R||X(B,g,L,null,_,M,G,P,!1),N>0){if(N&16)T(L,g,U,V,_,M,x);else if(N&2&&U.class!==V.class&&s(L,"class",null,V.class,x),N&4&&s(L,"style",U.style,V.style,x),N&8){const re=g.dynamicProps;for(let ue=0;ue{K&&fi(K,_,g,B),H&&ht(g,B,_,"updated")},M)},A=(B,g,_,M,x,P,R)=>{for(let L=0;L{if(_!==M){if(_!==Pe)for(const L in _)!ks(L)&&!(L in M)&&s(B,L,_[L],null,R,g.children,x,P,rt);for(const L in M){if(ks(L))continue;const N=M[L],O=_[L];N!==O&&L!=="value"&&s(B,L,O,N,R,g.children,x,P,rt)}"value"in M&&s(B,"value",_.value,M.value)}},$=(B,g,_,M,x,P,R,L,N)=>{const O=g.el=B?B.el:o(""),H=g.anchor=B?B.anchor:o("");let{patchFlag:U,dynamicChildren:V,slotScopeIds:K}=g;K&&(L=L?L.concat(K):K),B==null?(t(O,_,M),t(H,_,M),b(g.children,_,H,x,P,R,L,N)):U>0&&U&64&&V&&B.dynamicChildren?(A(B.dynamicChildren,V,_,x,P,R,L),(g.key!=null||x&&g===x.subTree)&&G0(B,g,!0)):X(B,g,_,H,x,P,R,L,N)},z=(B,g,_,M,x,P,R,L,N)=>{g.slotScopeIds=L,B==null?g.shapeFlag&512?x.ctx.activate(g,_,M,R,N):I(g,_,M,x,P,R,N):Z(B,g,N)},I=(B,g,_,M,x,P,R)=>{const L=B.component=T2(B,M,x);if(gu(B)&&(L.ctx.renderer=Xt),O2(L),L.asyncDep){if(x&&x.registerDep(L,J),!B.el){const N=L.subTree=ie(Nn);p(null,N,g,_)}return}J(L,B,g,_,x,P,R)},Z=(B,g,_)=>{const M=g.component=B.component;if(F8(B,g,_))if(M.asyncDep&&!M.asyncResolved){oe(M,g,_);return}else M.next=g,o8(M.update),M.update();else g.el=B.el,M.vnode=g},J=(B,g,_,M,x,P,R)=>{const L=()=>{if(B.isMounted){let{next:H,bu:U,u:V,parent:K,vnode:G}=B,re=H,ue;Ts(B,!1),H?(H.el=G.el,oe(B,H,R)):H=G,U&&Sa(U),(ue=H.props&&H.props.onVnodeBeforeUpdate)&&fi(ue,K,H,G),Ts(B,!0);const de=Il(B),_e=B.subTree;B.subTree=de,v(_e,de,d(_e.el),hi(_e),B,x,P),H.el=de.el,re===null&&x0(B,de.el),V&&bn(V,x),(ue=H.props&&H.props.onVnodeUpdated)&&bn(()=>fi(ue,K,H,G),x)}else{let H;const{el:U,props:V}=g,{bm:K,m:G,parent:re}=B,ue=xs(g);if(Ts(B,!1),K&&Sa(K),!ue&&(H=V&&V.onVnodeBeforeMount)&&fi(H,re,g),Ts(B,!0),U&&ra){const de=()=>{B.subTree=Il(B),ra(U,B.subTree,B,x,null)};ue?g.type.__asyncLoader().then(()=>!B.isUnmounted&&de()):de()}else{const de=B.subTree=Il(B);v(null,de,_,M,B,x,P),g.el=de.el}if(G&&bn(G,x),!ue&&(H=V&&V.onVnodeMounted)){const de=g;bn(()=>fi(H,re,de),x)}(g.shapeFlag&256||re&&xs(re.vnode)&&re.vnode.shapeFlag&256)&&B.a&&bn(B.a,x),B.isMounted=!0,g=_=M=null}},N=B.effect=new uu(L,()=>xl(O),B.scope),O=B.update=()=>N.run();O.id=B.uid,Ts(B,!0),O()},oe=(B,g,_)=>{g.component=B;const M=B.vnode.props;B.vnode=g,B.next=null,R8(B,g.props,M,_),U8(B,g.children,_),_s(),Ry(),Es()},X=(B,g,_,M,x,P,R,L,N=!1)=>{const O=B&&B.children,H=B?B.shapeFlag:0,U=g.children,{patchFlag:V,shapeFlag:K}=g;if(V>0){if(V&128){gn(O,U,_,M,x,P,R,L,N);return}else if(V&256){be(O,U,_,M,x,P,R,L,N);return}}K&8?(H&16&&rt(O,x,P),U!==O&&l(_,U)):H&16?K&16?gn(O,U,_,M,x,P,R,L,N):rt(O,x,P,!0):(H&8&&l(_,""),K&16&&b(U,_,M,x,P,R,L,N))},be=(B,g,_,M,x,P,R,L,N)=>{B=B||_a,g=g||_a;const O=B.length,H=g.length,U=Math.min(O,H);let V;for(V=0;VH?rt(B,x,P,!0,!1,U):b(g,_,M,x,P,R,L,N,U)},gn=(B,g,_,M,x,P,R,L,N)=>{let O=0;const H=g.length;let U=B.length-1,V=H-1;for(;O<=U&&O<=V;){const K=B[O],G=g[O]=N?Cr(g[O]):Di(g[O]);if(mt(K,G))v(K,G,_,null,x,P,R,L,N);else break;O++}for(;O<=U&&O<=V;){const K=B[U],G=g[V]=N?Cr(g[V]):Di(g[V]);if(mt(K,G))v(K,G,_,null,x,P,R,L,N);else break;U--,V--}if(O>U){if(O<=V){const K=V+1,G=KV)for(;O<=U;)We(B[O],x,P,!0),O++;else{const K=O,G=O,re=new Map;for(O=G;O<=V;O++){const Gn=g[O]=N?Cr(g[O]):Di(g[O]);Gn.key!=null&&re.set(Gn.key,O)}let ue,de=0;const _e=V-G+1;let vn=!1,er=0;const Kr=new Array(_e);for(O=0;O<_e;O++)Kr[O]=0;for(O=K;O<=U;O++){const Gn=B[O];if(de>=_e){We(Gn,x,P,!0);continue}let qe;if(Gn.key!=null)qe=re.get(Gn.key);else for(ue=G;ue<=V;ue++)if(Kr[ue-G]===0&&mt(Gn,g[ue])){qe=ue;break}qe===void 0?We(Gn,x,P,!0):(Kr[qe-G]=O+1,qe>=er?er=qe:vn=!0,v(Gn,g[qe],_,null,x,P,R,L,N),de++)}const Yr=vn?K8(Kr):_a;for(ue=Yr.length-1,O=_e-1;O>=0;O--){const Gn=G+O,qe=g[Gn],$i=Gn+1{const{el:P,type:R,transition:L,children:N,shapeFlag:O}=B;if(O&6){tn(B.component.subTree,g,_,M);return}if(O&128){B.suspense.move(g,_,M);return}if(O&64){R.move(B,g,_,Xt);return}if(R===He){t(P,g,_);for(let U=0;UL.enter(P),x);else{const{leave:U,delayLeave:V,afterLeave:K}=L,G=()=>t(P,g,_),re=()=>{U(P,()=>{G(),K&&K()})};V?V(P,G,re):re()}else t(P,g,_)},We=(B,g,_,M=!1,x=!1)=>{const{type:P,props:R,ref:L,children:N,dynamicChildren:O,shapeFlag:H,patchFlag:U,dirs:V}=B;if(L!=null&&Wl(L,null,_,B,!0),H&256){g.ctx.deactivate(B);return}const K=H&1&&V,G=!xs(B);let re;if(G&&(re=R&&R.onVnodeBeforeUnmount)&&fi(re,g,B),H&6)Bp(B.component,_,M);else{if(H&128){B.suspense.unmount(_,M);return}K&&ht(B,null,g,"beforeUnmount"),H&64?B.type.remove(B,g,_,x,Xt,M):O&&(P!==He||U>0&&U&64)?rt(O,g,_,!1,!0):(P===He&&U&384||!x&&H&16)&&rt(N,g,_),M&&Yn(B)}(G&&(re=R&&R.onVnodeUnmounted)||K)&&bn(()=>{re&&fi(re,g,B),K&&ht(B,null,g,"unmounted")},_)},Yn=B=>{const{type:g,el:_,anchor:M,transition:x}=B;if(g===He){ia(_,M);return}if(g===Ps){w(B);return}const P=()=>{r(_),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(B.shapeFlag&1&&x&&!x.persisted){const{leave:R,delayLeave:L}=x,N=()=>R(_,P);L?L(B.el,P,N):N()}else P()},ia=(B,g)=>{let _;for(;B!==g;)_=c(B),r(B),B=_;r(g)},Bp=(B,g,_)=>{const{bum:M,scope:x,update:P,subTree:R,um:L}=B;M&&Sa(M),x.stop(),P&&(P.active=!1,We(R,B,g,_)),L&&bn(L,g),bn(()=>{B.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&B.asyncDep&&!B.asyncResolved&&B.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},rt=(B,g,_,M=!1,x=!1,P=0)=>{for(let R=P;RB.shapeFlag&6?hi(B.component.subTree):B.shapeFlag&128?B.suspense.next():c(B.anchor||B.el),ta=(B,g,_)=>{B==null?g._vnode&&We(g._vnode,null,null,!0):v(g._vnode||null,B,g,null,null,null,_),Ry(),$l(),g._vnode=B},Xt={p:v,um:We,m:tn,r:Yn,mt:I,mc:b,pc:X,pbc:A,n:hi,o:e};let St,ra;return n&&([St,ra]=n(Xt)),{render:ta,hydrate:St,createApp:W8(ta,St)}}function Ts({effect:e,update:n},i){e.allowRecurse=n.allowRecurse=i}function G0(e,n,i=!1){const t=e.children,r=n.children;if(ne(t)&&ne(r))for(let s=0;s>1,e[i[o]]0&&(n[t]=i[s-1]),i[s]=t)}}for(s=i.length,a=i[s-1];s-- >0;)i[s]=a,a=n[a];return i}const Y8=e=>e.__isTeleport,yu=e=>e&&(e.disabled||e.disabled===""),C2=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,J0=(e,n)=>{const i=e&&e.to;return Fe(i)?n?n(i):null:i},G8={__isTeleport:!0,process(e,n,i,t,r,s,a,o,u,f){const{mc:l,pc:d,pbc:c,o:{insert:h,querySelector:F,createText:v,createComment:y}}=f,p=yu(n.props);let{shapeFlag:m,children:k,dynamicChildren:w}=n;if(e==null){const D=n.el=v(""),E=n.anchor=v("");h(D,i,t),h(E,i,t);const C=n.target=J0(n.props,F),b=n.targetAnchor=v("");C&&(h(b,C),a=a||C2(C));const S=(A,T)=>{m&16&&l(k,A,T,r,s,a,o,u)};p?S(i,E):C&&S(C,b)}else{n.el=e.el;const D=n.anchor=e.anchor,E=n.target=e.target,C=n.targetAnchor=e.targetAnchor,b=yu(e.props),S=b?i:E,A=b?D:C;if(a=a||C2(E),w?(c(e.dynamicChildren,w,S,r,s,a,o),G0(e,n,!0)):u||d(e,n,S,A,r,s,a,o,!1),p)b||Yl(n,i,D,f,1);else if((n.props&&n.props.to)!==(e.props&&e.props.to)){const T=n.target=J0(n.props,F);T&&Yl(n,T,null,f,0)}else b&&Yl(n,E,C,f,1)}},remove(e,n,i,t,{um:r,o:{remove:s}},a){const{shapeFlag:o,children:u,anchor:f,targetAnchor:l,target:d,props:c}=e;if(d&&s(l),(a||!yu(c))&&(s(f),o&16))for(let h=0;h0?oi||_a:null,A2(),Os>0&&oi&&oi.push(e),e}function ge(e,n,i,t,r,s){return M2(Y(e,n,i,t,r,s,!0))}function Ln(e,n,i,t,r){return M2(ie(e,n,i,t,r,!0))}function Dr(e){return e?e.__v_isVNode===!0:!1}function mt(e,n){return e.type===n.type&&e.key===n.key}function Q8(e){}const Gl="__vInternal",B2=({key:e})=>e!=null?e:null,Jl=({ref:e,ref_key:n,ref_for:i})=>e!=null?Fe(e)||Ve(e)||he(e)?{i:In,r:e,k:n,f:!!i}:e:null;function Y(e,n=null,i=null,t=0,r=null,s=e===He?0:1,a=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&B2(n),ref:n&&Jl(n),scopeId:Ol,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:t,dynamicProps:r,dynamicChildren:null,appContext:null};return o?(Z0(u,i),s&128&&e.normalize(u)):i&&(u.shapeFlag|=Fe(i)?8:16),Os>0&&!a&&oi&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&oi.push(u),u}const ie=Z8;function Z8(e,n=null,i=null,t=0,r=null,s=!1){if((!e||e===o2)&&(e=Nn),Dr(e)){const o=Qi(e,n,!0);return i&&Z0(o,i),Os>0&&!s&&oi&&(o.shapeFlag&6?oi[oi.indexOf(e)]=o:oi.push(o)),o.patchFlag|=-2,o}if(o7(e)&&(e=e.__vccOpts),n){n=x2(n);let{class:o,style:u}=n;o&&!Fe(o)&&(n.class=dn(o)),je(u)&&(_0(u)&&!ne(u)&&(u=Oe({},u)),n.style=Pt(u))}const a=Fe(e)?1:Wy(e)?128:Y8(e)?64:je(e)?4:he(e)?2:0;return Y(e,n,i,t,r,a,s,!0)}function x2(e){return e?_0(e)||Gl in e?Oe({},e):e:null}function Qi(e,n,i=!1){const{props:t,ref:r,patchFlag:s,children:a}=e,o=n?$2(t||{},n):t;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&B2(o),ref:n&&n.ref?i&&r?ne(r)?r.concat(Jl(n)):[r,Jl(n)]:Jl(n):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==He?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qi(e.ssContent),ssFallback:e.ssFallback&&Qi(e.ssFallback),el:e.el,anchor:e.anchor}}function ui(e=" ",n=0){return ie(Pa,null,e,n)}function X8(e,n){const i=ie(Ps,null,e);return i.staticCount=n,i}function mn(e="",n=!1){return n?(ae(),Ln(Nn,null,e)):ie(Nn,null,e)}function Di(e){return e==null||typeof e=="boolean"?ie(Nn):ne(e)?ie(He,null,e.slice()):typeof e=="object"?Cr(e):ie(Pa,null,String(e))}function Cr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qi(e)}function Z0(e,n){let i=0;const{shapeFlag:t}=e;if(n==null)n=null;else if(ne(n))i=16;else if(typeof n=="object")if(t&65){const r=n.default;r&&(r._c&&(r._d=!1),Z0(e,r()),r._c&&(r._d=!0));return}else{i=32;const r=n._;!r&&!(Gl in n)?n._ctx=In:r===3&&In&&(In.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else he(n)?(n={default:n,_ctx:In},i=32):(n=String(n),t&64?(i=16,n=[ui(n)]):i=8);e.children=n,e.shapeFlag|=i}function $2(...e){const n={};for(let i=0;ifn||In,Sr=e=>{fn=e,e.scope.on()},Ar=()=>{fn&&fn.scope.off(),fn=null};function P2(e){return e.vnode.shapeFlag&4}let Oa=!1;function O2(e,n=!1){Oa=n;const{props:i,children:t}=e.vnode,r=P2(e);j8(e,i,r,n),H8(e,t);const s=r?i7(e,n):void 0;return Oa=!1,s}function i7(e,n){const i=e.type;e.accessCache=Object.create(null),e.proxy=E0(new Proxy(e.ctx,U0));const{setup:t}=i;if(t){const r=e.setupContext=t.length>1?L2(e):null;Sr(e),_s();const s=lt(t,e,0,[e.props,r]);if(Es(),Ar(),m0(s)){if(s.then(Ar,Ar),n)return s.then(a=>{X0(e,a,n)}).catch(a=>{Ss(a,e,0)});e.asyncDep=s}else X0(e,s,n)}else N2(e,n)}function X0(e,n,i){he(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:je(n)&&(e.setupState=S0(n)),N2(e,i)}let Ql,eh;function I2(e){Ql=e,eh=n=>{n.render._rc&&(n.withProxy=new Proxy(n.ctx,T8))}}const t7=()=>!Ql;function N2(e,n,i){const t=e.type;if(!e.render){if(!n&&Ql&&!t.render){const r=t.template||W0(e).template;if(r){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:o,compilerOptions:u}=t,f=Oe(Oe({isCustomElement:s,delimiters:o},a),u);t.render=Ql(r,f)}}e.render=t.render||Zn,eh&&eh(e)}Sr(e),_s(),P8(e),Es(),Ar()}function r7(e){return new Proxy(e.attrs,{get(n,i){return _i(e,"get","$attrs"),n[i]}})}function L2(e){const n=t=>{e.exposed=t||{}};let i;return{get attrs(){return i||(i=r7(e))},slots:e.slots,emit:e.emit,expose:n}}function Zl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(S0(E0(e.exposed)),{get(n,i){if(i in n)return n[i];if(i in Ul)return Ul[i](e)}}))}const s7=/(?:^|[-_])(\w)/g,a7=e=>e.replace(s7,n=>n.toUpperCase()).replace(/[-_]/g,"");function Xl(e,n=!0){return he(e)?e.displayName||e.name:e.name||n&&e.__name}function j2(e,n,i=!1){let t=Xl(n);if(!t&&n.__file){const r=n.__file.match(/([^/\\]+)\.\w+$/);r&&(t=r[1])}if(!t&&e&&e.parent){const r=s=>{for(const a in s)if(s[a]===n)return a};t=r(e.components||e.parent.type.components)||r(e.appContext.components)}return t?a7(t):i?"App":"Anonymous"}function o7(e){return he(e)&&"__vccOpts"in e}const le=(e,n)=>e8(e,n,Oa);function u7(){return null}function f7(){return null}function l7(e){}function d7(e,n){return null}function R2(){return z2().slots}function c7(){return z2().attrs}function z2(){const e=pt();return e.setupContext||(e.setupContext=L2(e))}function h7(e,n){const i=ne(e)?e.reduce((t,r)=>(t[r]={},t),{}):e;for(const t in n){const r=i[t];r?ne(r)||he(r)?i[t]={type:r,default:n[t]}:r.default=n[t]:r===null&&(i[t]={default:n[t]})}return i}function m7(e,n){const i={};for(const t in e)n.includes(t)||Object.defineProperty(i,t,{enumerable:!0,get:()=>e[t]});return i}function p7(e){const n=pt();let i=e();return Ar(),m0(i)&&(i=i.catch(t=>{throw Sr(n),t})),[i,()=>Sr(n)]}function Je(e,n,i){const t=arguments.length;return t===2?je(n)&&!ne(n)?Dr(n)?ie(e,null,[n]):ie(e,n):ie(e,null,n):(t>3?i=Array.prototype.slice.call(arguments,2):t===3&&Dr(i)&&(i=[i]),ie(e,n,i))}const H2=Symbol(""),F7=()=>{{const e=wn(H2);return e||Iy("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function g7(){}function v7(e,n,i,t){const r=i[t];if(r&&U2(r,e))return r;const s=n();return s.memo=e.slice(),i[t]=s}function U2(e,n){const i=e.memo;if(i.length!=n.length)return!1;for(let t=0;t0&&oi&&oi.push(e),!0}const V2="3.2.40",y7={createComponentInstance:T2,setupComponent:O2,renderComponentRoot:Il,setCurrentRenderingInstance:mu,isVNode:Dr,normalizeVNode:Di},k7=null,w7=null,b7="http://www.w3.org/2000/svg",Is=typeof document!="undefined"?document:null,W2=Is&&Is.createElement("template"),_7={insert:(e,n,i)=>{n.insertBefore(e,i||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,i,t)=>{const r=n?Is.createElementNS(b7,e):Is.createElement(e,i?{is:i}:void 0);return e==="select"&&t&&t.multiple!=null&&r.setAttribute("multiple",t.multiple),r},createText:e=>Is.createTextNode(e),createComment:e=>Is.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Is.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,i,t,r,s){const a=i?i.previousSibling:n.lastChild;if(r&&(r===s||r.nextSibling))for(;n.insertBefore(r.cloneNode(!0),i),!(r===s||!(r=r.nextSibling)););else{W2.innerHTML=t?`${e}`:e;const o=W2.content;if(t){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}n.insertBefore(o,i)}return[a?a.nextSibling:n.firstChild,i?i.previousSibling:n.lastChild]}};function E7(e,n,i){const t=e._vtc;t&&(n=(n?[n,...t]:[...t]).join(" ")),n==null?e.removeAttribute("class"):i?e.setAttribute("class",n):e.className=n}function D7(e,n,i){const t=e.style,r=Fe(i);if(i&&!r){for(const s in i)nh(t,s,i[s]);if(n&&!Fe(n))for(const s in n)i[s]==null&&nh(t,s,"")}else{const s=t.display;r?n!==i&&(t.cssText=i):n&&e.removeAttribute("style"),"_vod"in e&&(t.display=s)}}const q2=/\s*!important$/;function nh(e,n,i){if(ne(i))i.forEach(t=>nh(e,n,t));else if(i==null&&(i=""),n.startsWith("--"))e.setProperty(n,i);else{const t=C7(e,n);q2.test(i)?e.setProperty(Gi(t),i.replace(q2,""),"important"):e[t]=i}}const K2=["Webkit","Moz","ms"],ih={};function C7(e,n){const i=ih[n];if(i)return i;let t=Pn(n);if(t!=="filter"&&t in e)return ih[n]=t;t=ws(t);for(let r=0;r{let e=Date.now,n=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const i=navigator.userAgent.match(/firefox\/(\d+)/i);n=!!(i&&Number(i[1])<=53)}return[e,n]})();let th=0;const B7=Promise.resolve(),x7=()=>{th=0},$7=()=>th||(B7.then(x7),th=G2());function Lt(e,n,i,t){e.addEventListener(n,i,t)}function T7(e,n,i,t){e.removeEventListener(n,i,t)}function P7(e,n,i,t,r=null){const s=e._vei||(e._vei={}),a=s[n];if(t&&a)a.value=t;else{const[o,u]=O7(n);if(t){const f=s[n]=I7(t,r);Lt(e,o,f,u)}else a&&(T7(e,o,a,u),s[n]=void 0)}}const J2=/(?:Once|Passive|Capture)$/;function O7(e){let n;if(J2.test(e)){n={};let t;for(;t=e.match(J2);)e=e.slice(0,e.length-t[0].length),n[t[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Gi(e.slice(2)),n]}function I7(e,n){const i=t=>{const r=t.timeStamp||G2();(M7||r>=i.attached-1)&&Ei(N7(t,i.value),n,5,[t])};return i.value=e,i.attached=$7(),i}function N7(e,n){if(ne(n)){const i=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{i.call(e),e._stopped=!0},n.map(t=>r=>!r._stopped&&t&&t(r))}else return n}const Q2=/^on[a-z]/,L7=(e,n,i,t,r=!1,s,a,o,u)=>{n==="class"?E7(e,t,r):n==="style"?D7(e,i,t):vs(n)?c0(n)||P7(e,n,i,t,a):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):j7(e,n,t,r))?A7(e,n,t,s,a,o,u):(n==="true-value"?e._trueValue=t:n==="false-value"&&(e._falseValue=t),S7(e,n,t,r))};function j7(e,n,i,t){return t?!!(n==="innerHTML"||n==="textContent"||n in e&&Q2.test(n)&&he(i)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA"||Q2.test(n)&&Fe(i)?!1:n in e}function Z2(e,n){const i=te(e);class t extends ed{constructor(s){super(i,s,n)}}return t.def=i,t}const R7=e=>Z2(e,_3),z7=typeof HTMLElement!="undefined"?HTMLElement:class{};class ed extends z7{constructor(n,i={},t){super(),this._def=n,this._props=i,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&t?t(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Ba(()=>{this._connected||(uh(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let t=0;t{for(const r of t)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const n=t=>{const{props:r,styles:s}=t,a=!ne(r),o=r?a?Object.keys(r):r:[];let u;if(a)for(const f in this._props){const l=r[f];(l===Number||l&&l.type===Number)&&(this._props[f]=vr(this._props[f]),(u||(u=Object.create(null)))[f]=!0)}this._numberProps=u;for(const f of Object.keys(this))f[0]!=="_"&&this._setProp(f,this[f],!0,!1);for(const f of o.map(Pn))Object.defineProperty(this,f,{get(){return this._getProp(f)},set(l){this._setProp(f,l)}});this._applyStyles(s),this._update()},i=this._def.__asyncLoader;i?i().then(n):n(this._def)}_setAttr(n){let i=this.getAttribute(n);this._numberProps&&this._numberProps[n]&&(i=vr(i)),this._setProp(Pn(n),i,!1)}_getProp(n){return this._props[n]}_setProp(n,i,t=!0,r=!0){i!==this._props[n]&&(this._props[n]=i,r&&this._instance&&this._update(),t&&(i===!0?this.setAttribute(Gi(n),""):typeof i=="string"||typeof i=="number"?this.setAttribute(Gi(n),i+""):i||this.removeAttribute(Gi(n))))}_update(){uh(this._createVNode(),this.shadowRoot)}_createVNode(){const n=ie(this._def,Oe({},this._props));return this._instance||(n.ce=i=>{this._instance=i,i.isCE=!0,i.emit=(r,...s)=>{this.dispatchEvent(new CustomEvent(r,{detail:s}))};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof ed){i.parent=t._instance;break}}),n}_applyStyles(n){n&&n.forEach(i=>{const t=document.createElement("style");t.textContent=i,this.shadowRoot.appendChild(t)})}}function H7(e="$style"){{const n=pt();if(!n)return Pe;const i=n.type.__cssModules;if(!i)return Pe;const t=i[e];return t||Pe}}function U7(e){const n=pt();if(!n)return;const i=()=>rh(n.subTree,e(n.proxy));Yy(i),br(()=>{const t=new MutationObserver(i);t.observe(n.subTree.el.parentNode,{childList:!0}),zl(()=>t.disconnect())})}function rh(e,n){if(e.shapeFlag&128){const i=e.suspense;e=i.activeBranch,i.pendingBranch&&!i.isHydrating&&i.effects.push(()=>{rh(i.activeBranch,n)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)X2(e.el,n);else if(e.type===He)e.children.forEach(i=>rh(i,n));else if(e.type===Ps){let{el:i,anchor:t}=e;for(;i&&(X2(i,n),i!==t);)i=i.nextSibling}}function X2(e,n){if(e.nodeType===1){const i=e.style;for(const t in n)i.setProperty(`--${t}`,n[t])}}const Mr="transition",wu="animation",Ns=(e,{slots:n})=>Je(P0,i3(e),n);Ns.displayName="Transition";const e3={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},V7=Ns.props=Oe({},P0.props,e3),Ls=(e,n=[])=>{ne(e)?e.forEach(i=>i(...n)):e&&e(...n)},n3=e=>e?ne(e)?e.some(n=>n.length>1):e.length>1:!1;function i3(e){const n={};for(const $ in e)$ in e3||(n[$]=e[$]);if(e.css===!1)return n;const{name:i="v",type:t,duration:r,enterFromClass:s=`${i}-enter-from`,enterActiveClass:a=`${i}-enter-active`,enterToClass:o=`${i}-enter-to`,appearFromClass:u=s,appearActiveClass:f=a,appearToClass:l=o,leaveFromClass:d=`${i}-leave-from`,leaveActiveClass:c=`${i}-leave-active`,leaveToClass:h=`${i}-leave-to`}=e,F=W7(r),v=F&&F[0],y=F&&F[1],{onBeforeEnter:p,onEnter:m,onEnterCancelled:k,onLeave:w,onLeaveCancelled:D,onBeforeAppear:E=p,onAppear:C=m,onAppearCancelled:b=k}=n,S=($,z,I)=>{Br($,z?l:o),Br($,z?f:a),I&&I()},A=($,z)=>{$._isLeaving=!1,Br($,d),Br($,h),Br($,c),z&&z()},T=$=>(z,I)=>{const Z=$?C:m,J=()=>S(z,$,I);Ls(Z,[z,J]),t3(()=>{Br(z,$?u:s),jt(z,$?l:o),n3(Z)||r3(z,t,v,J)})};return Oe(n,{onBeforeEnter($){Ls(p,[$]),jt($,s),jt($,a)},onBeforeAppear($){Ls(E,[$]),jt($,u),jt($,f)},onEnter:T(!1),onAppear:T(!0),onLeave($,z){$._isLeaving=!0;const I=()=>A($,z);jt($,d),u3(),jt($,c),t3(()=>{!$._isLeaving||(Br($,d),jt($,h),n3(w)||r3($,t,y,I))}),Ls(w,[$,I])},onEnterCancelled($){S($,!1),Ls(k,[$])},onAppearCancelled($){S($,!0),Ls(b,[$])},onLeaveCancelled($){A($),Ls(D,[$])}})}function W7(e){if(e==null)return null;if(je(e))return[sh(e.enter),sh(e.leave)];{const n=sh(e);return[n,n]}}function sh(e){return vr(e)}function jt(e,n){n.split(/\s+/).forEach(i=>i&&e.classList.add(i)),(e._vtc||(e._vtc=new Set)).add(n)}function Br(e,n){n.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:i}=e;i&&(i.delete(n),i.size||(e._vtc=void 0))}function t3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let q7=0;function r3(e,n,i,t){const r=e._endId=++q7,s=()=>{r===e._endId&&t()};if(i)return setTimeout(s,i);const{type:a,timeout:o,propCount:u}=s3(e,n);if(!a)return t();const f=a+"end";let l=0;const d=()=>{e.removeEventListener(f,c),s()},c=h=>{h.target===e&&++l>=u&&d()};setTimeout(()=>{l(i[F]||"").split(", "),r=t(Mr+"Delay"),s=t(Mr+"Duration"),a=a3(r,s),o=t(wu+"Delay"),u=t(wu+"Duration"),f=a3(o,u);let l=null,d=0,c=0;n===Mr?a>0&&(l=Mr,d=a,c=s.length):n===wu?f>0&&(l=wu,d=f,c=u.length):(d=Math.max(a,f),l=d>0?a>f?Mr:wu:null,c=l?l===Mr?s.length:u.length:0);const h=l===Mr&&/\b(transform|all)(,|$)/.test(i[Mr+"Property"]);return{type:l,timeout:d,propCount:c,hasTransform:h}}function a3(e,n){for(;e.lengtho3(i)+o3(e[t])))}function o3(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function u3(){return document.body.offsetHeight}const f3=new WeakMap,l3=new WeakMap,K7={name:"TransitionGroup",props:Oe({},V7,{tag:String,moveClass:String}),setup(e,{slots:n}){const i=pt(),t=T0();let r,s;return jl(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Q7(r[0].el,i.vnode.el,a))return;r.forEach(Y7),r.forEach(G7);const o=r.filter(J7);u3(),o.forEach(u=>{const f=u.el,l=f.style;jt(f,a),l.transform=l.webkitTransform=l.transitionDuration="";const d=f._moveCb=c=>{c&&c.target!==f||(!c||/transform$/.test(c.propertyName))&&(f.removeEventListener("transitionend",d),f._moveCb=null,Br(f,a))};f.addEventListener("transitionend",d)})}),()=>{const a=De(e),o=i3(a);let u=a.tag||He;r=s,s=n.default?Nl(n.default()):[];for(let f=0;f{a.split(/\s+/).forEach(o=>o&&t.classList.remove(o))}),i.split(/\s+/).forEach(a=>a&&t.classList.add(a)),t.style.display="none";const r=n.nodeType===1?n:n.parentNode;r.appendChild(t);const{hasTransform:s}=s3(t);return r.removeChild(t),s}const xr=e=>{const n=e.props["onUpdate:modelValue"]||!1;return ne(n)?i=>Sa(n,i):n};function Z7(e){e.target.composing=!0}function d3(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const js={created(e,{modifiers:{lazy:n,trim:i,number:t}},r){e._assign=xr(r);const s=t||r.props&&r.props.type==="number";Lt(e,n?"change":"input",a=>{if(a.target.composing)return;let o=e.value;i&&(o=o.trim()),s&&(o=vr(o)),e._assign(o)}),i&&Lt(e,"change",()=>{e.value=e.value.trim()}),n||(Lt(e,"compositionstart",Z7),Lt(e,"compositionend",d3),Lt(e,"change",d3))},mounted(e,{value:n}){e.value=n==null?"":n},beforeUpdate(e,{value:n,modifiers:{lazy:i,trim:t,number:r}},s){if(e._assign=xr(s),e.composing||document.activeElement===e&&e.type!=="range"&&(i||t&&e.value.trim()===n||(r||e.type==="number")&&vr(e.value)===n))return;const a=n==null?"":n;e.value!==a&&(e.value=a)}},ah={deep:!0,created(e,n,i){e._assign=xr(i),Lt(e,"change",()=>{const t=e._modelValue,r=Ia(e),s=e.checked,a=e._assign;if(ne(t)){const o=ml(t,r),u=o!==-1;if(s&&!u)a(t.concat(r));else if(!s&&u){const f=[...t];f.splice(o,1),a(f)}}else if(ys(t)){const o=new Set(t);s?o.add(r):o.delete(r),a(o)}else a(p3(e,s))})},mounted:c3,beforeUpdate(e,n,i){e._assign=xr(i),c3(e,n,i)}};function c3(e,{value:n,oldValue:i},t){e._modelValue=n,ne(n)?e.checked=ml(n,t.props.value)>-1:ys(n)?e.checked=n.has(t.props.value):n!==i&&(e.checked=Fr(n,p3(e,!0)))}const oh={created(e,{value:n},i){e.checked=Fr(n,i.props.value),e._assign=xr(i),Lt(e,"change",()=>{e._assign(Ia(e))})},beforeUpdate(e,{value:n,oldValue:i},t){e._assign=xr(t),n!==i&&(e.checked=Fr(n,t.props.value))}},h3={deep:!0,created(e,{value:n,modifiers:{number:i}},t){const r=ys(n);Lt(e,"change",()=>{const s=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>i?vr(Ia(a)):Ia(a));e._assign(e.multiple?r?new Set(s):s:s[0])}),e._assign=xr(t)},mounted(e,{value:n}){m3(e,n)},beforeUpdate(e,n,i){e._assign=xr(i)},updated(e,{value:n}){m3(e,n)}};function m3(e,n){const i=e.multiple;if(!(i&&!ne(n)&&!ys(n))){for(let t=0,r=e.options.length;t-1:s.selected=n.has(a);else if(Fr(Ia(s),n)){e.selectedIndex!==t&&(e.selectedIndex=t);return}}!i&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ia(e){return"_value"in e?e._value:e.value}function p3(e,n){const i=n?"_trueValue":"_falseValue";return i in e?e[i]:n}const F3={created(e,n,i){nd(e,n,i,null,"created")},mounted(e,n,i){nd(e,n,i,null,"mounted")},beforeUpdate(e,n,i,t){nd(e,n,i,t,"beforeUpdate")},updated(e,n,i,t){nd(e,n,i,t,"updated")}};function g3(e,n){switch(e){case"SELECT":return h3;case"TEXTAREA":return js;default:switch(n){case"checkbox":return ah;case"radio":return oh;default:return js}}}function nd(e,n,i,t,r){const a=g3(e.tagName,i.props&&i.props.type)[r];a&&a(e,n,i,t)}function X7(){js.getSSRProps=({value:e})=>({value:e}),oh.getSSRProps=({value:e},n)=>{if(n.props&&Fr(n.props.value,e))return{checked:!0}},ah.getSSRProps=({value:e},n)=>{if(ne(e)){if(n.props&&ml(e,n.props.value)>-1)return{checked:!0}}else if(ys(e)){if(n.props&&e.has(n.props.value))return{checked:!0}}else if(e)return{checked:!0}},F3.getSSRProps=(e,n)=>{if(typeof n.type!="string")return;const i=g3(n.type.toUpperCase(),n.props&&n.props.type);if(i.getSSRProps)return i.getSSRProps(e,n)}}const eA=["ctrl","shift","alt","meta"],nA={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,n)=>eA.some(i=>e[`${i}Key`]&&!n.includes(i))},id=(e,n)=>(i,...t)=>{for(let r=0;ri=>{if(!("key"in i))return;const t=Gi(i.key);if(n.some(r=>r===t||iA[r]===t))return e(i)},Na={beforeMount(e,{value:n},{transition:i}){e._vod=e.style.display==="none"?"":e.style.display,i&&n?i.beforeEnter(e):bu(e,n)},mounted(e,{value:n},{transition:i}){i&&n&&i.enter(e)},updated(e,{value:n,oldValue:i},{transition:t}){!n!=!i&&(t?n?(t.beforeEnter(e),bu(e,!0),t.enter(e)):t.leave(e,()=>{bu(e,!1)}):bu(e,n))},beforeUnmount(e,{value:n}){bu(e,n)}};function bu(e,n){e.style.display=n?e._vod:"none"}function tA(){Na.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const y3=Oe({patchProp:L7},_7);let _u,k3=!1;function w3(){return _u||(_u=_2(y3))}function b3(){return _u=k3?_u:E2(y3),k3=!0,_u}const uh=(...e)=>{w3().render(...e)},_3=(...e)=>{b3().hydrate(...e)},rA=(...e)=>{const n=w3().createApp(...e),{mount:i}=n;return n.mount=t=>{const r=E3(t);if(!r)return;const s=n._component;!he(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const a=i(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},n},sA=(...e)=>{const n=b3().createApp(...e),{mount:i}=n;return n.mount=t=>{const r=E3(t);if(r)return i(r,!0,r instanceof SVGElement)},n};function E3(e){return Fe(e)?document.querySelector(e):e}let D3=!1;var aA=Object.freeze(Object.defineProperty({__proto__:null,Transition:Ns,TransitionGroup:K7,VueElement:ed,createApp:rA,createSSRApp:sA,defineCustomElement:Z2,defineSSRCustomElement:R7,hydrate:_3,initDirectivesForSSR:()=>{D3||(D3=!0,X7(),tA())},render:uh,useCssModule:H7,useCssVars:U7,vModelCheckbox:ah,vModelDynamic:F3,vModelRadio:oh,vModelSelect:h3,vModelText:js,vShow:Na,withKeys:v3,withModifiers:id,EffectScope:F0,ReactiveEffect:uu,customRef:Py,effect:wS,effectScope:vS,getCurrentScope:dy,isProxy:_0,isReactive:Ds,isReadonly:Cs,isRef:Ve,isShallow:fu,markRaw:E0,onScopeDispose:cy,proxyRefs:S0,reactive:me,readonly:Cl,ref:j,shallowReactive:$y,shallowReadonly:KS,shallowRef:Aa,stop:bS,toRaw:De,toRef:Bl,toRefs:Ml,triggerRef:GS,unref:q,camelize:Pn,capitalize:ws,normalizeClass:dn,normalizeProps:tS,normalizeStyle:Pt,toDisplayString:cn,toHandlerKey:Da,BaseTransition:P0,Comment:Nn,Fragment:He,KeepAlive:D8,Static:Ps,Suspense:g8,Teleport:S2,Text:Pa,callWithAsyncErrorHandling:Ei,callWithErrorHandling:lt,cloneVNode:Qi,compatUtils:w7,computed:le,createBlock:Ln,createCommentVNode:mn,createElementBlock:ge,createElementVNode:Y,createHydrationRenderer:E2,createPropsRestProxy:m7,createRenderer:_2,createSlots:x8,createStaticVNode:X8,createTextVNode:ui,createVNode:ie,defineAsyncComponent:E8,defineComponent:te,defineEmits:f7,defineExpose:l7,defineProps:u7,get devtools(){return xa},getCurrentInstance:pt,getTransitionRawChildren:Nl,guardReactiveProps:x2,h:Je,handleError:Ss,initCustomFormatter:g7,inject:wn,isMemoSame:U2,isRuntimeOnly:t7,isVNode:Dr,mergeDefaults:h7,mergeProps:$2,nextTick:Ba,onActivated:Xy,onBeforeMount:j0,onBeforeUnmount:Rl,onBeforeUpdate:i2,onDeactivated:e2,onErrorCaptured:a2,onMounted:br,onRenderTracked:s2,onRenderTriggered:r2,onServerPrefetch:t2,onUnmounted:zl,onUpdated:jl,openBlock:ae,popScopeId:d8,provide:Ni,pushScopeId:l8,queuePostFlushCb:B0,registerRuntimeCompiler:I2,renderList:Hl,renderSlot:hn,resolveComponent:A8,resolveDirective:B8,resolveDynamicComponent:M8,resolveFilter:k7,resolveTransitionHooks:Ta,setBlockTracking:Q0,setDevtoolsHook:Hy,setTransitionHooks:Bs,ssrContextKey:H2,ssrUtils:y7,toHandlers:$8,transformVNodeArgs:Q8,useAttrs:c7,useSSRContext:F7,useSlots:R2,useTransitionState:T0,version:V2,warn:Iy,watch:Be,watchEffect:ct,watchPostEffect:Yy,watchSyncEffect:b8,withAsyncContext:p7,withCtx:Re,withDefaults:d7,withDirectives:_r,withMemo:v7,withScopeId:c8},Symbol.toStringTag,{value:"Module"}));function fh(e){throw e}function C3(e){}function Ye(e,n,i,t){const r=e,s=new SyntaxError(String(r));return s.code=e,s.loc=n,s}const Eu=Symbol(""),Du=Symbol(""),lh=Symbol(""),td=Symbol(""),S3=Symbol(""),Rs=Symbol(""),A3=Symbol(""),M3=Symbol(""),dh=Symbol(""),ch=Symbol(""),Cu=Symbol(""),hh=Symbol(""),B3=Symbol(""),mh=Symbol(""),rd=Symbol(""),ph=Symbol(""),Fh=Symbol(""),gh=Symbol(""),vh=Symbol(""),x3=Symbol(""),$3=Symbol(""),sd=Symbol(""),ad=Symbol(""),yh=Symbol(""),kh=Symbol(""),Su=Symbol(""),Au=Symbol(""),wh=Symbol(""),bh=Symbol(""),oA=Symbol(""),_h=Symbol(""),od=Symbol(""),uA=Symbol(""),fA=Symbol(""),Eh=Symbol(""),lA=Symbol(""),dA=Symbol(""),Dh=Symbol(""),T3=Symbol(""),La={[Eu]:"Fragment",[Du]:"Teleport",[lh]:"Suspense",[td]:"KeepAlive",[S3]:"BaseTransition",[Rs]:"openBlock",[A3]:"createBlock",[M3]:"createElementBlock",[dh]:"createVNode",[ch]:"createElementVNode",[Cu]:"createCommentVNode",[hh]:"createTextVNode",[B3]:"createStaticVNode",[mh]:"resolveComponent",[rd]:"resolveDynamicComponent",[ph]:"resolveDirective",[Fh]:"resolveFilter",[gh]:"withDirectives",[vh]:"renderList",[x3]:"renderSlot",[$3]:"createSlots",[sd]:"toDisplayString",[ad]:"mergeProps",[yh]:"normalizeClass",[kh]:"normalizeStyle",[Su]:"normalizeProps",[Au]:"guardReactiveProps",[wh]:"toHandlers",[bh]:"camelize",[oA]:"capitalize",[_h]:"toHandlerKey",[od]:"setBlockTracking",[uA]:"pushScopeId",[fA]:"popScopeId",[Eh]:"withCtx",[lA]:"unref",[dA]:"isRef",[Dh]:"withMemo",[T3]:"isMemoSame"};function cA(e){Object.getOwnPropertySymbols(e).forEach(n=>{La[n]=e[n]})}const Ci={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function hA(e,n=Ci){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:n}}function Mu(e,n,i,t,r,s,a,o=!1,u=!1,f=!1,l=Ci){return e&&(o?(e.helper(Rs),e.helper(Ha(e.inSSR,f))):e.helper(za(e.inSSR,f)),a&&e.helper(gh)),{type:13,tag:n,props:i,children:t,patchFlag:r,dynamicProps:s,directives:a,isBlock:o,disableTracking:u,isComponent:f,loc:l}}function Bu(e,n=Ci){return{type:17,loc:n,elements:e}}function ji(e,n=Ci){return{type:15,loc:n,properties:e}}function Qe(e,n){return{type:16,loc:Ci,key:Fe(e)?ye(e,!0):e,value:n}}function ye(e,n=!1,i=Ci,t=0){return{type:4,loc:i,content:e,isStatic:n,constType:n?3:t}}function Zi(e,n=Ci){return{type:8,loc:n,children:e}}function sn(e,n=[],i=Ci){return{type:14,loc:i,callee:e,arguments:n}}function ja(e,n=void 0,i=!1,t=!1,r=Ci){return{type:18,params:e,returns:n,newline:i,isSlot:t,loc:r}}function Ch(e,n,i,t=!0){return{type:19,test:e,consequent:n,alternate:i,newline:t,loc:Ci}}function mA(e,n,i=!1){return{type:20,index:e,value:n,isVNode:i,loc:Ci}}function pA(e){return{type:21,body:e,loc:Ci}}const li=e=>e.type===4&&e.isStatic,Ra=(e,n)=>e===n||e===Gi(n);function P3(e){if(Ra(e,"Teleport"))return Du;if(Ra(e,"Suspense"))return lh;if(Ra(e,"KeepAlive"))return td;if(Ra(e,"BaseTransition"))return S3}const FA=/^\d|[^\$\w]/,Sh=e=>!FA.test(e),gA=/[A-Za-z_$\xA0-\uFFFF]/,vA=/[\.\?\w$\xA0-\uFFFF]/,yA=/\s+[.[]\s*|\s*[.[]\s+/g,O3=e=>{e=e.trim().replace(yA,a=>a.trim());let n=0,i=[],t=0,r=0,s=null;for(let a=0;an.type===7&&n.name==="bind"&&(!n.arg||n.arg.type!==4||!n.arg.isStatic))}function Ah(e){return e.type===5||e.type===2}function wA(e){return e.type===7&&e.name==="slot"}function dd(e){return e.type===1&&e.tagType===3}function cd(e){return e.type===1&&e.tagType===2}function za(e,n){return e||n?dh:ch}function Ha(e,n){return e||n?A3:M3}const bA=new Set([Su,Au]);function N3(e,n=[]){if(e&&!Fe(e)&&e.type===14){const i=e.callee;if(!Fe(i)&&bA.has(i))return N3(e.arguments[0],n.concat(e))}return[e,n]}function hd(e,n,i){let t,r=e.type===13?e.props:e.arguments[2],s=[],a;if(r&&!Fe(r)&&r.type===14){const o=N3(r);r=o[0],s=o[1],a=s[s.length-1]}if(r==null||Fe(r))t=ji([n]);else if(r.type===14){const o=r.arguments[0];!Fe(o)&&o.type===15?o.properties.unshift(n):r.callee===wh?t=sn(i.helper(ad),[ji([n]),r]):r.arguments.unshift(ji([n])),!t&&(t=r)}else if(r.type===15){let o=!1;if(n.key.type===4){const u=n.key.content;o=r.properties.some(f=>f.key.type===4&&f.key.content===u)}o||r.properties.unshift(n),t=r}else t=sn(i.helper(ad),[ji([n]),r]),a&&a.callee===Au&&(a=s[s.length-2]);e.type===13?a?a.arguments[0]=t:e.props=t:a?a.arguments[0]=t:e.arguments[2]=t}function xu(e,n){return`_${n}_${e.replace(/[^\w]/g,(i,t)=>i==="-"?"_":e.charCodeAt(t).toString())}`}function _A(e){return e.type===14&&e.callee===Dh?e.arguments[1].returns:e}function Mh(e,{helper:n,removeHelper:i,inSSR:t}){e.isBlock||(e.isBlock=!0,i(za(t,e.isComponent)),n(Rs),n(Ha(t,e.isComponent)))}function L3(e,n){const i=n.options?n.options.compatConfig:n.compatConfig,t=i&&i[e];return e==="MODE"?t||3:t}function Hs(e,n){const i=L3("MODE",n),t=L3(e,n);return i===3?t===!0:t!==!1}function $u(e,n,i,...t){return Hs(e,n)}const EA=/&(gt|lt|amp|apos|quot);/g,DA={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},j3={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:pl,isPreTag:pl,isCustomElement:pl,decodeEntities:e=>e.replace(EA,(n,i)=>DA[i]),onError:fh,onWarn:C3,comments:!1};function CA(e,n={}){const i=SA(e,n),t=Si(i);return hA(Bh(i,0,[]),zi(i,t))}function SA(e,n){const i=Oe({},j3);let t;for(t in n)i[t]=n[t]===void 0?j3[t]:n[t];return{options:i,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:i.onWarn}}function Bh(e,n,i){const t=md(i),r=t?t.ns:0,s=[];for(;!IA(e,n,i);){const o=e.source;let u;if(n===0||n===1){if(!e.inVPre&&jn(o,e.options.delimiters[0]))u=PA(e,n);else if(n===0&&o[0]==="<")if(o.length===1)Ne(e,5,1);else if(o[1]==="!")jn(o,"=0;){const f=a[o];f&&f.type===9&&(u+=f.branches.length)}return()=>{if(s)t.codegenNode=ek(r,u,i);else{const f=oM(t.codegenNode);f.alternate=ek(r,u+t.branches.length-1,i)}}}));function aM(e,n,i,t){if(n.name!=="else"&&(!n.exp||!n.exp.content.trim())){const r=n.exp?n.exp.loc:e.loc;i.onError(Ye(28,n.loc)),n.exp=ye("true",!1,r)}if(n.name==="if"){const r=X3(e,n),s={type:9,loc:e.loc,branches:[r]};if(i.replaceNode(s),t)return t(s,r,!0)}else{const r=i.parent.children;let s=r.indexOf(e);for(;s-->=-1;){const a=r[s];if(a&&a.type===2&&!a.content.trim().length){i.removeNode(a);continue}if(a&&a.type===9){n.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&i.onError(Ye(30,e.loc)),i.removeNode();const o=X3(e,n);a.branches.push(o);const u=t&&t(a,o,!1);Fd(o,i),u&&u(),i.currentNode=null}else i.onError(Ye(30,e.loc));break}}}function X3(e,n){const i=e.tagType===3;return{type:10,loc:e.loc,condition:n.name==="else"?void 0:n.exp,children:i&&!Ri(e,"for")?e.children:[e],userKey:ld(e,"key"),isTemplateIf:i}}function ek(e,n,i){return e.condition?Ch(e.condition,nk(e,n,i),sn(i.helper(Cu),['""',"true"])):nk(e,n,i)}function nk(e,n,i){const{helper:t}=i,r=Qe("key",ye(`${n}`,!1,Ci,2)),{children:s}=e,a=s[0];if(s.length!==1||a.type!==1)if(s.length===1&&a.type===11){const u=a.codegenNode;return hd(u,r,i),u}else{let u=64;return Mu(i,t(Eu),ji([r]),s,u+"",void 0,void 0,!0,!1,!1,e.loc)}else{const u=a.codegenNode,f=_A(u);return f.type===13&&Mh(f,i),hd(f,r,i),u}}function oM(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const uM=G3("for",(e,n,i)=>{const{helper:t,removeHelper:r}=i;return fM(e,n,i,s=>{const a=sn(t(vh),[s.source]),o=dd(e),u=Ri(e,"memo"),f=ld(e,"key"),l=f&&(f.type===6?ye(f.value.content,!0):f.exp),d=f?Qe("key",l):null,c=s.source.type===4&&s.source.constType>0,h=c?64:f?128:256;return s.codegenNode=Mu(i,t(Eu),void 0,a,h+"",void 0,void 0,!0,!c,!1,e.loc),()=>{let F;const{children:v}=s,y=v.length!==1||v[0].type!==1,p=cd(e)?e:o&&e.children.length===1&&cd(e.children[0])?e.children[0]:null;if(p?(F=p.codegenNode,o&&d&&hd(F,d,i)):y?F=Mu(i,t(Eu),d?ji([d]):void 0,e.children,64+"",void 0,void 0,!0,void 0,!1):(F=v[0].codegenNode,o&&d&&hd(F,d,i),F.isBlock!==!c&&(F.isBlock?(r(Rs),r(Ha(i.inSSR,F.isComponent))):r(za(i.inSSR,F.isComponent))),F.isBlock=!c,F.isBlock?(t(Rs),t(Ha(i.inSSR,F.isComponent))):t(za(i.inSSR,F.isComponent))),u){const m=ja(Oh(s.parseResult,[ye("_cached")]));m.body=pA([Zi(["const _memo = (",u.exp,")"]),Zi(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${i.helperString(T3)}(_cached, _memo)) return _cached`]),Zi(["const _item = ",F]),ye("_item.memo = _memo"),ye("return _item")]),a.arguments.push(m,ye("_cache"),ye(String(i.cached++)))}else a.arguments.push(ja(Oh(s.parseResult),F,!0))}})});function fM(e,n,i,t){if(!n.exp){i.onError(Ye(31,n.loc));return}const r=tk(n.exp);if(!r){i.onError(Ye(32,n.loc));return}const{addIdentifiers:s,removeIdentifiers:a,scopes:o}=i,{source:u,value:f,key:l,index:d}=r,c={type:11,loc:n.loc,source:u,valueAlias:f,keyAlias:l,objectIndexAlias:d,parseResult:r,children:dd(e)?e.children:[e]};i.replaceNode(c),o.vFor++;const h=t&&t(c);return()=>{o.vFor--,h&&h()}}const lM=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ik=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,dM=/^\(|\)$/g;function tk(e,n){const i=e.loc,t=e.content,r=t.match(lM);if(!r)return;const[,s,a]=r,o={source:vd(i,a.trim(),t.indexOf(a,s.length)),value:void 0,key:void 0,index:void 0};let u=s.trim().replace(dM,"").trim();const f=s.indexOf(u),l=u.match(ik);if(l){u=u.replace(ik,"").trim();const d=l[1].trim();let c;if(d&&(c=t.indexOf(d,f+u.length),o.key=vd(i,d,c)),l[2]){const h=l[2].trim();h&&(o.index=vd(i,h,t.indexOf(h,o.key?c+d.length:f+u.length)))}}return u&&(o.value=vd(i,u,f)),o}function vd(e,n,i){return ye(n,!1,I3(e,i,n.length))}function Oh({value:e,key:n,index:i},t=[]){return cM([e,n,i,...t])}function cM(e){let n=e.length;for(;n--&&!e[n];);return e.slice(0,n+1).map((i,t)=>i||ye("_".repeat(t+1),!1))}const rk=ye("undefined",!1),hM=(e,n)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const i=Ri(e,"slot");if(i)return i.exp,n.scopes.vSlot++,()=>{n.scopes.vSlot--}}},mM=(e,n,i)=>ja(e,n,!1,!0,n.length?n[0].loc:i);function pM(e,n,i=mM){n.helper(Eh);const{children:t,loc:r}=e,s=[],a=[];let o=n.scopes.vSlot>0||n.scopes.vFor>0;const u=Ri(e,"slot",!0);if(u){const{arg:y,exp:p}=u;y&&!li(y)&&(o=!0),s.push(Qe(y||ye("default",!0),i(p,t,r)))}let f=!1,l=!1;const d=[],c=new Set;let h=0;for(let y=0;y{const k=i(p,m,r);return n.compatConfig&&(k.isNonScopedSlot=!0),Qe("default",k)};f?d.length&&d.some(p=>sk(p))&&(l?n.onError(Ye(39,d[0].loc)):s.push(y(void 0,d))):s.push(y(void 0,t))}const F=o?2:kd(e.children)?3:1;let v=ji(s.concat(Qe("_",ye(F+"",!1))),r);return a.length&&(v=sn(n.helper($3),[v,Bu(a)])),{slots:v,hasDynamicSlots:o}}function yd(e,n,i){const t=[Qe("name",e),Qe("fn",n)];return i!=null&&t.push(Qe("key",ye(String(i),!0))),ji(t)}function kd(e){for(let n=0;nfunction(){if(e=n.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:t,props:r}=e,s=e.tagType===1;let a=s?gM(e,n):`"${t}"`;const o=je(a)&&a.callee===rd;let u,f,l,d=0,c,h,F,v=o||a===Du||a===lh||!s&&(t==="svg"||t==="foreignObject");if(r.length>0){const y=ok(e,n,void 0,s,o);u=y.props,d=y.patchFlag,h=y.dynamicPropNames;const p=y.directives;F=p&&p.length?Bu(p.map(m=>yM(m,n))):void 0,y.shouldUseBlock&&(v=!0)}if(e.children.length>0)if(a===td&&(v=!0,d|=1024),s&&a!==Du&&a!==td){const{slots:p,hasDynamicSlots:m}=pM(e,n);f=p,m&&(d|=1024)}else if(e.children.length===1&&a!==Du){const p=e.children[0],m=p.type,k=m===5||m===8;k&&Hi(p,n)===0&&(d|=1),k||m===2?f=p:f=e.children}else f=e.children;d!==0&&(l=String(d),h&&h.length&&(c=kM(h))),e.codegenNode=Mu(n,a,u,f,l,c,F,!!v,!1,s,e.loc)};function gM(e,n,i=!1){let{tag:t}=e;const r=Ih(t),s=ld(e,"is");if(s)if(r||Hs("COMPILER_IS_ON_ELEMENT",n)){const u=s.type===6?s.value&&ye(s.value.content,!0):s.exp;if(u)return sn(n.helper(rd),[u])}else s.type===6&&s.value.content.startsWith("vue:")&&(t=s.value.content.slice(4));const a=!r&&Ri(e,"is");if(a&&a.exp)return sn(n.helper(rd),[a.exp]);const o=P3(t)||n.isBuiltInComponent(t);return o?(i||n.helper(o),o):(n.helper(mh),n.components.add(t),xu(t,"component"))}function ok(e,n,i=e.props,t,r,s=!1){const{tag:a,loc:o,children:u}=e;let f=[];const l=[],d=[],c=u.length>0;let h=!1,F=0,v=!1,y=!1,p=!1,m=!1,k=!1,w=!1;const D=[],E=S=>{f.length&&(l.push(ji(uk(f),o)),f=[]),S&&l.push(S)},C=({key:S,value:A})=>{if(li(S)){const T=S.content,$=vs(T);if($&&(!t||r)&&T.toLowerCase()!=="onclick"&&T!=="onUpdate:modelValue"&&!ks(T)&&(m=!0),$&&ks(T)&&(w=!0),A.type===20||(A.type===4||A.type===8)&&Hi(A,n)>0)return;T==="ref"?v=!0:T==="class"?y=!0:T==="style"?p=!0:T!=="key"&&!D.includes(T)&&D.push(T),t&&(T==="class"||T==="style")&&!D.includes(T)&&D.push(T)}else k=!0};for(let S=0;S0&&f.push(Qe(ye("ref_for",!0),ye("true")))),$==="is"&&(Ih(a)||z&&z.content.startsWith("vue:")||Hs("COMPILER_IS_ON_ELEMENT",n)))continue;f.push(Qe(ye($,!0,I3(T,0,$.length)),ye(z?z.content:"",I,z?z.loc:T)))}else{const{name:T,arg:$,exp:z,loc:I}=A,Z=T==="bind",J=T==="on";if(T==="slot"){t||n.onError(Ye(40,I));continue}if(T==="once"||T==="memo"||T==="is"||Z&&zs($,"is")&&(Ih(a)||Hs("COMPILER_IS_ON_ELEMENT",n))||J&&s)continue;if((Z&&zs($,"key")||J&&c&&zs($,"vue:before-update"))&&(h=!0),Z&&zs($,"ref")&&n.scopes.vFor>0&&f.push(Qe(ye("ref_for",!0),ye("true"))),!$&&(Z||J)){if(k=!0,z)if(Z){if(E(),Hs("COMPILER_V_BIND_OBJECT_ORDER",n)){l.unshift(z);continue}l.push(z)}else E({type:14,loc:I,callee:n.helper(wh),arguments:t?[z]:[z,"true"]});else n.onError(Ye(Z?34:35,I));continue}const oe=n.directiveTransforms[T];if(oe){const{props:X,needRuntime:be}=oe(A,e,n);!s&&X.forEach(C),J&&$&&!li($)?E(ji(X,o)):f.push(...X),be&&(d.push(A),gr(be)&&ak.set(A,be))}else mS(T)||(d.push(A),c&&(h=!0))}}let b;if(l.length?(E(),l.length>1?b=sn(n.helper(ad),l,o):b=l[0]):f.length&&(b=ji(uk(f),o)),k?F|=16:(y&&!t&&(F|=2),p&&!t&&(F|=4),D.length&&(F|=8),m&&(F|=32)),!h&&(F===0||F===32)&&(v||w||d.length>0)&&(F|=512),!n.inSSR&&b)switch(b.type){case 15:let S=-1,A=-1,T=!1;for(let I=0;IQe(a,s)),r))}return Bu(i,e.loc)}function kM(e){let n="[";for(let i=0,t=e.length;i{const n=Object.create(null);return i=>n[i]||(n[i]=e(i))},bM=/-(\w)/g,fk=wM(e=>e.replace(bM,(n,i)=>i?i.toUpperCase():"")),_M=(e,n)=>{if(cd(e)){const{children:i,loc:t}=e,{slotName:r,slotProps:s}=EM(e,n),a=[n.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let o=2;s&&(a[2]=s,o=3),i.length&&(a[3]=ja([],i,!1,!1,t),o=4),n.scopeId&&!n.slotted&&(o=5),a.splice(o),e.codegenNode=sn(n.helper(x3),a,t)}};function EM(e,n){let i='"default"',t;const r=[];for(let s=0;s0){const{props:s,directives:a}=ok(e,n,r,!1,!1);t=s,a.length&&n.onError(Ye(36,a[0].loc))}return{slotName:i,slotProps:t}}const DM=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,lk=(e,n,i,t)=>{const{loc:r,modifiers:s,arg:a}=e;!e.exp&&!s.length&&i.onError(Ye(35,r));let o;if(a.type===4)if(a.isStatic){let d=a.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const c=n.tagType===1||d.startsWith("vnode")||!/[A-Z]/.test(d)?Da(Pn(d)):`on:${d}`;o=ye(c,!0,a.loc)}else o=Zi([`${i.helperString(_h)}(`,a,")"]);else o=a,o.children.unshift(`${i.helperString(_h)}(`),o.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let f=i.cacheHandlers&&!u&&!i.inVOnce;if(u){const d=O3(u.content),c=!(d||DM.test(u.content)),h=u.content.includes(";");(c||f&&d)&&(u=Zi([`${c?"$event":"(...args)"} => ${h?"{":"("}`,u,h?"}":")"]))}let l={props:[Qe(o,u||ye("() => {}",!1,r))]};return t&&(l=t(l)),f&&(l.props[0].value=i.cache(l.props[0].value)),l.props.forEach(d=>d.key.isHandlerKey=!0),l},CM=(e,n,i)=>{const{exp:t,modifiers:r,loc:s}=e,a=e.arg;return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),r.includes("camel")&&(a.type===4?a.isStatic?a.content=Pn(a.content):a.content=`${i.helperString(bh)}(${a.content})`:(a.children.unshift(`${i.helperString(bh)}(`),a.children.push(")"))),i.inSSR||(r.includes("prop")&&dk(a,"."),r.includes("attr")&&dk(a,"^")),!t||t.type===4&&!t.content.trim()?(i.onError(Ye(34,s)),{props:[Qe(a,ye("",!0,s))]}):{props:[Qe(a,t)]}},dk=(e,n)=>{e.type===4?e.isStatic?e.content=n+e.content:e.content=`\`${n}\${${e.content}}\``:(e.children.unshift(`'${n}' + (`),e.children.push(")"))},SM=(e,n)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const i=e.children;let t,r=!1;for(let s=0;ss.type===7&&!n.directiveTransforms[s.name])&&e.tag!=="template")))for(let s=0;s{if(e.type===1&&Ri(e,"once",!0))return ck.has(e)||n.inVOnce?void 0:(ck.add(e),n.inVOnce=!0,n.helper(od),()=>{n.inVOnce=!1;const i=n.currentNode;i.codegenNode&&(i.codegenNode=n.cache(i.codegenNode,!0))})},hk=(e,n,i)=>{const{exp:t,arg:r}=e;if(!t)return i.onError(Ye(41,e.loc)),Nh();const s=t.loc.source,a=t.type===4?t.content:s;i.bindingMetadata[s];const o=!1;if(!a.trim()||!O3(a)&&!o)return i.onError(Ye(42,t.loc)),Nh();const u=r||ye("modelValue",!0),f=r?li(r)?`onUpdate:${r.content}`:Zi(['"onUpdate:" + ',r]):"onUpdate:modelValue";let l;const d=i.isTS?"($event: any)":"$event";l=Zi([`${d} => ((`,t,") = $event)"]);const c=[Qe(u,e.exp),Qe(f,l)];if(e.modifiers.length&&n.tagType===1){const h=e.modifiers.map(v=>(Sh(v)?v:JSON.stringify(v))+": true").join(", "),F=r?li(r)?`${r.content}Modifiers`:Zi([r,' + "Modifiers"']):"modelModifiers";c.push(Qe(F,ye(`{ ${h} }`,!1,e.loc,2)))}return Nh(c)};function Nh(e=[]){return{props:e}}const MM=/[\w).+\-_$\]]/,BM=(e,n)=>{!Hs("COMPILER_FILTER",n)||(e.type===5&&wd(e.content,n),e.type===1&&e.props.forEach(i=>{i.type===7&&i.name!=="for"&&i.exp&&wd(i.exp,n)}))};function wd(e,n){if(e.type===4)mk(e,n);else for(let i=0;i=0&&(m=i.charAt(p),m===" ");p--);(!m||!MM.test(m))&&(a=!0)}}F===void 0?F=i.slice(0,h).trim():l!==0&&y();function y(){v.push(i.slice(l,h).trim()),l=h+1}if(v.length){for(h=0;h{if(e.type===1){const i=Ri(e,"memo");return!i||pk.has(e)?void 0:(pk.add(e),()=>{const t=e.codegenNode||n.currentNode.codegenNode;t&&t.type===13&&(e.tagType!==1&&Mh(t,n),e.codegenNode=sn(n.helper(Dh),[i.exp,ja(void 0,t),"_cache",String(n.cached++)]))})}};function TM(e){return[[AM,sM,$M,uM,BM,_M,FM,hM,SM],{on:lk,bind:CM,model:hk}]}function PM(e,n={}){const i=n.onError||fh,t=n.mode==="module";n.prefixIdentifiers===!0?i(Ye(46)):t&&i(Ye(47));const r=!1;n.cacheHandlers&&i(Ye(48)),n.scopeId&&!t&&i(Ye(49));const s=Fe(e)?CA(e,n):e,[a,o]=TM();return RA(s,Oe({},n,{prefixIdentifiers:r,nodeTransforms:[...a,...n.nodeTransforms||[]],directiveTransforms:Oe({},o,n.directiveTransforms||{})})),VA(s,Oe({},n,{prefixIdentifiers:r}))}const OM=()=>({props:[]}),Fk=Symbol(""),gk=Symbol(""),vk=Symbol(""),yk=Symbol(""),Lh=Symbol(""),kk=Symbol(""),wk=Symbol(""),bk=Symbol(""),_k=Symbol(""),Ek=Symbol("");cA({[Fk]:"vModelRadio",[gk]:"vModelCheckbox",[vk]:"vModelText",[yk]:"vModelSelect",[Lh]:"vModelDynamic",[kk]:"withModifiers",[wk]:"withKeys",[bk]:"vShow",[_k]:"Transition",[Ek]:"TransitionGroup"});let Ua;function IM(e,n=!1){return Ua||(Ua=document.createElement("div")),n?(Ua.innerHTML=`
`,Ua.children[0].getAttribute("foo")):(Ua.innerHTML=e,Ua.textContent)}const NM=ai("style,iframe,script,noscript",!0),LM={isVoidTag:fS,isNativeTag:e=>oS(e)||uS(e),isPreTag:e=>e==="pre",decodeEntities:IM,isBuiltInComponent:e=>{if(Ra(e,"Transition"))return _k;if(Ra(e,"TransitionGroup"))return Ek},getNamespace(e,n){let i=n?n.ns:0;if(n&&i===2)if(n.tag==="annotation-xml"){if(e==="svg")return 1;n.props.some(t=>t.type===6&&t.name==="encoding"&&t.value!=null&&(t.value.content==="text/html"||t.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(n.tag)&&e!=="mglyph"&&e!=="malignmark"&&(i=0);else n&&i===1&&(n.tag==="foreignObject"||n.tag==="desc"||n.tag==="title")&&(i=0);if(i===0){if(e==="svg")return 1;if(e==="math")return 2}return i},getTextMode({tag:e,ns:n}){if(n===0){if(e==="textarea"||e==="title")return 1;if(NM(e))return 2}return 0}},jM=e=>{e.type===1&&e.props.forEach((n,i)=>{n.type===6&&n.name==="style"&&n.value&&(e.props[i]={type:7,name:"bind",arg:ye("style",!0,n.loc),exp:RM(n.value.content,n.loc),modifiers:[],loc:n.loc})})},RM=(e,n)=>{const i=ry(e);return ye(JSON.stringify(i),!1,n,3)};function Rt(e,n){return Ye(e,n)}const zM=(e,n,i)=>{const{exp:t,loc:r}=e;return t||i.onError(Rt(50,r)),n.children.length&&(i.onError(Rt(51,r)),n.children.length=0),{props:[Qe(ye("innerHTML",!0,r),t||ye("",!0))]}},HM=(e,n,i)=>{const{exp:t,loc:r}=e;return t||i.onError(Rt(52,r)),n.children.length&&(i.onError(Rt(53,r)),n.children.length=0),{props:[Qe(ye("textContent",!0),t?Hi(t,i)>0?t:sn(i.helperString(sd),[t],r):ye("",!0))]}},UM=(e,n,i)=>{const t=hk(e,n,i);if(!t.props.length||n.tagType===1)return t;e.arg&&i.onError(Rt(55,e.arg.loc));const{tag:r}=n,s=i.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||s){let a=vk,o=!1;if(r==="input"||s){const u=ld(n,"type");if(u){if(u.type===7)a=Lh;else if(u.value)switch(u.value.content){case"radio":a=Fk;break;case"checkbox":a=gk;break;case"file":o=!0,i.onError(Rt(56,e.loc));break}}else kA(n)&&(a=Lh)}else r==="select"&&(a=yk);o||(t.needRuntime=i.helper(a))}else i.onError(Rt(54,e.loc));return t.props=t.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),t},VM=ai("passive,once,capture"),WM=ai("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),qM=ai("left,right"),Dk=ai("onkeyup,onkeydown,onkeypress",!0),KM=(e,n,i,t)=>{const r=[],s=[],a=[];for(let o=0;oli(e)&&e.content.toLowerCase()==="onclick"?ye(n,!0):e.type!==4?Zi(["(",e,`) === "onClick" ? "${n}" : (`,e,")"]):e,YM=(e,n,i)=>lk(e,n,i,t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:s,value:a}=t.props[0];const{keyModifiers:o,nonKeyModifiers:u,eventOptionModifiers:f}=KM(s,r,i,e.loc);if(u.includes("right")&&(s=Ck(s,"onContextmenu")),u.includes("middle")&&(s=Ck(s,"onMouseup")),u.length&&(a=sn(i.helper(kk),[a,JSON.stringify(u)])),o.length&&(!li(s)||Dk(s.content))&&(a=sn(i.helper(wk),[a,JSON.stringify(o)])),f.length){const l=f.map(ws).join("");s=li(s)?ye(`${s.content}${l}`,!0):Zi(["(",s,`) + "${l}"`])}return{props:[Qe(s,a)]}}),GM=(e,n,i)=>{const{exp:t,loc:r}=e;return t||i.onError(Rt(58,r)),{props:[],needRuntime:i.helper(bk)}},JM=(e,n)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(n.onError(Rt(60,e.loc)),n.removeNode())},QM=[jM],ZM={cloak:OM,html:zM,text:HM,model:UM,on:YM,show:GM};function XM(e,n={}){return PM(e,Oe({},LM,n,{nodeTransforms:[JM,...QM,...n.nodeTransforms||[]],directiveTransforms:Oe({},ZM,n.directiveTransforms||{}),transformHoist:null}))}const Sk=Object.create(null);function eB(e,n){if(!Fe(e))if(e.nodeType)e=e.innerHTML;else return Zn;const i=e,t=Sk[i];if(t)return t;if(e[0]==="#"){const o=document.querySelector(e);e=o?o.innerHTML:""}const r=Oe({hoistStatic:!0,onError:void 0,onWarn:Zn},n);!r.isCustomElement&&typeof customElements!="undefined"&&(r.isCustomElement=o=>!!customElements.get(o));const{code:s}=XM(e,r),a=new Function("Vue",s)(aA);return a._rc=!0,Sk[i]=a}I2(eB);/*! +var CommentWidget=function(xu){"use strict";function En(n,e){const i=Object.create(null),t=n.split(",");for(let r=0;r!!i[r.toLowerCase()]:r=>!!i[r]}const Ig=En("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),Lg=En("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Zd(n){return!!n||n===""}function Ci(n){if(V(n)){const e={};for(let i=0;i{if(i){const t=i.split(jg);t.length>1&&(e[t[0].trim()]=t[1].trim())}}),e}function Ue(n){let e="";if(ue(n))e=n;else if(V(n))for(let i=0;iVi(i,e))}const We=n=>ue(n)?n:n==null?"":V(n)||Ee(n)&&(n.toString===i1||!re(n.toString))?JSON.stringify(n,e1,2):String(n),e1=(n,e)=>e&&e.__v_isRef?e1(n,e.value):fr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((i,[t,r])=>(i[`${t} =>`]=r,i),{})}:Et(e)?{[`Set(${e.size})`]:[...e.values()]}:Ee(e)&&!V(e)&&!t1(e)?String(e):e,ke={},ur=[],gn=()=>{},cs=()=>!1,Gg=/^on[^a-z]/,_t=n=>Gg.test(n),Mu=n=>n.startsWith("onUpdate:"),we=Object.assign,Pu=(n,e)=>{const i=n.indexOf(e);i>-1&&n.splice(i,1)},Yg=Object.prototype.hasOwnProperty,pe=(n,e)=>Yg.call(n,e),V=Array.isArray,fr=n=>la(n)==="[object Map]",Et=n=>la(n)==="[object Set]",n1=n=>la(n)==="[object Date]",re=n=>typeof n=="function",ue=n=>typeof n=="string",Gi=n=>typeof n=="symbol",Ee=n=>n!==null&&typeof n=="object",Ou=n=>Ee(n)&&re(n.then)&&re(n.catch),i1=Object.prototype.toString,la=n=>i1.call(n),Kg=n=>la(n).slice(8,-1),t1=n=>la(n)==="[object Object]",Tu=n=>ue(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,Dt=En(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qg=En("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Fs=n=>{const e=Object.create(null);return i=>e[i]||(e[i]=n(i))},Jg=/-(\w)/g,rn=Fs(n=>n.replace(Jg,(e,i)=>i?i.toUpperCase():"")),Zg=/\B([A-Z])/g,Zn=Fs(n=>n.replace(Zg,"-$1").toLowerCase()),Ct=Fs(n=>n.charAt(0).toUpperCase()+n.slice(1)),lr=Fs(n=>n?`on${Ct(n)}`:""),dr=(n,e)=>!Object.is(n,e),cr=(n,e)=>{for(let i=0;i{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:i})},Yi=n=>{const e=parseFloat(n);return isNaN(e)?n:e};let r1;const Xg=()=>r1||(r1=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Pn;class Iu{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&Pn&&(this.parent=Pn,this.index=(Pn.scopes||(Pn.scopes=[])).push(this)-1)}run(e){if(this.active){const i=Pn;try{return Pn=this,e()}finally{Pn=i}}}on(){Pn=this}off(){Pn=this.parent}stop(e){if(this.active){let i,t;for(i=0,t=this.effects.length;i{const e=new Set(n);return e.w=0,e.n=0,e},u1=n=>(n.w&Ki)>0,f1=n=>(n.n&Ki)>0,ny=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let i=0;for(let t=0;t{(f==="length"||f>=t)&&o.push(u)});else switch(i!==void 0&&o.push(s.get(i)),e){case"add":V(n)?Tu(i)&&o.push(s.get("length")):(o.push(s.get(St)),fr(n)&&o.push(s.get(Ru)));break;case"delete":V(n)||(o.push(s.get(St)),fr(n)&&o.push(s.get(Ru)));break;case"set":fr(n)&&o.push(s.get(St));break}if(o.length===1)o[0]&&$u(o[0]);else{const u=[];for(const f of o)f&&u.push(...f);$u(Lu(u))}}function $u(n,e){const i=V(n)?n:[...n];for(const t of i)t.computed&&F1(t);for(const t of i)t.computed||F1(t)}function F1(n,e){(n!==Xn||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const ay=En("__proto__,__v_isRef,__isVue"),h1=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Gi)),sy=ms(),oy=ms(!1,!0),uy=ms(!0),fy=ms(!0,!0),m1=ly();function ly(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...i){const t=he(this);for(let a=0,s=this.length;a{n[e]=function(...i){At();const t=he(this)[e].apply(this,i);return Bt(),t}}),n}function ms(n=!1,e=!1){return function(t,r,a){if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return e;if(r==="__v_raw"&&a===(n?e?C1:D1:e?E1:_1).get(t))return t;const s=V(t);if(!n&&s&&pe(m1,r))return Reflect.get(m1,r,a);const o=Reflect.get(t,r,a);return(Gi(r)?h1.has(r):ay(r))||(n||On(t,"get",r),e)?o:Me(o)?s&&Tu(r)?o:o.value:Ee(o)?n?_s(o):ae(o):o}}const dy=v1(),cy=v1(!0);function v1(n=!1){return function(i,t,r,a){let s=i[t];if(Mt(s)&&Me(s)&&!Me(r))return!1;if(!n&&(!Fa(r)&&!Mt(r)&&(s=he(s),r=he(r)),!V(i)&&Me(s)&&!Me(r)))return s.value=r,!0;const o=V(i)&&Tu(t)?Number(t)n,vs=n=>Reflect.getPrototypeOf(n);function ps(n,e,i=!1,t=!1){n=n.__v_raw;const r=he(n),a=he(e);i||(e!==a&&On(r,"get",e),On(r,"get",a));const{has:s}=vs(r),o=t?zu:i?Wu:ha;if(s.call(r,e))return o(n.get(e));if(s.call(r,a))return o(n.get(a));n!==r&&n.get(e)}function gs(n,e=!1){const i=this.__v_raw,t=he(i),r=he(n);return e||(n!==r&&On(t,"has",n),On(t,"has",r)),n===r?i.has(n):i.has(n)||i.has(r)}function ys(n,e=!1){return n=n.__v_raw,!e&&On(he(n),"iterate",St),Reflect.get(n,"size",n)}function y1(n){n=he(n);const e=he(this);return vs(e).has.call(e,n)||(e.add(n),Si(e,"add",n,n)),this}function k1(n,e){e=he(e);const i=he(this),{has:t,get:r}=vs(i);let a=t.call(i,n);a||(n=he(n),a=t.call(i,n));const s=r.call(i,n);return i.set(n,e),a?dr(e,s)&&Si(i,"set",n,e):Si(i,"add",n,e),this}function w1(n){const e=he(this),{has:i,get:t}=vs(e);let r=i.call(e,n);r||(n=he(n),r=i.call(e,n)),t&&t.call(e,n);const a=e.delete(n);return r&&Si(e,"delete",n,void 0),a}function b1(){const n=he(this),e=n.size!==0,i=n.clear();return e&&Si(n,"clear",void 0,void 0),i}function ks(n,e){return function(t,r){const a=this,s=a.__v_raw,o=he(s),u=e?zu:n?Wu:ha;return!n&&On(o,"iterate",St),s.forEach((f,l)=>t.call(r,u(f),u(l),a))}}function ws(n,e,i){return function(...t){const r=this.__v_raw,a=he(r),s=fr(a),o=n==="entries"||n===Symbol.iterator&&s,u=n==="keys"&&s,f=r[n](...t),l=i?zu:e?Wu:ha;return!e&&On(a,"iterate",u?Ru:St),{next(){const{value:d,done:c}=f.next();return c?{value:d,done:c}:{value:o?[l(d[0]),l(d[1])]:l(d),done:c}},[Symbol.iterator](){return this}}}}function Ji(n){return function(...e){return n==="delete"?!1:this}}function gy(){const n={get(a){return ps(this,a)},get size(){return ys(this)},has:gs,add:y1,set:k1,delete:w1,clear:b1,forEach:ks(!1,!1)},e={get(a){return ps(this,a,!1,!0)},get size(){return ys(this)},has:gs,add:y1,set:k1,delete:w1,clear:b1,forEach:ks(!1,!0)},i={get(a){return ps(this,a,!0)},get size(){return ys(this,!0)},has(a){return gs.call(this,a,!0)},add:Ji("add"),set:Ji("set"),delete:Ji("delete"),clear:Ji("clear"),forEach:ks(!0,!1)},t={get(a){return ps(this,a,!0,!0)},get size(){return ys(this,!0)},has(a){return gs.call(this,a,!0)},add:Ji("add"),set:Ji("set"),delete:Ji("delete"),clear:Ji("clear"),forEach:ks(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=ws(a,!1,!1),i[a]=ws(a,!0,!1),e[a]=ws(a,!1,!0),t[a]=ws(a,!0,!0)}),[n,i,e,t]}const[yy,ky,wy,by]=gy();function bs(n,e){const i=e?n?by:wy:n?ky:yy;return(t,r,a)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?t:Reflect.get(pe(i,r)&&r in t?i:t,r,a)}const _y={get:bs(!1,!1)},Ey={get:bs(!1,!0)},Dy={get:bs(!0,!1)},Cy={get:bs(!0,!0)},_1=new WeakMap,E1=new WeakMap,D1=new WeakMap,C1=new WeakMap;function Sy(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ay(n){return n.__v_skip||!Object.isExtensible(n)?0:Sy(Kg(n))}function ae(n){return Mt(n)?n:Es(n,!1,p1,_y,_1)}function S1(n){return Es(n,!1,vy,Ey,E1)}function _s(n){return Es(n,!0,g1,Dy,D1)}function By(n){return Es(n,!0,py,Cy,C1)}function Es(n,e,i,t,r){if(!Ee(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const a=r.get(n);if(a)return a;const s=Ay(n);if(s===0)return n;const o=new Proxy(n,s===2?t:i);return r.set(n,o),o}function xt(n){return Mt(n)?xt(n.__v_raw):!!(n&&n.__v_isReactive)}function Mt(n){return!!(n&&n.__v_isReadonly)}function Fa(n){return!!(n&&n.__v_isShallow)}function Hu(n){return xt(n)||Mt(n)}function he(n){const e=n&&n.__v_raw;return e?he(e):n}function Uu(n){return hs(n,"__v_skip",!0),n}const ha=n=>Ee(n)?ae(n):n,Wu=n=>Ee(n)?_s(n):n;function qu(n){Qi&&Xn&&(n=he(n),c1(n.dep||(n.dep=Lu())))}function Ds(n,e){n=he(n),n.dep&&$u(n.dep)}function Me(n){return!!(n&&n.__v_isRef===!0)}function S(n){return A1(n,!1)}function Fr(n){return A1(n,!0)}function A1(n,e){return Me(n)?n:new xy(n,e)}class xy{constructor(e,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?e:he(e),this._value=i?e:ha(e)}get value(){return qu(this),this._value}set value(e){const i=this.__v_isShallow||Fa(e)||Mt(e);e=i?e:he(e),dr(e,this._rawValue)&&(this._rawValue=e,this._value=i?e:ha(e),Ds(this))}}function My(n){Ds(n)}function T(n){return Me(n)?n.value:n}const Py={get:(n,e,i)=>T(Reflect.get(n,e,i)),set:(n,e,i,t)=>{const r=n[e];return Me(r)&&!Me(i)?(r.value=i,!0):Reflect.set(n,e,i,t)}};function Vu(n){return xt(n)?n:new Proxy(n,Py)}class Oy{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:i,set:t}=e(()=>qu(this),()=>Ds(this));this._get=i,this._set=t}get value(){return this._get()}set value(e){this._set(e)}}function B1(n){return new Oy(n)}function Cs(n){const e=V(n)?new Array(n.length):{};for(const i in n)e[i]=Ss(n,i);return e}class Ty{constructor(e,i,t){this._object=e,this._key=i,this._defaultValue=t,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Ss(n,e,i){const t=n[e];return Me(t)?t:new Ty(n,e,i)}var x1;class Iy{constructor(e,i,t,r){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this[x1]=!1,this._dirty=!0,this.effect=new ca(e,()=>{this._dirty||(this._dirty=!0,Ds(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=t}get value(){const e=he(this);return qu(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}x1="__v_isReadonly";function Ly(n,e,i=!1){let t,r;const a=re(n);return a?(t=n,r=gn):(t=n.get,r=n.set),new Iy(t,r,a||!r,i)}const ma=[];function M1(n,...e){At();const i=ma.length?ma[ma.length-1].component:null,t=i&&i.appContext.config.warnHandler,r=Ny();if(t)ui(t,i,11,[n+e.join(""),i&&i.proxy,r.map(({vnode:a})=>`at <${Tc(i,a.type)}>`).join(` +`),r]);else{const a=[`[Vue warn]: ${n}`,...e];r.length&&a.push(` +`,...jy(r)),console.warn(...a)}Bt()}function Ny(){let n=ma[ma.length-1];if(!n)return[];const e=[];for(;n;){const i=e[0];i&&i.vnode===n?i.recurseCount++:e.push({vnode:n,recurseCount:0});const t=n.component&&n.component.parent;n=t&&t.vnode}return e}function jy(n){const e=[];return n.forEach((i,t)=>{e.push(...t===0?[]:[` +`],...Ry(i))}),e}function Ry({vnode:n,recurseCount:e}){const i=e>0?`... (${e} recursive calls)`:"",t=n.component?n.component.parent==null:!1,r=` at <${Tc(n.component,n.type,t)}`,a=">"+i;return n.props?[r,...$y(n.props),a]:[r+a]}function $y(n){const e=[],i=Object.keys(n);return i.slice(0,3).forEach(t=>{e.push(...P1(t,n[t]))}),i.length>3&&e.push(" ..."),e}function P1(n,e,i){return ue(e)?(e=JSON.stringify(e),i?e:[`${n}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?i?e:[`${n}=${e}`]:Me(e)?(e=P1(n,he(e.value),!0),i?e:[`${n}=Ref<`,e,">"]):re(e)?[`${n}=fn${e.name?`<${e.name}>`:""}`]:(e=he(e),i?e:[`${n}=`,e])}function ui(n,e,i,t){let r;try{r=t?n(...t):n()}catch(a){Pt(a,e,i)}return r}function Tn(n,e,i,t){if(re(n)){const a=ui(n,e,i,t);return a&&Ou(a)&&a.catch(s=>{Pt(s,e,i)}),a}const r=[];for(let a=0;a>>1;pa(an[t])fi&&an.splice(e,1)}function Ku(n){V(n)?hr.push(...n):(!Ai||!Ai.includes(n,n.allowRecurse?Ot+1:Ot))&&hr.push(n),T1()}function I1(n,e=va?fi+1:0){for(;epa(i)-pa(t)),Ot=0;Otn.id==null?1/0:n.id,Wy=(n,e)=>{const i=pa(n)-pa(e);if(i===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return i};function L1(n){Gu=!1,va=!0,an.sort(Wy);const e=gn;try{for(fi=0;fivr.emit(r,...a)),xs=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((t=(i=window.navigator)===null||i===void 0?void 0:i.userAgent)===null||t===void 0)&&t.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{N1(a,e)}),setTimeout(()=>{vr||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,xs=[])},3e3)):xs=[]}function qy(n,e,...i){if(n.isUnmounted)return;const t=n.vnode.props||ke;let r=i;const a=e.startsWith("update:"),s=a&&e.slice(7);if(s&&s in t){const l=`${s==="modelValue"?"model":s}Modifiers`,{number:d,trim:c}=t[l]||ke;c&&(r=i.map(F=>F.trim())),d&&(r=i.map(Yi))}let o,u=t[o=lr(e)]||t[o=lr(rn(e))];!u&&a&&(u=t[o=lr(Zn(e))]),u&&Tn(u,n,6,r);const f=t[o+"Once"];if(f){if(!n.emitted)n.emitted={};else if(n.emitted[o])return;n.emitted[o]=!0,Tn(f,n,6,r)}}function j1(n,e,i=!1){const t=e.emitsCache,r=t.get(n);if(r!==void 0)return r;const a=n.emits;let s={},o=!1;if(!re(n)){const u=f=>{const l=j1(f,e,!0);l&&(o=!0,we(s,l))};!i&&e.mixins.length&&e.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}return!a&&!o?(Ee(n)&&t.set(n,null),null):(V(a)?a.forEach(u=>s[u]=null):we(s,a),Ee(n)&&t.set(n,s),s)}function Ms(n,e){return!n||!_t(e)?!1:(e=e.slice(2).replace(/Once$/,""),pe(n,e[0].toLowerCase()+e.slice(1))||pe(n,Zn(e))||pe(n,e))}let sn=null,Ps=null;function ga(n){const e=sn;return sn=n,Ps=n&&n.type.__scopeId||null,e}function Vy(n){Ps=n}function Gy(){Ps=null}const Yy=n=>De;function De(n,e=sn,i){if(!e||n._n)return n;const t=(...r)=>{t._d&&pf(-1);const a=ga(e),s=n(...r);return ga(a),t._d&&pf(1),s};return t._n=!0,t._c=!0,t._d=!0,t}function hS(){}function Os(n){const{type:e,vnode:i,proxy:t,withProxy:r,props:a,propsOptions:[s],slots:o,attrs:u,emit:f,render:l,renderCache:d,data:c,setupState:F,ctx:h,inheritAttrs:p}=n;let g,m;const v=ga(n);try{if(i.shapeFlag&4){const y=r||t;g=In(l.call(y,y,d,a,F,c,h)),m=u}else{const y=e;g=In(y.length>1?y(a,{attrs:u,slots:o,emit:f}):y(a,null)),m=e.props?u:Qy(u)}}catch(y){Ea.length=0,Pt(y,n,1),g=G(on)}let k=g;if(m&&p!==!1){const y=Object.keys(m),{shapeFlag:_}=k;y.length&&_&7&&(s&&y.some(Mu)&&(m=Jy(m,s)),k=ei(k,m))}return i.dirs&&(k=ei(k),k.dirs=k.dirs?k.dirs.concat(i.dirs):i.dirs),i.transition&&(k.transition=i.transition),g=k,ga(v),g}function Ky(n){let e;for(let i=0;i{let e;for(const i in n)(i==="class"||i==="style"||_t(i))&&((e||(e={}))[i]=n[i]);return e},Jy=(n,e)=>{const i={};for(const t in n)(!Mu(t)||!(t.slice(9)in e))&&(i[t]=n[t]);return i};function Zy(n,e,i){const{props:t,children:r,component:a}=n,{props:s,children:o,patchFlag:u}=e,f=a.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&u>=0){if(u&1024)return!0;if(u&16)return t?R1(t,s,f):!!s;if(u&8){const l=e.dynamicProps;for(let d=0;dn.__isSuspense,Xy={name:"Suspense",__isSuspense:!0,process(n,e,i,t,r,a,s,o,u,f){n==null?e2(e,i,t,r,a,s,o,u,f):n2(n,e,i,t,r,s,o,u,f)},hydrate:i2,create:Ju,normalize:t2};function ya(n,e){const i=n.props&&n.props[e];re(i)&&i()}function e2(n,e,i,t,r,a,s,o,u){const{p:f,o:{createElement:l}}=u,d=l("div"),c=n.suspense=Ju(n,r,t,e,d,i,a,s,o,u);f(null,c.pendingBranch=n.ssContent,d,null,t,c,a,s),c.deps>0?(ya(n,"onPending"),ya(n,"onFallback"),f(null,n.ssFallback,e,i,t,null,a,s),pr(c,n.ssFallback)):c.resolve()}function n2(n,e,i,t,r,a,s,o,{p:u,um:f,o:{createElement:l}}){const d=e.suspense=n.suspense;d.vnode=e,e.el=n.el;const c=e.ssContent,F=e.ssFallback,{activeBranch:h,pendingBranch:p,isInFallback:g,isHydrating:m}=d;if(p)d.pendingBranch=c,ci(c,p)?(u(p,c,d.hiddenContainer,null,r,d,a,s,o),d.deps<=0?d.resolve():g&&(u(h,F,i,t,r,null,a,s,o),pr(d,F))):(d.pendingId++,m?(d.isHydrating=!1,d.activeBranch=p):f(p,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=l("div"),g?(u(null,c,d.hiddenContainer,null,r,d,a,s,o),d.deps<=0?d.resolve():(u(h,F,i,t,r,null,a,s,o),pr(d,F))):h&&ci(c,h)?(u(h,c,i,t,r,d,a,s,o),d.resolve(!0)):(u(null,c,d.hiddenContainer,null,r,d,a,s,o),d.deps<=0&&d.resolve()));else if(h&&ci(c,h))u(h,c,i,t,r,d,a,s,o),pr(d,c);else if(ya(e,"onPending"),d.pendingBranch=c,d.pendingId++,u(null,c,d.hiddenContainer,null,r,d,a,s,o),d.deps<=0)d.resolve();else{const{timeout:v,pendingId:k}=d;v>0?setTimeout(()=>{d.pendingId===k&&d.fallback(F)},v):v===0&&d.fallback(F)}}function Ju(n,e,i,t,r,a,s,o,u,f,l=!1){const{p:d,m:c,um:F,n:h,o:{parentNode:p,remove:g}}=f,m=Yi(n.props&&n.props.timeout),v={vnode:n,parent:e,parentComponent:i,isSVG:s,container:t,hiddenContainer:r,anchor:a,deps:0,pendingId:0,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:l,isUnmounted:!1,effects:[],resolve(k=!1){const{vnode:y,activeBranch:_,pendingBranch:w,pendingId:C,effects:D,parentComponent:A,container:B}=v;if(v.isHydrating)v.isHydrating=!1;else if(!k){const R=_&&w.transition&&w.transition.mode==="out-in";R&&(_.transition.afterLeave=()=>{C===v.pendingId&&c(w,B,j,0)});let{anchor:j}=v;_&&(j=h(_),F(_,A,v,!0)),R||c(w,B,j,0)}pr(v,w),v.pendingBranch=null,v.isInFallback=!1;let M=v.parent,P=!1;for(;M;){if(M.pendingBranch){M.effects.push(...D),P=!0;break}M=M.parent}P||Ku(D),v.effects=[],ya(y,"onResolve")},fallback(k){if(!v.pendingBranch)return;const{vnode:y,activeBranch:_,parentComponent:w,container:C,isSVG:D}=v;ya(y,"onFallback");const A=h(_),B=()=>{!v.isInFallback||(d(null,k,C,A,w,null,D,o,u),pr(v,k))},M=k.transition&&k.transition.mode==="out-in";M&&(_.transition.afterLeave=B),v.isInFallback=!0,F(_,w,null,!0),M||B()},move(k,y,_){v.activeBranch&&c(v.activeBranch,k,y,_),v.container=k},next(){return v.activeBranch&&h(v.activeBranch)},registerDep(k,y){const _=!!v.pendingBranch;_&&v.deps++;const w=k.vnode.el;k.asyncDep.catch(C=>{Pt(C,k,0)}).then(C=>{if(k.isUnmounted||v.isUnmounted||v.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:D}=k;yf(k,C,!1),w&&(D.el=w);const A=!w&&k.subTree.el;y(k,D,p(w||k.subTree.el),w?null:h(k.subTree),v,s,u),A&&g(A),Qu(k,D.el),_&&--v.deps===0&&v.resolve()})},unmount(k,y){v.isUnmounted=!0,v.activeBranch&&F(v.activeBranch,i,k,y),v.pendingBranch&&F(v.pendingBranch,i,k,y)}};return v}function i2(n,e,i,t,r,a,s,o,u){const f=e.suspense=Ju(e,t,i,n.parentNode,document.createElement("div"),null,r,a,s,o,!0),l=u(n,f.pendingBranch=e.ssContent,i,f,a,s);return f.deps===0&&f.resolve(),l}function t2(n){const{shapeFlag:e,children:i}=n,t=e&32;n.ssContent=z1(t?i.default:i),n.ssFallback=t?z1(i.fallback):G(on)}function z1(n){let e;if(re(n)){const i=$t&&n._c;i&&(n._d=!1,J()),n=n(),i&&(n._d=!0,e=Dn,_c())}return V(n)&&(n=Ky(n)),n=In(n),e&&!n.dynamicChildren&&(n.dynamicChildren=e.filter(i=>i!==n)),n}function H1(n,e){e&&e.pendingBranch?V(n)?e.effects.push(...n):e.effects.push(n):Ku(n)}function pr(n,e){n.activeBranch=e;const{vnode:i,parentComponent:t}=n,r=i.el=e.el;t&&t.subTree===i&&(t.vnode.el=r,Qu(t,r))}function Un(n,e){if(ze){let i=ze.provides;const t=ze.parent&&ze.parent.provides;t===i&&(i=ze.provides=Object.create(t)),i[n]=e}}function Ke(n,e,i=!1){const t=ze||sn;if(t){const r=t.parent==null?t.vnode.appContext&&t.vnode.appContext.provides:t.parent.provides;if(r&&n in r)return r[n];if(arguments.length>1)return i&&re(e)?e.call(t.proxy):e}}function li(n,e){return ka(n,null,e)}function U1(n,e){return ka(n,null,{flush:"post"})}function r2(n,e){return ka(n,null,{flush:"sync"})}const W1={};function ge(n,e,i){return ka(n,e,i)}function ka(n,e,{immediate:i,deep:t,flush:r,onTrack:a,onTrigger:s}=ke){const o=ze;let u,f=!1,l=!1;if(Me(n)?(u=()=>n.value,f=Fa(n)):xt(n)?(u=()=>n,t=!0):V(n)?(l=!0,f=n.some(m=>xt(m)||Fa(m)),u=()=>n.map(m=>{if(Me(m))return m.value;if(xt(m))return Tt(m);if(re(m))return ui(m,o,2)})):re(n)?e?u=()=>ui(n,o,2):u=()=>{if(!(o&&o.isUnmounted))return d&&d(),Tn(n,o,3,[c])}:u=gn,e&&t){const m=u;u=()=>Tt(m())}let d,c=m=>{d=g.onStop=()=>{ui(m,o,4)}};if(kr)return c=gn,e?i&&Tn(e,o,3,[u(),l?[]:void 0,c]):u(),gn;let F=l?[]:W1;const h=()=>{if(!!g.active)if(e){const m=g.run();(t||f||(l?m.some((v,k)=>dr(v,F[k])):dr(m,F)))&&(d&&d(),Tn(e,o,3,[m,F===W1?void 0:F,c]),F=m)}else g.run()};h.allowRecurse=!!e;let p;r==="sync"?p=h:r==="post"?p=()=>Qe(h,o&&o.suspense):(h.pre=!0,o&&(h.id=o.uid),p=()=>As(h));const g=new ca(u,p);return e?i?h():F=g.run():r==="post"?Qe(g.run.bind(g),o&&o.suspense):g.run(),()=>{g.stop(),o&&o.scope&&Pu(o.scope.effects,g)}}function a2(n,e,i){const t=this.proxy,r=ue(n)?n.includes(".")?q1(t,n):()=>t[n]:n.bind(t,t);let a;re(e)?a=e:(a=e.handler,i=e);const s=ze;tt(this);const o=ka(r,a.bind(t),i);return s?tt(s):rt(),o}function q1(n,e){const i=e.split(".");return()=>{let t=n;for(let r=0;r{Tt(i,e)});else if(t1(n))for(const i in n)Tt(n[i],e);return n}function Zu(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zi(()=>{n.isMounted=!0}),Ns(()=>{n.isUnmounting=!0}),n}const Wn=[Function,Array],Xu={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wn,onEnter:Wn,onAfterEnter:Wn,onEnterCancelled:Wn,onBeforeLeave:Wn,onLeave:Wn,onAfterLeave:Wn,onLeaveCancelled:Wn,onBeforeAppear:Wn,onAppear:Wn,onAfterAppear:Wn,onAppearCancelled:Wn},setup(n,{slots:e}){const i=Fi(),t=Zu();let r;return()=>{const a=e.default&&Ts(e.default(),!0);if(!a||!a.length)return;let s=a[0];if(a.length>1){for(const p of a)if(p.type!==on){s=p;break}}const o=he(n),{mode:u}=o;if(t.isLeaving)return ef(s);const f=G1(s);if(!f)return ef(s);const l=gr(f,o,t,i);It(f,l);const d=i.subTree,c=d&&G1(d);let F=!1;const{getTransitionKey:h}=f.type;if(h){const p=h();r===void 0?r=p:p!==r&&(r=p,F=!0)}if(c&&c.type!==on&&(!ci(f,c)||F)){const p=gr(c,o,t,i);if(It(c,p),u==="out-in")return t.isLeaving=!0,p.afterLeave=()=>{t.isLeaving=!1,i.update()},ef(s);u==="in-out"&&f.type!==on&&(p.delayLeave=(g,m,v)=>{const k=V1(t,c);k[String(c.key)]=c,g._leaveCb=()=>{m(),g._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=v})}return s}}};function V1(n,e){const{leavingVNodes:i}=n;let t=i.get(e.type);return t||(t=Object.create(null),i.set(e.type,t)),t}function gr(n,e,i,t){const{appear:r,mode:a,persisted:s=!1,onBeforeEnter:o,onEnter:u,onAfterEnter:f,onEnterCancelled:l,onBeforeLeave:d,onLeave:c,onAfterLeave:F,onLeaveCancelled:h,onBeforeAppear:p,onAppear:g,onAfterAppear:m,onAppearCancelled:v}=e,k=String(n.key),y=V1(i,n),_=(D,A)=>{D&&Tn(D,t,9,A)},w=(D,A)=>{const B=A[1];_(D,A),V(D)?D.every(M=>M.length<=1)&&B():D.length<=1&&B()},C={mode:a,persisted:s,beforeEnter(D){let A=o;if(!i.isMounted)if(r)A=p||o;else return;D._leaveCb&&D._leaveCb(!0);const B=y[k];B&&ci(n,B)&&B.el._leaveCb&&B.el._leaveCb(),_(A,[D])},enter(D){let A=u,B=f,M=l;if(!i.isMounted)if(r)A=g||u,B=m||f,M=v||l;else return;let P=!1;const R=D._enterCb=j=>{P||(P=!0,j?_(M,[D]):_(B,[D]),C.delayedLeave&&C.delayedLeave(),D._enterCb=void 0)};A?w(A,[D,R]):R()},leave(D,A){const B=String(n.key);if(D._enterCb&&D._enterCb(!0),i.isUnmounting)return A();_(d,[D]);let M=!1;const P=D._leaveCb=R=>{M||(M=!0,A(),R?_(h,[D]):_(F,[D]),D._leaveCb=void 0,y[B]===n&&delete y[B])};y[B]=n,c?w(c,[D,P]):P()},clone(D){return gr(D,e,i,t)}};return C}function ef(n){if(wa(n))return n=ei(n),n.children=null,n}function G1(n){return wa(n)?n.children?n.children[0]:void 0:n}function It(n,e){n.shapeFlag&6&&n.component?It(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Ts(n,e=!1,i){let t=[],r=0;for(let a=0;a1)for(let a=0;a!!n.type.__asyncLoader;function s2(n){re(n)&&(n={loader:n});const{loader:e,loadingComponent:i,errorComponent:t,delay:r=200,timeout:a,suspensible:s=!0,onError:o}=n;let u=null,f,l=0;const d=()=>(l++,u=null,c()),c=()=>{let F;return u||(F=u=e().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),o)return new Promise((p,g)=>{o(h,()=>p(d()),()=>g(h),l+1)});throw h}).then(h=>F!==u&&u?u:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),f=h,h)))};return Y({name:"AsyncComponentWrapper",__asyncLoader:c,get __asyncResolved(){return f},setup(){const F=ze;if(f)return()=>nf(f,F);const h=v=>{u=null,Pt(v,F,13,!t)};if(s&&F.suspense||kr)return c().then(v=>()=>nf(v,F)).catch(v=>(h(v),()=>t?G(t,{error:v}):null));const p=S(!1),g=S(),m=S(!!r);return r&&setTimeout(()=>{m.value=!1},r),a!=null&&setTimeout(()=>{if(!p.value&&!g.value){const v=new Error(`Async component timed out after ${a}ms.`);h(v),g.value=v}},a),c().then(()=>{p.value=!0,F.parent&&wa(F.parent.vnode)&&As(F.parent.update)}).catch(v=>{h(v),g.value=v}),()=>{if(p.value&&f)return nf(f,F);if(g.value&&t)return G(t,{error:g.value});if(i&&!m.value)return G(i)}}})}function nf(n,{vnode:{ref:e,props:i,children:t,shapeFlag:r},parent:a}){const s=G(n,i,t);return s.ref=e,s}const wa=n=>n.type.__isKeepAlive,o2={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:e}){const i=Fi(),t=i.ctx;if(!t.renderer)return()=>{const v=e.default&&e.default();return v&&v.length===1?v[0]:v};const r=new Map,a=new Set;let s=null;const o=i.suspense,{renderer:{p:u,m:f,um:l,o:{createElement:d}}}=t,c=d("div");t.activate=(v,k,y,_,w)=>{const C=v.component;f(v,k,y,0,o),u(C.vnode,v,k,y,C,o,_,v.slotScopeIds,w),Qe(()=>{C.isDeactivated=!1,C.a&&cr(C.a);const D=v.props&&v.props.onVnodeMounted;D&&Sn(D,C.parent,v)},o)},t.deactivate=v=>{const k=v.component;f(v,c,null,1,o),Qe(()=>{k.da&&cr(k.da);const y=v.props&&v.props.onVnodeUnmounted;y&&Sn(y,k.parent,v),k.isDeactivated=!0},o)};function F(v){tf(v),l(v,i,o,!0)}function h(v){r.forEach((k,y)=>{const _=Qs(k.type);_&&(!v||!v(_))&&p(y)})}function p(v){const k=r.get(v);!s||k.type!==s.type?F(k):s&&tf(s),r.delete(v),a.delete(v)}ge(()=>[n.include,n.exclude],([v,k])=>{v&&h(y=>ba(v,y)),k&&h(y=>!ba(k,y))},{flush:"post",deep:!0});let g=null;const m=()=>{g!=null&&r.set(g,rf(i.subTree))};return Zi(m),Ls(m),Ns(()=>{r.forEach(v=>{const{subTree:k,suspense:y}=i,_=rf(k);if(v.type===_.type){tf(_);const w=_.component.da;w&&Qe(w,y);return}F(v)})}),()=>{if(g=null,!e.default)return null;const v=e.default(),k=v[0];if(v.length>1)return s=null,v;if(!nt(k)||!(k.shapeFlag&4)&&!(k.shapeFlag&128))return s=null,k;let y=rf(k);const _=y.type,w=Qs(Lt(y)?y.type.__asyncResolved||{}:_),{include:C,exclude:D,max:A}=n;if(C&&(!w||!ba(C,w))||D&&w&&ba(D,w))return s=y,k;const B=y.key==null?_:y.key,M=r.get(B);return y.el&&(y=ei(y),k.shapeFlag&128&&(k.ssContent=y)),g=B,M?(y.el=M.el,y.component=M.component,y.transition&&It(y,y.transition),y.shapeFlag|=512,a.delete(B),a.add(B)):(a.add(B),A&&a.size>parseInt(A,10)&&p(a.values().next().value)),y.shapeFlag|=256,s=y,$1(k.type)?k:y}}};function ba(n,e){return V(n)?n.some(i=>ba(i,e)):ue(n)?n.split(",").includes(e):n.test?n.test(e):!1}function Y1(n,e){Q1(n,"a",e)}function K1(n,e){Q1(n,"da",e)}function Q1(n,e,i=ze){const t=n.__wdc||(n.__wdc=()=>{let r=i;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(Is(e,t,i),i){let r=i.parent;for(;r&&r.parent;)wa(r.parent.vnode)&&u2(t,e,i,r),r=r.parent}}function u2(n,e,i,t){const r=Is(e,n,t,!0);js(()=>{Pu(t[e],r)},i)}function tf(n){let e=n.shapeFlag;e&256&&(e-=256),e&512&&(e-=512),n.shapeFlag=e}function rf(n){return n.shapeFlag&128?n.ssContent:n}function Is(n,e,i=ze,t=!1){if(i){const r=i[n]||(i[n]=[]),a=e.__weh||(e.__weh=(...s)=>{if(i.isUnmounted)return;At(),tt(i);const o=Tn(e,i,n,s);return rt(),Bt(),o});return t?r.unshift(a):r.push(a),a}}const Bi=n=>(e,i=ze)=>(!kr||n==="sp")&&Is(n,(...t)=>e(...t),i),af=Bi("bm"),Zi=Bi("m"),J1=Bi("bu"),Ls=Bi("u"),Ns=Bi("bum"),js=Bi("um"),Z1=Bi("sp"),X1=Bi("rtg"),ec=Bi("rtc");function nc(n,e=ze){Is("ec",n,e)}function Xi(n,e){const i=sn;if(i===null)return n;const t=Ks(i)||i.proxy,r=n.dirs||(n.dirs=[]);for(let a=0;ae(s,o,void 0,a&&a[o]));else{const s=Object.keys(n);r=new Array(s.length);for(let o=0,u=s.length;o{const a=t.fn(...r);return a&&(a.key=t.key),a}:t.fn)}return n}function qe(n,e,i={},t,r){if(sn.isCE||sn.parent&&Lt(sn.parent)&&sn.parent.isCE)return G("slot",e==="default"?null:{name:e},t&&t());let a=n[e];a&&a._c&&(a._d=!1),J();const s=a&&rc(a(i)),o=un(Be,{key:i.key||s&&s.key||`_${e}`},s||(t?t():[]),s&&n._===1?64:-2);return!r&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),a&&a._c&&(a._d=!0),o}function rc(n){return n.some(e=>nt(e)?!(e.type===on||e.type===Be&&!rc(e.children)):!0)?n:null}function h2(n,e){const i={};for(const t in n)i[e&&/[A-Z]/.test(t)?`on:${t}`:lr(t)]=n[t];return i}const uf=n=>n?Bc(n)?Ks(n)||n.proxy:uf(n.parent):null,$s=we(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>uf(n.parent),$root:n=>uf(n.root),$emit:n=>n.emit,$options:n=>df(n),$forceUpdate:n=>n.f||(n.f=()=>As(n.update)),$nextTick:n=>n.n||(n.n=mr.bind(n.proxy)),$watch:n=>a2.bind(n)}),ff={get({_:n},e){const{ctx:i,setupState:t,data:r,props:a,accessCache:s,type:o,appContext:u}=n;let f;if(e[0]!=="$"){const F=s[e];if(F!==void 0)switch(F){case 1:return t[e];case 2:return r[e];case 4:return i[e];case 3:return a[e]}else{if(t!==ke&&pe(t,e))return s[e]=1,t[e];if(r!==ke&&pe(r,e))return s[e]=2,r[e];if((f=n.propsOptions[0])&&pe(f,e))return s[e]=3,a[e];if(i!==ke&&pe(i,e))return s[e]=4,i[e];lf&&(s[e]=0)}}const l=$s[e];let d,c;if(l)return e==="$attrs"&&On(n,"get",e),l(n);if((d=o.__cssModules)&&(d=d[e]))return d;if(i!==ke&&pe(i,e))return s[e]=4,i[e];if(c=u.config.globalProperties,pe(c,e))return c[e]},set({_:n},e,i){const{data:t,setupState:r,ctx:a}=n;return r!==ke&&pe(r,e)?(r[e]=i,!0):t!==ke&&pe(t,e)?(t[e]=i,!0):pe(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(a[e]=i,!0)},has({_:{data:n,setupState:e,accessCache:i,ctx:t,appContext:r,propsOptions:a}},s){let o;return!!i[s]||n!==ke&&pe(n,s)||e!==ke&&pe(e,s)||(o=a[0])&&pe(o,s)||pe(t,s)||pe($s,s)||pe(r.config.globalProperties,s)},defineProperty(n,e,i){return i.get!=null?n._.accessCache[e]=0:pe(i,"value")&&this.set(n,e,i.value,null),Reflect.defineProperty(n,e,i)}},m2=we({},ff,{get(n,e){if(e!==Symbol.unscopables)return ff.get(n,e,n)},has(n,e){return e[0]!=="_"&&!Ig(e)}});let lf=!0;function v2(n){const e=df(n),i=n.proxy,t=n.ctx;lf=!1,e.beforeCreate&&ac(e.beforeCreate,n,"bc");const{data:r,computed:a,methods:s,watch:o,provide:u,inject:f,created:l,beforeMount:d,mounted:c,beforeUpdate:F,updated:h,activated:p,deactivated:g,beforeDestroy:m,beforeUnmount:v,destroyed:k,unmounted:y,render:_,renderTracked:w,renderTriggered:C,errorCaptured:D,serverPrefetch:A,expose:B,inheritAttrs:M,components:P,directives:R,filters:j}=e;if(f&&p2(f,t,null,n.appContext.config.unwrapInjectedRef),s)for(const be in s){const oe=s[be];re(oe)&&(t[be]=oe.bind(i))}if(r){const be=r.call(i,i);Ee(be)&&(n.data=ae(be))}if(lf=!0,a)for(const be in a){const oe=a[be],Ae=re(oe)?oe.bind(i,i):re(oe.get)?oe.get.bind(i,i):gn,Mn=!re(oe)&&re(oe.set)?oe.set.bind(i):gn,_n=ne({get:Ae,set:Mn});Object.defineProperty(t,be,{enumerable:!0,configurable:!0,get:()=>_n.value,set:tn=>_n.value=tn})}if(o)for(const be in o)sc(o[be],t,i,be);if(u){const be=re(u)?u.call(i):u;Reflect.ownKeys(be).forEach(oe=>{Un(oe,be[oe])})}l&&ac(l,n,"c");function te(be,oe){V(oe)?oe.forEach(Ae=>be(Ae.bind(i))):oe&&be(oe.bind(i))}if(te(af,d),te(Zi,c),te(J1,F),te(Ls,h),te(Y1,p),te(K1,g),te(nc,D),te(ec,w),te(X1,C),te(Ns,v),te(js,y),te(Z1,A),V(B))if(B.length){const be=n.exposed||(n.exposed={});B.forEach(oe=>{Object.defineProperty(be,oe,{get:()=>i[oe],set:Ae=>i[oe]=Ae})})}else n.exposed||(n.exposed={});_&&n.render===gn&&(n.render=_),M!=null&&(n.inheritAttrs=M),P&&(n.components=P),R&&(n.directives=R)}function p2(n,e,i=gn,t=!1){V(n)&&(n=cf(n));for(const r in n){const a=n[r];let s;Ee(a)?"default"in a?s=Ke(a.from||r,a.default,!0):s=Ke(a.from||r):s=Ke(a),Me(s)&&t?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[r]=s}}function ac(n,e,i){Tn(V(n)?n.map(t=>t.bind(e.proxy)):n.bind(e.proxy),e,i)}function sc(n,e,i,t){const r=t.includes(".")?q1(i,t):()=>i[t];if(ue(n)){const a=e[n];re(a)&&ge(r,a)}else if(re(n))ge(r,n.bind(i));else if(Ee(n))if(V(n))n.forEach(a=>sc(a,e,i,t));else{const a=re(n.handler)?n.handler.bind(i):e[n.handler];re(a)&&ge(r,a,n)}}function df(n){const e=n.type,{mixins:i,extends:t}=e,{mixins:r,optionsCache:a,config:{optionMergeStrategies:s}}=n.appContext,o=a.get(e);let u;return o?u=o:!r.length&&!i&&!t?u=e:(u={},r.length&&r.forEach(f=>zs(u,f,s,!0)),zs(u,e,s)),Ee(e)&&a.set(e,u),u}function zs(n,e,i,t=!1){const{mixins:r,extends:a}=e;a&&zs(n,a,i,!0),r&&r.forEach(s=>zs(n,s,i,!0));for(const s in e)if(!(t&&s==="expose")){const o=g2[s]||i&&i[s];n[s]=o?o(n[s],e[s]):e[s]}return n}const g2={data:oc,props:Nt,emits:Nt,methods:Nt,computed:Nt,beforeCreate:yn,created:yn,beforeMount:yn,mounted:yn,beforeUpdate:yn,updated:yn,beforeDestroy:yn,beforeUnmount:yn,destroyed:yn,unmounted:yn,activated:yn,deactivated:yn,errorCaptured:yn,serverPrefetch:yn,components:Nt,directives:Nt,watch:k2,provide:oc,inject:y2};function oc(n,e){return e?n?function(){return we(re(n)?n.call(this,this):n,re(e)?e.call(this,this):e)}:e:n}function y2(n,e){return Nt(cf(n),cf(e))}function cf(n){if(V(n)){const e={};for(let i=0;i0)&&!(s&16)){if(s&8){const l=n.vnode.dynamicProps;for(let d=0;d{u=!0;const[c,F]=fc(d,e,!0);we(s,c),F&&o.push(...F)};!i&&e.mixins.length&&e.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}if(!a&&!u)return Ee(n)&&t.set(n,ur),ur;if(V(a))for(let l=0;l-1,F[1]=p<0||h-1||pe(F,"default"))&&o.push(d)}}}const f=[s,o];return Ee(n)&&t.set(n,f),f}function lc(n){return n[0]!=="$"}function dc(n){const e=n&&n.toString().match(/^\s*function (\w+)/);return e?e[1]:n===null?"null":""}function cc(n,e){return dc(n)===dc(e)}function Fc(n,e){return V(e)?e.findIndex(i=>cc(i,n)):re(e)&&cc(e,n)?0:-1}const hc=n=>n[0]==="_"||n==="$stable",hf=n=>V(n)?n.map(In):[In(n)],_2=(n,e,i)=>{if(e._n)return e;const t=De((...r)=>hf(e(...r)),i);return t._c=!1,t},mc=(n,e,i)=>{const t=n._ctx;for(const r in n){if(hc(r))continue;const a=n[r];if(re(a))e[r]=_2(r,a,t);else if(a!=null){const s=hf(a);e[r]=()=>s}}},vc=(n,e)=>{const i=hf(e);n.slots.default=()=>i},E2=(n,e)=>{if(n.vnode.shapeFlag&32){const i=e._;i?(n.slots=he(e),hs(e,"_",i)):mc(e,n.slots={})}else n.slots={},e&&vc(n,e);hs(n.slots,Vs,1)},D2=(n,e,i)=>{const{vnode:t,slots:r}=n;let a=!0,s=ke;if(t.shapeFlag&32){const o=e._;o?i&&o===1?a=!1:(we(r,e),!i&&o===1&&delete r._):(a=!e.$stable,mc(e,r)),s=e}else e&&(vc(n,e),s={default:1});if(a)for(const o in r)!hc(o)&&!(o in s)&&delete r[o]};function pc(){return{app:null,config:{isNativeTag:cs,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 C2=0;function S2(n,e){return function(t,r=null){re(t)||(t=Object.assign({},t)),r!=null&&!Ee(r)&&(r=null);const a=pc(),s=new Set;let o=!1;const u=a.app={_uid:C2++,_component:t,_props:r,_container:null,_context:a,_instance:null,version:Rc,get config(){return a.config},set config(f){},use(f,...l){return s.has(f)||(f&&re(f.install)?(s.add(f),f.install(u,...l)):re(f)&&(s.add(f),f(u,...l))),u},mixin(f){return a.mixins.includes(f)||a.mixins.push(f),u},component(f,l){return l?(a.components[f]=l,u):a.components[f]},directive(f,l){return l?(a.directives[f]=l,u):a.directives[f]},mount(f,l,d){if(!o){const c=G(t,r);return c.appContext=a,l&&e?e(c,f):n(c,f,d),o=!0,u._container=f,f.__vue_app__=u,Ks(c.component)||c.component.proxy}},unmount(){o&&(n(null,u._container),delete u._container.__vue_app__)},provide(f,l){return a.provides[f]=l,u}};return u}}function Hs(n,e,i,t,r=!1){if(V(n)){n.forEach((c,F)=>Hs(c,e&&(V(e)?e[F]:e),i,t,r));return}if(Lt(t)&&!r)return;const a=t.shapeFlag&4?Ks(t.component)||t.component.proxy:t.el,s=r?null:a,{i:o,r:u}=n,f=e&&e.r,l=o.refs===ke?o.refs={}:o.refs,d=o.setupState;if(f!=null&&f!==u&&(ue(f)?(l[f]=null,pe(d,f)&&(d[f]=null)):Me(f)&&(f.value=null)),re(u))ui(u,o,12,[s,l]);else{const c=ue(u),F=Me(u);if(c||F){const h=()=>{if(n.f){const p=c?l[u]:u.value;r?V(p)&&Pu(p,a):V(p)?p.includes(a)||p.push(a):c?(l[u]=[a],pe(d,u)&&(d[u]=l[u])):(u.value=[a],n.k&&(l[n.k]=u.value))}else c?(l[u]=s,pe(d,u)&&(d[u]=s)):F&&(u.value=s,n.k&&(l[n.k]=s))};s?(h.id=-1,Qe(h,i)):h()}}}let et=!1;const Us=n=>/svg/.test(n.namespaceURI)&&n.tagName!=="foreignObject",Ws=n=>n.nodeType===8;function A2(n){const{mt:e,p:i,o:{patchProp:t,createText:r,nextSibling:a,parentNode:s,remove:o,insert:u,createComment:f}}=n,l=(m,v)=>{if(!v.hasChildNodes()){i(null,m,v),Bs(),v._vnode=m;return}et=!1,d(v.firstChild,m,null,null,null),Bs(),v._vnode=m,et&&console.error("Hydration completed but contains mismatches.")},d=(m,v,k,y,_,w=!1)=>{const C=Ws(m)&&m.data==="[",D=()=>p(m,v,k,y,_,C),{type:A,ref:B,shapeFlag:M,patchFlag:P}=v;let R=m.nodeType;v.el=m,P===-2&&(w=!1,v.dynamicChildren=null);let j=null;switch(A){case yr:R!==3?v.children===""?(u(v.el=r(""),s(m),m),j=m):j=D():(m.data!==v.children&&(et=!0,m.data=v.children),j=a(m));break;case on:R!==8||C?j=D():j=a(m);break;case Rt:if(C&&(m=a(m),R=m.nodeType),R===1||R===3){j=m;const ie=!v.children.length;for(let te=0;te{w=w||!!v.dynamicChildren;const{type:C,props:D,patchFlag:A,shapeFlag:B,dirs:M}=v,P=C==="input"&&M||C==="option";if(P||A!==-1){if(M&&di(v,null,k,"created"),D)if(P||!w||A&48)for(const j in D)(P&&j.endsWith("value")||_t(j)&&!Dt(j))&&t(m,j,null,D[j],!1,void 0,k);else D.onClick&&t(m,"onClick",null,D.onClick,!1,void 0,k);let R;if((R=D&&D.onVnodeBeforeMount)&&Sn(R,k,v),M&&di(v,null,k,"beforeMount"),((R=D&&D.onVnodeMounted)||M)&&H1(()=>{R&&Sn(R,k,v),M&&di(v,null,k,"mounted")},y),B&16&&!(D&&(D.innerHTML||D.textContent))){let j=F(m.firstChild,v,m,k,y,_,w);for(;j;){et=!0;const ie=j;j=j.nextSibling,o(ie)}}else B&8&&m.textContent!==v.children&&(et=!0,m.textContent=v.children)}return m.nextSibling},F=(m,v,k,y,_,w,C)=>{C=C||!!v.dynamicChildren;const D=v.children,A=D.length;for(let B=0;B{const{slotScopeIds:C}=v;C&&(_=_?_.concat(C):C);const D=s(m),A=F(a(m),v,D,k,y,_,w);return A&&Ws(A)&&A.data==="]"?a(v.anchor=A):(et=!0,u(v.anchor=f("]"),D,A),A)},p=(m,v,k,y,_,w)=>{if(et=!0,v.el=null,w){const A=g(m);for(;;){const B=a(m);if(B&&B!==A)o(B);else break}}const C=a(m),D=s(m);return o(m),i(null,v,D,C,k,y,Us(D),_),C},g=m=>{let v=0;for(;m;)if(m=a(m),m&&Ws(m)&&(m.data==="["&&v++,m.data==="]")){if(v===0)return a(m);v--}return m};return[l,d]}const Qe=H1;function gc(n){return kc(n)}function yc(n){return kc(n,A2)}function kc(n,e){const i=Xg();i.__VUE__=!0;const{insert:t,remove:r,patchProp:a,createElement:s,createText:o,createComment:u,setText:f,setElementText:l,parentNode:d,nextSibling:c,setScopeId:F=gn,insertStaticContent:h}=n,p=(b,E,x,L=null,I=null,H=null,q=!1,z=null,W=!!E.dynamicChildren)=>{if(b===E)return;b&&!ci(b,E)&&(L=Bu(b),tn(b,I,H,!0),b=null),E.patchFlag===-2&&(W=!1,E.dynamicChildren=null);const{type:N,ref:Z,shapeFlag:K}=E;switch(N){case yr:g(b,E,x,L);break;case on:m(b,E,x,L);break;case Rt:b==null&&v(E,x,L,q);break;case Be:P(b,E,x,L,I,H,q,z,W);break;default:K&1?_(b,E,x,L,I,H,q,z,W):K&6?R(b,E,x,L,I,H,q,z,W):(K&64||K&128)&&N.process(b,E,x,L,I,H,q,z,W,ua)}Z!=null&&I&&Hs(Z,b&&b.ref,H,E||b,!E)},g=(b,E,x,L)=>{if(b==null)t(E.el=o(E.children),x,L);else{const I=E.el=b.el;E.children!==b.children&&f(I,E.children)}},m=(b,E,x,L)=>{b==null?t(E.el=u(E.children||""),x,L):E.el=b.el},v=(b,E,x,L)=>{[b.el,b.anchor]=h(b.children,E,x,L,b.el,b.anchor)},k=({el:b,anchor:E},x,L)=>{let I;for(;b&&b!==E;)I=c(b),t(b,x,L),b=I;t(E,x,L)},y=({el:b,anchor:E})=>{let x;for(;b&&b!==E;)x=c(b),r(b),b=x;r(E)},_=(b,E,x,L,I,H,q,z,W)=>{q=q||E.type==="svg",b==null?w(E,x,L,I,H,q,z,W):A(b,E,I,H,q,z,W)},w=(b,E,x,L,I,H,q,z)=>{let W,N;const{type:Z,props:K,shapeFlag:X,transition:se,dirs:Fe}=b;if(W=b.el=s(b.type,H,K&&K.is,K),X&8?l(W,b.children):X&16&&D(b.children,W,null,L,I,H&&Z!=="foreignObject",q,z),Fe&&di(b,null,L,"created"),K){for(const Ce in K)Ce!=="value"&&!Dt(Ce)&&a(W,Ce,null,K[Ce],H,b.children,L,I,qi);"value"in K&&a(W,"value",null,K.value),(N=K.onVnodeBeforeMount)&&Sn(N,L,b)}C(W,b,b.scopeId,q,L),Fe&&di(b,null,L,"beforeMount");const xe=(!I||I&&!I.pendingBranch)&&se&&!se.persisted;xe&&se.beforeEnter(W),t(W,E,x),((N=K&&K.onVnodeMounted)||xe||Fe)&&Qe(()=>{N&&Sn(N,L,b),xe&&se.enter(W),Fe&&di(b,null,L,"mounted")},I)},C=(b,E,x,L,I)=>{if(x&&F(b,x),L)for(let H=0;H{for(let N=W;N{const z=E.el=b.el;let{patchFlag:W,dynamicChildren:N,dirs:Z}=E;W|=b.patchFlag&16;const K=b.props||ke,X=E.props||ke;let se;x&&jt(x,!1),(se=X.onVnodeBeforeUpdate)&&Sn(se,x,E,b),Z&&di(E,b,x,"beforeUpdate"),x&&jt(x,!0);const Fe=I&&E.type!=="foreignObject";if(N?B(b.dynamicChildren,N,z,x,L,Fe,H):q||oe(b,E,z,null,x,L,Fe,H,!1),W>0){if(W&16)M(z,E,K,X,x,L,I);else if(W&2&&K.class!==X.class&&a(z,"class",null,X.class,I),W&4&&a(z,"style",K.style,X.style,I),W&8){const xe=E.dynamicProps;for(let Ce=0;Ce{se&&Sn(se,x,E,b),Z&&di(E,b,x,"updated")},L)},B=(b,E,x,L,I,H,q)=>{for(let z=0;z{if(x!==L){if(x!==ke)for(const z in x)!Dt(z)&&!(z in L)&&a(b,z,x[z],null,q,E.children,I,H,qi);for(const z in L){if(Dt(z))continue;const W=L[z],N=x[z];W!==N&&z!=="value"&&a(b,z,N,W,q,E.children,I,H,qi)}"value"in L&&a(b,"value",x.value,L.value)}},P=(b,E,x,L,I,H,q,z,W)=>{const N=E.el=b?b.el:o(""),Z=E.anchor=b?b.anchor:o("");let{patchFlag:K,dynamicChildren:X,slotScopeIds:se}=E;se&&(z=z?z.concat(se):se),b==null?(t(N,x,L),t(Z,x,L),D(E.children,x,Z,I,H,q,z,W)):K>0&&K&64&&X&&b.dynamicChildren?(B(b.dynamicChildren,X,x,I,H,q,z),(E.key!=null||I&&E===I.subTree)&&mf(b,E,!0)):oe(b,E,x,Z,I,H,q,z,W)},R=(b,E,x,L,I,H,q,z,W)=>{E.slotScopeIds=z,b==null?E.shapeFlag&512?I.ctx.activate(E,x,L,q,W):j(E,x,L,I,H,q,W):ie(b,E,W)},j=(b,E,x,L,I,H,q)=>{const z=b.component=Ac(b,L,I);if(wa(b)&&(z.ctx.renderer=ua),xc(z),z.asyncDep){if(I&&I.registerDep(z,te),!b.el){const W=z.subTree=G(on);m(null,W,E,x)}return}te(z,b,E,x,I,H,q)},ie=(b,E,x)=>{const L=E.component=b.component;if(Zy(b,E,x))if(L.asyncDep&&!L.asyncResolved){be(L,E,x);return}else L.next=E,Uy(L.update),L.update();else E.el=b.el,L.vnode=E},te=(b,E,x,L,I,H,q)=>{const z=()=>{if(b.isMounted){let{next:Z,bu:K,u:X,parent:se,vnode:Fe}=b,xe=Z,Ce;jt(b,!1),Z?(Z.el=Fe.el,be(b,Z,q)):Z=Fe,K&&cr(K),(Ce=Z.props&&Z.props.onVnodeBeforeUpdate)&&Sn(Ce,se,Z,Fe),jt(b,!0);const $e=Os(b),oi=b.subTree;b.subTree=$e,p(oi,$e,d(oi.el),Bu(oi),b,I,H),Z.el=$e.el,xe===null&&Qu(b,$e.el),X&&Qe(X,I),(Ce=Z.props&&Z.props.onVnodeUpdated)&&Qe(()=>Sn(Ce,se,Z,Fe),I)}else{let Z;const{el:K,props:X}=E,{bm:se,m:Fe,parent:xe}=b,Ce=Lt(E);if(jt(b,!1),se&&cr(se),!Ce&&(Z=X&&X.onVnodeBeforeMount)&&Sn(Z,xe,E),jt(b,!0),K&&Jd){const $e=()=>{b.subTree=Os(b),Jd(K,b.subTree,b,I,null)};Ce?E.type.__asyncLoader().then(()=>!b.isUnmounted&&$e()):$e()}else{const $e=b.subTree=Os(b);p(null,$e,x,L,b,I,H),E.el=$e.el}if(Fe&&Qe(Fe,I),!Ce&&(Z=X&&X.onVnodeMounted)){const $e=E;Qe(()=>Sn(Z,xe,$e),I)}(E.shapeFlag&256||xe&&Lt(xe.vnode)&&xe.vnode.shapeFlag&256)&&b.a&&Qe(b.a,I),b.isMounted=!0,E=x=L=null}},W=b.effect=new ca(z,()=>As(N),b.scope),N=b.update=()=>W.run();N.id=b.uid,jt(b,!0),N()},be=(b,E,x)=>{E.component=b;const L=b.vnode.props;b.vnode=E,b.next=null,b2(b,E.props,L,x),D2(b,E.children,x),At(),I1(),Bt()},oe=(b,E,x,L,I,H,q,z,W=!1)=>{const N=b&&b.children,Z=b?b.shapeFlag:0,K=E.children,{patchFlag:X,shapeFlag:se}=E;if(X>0){if(X&128){Mn(N,K,x,L,I,H,q,z,W);return}else if(X&256){Ae(N,K,x,L,I,H,q,z,W);return}}se&8?(Z&16&&qi(N,I,H),K!==N&&l(x,K)):Z&16?se&16?Mn(N,K,x,L,I,H,q,z,W):qi(N,I,H,!0):(Z&8&&l(x,""),se&16&&D(K,x,L,I,H,q,z,W))},Ae=(b,E,x,L,I,H,q,z,W)=>{b=b||ur,E=E||ur;const N=b.length,Z=E.length,K=Math.min(N,Z);let X;for(X=0;XZ?qi(b,I,H,!0,!1,K):D(E,x,L,I,H,q,z,W,K)},Mn=(b,E,x,L,I,H,q,z,W)=>{let N=0;const Z=E.length;let K=b.length-1,X=Z-1;for(;N<=K&&N<=X;){const se=b[N],Fe=E[N]=W?it(E[N]):In(E[N]);if(ci(se,Fe))p(se,Fe,x,null,I,H,q,z,W);else break;N++}for(;N<=K&&N<=X;){const se=b[K],Fe=E[X]=W?it(E[X]):In(E[X]);if(ci(se,Fe))p(se,Fe,x,null,I,H,q,z,W);else break;K--,X--}if(N>K){if(N<=X){const se=X+1,Fe=seX)for(;N<=K;)tn(b[N],I,H,!0),N++;else{const se=N,Fe=N,xe=new Map;for(N=Fe;N<=X;N++){const Hn=E[N]=W?it(E[N]):In(E[N]);Hn.key!=null&&xe.set(Hn.key,N)}let Ce,$e=0;const oi=X-Fe+1;let fa=!1,Pg=0;const ls=new Array(oi);for(N=0;N=oi){tn(Hn,I,H,!0);continue}let Di;if(Hn.key!=null)Di=xe.get(Hn.key);else for(Ce=Fe;Ce<=X;Ce++)if(ls[Ce-Fe]===0&&ci(Hn,E[Ce])){Di=Ce;break}Di===void 0?tn(Hn,I,H,!0):(ls[Di-Fe]=N+1,Di>=Pg?Pg=Di:fa=!0,p(Hn,E[Di],x,null,I,H,q,z,W),$e++)}const Og=fa?B2(ls):ur;for(Ce=Og.length-1,N=oi-1;N>=0;N--){const Hn=Fe+N,Di=E[Hn],Tg=Hn+1{const{el:H,type:q,transition:z,children:W,shapeFlag:N}=b;if(N&6){_n(b.component.subTree,E,x,L);return}if(N&128){b.suspense.move(E,x,L);return}if(N&64){q.move(b,E,x,ua);return}if(q===Be){t(H,E,x);for(let K=0;Kz.enter(H),I);else{const{leave:K,delayLeave:X,afterLeave:se}=z,Fe=()=>t(H,E,x),xe=()=>{K(H,()=>{Fe(),se&&se()})};X?X(H,Fe,xe):xe()}else t(H,E,x)},tn=(b,E,x,L=!1,I=!1)=>{const{type:H,props:q,ref:z,children:W,dynamicChildren:N,shapeFlag:Z,patchFlag:K,dirs:X}=b;if(z!=null&&Hs(z,null,x,b,!0),Z&256){E.ctx.deactivate(b);return}const se=Z&1&&X,Fe=!Lt(b);let xe;if(Fe&&(xe=q&&q.onVnodeBeforeUnmount)&&Sn(xe,E,b),Z&6)dS(b.component,x,L);else{if(Z&128){b.suspense.unmount(x,L);return}se&&di(b,null,E,"beforeUnmount"),Z&64?b.type.remove(b,E,x,I,ua,L):N&&(H!==Be||K>0&&K&64)?qi(N,E,x,!1,!0):(H===Be&&K&384||!I&&Z&16)&&qi(W,E,x),L&&or(b)}(Fe&&(xe=q&&q.onVnodeUnmounted)||se)&&Qe(()=>{xe&&Sn(xe,E,b),se&&di(b,null,E,"unmounted")},x)},or=b=>{const{type:E,el:x,anchor:L,transition:I}=b;if(E===Be){Au(x,L);return}if(E===Rt){y(b);return}const H=()=>{r(x),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(b.shapeFlag&1&&I&&!I.persisted){const{leave:q,delayLeave:z}=I,W=()=>q(x,H);z?z(b.el,H,W):W()}else H()},Au=(b,E)=>{let x;for(;b!==E;)x=c(b),r(b),b=x;r(E)},dS=(b,E,x)=>{const{bum:L,scope:I,update:H,subTree:q,um:z}=b;L&&cr(L),I.stop(),H&&(H.active=!1,tn(q,b,E,x)),z&&Qe(z,E),Qe(()=>{b.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},qi=(b,E,x,L=!1,I=!1,H=0)=>{for(let q=H;qb.shapeFlag&6?Bu(b.component.subTree):b.shapeFlag&128?b.suspense.next():c(b.anchor||b.el),Mg=(b,E,x)=>{b==null?E._vnode&&tn(E._vnode,null,null,!0):p(E._vnode||null,b,E,null,null,null,x),I1(),Bs(),E._vnode=b},ua={p,um:tn,m:_n,r:or,mt:j,mc:D,pc:oe,pbc:B,n:Bu,o:n};let Qd,Jd;return e&&([Qd,Jd]=e(ua)),{render:Mg,hydrate:Qd,createApp:S2(Mg,Qd)}}function jt({effect:n,update:e},i){n.allowRecurse=e.allowRecurse=i}function mf(n,e,i=!1){const t=n.children,r=e.children;if(V(t)&&V(r))for(let a=0;a>1,n[i[o]]0&&(e[t]=i[a-1]),i[a]=t)}}for(a=i.length,s=i[a-1];a-- >0;)i[a]=s,s=e[s];return i}const x2=n=>n.__isTeleport,_a=n=>n&&(n.disabled||n.disabled===""),wc=n=>typeof SVGElement!="undefined"&&n instanceof SVGElement,vf=(n,e)=>{const i=n&&n.to;return ue(i)?e?e(i):null:i},M2={__isTeleport:!0,process(n,e,i,t,r,a,s,o,u,f){const{mc:l,pc:d,pbc:c,o:{insert:F,querySelector:h,createText:p,createComment:g}}=f,m=_a(e.props);let{shapeFlag:v,children:k,dynamicChildren:y}=e;if(n==null){const _=e.el=p(""),w=e.anchor=p("");F(_,i,t),F(w,i,t);const C=e.target=vf(e.props,h),D=e.targetAnchor=p("");C&&(F(D,C),s=s||wc(C));const A=(B,M)=>{v&16&&l(k,B,M,r,a,s,o,u)};m?A(i,w):C&&A(C,D)}else{e.el=n.el;const _=e.anchor=n.anchor,w=e.target=n.target,C=e.targetAnchor=n.targetAnchor,D=_a(n.props),A=D?i:w,B=D?_:C;if(s=s||wc(w),y?(c(n.dynamicChildren,y,A,r,a,s,o),mf(n,e,!0)):u||d(n,e,A,B,r,a,s,o,!1),m)D||qs(e,i,_,f,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const M=e.target=vf(e.props,h);M&&qs(e,M,null,f,0)}else D&&qs(e,w,C,f,1)}},remove(n,e,i,t,{um:r,o:{remove:a}},s){const{shapeFlag:o,children:u,anchor:f,targetAnchor:l,target:d,props:c}=n;if(d&&a(l),(s||!_a(c))&&(a(f),o&16))for(let F=0;F0?Dn||ur:null,_c(),$t>0&&Dn&&Dn.push(n),n}function fe(n,e,i,t,r,a){return Ec($(n,e,i,t,r,a,!0))}function un(n,e,i,t,r){return Ec(G(n,e,i,t,r,!0))}function nt(n){return n?n.__v_isVNode===!0:!1}function ci(n,e){return n.type===e.type&&n.key===e.key}function O2(n){}const Vs="__vInternal",Dc=({key:n})=>n!=null?n:null,Gs=({ref:n,ref_key:e,ref_for:i})=>n!=null?ue(n)||Me(n)||re(n)?{i:sn,r:n,k:e,f:!!i}:n:null;function $(n,e=null,i=null,t=0,r=null,a=n===Be?0:1,s=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&Dc(e),ref:e&&Gs(e),scopeId:Ps,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:t,dynamicProps:r,dynamicChildren:null,appContext:null};return o?(gf(u,i),a&128&&n.normalize(u)):i&&(u.shapeFlag|=ue(i)?8:16),$t>0&&!s&&Dn&&(u.patchFlag>0||a&6)&&u.patchFlag!==32&&Dn.push(u),u}const G=T2;function T2(n,e=null,i=null,t=0,r=null,a=!1){if((!n||n===ic)&&(n=on),nt(n)){const o=ei(n,e,!0);return i&&gf(o,i),$t>0&&!a&&Dn&&(o.shapeFlag&6?Dn[Dn.indexOf(n)]=o:Dn.push(o)),o.patchFlag|=-2,o}if(U2(n)&&(n=n.__vccOpts),e){e=Cc(e);let{class:o,style:u}=e;o&&!ue(o)&&(e.class=Ue(o)),Ee(u)&&(Hu(u)&&!V(u)&&(u=we({},u)),e.style=Ci(u))}const s=ue(n)?1:$1(n)?128:x2(n)?64:Ee(n)?4:re(n)?2:0;return $(n,e,i,t,r,s,a,!0)}function Cc(n){return n?Hu(n)||Vs in n?we({},n):n:null}function ei(n,e,i=!1){const{props:t,ref:r,patchFlag:a,children:s}=n,o=e?Sc(t||{},e):t;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:o,key:o&&Dc(o),ref:e&&e.ref?i&&r?V(r)?r.concat(Gs(e)):[r,Gs(e)]:Gs(e):r,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:s,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Be?a===-1?16:a|16:a,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&ei(n.ssContent),ssFallback:n.ssFallback&&ei(n.ssFallback),el:n.el,anchor:n.anchor}}function Cn(n=" ",e=0){return G(yr,null,n,e)}function I2(n,e){const i=G(Rt,null,n);return i.staticCount=e,i}function Ve(n="",e=!1){return e?(J(),un(on,null,n)):G(on,null,n)}function In(n){return n==null||typeof n=="boolean"?G(on):V(n)?G(Be,null,n.slice()):typeof n=="object"?it(n):G(yr,null,String(n))}function it(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:ei(n)}function gf(n,e){let i=0;const{shapeFlag:t}=n;if(e==null)e=null;else if(V(e))i=16;else if(typeof e=="object")if(t&65){const r=e.default;r&&(r._c&&(r._d=!1),gf(n,r()),r._c&&(r._d=!0));return}else{i=32;const r=e._;!r&&!(Vs in e)?e._ctx=sn:r===3&&sn&&(sn.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else re(e)?(e={default:e,_ctx:sn},i=32):(e=String(e),t&64?(i=16,e=[Cn(e)]):i=8);n.children=e,n.shapeFlag|=i}function Sc(...n){const e={};for(let i=0;ize||sn,tt=n=>{ze=n,n.scope.on()},rt=()=>{ze&&ze.scope.off(),ze=null};function Bc(n){return n.vnode.shapeFlag&4}let kr=!1;function xc(n,e=!1){kr=e;const{props:i,children:t}=n.vnode,r=Bc(n);w2(n,i,r,e),E2(n,t);const a=r?j2(n,e):void 0;return kr=!1,a}function j2(n,e){const i=n.type;n.accessCache=Object.create(null),n.proxy=Uu(new Proxy(n.ctx,ff));const{setup:t}=i;if(t){const r=n.setupContext=t.length>1?Oc(n):null;tt(n),At();const a=ui(t,n,0,[n.props,r]);if(Bt(),rt(),Ou(a)){if(a.then(rt,rt),e)return a.then(s=>{yf(n,s,e)}).catch(s=>{Pt(s,n,0)});n.asyncDep=a}else yf(n,a,e)}else Pc(n,e)}function yf(n,e,i){re(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:Ee(e)&&(n.setupState=Vu(e)),Pc(n,i)}let Ys,kf;function Mc(n){Ys=n,kf=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,m2))}}const R2=()=>!Ys;function Pc(n,e,i){const t=n.type;if(!n.render){if(!e&&Ys&&!t.render){const r=t.template||df(n).template;if(r){const{isCustomElement:a,compilerOptions:s}=n.appContext.config,{delimiters:o,compilerOptions:u}=t,f=we(we({isCustomElement:a,delimiters:o},s),u);t.render=Ys(r,f)}}n.render=t.render||gn,kf&&kf(n)}tt(n),At(),v2(n),Bt(),rt()}function $2(n){return new Proxy(n.attrs,{get(e,i){return On(n,"get","$attrs"),e[i]}})}function Oc(n){const e=t=>{n.exposed=t||{}};let i;return{get attrs(){return i||(i=$2(n))},slots:n.slots,emit:n.emit,expose:e}}function Ks(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(Vu(Uu(n.exposed)),{get(e,i){if(i in e)return e[i];if(i in $s)return $s[i](n)}}))}const z2=/(?:^|[-_])(\w)/g,H2=n=>n.replace(z2,e=>e.toUpperCase()).replace(/[-_]/g,"");function Qs(n,e=!0){return re(n)?n.displayName||n.name:n.name||e&&n.__name}function Tc(n,e,i=!1){let t=Qs(e);if(!t&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(t=r[1])}if(!t&&n&&n.parent){const r=a=>{for(const s in a)if(a[s]===e)return s};t=r(n.components||n.parent.type.components)||r(n.appContext.components)}return t?H2(t):i?"App":"Anonymous"}function U2(n){return re(n)&&"__vccOpts"in n}const ne=(n,e)=>Ly(n,e,kr);function W2(){return null}function q2(){return null}function V2(n){}function G2(n,e){return null}function Ic(){return Lc().slots}function Y2(){return Lc().attrs}function Lc(){const n=Fi();return n.setupContext||(n.setupContext=Oc(n))}function K2(n,e){const i=V(n)?n.reduce((t,r)=>(t[r]={},t),{}):n;for(const t in e){const r=i[t];r?V(r)||re(r)?i[t]={type:r,default:e[t]}:r.default=e[t]:r===null&&(i[t]={default:e[t]})}return i}function Q2(n,e){const i={};for(const t in n)e.includes(t)||Object.defineProperty(i,t,{enumerable:!0,get:()=>n[t]});return i}function J2(n){const e=Fi();let i=n();return rt(),Ou(i)&&(i=i.catch(t=>{throw tt(e),t})),[i,()=>tt(e)]}function Oe(n,e,i){const t=arguments.length;return t===2?Ee(e)&&!V(e)?nt(e)?G(n,null,[e]):G(n,e):G(n,null,e):(t>3?i=Array.prototype.slice.call(arguments,2):t===3&&nt(i)&&(i=[i]),G(n,e,i))}const Nc=Symbol(""),Z2=()=>{{const n=Ke(Nc);return n||M1("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),n}};function X2(){}function e3(n,e,i,t){const r=i[t];if(r&&jc(r,n))return r;const a=e();return a.memo=n.slice(),i[t]=a}function jc(n,e){const i=n.memo;if(i.length!=e.length)return!1;for(let t=0;t0&&Dn&&Dn.push(n),!0}const Rc="3.2.40",n3={createComponentInstance:Ac,setupComponent:xc,renderComponentRoot:Os,setCurrentRenderingInstance:ga,isVNode:nt,normalizeVNode:In},i3=null,t3=null,r3="http://www.w3.org/2000/svg",zt=typeof document!="undefined"?document:null,$c=zt&&zt.createElement("template"),a3={insert:(n,e,i)=>{e.insertBefore(n,i||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,i,t)=>{const r=e?zt.createElementNS(r3,n):zt.createElement(n,i?{is:i}:void 0);return n==="select"&&t&&t.multiple!=null&&r.setAttribute("multiple",t.multiple),r},createText:n=>zt.createTextNode(n),createComment:n=>zt.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>zt.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,i,t,r,a){const s=i?i.previousSibling:e.lastChild;if(r&&(r===a||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),i),!(r===a||!(r=r.nextSibling)););else{$c.innerHTML=t?`${n}`:n;const o=$c.content;if(t){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}e.insertBefore(o,i)}return[s?s.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}};function s3(n,e,i){const t=n._vtc;t&&(e=(e?[e,...t]:[...t]).join(" ")),e==null?n.removeAttribute("class"):i?n.setAttribute("class",e):n.className=e}function o3(n,e,i){const t=n.style,r=ue(i);if(i&&!r){for(const a in i)wf(t,a,i[a]);if(e&&!ue(e))for(const a in e)i[a]==null&&wf(t,a,"")}else{const a=t.display;r?e!==i&&(t.cssText=i):e&&n.removeAttribute("style"),"_vod"in n&&(t.display=a)}}const zc=/\s*!important$/;function wf(n,e,i){if(V(i))i.forEach(t=>wf(n,e,t));else if(i==null&&(i=""),e.startsWith("--"))n.setProperty(e,i);else{const t=u3(n,e);zc.test(i)?n.setProperty(Zn(t),i.replace(zc,""),"important"):n[t]=i}}const Hc=["Webkit","Moz","ms"],bf={};function u3(n,e){const i=bf[e];if(i)return i;let t=rn(e);if(t!=="filter"&&t in n)return bf[e]=t;t=Ct(t);for(let r=0;r{let n=Date.now,e=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(n=performance.now.bind(performance));const i=navigator.userAgent.match(/firefox\/(\d+)/i);e=!!(i&&Number(i[1])<=53)}return[n,e]})();let _f=0;const c3=Promise.resolve(),F3=()=>{_f=0},h3=()=>_f||(c3.then(F3),_f=Wc());function xi(n,e,i,t){n.addEventListener(e,i,t)}function m3(n,e,i,t){n.removeEventListener(e,i,t)}function v3(n,e,i,t,r=null){const a=n._vei||(n._vei={}),s=a[e];if(t&&s)s.value=t;else{const[o,u]=p3(e);if(t){const f=a[e]=g3(t,r);xi(n,o,f,u)}else s&&(m3(n,o,s,u),a[e]=void 0)}}const qc=/(?:Once|Passive|Capture)$/;function p3(n){let e;if(qc.test(n)){e={};let t;for(;t=n.match(qc);)n=n.slice(0,n.length-t[0].length),e[t[0].toLowerCase()]=!0}return[n[2]===":"?n.slice(3):Zn(n.slice(2)),e]}function g3(n,e){const i=t=>{const r=t.timeStamp||Wc();(d3||r>=i.attached-1)&&Tn(y3(t,i.value),e,5,[t])};return i.value=n,i.attached=h3(),i}function y3(n,e){if(V(e)){const i=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0},e.map(t=>r=>!r._stopped&&t&&t(r))}else return e}const Vc=/^on[a-z]/,k3=(n,e,i,t,r=!1,a,s,o,u)=>{e==="class"?s3(n,t,r):e==="style"?o3(n,i,t):_t(e)?Mu(e)||v3(n,e,i,t,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):w3(n,e,t,r))?l3(n,e,t,a,s,o,u):(e==="true-value"?n._trueValue=t:e==="false-value"&&(n._falseValue=t),f3(n,e,t,r))};function w3(n,e,i,t){return t?!!(e==="innerHTML"||e==="textContent"||e in n&&Vc.test(e)&&re(i)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||Vc.test(e)&&ue(i)?!1:e in n}function Gc(n,e){const i=Y(n);class t extends Js{constructor(a){super(i,a,e)}}return t.def=i,t}const b3=n=>Gc(n,g0),_3=typeof HTMLElement!="undefined"?HTMLElement:class{};class Js extends _3{constructor(e,i={},t){super(),this._def=e,this._props=i,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&t?t(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,mr(()=>{this._connected||(Af(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let t=0;t{for(const r of t)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const e=t=>{const{props:r,styles:a}=t,s=!V(r),o=r?s?Object.keys(r):r:[];let u;if(s)for(const f in this._props){const l=r[f];(l===Number||l&&l.type===Number)&&(this._props[f]=Yi(this._props[f]),(u||(u=Object.create(null)))[f]=!0)}this._numberProps=u;for(const f of Object.keys(this))f[0]!=="_"&&this._setProp(f,this[f],!0,!1);for(const f of o.map(rn))Object.defineProperty(this,f,{get(){return this._getProp(f)},set(l){this._setProp(f,l)}});this._applyStyles(a),this._update()},i=this._def.__asyncLoader;i?i().then(e):e(this._def)}_setAttr(e){let i=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(i=Yi(i)),this._setProp(rn(e),i,!1)}_getProp(e){return this._props[e]}_setProp(e,i,t=!0,r=!0){i!==this._props[e]&&(this._props[e]=i,r&&this._instance&&this._update(),t&&(i===!0?this.setAttribute(Zn(e),""):typeof i=="string"||typeof i=="number"?this.setAttribute(Zn(e),i+""):i||this.removeAttribute(Zn(e))))}_update(){Af(this._createVNode(),this.shadowRoot)}_createVNode(){const e=G(this._def,we({},this._props));return this._instance||(e.ce=i=>{this._instance=i,i.isCE=!0,i.emit=(r,...a)=>{this.dispatchEvent(new CustomEvent(r,{detail:a}))};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Js){i.parent=t._instance;break}}),e}_applyStyles(e){e&&e.forEach(i=>{const t=document.createElement("style");t.textContent=i,this.shadowRoot.appendChild(t)})}}function E3(n="$style"){{const e=Fi();if(!e)return ke;const i=e.type.__cssModules;if(!i)return ke;const t=i[n];return t||ke}}function D3(n){const e=Fi();if(!e)return;const i=()=>Ef(e.subTree,n(e.proxy));U1(i),Zi(()=>{const t=new MutationObserver(i);t.observe(e.subTree.el.parentNode,{childList:!0}),js(()=>t.disconnect())})}function Ef(n,e){if(n.shapeFlag&128){const i=n.suspense;n=i.activeBranch,i.pendingBranch&&!i.isHydrating&&i.effects.push(()=>{Ef(i.activeBranch,e)})}for(;n.component;)n=n.component.subTree;if(n.shapeFlag&1&&n.el)Yc(n.el,e);else if(n.type===Be)n.children.forEach(i=>Ef(i,e));else if(n.type===Rt){let{el:i,anchor:t}=n;for(;i&&(Yc(i,e),i!==t);)i=i.nextSibling}}function Yc(n,e){if(n.nodeType===1){const i=n.style;for(const t in e)i.setProperty(`--${t}`,e[t])}}const at="transition",Da="animation",Ht=(n,{slots:e})=>Oe(Xu,Jc(n),e);Ht.displayName="Transition";const Kc={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},C3=Ht.props=we({},Xu.props,Kc),Ut=(n,e=[])=>{V(n)?n.forEach(i=>i(...e)):n&&n(...e)},Qc=n=>n?V(n)?n.some(e=>e.length>1):n.length>1:!1;function Jc(n){const e={};for(const P in n)P in Kc||(e[P]=n[P]);if(n.css===!1)return e;const{name:i="v",type:t,duration:r,enterFromClass:a=`${i}-enter-from`,enterActiveClass:s=`${i}-enter-active`,enterToClass:o=`${i}-enter-to`,appearFromClass:u=a,appearActiveClass:f=s,appearToClass:l=o,leaveFromClass:d=`${i}-leave-from`,leaveActiveClass:c=`${i}-leave-active`,leaveToClass:F=`${i}-leave-to`}=n,h=S3(r),p=h&&h[0],g=h&&h[1],{onBeforeEnter:m,onEnter:v,onEnterCancelled:k,onLeave:y,onLeaveCancelled:_,onBeforeAppear:w=m,onAppear:C=v,onAppearCancelled:D=k}=e,A=(P,R,j)=>{st(P,R?l:o),st(P,R?f:s),j&&j()},B=(P,R)=>{P._isLeaving=!1,st(P,d),st(P,F),st(P,c),R&&R()},M=P=>(R,j)=>{const ie=P?C:v,te=()=>A(R,P,j);Ut(ie,[R,te]),Zc(()=>{st(R,P?u:a),Mi(R,P?l:o),Qc(ie)||Xc(R,t,p,te)})};return we(e,{onBeforeEnter(P){Ut(m,[P]),Mi(P,a),Mi(P,s)},onBeforeAppear(P){Ut(w,[P]),Mi(P,u),Mi(P,f)},onEnter:M(!1),onAppear:M(!0),onLeave(P,R){P._isLeaving=!0;const j=()=>B(P,R);Mi(P,d),t0(),Mi(P,c),Zc(()=>{!P._isLeaving||(st(P,d),Mi(P,F),Qc(y)||Xc(P,t,g,j))}),Ut(y,[P,j])},onEnterCancelled(P){A(P,!1),Ut(k,[P])},onAppearCancelled(P){A(P,!0),Ut(D,[P])},onLeaveCancelled(P){B(P),Ut(_,[P])}})}function S3(n){if(n==null)return null;if(Ee(n))return[Df(n.enter),Df(n.leave)];{const e=Df(n);return[e,e]}}function Df(n){return Yi(n)}function Mi(n,e){e.split(/\s+/).forEach(i=>i&&n.classList.add(i)),(n._vtc||(n._vtc=new Set)).add(e)}function st(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.remove(t));const{_vtc:i}=n;i&&(i.delete(e),i.size||(n._vtc=void 0))}function Zc(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let A3=0;function Xc(n,e,i,t){const r=n._endId=++A3,a=()=>{r===n._endId&&t()};if(i)return setTimeout(a,i);const{type:s,timeout:o,propCount:u}=e0(n,e);if(!s)return t();const f=s+"end";let l=0;const d=()=>{n.removeEventListener(f,c),a()},c=F=>{F.target===n&&++l>=u&&d()};setTimeout(()=>{l(i[h]||"").split(", "),r=t(at+"Delay"),a=t(at+"Duration"),s=n0(r,a),o=t(Da+"Delay"),u=t(Da+"Duration"),f=n0(o,u);let l=null,d=0,c=0;e===at?s>0&&(l=at,d=s,c=a.length):e===Da?f>0&&(l=Da,d=f,c=u.length):(d=Math.max(s,f),l=d>0?s>f?at:Da:null,c=l?l===at?a.length:u.length:0);const F=l===at&&/\b(transform|all)(,|$)/.test(i[at+"Property"]);return{type:l,timeout:d,propCount:c,hasTransform:F}}function n0(n,e){for(;n.lengthi0(i)+i0(n[t])))}function i0(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function t0(){return document.body.offsetHeight}const r0=new WeakMap,a0=new WeakMap,B3={name:"TransitionGroup",props:we({},C3,{tag:String,moveClass:String}),setup(n,{slots:e}){const i=Fi(),t=Zu();let r,a;return Ls(()=>{if(!r.length)return;const s=n.moveClass||`${n.name||"v"}-move`;if(!O3(r[0].el,i.vnode.el,s))return;r.forEach(x3),r.forEach(M3);const o=r.filter(P3);t0(),o.forEach(u=>{const f=u.el,l=f.style;Mi(f,s),l.transform=l.webkitTransform=l.transitionDuration="";const d=f._moveCb=c=>{c&&c.target!==f||(!c||/transform$/.test(c.propertyName))&&(f.removeEventListener("transitionend",d),f._moveCb=null,st(f,s))};f.addEventListener("transitionend",d)})}),()=>{const s=he(n),o=Jc(s);let u=s.tag||Be;r=a,a=e.default?Ts(e.default()):[];for(let f=0;f{s.split(/\s+/).forEach(o=>o&&t.classList.remove(o))}),i.split(/\s+/).forEach(s=>s&&t.classList.add(s)),t.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(t);const{hasTransform:a}=e0(t);return r.removeChild(t),a}const ot=n=>{const e=n.props["onUpdate:modelValue"]||!1;return V(e)?i=>cr(e,i):e};function T3(n){n.target.composing=!0}function s0(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Wt={created(n,{modifiers:{lazy:e,trim:i,number:t}},r){n._assign=ot(r);const a=t||r.props&&r.props.type==="number";xi(n,e?"change":"input",s=>{if(s.target.composing)return;let o=n.value;i&&(o=o.trim()),a&&(o=Yi(o)),n._assign(o)}),i&&xi(n,"change",()=>{n.value=n.value.trim()}),e||(xi(n,"compositionstart",T3),xi(n,"compositionend",s0),xi(n,"change",s0))},mounted(n,{value:e}){n.value=e==null?"":e},beforeUpdate(n,{value:e,modifiers:{lazy:i,trim:t,number:r}},a){if(n._assign=ot(a),n.composing||document.activeElement===n&&n.type!=="range"&&(i||t&&n.value.trim()===e||(r||n.type==="number")&&Yi(n.value)===e))return;const s=e==null?"":e;n.value!==s&&(n.value=s)}},Cf={deep:!0,created(n,e,i){n._assign=ot(i),xi(n,"change",()=>{const t=n._modelValue,r=wr(n),a=n.checked,s=n._assign;if(V(t)){const o=ds(t,r),u=o!==-1;if(a&&!u)s(t.concat(r));else if(!a&&u){const f=[...t];f.splice(o,1),s(f)}}else if(Et(t)){const o=new Set(t);a?o.add(r):o.delete(r),s(o)}else s(l0(n,a))})},mounted:o0,beforeUpdate(n,e,i){n._assign=ot(i),o0(n,e,i)}};function o0(n,{value:e,oldValue:i},t){n._modelValue=e,V(e)?n.checked=ds(e,t.props.value)>-1:Et(e)?n.checked=e.has(t.props.value):e!==i&&(n.checked=Vi(e,l0(n,!0)))}const Sf={created(n,{value:e},i){n.checked=Vi(e,i.props.value),n._assign=ot(i),xi(n,"change",()=>{n._assign(wr(n))})},beforeUpdate(n,{value:e,oldValue:i},t){n._assign=ot(t),e!==i&&(n.checked=Vi(e,t.props.value))}},u0={deep:!0,created(n,{value:e,modifiers:{number:i}},t){const r=Et(e);xi(n,"change",()=>{const a=Array.prototype.filter.call(n.options,s=>s.selected).map(s=>i?Yi(wr(s)):wr(s));n._assign(n.multiple?r?new Set(a):a:a[0])}),n._assign=ot(t)},mounted(n,{value:e}){f0(n,e)},beforeUpdate(n,e,i){n._assign=ot(i)},updated(n,{value:e}){f0(n,e)}};function f0(n,e){const i=n.multiple;if(!(i&&!V(e)&&!Et(e))){for(let t=0,r=n.options.length;t-1:a.selected=e.has(s);else if(Vi(wr(a),e)){n.selectedIndex!==t&&(n.selectedIndex=t);return}}!i&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function wr(n){return"_value"in n?n._value:n.value}function l0(n,e){const i=e?"_trueValue":"_falseValue";return i in n?n[i]:e}const d0={created(n,e,i){Zs(n,e,i,null,"created")},mounted(n,e,i){Zs(n,e,i,null,"mounted")},beforeUpdate(n,e,i,t){Zs(n,e,i,t,"beforeUpdate")},updated(n,e,i,t){Zs(n,e,i,t,"updated")}};function c0(n,e){switch(n){case"SELECT":return u0;case"TEXTAREA":return Wt;default:switch(e){case"checkbox":return Cf;case"radio":return Sf;default:return Wt}}}function Zs(n,e,i,t,r){const s=c0(n.tagName,i.props&&i.props.type)[r];s&&s(n,e,i,t)}function I3(){Wt.getSSRProps=({value:n})=>({value:n}),Sf.getSSRProps=({value:n},e)=>{if(e.props&&Vi(e.props.value,n))return{checked:!0}},Cf.getSSRProps=({value:n},e)=>{if(V(n)){if(e.props&&ds(n,e.props.value)>-1)return{checked:!0}}else if(Et(n)){if(e.props&&n.has(e.props.value))return{checked:!0}}else if(n)return{checked:!0}},d0.getSSRProps=(n,e)=>{if(typeof e.type!="string")return;const i=c0(e.type.toUpperCase(),e.props&&e.props.type);if(i.getSSRProps)return i.getSSRProps(n,e)}}const L3=["ctrl","shift","alt","meta"],N3={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>L3.some(i=>n[`${i}Key`]&&!e.includes(i))},Xs=(n,e)=>(i,...t)=>{for(let r=0;ri=>{if(!("key"in i))return;const t=Zn(i.key);if(e.some(r=>r===t||j3[r]===t))return n(i)},br={beforeMount(n,{value:e},{transition:i}){n._vod=n.style.display==="none"?"":n.style.display,i&&e?i.beforeEnter(n):Ca(n,e)},mounted(n,{value:e},{transition:i}){i&&e&&i.enter(n)},updated(n,{value:e,oldValue:i},{transition:t}){!e!=!i&&(t?e?(t.beforeEnter(n),Ca(n,!0),t.enter(n)):t.leave(n,()=>{Ca(n,!1)}):Ca(n,e))},beforeUnmount(n,{value:e}){Ca(n,e)}};function Ca(n,e){n.style.display=e?n._vod:"none"}function R3(){br.getSSRProps=({value:n})=>{if(!n)return{style:{display:"none"}}}}const h0=we({patchProp:k3},a3);let Sa,m0=!1;function v0(){return Sa||(Sa=gc(h0))}function p0(){return Sa=m0?Sa:yc(h0),m0=!0,Sa}const Af=(...n)=>{v0().render(...n)},g0=(...n)=>{p0().hydrate(...n)},y0=(...n)=>{const e=v0().createApp(...n),{mount:i}=e;return e.mount=t=>{const r=k0(t);if(!r)return;const a=e._component;!re(a)&&!a.render&&!a.template&&(a.template=r.innerHTML),r.innerHTML="";const s=i(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},e},$3=(...n)=>{const e=p0().createApp(...n),{mount:i}=e;return e.mount=t=>{const r=k0(t);if(r)return i(r,!0,r instanceof SVGElement)},e};function k0(n){return ue(n)?document.querySelector(n):n}let w0=!1;var z3=Object.freeze(Object.defineProperty({__proto__:null,Transition:Ht,TransitionGroup:B3,VueElement:Js,createApp:y0,createSSRApp:$3,defineCustomElement:Gc,defineSSRCustomElement:b3,hydrate:g0,initDirectivesForSSR:()=>{w0||(w0=!0,I3(),R3())},render:Af,useCssModule:E3,useCssVars:D3,vModelCheckbox:Cf,vModelDynamic:d0,vModelRadio:Sf,vModelSelect:u0,vModelText:Wt,vShow:br,withKeys:F0,withModifiers:Xs,EffectScope:Iu,ReactiveEffect:ca,customRef:B1,effect:ty,effectScope:ey,getCurrentScope:s1,isProxy:Hu,isReactive:xt,isReadonly:Mt,isRef:Me,isShallow:Fa,markRaw:Uu,onScopeDispose:o1,proxyRefs:Vu,reactive:ae,readonly:_s,ref:S,shallowReactive:S1,shallowReadonly:By,shallowRef:Fr,stop:ry,toRaw:he,toRef:Ss,toRefs:Cs,triggerRef:My,unref:T,camelize:rn,capitalize:Ct,normalizeClass:Ue,normalizeProps:Rg,normalizeStyle:Ci,toDisplayString:We,toHandlerKey:lr,BaseTransition:Xu,Comment:on,Fragment:Be,KeepAlive:o2,Static:Rt,Suspense:Xy,Teleport:bc,Text:yr,callWithAsyncErrorHandling:Tn,callWithErrorHandling:ui,cloneVNode:ei,compatUtils:t3,computed:ne,createBlock:un,createCommentVNode:Ve,createElementBlock:fe,createElementVNode:$,createHydrationRenderer:yc,createPropsRestProxy:Q2,createRenderer:gc,createSlots:F2,createStaticVNode:I2,createTextVNode:Cn,createVNode:G,defineAsyncComponent:s2,defineComponent:Y,defineEmits:q2,defineExpose:V2,defineProps:W2,get devtools(){return vr},getCurrentInstance:Fi,getTransitionRawChildren:Ts,guardReactiveProps:Cc,h:Oe,handleError:Pt,initCustomFormatter:X2,inject:Ke,isMemoSame:jc,isRuntimeOnly:R2,isVNode:nt,mergeDefaults:K2,mergeProps:Sc,nextTick:mr,onActivated:Y1,onBeforeMount:af,onBeforeUnmount:Ns,onBeforeUpdate:J1,onDeactivated:K1,onErrorCaptured:nc,onMounted:Zi,onRenderTracked:ec,onRenderTriggered:X1,onServerPrefetch:Z1,onUnmounted:js,onUpdated:Ls,openBlock:J,popScopeId:Gy,provide:Un,pushScopeId:Vy,queuePostFlushCb:Ku,registerRuntimeCompiler:Mc,renderList:Rs,renderSlot:qe,resolveComponent:l2,resolveDirective:c2,resolveDynamicComponent:d2,resolveFilter:i3,resolveTransitionHooks:gr,setBlockTracking:pf,setDevtoolsHook:N1,setTransitionHooks:It,ssrContextKey:Nc,ssrUtils:n3,toHandlers:h2,transformVNodeArgs:O2,useAttrs:Y2,useSSRContext:Z2,useSlots:Ic,useTransitionState:Zu,version:Rc,warn:M1,watch:ge,watchEffect:li,watchPostEffect:U1,watchSyncEffect:r2,withAsyncContext:J2,withCtx:De,withDefaults:G2,withDirectives:Xi,withMemo:e3,withScopeId:Yy},Symbol.toStringTag,{value:"Module"}));function Bf(n){throw n}function b0(n){}function Pe(n,e,i,t){const r=n,a=new SyntaxError(String(r));return a.code=n,a.loc=e,a}const Aa=Symbol(""),Ba=Symbol(""),xf=Symbol(""),eo=Symbol(""),_0=Symbol(""),qt=Symbol(""),E0=Symbol(""),D0=Symbol(""),Mf=Symbol(""),Pf=Symbol(""),xa=Symbol(""),Of=Symbol(""),C0=Symbol(""),Tf=Symbol(""),no=Symbol(""),If=Symbol(""),Lf=Symbol(""),Nf=Symbol(""),jf=Symbol(""),S0=Symbol(""),A0=Symbol(""),io=Symbol(""),to=Symbol(""),Rf=Symbol(""),$f=Symbol(""),Ma=Symbol(""),Pa=Symbol(""),zf=Symbol(""),Hf=Symbol(""),H3=Symbol(""),Uf=Symbol(""),ro=Symbol(""),U3=Symbol(""),W3=Symbol(""),Wf=Symbol(""),q3=Symbol(""),V3=Symbol(""),qf=Symbol(""),B0=Symbol(""),_r={[Aa]:"Fragment",[Ba]:"Teleport",[xf]:"Suspense",[eo]:"KeepAlive",[_0]:"BaseTransition",[qt]:"openBlock",[E0]:"createBlock",[D0]:"createElementBlock",[Mf]:"createVNode",[Pf]:"createElementVNode",[xa]:"createCommentVNode",[Of]:"createTextVNode",[C0]:"createStaticVNode",[Tf]:"resolveComponent",[no]:"resolveDynamicComponent",[If]:"resolveDirective",[Lf]:"resolveFilter",[Nf]:"withDirectives",[jf]:"renderList",[S0]:"renderSlot",[A0]:"createSlots",[io]:"toDisplayString",[to]:"mergeProps",[Rf]:"normalizeClass",[$f]:"normalizeStyle",[Ma]:"normalizeProps",[Pa]:"guardReactiveProps",[zf]:"toHandlers",[Hf]:"camelize",[H3]:"capitalize",[Uf]:"toHandlerKey",[ro]:"setBlockTracking",[U3]:"pushScopeId",[W3]:"popScopeId",[Wf]:"withCtx",[q3]:"unref",[V3]:"isRef",[qf]:"withMemo",[B0]:"isMemoSame"};function G3(n){Object.getOwnPropertySymbols(n).forEach(e=>{_r[e]=n[e]})}const Ln={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Y3(n,e=Ln){return{type:0,children:n,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}function Oa(n,e,i,t,r,a,s,o=!1,u=!1,f=!1,l=Ln){return n&&(o?(n.helper(qt),n.helper(Sr(n.inSSR,f))):n.helper(Cr(n.inSSR,f)),s&&n.helper(Nf)),{type:13,tag:e,props:i,children:t,patchFlag:r,dynamicProps:a,directives:s,isBlock:o,disableTracking:u,isComponent:f,loc:l}}function Ta(n,e=Ln){return{type:17,loc:e,elements:n}}function qn(n,e=Ln){return{type:15,loc:e,properties:n}}function Te(n,e){return{type:16,loc:Ln,key:ue(n)?le(n,!0):n,value:e}}function le(n,e=!1,i=Ln,t=0){return{type:4,loc:i,content:n,isStatic:e,constType:e?3:t}}function ni(n,e=Ln){return{type:8,loc:e,children:n}}function Re(n,e=[],i=Ln){return{type:14,loc:i,callee:n,arguments:e}}function Er(n,e=void 0,i=!1,t=!1,r=Ln){return{type:18,params:n,returns:e,newline:i,isSlot:t,loc:r}}function Vf(n,e,i,t=!0){return{type:19,test:n,consequent:e,alternate:i,newline:t,loc:Ln}}function K3(n,e,i=!1){return{type:20,index:n,value:e,isVNode:i,loc:Ln}}function Q3(n){return{type:21,body:n,loc:Ln}}const An=n=>n.type===4&&n.isStatic,Dr=(n,e)=>n===e||n===Zn(e);function x0(n){if(Dr(n,"Teleport"))return Ba;if(Dr(n,"Suspense"))return xf;if(Dr(n,"KeepAlive"))return eo;if(Dr(n,"BaseTransition"))return _0}const J3=/^\d|[^\$\w]/,Gf=n=>!J3.test(n),Z3=/[A-Za-z_$\xA0-\uFFFF]/,X3=/[\.\?\w$\xA0-\uFFFF]/,ek=/\s+[.[]\s*|\s*[.[]\s+/g,M0=n=>{n=n.trim().replace(ek,s=>s.trim());let e=0,i=[],t=0,r=0,a=null;for(let s=0;se.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Yf(n){return n.type===5||n.type===2}function ik(n){return n.type===7&&n.name==="slot"}function uo(n){return n.type===1&&n.tagType===3}function fo(n){return n.type===1&&n.tagType===2}function Cr(n,e){return n||e?Mf:Pf}function Sr(n,e){return n||e?E0:D0}const tk=new Set([Ma,Pa]);function O0(n,e=[]){if(n&&!ue(n)&&n.type===14){const i=n.callee;if(!ue(i)&&tk.has(i))return O0(n.arguments[0],e.concat(n))}return[n,e]}function lo(n,e,i){let t,r=n.type===13?n.props:n.arguments[2],a=[],s;if(r&&!ue(r)&&r.type===14){const o=O0(r);r=o[0],a=o[1],s=a[a.length-1]}if(r==null||ue(r))t=qn([e]);else if(r.type===14){const o=r.arguments[0];!ue(o)&&o.type===15?o.properties.unshift(e):r.callee===zf?t=Re(i.helper(to),[qn([e]),r]):r.arguments.unshift(qn([e])),!t&&(t=r)}else if(r.type===15){let o=!1;if(e.key.type===4){const u=e.key.content;o=r.properties.some(f=>f.key.type===4&&f.key.content===u)}o||r.properties.unshift(e),t=r}else t=Re(i.helper(to),[qn([e]),r]),s&&s.callee===Pa&&(s=a[a.length-2]);n.type===13?s?s.arguments[0]=t:n.props=t:s?s.arguments[0]=t:n.arguments[2]=t}function Ia(n,e){return`_${e}_${n.replace(/[^\w]/g,(i,t)=>i==="-"?"_":n.charCodeAt(t).toString())}`}function rk(n){return n.type===14&&n.callee===qf?n.arguments[1].returns:n}function Kf(n,{helper:e,removeHelper:i,inSSR:t}){n.isBlock||(n.isBlock=!0,i(Cr(t,n.isComponent)),e(qt),e(Sr(t,n.isComponent)))}function T0(n,e){const i=e.options?e.options.compatConfig:e.compatConfig,t=i&&i[n];return n==="MODE"?t||3:t}function Gt(n,e){const i=T0("MODE",e),t=T0(n,e);return i===3?t===!0:t!==!1}function La(n,e,i,...t){return Gt(n,e)}const ak=/&(gt|lt|amp|apos|quot);/g,sk={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},I0={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:cs,isPreTag:cs,isCustomElement:cs,decodeEntities:n=>n.replace(ak,(e,i)=>sk[i]),onError:Bf,onWarn:b0,comments:!1};function ok(n,e={}){const i=uk(n,e),t=Nn(i);return Y3(Qf(i,0,[]),Gn(i,t))}function uk(n,e){const i=we({},I0);let t;for(t in e)i[t]=e[t]===void 0?I0[t]:e[t];return{options:i,column:1,line:1,offset:0,originalSource:n,source:n,inPre:!1,inVPre:!1,onWarn:i.onWarn}}function Qf(n,e,i){const t=co(i),r=t?t.ns:0,a=[];for(;!pk(n,e,i);){const o=n.source;let u;if(e===0||e===1){if(!n.inVPre&&fn(o,n.options.delimiters[0]))u=mk(n,e);else if(e===0&&o[0]==="<")if(o.length===1)_e(n,5,1);else if(o[1]==="!")fn(o,"=0;){const f=s[o];f&&f.type===9&&(u+=f.branches.length)}return()=>{if(a)t.codegenNode=Q0(r,u,i);else{const f=Hk(t.codegenNode);f.alternate=Q0(r,u+t.branches.length-1,i)}}}));function zk(n,e,i,t){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const r=e.exp?e.exp.loc:n.loc;i.onError(Pe(28,e.loc)),e.exp=le("true",!1,r)}if(e.name==="if"){const r=K0(n,e),a={type:9,loc:n.loc,branches:[r]};if(i.replaceNode(a),t)return t(a,r,!0)}else{const r=i.parent.children;let a=r.indexOf(n);for(;a-->=-1;){const s=r[a];if(s&&s.type===2&&!s.content.trim().length){i.removeNode(s);continue}if(s&&s.type===9){e.name==="else-if"&&s.branches[s.branches.length-1].condition===void 0&&i.onError(Pe(30,n.loc)),i.removeNode();const o=K0(n,e);s.branches.push(o);const u=t&&t(s,o,!1);ho(o,i),u&&u(),i.currentNode=null}else i.onError(Pe(30,n.loc));break}}}function K0(n,e){const i=n.tagType===3;return{type:10,loc:n.loc,condition:e.name==="else"?void 0:e.exp,children:i&&!Vn(n,"for")?n.children:[n],userKey:oo(n,"key"),isTemplateIf:i}}function Q0(n,e,i){return n.condition?Vf(n.condition,J0(n,e,i),Re(i.helper(xa),['""',"true"])):J0(n,e,i)}function J0(n,e,i){const{helper:t}=i,r=Te("key",le(`${e}`,!1,Ln,2)),{children:a}=n,s=a[0];if(a.length!==1||s.type!==1)if(a.length===1&&s.type===11){const u=s.codegenNode;return lo(u,r,i),u}else{let u=64;return Oa(i,t(Aa),qn([r]),a,u+"",void 0,void 0,!0,!1,!1,n.loc)}else{const u=s.codegenNode,f=rk(u);return f.type===13&&Kf(f,i),lo(f,r,i),u}}function Hk(n){for(;;)if(n.type===19)if(n.alternate.type===19)n=n.alternate;else return n;else n.type===20&&(n=n.value)}const Uk=q0("for",(n,e,i)=>{const{helper:t,removeHelper:r}=i;return Wk(n,e,i,a=>{const s=Re(t(jf),[a.source]),o=uo(n),u=Vn(n,"memo"),f=oo(n,"key"),l=f&&(f.type===6?le(f.value.content,!0):f.exp),d=f?Te("key",l):null,c=a.source.type===4&&a.source.constType>0,F=c?64:f?128:256;return a.codegenNode=Oa(i,t(Aa),void 0,s,F+"",void 0,void 0,!0,!c,!1,n.loc),()=>{let h;const{children:p}=a,g=p.length!==1||p[0].type!==1,m=fo(n)?n:o&&n.children.length===1&&fo(n.children[0])?n.children[0]:null;if(m?(h=m.codegenNode,o&&d&&lo(h,d,i)):g?h=Oa(i,t(Aa),d?qn([d]):void 0,n.children,64+"",void 0,void 0,!0,void 0,!1):(h=p[0].codegenNode,o&&d&&lo(h,d,i),h.isBlock!==!c&&(h.isBlock?(r(qt),r(Sr(i.inSSR,h.isComponent))):r(Cr(i.inSSR,h.isComponent))),h.isBlock=!c,h.isBlock?(t(qt),t(Sr(i.inSSR,h.isComponent))):t(Cr(i.inSSR,h.isComponent))),u){const v=Er(nl(a.parseResult,[le("_cached")]));v.body=Q3([ni(["const _memo = (",u.exp,")"]),ni(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${i.helperString(B0)}(_cached, _memo)) return _cached`]),ni(["const _item = ",h]),le("_item.memo = _memo"),le("return _item")]),s.arguments.push(v,le("_cache"),le(String(i.cached++)))}else s.arguments.push(Er(nl(a.parseResult),h,!0))}})});function Wk(n,e,i,t){if(!e.exp){i.onError(Pe(31,e.loc));return}const r=X0(e.exp);if(!r){i.onError(Pe(32,e.loc));return}const{addIdentifiers:a,removeIdentifiers:s,scopes:o}=i,{source:u,value:f,key:l,index:d}=r,c={type:11,loc:e.loc,source:u,valueAlias:f,keyAlias:l,objectIndexAlias:d,parseResult:r,children:uo(n)?n.children:[n]};i.replaceNode(c),o.vFor++;const F=t&&t(c);return()=>{o.vFor--,F&&F()}}const qk=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Z0=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Vk=/^\(|\)$/g;function X0(n,e){const i=n.loc,t=n.content,r=t.match(qk);if(!r)return;const[,a,s]=r,o={source:vo(i,s.trim(),t.indexOf(s,a.length)),value:void 0,key:void 0,index:void 0};let u=a.trim().replace(Vk,"").trim();const f=a.indexOf(u),l=u.match(Z0);if(l){u=u.replace(Z0,"").trim();const d=l[1].trim();let c;if(d&&(c=t.indexOf(d,f+u.length),o.key=vo(i,d,c)),l[2]){const F=l[2].trim();F&&(o.index=vo(i,F,t.indexOf(F,o.key?c+d.length:f+u.length)))}}return u&&(o.value=vo(i,u,f)),o}function vo(n,e,i){return le(e,!1,P0(n,i,e.length))}function nl({value:n,key:e,index:i},t=[]){return Gk([n,e,i,...t])}function Gk(n){let e=n.length;for(;e--&&!n[e];);return n.slice(0,e+1).map((i,t)=>i||le("_".repeat(t+1),!1))}const eF=le("undefined",!1),Yk=(n,e)=>{if(n.type===1&&(n.tagType===1||n.tagType===3)){const i=Vn(n,"slot");if(i)return i.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},Kk=(n,e,i)=>Er(n,e,!1,!0,e.length?e[0].loc:i);function Qk(n,e,i=Kk){e.helper(Wf);const{children:t,loc:r}=n,a=[],s=[];let o=e.scopes.vSlot>0||e.scopes.vFor>0;const u=Vn(n,"slot",!0);if(u){const{arg:g,exp:m}=u;g&&!An(g)&&(o=!0),a.push(Te(g||le("default",!0),i(m,t,r)))}let f=!1,l=!1;const d=[],c=new Set;let F=0;for(let g=0;g{const k=i(m,v,r);return e.compatConfig&&(k.isNonScopedSlot=!0),Te("default",k)};f?d.length&&d.some(m=>nF(m))&&(l?e.onError(Pe(39,d[0].loc)):a.push(g(void 0,d))):a.push(g(void 0,t))}const h=o?2:go(n.children)?3:1;let p=qn(a.concat(Te("_",le(h+"",!1))),r);return s.length&&(p=Re(e.helper(A0),[p,Ta(s)])),{slots:p,hasDynamicSlots:o}}function po(n,e,i){const t=[Te("name",n),Te("fn",e)];return i!=null&&t.push(Te("key",le(String(i),!0))),qn(t)}function go(n){for(let e=0;efunction(){if(n=e.currentNode,!(n.type===1&&(n.tagType===0||n.tagType===1)))return;const{tag:t,props:r}=n,a=n.tagType===1;let s=a?Zk(n,e):`"${t}"`;const o=Ee(s)&&s.callee===no;let u,f,l,d=0,c,F,h,p=o||s===Ba||s===xf||!a&&(t==="svg"||t==="foreignObject");if(r.length>0){const g=tF(n,e,void 0,a,o);u=g.props,d=g.patchFlag,F=g.dynamicPropNames;const m=g.directives;h=m&&m.length?Ta(m.map(v=>e4(v,e))):void 0,g.shouldUseBlock&&(p=!0)}if(n.children.length>0)if(s===eo&&(p=!0,d|=1024),a&&s!==Ba&&s!==eo){const{slots:m,hasDynamicSlots:v}=Qk(n,e);f=m,v&&(d|=1024)}else if(n.children.length===1&&s!==Ba){const m=n.children[0],v=m.type,k=v===5||v===8;k&&Yn(m,e)===0&&(d|=1),k||v===2?f=m:f=n.children}else f=n.children;d!==0&&(l=String(d),F&&F.length&&(c=n4(F))),n.codegenNode=Oa(e,s,u,f,l,c,h,!!p,!1,a,n.loc)};function Zk(n,e,i=!1){let{tag:t}=n;const r=il(t),a=oo(n,"is");if(a)if(r||Gt("COMPILER_IS_ON_ELEMENT",e)){const u=a.type===6?a.value&&le(a.value.content,!0):a.exp;if(u)return Re(e.helper(no),[u])}else a.type===6&&a.value.content.startsWith("vue:")&&(t=a.value.content.slice(4));const s=!r&&Vn(n,"is");if(s&&s.exp)return Re(e.helper(no),[s.exp]);const o=x0(t)||e.isBuiltInComponent(t);return o?(i||e.helper(o),o):(e.helper(Tf),e.components.add(t),Ia(t,"component"))}function tF(n,e,i=n.props,t,r,a=!1){const{tag:s,loc:o,children:u}=n;let f=[];const l=[],d=[],c=u.length>0;let F=!1,h=0,p=!1,g=!1,m=!1,v=!1,k=!1,y=!1;const _=[],w=A=>{f.length&&(l.push(qn(rF(f),o)),f=[]),A&&l.push(A)},C=({key:A,value:B})=>{if(An(A)){const M=A.content,P=_t(M);if(P&&(!t||r)&&M.toLowerCase()!=="onclick"&&M!=="onUpdate:modelValue"&&!Dt(M)&&(v=!0),P&&Dt(M)&&(y=!0),B.type===20||(B.type===4||B.type===8)&&Yn(B,e)>0)return;M==="ref"?p=!0:M==="class"?g=!0:M==="style"?m=!0:M!=="key"&&!_.includes(M)&&_.push(M),t&&(M==="class"||M==="style")&&!_.includes(M)&&_.push(M)}else k=!0};for(let A=0;A0&&f.push(Te(le("ref_for",!0),le("true")))),P==="is"&&(il(s)||R&&R.content.startsWith("vue:")||Gt("COMPILER_IS_ON_ELEMENT",e)))continue;f.push(Te(le(P,!0,P0(M,0,P.length)),le(R?R.content:"",j,R?R.loc:M)))}else{const{name:M,arg:P,exp:R,loc:j}=B,ie=M==="bind",te=M==="on";if(M==="slot"){t||e.onError(Pe(40,j));continue}if(M==="once"||M==="memo"||M==="is"||ie&&Vt(P,"is")&&(il(s)||Gt("COMPILER_IS_ON_ELEMENT",e))||te&&a)continue;if((ie&&Vt(P,"key")||te&&c&&Vt(P,"vue:before-update"))&&(F=!0),ie&&Vt(P,"ref")&&e.scopes.vFor>0&&f.push(Te(le("ref_for",!0),le("true"))),!P&&(ie||te)){if(k=!0,R)if(ie){if(w(),Gt("COMPILER_V_BIND_OBJECT_ORDER",e)){l.unshift(R);continue}l.push(R)}else w({type:14,loc:j,callee:e.helper(zf),arguments:t?[R]:[R,"true"]});else e.onError(Pe(ie?34:35,j));continue}const be=e.directiveTransforms[M];if(be){const{props:oe,needRuntime:Ae}=be(B,n,e);!a&&oe.forEach(C),te&&P&&!An(P)?w(qn(oe,o)):f.push(...oe),Ae&&(d.push(B),Gi(Ae)&&iF.set(B,Ae))}else Qg(M)||(d.push(B),c&&(F=!0))}}let D;if(l.length?(w(),l.length>1?D=Re(e.helper(to),l,o):D=l[0]):f.length&&(D=qn(rF(f),o)),k?h|=16:(g&&!t&&(h|=2),m&&!t&&(h|=4),_.length&&(h|=8),v&&(h|=32)),!F&&(h===0||h===32)&&(p||y||d.length>0)&&(h|=512),!e.inSSR&&D)switch(D.type){case 15:let A=-1,B=-1,M=!1;for(let j=0;jTe(s,a)),r))}return Ta(i,n.loc)}function n4(n){let e="[";for(let i=0,t=n.length;i{const e=Object.create(null);return i=>e[i]||(e[i]=n(i))},t4=/-(\w)/g,aF=i4(n=>n.replace(t4,(e,i)=>i?i.toUpperCase():"")),r4=(n,e)=>{if(fo(n)){const{children:i,loc:t}=n,{slotName:r,slotProps:a}=a4(n,e),s=[e.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let o=2;a&&(s[2]=a,o=3),i.length&&(s[3]=Er([],i,!1,!1,t),o=4),e.scopeId&&!e.slotted&&(o=5),s.splice(o),n.codegenNode=Re(e.helper(S0),s,t)}};function a4(n,e){let i='"default"',t;const r=[];for(let a=0;a0){const{props:a,directives:s}=tF(n,e,r,!1,!1);t=a,s.length&&e.onError(Pe(36,s[0].loc))}return{slotName:i,slotProps:t}}const s4=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,sF=(n,e,i,t)=>{const{loc:r,modifiers:a,arg:s}=n;!n.exp&&!a.length&&i.onError(Pe(35,r));let o;if(s.type===4)if(s.isStatic){let d=s.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const c=e.tagType===1||d.startsWith("vnode")||!/[A-Z]/.test(d)?lr(rn(d)):`on:${d}`;o=le(c,!0,s.loc)}else o=ni([`${i.helperString(Uf)}(`,s,")"]);else o=s,o.children.unshift(`${i.helperString(Uf)}(`),o.children.push(")");let u=n.exp;u&&!u.content.trim()&&(u=void 0);let f=i.cacheHandlers&&!u&&!i.inVOnce;if(u){const d=M0(u.content),c=!(d||s4.test(u.content)),F=u.content.includes(";");(c||f&&d)&&(u=ni([`${c?"$event":"(...args)"} => ${F?"{":"("}`,u,F?"}":")"]))}let l={props:[Te(o,u||le("() => {}",!1,r))]};return t&&(l=t(l)),f&&(l.props[0].value=i.cache(l.props[0].value)),l.props.forEach(d=>d.key.isHandlerKey=!0),l},o4=(n,e,i)=>{const{exp:t,modifiers:r,loc:a}=n,s=n.arg;return s.type!==4?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),r.includes("camel")&&(s.type===4?s.isStatic?s.content=rn(s.content):s.content=`${i.helperString(Hf)}(${s.content})`:(s.children.unshift(`${i.helperString(Hf)}(`),s.children.push(")"))),i.inSSR||(r.includes("prop")&&oF(s,"."),r.includes("attr")&&oF(s,"^")),!t||t.type===4&&!t.content.trim()?(i.onError(Pe(34,a)),{props:[Te(s,le("",!0,a))]}):{props:[Te(s,t)]}},oF=(n,e)=>{n.type===4?n.isStatic?n.content=e+n.content:n.content=`\`${e}\${${n.content}}\``:(n.children.unshift(`'${e}' + (`),n.children.push(")"))},u4=(n,e)=>{if(n.type===0||n.type===1||n.type===11||n.type===10)return()=>{const i=n.children;let t,r=!1;for(let a=0;aa.type===7&&!e.directiveTransforms[a.name])&&n.tag!=="template")))for(let a=0;a{if(n.type===1&&Vn(n,"once",!0))return uF.has(n)||e.inVOnce?void 0:(uF.add(n),e.inVOnce=!0,e.helper(ro),()=>{e.inVOnce=!1;const i=e.currentNode;i.codegenNode&&(i.codegenNode=e.cache(i.codegenNode,!0))})},fF=(n,e,i)=>{const{exp:t,arg:r}=n;if(!t)return i.onError(Pe(41,n.loc)),tl();const a=t.loc.source,s=t.type===4?t.content:a;i.bindingMetadata[a];const o=!1;if(!s.trim()||!M0(s)&&!o)return i.onError(Pe(42,t.loc)),tl();const u=r||le("modelValue",!0),f=r?An(r)?`onUpdate:${r.content}`:ni(['"onUpdate:" + ',r]):"onUpdate:modelValue";let l;const d=i.isTS?"($event: any)":"$event";l=ni([`${d} => ((`,t,") = $event)"]);const c=[Te(u,n.exp),Te(f,l)];if(n.modifiers.length&&e.tagType===1){const F=n.modifiers.map(p=>(Gf(p)?p:JSON.stringify(p))+": true").join(", "),h=r?An(r)?`${r.content}Modifiers`:ni([r,' + "Modifiers"']):"modelModifiers";c.push(Te(h,le(`{ ${F} }`,!1,n.loc,2)))}return tl(c)};function tl(n=[]){return{props:n}}const l4=/[\w).+\-_$\]]/,d4=(n,e)=>{!Gt("COMPILER_FILTER",e)||(n.type===5&&yo(n.content,e),n.type===1&&n.props.forEach(i=>{i.type===7&&i.name!=="for"&&i.exp&&yo(i.exp,e)}))};function yo(n,e){if(n.type===4)lF(n,e);else for(let i=0;i=0&&(v=i.charAt(m),v===" ");m--);(!v||!l4.test(v))&&(s=!0)}}h===void 0?h=i.slice(0,F).trim():l!==0&&g();function g(){p.push(i.slice(l,F).trim()),l=F+1}if(p.length){for(F=0;F{if(n.type===1){const i=Vn(n,"memo");return!i||dF.has(n)?void 0:(dF.add(n),()=>{const t=n.codegenNode||e.currentNode.codegenNode;t&&t.type===13&&(n.tagType!==1&&Kf(t,e),n.codegenNode=Re(e.helper(qf),[i.exp,Er(void 0,t),"_cache",String(e.cached++)]))})}};function h4(n){return[[f4,$k,F4,Uk,d4,r4,Jk,Yk,u4],{on:sF,bind:o4,model:fF}]}function m4(n,e={}){const i=e.onError||Bf,t=e.mode==="module";e.prefixIdentifiers===!0?i(Pe(46)):t&&i(Pe(47));const r=!1;e.cacheHandlers&&i(Pe(48)),e.scopeId&&!t&&i(Pe(49));const a=ue(n)?ok(n,e):n,[s,o]=h4();return wk(a,we({},e,{prefixIdentifiers:r,nodeTransforms:[...s,...e.nodeTransforms||[]],directiveTransforms:we({},o,e.directiveTransforms||{})})),Dk(a,we({},e,{prefixIdentifiers:r}))}const v4=()=>({props:[]}),cF=Symbol(""),FF=Symbol(""),hF=Symbol(""),mF=Symbol(""),rl=Symbol(""),vF=Symbol(""),pF=Symbol(""),gF=Symbol(""),yF=Symbol(""),kF=Symbol("");G3({[cF]:"vModelRadio",[FF]:"vModelCheckbox",[hF]:"vModelText",[mF]:"vModelSelect",[rl]:"vModelDynamic",[vF]:"withModifiers",[pF]:"withKeys",[gF]:"vShow",[yF]:"Transition",[kF]:"TransitionGroup"});let Ar;function p4(n,e=!1){return Ar||(Ar=document.createElement("div")),e?(Ar.innerHTML=`
`,Ar.children[0].getAttribute("foo")):(Ar.innerHTML=n,Ar.textContent)}const g4=En("style,iframe,script,noscript",!0),y4={isVoidTag:qg,isNativeTag:n=>Ug(n)||Wg(n),isPreTag:n=>n==="pre",decodeEntities:p4,isBuiltInComponent:n=>{if(Dr(n,"Transition"))return yF;if(Dr(n,"TransitionGroup"))return kF},getNamespace(n,e){let i=e?e.ns:0;if(e&&i===2)if(e.tag==="annotation-xml"){if(n==="svg")return 1;e.props.some(t=>t.type===6&&t.name==="encoding"&&t.value!=null&&(t.value.content==="text/html"||t.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&n!=="mglyph"&&n!=="malignmark"&&(i=0);else e&&i===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(i=0);if(i===0){if(n==="svg")return 1;if(n==="math")return 2}return i},getTextMode({tag:n,ns:e}){if(e===0){if(n==="textarea"||n==="title")return 1;if(g4(n))return 2}return 0}},k4=n=>{n.type===1&&n.props.forEach((e,i)=>{e.type===6&&e.name==="style"&&e.value&&(n.props[i]={type:7,name:"bind",arg:le("style",!0,e.loc),exp:w4(e.value.content,e.loc),modifiers:[],loc:e.loc})})},w4=(n,e)=>{const i=Xd(n);return le(JSON.stringify(i),!1,e,3)};function Pi(n,e){return Pe(n,e)}const b4=(n,e,i)=>{const{exp:t,loc:r}=n;return t||i.onError(Pi(50,r)),e.children.length&&(i.onError(Pi(51,r)),e.children.length=0),{props:[Te(le("innerHTML",!0,r),t||le("",!0))]}},_4=(n,e,i)=>{const{exp:t,loc:r}=n;return t||i.onError(Pi(52,r)),e.children.length&&(i.onError(Pi(53,r)),e.children.length=0),{props:[Te(le("textContent",!0),t?Yn(t,i)>0?t:Re(i.helperString(io),[t],r):le("",!0))]}},E4=(n,e,i)=>{const t=fF(n,e,i);if(!t.props.length||e.tagType===1)return t;n.arg&&i.onError(Pi(55,n.arg.loc));const{tag:r}=e,a=i.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||a){let s=hF,o=!1;if(r==="input"||a){const u=oo(e,"type");if(u){if(u.type===7)s=rl;else if(u.value)switch(u.value.content){case"radio":s=cF;break;case"checkbox":s=FF;break;case"file":o=!0,i.onError(Pi(56,n.loc));break}}else nk(e)&&(s=rl)}else r==="select"&&(s=mF);o||(t.needRuntime=i.helper(s))}else i.onError(Pi(54,n.loc));return t.props=t.props.filter(s=>!(s.key.type===4&&s.key.content==="modelValue")),t},D4=En("passive,once,capture"),C4=En("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),S4=En("left,right"),wF=En("onkeyup,onkeydown,onkeypress",!0),A4=(n,e,i,t)=>{const r=[],a=[],s=[];for(let o=0;oAn(n)&&n.content.toLowerCase()==="onclick"?le(e,!0):n.type!==4?ni(["(",n,`) === "onClick" ? "${e}" : (`,n,")"]):n,B4=(n,e,i)=>sF(n,e,i,t=>{const{modifiers:r}=n;if(!r.length)return t;let{key:a,value:s}=t.props[0];const{keyModifiers:o,nonKeyModifiers:u,eventOptionModifiers:f}=A4(a,r,i,n.loc);if(u.includes("right")&&(a=bF(a,"onContextmenu")),u.includes("middle")&&(a=bF(a,"onMouseup")),u.length&&(s=Re(i.helper(vF),[s,JSON.stringify(u)])),o.length&&(!An(a)||wF(a.content))&&(s=Re(i.helper(pF),[s,JSON.stringify(o)])),f.length){const l=f.map(Ct).join("");a=An(a)?le(`${a.content}${l}`,!0):ni(["(",a,`) + "${l}"`])}return{props:[Te(a,s)]}}),x4=(n,e,i)=>{const{exp:t,loc:r}=n;return t||i.onError(Pi(58,r)),{props:[],needRuntime:i.helper(gF)}},M4=(n,e)=>{n.type===1&&n.tagType===0&&(n.tag==="script"||n.tag==="style")&&(e.onError(Pi(60,n.loc)),e.removeNode())},P4=[k4],O4={cloak:v4,html:b4,text:_4,model:E4,on:B4,show:x4};function T4(n,e={}){return m4(n,we({},y4,e,{nodeTransforms:[M4,...P4,...e.nodeTransforms||[]],directiveTransforms:we({},O4,e.directiveTransforms||{}),transformHoist:null}))}const _F=Object.create(null);function I4(n,e){if(!ue(n))if(n.nodeType)n=n.innerHTML;else return gn;const i=n,t=_F[i];if(t)return t;if(n[0]==="#"){const o=document.querySelector(n);n=o?o.innerHTML:""}const r=we({hoistStatic:!0,onError:void 0,onWarn:gn},e);!r.isCustomElement&&typeof customElements!="undefined"&&(r.isCustomElement=o=>!!customElements.get(o));const{code:a}=T4(n,r),s=new Function("Vue",a)(z3);return s._rc=!0,_F[i]=s}Mc(I4);/*! * vue-router v4.1.5 * (c) 2022 Eduardo San Martin Morote * @license MIT - */var Ak;(function(e){e.pop="pop",e.push="push"})(Ak||(Ak={}));var Mk;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Mk||(Mk={}));var Bk;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Bk||(Bk={}));const nB=Symbol(""),iB=Symbol("");function xk(){return wn(nB)}function tB(){return wn(iB)}var $k;const Ft=typeof window!="undefined",Tk=e=>typeof e=="string",bd=()=>+Date.now(),Pk=(e,n,i)=>Math.min(i,Math.max(n,e)),Ui=()=>{},Ok=Ft&&(($k=window==null?void 0:window.navigator)==null?void 0:$k.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function _d(e,n){function i(...t){e(()=>n.apply(this,t),{fn:n,thisArg:this,args:t})}return i}const jh=e=>e();function rB(e,n={}){let i,t;return s=>{const a=q(e),o=q(n.maxWait);if(i&&clearTimeout(i),a<=0||o!==void 0&&o<=0)return t&&(clearTimeout(t),t=null),s();o&&!t&&(t=setTimeout(()=>{i&&clearTimeout(i),t=null,s()},o)),i=setTimeout(()=>{t&&clearTimeout(t),t=null,s()},a)}}function sB(e,n=!0,i=!0){let t=0,r,s=!0;const a=()=>{r&&(clearTimeout(r),r=void 0)};return u=>{const f=q(e),l=Date.now()-t;if(a(),f<=0)return t=Date.now(),u();l>f&&(i||!s)?(t=Date.now(),u()):n&&(r=setTimeout(()=>{t=Date.now(),s=!0,a(),u()},f)),!i&&!r&&(r=setTimeout(()=>s=!0,f)),s=!1}}function aB(e=jh){const n=j(!0);function i(){n.value=!1}function t(){n.value=!0}return{isActive:n,pause:i,resume:t,eventFilter:(...s)=>{n.value&&e(...s)}}}function Ik(e,n=!1,i="Timeout"){return new Promise((t,r)=>{setTimeout(n?()=>r(i):t,e)})}function oB(e){let n;function i(){return n||(n=e()),n}return i.reset=async()=>{const t=n;n=void 0,t&&await t},i}function uB(e,n,i=!1){return n.reduce((t,r)=>(r in e&&(!i||e[r]!==void 0)&&(t[r]=e[r]),t),{})}function Vi(e){return dy()?(cy(e),!0):!1}function fB(e,n=200,i={}){return _d(rB(n,i),e)}function Nk(e,n,i={}){const{flush:t="sync",deep:r=!1,immediate:s=!0,direction:a="both"}=i;let o,u;return(a==="both"||a==="ltr")&&(o=Be(e,f=>n.value=f,{flush:t,deep:r,immediate:s})),(a==="both"||a==="rtl")&&(u=Be(n,f=>e.value=f,{flush:t,deep:r,immediate:s})),()=>{o==null||o(),u==null||u()}}var lB=Object.defineProperty,dB=Object.defineProperties,cB=Object.getOwnPropertyDescriptors,Lk=Object.getOwnPropertySymbols,hB=Object.prototype.hasOwnProperty,mB=Object.prototype.propertyIsEnumerable,jk=(e,n,i)=>n in e?lB(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,pB=(e,n)=>{for(var i in n||(n={}))hB.call(n,i)&&jk(e,i,n[i]);if(Lk)for(var i of Lk(n))mB.call(n,i)&&jk(e,i,n[i]);return e},FB=(e,n)=>dB(e,cB(n));function Rk(e){if(!Ve(e))return Ml(e);const n=Array.isArray(e.value)?new Array(e.value.length):{};for(const i in e.value)n[i]=Py(()=>({get(){return e.value[i]},set(t){if(Array.isArray(e.value)){const r=[...e.value];r[i]=t,e.value=r}else{const r=FB(pB({},e.value),{[i]:t});Object.setPrototypeOf(r,e.value),e.value=r}}}));return n}function zk(e,n=!0){pt()?j0(e):n?e():Ba(e)}function Va(e,n=!0){pt()?br(e):n?e():Ba(e)}function Hk(e,n=1e3,i={}){const{immediate:t=!0,immediateCallback:r=!1}=i;let s=null;const a=j(!1);function o(){s&&(clearInterval(s),s=null)}function u(){a.value=!1,o()}function f(){q(n)<=0||(a.value=!0,r&&e(),o(),s=setInterval(e,q(n)))}if(t&&Ft&&f(),Ve(n)){const l=Be(n,()=>{a.value&&Ft&&f()});Vi(l)}return Vi(u),{isActive:a,pause:u,resume:f}}function gB(e=!1,n={}){const{truthyValue:i=!0,falsyValue:t=!1}=n,r=Ve(e),s=j(e);function a(o){return arguments.length?(s.value=o,s.value):(s.value=s.value===q(i)?q(t):q(i),s.value)}return r?a:[s,a]}var Uk=Object.getOwnPropertySymbols,vB=Object.prototype.hasOwnProperty,yB=Object.prototype.propertyIsEnumerable,kB=(e,n)=>{var i={};for(var t in e)vB.call(e,t)&&n.indexOf(t)<0&&(i[t]=e[t]);if(e!=null&&Uk)for(var t of Uk(e))n.indexOf(t)<0&&yB.call(e,t)&&(i[t]=e[t]);return i};function wB(e,n,i={}){const t=i,{eventFilter:r=jh}=t,s=kB(t,["eventFilter"]);return Be(e,_d(r,n),s)}var bB=Object.defineProperty,_B=Object.defineProperties,EB=Object.getOwnPropertyDescriptors,Ed=Object.getOwnPropertySymbols,Vk=Object.prototype.hasOwnProperty,Wk=Object.prototype.propertyIsEnumerable,qk=(e,n,i)=>n in e?bB(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,DB=(e,n)=>{for(var i in n||(n={}))Vk.call(n,i)&&qk(e,i,n[i]);if(Ed)for(var i of Ed(n))Wk.call(n,i)&&qk(e,i,n[i]);return e},CB=(e,n)=>_B(e,EB(n)),SB=(e,n)=>{var i={};for(var t in e)Vk.call(e,t)&&n.indexOf(t)<0&&(i[t]=e[t]);if(e!=null&&Ed)for(var t of Ed(e))n.indexOf(t)<0&&Wk.call(e,t)&&(i[t]=e[t]);return i};function Kk(e,n,i={}){const t=i,{eventFilter:r}=t,s=SB(t,["eventFilter"]),{eventFilter:a,pause:o,resume:u,isActive:f}=aB(r);return{stop:wB(e,n,CB(DB({},s),{eventFilter:a})),pause:o,resume:u,isActive:f}}function Wi(e){var n;const i=q(e);return(n=i==null?void 0:i.$el)!=null?n:i}const ze=Ft?window:void 0,Yk=Ft?window.document:void 0,Dd=Ft?window.navigator:void 0;function se(...e){let n,i,t,r;if(Tk(e[0])?([i,t,r]=e,n=ze):[n,i,t,r]=e,!n)return Ui;let s=Ui;const a=Be(()=>Wi(n),u=>{s(),u&&(u.addEventListener(i,t,r),s=()=>{u.removeEventListener(i,t,r),s=Ui})},{immediate:!0,flush:"post"}),o=()=>{a(),s()};return Vi(o),o}function AB(e,n,i={}){const{window:t=ze,ignore:r,capture:s=!0,detectIframe:a=!1}=i;if(!t)return;const o=j(!0);let u;const f=c=>{t.clearTimeout(u);const h=Wi(e),F=c.composedPath();!h||h===c.target||F.includes(h)||!o.value||r&&r.length>0&&r.some(v=>{const y=Wi(v);return y&&(c.target===y||F.includes(y))})||n(c)},l=[se(t,"click",f,{passive:!0,capture:s}),se(t,"pointerdown",c=>{const h=Wi(e);o.value=!!h&&!c.composedPath().includes(h)},{passive:!0}),se(t,"pointerup",c=>{if(c.button===0){const h=c.composedPath();c.composedPath=()=>h,u=t.setTimeout(()=>f(c),50)}},{passive:!0}),a&&se(t,"blur",c=>{var h;const F=Wi(e);((h=document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(F!=null&&F.contains(document.activeElement))&&n(c)})].filter(Boolean);return()=>l.forEach(c=>c())}function MB(e={}){const{window:n=ze}=e,i=j(0);return n&&(se(n,"blur",()=>i.value+=1,!0),se(n,"focus",()=>i.value+=1,!0)),le(()=>(i.value,n==null?void 0:n.document.activeElement))}function BB(e,n,i){const{immediate:t=!0,delay:r=0,onError:s=Ui,resetOnExecute:a=!0,shallow:o=!0}=i!=null?i:{},u=o?Aa(n):j(n),f=j(!1),l=j(!1),d=j(void 0);async function c(h=0,...F){a&&(u.value=n),d.value=void 0,f.value=!1,l.value=!0,h>0&&await Ik(h);const v=typeof e=="function"?e(...F):e;try{const y=await v;u.value=y,f.value=!0}catch(y){d.value=y,s(y)}finally{l.value=!1}return u.value}return t&&c(r),{state:u,isReady:f,isLoading:l,error:d,execute:c}}function xB({navigator:e=Dd}={}){const n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],i=e&&"getBattery"in e,t=j(!1),r=j(0),s=j(0),a=j(1);let o;function u(){t.value=this.charging,r.value=this.chargingTime||0,s.value=this.dischargingTime||0,a.value=this.level}return i&&e.getBattery().then(f=>{o=f,u.call(o);for(const l of n)se(o,l,u,{passive:!0})}),{isSupported:i,charging:t,chargingTime:r,dischargingTime:s,level:a}}function Nu(e,n={}){const{window:i=ze}=n,t=Boolean(i&&"matchMedia"in i&&typeof i.matchMedia=="function");let r;const s=j(!1),a=()=>{!t||(r||(r=i.matchMedia(e)),s.value=r.matches)};return zk(()=>{a(),r&&("addEventListener"in r?r.addEventListener("change",a):r.addListener(a),Vi(()=>{"removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a)}))}),s}function $B({window:e=ze}={}){const n=t=>{const{state:r,length:s}=(e==null?void 0:e.history)||{},{hash:a,host:o,hostname:u,href:f,origin:l,pathname:d,port:c,protocol:h,search:F}=(e==null?void 0:e.location)||{};return{trigger:t,state:r,length:s,hash:a,host:o,hostname:u,href:f,origin:l,pathname:d,port:c,protocol:h,search:F}},i=j(n("load"));return e&&(se(e,"popstate",()=>i.value=n("popstate"),{passive:!0}),se(e,"hashchange",()=>i.value=n("hashchange"),{passive:!0})),i}function Gk(e,n,i){const t=j(e);return le({get(){return t.value=Pk(t.value,q(n),q(i))},set(r){t.value=Pk(r,q(n),q(i))}})}const Rh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},zh="__vueuse_ssr_handlers__";Rh[zh]=Rh[zh]||{};const TB=Rh[zh];function Jk(e,n){return TB[e]||n}function PB(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}const OB={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function Qk(e,n,i,t={}){var r;const{flush:s="pre",deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:u=!0,shallow:f,window:l=ze,eventFilter:d,onError:c=E=>{console.error(E)}}=t,h=(f?Aa:j)(n);if(!i)try{i=Jk("getDefaultStorage",()=>{var E;return(E=ze)==null?void 0:E.localStorage})()}catch(E){c(E)}if(!i)return h;const F=q(n),v=PB(F),y=(r=t.serializer)!=null?r:OB[v],{pause:p,resume:m}=Kk(h,()=>k(h.value),{flush:s,deep:a,eventFilter:d});return l&&o&&se(l,"storage",D),D(),h;function k(E){try{E==null?i.removeItem(e):i.setItem(e,y.write(E))}catch(C){c(C)}}function w(E){if(!(E&&E.key!==e)){p();try{const C=E?E.newValue:i.getItem(e);return C==null?(u&&F!==null&&i.setItem(e,y.write(F)),F):typeof C!="string"?C:y.read(C)}catch(C){c(C)}finally{m()}}}function D(E){E&&E.key!==e||(h.value=w(E))}}function Hh(e){return Nu("(prefers-color-scheme: dark)",e)}var IB=Object.defineProperty,Zk=Object.getOwnPropertySymbols,NB=Object.prototype.hasOwnProperty,LB=Object.prototype.propertyIsEnumerable,Xk=(e,n,i)=>n in e?IB(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,jB=(e,n)=>{for(var i in n||(n={}))NB.call(n,i)&&Xk(e,i,n[i]);if(Zk)for(var i of Zk(n))LB.call(n,i)&&Xk(e,i,n[i]);return e};function RB(e={}){const{selector:n="html",attribute:i="class",window:t=ze,storage:r,storageKey:s="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:o,emitAuto:u}=e,f=jB({auto:"",light:"light",dark:"dark"},e.modes||{}),l=Hh({window:t}),d=le(()=>l.value?"dark":"light"),c=o||(s==null?j("auto"):Qk(s,"auto",r,{window:t,listenToStorageChanges:a})),h=le({get(){return c.value==="auto"&&!u?d.value:c.value},set(p){c.value=p}}),F=Jk("updateHTMLAttrs",(p,m,k)=>{const w=t==null?void 0:t.document.querySelector(p);if(!!w)if(m==="class"){const D=k.split(/\s/g);Object.values(f).flatMap(E=>(E||"").split(/\s/g)).filter(Boolean).forEach(E=>{D.includes(E)?w.classList.add(E):w.classList.remove(E)})}else w.setAttribute(m,k)});function v(p){var m;const k=p==="auto"?d.value:p;F(n,i,(m=f[k])!=null?m:k)}function y(p){e.onChanged?e.onChanged(p,v):v(p)}return Be(h,y,{flush:"post",immediate:!0}),Va(()=>y(h.value)),h}var zB=Object.defineProperty,HB=Object.defineProperties,UB=Object.getOwnPropertyDescriptors,e4=Object.getOwnPropertySymbols,VB=Object.prototype.hasOwnProperty,WB=Object.prototype.propertyIsEnumerable,n4=(e,n,i)=>n in e?zB(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,qB=(e,n)=>{for(var i in n||(n={}))VB.call(n,i)&&n4(e,i,n[i]);if(e4)for(var i of e4(n))WB.call(n,i)&&n4(e,i,n[i]);return e},KB=(e,n)=>HB(e,UB(n));function YB(e={}){const{valueDark:n="dark",valueLight:i="",window:t=ze}=e,r=RB(KB(qB({},e),{onChanged:(o,u)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,o==="dark"):u(o)},modes:{dark:n,light:i}})),s=Hh({window:t});return le({get(){return r.value==="dark"},set(o){o===s.value?r.value="auto":r.value=o?"dark":"light"}})}function GB(e={}){const{window:n=ze,eventFilter:i=jh}=e,t=j({x:null,y:null,z:null}),r=j({alpha:null,beta:null,gamma:null}),s=j(0),a=j({x:null,y:null,z:null});if(n){const o=_d(i,u=>{t.value=u.acceleration,a.value=u.accelerationIncludingGravity,r.value=u.rotationRate,s.value=u.interval});se(n,"devicemotion",o)}return{acceleration:t,accelerationIncludingGravity:a,rotationRate:r,interval:s}}function JB(e={}){const{window:n=ze}=e,i=Boolean(n&&"DeviceOrientationEvent"in n),t=j(!1),r=j(null),s=j(null),a=j(null);return n&&i&&se(n,"deviceorientation",o=>{t.value=o.absolute,r.value=o.alpha,s.value=o.beta,a.value=o.gamma}),{isSupported:i,isAbsolute:t,alpha:r,beta:s,gamma:a}}const QB=[1,1.325,1.4,1.5,1.8,2,2.4,2.5,2.75,3,3.5,4];function ZB({window:e=ze}={}){if(!e)return{pixelRatio:j(1)};const n=j(e.devicePixelRatio),i=()=>{n.value=e.devicePixelRatio};return se(e,"resize",i,{passive:!0}),QB.forEach(t=>{const r=Nu(`screen and (min-resolution: ${t}dppx)`),s=Nu(`screen and (max-resolution: ${t}dppx)`);Be([r,s],i)}),{pixelRatio:n}}function XB(e,n={}){const{controls:i=!1,navigator:t=Dd}=n,r=Boolean(t&&"permissions"in t);let s;const a=typeof e=="string"?{name:e}:e,o=j(),u=()=>{s&&(o.value=s.state)},f=oB(async()=>{if(!!r){if(!s)try{s=await t.permissions.query(a),se(s,"change",u),u()}catch{o.value="prompt"}return s}});return f(),i?{state:o,isSupported:r,query:f}:o}function ex(e={}){const{navigator:n=Dd,requestPermissions:i=!1,constraints:t={audio:!0,video:!0},onUpdated:r}=e,s=j([]),a=le(()=>s.value.filter(h=>h.kind==="videoinput")),o=le(()=>s.value.filter(h=>h.kind==="audioinput")),u=le(()=>s.value.filter(h=>h.kind==="audiooutput"));let f=!1;const l=j(!1);async function d(){!f||(s.value=await n.mediaDevices.enumerateDevices(),r==null||r(s.value))}async function c(){if(!f)return!1;if(l.value)return!0;const{state:h,query:F}=XB("camera",{controls:!0});return await F(),h.value!=="granted"&&((await n.mediaDevices.getUserMedia(t)).getTracks().forEach(y=>y.stop()),d()),l.value=!0,l.value}return n&&(f=Boolean(n.mediaDevices&&n.mediaDevices.enumerateDevices),f&&(i&&c(),se(n.mediaDevices,"devicechange",d),d())),{devices:s,ensurePermissions:c,permissionGranted:l,videoInputs:a,audioInputs:o,audioOutputs:u,isSupported:f}}function nx({document:e=Yk}={}){if(!e)return j("visible");const n=j(e.visibilityState);return se(e,"visibilitychange",()=>{n.value=e.visibilityState}),n}var ix=Object.defineProperty,tx=Object.defineProperties,rx=Object.getOwnPropertyDescriptors,i4=Object.getOwnPropertySymbols,sx=Object.prototype.hasOwnProperty,ax=Object.prototype.propertyIsEnumerable,t4=(e,n,i)=>n in e?ix(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,ox=(e,n)=>{for(var i in n||(n={}))sx.call(n,i)&&t4(e,i,n[i]);if(i4)for(var i of i4(n))ax.call(n,i)&&t4(e,i,n[i]);return e},ux=(e,n)=>tx(e,rx(n));function fx(e,n={}){var i,t;const r=(i=n.draggingElement)!=null?i:ze,s=j((t=n.initialValue)!=null?t:{x:0,y:0}),a=j(),o=c=>n.pointerTypes?n.pointerTypes.includes(c.pointerType):!0,u=c=>{q(n.preventDefault)&&c.preventDefault(),q(n.stopPropagation)&&c.stopPropagation()},f=c=>{var h;if(!o(c)||q(n.exact)&&c.target!==q(e))return;const F=q(e).getBoundingClientRect(),v={x:c.pageX-F.left,y:c.pageY-F.top};((h=n.onStart)==null?void 0:h.call(n,v,c))!==!1&&(a.value=v,u(c))},l=c=>{var h;!o(c)||!a.value||(s.value={x:c.pageX-a.value.x,y:c.pageY-a.value.y},(h=n.onMove)==null||h.call(n,s.value,c),u(c))},d=c=>{var h;!o(c)||!a.value||(a.value=void 0,(h=n.onEnd)==null||h.call(n,s.value,c),u(c))};return Ft&&(se(e,"pointerdown",f,!0),se(r,"pointermove",l,!0),se(r,"pointerup",d,!0)),ux(ox({},Rk(s)),{position:s,isDragging:le(()=>!!a.value),style:le(()=>`left:${s.value.x}px;top:${s.value.y}px;`)})}var r4=Object.getOwnPropertySymbols,lx=Object.prototype.hasOwnProperty,dx=Object.prototype.propertyIsEnumerable,cx=(e,n)=>{var i={};for(var t in e)lx.call(e,t)&&n.indexOf(t)<0&&(i[t]=e[t]);if(e!=null&&r4)for(var t of r4(e))n.indexOf(t)<0&&dx.call(e,t)&&(i[t]=e[t]);return i};function s4(e,n,i={}){const t=i,{window:r=ze}=t,s=cx(t,["window"]);let a;const o=r&&"ResizeObserver"in r,u=()=>{a&&(a.disconnect(),a=void 0)},f=Be(()=>Wi(e),d=>{u(),o&&r&&d&&(a=new ResizeObserver(n),a.observe(d,s))},{immediate:!0,flush:"post"}),l=()=>{u(),f()};return Vi(l),{isSupported:o,stop:l}}function hx(e,n={}){const{reset:i=!0,windowResize:t=!0,windowScroll:r=!0,immediate:s=!0}=n,a=j(0),o=j(0),u=j(0),f=j(0),l=j(0),d=j(0),c=j(0),h=j(0);function F(){const v=Wi(e);if(!v){i&&(a.value=0,o.value=0,u.value=0,f.value=0,l.value=0,d.value=0,c.value=0,h.value=0);return}const y=v.getBoundingClientRect();a.value=y.height,o.value=y.bottom,u.value=y.left,f.value=y.right,l.value=y.top,d.value=y.width,c.value=y.x,h.value=y.y}return s4(e,F),Be(()=>Wi(e),v=>!v&&F()),r&&se("scroll",F,{passive:!0}),t&&se("resize",F,{passive:!0}),Va(()=>{s&&F()}),{height:a,bottom:o,left:u,right:f,top:l,width:d,x:c,y:h,update:F}}function a4(e,n={}){const{immediate:i=!0,window:t=ze}=n,r=j(!1);let s=null;function a(){!r.value||!t||(e(),s=t.requestAnimationFrame(a))}function o(){!r.value&&t&&(r.value=!0,a())}function u(){r.value=!1,s!=null&&t&&(t.cancelAnimationFrame(s),s=null)}return i&&o(),Vi(u),{isActive:r,pause:u,resume:o}}function o4(e,n={width:0,height:0},i={}){const t=j(n.width),r=j(n.height);return s4(e,([s])=>{t.value=s.contentRect.width,r.value=s.contentRect.height},i),Be(()=>Wi(e),s=>{t.value=s?n.width:0,r.value=s?n.height:0}),{width:t,height:r}}function mx(e,{window:n=ze,scrollTarget:i}={}){const t=j(!1),r=()=>{if(!n)return;const s=n.document;if(!q(e))t.value=!1;else{const a=q(e).getBoundingClientRect();t.value=a.top<=(n.innerHeight||s.documentElement.clientHeight)&&a.left<=(n.innerWidth||s.documentElement.clientWidth)&&a.bottom>=0&&a.right>=0}};return Va(r),n&&Va(()=>se(q(i)||n,"scroll",r,{capture:!1,passive:!0})),t}function px(e={}){const{initialValue:n=""}=e,i=Boolean(typeof window!="undefined"&&"EyeDropper"in window),t=j(n);async function r(s){if(!i)return;const o=await new window.EyeDropper().open(s);return t.value=o.sRGBHex,o}return{isSupported:i,sRGBHex:t,open:r}}const u4=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function Fx(e,n={}){const{document:i=Yk,autoExit:t=!1}=n,r=e||(i==null?void 0:i.querySelector("html")),s=j(!1);let a=!1,o=u4[0];if(!i)a=!1;else for(const v of u4)if(v[1]in i){o=v,a=!0;break}const[u,f,l,,d]=o;async function c(){!a||(i!=null&&i[l]&&await i[f](),s.value=!1)}async function h(){if(!a)return;await c();const v=Wi(r);v&&(await v[u](),s.value=!0)}async function F(){s.value?await c():await h()}return i&&se(i,d,()=>{s.value=!!(i!=null&&i[l])},!1),t&&Vi(c),{isSupported:a,isFullscreen:s,enter:h,exit:c,toggle:F}}function gx(e={}){const{enableHighAccuracy:n=!0,maximumAge:i=3e4,timeout:t=27e3,navigator:r=Dd}=e,s=r&&"geolocation"in r,a=j(null),o=j(null),u=j({accuracy:0,latitude:1/0,longitude:1/0,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(d){a.value=d.timestamp,u.value=d.coords,o.value=null}let l;return s&&(l=r.geolocation.watchPosition(f,d=>o.value=d,{enableHighAccuracy:n,maximumAge:i,timeout:t})),Vi(()=>{l&&r&&r.geolocation.clearWatch(l)}),{isSupported:s,coords:u,locatedAt:a,error:o}}const vx=["mousemove","mousedown","resize","keydown","touchstart","wheel"],yx=6e4;function kx(e=yx,n={}){const{initialState:i=!1,listenForVisibilityChange:t=!0,events:r=vx,window:s=ze,eventFilter:a=sB(50)}=n,o=j(i),u=j(bd());let f;const l=_d(a,()=>{o.value=!1,u.value=bd(),clearTimeout(f),f=setTimeout(()=>o.value=!0,e)});if(s){const d=s.document;for(const c of r)se(s,c,l,{passive:!0});t&&se(d,"visibilitychange",()=>{d.hidden||l()})}return f=setTimeout(()=>o.value=!0,e),{idle:o,lastActive:u}}var wx=Object.defineProperty,f4=Object.getOwnPropertySymbols,bx=Object.prototype.hasOwnProperty,_x=Object.prototype.propertyIsEnumerable,l4=(e,n,i)=>n in e?wx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Ex=(e,n)=>{for(var i in n||(n={}))bx.call(n,i)&&l4(e,i,n[i]);if(f4)for(var i of f4(n))_x.call(n,i)&&l4(e,i,n[i]);return e};async function Dx(e){return new Promise((n,i)=>{const t=new Image,{src:r,srcset:s,sizes:a}=e;t.src=r,s&&(t.srcset=s),a&&(t.sizes=a),t.onload=()=>n(t),t.onerror=i})}const Cx=(e,n={})=>{const i=BB(()=>Dx(q(e)),void 0,Ex({resetOnExecute:!0},n));return Be(()=>q(e),()=>i.execute(n.delay),{deep:!0}),i},Sx={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Ax(e={}){const{reactive:n=!1,target:i=ze,aliasMap:t=Sx,passive:r=!0,onEventFired:s=Ui}=e,a=me(new Set),o={toJSON(){return{}},current:a},u=n?me(o):o,f=new Set,l=new Set;function d(v,y){v in u&&(n?u[v]=y:u[v].value=y)}function c(){for(const v of l)d(v,!1)}function h(v,y){var p,m;const k=(p=v.key)==null?void 0:p.toLowerCase(),w=(m=v.code)==null?void 0:m.toLowerCase(),D=[w,k].filter(Boolean);w&&(y?a.add(v.code):a.delete(v.code));for(const E of D)l.add(E),d(E,y);k==="meta"&&!y?(f.forEach(E=>{a.delete(E),d(E,!1)}),f.clear()):typeof v.getModifierState=="function"&&v.getModifierState("Meta")&&y&&[...a,...D].forEach(E=>f.add(E))}i&&(se(i,"keydown",v=>(h(v,!0),s(v)),{passive:r}),se(i,"keyup",v=>(h(v,!1),s(v)),{passive:r}),se("blur",c,{passive:!0}),se("focus",c,{passive:!0}));const F=new Proxy(u,{get(v,y,p){if(typeof y!="string")return Reflect.get(v,y,p);if(y=y.toLowerCase(),y in t&&(y=t[y]),!(y in u))if(/[+_-]/.test(y)){const k=y.split(/[+_-]/g).map(w=>w.trim());u[y]=le(()=>k.every(w=>q(F[w])))}else u[y]=j(!1);const m=Reflect.get(v,y,p);return n?q(m):m}});return F}function d4(e={}){const{type:n="page",touch:i=!0,resetOnTouchEnds:t=!1,initialValue:r={x:0,y:0},window:s=ze,eventFilter:a}=e,o=j(r.x),u=j(r.y),f=j(null),l=v=>{n==="page"?(o.value=v.pageX,u.value=v.pageY):n==="client"&&(o.value=v.clientX,u.value=v.clientY),f.value="mouse"},d=()=>{o.value=r.x,u.value=r.y},c=v=>{if(v.touches.length>0){const y=v.touches[0];n==="page"?(o.value=y.pageX,u.value=y.pageY):n==="client"&&(o.value=y.clientX,u.value=y.clientY),f.value="touch"}},h=v=>a===void 0?l(v):a(()=>l(v),{}),F=v=>a===void 0?c(v):a(()=>c(v),{});return s&&(se(s,"mousemove",h,{passive:!0}),se(s,"dragover",h,{passive:!0}),i&&(se(s,"touchstart",F,{passive:!0}),se(s,"touchmove",F,{passive:!0}),t&&se(s,"touchend",d,{passive:!0}))),{x:o,y:u,sourceType:f}}function Mx(e,n={}){const{handleOutside:i=!0,window:t=ze}=n,{x:r,y:s,sourceType:a}=d4(n),o=j(e!=null?e:t==null?void 0:t.document.body),u=j(0),f=j(0),l=j(0),d=j(0),c=j(0),h=j(0),F=j(!0);let v=()=>{};return t&&(v=Be([o,r,s],()=>{const y=Wi(o);if(!y)return;const{left:p,top:m,width:k,height:w}=y.getBoundingClientRect();l.value=p+t.pageXOffset,d.value=m+t.pageYOffset,c.value=w,h.value=k;const D=r.value-l.value,E=s.value-d.value;F.value=k===0||w===0||D<0||E<0||D>k||E>w,(i||!F.value)&&(u.value=D,f.value=E)},{immediate:!0})),{x:r,y:s,sourceType:a,elementX:u,elementY:f,elementPositionX:l,elementPositionY:d,elementHeight:c,elementWidth:h,isOutside:F,stop:v}}function Bx(e={}){const{touch:n=!0,drag:i=!0,initialValue:t=!1,window:r=ze}=e,s=j(t),a=j(null);if(!r)return{pressed:s,sourceType:a};const o=l=>()=>{s.value=!0,a.value=l},u=()=>{s.value=!1,a.value=null},f=le(()=>Wi(e.target)||r);return se(f,"mousedown",o("mouse"),{passive:!0}),se(r,"mouseleave",u,{passive:!0}),se(r,"mouseup",u,{passive:!0}),i&&(se(f,"dragstart",o("mouse"),{passive:!0}),se(r,"drop",u,{passive:!0}),se(r,"dragend",u,{passive:!0})),n&&(se(f,"touchstart",o("touch"),{passive:!0}),se(r,"touchend",u,{passive:!0}),se(r,"touchcancel",u,{passive:!0})),{pressed:s,sourceType:a}}function c4(e={}){const{window:n=ze}=e,i=n==null?void 0:n.navigator,t=Boolean(i&&"connection"in i),r=j(!0),s=j(!1),a=j(void 0),o=j(void 0),u=j(void 0),f=j(void 0),l=j(void 0),d=j(void 0),c=j("unknown"),h=t&&i.connection;function F(){!i||(r.value=i.onLine,a.value=r.value?void 0:Date.now(),o.value=r.value?Date.now():void 0,h&&(u.value=h.downlink,f.value=h.downlinkMax,d.value=h.effectiveType,l.value=h.rtt,s.value=h.saveData,c.value=h.type))}return n&&(se(n,"offline",()=>{r.value=!1,a.value=Date.now()}),se(n,"online",()=>{r.value=!0,o.value=Date.now()})),h&&se(h,"change",F,!1),F(),{isSupported:t,isOnline:r,saveData:s,offlineAt:a,onlineAt:o,downlink:u,downlinkMax:f,effectiveType:d,rtt:l,type:c}}var xx=Object.defineProperty,h4=Object.getOwnPropertySymbols,$x=Object.prototype.hasOwnProperty,Tx=Object.prototype.propertyIsEnumerable,m4=(e,n,i)=>n in e?xx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Px=(e,n)=>{for(var i in n||(n={}))$x.call(n,i)&&m4(e,i,n[i]);if(h4)for(var i of h4(n))Tx.call(n,i)&&m4(e,i,n[i]);return e};function p4(e={}){const{controls:n=!1,interval:i="requestAnimationFrame"}=e,t=j(new Date),r=()=>t.value=new Date,s=i==="requestAnimationFrame"?a4(r,{immediate:!0}):Hk(r,i,{immediate:!0});return n?Px({now:t},s):t}function Ox(e){const n=j(),i=()=>{n.value&&URL.revokeObjectURL(n.value),n.value=void 0};return Be(()=>q(e),t=>{i(),t&&(n.value=URL.createObjectURL(t))},{immediate:!0}),Vi(i),Cl(n)}function Ix(e){const{total:n=1/0,pageSize:i=10,page:t=1,onPageChange:r=Ui,onPageSizeChange:s=Ui,onPageCountChange:a=Ui}=e,o=Gk(i,1,1/0),u=le(()=>Math.ceil(q(n)/q(o))),f=Gk(t,1,u),l=le(()=>f.value===1),d=le(()=>f.value===u.value);Ve(t)&&Nk(t,f),Ve(i)&&Nk(i,o);function c(){f.value--}function h(){f.value++}const F={currentPage:f,currentPageSize:o,pageCount:u,isFirstPage:l,isLastPage:d,prev:c,next:h};return Be(f,()=>{r(me(F))}),Be(o,()=>{s(me(F))}),Be(u,()=>{a(me(F))}),F}function Nx(e={}){const{isOnline:n}=c4(e);return n}function Lx(e={}){const{window:n=ze}=e,i=j(!1),t=r=>{if(!n)return;r=r||n.event;const s=r.relatedTarget||r.toElement;i.value=!s};return n&&(se(n,"mouseout",t,{passive:!0}),se(n.document,"mouseleave",t,{passive:!0}),se(n.document,"mouseenter",t,{passive:!0})),i}var jx=Object.defineProperty,Rx=Object.defineProperties,zx=Object.getOwnPropertyDescriptors,F4=Object.getOwnPropertySymbols,Hx=Object.prototype.hasOwnProperty,Ux=Object.prototype.propertyIsEnumerable,g4=(e,n,i)=>n in e?jx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Vx=(e,n)=>{for(var i in n||(n={}))Hx.call(n,i)&&g4(e,i,n[i]);if(F4)for(var i of F4(n))Ux.call(n,i)&&g4(e,i,n[i]);return e},Wx=(e,n)=>Rx(e,zx(n));const v4={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},qx=Object.keys(v4);function Kx(e={}){const{target:n=ze}=e,i=j(!1),t=j(e.initialValue||{});Object.assign(t.value,v4,t.value);const r=s=>{i.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(s.pointerType))&&(t.value=uB(s,qx,!1))};return n&&(se(n,"pointerdown",r,{passive:!0}),se(n,"pointermove",r,{passive:!0}),se(n,"pointerleave",()=>i.value=!1,{passive:!0})),Wx(Vx({},Rk(t)),{isInside:i})}var y4;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(y4||(y4={}));function Yx(e){const n=Nu("(prefers-color-scheme: light)",e),i=Nu("(prefers-color-scheme: dark)",e);return le(()=>i.value?"dark":n.value?"light":"no-preference")}function Gx(e={}){const{window:n=ze}=e;if(!n)return j(["en"]);const i=n.navigator,t=j(i.languages);return se(n,"languagechange",()=>{t.value=i.languages}),t}var Jx=Object.defineProperty,Cd=Object.getOwnPropertySymbols,k4=Object.prototype.hasOwnProperty,w4=Object.prototype.propertyIsEnumerable,b4=(e,n,i)=>n in e?Jx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Qx=(e,n)=>{for(var i in n||(n={}))k4.call(n,i)&&b4(e,i,n[i]);if(Cd)for(var i of Cd(n))w4.call(n,i)&&b4(e,i,n[i]);return e},Zx=(e,n)=>{var i={};for(var t in e)k4.call(e,t)&&n.indexOf(t)<0&&(i[t]=e[t]);if(e!=null&&Cd)for(var t of Cd(e))n.indexOf(t)<0&&w4.call(e,t)&&(i[t]=e[t]);return i};const _4=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],Xx={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,n)=>e===1?n?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,n)=>e===1?n?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,n)=>e===1?n?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,n)=>e===1?n?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`},e$=e=>e.toISOString().slice(0,10);function Uh(e,n={}){const{controls:i=!1,max:t,updateInterval:r=3e4,messages:s=Xx,fullDateFormatter:a=e$}=n,{abs:o,round:u}=Math,f=p4({interval:r,controls:!0}),{now:l}=f,d=Zx(f,["now"]);function c(y,p){var m;const k=+p-+y,w=o(k);if(w<6e4)return s.justNow;if(typeof t=="number"&&w>t)return a(new Date(y));if(typeof t=="string"){const D=(m=_4.find(E=>E.name===t))==null?void 0:m.max;if(D&&w>D)return a(new Date(y))}for(const D of _4)if(w0,w=h(p.name,m,k);return h(k?"past":"future",w,k)}const v=le(()=>c(new Date(q(e)),q(l.value)));return i?Qx({timeAgo:v},d):v}var n$=Object.defineProperty,E4=Object.getOwnPropertySymbols,i$=Object.prototype.hasOwnProperty,t$=Object.prototype.propertyIsEnumerable,D4=(e,n,i)=>n in e?n$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,r$=(e,n)=>{for(var i in n||(n={}))i$.call(n,i)&&D4(e,i,n[i]);if(E4)for(var i of E4(n))t$.call(n,i)&&D4(e,i,n[i]);return e};function s$(e={}){const{controls:n=!1,offset:i=0,immediate:t=!0,interval:r="requestAnimationFrame"}=e,s=j(bd()+i),a=()=>s.value=bd()+i,o=r==="requestAnimationFrame"?a4(a,{immediate:t}):Hk(a,r,{immediate:t});return n?r$({timestamp:s},o):s}function a$(e,n){const i=j(),t=o4(i),r=j([]),s=Aa(e),a=j({start:0,end:10}),{itemHeight:o,overscan:u=5}=n,f=m=>{if(typeof o=="number")return Math.ceil(m/o);const{start:k=0}=a.value;let w=0,D=0;for(let E=k;E=m){D=E;break}return D-k},l=m=>{if(typeof o=="number")return Math.floor(m/o)+1;let k=0,w=0;for(let D=0;D=m){w=D;break}return w+1},d=()=>{const m=i.value;if(m){const k=l(m.scrollTop),w=f(m.clientHeight),D=k-u,E=k+w+u;a.value={start:D<0?0:D,end:E>s.value.length?s.value.length:E},r.value=s.value.slice(a.value.start,a.value.end).map((C,b)=>({data:C,index:b+a.value.start}))}};Be([t.width,t.height,e],()=>{d()});const c=le(()=>typeof o=="number"?s.value.length*o:s.value.reduce((m,k,w)=>m+o(w),0)),h=m=>typeof o=="number"?m*o:s.value.slice(0,m).reduce((w,D,E)=>w+o(E),0),F=m=>{i.value&&(i.value.scrollTop=h(m),d())},v=le(()=>h(a.value.start)),y=le(()=>({style:{width:"100%",height:`${c.value-v.value}px`,marginTop:`${v.value}px`}}));return{list:r,scrollTo:F,containerProps:{ref:i,onScroll:()=>{d()},style:{overflowY:"auto"}},wrapperProps:y}}function o$({window:e=ze}={}){if(!e)return j(!1);const n=j(e.document.hasFocus());return se(e,"blur",()=>{n.value=!1}),se(e,"focus",()=>{n.value=!0}),n}function u$(e={}){const{window:n=ze,initialWidth:i=1/0,initialHeight:t=1/0,listenOrientation:r=!0}=e,s=j(i),a=j(t),o=()=>{n&&(s.value=n.innerWidth,a.value=n.innerHeight)};return o(),Va(o),se("resize",o,{passive:!0}),r&&se("orientationchange",o,{passive:!0}),{width:s,height:a}}te({name:"OnClickOutside",props:["as"],emits:["trigger"],setup(e,{slots:n,emit:i}){const t=j();return AB(t,r=>{i("trigger",r)}),()=>{if(n.default)return Je(e.as||"div",{ref:t},n.default())}}});function Vh(e){var n;const i=q(e);return(n=i==null?void 0:i.$el)!=null?n:i}const Us=Ft?window:void 0;function Wa(...e){let n,i,t,r;if(Tk(e[0])?([i,t,r]=e,n=Us):[n,i,t,r]=e,!n)return Ui;let s=Ui;const a=Be(()=>Vh(n),u=>{s(),u&&(u.addEventListener(i,t,r),s=()=>{u.removeEventListener(i,t,r),s=Ui})},{immediate:!0,flush:"post"}),o=()=>{a(),s()};return Vi(o),o}const f$=500;function l$(e,n,i){var t,r;const s=le(()=>Vh(e));let a=null;function o(){a!=null&&(clearTimeout(a),a=null)}function u(l){var d,c,h,F;((d=i==null?void 0:i.modifiers)==null?void 0:d.self)&&l.target!==s.value||(o(),(c=i==null?void 0:i.modifiers)!=null&&c.prevent&&l.preventDefault(),(h=i==null?void 0:i.modifiers)!=null&&h.stop&&l.stopPropagation(),a=setTimeout(()=>n(l),(F=i==null?void 0:i.delay)!=null?F:f$))}const f={capture:(t=i==null?void 0:i.modifiers)==null?void 0:t.capture,once:(r=i==null?void 0:i.modifiers)==null?void 0:r.once};Wa(s,"pointerdown",u,f),Wa(s,"pointerup",o,f),Wa(s,"pointerleave",o,f)}te({name:"OnLongPress",props:["as","options"],emits:["trigger"],setup(e,{slots:n,emit:i}){const t=j();return l$(t,r=>{i("trigger",r)},e.options),()=>{if(n.default)return Je(e.as||"div",{ref:t},n.default())}}}),te({name:"UseActiveElement",setup(e,{slots:n}){const i=me({element:MB()});return()=>{if(n.default)return n.default(i)}}}),te({name:"UseBattery",setup(e,{slots:n}){const i=me(xB(e));return()=>{if(n.default)return n.default(i)}}}),te({name:"UseBrowserLocation",setup(e,{slots:n}){const i=me($B());return()=>{if(n.default)return n.default(i)}}});const Wh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},qh="__vueuse_ssr_handlers__";Wh[qh]=Wh[qh]||{};const d$=Wh[qh];function C4(e,n){return d$[e]||n}function c$(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}const h$={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function m$(e,n,i,t={}){var r;const{flush:s="pre",deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:u=!0,shallow:f,window:l=Us,eventFilter:d,onError:c=E=>{console.error(E)}}=t,h=(f?Aa:j)(n);if(!i)try{i=C4("getDefaultStorage",()=>{var E;return(E=Us)==null?void 0:E.localStorage})()}catch(E){c(E)}if(!i)return h;const F=q(n),v=c$(F),y=(r=t.serializer)!=null?r:h$[v],{pause:p,resume:m}=Kk(h,()=>k(h.value),{flush:s,deep:a,eventFilter:d});return l&&o&&Wa(l,"storage",D),D(),h;function k(E){try{E==null?i.removeItem(e):i.setItem(e,y.write(E))}catch(C){c(C)}}function w(E){if(!(E&&E.key!==e)){p();try{const C=E?E.newValue:i.getItem(e);return C==null?(u&&F!==null&&i.setItem(e,y.write(F)),F):typeof C!="string"?C:y.read(C)}catch(C){c(C)}finally{m()}}}function D(E){E&&E.key!==e||(h.value=w(E))}}function p$(e,n={}){const{window:i=Us}=n,t=Boolean(i&&"matchMedia"in i&&typeof i.matchMedia=="function");let r;const s=j(!1),a=()=>{!t||(r||(r=i.matchMedia(e)),s.value=r.matches)};return zk(()=>{a(),r&&("addEventListener"in r?r.addEventListener("change",a):r.addListener(a),Vi(()=>{"removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a)}))}),s}function F$(e){return p$("(prefers-color-scheme: dark)",e)}var g$=Object.defineProperty,S4=Object.getOwnPropertySymbols,v$=Object.prototype.hasOwnProperty,y$=Object.prototype.propertyIsEnumerable,A4=(e,n,i)=>n in e?g$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,k$=(e,n)=>{for(var i in n||(n={}))v$.call(n,i)&&A4(e,i,n[i]);if(S4)for(var i of S4(n))y$.call(n,i)&&A4(e,i,n[i]);return e};function w$(e={}){const{selector:n="html",attribute:i="class",window:t=Us,storage:r,storageKey:s="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:o,emitAuto:u}=e,f=k$({auto:"",light:"light",dark:"dark"},e.modes||{}),l=F$({window:t}),d=le(()=>l.value?"dark":"light"),c=o||(s==null?j("auto"):m$(s,"auto",r,{window:t,listenToStorageChanges:a})),h=le({get(){return c.value==="auto"&&!u?d.value:c.value},set(p){c.value=p}}),F=C4("updateHTMLAttrs",(p,m,k)=>{const w=t==null?void 0:t.document.querySelector(p);if(!!w)if(m==="class"){const D=k.split(/\s/g);Object.values(f).flatMap(E=>(E||"").split(/\s/g)).filter(Boolean).forEach(E=>{D.includes(E)?w.classList.add(E):w.classList.remove(E)})}else w.setAttribute(m,k)});function v(p){var m;const k=p==="auto"?d.value:p;F(n,i,(m=f[k])!=null?m:k)}function y(p){e.onChanged?e.onChanged(p,v):v(p)}return Be(h,y,{flush:"post",immediate:!0}),Va(()=>y(h.value)),h}te({name:"UseColorMode",props:["selector","attribute","modes","onChanged","storageKey","storage","emitAuto"],setup(e,{slots:n}){const i=w$(e),t=me({mode:i});return()=>{if(n.default)return n.default(t)}}}),te({name:"UseDark",props:["selector","attribute","valueDark","valueLight","onChanged","storageKey","storage"],setup(e,{slots:n}){const i=YB(e),t=me({isDark:i,toggleDark:gB(i)});return()=>{if(n.default)return n.default(t)}}}),te({name:"UseDeviceMotion",setup(e,{slots:n}){const i=me(GB());return()=>{if(n.default)return n.default(i)}}}),te({name:"UseDeviceOrientation",setup(e,{slots:n}){const i=me(JB());return()=>{if(n.default)return n.default(i)}}}),te({name:"UseDevicePixelRatio",setup(e,{slots:n}){const i=me({pixelRatio:ZB()});return()=>{if(n.default)return n.default(i)}}}),te({name:"UseDevicesList",props:["onUpdated","requestPermissions","constraints"],setup(e,{slots:n}){const i=me(ex(e));return()=>{if(n.default)return n.default(i)}}}),te({name:"UseDocumentVisibility",setup(e,{slots:n}){const i=me({visibility:nx()});return()=>{if(n.default)return n.default(i)}}});var b$=Object.defineProperty,_$=Object.defineProperties,E$=Object.getOwnPropertyDescriptors,M4=Object.getOwnPropertySymbols,D$=Object.prototype.hasOwnProperty,C$=Object.prototype.propertyIsEnumerable,B4=(e,n,i)=>n in e?b$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,S$=(e,n)=>{for(var i in n||(n={}))D$.call(n,i)&&B4(e,i,n[i]);if(M4)for(var i of M4(n))C$.call(n,i)&&B4(e,i,n[i]);return e},A$=(e,n)=>_$(e,E$(n));te({name:"UseDraggable",props:["storageKey","storageType","initialValue","exact","preventDefault","stopPropagation","pointerTypes","as"],setup(e,{slots:n}){const i=j(),t=e.storageKey?Qk(e.storageKey,q(e.initialValue)||{x:0,y:0},Ft?e.storageType==="session"?sessionStorage:localStorage:void 0):e.initialValue||{x:0,y:0},r=me(fx(i,A$(S$({},e),{initialValue:t})));return()=>{if(n.default)return Je(e.as||"div",{ref:i,style:`touch-action:none;${r.style}`},n.default(r))}}}),te({name:"UseElementBounding",props:["box","as"],setup(e,{slots:n}){const i=j(),t=me(hx(i));return()=>{if(n.default)return Je(e.as||"div",{ref:i},n.default(t))}}}),te({name:"UseElementSize",props:["width","height","box"],setup(e,{slots:n}){const i=j(),t=me(o4(i,{width:e.width,height:e.height},{box:e.box}));return()=>{if(n.default)return Je(e.as||"div",{ref:i},n.default(t))}}}),te({name:"UseElementVisibility",props:["as"],setup(e,{slots:n}){const i=j(),t=me({isVisible:mx(i)});return()=>{if(n.default)return Je(e.as||"div",{ref:i},n.default(t))}}}),te({name:"UseEyeDropper",props:{sRGBHex:String},setup(e,{slots:n}){const i=me(px());return()=>{if(n.default)return n.default(i)}}}),te({name:"UseFullscreen",props:["as"],setup(e,{slots:n}){const i=j(),t=me(Fx(i));return()=>{if(n.default)return Je(e.as||"div",{ref:i},n.default(t))}}}),te({name:"UseGeolocation",props:["enableHighAccuracy","maximumAge","timeout","navigator"],setup(e,{slots:n}){const i=me(gx(e));return()=>{if(n.default)return n.default(i)}}}),te({name:"UseIdle",props:["timeout","events","listenForVisibilityChange","initialState"],setup(e,{slots:n}){const i=me(kx(e.timeout,e));return()=>{if(n.default)return n.default(i)}}});function M$(e,n,i){const{immediate:t=!0,delay:r=0,onError:s=Ui,resetOnExecute:a=!0,shallow:o=!0}=i!=null?i:{},u=o?Aa(n):j(n),f=j(!1),l=j(!1),d=j(void 0);async function c(h=0,...F){a&&(u.value=n),d.value=void 0,f.value=!1,l.value=!0,h>0&&await Ik(h);const v=typeof e=="function"?e(...F):e;try{const y=await v;u.value=y,f.value=!0}catch(y){d.value=y,s(y)}finally{l.value=!1}return u.value}return t&&c(r),{state:u,isReady:f,isLoading:l,error:d,execute:c}}var B$=Object.defineProperty,x4=Object.getOwnPropertySymbols,x$=Object.prototype.hasOwnProperty,$$=Object.prototype.propertyIsEnumerable,$4=(e,n,i)=>n in e?B$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,T$=(e,n)=>{for(var i in n||(n={}))x$.call(n,i)&&$4(e,i,n[i]);if(x4)for(var i of x4(n))$$.call(n,i)&&$4(e,i,n[i]);return e};async function P$(e){return new Promise((n,i)=>{const t=new Image,{src:r,srcset:s,sizes:a}=e;t.src=r,s&&(t.srcset=s),a&&(t.sizes=a),t.onload=()=>n(t),t.onerror=i})}const O$=(e,n={})=>{const i=M$(()=>P$(q(e)),void 0,T$({resetOnExecute:!0},n));return Be(()=>q(e),()=>i.execute(n.delay),{deep:!0}),i};te({name:"UseImage",props:["src","srcset","sizes","as"],setup(e,{slots:n}){const i=me(O$(e));return()=>i.isLoading&&n.loading?n.loading(i):i.error&&n.error?n.error(i.error):n.default?n.default(i):Je(e.as||"img",e)}}),te({name:"UseMouse",props:["touch","resetOnTouchEnds","initialValue"],setup(e,{slots:n}){const i=me(d4(e));return()=>{if(n.default)return n.default(i)}}}),te({name:"UseMouseElement",props:["handleOutside","as"],setup(e,{slots:n}){const i=j(),t=me(Mx(i,e));return()=>{if(n.default)return Je(e.as||"div",{ref:i},n.default(t))}}});var I$=Object.defineProperty,N$=Object.defineProperties,L$=Object.getOwnPropertyDescriptors,T4=Object.getOwnPropertySymbols,j$=Object.prototype.hasOwnProperty,R$=Object.prototype.propertyIsEnumerable,P4=(e,n,i)=>n in e?I$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,z$=(e,n)=>{for(var i in n||(n={}))j$.call(n,i)&&P4(e,i,n[i]);if(T4)for(var i of T4(n))R$.call(n,i)&&P4(e,i,n[i]);return e},H$=(e,n)=>N$(e,L$(n));te({name:"UseMousePressed",props:["touch","initialValue","as"],setup(e,{slots:n}){const i=j(),t=me(Bx(H$(z$({},e),{target:i})));return()=>{if(n.default)return Je(e.as||"div",{ref:i},n.default(t))}}}),te({name:"UseNetwork",setup(e,{slots:n}){const i=me(c4());return()=>{if(n.default)return n.default(i)}}});var U$=Object.defineProperty,V$=Object.defineProperties,W$=Object.getOwnPropertyDescriptors,O4=Object.getOwnPropertySymbols,q$=Object.prototype.hasOwnProperty,K$=Object.prototype.propertyIsEnumerable,I4=(e,n,i)=>n in e?U$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Y$=(e,n)=>{for(var i in n||(n={}))q$.call(n,i)&&I4(e,i,n[i]);if(O4)for(var i of O4(n))K$.call(n,i)&&I4(e,i,n[i]);return e},G$=(e,n)=>V$(e,W$(n));te({name:"UseNow",props:["interval"],setup(e,{slots:n}){const i=me(p4(G$(Y$({},e),{controls:!0})));return()=>{if(n.default)return n.default(i)}}}),te({name:"UseObjectUrl",props:["object"],setup(e,{slots:n}){const i=Bl(e,"object"),t=Ox(i);return()=>{if(n.default&&t.value)return n.default(t)}}});var J$=Object.defineProperty,Q$=Object.defineProperties,Z$=Object.getOwnPropertyDescriptors,N4=Object.getOwnPropertySymbols,X$=Object.prototype.hasOwnProperty,eT=Object.prototype.propertyIsEnumerable,L4=(e,n,i)=>n in e?J$(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,nT=(e,n)=>{for(var i in n||(n={}))X$.call(n,i)&&L4(e,i,n[i]);if(N4)for(var i of N4(n))eT.call(n,i)&&L4(e,i,n[i]);return e},iT=(e,n)=>Q$(e,Z$(n));const tT=te({name:"UseOffsetPagination",props:["total","page","pageSize","onPageChange","onPageSizeChange","onPageCountChange"],emits:["page-change","page-size-change","page-count-change"],setup(e,{slots:n,emit:i}){const t=me(Ix(iT(nT({},e),{onPageChange(...r){var s;(s=e.onPageChange)==null||s.call(e,...r),i("page-change",...r)},onPageSizeChange(...r){var s;(s=e.onPageSizeChange)==null||s.call(e,...r),i("page-size-change",...r)},onPageCountChange(...r){var s;(s=e.onPageCountChange)==null||s.call(e,...r),i("page-count-change",...r)}})));return()=>{if(n.default)return n.default(t)}}});te({name:"UseOnline",setup(e,{slots:n}){const i=me({isOnline:Nx()});return()=>{if(n.default)return n.default(i)}}}),te({name:"UsePageLeave",setup(e,{slots:n}){const i=me({isLeft:Lx()});return()=>{if(n.default)return n.default(i)}}});var rT=Object.defineProperty,sT=Object.defineProperties,aT=Object.getOwnPropertyDescriptors,j4=Object.getOwnPropertySymbols,oT=Object.prototype.hasOwnProperty,uT=Object.prototype.propertyIsEnumerable,R4=(e,n,i)=>n in e?rT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,fT=(e,n)=>{for(var i in n||(n={}))oT.call(n,i)&&R4(e,i,n[i]);if(j4)for(var i of j4(n))uT.call(n,i)&&R4(e,i,n[i]);return e},lT=(e,n)=>sT(e,aT(n));te({name:"UsePointer",props:["pointerTypes","initialValue","target"],setup(e,{slots:n}){const i=j(null),t=me(Kx(lT(fT({},e),{target:e.target==="self"?i:Us})));return()=>{if(n.default)return n.default(t,{ref:i})}}}),te({name:"UsePreferredColorScheme",setup(e,{slots:n}){const i=me({colorScheme:Yx()});return()=>{if(n.default)return n.default(i)}}}),te({name:"UsePreferredDark",setup(e,{slots:n}){const i=me({prefersDark:Hh()});return()=>{if(n.default)return n.default(i)}}}),te({name:"UsePreferredLanguages",setup(e,{slots:n}){const i=me({languages:Gx()});return()=>{if(n.default)return n.default(i)}}});function Sd(e,n,{window:i=Us,initialValue:t=""}={}){const r=j(t),s=le(()=>{var a;return Vh(n)||((a=i==null?void 0:i.document)==null?void 0:a.documentElement)});return Be([s,()=>q(e)],([a,o])=>{var u;if(a&&i){const f=(u=i.getComputedStyle(a).getPropertyValue(o))==null?void 0:u.trim();r.value=f||t}},{immediate:!0}),Be(r,a=>{var o;(o=s.value)!=null&&o.style&&s.value.style.setProperty(q(e),a)}),r}const z4="--vueuse-safe-area-top",H4="--vueuse-safe-area-right",U4="--vueuse-safe-area-bottom",V4="--vueuse-safe-area-left";function dT(){const e=j(""),n=j(""),i=j(""),t=j("");if(Ft){const s=Sd(z4),a=Sd(H4),o=Sd(U4),u=Sd(V4);s.value="env(safe-area-inset-top, 0px)",a.value="env(safe-area-inset-right, 0px)",o.value="env(safe-area-inset-bottom, 0px)",u.value="env(safe-area-inset-left, 0px)",r(),Wa("resize",fB(r))}function r(){e.value=Ad(z4),n.value=Ad(H4),i.value=Ad(U4),t.value=Ad(V4)}return{top:e,right:n,bottom:i,left:t,update:r}}function Ad(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}te({name:"UseScreenSafeArea",props:{top:Boolean,right:Boolean,bottom:Boolean,left:Boolean},setup(e,{slots:n}){const{top:i,right:t,bottom:r,left:s}=dT();return()=>{if(n.default)return Je("div",{style:{paddingTop:e.top?i.value:"",paddingRight:e.right?t.value:"",paddingBottom:e.bottom?r.value:"",paddingLeft:e.left?s.value:"",boxSizing:"border-box",maxHeight:"100vh",maxWidth:"100vw",overflow:"auto"}},n.default())}}});function cT(e){const n=e||window.event;return n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}function hT(e,n=!1){const i=j(n);let t=null,r;Be(()=>q(e),o=>{if(o){const u=o;r=u.style.overflow,i.value&&(u.style.overflow="hidden")}},{immediate:!0});const s=()=>{const o=q(e);!o||i.value||(Ok&&(t=Wa(o,"touchmove",cT,{passive:!1})),o.style.overflow="hidden",i.value=!0)},a=()=>{const o=q(e);!o||!i.value||(Ok&&(t==null||t()),o.style.overflow=r,i.value=!1)};return Vi(a),le({get(){return i.value},set(o){o?s():a()}})}(()=>{let e=!1;const n=j(!1);return(i,t)=>{if(n.value=t.value,e)return;e=!0;const r=hT(i,t.value);Be(n,s=>r.value=s)}})();var mT=Object.defineProperty,pT=Object.defineProperties,FT=Object.getOwnPropertyDescriptors,W4=Object.getOwnPropertySymbols,gT=Object.prototype.hasOwnProperty,vT=Object.prototype.propertyIsEnumerable,q4=(e,n,i)=>n in e?mT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,yT=(e,n)=>{for(var i in n||(n={}))gT.call(n,i)&&q4(e,i,n[i]);if(W4)for(var i of W4(n))vT.call(n,i)&&q4(e,i,n[i]);return e},kT=(e,n)=>pT(e,FT(n));te({name:"UseTimeAgo",props:["time","updateInterval","max","fullDateFormatter","messages"],setup(e,{slots:n}){const i=Bl(e,"time"),t=me(Uh(i,kT(yT({},e),{controls:!0})));return()=>{if(n.default)return n.default(t)}}});var wT=Object.defineProperty,bT=Object.defineProperties,_T=Object.getOwnPropertyDescriptors,K4=Object.getOwnPropertySymbols,ET=Object.prototype.hasOwnProperty,DT=Object.prototype.propertyIsEnumerable,Y4=(e,n,i)=>n in e?wT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,CT=(e,n)=>{for(var i in n||(n={}))ET.call(n,i)&&Y4(e,i,n[i]);if(K4)for(var i of K4(n))DT.call(n,i)&&Y4(e,i,n[i]);return e},ST=(e,n)=>bT(e,_T(n));te({name:"UseTimestamp",props:["immediate","interval","offset"],setup(e,{slots:n}){const i=me(s$(ST(CT({},e),{controls:!0})));return()=>{if(n.default)return n.default(i)}}});var AT=Object.defineProperty,G4=Object.getOwnPropertySymbols,MT=Object.prototype.hasOwnProperty,BT=Object.prototype.propertyIsEnumerable,J4=(e,n,i)=>n in e?AT(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Q4=(e,n)=>{for(var i in n||(n={}))MT.call(n,i)&&J4(e,i,n[i]);if(G4)for(var i of G4(n))BT.call(n,i)&&J4(e,i,n[i]);return e};te({name:"UseVirtualList",props:["list","options","height"],setup(e,{slots:n}){const{list:i}=Ml(e),{list:t,containerProps:r,wrapperProps:s}=a$(i,e.options);return r.style.height=e.height||"300px",()=>Je("div",Q4({},r),[Je("div",Q4({},s.value),t.value.map(a=>Je("div",{style:{overFlow:"hidden",height:a.height}},n.default?n.default(a):"Please set content!")))])}}),te({name:"UseWindowFocus",setup(e,{slots:n}){const i=me({focused:o$()});return()=>{if(n.default)return n.default(i)}}}),te({name:"UseWindowSize",props:["initialWidth","initialHeight"],setup(e,{slots:n}){const i=me(u$(e));return()=>{if(n.default)return n.default(i)}}});const xT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},$T=Y("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.414L8 12l6.364-6.364l1.414 1.414z"},null,-1),TT=[$T];function PT(e,n){return ae(),ge("svg",xT,TT)}var Z4={name:"ri-arrow-left-s-line",render:PT};const OT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},IT=Y("path",{fill:"currentColor",d:"m13.172 12l-4.95-4.95l1.414-1.414L16 12l-6.364 6.364l-1.414-1.414z"},null,-1),NT=[IT];function LT(e,n){return ae(),ge("svg",OT,NT)}var Kh={name:"ri-arrow-right-s-line",render:LT};const jT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},RT=Y("path",{fill:"currentColor",d:"m12 10.586l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.414 1.414l-4.95-4.95l-4.95 4.95l-1.414-1.414l4.95-4.95l-4.95-4.95L7.05 5.636z"},null,-1),zT=[RT];function HT(e,n){return ae(),ge("svg",jT,zT)}var UT={name:"ri-close-line",render:HT};const VT={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},WT=Y("path",{fill:"currentColor",d:"M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4z"},null,-1),qT=[WT];function KT(e,n){return ae(),ge("svg",VT,qT)}var X4={name:"ri-user-line",render:KT};const YT={key:0,class:"w-full h-full"},GT=["src","alt"];var Yh=te({__name:"Avatar",props:{src:{default:void 0},alt:{default:void 0},size:{default:void 0},width:{default:void 0},height:{default:void 0},circle:{type:Boolean,default:!1}},setup(e){const n=e,i=le(()=>{const a=[`avatar-${n.circle?"circle":"square"}`];return n.size&&a.push(`avatar-${n.size}`),a}),t=le(()=>{const a={};return n.width&&(a.width=n.width),n.height&&(a.height=n.height),a}),{isLoading:r,error:s}=Cx({src:n.src});return(a,o)=>(ae(),ge("div",{class:dn(["avatar-wrapper",q(i)]),style:Pt(q(t))},[q(r)||q(s)?(ae(),ge("div",YT,[ie(q(X4),{class:"w-full h-full"})])):(ae(),ge("img",{key:1,src:e.src,alt:e.alt},null,8,GT))],6))}}),JT=(e,n)=>{const i=e.__vccOpts||e;for(const[t,r]of n)i[t]=r;return i};const QT=["disabled"],ZT={key:0,class:"btn-icon"},XT={key:0,class:"animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},eP=Y("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),nP=Y("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1),iP=[eP,nP],tP={class:"btn-content"};var Vs=te({__name:"Button",props:{type:{default:"default"},size:{default:"md"},circle:{type:Boolean,default:!1},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},route:{default:void 0}},emits:["click"],setup(e,{emit:n}){const i=e,t=xk(),r=le(()=>[`btn-${i.size}`,`btn-${i.type}`,{"btn-circle":i.circle},{"btn-block":i.block},{"btn-loading":i.loading}]);function s(){i.disabled||i.loading||(i.route&&t.push(i.route),n("click"))}return(a,o)=>(ae(),ge("button",{class:dn([q(r),"btn"]),disabled:e.disabled,onClick:s},[a.$slots.icon||e.loading?(ae(),ge("span",ZT,[e.loading?(ae(),ge("svg",XT,iP)):hn(a.$slots,"icon",{key:1})])):mn("",!0),Y("span",tP,[hn(a.$slots,"default")])],10,QT))}});const rP={class:"menu-container w-full p-3"};var sP=te({__name:"Menu",props:{openIds:null},setup(e){return Ni("openIds",e.openIds),(n,i)=>(ae(),ge("div",rP,[Y("ul",null,[hn(n.$slots,"default")])]))}});const aP=["onClick"],oP={key:0,class:"menu-icon mr-3 self-center"},uP={class:"menu-title flex-1 self-center"},fP={class:"sub-menu-items transition-all"};var ew=te({__name:"MenuItem",props:{id:{default:""},title:{default:""},active:{type:Boolean,default:!1}},emits:["select"],setup(e,{emit:n}){const i=e,t=R2(),r=j(!1),s=wn("openIds");s!=null&&s.includes(i.id)&&(r.value=!0);const a=le(()=>t.default&&t.default().length>0);function o(){if(a.value){r.value=!r.value;return}n("select",i.id)}return(u,f)=>(ae(),ge("li",{class:dn([{"has-submenus":q(a)},"menu-item"]),onClick:id(o,["stop"])},[Y("div",{class:dn([{active:e.active},"menu-item-title"])},[u.$slots.icon?(ae(),ge("span",oP,[hn(u.$slots,"icon")])):mn("",!0),Y("span",uP,cn(e.title),1),u.$slots.default?(ae(),ge("span",{key:1,class:dn([{open:r.value},"menu-icon-collapse self-center transition-all"])},[ie(q(Kh))],2)):mn("",!0)],2),ie(Ns,{name:"submenus-show"},{default:Re(()=>[_r(Y("ul",fP,[hn(u.$slots,"default")],512),[[Na,u.$slots.default&&r.value]])]),_:3})],10,aP))}});const lP={},dP={class:"menu-label flex flex-col"};function cP(e,n){return ae(),ge("li",dP,[hn(e.$slots,"default")])}var hP=JT(lP,[["render",cP]]);te({name:"VRoutesMenu",props:{menus:{type:Object,required:!0}},emits:["select"],setup(e,{emit:n}){const i=tB(),{push:t}=xk(),r=le(()=>i.matched.map(u=>u.path));async function s(u){n("select",u),await t(u)}function a(u){if(u)return ie(u,{height:"20px",width:"20px"},null)}function o(u){return u==null?void 0:u.map(f=>{var l;return ie(He,null,[(l=f.children)!=null&&l.length?ie(ew,{key:f.path,id:f.path,title:f.name},{default:()=>[o(f.children)],icon:()=>a(f.icon)}):ie(ew,{key:f.path,id:f.path,title:f.name,onSelect:s,active:r.value.includes(f.path)},{icon:()=>a(f.icon)})])})}return()=>ie(sP,{openIds:r.value},{default:()=>{var u;return[(u=e.menus)==null?void 0:u.map(f=>{var l;return ie(He,null,[f.name&&ie(hP,null,{default:()=>[f.name]}),((l=f.items)==null?void 0:l.length)&&o(f.items)])})]}})}});const mP={key:0,class:"modal-header group"},pP={class:"modal-header-title"},FP={class:"modal-header-actions"},gP={key:1,class:"modal-footer"};var vP=te({__name:"Modal",props:{visible:{type:Boolean,default:!1},title:{default:void 0},width:{default:500},height:{default:void 0},fullscreen:{type:Boolean,default:!1},bodyClass:{default:void 0},mountToBody:{type:Boolean,default:!1}},emits:["update:visible","close"],setup(e,{emit:n}){const i=e,t=j(!1),r=j(),s=le(()=>({"modal-wrapper-fullscreen":i.fullscreen})),a=le(()=>({maxWidth:i.width+"px",height:i.height}));function o(){n("update:visible",!1),n("close")}return Be(()=>i.visible,()=>{i.visible&&Ba(()=>{var u;(u=r.value)==null||u.focus()})}),(u,f)=>(ae(),Ln(S2,{disabled:!e.mountToBody,to:"body"},[_r(Y("div",{ref_key:"modelWrapper",ref:r,class:dn([q(s),"modal-wrapper"]),"aria-modal":"true",role:"dialog",tabindex:"0",onKeyup:f[4]||(f[4]=v3(id(l=>o(),["stop"]),["esc"]))},[ie(Ns,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0",onBeforeEnter:f[1]||(f[1]=l=>t.value=!0),onAfterLeave:f[2]||(f[2]=l=>t.value=!1)},{default:Re(()=>[_r(Y("div",{class:"modal-layer",onClick:f[0]||(f[0]=id(l=>o(),["stop"]))},null,512),[[Na,e.visible]])]),_:1}),ie(Ns,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:Re(()=>[_r(Y("div",{style:Pt(q(a)),class:"modal-content transform transition-all"},[u.$slots.header||e.title?(ae(),ge("div",mP,[hn(u.$slots,"header",{},()=>[Y("div",pP,cn(e.title),1),Y("div",FP,[hn(u.$slots,"actions"),Y("span",{class:"bg-gray-50",onClick:f[3]||(f[3]=l=>o())},[ie(q(UT))])])])])):mn("",!0),Y("div",{class:dn([e.bodyClass,"modal-body"])},[hn(u.$slots,"default")],2),u.$slots.footer?(ae(),ge("div",gP,[hn(u.$slots,"footer")])):mn("",!0)],4),[[Na,e.visible]])]),_:3})],34),[[Na,t.value]])],8,["disabled"]))}});const yP={xs:10,sm:12,md:16,lg:20};var nw=te({__name:"Space",props:{spacing:{default:"xs"},direction:{default:"row"},align:{default:"center"}},setup(e){const n=e,i=le(()=>{const{direction:t,align:r}=n;return[`space-direction-${t}`,`space-align-${r}`]});return(t,r)=>(ae(),ge("div",{class:dn([q(i),"space-wrapper"]),style:Pt(`gap: ${q(yP)[e.spacing]}px`)},[hn(t.$slots,"default")],6))}});const kP={key:0,class:"tag-left-icon"},wP={class:"tag-content"},bP={key:1,class:"tag-right-icon"};var iw=te({__name:"Tag",props:{theme:{default:"default"},rounded:{type:Boolean,default:!1},styles:{default:()=>({})}},setup(e){const n=e,i=le(()=>[`tag-${n.theme}`,{"tag-rounded":n.rounded}]);return(t,r)=>(ae(),ge("div",{class:dn([q(i),"tag-wrapper"]),style:Pt(e.styles)},[t.$slots.leftIcon?(ae(),ge("div",kP,[hn(t.$slots,"leftIcon")])):mn("",!0),Y("span",wP,[hn(t.$slots,"default")]),t.$slots.rightIcon?(ae(),ge("div",bP,[hn(t.$slots,"rightIcon")])):mn("",!0)],6))}});const _P={class:"bg-white flex items-center justify-between"},EP={class:"flex-1 flex justify-between sm:!hidden items-center"},DP=["onClick"],CP={class:"text-sm text-gray-500"},SP=["onClick"],AP={class:"hidden sm:flex-1 sm:flex sm:items-center"},MP={"aria-label":"Pagination",class:"relative z-0 inline-flex rounded-base shadow-sm -space-x-px"},BP=["onClick"],xP=["onClick"],$P=["onClick"];var TP=te({__name:"Pagination",props:{page:{default:1},size:{default:10},total:{default:0}},emits:["update:page","update:size","change"],setup(e,{emit:n}){const i=e,{page:t,size:r,total:s}=Ml(i),a=j(Math.random()),o=({currentPage:u,currentPageSize:f})=>{n("change",{page:u,size:f})};return Be(()=>s==null?void 0:s.value,()=>{a.value=Math.random()}),(u,f)=>(ae(),Ln(q(tT),{key:a.value,page:q(t),"page-size":q(r),total:q(s),onPageChange:o,onPageSizeChange:o},{default:Re(({currentPage:l,next:d,prev:c,pageCount:h})=>[Y("div",_P,[Y("div",EP,[Y("span",{class:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:c},[ie(q(Z4))],8,DP),Y("span",CP,cn(l)+" / "+cn(h),1),Y("span",{class:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:d},[ie(q(Kh))],8,SP)]),Y("div",AP,[Y("nav",MP,[Y("span",{class:"relative inline-flex items-center px-2 py-2 rounded-l-[4px] border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer",onClick:c},[ie(q(Z4))],8,BP),(ae(!0),ge(He,null,Hl(h,F=>(ae(),ge("span",{key:F,class:dn([{"z-10 bg-primary/1 border-primary text-primary":F===l,"bg-white border-gray-300 text-gray-500 hover:bg-gray-50":F!==l},"relative inline-flex items-center px-4 py-2 border text-sm font-medium cursor-pointer select-none"]),"aria-current":"page",onClick:v=>l.value=F},cn(F),11,xP))),128)),Y("span",{class:"relative inline-flex items-center px-2 py-2 rounded-r-[4px] border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer",onClick:d},[ie(q(Kh))],8,$P)])])])]),_:1},8,["page","page-size","total"]))}});class Ze{constructor(){}lineAt(n){if(n<0||n>this.length)throw new RangeError(`Invalid position ${n} in document of length ${this.length}`);return this.lineInner(n,!1,1,0)}line(n){if(n<1||n>this.lines)throw new RangeError(`Invalid line number ${n} in ${this.lines}-line document`);return this.lineInner(n,!0,1,0)}replace(n,i,t){let r=[];return this.decompose(0,n,r,2),t.length&&t.decompose(0,t.length,r,3),this.decompose(i,this.length,r,1),gt.from(r,this.length-(i-n)+t.length)}append(n){return this.replace(this.length,this.length,n)}slice(n,i=this.length){let t=[];return this.decompose(n,i,t,0),gt.from(t,i-n)}eq(n){if(n==this)return!0;if(n.length!=this.length||n.lines!=this.lines)return!1;let i=this.scanIdentical(n,1),t=this.length-this.scanIdentical(n,-1),r=new Lu(this),s=new Lu(n);for(let a=i,o=i;;){if(r.next(a),s.next(a),a=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(o+=r.value.length,r.done||o>=t)return!0}}iter(n=1){return new Lu(this,n)}iterRange(n,i=this.length){return new rw(this,n,i)}iterLines(n,i){let t;if(n==null)t=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(n).from;t=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new sw(t)}toString(){return this.sliceString(0)}toJSON(){let n=[];return this.flatten(n),n}static of(n){if(n.length==0)throw new RangeError("A document must have at least one line");return n.length==1&&!n[0]?Ze.empty:n.length<=32?new en(n):gt.from(en.split(n,[]))}}class en extends Ze{constructor(n,i=PP(n)){super(),this.text=n,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(n,i,t,r){for(let s=0;;s++){let a=this.text[s],o=r+a.length;if((i?t:o)>=n)return new OP(r,o,t,a);r=o+1,t++}}decompose(n,i,t,r){let s=n<=0&&i>=this.length?this:new en(tw(this.text,n,i),Math.min(i,this.length)-Math.max(0,n));if(r&1){let a=t.pop(),o=Md(s.text,a.text.slice(),0,s.length);if(o.length<=32)t.push(new en(o,a.length+s.length));else{let u=o.length>>1;t.push(new en(o.slice(0,u)),new en(o.slice(u)))}}else t.push(s)}replace(n,i,t){if(!(t instanceof en))return super.replace(n,i,t);let r=Md(this.text,Md(t.text,tw(this.text,0,n)),i),s=this.length+t.length-(i-n);return r.length<=32?new en(r,s):gt.from(en.split(r,[]),s)}sliceString(n,i=this.length,t=` -`){let r="";for(let s=0,a=0;s<=i&&an&&a&&(r+=t),ns&&(r+=o.slice(Math.max(0,n-s),i-s)),s=u+1}return r}flatten(n){for(let i of this.text)n.push(i)}scanIdentical(){return 0}static split(n,i){let t=[],r=-1;for(let s of n)t.push(s),r+=s.length+1,t.length==32&&(i.push(new en(t,r)),t=[],r=-1);return r>-1&&i.push(new en(t,r)),i}}class gt extends Ze{constructor(n,i){super(),this.children=n,this.length=i,this.lines=0;for(let t of n)this.lines+=t.lines}lineInner(n,i,t,r){for(let s=0;;s++){let a=this.children[s],o=r+a.length,u=t+a.lines-1;if((i?u:o)>=n)return a.lineInner(n,i,t,r);r=o+1,t=u+1}}decompose(n,i,t,r){for(let s=0,a=0;a<=i&&s=a){let f=r&((a<=n?1:0)|(u>=i?2:0));a>=n&&u<=i&&!f?t.push(o):o.decompose(n-a,i-a,t,f)}a=u+1}}replace(n,i,t){if(t.lines=s&&i<=o){let u=a.replace(n-s,i-s,t),f=this.lines-a.lines+u.lines;if(u.lines>4&&u.lines>f>>6){let l=this.children.slice();return l[r]=u,new gt(l,this.length-(i-n)+t.length)}return super.replace(s,o,u)}s=o+1}return super.replace(n,i,t)}sliceString(n,i=this.length,t=` -`){let r="";for(let s=0,a=0;sn&&s&&(r+=t),na&&(r+=o.sliceString(n-a,i-a,t)),a=u+1}return r}flatten(n){for(let i of this.children)i.flatten(n)}scanIdentical(n,i){if(!(n instanceof gt))return 0;let t=0,[r,s,a,o]=i>0?[0,0,this.children.length,n.children.length]:[this.children.length-1,n.children.length-1,-1,-1];for(;;r+=i,s+=i){if(r==a||s==o)return t;let u=this.children[r],f=n.children[s];if(u!=f)return t+u.scanIdentical(f,i);t+=u.length+1}}static from(n,i=n.reduce((t,r)=>t+r.length+1,-1)){let t=0;for(let h of n)t+=h.lines;if(t<32){let h=[];for(let F of n)F.flatten(h);return new en(h,i)}let r=Math.max(32,t>>5),s=r<<1,a=r>>1,o=[],u=0,f=-1,l=[];function d(h){let F;if(h.lines>s&&h instanceof gt)for(let v of h.children)d(v);else h.lines>a&&(u>a||!u)?(c(),o.push(h)):h instanceof en&&u&&(F=l[l.length-1])instanceof en&&h.lines+F.lines<=32?(u+=h.lines,f+=h.length+1,l[l.length-1]=new en(F.text.concat(h.text),F.length+1+h.length)):(u+h.lines>r&&c(),u+=h.lines,f+=h.length+1,l.push(h))}function c(){u!=0&&(o.push(l.length==1?l[0]:gt.from(l,f)),f=-1,u=l.length=0)}for(let h of n)d(h);return c(),o.length==1?o[0]:new gt(o,i)}}Ze.empty=new en([""],0);function PP(e){let n=-1;for(let i of e)n+=i.length+1;return n}function Md(e,n,i=0,t=1e9){for(let r=0,s=0,a=!0;s=i&&(u>t&&(o=o.slice(0,t-r)),r0?1:(n instanceof en?n.text.length:n.children.length)<<1]}nextInner(n,i){for(this.done=this.lineBreak=!1;;){let t=this.nodes.length-1,r=this.nodes[t],s=this.offsets[t],a=s>>1,o=r instanceof en?r.text.length:r.children.length;if(a==(i>0?o:0)){if(t==0)return this.done=!0,this.value="",this;i>0&&this.offsets[t-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(i>0?0:1)){if(this.offsets[t]+=i,n==0)return this.lineBreak=!0,this.value=` -`,this;n--}else if(r instanceof en){let u=r.text[a+(i<0?-1:0)];if(this.offsets[t]+=i,u.length>Math.max(0,n))return this.value=n==0?u:i>0?u.slice(n):u.slice(0,u.length-n),this;n-=u.length}else{let u=r.children[a+(i<0?-1:0)];n>u.length?(n-=u.length,this.offsets[t]+=i):(i<0&&this.offsets[t]--,this.nodes.push(u),this.offsets.push(i>0?1:(u instanceof en?u.text.length:u.children.length)<<1))}}}next(n=0){return n<0&&(this.nextInner(-n,-this.dir),n=this.value.length),this.nextInner(n,this.dir)}}class rw{constructor(n,i,t){this.value="",this.done=!1,this.cursor=new Lu(n,i>t?-1:1),this.pos=i>t?n.length:0,this.from=Math.min(i,t),this.to=Math.max(i,t)}nextInner(n,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;n+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let t=i<0?this.pos-this.from:this.to-this.pos;n>t&&(n=t),t-=n;let{value:r}=this.cursor.next(n);return this.pos+=(r.length+n)*i,this.value=r.length<=t?r:i<0?r.slice(r.length-t):r.slice(0,t),this.done=!this.value,this}next(n=0){return n<0?n=Math.max(n,this.from-this.pos):n>0&&(n=Math.min(n,this.to-this.pos)),this.nextInner(n,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class sw{constructor(n){this.inner=n,this.afterBreak=!0,this.value="",this.done=!1}next(n=0){let{done:i,lineBreak:t,value:r}=this.inner.next(n);return i?(this.done=!0,this.value=""):t?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Ze.prototype[Symbol.iterator]=function(){return this.iter()},Lu.prototype[Symbol.iterator]=rw.prototype[Symbol.iterator]=sw.prototype[Symbol.iterator]=function(){return this});class OP{constructor(n,i,t,r){this.from=n,this.to=i,this.number=t,this.text=r}get length(){return this.to-this.from}}let qa="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=1;ee)return qa[n-1]<=e;return!1}function aw(e){return e>=127462&&e<=127487}const ow=8205;function Ka(e,n,i=!0,t=!0){return(i?uw:NP)(e,n,t)}function uw(e,n,i){if(n==e.length)return n;n&&fw(e.charCodeAt(n))&&lw(e.charCodeAt(n-1))&&n--;let t=Gh(e,n);for(n+=dw(t);n=0&&aw(Gh(e,a));)s++,a-=2;if(s%2==0)break;n+=2}else break}return n}function NP(e,n,i){for(;n>0;){let t=uw(e,n-2,i);if(t=56320&&e<57344}function lw(e){return e>=55296&&e<56320}function Gh(e,n){let i=e.charCodeAt(n);if(!lw(i)||n+1==e.length)return i;let t=e.charCodeAt(n+1);return fw(t)?(i-55296<<10)+(t-56320)+65536:i}function dw(e){return e<65536?1:2}const Jh=/\r\n?|\n/;var Ai=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(Ai||(Ai={}));class zt{constructor(n){this.sections=n}get length(){let n=0;for(let i=0;in)return s+(n-r);s+=o}else{if(t!=Ai.Simple&&f>=n&&(t==Ai.TrackDel&&rn||t==Ai.TrackBefore&&rn))return null;if(f>n||f==n&&i<0&&!o)return n==r||i<0?s:s+u;s+=u}r=f}if(n>r)throw new RangeError(`Position ${n} is out of range for changeset of length ${r}`);return s}touchesRange(n,i=n){for(let t=0,r=0;t=0&&r<=i&&o>=n)return ri?"cover":!0;r=o}return!1}toString(){let n="";for(let i=0;i=0?":"+r:"")}return n}toJSON(){return this.sections}static fromJSON(n){if(!Array.isArray(n)||n.length%2||n.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new zt(n)}static create(n){return new zt(n)}}class zn extends zt{constructor(n,i){super(n),this.inserted=i}apply(n){if(this.length!=n.length)throw new RangeError("Applying change set to a document with the wrong length");return Qh(this,(i,t,r,s,a)=>n=n.replace(r,r+(t-i),a),!1),n}mapDesc(n,i=!1){return Zh(this,n,i,!0)}invert(n){let i=this.sections.slice(),t=[];for(let r=0,s=0;r=0){i[r]=o,i[r+1]=a;let u=r>>1;for(;t.length0&&$r(t,i,s.text),s.forward(l),o+=l}let f=n[a++];for(;o>1].toJSON()))}return n}static of(n,i,t){let r=[],s=[],a=0,o=null;function u(l=!1){if(!l&&!r.length)return;ac||d<0||c>i)throw new RangeError(`Invalid change range ${d} to ${c} (in doc of length ${i})`);let F=h?typeof h=="string"?Ze.of(h.split(t||Jh)):h:Ze.empty,v=F.length;if(d==c&&v==0)return;da&&Hn(r,d-a,-1),Hn(r,c-d,v),$r(s,r,F),a=c}}return f(n),u(!o),o}static empty(n){return new zn(n?[n,-1]:[],[])}static fromJSON(n){if(!Array.isArray(n))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],t=[];for(let r=0;ro&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)i.push(s[0],0);else{for(;t.length=0&&i<=0&&i==e[r+1]?e[r]+=n:n==0&&e[r]==0?e[r+1]+=i:t?(e[r]+=n,e[r+1]+=i):e.push(n,i)}function $r(e,n,i){if(i.length==0)return;let t=n.length-2>>1;if(t>1])),!(i||a==e.sections.length||e.sections[a+1]<0);)o=e.sections[a++],u=e.sections[a++];n(r,f,s,l,d),r=f,s=l}}}function Zh(e,n,i,t=!1){let r=[],s=t?[]:null,a=new ju(e),o=new ju(n);for(let u=-1;;)if(a.ins==-1&&o.ins==-1){let f=Math.min(a.len,o.len);Hn(r,f,-1),a.forward(f),o.forward(f)}else if(o.ins>=0&&(a.ins<0||u==a.i||a.off==0&&(o.len=0&&u=0){let f=0,l=a.len;for(;l;)if(o.ins==-1){let d=Math.min(l,o.len);f+=d,l-=d,o.forward(d)}else if(o.ins==0&&o.lenu||a.ins>=0&&a.len>u)&&(o||t.length>f),s.forward2(u),a.forward(u)}}}}class ju{constructor(n){this.set=n,this.i=0,this.next()}next(){let{sections:n}=this.set;this.i>1;return i>=n.length?Ze.empty:n[i]}textBit(n){let{inserted:i}=this.set,t=this.i-2>>1;return t>=i.length&&!n?Ze.empty:i[t].slice(this.off,n==null?void 0:this.off+n)}forward(n){n==this.len?this.next():(this.len-=n,this.off+=n)}forward2(n){this.ins==-1?this.forward(n):n==this.ins?this.next():(this.ins-=n,this.off+=n)}}class Ws{constructor(n,i,t){this.from=n,this.to=i,this.flags=t}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let n=this.flags&3;return n==3?null:n}get goalColumn(){let n=this.flags>>5;return n==33554431?void 0:n}map(n,i=-1){let t,r;return this.empty?t=r=n.mapPos(this.from,i):(t=n.mapPos(this.from,1),r=n.mapPos(this.to,-1)),t==this.from&&r==this.to?this:new Ws(t,r,this.flags)}extend(n,i=n){if(n<=this.anchor&&i>=this.anchor)return Ce.range(n,i);let t=Math.abs(n-this.anchor)>Math.abs(i-this.anchor)?n:i;return Ce.range(this.anchor,t)}eq(n){return this.anchor==n.anchor&&this.head==n.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(n){if(!n||typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Ce.range(n.anchor,n.head)}static create(n,i,t){return new Ws(n,i,t)}}class Ce{constructor(n,i){this.ranges=n,this.mainIndex=i}map(n,i=-1){return n.empty?this:Ce.create(this.ranges.map(t=>t.map(n,i)),this.mainIndex)}eq(n){if(this.ranges.length!=n.ranges.length||this.mainIndex!=n.mainIndex)return!1;for(let i=0;in.toJSON()),main:this.mainIndex}}static fromJSON(n){if(!n||!Array.isArray(n.ranges)||typeof n.main!="number"||n.main>=n.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Ce(n.ranges.map(i=>Ws.fromJSON(i)),n.main)}static single(n,i=n){return new Ce([Ce.range(n,i)],0)}static create(n,i=0){if(n.length==0)throw new RangeError("A selection needs at least one range");for(let t=0,r=0;rn?4:0))}static normalized(n,i=0){let t=n[i];n.sort((r,s)=>r.from-s.from),i=n.indexOf(t);for(let r=1;rs.head?Ce.range(u,o):Ce.range(o,u))}}return new Ce(n,i)}}function hw(e,n){for(let i of e.ranges)if(i.to>n)throw new RangeError("Selection points outside of document")}let Xh=0;class Un{constructor(n,i,t,r,s){this.combine=n,this.compareInput=i,this.compare=t,this.isStatic=r,this.id=Xh++,this.default=n([]),this.extensions=typeof s=="function"?s(this):s}static define(n={}){return new Un(n.combine||(i=>i),n.compareInput||((i,t)=>i===t),n.compare||(n.combine?(i,t)=>i===t:em),!!n.static,n.enables)}of(n){return new Bd([],this,0,n)}compute(n,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Bd(n,this,1,i)}computeN(n,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Bd(n,this,2,i)}from(n,i){return i||(i=t=>t),this.compute([n],t=>i(t.field(n)))}}function em(e,n){return e==n||e.length==n.length&&e.every((i,t)=>i===n[t])}class Bd{constructor(n,i,t,r){this.dependencies=n,this.facet=i,this.type=t,this.value=r,this.id=Xh++}dynamicSlot(n){var i;let t=this.value,r=this.facet.compareInput,s=this.id,a=n[s]>>1,o=this.type==2,u=!1,f=!1,l=[];for(let d of this.dependencies)d=="doc"?u=!0:d=="selection"?f=!0:(((i=n[d.id])!==null&&i!==void 0?i:1)&1)==0&&l.push(n[d.id]);return{create(d){return d.values[a]=t(d),1},update(d,c){if(u&&c.docChanged||f&&(c.docChanged||c.selection)||nm(d,l)){let h=t(d);if(o?!mw(h,d.values[a],r):!r(h,d.values[a]))return d.values[a]=h,1}return 0},reconfigure:(d,c)=>{let h=t(d),F=c.config.address[s];if(F!=null){let v=Td(c,F);if(this.dependencies.every(y=>y instanceof Un?c.facet(y)===d.facet(y):y instanceof Ya?c.field(y,!1)==d.field(y,!1):!0)||(o?mw(h,v,r):r(h,v)))return d.values[a]=v,0}return d.values[a]=h,1}}}}function mw(e,n,i){if(e.length!=n.length)return!1;for(let t=0;te[u.id]),r=i.map(u=>u.type),s=t.filter(u=>!(u&1)),a=e[n.id]>>1;function o(u){let f=[];for(let l=0;lt===r),n);return n.provide&&(i.provides=n.provide(i)),i}create(n){let i=n.facet(pw).find(t=>t.field==this);return((i==null?void 0:i.create)||this.createF)(n)}slot(n){let i=n[this.id]>>1;return{create:t=>(t.values[i]=this.create(t),1),update:(t,r)=>{let s=t.values[i],a=this.updateF(s,r);return this.compareF(s,a)?0:(t.values[i]=a,1)},reconfigure:(t,r)=>r.config.address[this.id]!=null?(t.values[i]=r.field(this),0):(t.values[i]=this.create(t),1)}}init(n){return[this,pw.of({field:this,create:n})]}get extension(){return this}}const Fw={lowest:4,low:3,default:2,high:1,highest:0};class jP{constructor(n,i){this.inner=n,this.prec=i}}class xd{of(n){return new im(this,n)}reconfigure(n){return xd.reconfigure.of({compartment:this,extension:n})}get(n){return n.config.compartments.get(this)}}class im{constructor(n,i){this.compartment=n,this.inner=i}}class $d{constructor(n,i,t,r,s,a){for(this.base=n,this.compartments=i,this.dynamicSlots=t,this.address=r,this.staticValues=s,this.facets=a,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(n,i,t){let r=[],s=Object.create(null),a=new Map;for(let c of RP(n,i,a))c instanceof Ya?r.push(c):(s[c.facet.id]||(s[c.facet.id]=[])).push(c);let o=Object.create(null),u=[],f=[];for(let c of r)o[c.id]=f.length<<1,f.push(h=>c.slot(h));let l=t==null?void 0:t.config.facets;for(let c in s){let h=s[c],F=h[0].facet,v=l&&l[c]||[];if(h.every(y=>y.type==0))if(o[F.id]=u.length<<1|1,em(v,h))u.push(t.facet(F));else{let y=F.combine(h.map(p=>p.value));u.push(t&&F.compare(y,t.facet(F))?t.facet(F):y)}else{for(let y of h)y.type==0?(o[y.id]=u.length<<1|1,u.push(y.value)):(o[y.id]=f.length<<1,f.push(p=>y.dynamicSlot(p)));o[F.id]=f.length<<1,f.push(y=>LP(y,F,h))}}let d=f.map(c=>c(o));return new $d(n,a,d,o,u,s)}}function RP(e,n,i){let t=[[],[],[],[],[]],r=new Map;function s(a,o){let u=r.get(a);if(u!=null){if(u<=o)return;let f=t[u].indexOf(a);f>-1&&t[u].splice(f,1),a instanceof im&&i.delete(a.compartment)}if(r.set(a,o),Array.isArray(a))for(let f of a)s(f,o);else if(a instanceof im){if(i.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let f=n.get(a.compartment)||a.inner;i.set(a.compartment,f),s(f,o)}else if(a instanceof jP)s(a.inner,a.prec);else if(a instanceof Ya)t[o].push(a),a.provides&&s(a.provides,o);else if(a instanceof Bd)t[o].push(a),a.facet.extensions&&s(a.facet.extensions,Fw.default);else{let f=a.extension;if(!f)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(f,o)}}return s(e,Fw.default),t.reduce((a,o)=>a.concat(o))}function Ru(e,n){if(n&1)return 2;let i=n>>1,t=e.status[i];if(t==4)throw new Error("Cyclic dependency between fields and/or facets");if(t&2)return t;e.status[i]=4;let r=e.computeSlot(e,e.config.dynamicSlots[i]);return e.status[i]=2|r}function Td(e,n){return n&1?e.config.staticValues[n>>1]:e.values[n>>1]}const gw=Un.define(),vw=Un.define({combine:e=>e.some(n=>n),static:!0}),yw=Un.define({combine:e=>e.length?e[0]:void 0,static:!0}),kw=Un.define(),ww=Un.define(),bw=Un.define(),_w=Un.define({combine:e=>e.length?e[0]:!1});class zu{constructor(n,i){this.type=n,this.value=i}static define(){return new zP}}class zP{of(n){return new zu(this,n)}}class HP{constructor(n){this.map=n}of(n){return new ei(this,n)}}class ei{constructor(n,i){this.type=n,this.value=i}map(n){let i=this.type.map(this.value,n);return i===void 0?void 0:i==this.value?this:new ei(this.type,i)}is(n){return this.type==n}static define(n={}){return new HP(n.map||(i=>i))}static mapEffects(n,i){if(!n.length)return n;let t=[];for(let r of n){let s=r.map(i);s&&t.push(s)}return t}}ei.reconfigure=ei.define(),ei.appendConfig=ei.define();class ni{constructor(n,i,t,r,s,a){this.startState=n,this.changes=i,this.selection=t,this.effects=r,this.annotations=s,this.scrollIntoView=a,this._doc=null,this._state=null,t&&hw(t,i.newLength),s.some(o=>o.type==ni.time)||(this.annotations=s.concat(ni.time.of(Date.now())))}static create(n,i,t,r,s,a){return new ni(n,i,t,r,s,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(n){for(let i of this.annotations)if(i.type==n)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(n){let i=this.annotation(ni.userEvent);return!!(i&&(i==n||i.length>n.length&&i.slice(0,n.length)==n&&i[n.length]=="."))}}ni.time=zu.define(),ni.userEvent=zu.define(),ni.addToHistory=zu.define(),ni.remote=zu.define();function UP(e,n){let i=[];for(let t=0,r=0;;){let s,a;if(t=e[t]))s=e[t++],a=e[t++];else if(r=0;r--){let s=t[r](e);s instanceof ni?e=s:Array.isArray(s)&&s.length==1&&s[0]instanceof ni?e=s[0]:e=Dw(n,Ga(s),!1)}return e}function WP(e){let n=e.startState,i=n.facet(bw),t=e;for(let r=i.length-1;r>=0;r--){let s=i[r](e);s&&Object.keys(s).length&&(t=Ew(e,tm(n,s,e.changes.newLength),!0))}return t==e?e:ni.create(n,e.changes,e.selection,t.effects,t.annotations,t.scrollIntoView)}const qP=[];function Ga(e){return e==null?qP:Array.isArray(e)?e:[e]}var Tr=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(Tr||(Tr={}));const KP=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let rm;try{rm=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function YP(e){if(rm)return rm.test(e);for(let n=0;n"\x80"&&(i.toUpperCase()!=i.toLowerCase()||KP.test(i)))return!0}return!1}function GP(e){return n=>{if(!/\S/.test(n))return Tr.Space;if(YP(n))return Tr.Word;for(let i=0;i-1)return Tr.Word;return Tr.Other}}class nn{constructor(n,i,t,r,s,a){this.config=n,this.doc=i,this.selection=t,this.values=r,this.status=n.statusTemplate.slice(),this.computeSlot=s,a&&(a._state=this);for(let o=0;or.set(u,o)),i=null),r.set(a.value.compartment,a.value.extension)):a.is(ei.reconfigure)?(i=null,t=a.value):a.is(ei.appendConfig)&&(i=null,t=Ga(t).concat(a.value));let s;i?s=n.startState.values.slice():(i=$d.resolve(t,r,this),s=new nn(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(a,o)=>o.reconfigure(a,this),null).values),new nn(i,n.newDoc,n.newSelection,s,(a,o)=>o.update(a,n),n)}replaceSelection(n){return typeof n=="string"&&(n=this.toText(n)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:n},range:Ce.cursor(i.from+n.length)}))}changeByRange(n){let i=this.selection,t=n(i.ranges[0]),r=this.changes(t.changes),s=[t.range],a=Ga(t.effects);for(let o=1;oa.spec.fromJSON(o,u)))}}return nn.create({doc:n.doc,selection:Ce.fromJSON(n.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(n={}){let i=$d.resolve(n.extensions||[],new Map),t=n.doc instanceof Ze?n.doc:Ze.of((n.doc||"").split(i.staticFacet(nn.lineSeparator)||Jh)),r=n.selection?n.selection instanceof Ce?n.selection:Ce.single(n.selection.anchor,n.selection.head):Ce.single(0);return hw(r,t.length),i.staticFacet(vw)||(r=r.asSingle()),new nn(i,t,r,i.dynamicSlots.map(()=>null),(s,a)=>a.create(s),null)}get tabSize(){return this.facet(nn.tabSize)}get lineBreak(){return this.facet(nn.lineSeparator)||` -`}get readOnly(){return this.facet(_w)}phrase(n,...i){for(let t of this.facet(nn.phrases))if(Object.prototype.hasOwnProperty.call(t,n)){n=t[n];break}return i.length&&(n=n.replace(/\$(\$|\d*)/g,(t,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>i.length?t:i[s-1]})),n}languageDataAt(n,i,t=-1){let r=[];for(let s of this.facet(gw))for(let a of s(this,i,t))Object.prototype.hasOwnProperty.call(a,n)&&r.push(a[n]);return r}charCategorizer(n){return GP(this.languageDataAt("wordChars",n).join(""))}wordAt(n){let{text:i,from:t,length:r}=this.doc.lineAt(n),s=this.charCategorizer(n),a=n-t,o=n-t;for(;a>0;){let u=Ka(i,a,!1);if(s(i.slice(u,a))!=Tr.Word)break;a=u}for(;oe.length?e[0]:4}),nn.lineSeparator=yw,nn.readOnly=_w,nn.phrases=Un.define({compare(e,n){let i=Object.keys(e),t=Object.keys(n);return i.length==t.length&&i.every(r=>e[r]==n[r])}}),nn.languageData=gw,nn.changeFilter=kw,nn.transactionFilter=ww,nn.transactionExtender=bw,xd.reconfigure=ei.define();class qs{eq(n){return this==n}range(n,i=n){return Hu.create(n,i,this)}}qs.prototype.startSide=qs.prototype.endSide=0,qs.prototype.point=!1,qs.prototype.mapMode=Ai.TrackDel;class Hu{constructor(n,i,t){this.from=n,this.to=i,this.value=t}static create(n,i,t){return new Hu(n,i,t)}}function sm(e,n){return e.from-n.from||e.value.startSide-n.value.startSide}class am{constructor(n,i,t,r){this.from=n,this.to=i,this.value=t,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(n,i,t,r=0){let s=t?this.to:this.from;for(let a=r,o=s.length;;){if(a==o)return a;let u=a+o>>1,f=s[u]-n||(t?this.value[u].endSide:this.value[u].startSide)-i;if(u==a)return f>=0?a:o;f>=0?o=u:a=u+1}}between(n,i,t,r){for(let s=this.findIndex(i,-1e9,!0),a=this.findIndex(t,1e9,!1,s);sh||c==h&&f.startSide>0&&f.endSide<=0)continue;(h-c||f.endSide-f.startSide)<0||(a<0&&(a=c),f.point&&(o=Math.max(o,h-c)),t.push(f),r.push(c-a),s.push(h-a))}return{mapped:t.length?new am(r,s,t,o):null,pos:a}}}class di{constructor(n,i,t,r){this.chunkPos=n,this.chunk=i,this.nextLayer=t,this.maxPoint=r}static create(n,i,t,r){return new di(n,i,t,r)}get length(){let n=this.chunk.length-1;return n<0?0:Math.max(this.chunkEnd(n),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let n=this.nextLayer.size;for(let i of this.chunk)n+=i.value.length;return n}chunkEnd(n){return this.chunkPos[n]+this.chunk[n].length}update(n){let{add:i=[],sort:t=!1,filterFrom:r=0,filterTo:s=this.length}=n,a=n.filter;if(i.length==0&&!a)return this;if(t&&(i=i.slice().sort(sm)),this.isEmpty)return i.length?di.of(i):this;let o=new Sw(this,null,-1).goto(0),u=0,f=[],l=new Pd;for(;o.value||u=0){let d=i[u++];l.addInner(d.from,d.to,d.value)||f.push(d)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||so.to||s=s&&n<=s+a.length&&a.between(s,n-s,i-s,t)===!1)return}this.nextLayer.between(n,i,t)}}iter(n=0){return Uu.from([this]).goto(n)}get isEmpty(){return this.nextLayer==this}static iter(n,i=0){return Uu.from(n).goto(i)}static compare(n,i,t,r,s=-1){let a=n.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=s),o=i.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=s),u=Cw(a,o,t),f=new Vu(a,u,s),l=new Vu(o,u,s);t.iterGaps((d,c,h)=>Aw(f,d,l,c,h,r)),t.empty&&t.length==0&&Aw(f,0,l,0,0,r)}static eq(n,i,t=0,r){r==null&&(r=1e9);let s=n.filter(l=>!l.isEmpty&&i.indexOf(l)<0),a=i.filter(l=>!l.isEmpty&&n.indexOf(l)<0);if(s.length!=a.length)return!1;if(!s.length)return!0;let o=Cw(s,a),u=new Vu(s,o,0).goto(t),f=new Vu(a,o,0).goto(t);for(;;){if(u.to!=f.to||!um(u.active,f.active)||u.point&&(!f.point||!u.point.eq(f.point)))return!1;if(u.to>r)return!0;u.next(),f.next()}}static spans(n,i,t,r,s=-1){let a=new Vu(n,null,s).goto(i),o=i,u=a.openStart;for(;;){let f=Math.min(a.to,t);if(a.point?(r.point(o,f,a.point,a.activeForPoint(a.to),u,a.pointRank),u=a.openEnd(f)+(a.to>f?1:0)):f>o&&(r.span(o,f,a.active,u),u=a.openEnd(f)),a.to>t)break;o=a.to,a.next()}return u}static of(n,i=!1){let t=new Pd;for(let r of n instanceof Hu?[n]:i?JP(n):n)t.add(r.from,r.to,r.value);return t.finish()}}di.empty=new di([],[],null,-1);function JP(e){if(e.length>1)for(let n=e[0],i=1;i0)return e.slice().sort(sm);n=t}return e}di.empty.nextLayer=di.empty;class Pd{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(n){this.chunks.push(new am(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,n&&(this.from=[],this.to=[],this.value=[])}add(n,i,t){this.addInner(n,i,t)||(this.nextLayer||(this.nextLayer=new Pd)).add(n,i,t)}addInner(n,i,t){let r=n-this.lastTo||t.startSide-this.last.endSide;if(r<=0&&(n-this.lastFrom||t.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=n),this.from.push(n-this.chunkStart),this.to.push(i-this.chunkStart),this.last=t,this.lastFrom=n,this.lastTo=i,this.value.push(t),t.point&&(this.maxPoint=Math.max(this.maxPoint,i-n)),!0)}addChunk(n,i){if((n-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(n);let t=i.value.length-1;return this.last=i.value[t],this.lastFrom=i.from[t]+n,this.lastTo=i.to[t]+n,!0}finish(){return this.finishInner(di.empty)}finishInner(n){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return n;let i=di.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(n):n,this.setMaxPoint);return this.from=null,i}}function Cw(e,n,i){let t=new Map;for(let s of e)for(let a=0;a=this.minPoint)break}}setRangeIndex(n){if(n==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=t&&r.push(new Sw(a,i,t,s));return r.length==1?r[0]:new Uu(r)}get startSide(){return this.value?this.value.startSide:0}goto(n,i=-1e9){for(let t of this.heap)t.goto(n,i);for(let t=this.heap.length>>1;t>=0;t--)om(this.heap,t);return this.next(),this}forward(n,i){for(let t of this.heap)t.forward(n,i);for(let t=this.heap.length>>1;t>=0;t--)om(this.heap,t);(this.to-n||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let n=this.heap[0];this.from=n.from,this.to=n.to,this.value=n.value,this.rank=n.rank,n.value&&n.next(),om(this.heap,0)}}}function om(e,n){for(let i=e[n];;){let t=(n<<1)+1;if(t>=e.length)break;let r=e[t];if(t+1=0&&(r=e[t+1],t++),i.compare(r)<0)break;e[t]=i,e[n]=r,n=t}}class Vu{constructor(n,i,t){this.minPoint=t,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Uu.from(n,i,t)}goto(n,i=-1e9){return this.cursor.goto(n,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=n,this.endSide=i,this.openStart=-1,this.next(),this}forward(n,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-n||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(n,i)}removeActive(n){Od(this.active,n),Od(this.activeTo,n),Od(this.activeRank,n),this.minActive=Mw(this.active,this.activeTo)}addActive(n){let i=0,{value:t,to:r,rank:s}=this.cursor;for(;i-1&&(this.activeTo[s]-this.cursor.from||this.active[s].endSide-this.cursor.startSide)<0){if(this.activeTo[s]>n){this.to=this.activeTo[s],this.endSide=this.active[s].endSide;break}this.removeActive(s),t&&Od(t,s)}else if(this.cursor.value)if(this.cursor.from>n){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let a=this.cursor.value;if(!a.point)this.addActive(t),this.cursor.fromn&&r++,this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from=0&&!(this.activeRank[t]n||this.activeTo[t]==n&&this.active[t].endSide>=this.point.endSide)&&i.push(this.active[t]);return i.reverse()}openEnd(n){let i=0;for(let t=this.activeTo.length-1;t>=0&&this.activeTo[t]>n;t--)i++;return i}}function Aw(e,n,i,t,r,s){e.goto(n),i.goto(t);let a=t+r,o=t,u=t-n;for(;;){let f=e.to+u-i.to||e.endSide-i.endSide,l=f<0?e.to+u:i.to,d=Math.min(l,a);if(e.point||i.point?e.point&&i.point&&(e.point==i.point||e.point.eq(i.point))&&um(e.activeForPoint(e.to+u),i.activeForPoint(i.to))||s.comparePoint(o,d,e.point,i.point):d>o&&!um(e.active,i.active)&&s.compareRange(o,d,e.active,i.active),l>a)break;o=l,f<=0&&e.next(),f>=0&&i.next()}}function um(e,n){if(e.length!=n.length)return!1;for(let i=0;i=n;t--)e[t+1]=e[t];e[n]=i}function Mw(e,n){let i=-1,t=1e9;for(let r=0;r",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},Bw=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent);typeof navigator<"u"&&/Apple Computer/.test(navigator.vendor);var QP=typeof navigator<"u"&&/Gecko\/\d+/.test(navigator.userAgent),xw=typeof navigator<"u"&&/Mac/.test(navigator.platform);typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Bw&&(xw||+Bw[1]<57);for(var _n=0;_n<10;_n++)Ja[48+_n]=Ja[96+_n]=String(_n);for(var _n=1;_n<=24;_n++)Ja[_n+111]="F"+_n;for(var _n=65;_n<=90;_n++)Ja[_n]=String.fromCharCode(_n+32),fm[_n]=String.fromCharCode(_n);for(var lm in Ja)fm.hasOwnProperty(lm)||(fm[lm]=Ja[lm]);function ZP(e){let n;return e.nodeType==11?n=e.getSelection?e:e.ownerDocument:n=e,n.getSelection()}function $w(e){return e.nodeType==3?Iw(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function Tw(e){for(var n=0;;n++)if(e=e.previousSibling,!e)return n}function XP(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}const Pw={left:0,right:0,top:0,bottom:0};function dm(e,n){let i=n?e.left:e.right;return{left:i,right:i,top:e.top,bottom:e.bottom}}let Qa=null;function eO(e){if(e.setActive)return e.setActive();if(Qa)return e.focus(Qa);let n=[];for(let i=e;i&&(n.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(e.focus(Qa==null?{get preventScroll(){return Qa={preventScroll:!0},!0}}:void 0),!Qa){Qa=!1;for(let i=0;ii)return d.domBoundsAround(n,i,f);if(c>=n&&r==-1&&(r=u,s=f),f>i&&d.dom.parentNode==this.dom){a=u,o=l;break}l=c,f=c+d.breakAfter}return{from:s,to:o<0?t+this.length:o,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a=0?this.children[a].dom:null}}markDirty(n=!1){this.dirty|=2,this.markParentsDirty(n)}markParentsDirty(n){for(let i=this.parent;i;i=i.parent){if(n&&(i.dirty|=2),i.dirty&1)return;i.dirty|=1,n=!1}}setParent(n){this.parent!=n&&(this.parent=n,this.dirty&&this.markParentsDirty(!0))}setDOM(n){this.dom&&(this.dom.cmView=null),this.dom=n,n.cmView=this}get rootView(){for(let n=this;;){let i=n.parent;if(!i)return n;n=i}}replaceChildren(n,i,t=Lw){this.markDirty();for(let r=n;rthis.pos||n==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=n-this.pos,this;let t=this.children[--this.i];this.pos-=t.length+t.breakAfter}}}function iO(e,n,i,t,r,s,a,o,u){let{children:f}=e,l=f.length?f[n]:null,d=s.length?s[s.length-1]:null,c=d?d.breakAfter:a;if(!(n==t&&l&&!a&&!c&&s.length<2&&l.merge(i,r,s.length?d:null,i==0,o,u))){if(t0&&(!a&&s.length&&l.merge(i,l.length,s[0],!1,o,0)?l.breakAfter=s.shift().breakAfter:(i2);var Vn={mac:Ww||/Mac/.test(Mi.platform),windows:/Win/.test(Mi.platform),linux:/Linux|X11/.test(Mi.platform),ie:Nd,ie_version:zw?cm.documentMode||6:mm?+mm[1]:hm?+hm[1]:0,gecko:Hw,gecko_version:Hw?+(/Firefox\/(\d+)/.exec(Mi.userAgent)||[0,0])[1]:0,chrome:!!pm,chrome_version:pm?+pm[1]:0,ios:Ww,android:/Android\b/.test(Mi.userAgent),webkit:Uw,safari:Vw,webkit_version:Uw?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:cm.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const tO=256;class Ks extends Xi{constructor(n){super(),this.text=n}get length(){return this.text.length}createDOM(n){this.setDOM(n||document.createTextNode(this.text))}sync(n){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(n&&n.node==this.dom&&(n.written=!0),this.dom.nodeValue=this.text)}reuseDOM(n){n.nodeType==3&&this.createDOM(n)}merge(n,i,t){return t&&(!(t instanceof Ks)||this.length-(i-n)+t.length>tO)?!1:(this.text=this.text.slice(0,n)+(t?t.text:"")+this.text.slice(i),this.markDirty(),!0)}split(n){let i=new Ks(this.text.slice(n));return this.text=this.text.slice(0,n),this.markDirty(),i}localPosFromDOM(n,i){return n==this.dom?i:i?this.text.length:0}domAtPos(n){return new Pr(this.dom,n)}domBoundsAround(n,i,t){return{from:t,to:t+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(n,i){return rO(this.dom,n,i)}}class Ys extends Xi{constructor(n,i=[],t=0){super(),this.mark=n,this.children=i,this.length=t;for(let r of i)r.setParent(this)}setAttrs(n){if(Nw(n),this.mark.class&&(n.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)n.setAttribute(i,this.mark.attrs[i]);return n}reuseDOM(n){n.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(n),this.dirty|=6)}sync(n){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(n)}merge(n,i,t,r,s,a){return t&&(!(t instanceof Ys&&t.mark.eq(this.mark))||n&&s<=0||in&&i.push(t=n&&(r=s),t=u,s++}let a=this.length-n;return this.length=n,r>-1&&(this.children.length=r,this.markDirty()),new Ys(this.mark,i,a)}domAtPos(n){return qw(this,n)}coordsAt(n,i){return Yw(this,n,i)}}function rO(e,n,i){let t=e.nodeValue.length;n>t&&(n=t);let r=n,s=n,a=0;n==0&&i<0||n==t&&i>=0?Vn.chrome||Vn.gecko||(n?(r--,a=1):s=0)?0:o.length-1];return Vn.safari&&!a&&u.width==0&&(u=Array.prototype.find.call(o,f=>f.width)||u),a?dm(u,a<0):u||null}class Za extends Xi{constructor(n,i,t){super(),this.widget=n,this.length=i,this.side=t,this.prevWidget=null}static create(n,i,t){return new(n.customView||Za)(n,i,t)}split(n){let i=Za.create(this.widget,this.length-n,this.side);return this.length-=n,i}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(n,i,t,r,s,a){return t&&(!(t instanceof Za)||!this.widget.compare(t.widget)||n>0&&s<=0||i0?t.length-1:0;r=t[s],!(n>0?s==0:s==t.length-1||r.top0?-1:1);return n==0&&i>0||n==this.length&&i<=0?r:dm(r,n==0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Ld extends Xi{constructor(n){super(),this.side=n}get length(){return 0}merge(){return!1}become(n){return n instanceof Ld&&n.side==this.side}split(){return new Ld(this.side)}sync(){if(!this.dom){let n=document.createElement("img");n.className="cm-widgetBuffer",n.setAttribute("aria-hidden","true"),this.setDOM(n)}}getSide(){return this.side}domAtPos(n){return Pr.before(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(n){let i=this.dom.getBoundingClientRect(),t=sO(this,this.side>0?-1:1);return t&&t.topi.top?{left:i.left,right:i.right,top:t.top,bottom:t.bottom}:i}get overrideDOMText(){return Ze.empty}}Ks.prototype.children=Za.prototype.children=Ld.prototype.children=Lw;function sO(e,n){let i=e.parent,t=i?i.children.indexOf(e):-1;for(;i&&t>=0;)if(n<0?t>0:ts&&n0;s--){let a=t[s-1];if(a.dom.parentNode==i)return a.domAtPos(a.length)}for(let s=r;s0&&n instanceof Ys&&r.length&&(t=r[r.length-1])instanceof Ys&&t.mark.eq(n.mark)?Kw(t,n.children[0],i-1):(r.push(n),n.setParent(e)),e.length+=n.length}function Yw(e,n,i){for(let s=0,a=0;a0?u>=n:u>n)&&(n0)){let l=0;if(u==s){if(o.getSide()<=0)continue;l=i=-o.getSide()}let d=o.coordsAt(Math.max(0,n-s),i);return l&&d?dm(d,i<0):d}s=u}let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let r=$w(t);return r[r.length-1]||null}function Gw(e,n){for(let i in e)i=="class"&&n.class?n.class+=" "+e.class:i=="style"&&n.style?n.style+=";"+e.style:n[i]=e[i];return n}function Fm(e,n){if(e==n)return!0;if(!e||!n)return!1;let i=Object.keys(e),t=Object.keys(n);if(i.length!=t.length)return!1;for(let r of i)if(t.indexOf(r)==-1||e[r]!==n[r])return!1;return!0}function aO(e,n,i){let t=null;if(n)for(let r in n)i&&r in i||e.removeAttribute(t=r);if(i)for(let r in i)n&&n[r]==i[r]||e.setAttribute(t=r,i[r]);return!!t}var Xa=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(Xa||(Xa={}));class jd extends qs{constructor(n,i,t,r){super(),this.startSide=n,this.endSide=i,this.widget=t,this.spec=r}get heightRelevant(){return!1}static mark(n){return new Rd(n)}static widget(n){let i=n.side||0,t=!!n.block;return i+=t?i>0?3e8:-4e8:i>0?1e8:-1e8,new qu(n,i,i,t,n.widget||null,!1)}static replace(n){let i=!!n.block,t,r;if(n.isBlockGap)t=-5e8,r=4e8;else{let{start:s,end:a}=Jw(n,i);t=(s?i?-3e8:-1:5e8)-1,r=(a?i?2e8:1:-6e8)+1}return new qu(n,t,r,i,n.widget||null,!0)}static line(n){return new Wu(n)}static set(n,i=!1){return di.of(n,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}jd.none=di.empty;class Rd extends jd{constructor(n){let{start:i,end:t}=Jw(n);super(i?-1:5e8,t?1:-6e8,null,n),this.tagName=n.tagName||"span",this.class=n.class||"",this.attrs=n.attributes||null}eq(n){return this==n||n instanceof Rd&&this.tagName==n.tagName&&this.class==n.class&&Fm(this.attrs,n.attrs)}range(n,i=n){if(n>=i)throw new RangeError("Mark decorations may not be empty");return super.range(n,i)}}Rd.prototype.point=!1;class Wu extends jd{constructor(n){super(-2e8,-2e8,null,n)}eq(n){return n instanceof Wu&&Fm(this.spec.attributes,n.spec.attributes)}range(n,i=n){if(i!=n)throw new RangeError("Line decoration ranges must be zero-length");return super.range(n,i)}}Wu.prototype.mapMode=Ai.TrackBefore,Wu.prototype.point=!0;class qu extends jd{constructor(n,i,t,r,s,a){super(i,t,s,n),this.block=r,this.isReplace=a,this.mapMode=r?i<=0?Ai.TrackBefore:Ai.TrackAfter:Ai.TrackDel}get type(){return this.startSide=5}eq(n){return n instanceof qu&&oO(this.widget,n.widget)&&this.block==n.block&&this.startSide==n.startSide&&this.endSide==n.endSide}range(n,i=n){if(this.isReplace&&(n>i||n==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=n)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(n,i)}}qu.prototype.point=!0;function Jw(e,n=!1){let{inclusiveStart:i,inclusiveEnd:t}=e;return i==null&&(i=e.inclusive),t==null&&(t=e.inclusive),{start:i!=null?i:n,end:t!=null?t:n}}function oO(e,n){return e==n||!!(e&&n&&e.compare(n))}class eo extends Xi{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(n,i,t,r,s,a){if(t){if(!(t instanceof eo))return!1;this.dom||t.transferDOM(this)}return r&&this.setDeco(t?t.attrs:null),Rw(this,n,i,t?t.children:[],s,a),!0}split(n){let i=new eo;if(i.breakAfter=this.breakAfter,this.length==0)return i;let{i:t,off:r}=this.childPos(n);r&&(i.append(this.children[t].split(r),0),this.children[t].merge(r,this.children[t].length,null,!1,0,0),t++);for(let s=t;s0&&this.children[t-1].length==0;)this.children[--t].destroy();return this.children.length=t,this.markDirty(),this.length=n,i}transferDOM(n){!this.dom||(this.markDirty(),n.setDOM(this.dom),n.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(n){Fm(this.attrs,n)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=n)}append(n,i){Kw(this,n,i)}addLineDeco(n){let i=n.spec.attributes,t=n.spec.class;i&&(this.attrs=Gw(i,this.attrs||{})),t&&(this.attrs=Gw({class:t},this.attrs||{}))}domAtPos(n){return qw(this,n)}reuseDOM(n){n.nodeName=="DIV"&&(this.setDOM(n),this.dirty|=6)}sync(n){var i;this.dom?this.dirty&4&&(Nw(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(aO(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(n);let t=this.dom.lastChild;for(;t&&Xi.get(t)instanceof Ys;)t=t.lastChild;if(!t||!this.length||t.nodeName!="BR"&&((i=Xi.get(t))===null||i===void 0?void 0:i.isEditable)==!1&&(!Vn.ios||!this.children.some(r=>r instanceof Ks))){let r=document.createElement("BR");r.cmIgnore=!0,this.dom.appendChild(r)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let n=0;for(let i of this.children){if(!(i instanceof Ks)||/[^ -~]/.test(i.text))return null;let t=$w(i.dom);if(t.length!=1)return null;n+=t[0].width}return n?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:n/this.length}:null}coordsAt(n,i){return Yw(this,n,i)}become(n){return!1}get type(){return Xa.Text}static find(n,i){for(let t=0,r=0;t=i){if(s instanceof eo)return s;if(a>i)break}r=a+s.breakAfter}return null}}const uO=Un.define(),fO=Un.define(),lO=Un.define();var zd=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(zd||(zd={}));zd.LTR,zd.RTL;const Qw=Object.create(null);for(let e of["()","[]","{}"]){let n=e.charCodeAt(0),i=e.charCodeAt(1);Qw[n]=i,Qw[i]=-n}function dO(e,n,i=1){let t=e.charCategorizer(n),r=e.doc.lineAt(n),s=n-r.from;if(r.length==0)return Ce.cursor(n);s==0?i=1:s==r.length&&(i=-1);let a=s,o=s;i<0?a=Ka(r.text,s,!1):o=Ka(r.text,s);let u=t(r.text.slice(a,o));for(;a>0;){let f=Ka(r.text,a,!1);if(t(r.text.slice(f,a))!=u)break;a=f}for(;othis.select(this.lastEvent),20)}}function pO(e,n){let i=e.state.facet(uO);return i.length?i[0](n):Vn.mac?n.metaKey:n.ctrlKey}function FO(e,n){let i=e.state.facet(fO);return i.length?i[0](n):Vn.mac?!n.altKey:!n.ctrlKey}function gO(e,n){let{main:i}=e.state.selection;if(i.empty)return!1;let t=ZP(e.root);if(!t||t.rangeCount==0)return!0;let r=t.getRangeAt(0).getClientRects();for(let s=0;s=n.clientX&&a.top<=n.clientY&&a.bottom>=n.clientY)return!0}return!1}const Wn=Object.create(null),Zw=Object.create(null),Xw=Vn.ie&&Vn.ie_version<15||Vn.ios&&Vn.webkit_version<604;function vO(e){let n=e.dom.parentNode;if(!n)return;let i=n.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{e.focus(),i.remove(),eb(e,i.value)},50)}function eb(e,n){let{state:i}=e,t,r=1,s=i.toText(n),a=s.lines==i.selection.ranges.length;if(vm!=null&&i.selection.ranges.every(o=>o.empty)&&vm==s.toString()){let o=-1;t=i.changeByRange(u=>{let f=i.doc.lineAt(u.from);if(f.from==o)return{range:u};o=f.from;let l=i.toText((a?s.line(r++).text:n)+i.lineBreak);return{changes:{from:f.from,insert:l},range:Ce.cursor(u.from+l.length)}})}else a?t=i.changeByRange(o=>{let u=s.line(r++);return{changes:{from:o.from,to:o.to,insert:u.text},range:Ce.cursor(o.from+u.length)}}):t=i.replaceSelection(s);e.dispatch(t,{userEvent:"input.paste",scrollIntoView:!0})}Wn.keydown=(e,n)=>{e.inputState.setSelectionOrigin("select"),n.keyCode==27?e.inputState.lastEscPress=Date.now():hO.indexOf(n.keyCode)<0&&(e.inputState.lastEscPress=0)},Wn.touchstart=(e,n)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},Wn.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},Zw.touchstart=Zw.touchmove={passive:!0},Wn.mousedown=(e,n)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3&&gm(n)==1)return;let i=null;for(let t of e.state.facet(lO))if(i=t(e,n),i)break;if(!i&&n.button==0&&(i=wO(e,n)),i){let t=e.root.activeElement!=e.contentDOM;t&&e.observer.ignore(()=>eO(e.contentDOM)),e.inputState.startMouseSelection(new mO(e,n,i,t))}};function nb(e,n,i,t){if(t==1)return Ce.cursor(n,i);if(t==2)return dO(e.state,n,i);{let r=eo.find(e.docView,n),s=e.state.doc.lineAt(r?r.posAtEnd:n),a=r?r.posAtStart:s.from,o=r?r.posAtEnd:s.to;return oe>=n.top&&e<=n.bottom,tb=(e,n,i)=>ib(n,i)&&e>=i.left&&e<=i.right;function yO(e,n,i,t){let r=eo.find(e.docView,n);if(!r)return 1;let s=n-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let a=r.coordsAt(s,-1);if(a&&tb(i,t,a))return-1;let o=r.coordsAt(s,1);return o&&tb(i,t,o)?1:a&&ib(t,a)?-1:1}function rb(e,n){let i=e.posAtCoords({x:n.clientX,y:n.clientY},!1);return{pos:i,bias:yO(e,i,n.clientX,n.clientY)}}const kO=Vn.ie&&Vn.ie_version<=11;let sb=null,ab=0,ob=0;function gm(e){if(!kO)return e.detail;let n=sb,i=ob;return sb=e,ob=Date.now(),ab=!n||i>Date.now()-400&&Math.abs(n.clientX-e.clientX)<2&&Math.abs(n.clientY-e.clientY)<2?(ab+1)%3:1}function wO(e,n){let i=rb(e,n),t=gm(n),r=e.state.selection,s=i,a=n;return{update(o){o.docChanged&&(i.pos=o.changes.mapPos(i.pos),r=r.map(o.changes),a=null)},get(o,u,f){let l;a&&o.clientX==a.clientX&&o.clientY==a.clientY?l=s:(l=s=rb(e,o),a=o);let d=nb(e,l.pos,l.bias,t);if(i.pos!=l.pos&&!u){let c=nb(e,i.pos,i.bias,t),h=Math.min(c.from,d.from),F=Math.max(c.to,d.to);d=h1&&r.ranges.some(c=>c.eq(d))?bO(r,d):f?r.addRange(d):Ce.create([d])}}}function bO(e,n){for(let i=0;;i++)if(e.ranges[i].eq(n))return Ce.create(e.ranges.slice(0,i).concat(e.ranges.slice(i+1)),e.mainIndex==i?0:e.mainIndex-(e.mainIndex>i?1:0))}Wn.dragstart=(e,n)=>{let{selection:{main:i}}=e.state,{mouseSelection:t}=e.inputState;t&&(t.dragging=i),n.dataTransfer&&(n.dataTransfer.setData("Text",e.state.sliceDoc(i.from,i.to)),n.dataTransfer.effectAllowed="copyMove")};function ub(e,n,i,t){if(!i)return;let r=e.posAtCoords({x:n.clientX,y:n.clientY},!1);n.preventDefault();let{mouseSelection:s}=e.inputState,a=t&&s&&s.dragging&&s.dragMove?{from:s.dragging.from,to:s.dragging.to}:null,o={from:r,insert:i},u=e.state.changes(a?[a,o]:o);e.focus(),e.dispatch({changes:u,selection:{anchor:u.mapPos(r,-1),head:u.mapPos(r,1)},userEvent:a?"move.drop":"input.drop"})}Wn.drop=(e,n)=>{if(!n.dataTransfer)return;if(e.state.readOnly)return n.preventDefault();let i=n.dataTransfer.files;if(i&&i.length){n.preventDefault();let t=Array(i.length),r=0,s=()=>{++r==i.length&&ub(e,n,t.filter(a=>a!=null).join(e.state.lineBreak),!1)};for(let a=0;a{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(t[a]=o.result),s()},o.readAsText(i[a])}}else ub(e,n,n.dataTransfer.getData("Text"),!0)},Wn.paste=(e,n)=>{if(e.state.readOnly)return n.preventDefault();e.observer.flush();let i=Xw?null:n.clipboardData;i?(eb(e,i.getData("text/plain")),n.preventDefault()):vO(e)};function _O(e,n){let i=e.dom.parentNode;if(!i)return;let t=i.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.value=n,t.focus(),t.selectionEnd=n.length,t.selectionStart=0,setTimeout(()=>{t.remove(),e.focus()},50)}function EO(e){let n=[],i=[],t=!1;for(let r of e.selection.ranges)r.empty||(n.push(e.sliceDoc(r.from,r.to)),i.push(r));if(!n.length){let r=-1;for(let{from:s}of e.selection.ranges){let a=e.doc.lineAt(s);a.number>r&&(n.push(a.text),i.push({from:a.from,to:Math.min(e.doc.length,a.to+1)})),r=a.number}t=!0}return{text:n.join(e.lineBreak),ranges:i,linewise:t}}let vm=null;Wn.copy=Wn.cut=(e,n)=>{let{text:i,ranges:t,linewise:r}=EO(e.state);if(!i&&!r)return;vm=r?i:null;let s=Xw?null:n.clipboardData;s?(n.preventDefault(),s.clearData(),s.setData("text/plain",i)):_O(e,i),n.type=="cut"&&!e.state.readOnly&&e.dispatch({changes:t,scrollIntoView:!0,userEvent:"delete.cut"})};function fb(e){setTimeout(()=>{e.hasFocus!=e.inputState.notifiedFocused&&e.update([])},10)}Wn.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),fb(e)},Wn.blur=e=>{e.observer.clearSelectionRange(),fb(e)},Wn.compositionstart=Wn.compositionupdate=e=>{e.inputState.compositionFirstChange==null&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0)},Wn.compositionend=e=>{e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionFirstChange=null,Vn.chrome&&Vn.android&&e.observer.flushSoon(),setTimeout(()=>{e.inputState.composing<0&&e.docView.compositionDeco.size&&e.update([])},50)},Wn.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},Wn.beforeinput=(e,n)=>{var i;let t;if(Vn.chrome&&Vn.android&&(t=cO.find(r=>r.inputType==n.inputType))&&(e.observer.delayAndroidKey(t.key,t.keyCode),t.key=="Backspace"||t.key=="Delete")){let r=((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}};class no extends qs{compare(n){return this==n||this.constructor==n.constructor&&this.eq(n)}eq(n){return!1}destroy(n){}}no.prototype.elementClass="",no.prototype.toDOM=void 0,no.prototype.mapMode=Ai.TrackBefore,no.prototype.startSide=no.prototype.endSide=-1,no.prototype.point=!0;const DO=1024;let CO=0;class Xe{constructor(n={}){this.id=CO++,this.perNode=!!n.perNode,this.deserialize=n.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(n){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof n!="function"&&(n=et.match(n)),i=>{let t=n(i);return t===void 0?null:[this,t]}}}Xe.closedBy=new Xe({deserialize:e=>e.split(" ")}),Xe.openedBy=new Xe({deserialize:e=>e.split(" ")}),Xe.group=new Xe({deserialize:e=>e.split(" ")}),Xe.contextHash=new Xe({perNode:!0}),Xe.lookAhead=new Xe({perNode:!0}),Xe.mounted=new Xe({perNode:!0});const SO=Object.create(null);class et{constructor(n,i,t,r=0){this.name=n,this.props=i,this.id=t,this.flags=r}static define(n){let i=n.props&&n.props.length?Object.create(null):SO,t=(n.top?1:0)|(n.skipped?2:0)|(n.error?4:0)|(n.name==null?8:0),r=new et(n.name||"",i,n.id,t);if(n.props){for(let s of n.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[s[0].id]=s[1]}}return r}prop(n){return this.props[n.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(n){if(typeof n=="string"){if(this.name==n)return!0;let i=this.prop(Xe.group);return i?i.indexOf(n)>-1:!1}return this.id==n}static match(n){let i=Object.create(null);for(let t in n)for(let r of t.split(" "))i[r]=n[t];return t=>{for(let r=t.prop(Xe.group),s=-1;s<(r?r.length:0);s++){let a=i[s<0?t.name:r[s]];if(a)return a}}}}et.none=new et("",Object.create(null),0,8);const Hd=new WeakMap,lb=new WeakMap;var ii;(function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"})(ii||(ii={}));class vt{constructor(n,i,t,r,s){if(this.type=n,this.children=i,this.positions=t,this.length=r,this.props=null,s&&s.length){this.props=Object.create(null);for(let[a,o]of s)this.props[typeof a=="number"?a:a.id]=o}}toString(){let n=this.prop(Xe.mounted);if(n&&!n.overlay)return n.tree.toString();let i="";for(let t of this.children){let r=t.toString();r&&(i&&(i+=","),i+=r)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(i.length?"("+i+")":""):i}cursor(n=0){return new Wd(this.topNode,n)}cursorAt(n,i=0,t=0){let r=Hd.get(this)||this.topNode,s=new Wd(r);return s.moveTo(n,i),Hd.set(this,s._tree),s}get topNode(){return new Ht(this,0,0,null)}resolve(n,i=0){let t=io(Hd.get(this)||this.topNode,n,i,!1);return Hd.set(this,t),t}resolveInner(n,i=0){let t=io(lb.get(this)||this.topNode,n,i,!0);return lb.set(this,t),t}iterate(n){let{enter:i,leave:t,from:r=0,to:s=this.length}=n;for(let a=this.cursor((n.mode||0)|ii.IncludeAnonymous);;){let o=!1;if(a.from<=s&&a.to>=r&&(a.type.isAnonymous||i(a)!==!1)){if(a.firstChild())continue;o=!0}for(;o&&t&&!a.type.isAnonymous&&t(a),!a.nextSibling();){if(!a.parent())return;o=!0}}}prop(n){return n.perNode?this.props?this.props[n.id]:void 0:this.type.prop(n)}get propValues(){let n=[];if(this.props)for(let i in this.props)n.push([+i,this.props[i]]);return n}balance(n={}){return this.children.length<=8?this:wm(et.none,this.children,this.positions,0,this.children.length,0,this.length,(i,t,r)=>new vt(this.type,i,t,r,this.propValues),n.makeTree||((i,t,r)=>new vt(et.none,i,t,r)))}static build(n){return MO(n)}}vt.empty=new vt(et.none,[],[],0);class ym{constructor(n,i){this.buffer=n,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new ym(this.buffer,this.index)}}class Gs{constructor(n,i,t){this.buffer=n,this.length=i,this.set=t}get type(){return et.none}toString(){let n=[];for(let i=0;i0));u=a[u+3]);return o}slice(n,i,t,r){let s=this.buffer,a=new Uint16Array(i-n);for(let o=n,u=0;o=n&&in;case 1:return i<=n&&t>n;case 2:return t>n;case 4:return!0}}function cb(e,n){let i=e.childBefore(n);for(;i;){let t=i.lastChild;if(!t||t.to!=i.to)break;t.type.isError&&t.from==t.to?(e=i,i=t.prevSibling):i=t}return e}function io(e,n,i,t){for(var r;e.from==e.to||(i<1?e.from>=n:e.from>n)||(i>-1?e.to<=n:e.to0?o.length:-1;n!=f;n+=i){let l=o[n],d=u[n]+a.from;if(db(r,t,d,d+l.length)){if(l instanceof Gs){if(s&ii.ExcludeBuffers)continue;let c=l.findChild(0,l.buffer.length,i,t-d,r);if(c>-1)return new Or(new AO(a,l,n,d),null,c)}else if(s&ii.IncludeAnonymous||!l.type.isAnonymous||km(l)){let c;if(!(s&ii.IgnoreMounts)&&l.props&&(c=l.prop(Xe.mounted))&&!c.overlay)return new Ht(c.tree,d,n,a);let h=new Ht(l,d,n,a);return s&ii.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(i<0?l.children.length-1:0,i,t,r)}}}if(s&ii.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?n=a.index+i:n=i<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(n){return this.nextChild(0,1,n,2)}childBefore(n){return this.nextChild(this._tree.children.length-1,-1,n,-2)}enter(n,i,t=0){let r;if(!(t&ii.IgnoreOverlays)&&(r=this._tree.prop(Xe.mounted))&&r.overlay){let s=n-this.from;for(let{from:a,to:o}of r.overlay)if((i>0?a<=s:a=s:o>s))return new Ht(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,n,i,t)}nextSignificantParent(){let n=this;for(;n.type.isAnonymous&&n._parent;)n=n._parent;return n}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(n=0){return new Wd(this,n)}get tree(){return this._tree}toTree(){return this._tree}resolve(n,i=0){return io(this,n,i,!1)}resolveInner(n,i=0){return io(this,n,i,!0)}enterUnfinishedNodesBefore(n){return cb(this,n)}getChild(n,i=null,t=null){let r=Ud(this,n,i,t);return r.length?r[0]:null}getChildren(n,i=null,t=null){return Ud(this,n,i,t)}toString(){return this._tree.toString()}get node(){return this}matchContext(n){return Vd(this,n)}}function Ud(e,n,i,t){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(i!=null){for(;!r.type.is(i);)if(!r.nextSibling())return s}for(;;){if(t!=null&&r.type.is(t))return s;if(r.type.is(n)&&s.push(r.node),!r.nextSibling())return t==null?s:[]}}function Vd(e,n,i=n.length-1){for(let t=e.parent;i>=0;t=t.parent){if(!t)return!1;if(!t.type.isAnonymous){if(n[i]&&n[i]!=t.name)return!1;i--}}return!0}class AO{constructor(n,i,t,r){this.parent=n,this.buffer=i,this.index=t,this.start=r}}class Or{constructor(n,i,t){this.context=n,this._parent=i,this.index=t,this.type=n.buffer.set.types[n.buffer.buffer[t]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(n,i,t){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],n,i-this.context.start,t);return s<0?null:new Or(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(n){return this.child(1,n,2)}childBefore(n){return this.child(-1,n,-2)}enter(n,i,t=0){if(t&ii.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,n-this.context.start,i);return s<0?null:new Or(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(n){return this._parent?null:this.context.parent.nextChild(this.context.index+n,n,0,4)}get nextSibling(){let{buffer:n}=this.context,i=n.buffer[this.index+3];return i<(this._parent?n.buffer[this._parent.index+3]:n.buffer.length)?new Or(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:n}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new Or(this.context,this._parent,n.findChild(i,this.index,-1,0,4))}cursor(n=0){return new Wd(this,n)}get tree(){return null}toTree(){let n=[],i=[],{buffer:t}=this.context,r=this.index+4,s=t.buffer[this.index+3];if(s>r){let a=t.buffer[this.index+1],o=t.buffer[this.index+2];n.push(t.slice(r,s,a,o)),i.push(0)}return new vt(this.type,n,i,this.to-this.from)}resolve(n,i=0){return io(this,n,i,!1)}resolveInner(n,i=0){return io(this,n,i,!0)}enterUnfinishedNodesBefore(n){return cb(this,n)}toString(){return this.context.buffer.childString(this.index)}getChild(n,i=null,t=null){let r=Ud(this,n,i,t);return r.length?r[0]:null}getChildren(n,i=null,t=null){return Ud(this,n,i,t)}get node(){return this}matchContext(n){return Vd(this,n)}}class Wd{constructor(n,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,n instanceof Ht)this.yieldNode(n);else{this._tree=n.context.parent,this.buffer=n.context;for(let t=n._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=n,this.yieldBuf(n.index)}}get name(){return this.type.name}yieldNode(n){return n?(this._tree=n,this.type=n.type,this.from=n.from,this.to=n.to,!0):!1}yieldBuf(n,i){this.index=n;let{start:t,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[n]],this.from=t+r.buffer[n+1],this.to=t+r.buffer[n+2],!0}yield(n){return n?n instanceof Ht?(this.buffer=null,this.yieldNode(n)):(this.buffer=n.context,this.yieldBuf(n.index,n.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(n,i,t){if(!this.buffer)return this.yield(this._tree.nextChild(n<0?this._tree._tree.children.length-1:0,n,i,t,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],n,i-this.buffer.start,t);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(n){return this.enterChild(1,n,2)}childBefore(n){return this.enterChild(-1,n,-2)}enter(n,i,t=this.mode){return this.buffer?t&ii.ExcludeBuffers?!1:this.enterChild(1,n,i):this.yield(this._tree.enter(n,i,t))}parent(){if(!this.buffer)return this.yieldNode(this.mode&ii.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let n=this.mode&ii.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(n)}sibling(n){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+n,n,0,4,this.mode)):!1;let{buffer:i}=this.buffer,t=this.stack.length-1;if(n<0){let r=t<0?0:this.stack[t]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(t<0?i.buffer.length:i.buffer[this.stack[t]+3]))return this.yieldBuf(r)}return t<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+n,n,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(n){let i,t,{buffer:r}=this;if(r){if(n>0){if(this.index-1)for(let s=i+n,a=n<0?-1:t._tree.children.length;s!=a;s+=n){let o=t._tree.children[s];if(this.mode&ii.IncludeAnonymous||o instanceof Gs||!o.type.isAnonymous||km(o))return!1}return!0}move(n,i){if(i&&this.enterChild(n,0,4))return!0;for(;;){if(this.sibling(n))return!0;if(this.atLastNode(n)||!this.parent())return!1}}next(n=!0){return this.move(1,n)}prev(n=!0){return this.move(-1,n)}moveTo(n,i=0){for(;(this.from==this.to||(i<1?this.from>=n:this.from>n)||(i>-1?this.to<=n:this.to=0;){for(let a=n;a;a=a._parent)if(a.index==r){if(r==this.index)return a;i=a,t=s+1;break e}r=this.stack[--s]}}for(let r=t;r=0;s--){if(s<0)return Vd(this.node,n,r);let a=t[i.buffer[this.stack[s]]];if(!a.isAnonymous){if(n[r]&&n[r]!=a.name)return!1;r--}}return!0}}function km(e){return e.children.some(n=>n instanceof Gs||!n.type.isAnonymous||km(n))}function MO(e){var n;let{buffer:i,nodeSet:t,maxBufferLength:r=DO,reused:s=[],minRepeatType:a=t.types.length}=e,o=Array.isArray(i)?new ym(i,i.length):i,u=t.types,f=0,l=0;function d(w,D,E,C,b){let{id:S,start:A,end:T,size:$}=o,z=l;for(;$<0;)if(o.next(),$==-1){let X=s[S];E.push(X),C.push(A-w);return}else if($==-3){f=S;return}else if($==-4){l=S;return}else throw new RangeError(`Unrecognized record size: ${$}`);let I=u[S],Z,J,oe=A-w;if(T-A<=r&&(J=v(o.pos-D,b))){let X=new Uint16Array(J.size-J.skip),be=o.pos-J.size,gn=X.length;for(;o.pos>be;)gn=y(J.start,X,gn);Z=new Gs(X,T-J.start,t),oe=J.start-w}else{let X=o.pos-$;o.next();let be=[],gn=[],tn=S>=a?S:-1,We=0,Yn=T;for(;o.pos>X;)tn>=0&&o.id==tn&&o.size>=0?(o.end<=Yn-r&&(h(be,gn,A,We,o.end,Yn,tn,z),We=be.length,Yn=o.end),o.next()):d(A,X,be,gn,tn);if(tn>=0&&We>0&&We-1&&We>0){let ia=c(I);Z=wm(I,be,gn,0,be.length,0,T-A,ia,ia)}else Z=F(I,be,gn,T-A,z-T)}E.push(Z),C.push(oe)}function c(w){return(D,E,C)=>{let b=0,S=D.length-1,A,T;if(S>=0&&(A=D[S])instanceof vt){if(!S&&A.type==w&&A.length==C)return A;(T=A.prop(Xe.lookAhead))&&(b=E[S]+A.length+T)}return F(w,D,E,C,b)}}function h(w,D,E,C,b,S,A,T){let $=[],z=[];for(;w.length>C;)$.push(w.pop()),z.push(D.pop()+E-b);w.push(F(t.types[A],$,z,S-b,T-S)),D.push(b-E)}function F(w,D,E,C,b=0,S){if(f){let A=[Xe.contextHash,f];S=S?[A].concat(S):[A]}if(b>25){let A=[Xe.lookAhead,b];S=S?[A].concat(S):[A]}return new vt(w,D,E,C,S)}function v(w,D){let E=o.fork(),C=0,b=0,S=0,A=E.end-r,T={size:0,start:0,skip:0};e:for(let $=E.pos-w;E.pos>$;){let z=E.size;if(E.id==D&&z>=0){T.size=C,T.start=b,T.skip=S,S+=4,C+=4,E.next();continue}let I=E.pos-z;if(z<0||I<$||E.start=a?4:0,J=E.start;for(E.next();E.pos>I;){if(E.size<0)if(E.size==-3)Z+=4;else break e;else E.id>=a&&(Z+=4);E.next()}b=J,C+=z,S+=Z}return(D<0||C==w)&&(T.size=C,T.start=b,T.skip=S),T.size>4?T:void 0}function y(w,D,E){let{id:C,start:b,end:S,size:A}=o;if(o.next(),A>=0&&C4){let $=o.pos-(A-4);for(;o.pos>$;)E=y(w,D,E)}D[--E]=T,D[--E]=S-w,D[--E]=b-w,D[--E]=C}else A==-3?f=C:A==-4&&(l=C);return E}let p=[],m=[];for(;o.pos>0;)d(e.start||0,e.bufferStart||0,p,m,-1);let k=(n=e.length)!==null&&n!==void 0?n:p.length?m[0]+p[0].length:0;return new vt(u[e.topID],p.reverse(),m.reverse(),k)}const hb=new WeakMap;function qd(e,n){if(!e.isAnonymous||n instanceof Gs||n.type!=e)return 1;let i=hb.get(n);if(i==null){i=1;for(let t of n.children){if(t.type!=e||!(t instanceof vt)){i=1;break}i+=qd(e,t)}hb.set(n,i)}return i}function wm(e,n,i,t,r,s,a,o,u){let f=0;for(let F=t;F=l)break;E+=C}if(k==w+1){if(E>l){let C=F[w];h(C.children,C.positions,0,C.children.length,v[w]+m);continue}d.push(F[w])}else{let C=v[k-1]+F[k-1].length-D;d.push(wm(e,F,v,w,k,D,C,null,u))}c.push(D+m-s)}}return h(n,i,t,r,0),(o||u)(d,c,a)}new Xe({perNode:!0});let BO=0;class yt{constructor(n,i,t){this.set=n,this.base=i,this.modified=t,this.id=BO++}static define(n){if(n!=null&&n.base)throw new Error("Can not derive from a modified tag");let i=new yt([],null,[]);if(i.set.push(i),n)for(let t of n.set)i.set.push(t);return i}static defineModifier(){let n=new Kd;return i=>i.modified.indexOf(n)>-1?i:Kd.get(i.base||i,i.modified.concat(n).sort((t,r)=>t.id-r.id))}}let xO=0;class Kd{constructor(){this.instances=[],this.id=xO++}static get(n,i){if(!i.length)return n;let t=i[0].instances.find(o=>o.base==n&&$O(i,o.modified));if(t)return t;let r=[],s=new yt(r,n,i);for(let o of i)o.instances.push(s);let a=mb(i);for(let o of n.set)for(let u of a)r.push(Kd.get(o,u));return s}}function $O(e,n){return e.length==n.length&&e.every((i,t)=>i==n[t])}function mb(e){let n=[e];for(let i=0;i0&&d+3==r.length){a=1;break}let c=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!c)throw new RangeError("Invalid path: "+r);if(s.push(c[0]=="*"?"":c[0][0]=='"'?JSON.parse(c[0]):c[0]),d+=c[0].length,d==r.length)break;let h=r[d++];if(d==r.length&&h=="!"){a=0;break}if(h!="/")throw new RangeError("Invalid path: "+r);o=r.slice(d)}let u=s.length-1,f=s[u];if(!f)throw new RangeError("Invalid path: "+r);let l=new OO(t,a,u>0?s.slice(0,u):null);n[f]=l.sort(n[f])}}return PO.add(n)}const PO=new Xe;class OO{constructor(n,i,t,r){this.tags=n,this.mode=i,this.context=t,this.next=r}sort(n){return!n||n.depth{let a=r;for(let o of s)for(let u of o.set){let f=i[u.id];if(f){a=a?a+" "+f:f;break}}return a},scope:t}}const Q=yt.define,Yd=Q(),Ir=Q(),pb=Q(Ir),Fb=Q(Ir),Nr=Q(),Gd=Q(Nr),bm=Q(Nr),kt=Q(),Js=Q(kt),wt=Q(),bt=Q(),_m=Q(),Ku=Q(_m),Jd=Q(),we={comment:Yd,lineComment:Q(Yd),blockComment:Q(Yd),docComment:Q(Yd),name:Ir,variableName:Q(Ir),typeName:pb,tagName:Q(pb),propertyName:Fb,attributeName:Q(Fb),className:Q(Ir),labelName:Q(Ir),namespace:Q(Ir),macroName:Q(Ir),literal:Nr,string:Gd,docString:Q(Gd),character:Q(Gd),attributeValue:Q(Gd),number:bm,integer:Q(bm),float:Q(bm),bool:Q(Nr),regexp:Q(Nr),escape:Q(Nr),color:Q(Nr),url:Q(Nr),keyword:wt,self:Q(wt),null:Q(wt),atom:Q(wt),unit:Q(wt),modifier:Q(wt),operatorKeyword:Q(wt),controlKeyword:Q(wt),definitionKeyword:Q(wt),moduleKeyword:Q(wt),operator:bt,derefOperator:Q(bt),arithmeticOperator:Q(bt),logicOperator:Q(bt),bitwiseOperator:Q(bt),compareOperator:Q(bt),updateOperator:Q(bt),definitionOperator:Q(bt),typeOperator:Q(bt),controlOperator:Q(bt),punctuation:_m,separator:Q(_m),bracket:Ku,angleBracket:Q(Ku),squareBracket:Q(Ku),paren:Q(Ku),brace:Q(Ku),content:kt,heading:Js,heading1:Q(Js),heading2:Q(Js),heading3:Q(Js),heading4:Q(Js),heading5:Q(Js),heading6:Q(Js),contentSeparator:Q(kt),list:Q(kt),quote:Q(kt),emphasis:Q(kt),strong:Q(kt),link:Q(kt),monospace:Q(kt),strikethrough:Q(kt),inserted:Q(),deleted:Q(),changed:Q(),invalid:Q(),meta:Jd,documentMeta:Q(Jd),annotation:Q(Jd),processingInstruction:Q(Jd),definition:yt.defineModifier(),constant:yt.defineModifier(),function:yt.defineModifier(),standard:yt.defineModifier(),local:yt.defineModifier(),special:yt.defineModifier()};IO([{tag:we.link,class:"tok-link"},{tag:we.heading,class:"tok-heading"},{tag:we.emphasis,class:"tok-emphasis"},{tag:we.strong,class:"tok-strong"},{tag:we.keyword,class:"tok-keyword"},{tag:we.atom,class:"tok-atom"},{tag:we.bool,class:"tok-bool"},{tag:we.url,class:"tok-url"},{tag:we.labelName,class:"tok-labelName"},{tag:we.inserted,class:"tok-inserted"},{tag:we.deleted,class:"tok-deleted"},{tag:we.literal,class:"tok-literal"},{tag:we.string,class:"tok-string"},{tag:we.number,class:"tok-number"},{tag:[we.regexp,we.escape,we.special(we.string)],class:"tok-string2"},{tag:we.variableName,class:"tok-variableName"},{tag:we.local(we.variableName),class:"tok-variableName tok-local"},{tag:we.definition(we.variableName),class:"tok-variableName tok-definition"},{tag:we.special(we.variableName),class:"tok-variableName2"},{tag:we.definition(we.propertyName),class:"tok-propertyName tok-definition"},{tag:we.typeName,class:"tok-typeName"},{tag:we.namespace,class:"tok-namespace"},{tag:we.className,class:"tok-className"},{tag:we.macroName,class:"tok-macroName"},{tag:we.propertyName,class:"tok-propertyName"},{tag:we.operator,class:"tok-operator"},{tag:we.comment,class:"tok-comment"},{tag:we.meta,class:"tok-meta"},{tag:we.invalid,class:"tok-invalid"},{tag:we.punctuation,class:"tok-punctuation"}]);var Em;typeof navigator<"u"&&((Em=navigator.scheduling)===null||Em===void 0||Em.isInputPending);const NO=Object.create(null),gb=[et.none],vb=[],LO=Object.create(null);for(let[e,n]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])LO[e]=jO(NO,n);function Dm(e,n){vb.indexOf(e)>-1||(vb.push(e),console.warn(n))}function jO(e,n){let i=null;for(let s of n.split(".")){let a=e[s]||we[s];a?typeof a=="function"?i?i=a(i):Dm(s,`Modifier ${s} used at start of tag`):i?Dm(s,`Tag ${s} used as modifier`):i=a:Dm(s,`Unknown highlighting tag ${s}`)}if(!i)return 0;let t=n.replace(/ /g,"_"),r=et.define({id:gb.length,name:t,props:[TO({[t]:i})]});return gb.push(r),r.id}const yb=new class extends qs{};yb.startSide=1,yb.endSide=-1;var RO="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTguMDk1IDQ3NS43OTgiPgogIDxnPgogICAgPHBhdGgKICAgICAgZD0iTTU1NS41MzYsMzI4LjA0OWMtMTUuMjQzLTc2Ljg2Ni0xMDQuNTQ3LTEzOC4zLTEyMS45NjUtMjE4LjRDNDAxLjkxNCw3Ljc0LDI5Ny41Ny04LjM3MiwyMjkuNzY1LDM1Ljg4N2MtMTA3LjQzNyw3MC4xMjksNy4xNzYsODcuNTMyLTIwMy40NzMsMjUzLjQ1My01Mi4wMTQsNDAuOTY5LTM1LjQ0LDIyMS44MTcsMTI4LjE5MywxODAuMzEzLDg4LjA2LTIyLjMzNiwxMTQuODMtMjUuNDcsMTU0LjQ0LTI5LjE0OEM0MDguNzYzLDQzMS4yMzYsNTgxLjEyMyw0NTcuMDc5LDU1NS41MzYsMzI4LjA0OVoiCiAgICAgIGZpbGw9IiMzNjdjZmYiIG9wYWNpdHk9IjAuMSI+PC9wYXRoPgogICAgPGc+CiAgICAgIDxnPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNDM2LjI2NyAzNDcuMzE0IDI4MS45NTcgNDI4LjgxMyAxMjcuODggMzQ3LjMxNCAxMjcuODggMjI0LjI0NCA0MzYuMjY3IDIyNC4yNDQgNDM2LjI2NyAzNDcuMzE0IgogICAgICAgICAgICAgICAgIGZpbGw9IiNmZmYiPjwvcG9seWdvbj4KICAgICAgICA8cGF0aAogICAgICAgICAgZD0iTTI4MS45NTcsNDMwLjA2M2ExLjIzNywxLjIzNywwLDAsMS0uNTg1LS4xNDZMMTI3LjMsMzQ4LjQxOGExLjI0OSwxLjI0OSwwLDAsMS0uNjY2LTEuMVYyMjQuMjQ0YTEuMjUsMS4yNSwwLDAsMSwxLjI1LTEuMjVINDM2LjI2N2ExLjI1LDEuMjUsMCwwLDEsMS4yNSwxLjI1djEyMy4wN2ExLjI0OSwxLjI0OSwwLDAsMS0uNjY2LDEuMWwtMTU0LjMxLDgxLjVBMS4yNDQsMS4yNDQsMCwwLDEsMjgxLjk1Nyw0MzAuMDYzWm0tMTUyLjgyNy04My41TDI4MS45NTcsNDI3LjRsMTUzLjA2LTgwLjgzOVYyMjUuNDk0SDEyOS4xM1ptMzA3LjEzNy43NTNoMFoiCiAgICAgICAgICBmaWxsPSIjMjYyNjI2Ij48L3BhdGg+CiAgICAgIDwvZz4KICAgICAgPGc+CiAgICAgICAgPHBvbHlnb24gcG9pbnRzPSI0MzYuMjY3IDE5Ny44MzUgMjgxLjk1NyAxMTYuMzM2IDM1MS4yOTggODIuOTEzIDUwNS42MDggMTY0LjQxMyA0MzYuMjY3IDE5Ny44MzUiCiAgICAgICAgICAgICAgICAgZmlsbD0iI2ZmZiI+PC9wb2x5Z29uPgogICAgICAgIDxwYXRoCiAgICAgICAgICBkPSJNNDM2LjI2NywxOTkuMDg1YTEuMjU1LDEuMjU1LDAsMCwxLS41ODQtLjE0NGwtMTU0LjMxLTgxLjVhMS4yNTEsMS4yNTEsMCwwLDEsLjA0MS0yLjIzMmw2OS4zNDEtMzMuNDIzYTEuMjQ0LDEuMjQ0LDAsMCwxLDEuMTI3LjAyMWwxNTQuMzEsODEuNWExLjI1LDEuMjUsMCwwLDEtLjA0MSwyLjIzMUw0MzYuODEsMTk4Ljk2MUExLjI0NiwxLjI0NiwwLDAsMSw0MzYuMjY3LDE5OS4wODVabS0xNTEuNTM3LTgyLjcsMTUxLjU2Myw4MC4wNDgsNjYuNTQyLTMyLjA3M0wzNTEuMjcyLDg0LjMxNFoiCiAgICAgICAgICBmaWxsPSIjMjYyNjI2Ij48L3BhdGg+CiAgICAgIDwvZz4KICAgICAgPGc+CiAgICAgICAgPHBvbHlnb24gcG9pbnRzPSIxMjcuODggMTk3LjgzNSAyODIuMTkgMTE2LjMzNiAyMTIuODQ5IDgyLjkxMyA1OC41MzkgMTY0LjQxMyAxMjcuODggMTk3LjgzNSIKICAgICAgICAgICAgICAgICBmaWxsPSIjZmZmIj48L3BvbHlnb24+CiAgICAgICAgPHBhdGgKICAgICAgICAgIGQ9Ik0xMjcuODgsMTk5LjA4NWExLjI0OSwxLjI0OSwwLDAsMS0uNTQzLS4xMjRMNTgsMTY1LjUzOGExLjI1LDEuMjUsMCwwLDEtLjA0MS0yLjIzMWwxNTQuMzEtODEuNWExLjI0NCwxLjI0NCwwLDAsMSwxLjEyNy0uMDIxbDY5LjM0MSwzMy40MjNhMS4yNTEsMS4yNTEsMCwwLDEsLjA0MSwyLjIzMmwtMTU0LjMxLDgxLjVBMS4yNTIsMS4yNTIsMCwwLDEsMTI3Ljg4LDE5OS4wODVaTTYxLjMxMiwxNjQuMzYybDY2LjU0MiwzMi4wNzMsMTUxLjU2My04MC4wNDhMMjEyLjg3NSw4NC4zMTRaIgogICAgICAgICAgZmlsbD0iIzI2MjYyNiI+PC9wYXRoPgogICAgICA8L2c+CiAgICAgIDxnPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iMTI3Ljg4IDE5Ny44MzUgMjgyLjE5IDI3OS4zMzUgMjAyLjg0OSAzMjIuNzU3IDQ4LjUzOSAyNDEuMjU4IDEyNy44OCAxOTcuODM1IgogICAgICAgICAgICAgICAgIGZpbGw9IiNmZmYiPjwvcG9seWdvbj4KICAgICAgICA8cGF0aAogICAgICAgICAgZD0iTTIwMi44NDksMzI0LjAwN2ExLjI0NCwxLjI0NCwwLDAsMS0uNTg0LS4xNDVsLTE1NC4zMS04MS41YTEuMjUsMS4yNSwwLDAsMS0uMDE2LTIuMmw3OS4zNDEtNDMuNDIzYTEuMjQ2LDEuMjQ2LDAsMCwxLDEuMTg0LS4wMDhsMTU0LjMxLDgxLjVhMS4yNSwxLjI1LDAsMCwxLC4wMTYsMi4ybC03OS4zNDEsNDMuNDIzQTEuMjUxLDEuMjUxLDAsMCwxLDIwMi44NDksMzI0LjAwN1pNNTEuMTc5LDI0MS4yMzhsMTUxLjY1OSw4MC4xLDc2LjcxMy00MS45ODQtMTUxLjY2LTgwLjFaIgogICAgICAgICAgZmlsbD0iIzI2MjYyNiI+PC9wYXRoPgogICAgICA8L2c+CiAgICAgIDxnPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNDM2LjI2NyAxOTcuODM1IDI4MS45NTcgMjc5LjMzNSAzNjEuMjk4IDMyMi43NTcgNTE1LjYwOCAyNDEuMjU4IDQzNi4yNjcgMTk3LjgzNSIKICAgICAgICAgICAgICAgICBmaWxsPSIjZmZmIj48L3BvbHlnb24+CiAgICAgICAgPHBhdGgKICAgICAgICAgIGQ9Ik0zNjEuMywzMjQuMDA3YTEuMjU0LDEuMjU0LDAsMCwxLS42LS4xNTNsLTc5LjM0MS00My40MjNhMS4yNSwxLjI1LDAsMCwxLC4wMTYtMi4ybDE1NC4zMS04MS41YTEuMjQ2LDEuMjQ2LDAsMCwxLDEuMTg0LjAwOGw3OS4zNDEsNDMuNDIzYTEuMjUsMS4yNSwwLDAsMS0uMDE2LDIuMmwtMTU0LjMxLDgxLjVBMS4yNDQsMS4yNDQsMCwwLDEsMzYxLjMsMzI0LjAwN1ptLTc2LjctNDQuNjUzLDc2LjcxMiw0MS45ODQsMTUxLjY2LTgwLjEtNzYuNzEzLTQxLjk4NFoiCiAgICAgICAgICBmaWxsPSIjMjYyNjI2Ij48L3BhdGg+CiAgICAgIDwvZz4KICAgICAgPHBvbHlnb24gcG9pbnRzPSIyODIuMTkgMTE2LjMzNiAxMjcuODggMTk3LjgzNSAyODEuOTU3IDI3OS4zMzUgNDM2LjI2NyAxOTcuODM1IDI4Mi4xOSAxMTYuMzM2IgogICAgICAgICAgICAgICBmaWxsPSIjMjYyNjI2Ij48L3BvbHlnb24+CiAgICAgIDxyZWN0IHg9IjI4MC43MDciIHk9IjI3OS4zMzQiIHdpZHRoPSIyLjUiIGhlaWdodD0iMTQ5LjQ3OSIgZmlsbD0iIzI2MjYyNiI+PC9yZWN0PgogICAgPC9nPgogICAgPGc+CiAgICAgIDxwYXRoCiAgICAgICAgZD0iTTE5NS41LDE5MC40MzZhLjk5Ljk5LDAsMCwxLS41NzctLjE4NSwxLDEsMCwwLDEtLjIzOC0xLjM5NGMuMTg1LS4yNjEsMTguMjU4LTI2LjM4OS0xLjkxOC01MC4yMDlhMzguMDA2LDM4LjAwNiwwLDAsMC0yOS4wOTUtMTMuNTE2SDE2My40YzEuOTE2LDYuNjU2LDEuNTc0LDEyLjU3NC0xLjEzOSwxNy4xMTRhMTIuNjQ1LDEyLjY0NSwwLDAsMS0xMS42OCw2LjQyLDEwLjA0MSwxMC4wNDEsMCwwLDEtOC42NzktNi43NTJjLTIuMjE5LTUuNzg4LjEtMTEuNCw2LjIxMi0xNS4wMTdhMjkuNSwyOS41LDAsMCwxLDEyLjU4OS0zLjYyMSw1My4zLDUzLjMsMCwwLDAtNS41NjYtMTAuODIxYy03LjI4NS0xMS4xMjYtMjAuNTYyLTE4LjgyOC0zNi40MjgtMjEuMTMxLTEzLjQ0Ni0xLjk1MS0yNi4zMzIuMzQ3LTMyLjgzMyw1Ljg1M2ExLDEsMCwwLDEtMS4yOTItMS41MjdjNi45MTgtNS44NTksMjAuNDI1LTguMzM2LDM0LjQxMi02LjMsMTYuNDMzLDIuMzg2LDMwLjIxNSwxMC40MDksMzcuODE1LDIyLjAxNGE1NC4yODUsNTQuMjg1LDAsMCwxLDUuOTY4LDExLjgxNiwzOS45NzYsMzkuOTc2LDAsMCwxLDMxLjUwOSwxNC4xOGMyMS4xOTMsMjUuMDE5LDIuMjE3LDUyLjM4NSwyLjAyMyw1Mi42NTlBMSwxLDAsMCwxLDE5NS41LDE5MC40MzZabS0zNC4xNDgtNjUuMjMxYTI3LjgyNiwyNy44MjYsMCwwLDAtMTIuMjE1LDMuNDE0Yy01LjI3NiwzLjEyMi03LjIzLDcuNzA4LTUuMzYzLDEyLjU4YTguMTA4LDguMTA4LDAsMCwwLDYuOTg0LDUuNDc2LDEwLjY2OSwxMC42NjksMCwwLDAsOS43OTEtNS40NTRDMTYzLjAzOSwxMzcuMDUxLDE2My4yNjcsMTMxLjUwOCwxNjEuMzQ5LDEyNS4yMDVaIgogICAgICAgIGZpbGw9IiMyOTJhMmUiPjwvcGF0aD4KICAgICAgPGc+CiAgICAgICAgPHBhdGgKICAgICAgICAgIGQ9Ik02OC42MTcsMTEzLjNhNi44MDksNi44MDksMCwxLDEsLjY4NC0uMjQ2QTYuNjUyLDYuNjUyLDAsMCwxLDY4LjYxNywxMTMuM1ptLTMuMzI1LTExLjExMmE0LjY4OSw0LjY4OSwwLDAsMC0uNDc3LjE3Miw0Ljc5MSw0Ljc5MSwwLDEsMCwuNDc3LS4xNzJaIgogICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwYXRoCiAgICAgICAgICBkPSJNNjguNjA1LDk3LjYzYTYuOCw2LjgsMCwwLDEtOC4yMTYtMy44ODVoMGE2LjgsNi44LDAsMSwxLDguOSwzLjY0QTYuOTY0LDYuOTY0LDAsMCwxLDY4LjYwNSw5Ny42M1pNNjUuMjg0LDg2LjUxN2E0Ljg4OSw0Ljg4OSwwLDAsMC0uNDgzLjE3Myw0LjgsNC44LDAsMCwwLTIuNTY4LDYuMjgxaDBhNC44LDQuOCwwLDEsMCwzLjA1MS02LjQ1NVoiCiAgICAgICAgICBmaWxsPSIjMjkyYTJlIj48L3BhdGg+CiAgICAgICAgPGVsbGlwc2UgY3g9IjY2LjY2NCIgY3k9Ijk4Ljc2MyIgcng9IjguODkyIiByeT0iNS45MzkiIGZpbGw9IiNmZmYiPjwvZWxsaXBzZT4KICAgICAgICA8cGF0aAogICAgICAgICAgZD0iTTcwLjYsMTA1LjEzOWExMy43NTQsMTMuNzU0LDAsMCwxLTMuOTI3LjU2NGMtNS41NDgsMC05LjktMy4wNC05LjktNi45MzFzNC4zMzktNi45NDIsOS44ODUtNi45NDhhMTIuNDI0LDEyLjQyNCwwLDAsMSw2Ljg0NSwxLjksNS42NzYsNS42NzYsMCwwLDEsLjAwOSwxMC4wNjNBMTAuODcyLDEwLjg3MiwwLDAsMSw3MC42LDEwNS4xMzlaTTYzLjMzOCw5NC4zYy0yLjY3Mi44LTQuNTY2LDIuNTI3LTQuNTY1LDQuNDY3LDAsMi42NzcsMy42MTcsNC45MzYsNy45LDQuOTMyYTEwLjQxNywxMC40MTcsMCwwLDAsNS43MzItMS41NzYsMy43MDYsMy43MDYsMCwwLDAtLjAwNi02LjczNSwxMC40LDEwLjQsMCwwLDAtNS43MzQtMS41NjZBMTEuNjA3LDExLjYwNywwLDAsMCw2My4zMzgsOTQuM1oiCiAgICAgICAgICBmaWxsPSIjMjkyYTJlIj48L3BhdGg+CiAgICAgICAgPHBvbHlnb24gcG9pbnRzPSI2OC44NDUgMTA0LjUyMSA2OC42MzUgOTIuOTcxIDY1Ljc2MyA5Mi44NTUgNjUuNTYyIDEwNC42NTYgNjguODQ1IDEwNC41MjEiCiAgICAgICAgICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wb2x5Z29uPgogICAgICAgIDxjaXJjbGUgY3g9IjU0Ljg2NyIgY3k9IjEwMC4zNTgiIHI9IjAuOTE4IiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1NS41ODQiIGN5PSI5NS40NDYiIHI9IjAuOTE4IiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgPC9nPgogICAgPC9nPgogICAgPGc+CiAgICAgIDxwYXRoCiAgICAgICAgZD0iTTM1Mi42MjUsMTMyLjc2NmExLDEsMCwwLDEtLjk1Ni0uNzA3LDk5LjIzNiw5OS4yMzYsMCwwLDEtMi42MDYtMzguMDIxYzIuNTg1LTE4LjYsMTIuODQzLTQzLjAxMSw0Ny4wMy01My43YTg4LjM2NCw4OC4zNjQsMCwwLDEsMTQuNzQ4LTMuMzgxYzEuNjExLTEwLjA2MSw3LjczOS0yMC45NzUsMjEuNDQ0LTI4LjUwNSwzMi41NjItMTcuODkyLDU0LjU1Ny0xLjgzOSw1NC43NzUtMS42NzVhMSwxLDAsMCwxLTEuMiwxLjZjLS4yMDgtLjE1Ni0yMS4yMjgtMTUuNDE3LTUyLjYxMSwxLjgyOS0xMi44MDYsNy4wMzctMTguNjY4LDE3LjEzNy0yMC4zMzUsMjYuNTEzLDE1LjA3OS0xLjQ4NSwyMi4zLDMuNTQ1LDI1LjU0MSw3LjM0NEExNS40ODgsMTUuNDg4LDAsMCwxLDQ0MC43NjksNjFhMTIuMDk0LDEyLjA5NCwwLDAsMS0xMS44MzUsNi45MDljLTguNDIxLS40OTQtMTUuMzktNy41NzgtMTcuNzUyLTE4LjA0OGEzNC4wMywzNC4wMywwLDAsMS0uNjE0LTEwLjgsODUuNTMzLDg1LjUzMywwLDAsMC0xMy44NzcsMy4xOTFjLTI2LjY0NSw4LjMzMS00MiwyNS44NS00NS42NDgsNTIuMDY3YTk2Ljk4Niw5Ni45ODYsMCwwLDAsMi41MzgsMzcuMTYsMSwxLDAsMCwxLS45NTYsMS4yOTNabTU5Ljk4Mi05My45NTVhMzIuMDE0LDMyLjAxNCwwLDAsMCwuNTI2LDEwLjYwOWMyLjE2MSw5LjU3OCw4LjQwOSwxNi4wNTEsMTUuOTE4LDE2LjQ5MmExMC4xNzgsMTAuMTc4LDAsMCwwLDkuOTI4LTUuOCwxMy40OTQsMTMuNDk0LDAsMCwwLTIuMDQ4LTE0Ljc0OUM0MzIuMjU1LDM5Ljg3Niw0MjMuNzIyLDM3LjY2LDQxMi42MDcsMzguODExWiIKICAgICAgICBmaWxsPSIjMjkyYTJlIj48L3BhdGg+CiAgICAgIDxnPgogICAgICAgIDxwYXRoCiAgICAgICAgICBkPSJNNTEwLjM1NCwxNi44ODRhNy4xNDIsNy4xNDIsMCwxLDEsNi45OTQtOC42NTloMGE3LjE1Niw3LjE1NiwwLDAsMS02Ljk5NCw4LjY1OVpNNTEwLjM2OSw0LjZhNS4xNDEsNS4xNDEsMCwxLDAsNS4wMjQsNC4wNTFBNS4xMTEsNS4xMTEsMCwwLDAsNTEwLjM2OSw0LjZaIgogICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwYXRoCiAgICAgICAgICBkPSJNNTA3LjM0MywzMy4yMDVhNy4xNjIsNy4xNjIsMCwxLDEsMS41MjktLjE2NUE3LjE3MSw3LjE3MSwwLDAsMSw1MDcuMzQzLDMzLjIwNVptLjAyNS0xMi4yODVhNS4xNjQsNS4xNjQsMCwwLDAtMS4xLjExOSw1LjExMiw1LjExMiwwLDEsMCwxLjEtLjExOVoiCiAgICAgICAgICBmaWxsPSIjMjkyYTJlIj48L3BhdGg+CiAgICAgICAgPGVsbGlwc2UgY3g9IjUwOC44MjciIGN5PSIxOC4wOTgiIHJ4PSI2LjI4OSIgcnk9IjkuNDE2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzOTguNjkyIDUxNS4xOTIpIHJvdGF0ZSgtNzkuNTQ1KSIKICAgICAgICAgICAgICAgICBmaWxsPSIjZmZmIj48L2VsbGlwc2U+CiAgICAgICAgPHBhdGgKICAgICAgICAgIGQ9Ik01MTAuMiwyNS41MTZhMTQuOTY2LDE0Ljk2NiwwLDAsMS0yLjctLjI1LDEzLjEsMTMuMSwwLDAsMS02LjcyOS0zLjI4Niw2LjQxOSw2LjQxOSwwLDAsMS0yLjE5MS01Ljc3Miw2LjQyMiw2LjQyMiwwLDAsMSw0LjEwNy00LjYxLDEzLjk0NiwxMy45NDYsMCwwLDEsMTQuMTg3LDIuNjE4LDYuNDE5LDYuNDE5LDAsMCwxLDIuMTkxLDUuNzcyLDYuNDIyLDYuNDIyLDAsMCwxLTQuMTA3LDQuNjFBMTIuMDg4LDEyLjA4OCwwLDAsMSw1MTAuMiwyNS41MTZabS0yLjc2Mi0xMi44MzhhMTAuMDcyLDEwLjA3MiwwLDAsMC0zLjk2MS43NTcsNC41MDYsNC41MDYsMCwwLDAtMi45MywzLjEzNiw0LjUwNiw0LjUwNiwwLDAsMCwxLjYxOCwzLjk3NSwxMS45NjYsMTEuOTY2LDAsMCwwLDEyLDIuMjE1LDQuNTA2LDQuNTA2LDAsMCwwLDIuOTMtMy4xMzZoMGE0LjUsNC41LDAsMCwwLTEuNjE4LTMuOTc1LDExLjA4NCwxMS4wODQsMCwwLDAtNS43LTIuNzUzQTEyLjk1NywxMi45NTcsMCwwLDAsNTA3LjQ0MiwxMi42NzhaIgogICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNTA3LjY2OCAxMS42ODIgNTA1LjY1NyAyMy43NDggNTA4LjYyNCAyNC40MjQgNTExLjExMiAxMi4xNzUgNTA3LjY2OCAxMS42ODIiCiAgICAgICAgICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wb2x5Z29uPgogICAgICAgIDxjaXJjbGUgY3g9IjUxOS43MjMiIGN5PSIyMy42OTEiIHI9IjAuOTcyIiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1MjEuNDE3IiBjeT0iMTguNzE1IiByPSIwLjk3MiIgZmlsbD0iIzI5MmEyZSI+PC9jaXJjbGU+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=";const zO={class:"empty-wrapper"},HO={class:"empty-image h-32 w-32"},UO=["src"],VO={class:"empty-title"},WO={class:"empty-message"},qO={class:"empty-actions"};var kb=te({__name:"Empty",props:{title:null,message:null,image:null},setup(e){return(n,i)=>(ae(),ge("div",zO,[Y("div",HO,[hn(n.$slots,"image",{},()=>[Y("img",{src:e.image||q(RO),alt:"Empty"},null,8,UO)])]),Y("div",VO,cn(e.title),1),Y("div",WO,[hn(n.$slots,"message",{},()=>[ui(cn(e.message),1)])]),Y("div",qO,[hn(n.$slots,"actions")])]))}});let Qd;const KO=new Uint8Array(16);function YO(){if(!Qd&&(Qd=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Qd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Qd(KO)}const En=[];for(let e=0;e<256;++e)En.push((e+256).toString(16).slice(1));function GO(e,n=0){return(En[e[n+0]]+En[e[n+1]]+En[e[n+2]]+En[e[n+3]]+"-"+En[e[n+4]]+En[e[n+5]]+"-"+En[e[n+6]]+En[e[n+7]]+"-"+En[e[n+8]]+En[e[n+9]]+"-"+En[e[n+10]]+En[e[n+11]]+En[e[n+12]]+En[e[n+13]]+En[e[n+14]]+En[e[n+15]]).toLowerCase()}var wb={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function JO(e,n,i){if(wb.randomUUID&&!n&&!e)return wb.randomUUID();e=e||{};const t=e.random||(e.rng||YO)();if(t[6]=t[6]&15|64,t[8]=t[8]&63|128,n){i=i||0;for(let r=0;r<16;++r)n[i+r]=t[r];return n}return GO(t)}function QO(e){if(e.__esModule)return e;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(i){var t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,t.get?t:{enumerable:!0,get:function(){return e[i]}})}),n}var ZO=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},i=Symbol("test"),t=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(t)!=="[object Symbol]")return!1;var r=42;n[i]=r;for(i in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var s=Object.getOwnPropertySymbols(n);if(s.length!==1||s[0]!==i||!Object.prototype.propertyIsEnumerable.call(n,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(n,i);if(a.value!==r||a.enumerable!==!0)return!1}return!0},bb=typeof Symbol!="undefined"&&Symbol,XO=ZO,eI=function(){return typeof bb!="function"||typeof Symbol!="function"||typeof bb("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:XO()},nI="Function.prototype.bind called on incompatible ",Cm=Array.prototype.slice,iI=Object.prototype.toString,tI="[object Function]",rI=function(n){var i=this;if(typeof i!="function"||iI.call(i)!==tI)throw new TypeError(nI+i);for(var t=Cm.call(arguments,1),r,s=function(){if(this instanceof r){var l=i.apply(this,t.concat(Cm.call(arguments)));return Object(l)===l?l:this}else return i.apply(n,t.concat(Cm.call(arguments)))},a=Math.max(0,i.length-t.length),o=[],u=0;u1&&typeof i!="boolean")throw new ro('"allowMissing" argument must be a boolean');if(hI(/^%?[^%]*%?$/g,n)===null)throw new to("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=FI(n),r=t.length>0?t[0]:"",s=gI("%"+r+"%",i),a=s.name,o=s.value,u=!1,f=s.alias;f&&(r=f[0],cI(t,dI([0,1],f)));for(var l=1,d=!0;l=t.length){var v=Qs(o,c);d=!!v,d&&"get"in v&&!("originalValue"in v.get)?o=v.get:o=o[c]}else d=Zd(o,c),o=o[c];d&&!u&&(oo[a]=o)}}return o},Cb={exports:{}};(function(e){var n=Sm,i=Bm,t=i("%Function.prototype.apply%"),r=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(r,t),a=i("%Object.getOwnPropertyDescriptor%",!0),o=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(o)try{o({},"a",{value:1})}catch{o=null}e.exports=function(d){var c=s(n,r,arguments);if(a&&o){var h=a(c,"length");h.configurable&&o(c,"length",{value:1+u(0,d.length-(arguments.length-1))})}return c};var f=function(){return s(n,t,arguments)};o?o(e.exports,"apply",{value:f}):e.exports.apply=f})(Cb);var Sb=Bm,Ab=Cb.exports,vI=Ab(Sb("String.prototype.indexOf")),yI=function(n,i){var t=Sb(n,!!i);return typeof t=="function"&&vI(n,".prototype.")>-1?Ab(t):t},kI={},wI=Object.freeze(Object.defineProperty({__proto__:null,default:kI},Symbol.toStringTag,{value:"Module"})),bI=QO(wI),xm=typeof Map=="function"&&Map.prototype,$m=Object.getOwnPropertyDescriptor&&xm?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ec=xm&&$m&&typeof $m.get=="function"?$m.get:null,_I=xm&&Map.prototype.forEach,Tm=typeof Set=="function"&&Set.prototype,Pm=Object.getOwnPropertyDescriptor&&Tm?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,nc=Tm&&Pm&&typeof Pm.get=="function"?Pm.get:null,EI=Tm&&Set.prototype.forEach,DI=typeof WeakMap=="function"&&WeakMap.prototype,Gu=DI?WeakMap.prototype.has:null,CI=typeof WeakSet=="function"&&WeakSet.prototype,Ju=CI?WeakSet.prototype.has:null,SI=typeof WeakRef=="function"&&WeakRef.prototype,Mb=SI?WeakRef.prototype.deref:null,AI=Boolean.prototype.valueOf,MI=Object.prototype.toString,BI=Function.prototype.toString,xI=String.prototype.match,Om=String.prototype.slice,jr=String.prototype.replace,$I=String.prototype.toUpperCase,Bb=String.prototype.toLowerCase,xb=RegExp.prototype.test,$b=Array.prototype.concat,_t=Array.prototype.join,TI=Array.prototype.slice,Tb=Math.floor,Im=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Nm=Object.getOwnPropertySymbols,Lm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,uo=typeof Symbol=="function"&&typeof Symbol.iterator=="object",qn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===uo?"object":"symbol")?Symbol.toStringTag:null,Pb=Object.prototype.propertyIsEnumerable,Ob=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Ib(e,n){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||xb.call(/e/,n))return n;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var t=e<0?-Tb(-e):Tb(e);if(t!==e){var r=String(t),s=Om.call(n,r.length+1);return jr.call(r,i,"$&_")+"."+jr.call(jr.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return jr.call(n,i,"$&_")}var jm=bI,Nb=jm.custom,Lb=zb(Nb)?Nb:null,PI=function e(n,i,t,r){var s=i||{};if(Rr(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Rr(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=Rr(s,"customInspect")?s.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Rr(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Rr(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=s.numericSeparator;if(typeof n=="undefined")return"undefined";if(n===null)return"null";if(typeof n=="boolean")return n?"true":"false";if(typeof n=="string")return Ub(n,s);if(typeof n=="number"){if(n===0)return 1/0/n>0?"0":"-0";var u=String(n);return o?Ib(n,u):u}if(typeof n=="bigint"){var f=String(n)+"n";return o?Ib(n,f):f}var l=typeof s.depth=="undefined"?5:s.depth;if(typeof t=="undefined"&&(t=0),t>=l&&l>0&&typeof n=="object")return Rm(n)?"[Array]":"[Object]";var d=ZI(s,t);if(typeof r=="undefined")r=[];else if(Hb(r,n)>=0)return"[Circular]";function c(z,I,Z){if(I&&(r=TI.call(r),r.push(I)),Z){var J={depth:s.depth};return Rr(s,"quoteStyle")&&(J.quoteStyle=s.quoteStyle),e(z,J,t+1,r)}return e(z,s,t+1,r)}if(typeof n=="function"&&!Rb(n)){var h=UI(n),F=ic(n,c);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(F.length>0?" { "+_t.call(F,", ")+" }":"")}if(zb(n)){var v=uo?jr.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):Lm.call(n);return typeof n=="object"&&!uo?Qu(v):v}if(GI(n)){for(var y="<"+Bb.call(String(n.nodeName)),p=n.attributes||[],m=0;m",y}if(Rm(n)){if(n.length===0)return"[]";var k=ic(n,c);return d&&!QI(k)?"["+Hm(k,d)+"]":"[ "+_t.call(k,", ")+" ]"}if(NI(n)){var w=ic(n,c);return!("cause"in Error.prototype)&&"cause"in n&&!Pb.call(n,"cause")?"{ ["+String(n)+"] "+_t.call($b.call("[cause]: "+c(n.cause),w),", ")+" }":w.length===0?"["+String(n)+"]":"{ ["+String(n)+"] "+_t.call(w,", ")+" }"}if(typeof n=="object"&&a){if(Lb&&typeof n[Lb]=="function"&&jm)return jm(n,{depth:l-t});if(a!=="symbol"&&typeof n.inspect=="function")return n.inspect()}if(VI(n)){var D=[];return _I.call(n,function(z,I){D.push(c(I,n,!0)+" => "+c(z,n))}),Vb("Map",ec.call(n),D,d)}if(KI(n)){var E=[];return EI.call(n,function(z){E.push(c(z,n))}),Vb("Set",nc.call(n),E,d)}if(WI(n))return zm("WeakMap");if(YI(n))return zm("WeakSet");if(qI(n))return zm("WeakRef");if(jI(n))return Qu(c(Number(n)));if(zI(n))return Qu(c(Im.call(n)));if(RI(n))return Qu(AI.call(n));if(LI(n))return Qu(c(String(n)));if(!II(n)&&!Rb(n)){var C=ic(n,c),b=Ob?Ob(n)===Object.prototype:n instanceof Object||n.constructor===Object,S=n instanceof Object?"":"null prototype",A=!b&&qn&&Object(n)===n&&qn in n?Om.call(zr(n),8,-1):S?"Object":"",T=b||typeof n.constructor!="function"?"":n.constructor.name?n.constructor.name+" ":"",$=T+(A||S?"["+_t.call($b.call([],A||[],S||[]),": ")+"] ":"");return C.length===0?$+"{}":d?$+"{"+Hm(C,d)+"}":$+"{ "+_t.call(C,", ")+" }"}return String(n)};function jb(e,n,i){var t=(i.quoteStyle||n)==="double"?'"':"'";return t+e+t}function OI(e){return jr.call(String(e),/"/g,""")}function Rm(e){return zr(e)==="[object Array]"&&(!qn||!(typeof e=="object"&&qn in e))}function II(e){return zr(e)==="[object Date]"&&(!qn||!(typeof e=="object"&&qn in e))}function Rb(e){return zr(e)==="[object RegExp]"&&(!qn||!(typeof e=="object"&&qn in e))}function NI(e){return zr(e)==="[object Error]"&&(!qn||!(typeof e=="object"&&qn in e))}function LI(e){return zr(e)==="[object String]"&&(!qn||!(typeof e=="object"&&qn in e))}function jI(e){return zr(e)==="[object Number]"&&(!qn||!(typeof e=="object"&&qn in e))}function RI(e){return zr(e)==="[object Boolean]"&&(!qn||!(typeof e=="object"&&qn in e))}function zb(e){if(uo)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Lm)return!1;try{return Lm.call(e),!0}catch{}return!1}function zI(e){if(!e||typeof e!="object"||!Im)return!1;try{return Im.call(e),!0}catch{}return!1}var HI=Object.prototype.hasOwnProperty||function(e){return e in this};function Rr(e,n){return HI.call(e,n)}function zr(e){return MI.call(e)}function UI(e){if(e.name)return e.name;var n=xI.call(BI.call(e),/^function\s*([\w$]+)/);return n?n[1]:null}function Hb(e,n){if(e.indexOf)return e.indexOf(n);for(var i=0,t=e.length;in.maxStringLength){var i=e.length-n.maxStringLength,t="... "+i+" more character"+(i>1?"s":"");return Ub(Om.call(e,0,n.maxStringLength),n)+t}var r=jr.call(jr.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,JI);return jb(r,"single",n)}function JI(e){var n=e.charCodeAt(0),i={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return i?"\\"+i:"\\x"+(n<16?"0":"")+$I.call(n.toString(16))}function Qu(e){return"Object("+e+")"}function zm(e){return e+" { ? }"}function Vb(e,n,i,t){var r=t?Hm(i,t):_t.call(i,", ");return e+" ("+n+") {"+r+"}"}function QI(e){for(var n=0;n=0)return!1;return!0}function ZI(e,n){var i;if(e.indent===" ")i=" ";else if(typeof e.indent=="number"&&e.indent>0)i=_t.call(Array(e.indent+1)," ");else return null;return{base:i,prev:_t.call(Array(n+1),i)}}function Hm(e,n){if(e.length===0)return"";var i=` -`+n.prev+n.base;return i+_t.call(e,","+i)+` -`+n.prev}function ic(e,n){var i=Rm(e),t=[];if(i){t.length=e.length;for(var r=0;r1;){var i=n.pop(),t=i.obj[i.prop];if(Zs(t)){for(var r=[],s=0;s=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||s===hN.RFC1738&&(f===40||f===41)){o+=a.charAt(u);continue}if(f<128){o=o+Et[f];continue}if(f<2048){o=o+(Et[192|f>>6]+Et[128|f&63]);continue}if(f<55296||f>=57344){o=o+(Et[224|f>>12]+Et[128|f>>6&63]+Et[128|f&63]);continue}u+=1,f=65536+((f&1023)<<10|a.charCodeAt(u)&1023),o+=Et[240|f>>18]+Et[128|f>>12&63]+Et[128|f>>6&63]+Et[128|f&63]}return o},yN=function(n){for(var i=[{obj:{o:n},prop:"o"}],t=[],r=0;r0?p.join(",")||null:void 0}];else if(Ut(u))T=u;else{var $=Object.keys(p);T=f?$.sort(f):$}for(var z=r&&Ut(p)&&p.length===1?i+"[]":i,I=0;I0?F+h:""},lo=qb,Jm=Object.prototype.hasOwnProperty,$N=Array.isArray,pn={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:lo.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},TN=function(e){return e.replace(/&#(\d+);/g,function(n,i){return String.fromCharCode(parseInt(i,10))})},Qb=function(e,n){return e&&typeof e=="string"&&n.comma&&e.indexOf(",")>-1?e.split(","):e},PN="utf8=%26%2310003%3B",ON="utf8=%E2%9C%93",IN=function(n,i){var t={},r=i.ignoreQueryPrefix?n.replace(/^\?/,""):n,s=i.parameterLimit===1/0?void 0:i.parameterLimit,a=r.split(i.delimiter,s),o=-1,u,f=i.charset;if(i.charsetSentinel)for(u=0;u-1&&(F=$N(F)?[F]:F),Jm.call(t,h)?t[h]=lo.combine(t[h],F):t[h]=F}return t},NN=function(e,n,i,t){for(var r=t?n:Qb(n,i),s=e.length-1;s>=0;--s){var a,o=e[s];if(o==="[]"&&i.parseArrays)a=[].concat(r);else{a=i.plainObjects?Object.create(null):{};var u=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,f=parseInt(u,10);!i.parseArrays&&u===""?a={0:r}:!isNaN(f)&&o!==u&&String(f)===u&&f>=0&&i.parseArrays&&f<=i.arrayLimit?(a=[],a[f]=r):u!=="__proto__"&&(a[u]=r)}r=a}return r},LN=function(n,i,t,r){if(!!n){var s=t.allowDots?n.replace(/\.([^.[]+)/g,"[$1]"):n,a=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,u=t.depth>0&&a.exec(s),f=u?s.slice(0,u.index):s,l=[];if(f){if(!t.plainObjects&&Jm.call(Object.prototype,f)&&!t.allowPrototypes)return;l.push(f)}for(var d=0;t.depth>0&&(u=o.exec(s))!==null&&d{n("update:visible",u),u||n("close")},a=async()=>{const u=JO();t.value._csrf=u,document.cookie=`XSRF-TOKEN=${u}; Path=/;`},o=async()=>{try{r.value=!0,await fetch("/login",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},credentials:"include",redirect:"manual",body:VN.stringify(t.value)}),window.location.reload()}catch(u){console.error("Failed to login",u)}finally{r.value=!1}};return Be(()=>i.visible,u=>{u&&a()}),(u,f)=>(ae(),Ln(q(vP),{title:"\u767B\u5F55",visible:e.visible,width:400,"onUpdate:visible":s},{footer:Re(()=>[ie(q(Vs),{loading:r.value,type:"default",onClick:o},{default:Re(()=>[ui(" \u767B\u5F55 ")]),_:1},8,["loading"])]),default:Re(()=>[Y("div",WN,[_r(Y("input",{"onUpdate:modelValue":f[0]||(f[0]=l=>t.value.username=l),class:"rounded-base focus:border-secondary w-full border-gray-300 shadow-sm outline-0 ring-0",placeholder:"\u7528\u6237\u540D",type:"text"},null,512),[[js,t.value.username]]),_r(Y("input",{"onUpdate:modelValue":f[1]||(f[1]=l=>t.value.password=l),class:"rounded-base focus:border-secondary w-full border-gray-300 shadow-sm outline-0 ring-0",placeholder:"\u5BC6\u7801",type:"password"},null,512),[[js,t.value.password]])])]),_:1},8,["visible"]))}});var KN={categories:[{id:"people",emojis:["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","smiling_face_with_tear","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking_face","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","dotted_line_face","face_in_clouds","smirk","unamused","face_with_rolling_eyes","grimacing","face_exhaling","lying_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","face_with_spiral_eyes","exploding_head","face_with_cowboy_hat","partying_face","disguised_face","sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","face_holding_back_tears","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","robot_face","wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","ok_hand","pinched_fingers","pinching_hand","v","crossed_fingers","hand_with_index_finger_and_thumb_crossed","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","index_pointing_at_the_viewer","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","heart_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","lips","biting_lip","baby","child","boy","girl","adult","person_with_blond_hair","man","bearded_person","man_with_beard","woman_with_beard","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","red_haired_person","curly_haired_woman","curly_haired_person","white_haired_woman","white_haired_person","bald_woman","bald_person","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","person_frowning","man-frowning","woman-frowning","person_with_pouting_face","man-pouting","woman-pouting","no_good","man-gesturing-no","woman-gesturing-no","ok_woman","man-gesturing-ok","woman-gesturing-ok","information_desk_person","man-tipping-hand","woman-tipping-hand","raising_hand","man-raising-hand","woman-raising-hand","deaf_person","deaf_man","deaf_woman","bow","man-bowing","woman-bowing","face_palm","man-facepalming","woman-facepalming","shrug","man-shrugging","woman-shrugging","health_worker","male-doctor","female-doctor","student","male-student","female-student","teacher","male-teacher","female-teacher","judge","male-judge","female-judge","farmer","male-farmer","female-farmer","cook","male-cook","female-cook","mechanic","male-mechanic","female-mechanic","factory_worker","male-factory-worker","female-factory-worker","office_worker","male-office-worker","female-office-worker","scientist","male-scientist","female-scientist","technologist","male-technologist","female-technologist","singer","male-singer","female-singer","artist","male-artist","female-artist","pilot","male-pilot","female-pilot","astronaut","male-astronaut","female-astronaut","firefighter","male-firefighter","female-firefighter","cop","male-police-officer","female-police-officer","sleuth_or_spy","male-detective","female-detective","guardsman","male-guard","female-guard","ninja","construction_worker","male-construction-worker","female-construction-worker","person_with_crown","prince","princess","man_with_turban","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","bride_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast-feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","angel","santa","mrs_claus","mx_claus","superhero","male_superhero","female_superhero","supervillain","male_supervillain","female_supervillain","mage","male_mage","female_mage","fairy","male_fairy","female_fairy","vampire","male_vampire","female_vampire","merperson","merman","mermaid","elf","male_elf","female_elf","genie","male_genie","female_genie","zombie","male_zombie","female_zombie","troll","massage","man-getting-massage","woman-getting-massage","haircut","man-getting-haircut","woman-getting-haircut","walking","man-walking","woman-walking","standing_person","man_standing","woman_standing","kneeling_person","man_kneeling","woman_kneeling","person_with_probing_cane","man_with_probing_cane","woman_with_probing_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","runner","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","dancers","men-with-bunny-ears-partying","women-with-bunny-ears-partying","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","golfer","man-golfing","woman-golfing","surfer","man-surfing","woman-surfing","rowboat","man-rowing-boat","woman-rowing-boat","swimmer","man-swimming","woman-swimming","person_with_ball","man-bouncing-ball","woman-bouncing-ball","weight_lifter","man-lifting-weights","woman-lifting-weights","bicyclist","man-biking","woman-biking","mountain_bicyclist","man-mountain-biking","woman-mountain-biking","person_doing_cartwheel","man-cartwheeling","woman-cartwheeling","wrestlers","man-wrestling","woman-wrestling","water_polo","man-playing-water-polo","woman-playing-water-polo","handball","man-playing-handball","woman-playing-handball","juggling","man-juggling","woman-juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","man_and_woman_holding_hands","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","family","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","people_hugging","footprints","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","kiss","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart_on_fire","mending_heart","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","brown_heart","black_heart","white_heart","100","anger","boom","dizzy","sweat_drops","dash","hole","bomb","speech_balloon","eye-in-speech-bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz"]},{id:"nature",emojis:["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","black_cat","lion_face","tiger","tiger2","leopard","horse","racehorse","unicorn_face","zebra_face","deer","bison","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","mammoth","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","shell","coral","snail","butterfly","bug","ant","bee","beetle","ladybug","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves","empty_nest","nest_with_eggs"]},{id:"foods",emojis:["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwifruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","mushroom","peanuts","beans","chestnut","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","teapot","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","jar","amphora"]},{id:"activity",emojis:["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","8ball","crystal_ball","magic_wand","nazar_amulet","hamsa","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","pinata","mirror_ball","nesting_dolls","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","sewing_needle","yarn","knot"]},{id:"places",emojis:["earth_africa","earth_americas","earth_asia","globe_with_meridians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","rock","wood","hut","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","pickup_truck","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","roller_skate","busstop","motorway","railway_track","oil_drum","fuelpump","wheel","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","ring_buoy","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{id:"objects",emojis:["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","purse","handbag","pouch","shopping_bags","school_satchel","thong_sandal","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","crown","womans_hat","tophat","mortar_board","billed_cap","military_helmet","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","long_drum","iphone","calling","phone","telephone_receiver","pager","fax","battery","low_battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","coin","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","gun","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","hook","toolbox","magnet","ladder","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x-ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","headstone","funeral_urn","moyai","placard","identification_card"]},{id:"symbols",emojis:["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_equals_sign","infinity","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","x","negative_squared_cross_mark","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","copyright","registered","tm","hash","keycap_star","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{id:"flags",emojis:["checkered_flag","cn","crossed_flags","de","es","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-england","flag-er","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","flag-ga","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","flag-je","flag-jm","flag-jo","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","flag-rw","flag-sa","flag-sb","flag-sc","flag-scotland","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-un","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wales","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","fr","gb","it","jp","kr","pirate_flag","rainbow-flag","ru","transgender_flag","triangular_flag_on_post","us","waving_black_flag","waving_white_flag"]}],emojis:{100:{id:"100",name:"Hundred Points",keywords:["100","score","perfect","numbers","century","exam","quiz","test","pass"],skins:[{unified:"1f4af",native:"\u{1F4AF}"}],version:1},1234:{id:"1234",name:"Input Numbers",keywords:["1234","blue","square"],skins:[{unified:"1f522",native:"\u{1F522}"}],version:1},grinning:{id:"grinning",name:"Grinning Face",emoticons:[":D"],keywords:["smile","happy","joy",":D","grin"],skins:[{unified:"1f600",native:"\u{1F600}"}],version:1},smiley:{id:"smiley",name:"Grinning Face with Big Eyes",emoticons:[":)","=)","=-)"],keywords:["smiley","happy","joy","haha",":D",":)","smile","funny"],skins:[{unified:"1f603",native:"\u{1F603}"}],version:1},smile:{id:"smile",name:"Grinning Face with Smiling Eyes",emoticons:[":)","C:","c:",":D",":-D"],keywords:["smile","happy","joy","funny","haha","laugh","like",":D",":)"],skins:[{unified:"1f604",native:"\u{1F604}"}],version:1},grin:{id:"grin",name:"Beaming Face with Smiling Eyes",keywords:["grin","happy","smile","joy","kawaii"],skins:[{unified:"1f601",native:"\u{1F601}"}],version:1},laughing:{id:"laughing",name:"Grinning Squinting Face",emoticons:[":>",":->"],keywords:["laughing","satisfied","happy","joy","lol","haha","glad","XD","laugh"],skins:[{unified:"1f606",native:"\u{1F606}"}],version:1},sweat_smile:{id:"sweat_smile",name:"Grinning Face with Sweat",keywords:["smile","hot","happy","laugh","relief"],skins:[{unified:"1f605",native:"\u{1F605}"}],version:1},rolling_on_the_floor_laughing:{id:"rolling_on_the_floor_laughing",name:"Rolling on the Floor Laughing",keywords:["face","lol","haha","rofl"],skins:[{unified:"1f923",native:"\u{1F923}"}],version:3},joy:{id:"joy",name:"Face with Tears of Joy",keywords:["cry","weep","happy","happytears","haha"],skins:[{unified:"1f602",native:"\u{1F602}"}],version:1},slightly_smiling_face:{id:"slightly_smiling_face",name:"Slightly Smiling Face",emoticons:[":)","(:",":-)"],keywords:["smile"],skins:[{unified:"1f642",native:"\u{1F642}"}],version:1},upside_down_face:{id:"upside_down_face",name:"Upside-Down Face",keywords:["upside","down","flipped","silly","smile"],skins:[{unified:"1f643",native:"\u{1F643}"}],version:1},melting_face:{id:"melting_face",name:"Melting Face",keywords:["hot","heat"],skins:[{unified:"1fae0",native:"\u{1FAE0}"}],version:14},wink:{id:"wink",name:"Winking Face",emoticons:[";)",";-)"],keywords:["wink","happy","mischievous","secret",";)","smile","eye"],skins:[{unified:"1f609",native:"\u{1F609}"}],version:1},blush:{id:"blush",name:"Smiling Face with Smiling Eyes",emoticons:[":)"],keywords:["blush","smile","happy","flushed","crush","embarrassed","shy","joy"],skins:[{unified:"1f60a",native:"\u{1F60A}"}],version:1},innocent:{id:"innocent",name:"Smiling Face with Halo",keywords:["innocent","angel","heaven"],skins:[{unified:"1f607",native:"\u{1F607}"}],version:1},smiling_face_with_3_hearts:{id:"smiling_face_with_3_hearts",name:"Smiling Face with Hearts",keywords:["3","love","like","affection","valentines","infatuation","crush","adore"],skins:[{unified:"1f970",native:"\u{1F970}"}],version:11},heart_eyes:{id:"heart_eyes",name:"Smiling Face with Heart-Eyes",keywords:["heart","eyes","love","like","affection","valentines","infatuation","crush"],skins:[{unified:"1f60d",native:"\u{1F60D}"}],version:1},"star-struck":{id:"star-struck",name:"Star-Struck",keywords:["star","struck","grinning","face","with","eyes","smile","starry"],skins:[{unified:"1f929",native:"\u{1F929}"}],version:5},kissing_heart:{id:"kissing_heart",name:"Face Blowing a Kiss",emoticons:[":*",":-*"],keywords:["kissing","heart","love","like","affection","valentines","infatuation"],skins:[{unified:"1f618",native:"\u{1F618}"}],version:1},kissing:{id:"kissing",name:"Kissing Face",keywords:["love","like","3","valentines","infatuation","kiss"],skins:[{unified:"1f617",native:"\u{1F617}"}],version:1},relaxed:{id:"relaxed",name:"Smiling Face",keywords:["relaxed","blush","massage","happiness"],skins:[{unified:"263a-fe0f",native:"\u263A\uFE0F"}],version:1},kissing_closed_eyes:{id:"kissing_closed_eyes",name:"Kissing Face with Closed Eyes",keywords:["love","like","affection","valentines","infatuation","kiss"],skins:[{unified:"1f61a",native:"\u{1F61A}"}],version:1},kissing_smiling_eyes:{id:"kissing_smiling_eyes",name:"Kissing Face with Smiling Eyes",keywords:["affection","valentines","infatuation","kiss"],skins:[{unified:"1f619",native:"\u{1F619}"}],version:1},smiling_face_with_tear:{id:"smiling_face_with_tear",name:"Smiling Face with Tear",keywords:["sad","cry","pretend"],skins:[{unified:"1f972",native:"\u{1F972}"}],version:13},yum:{id:"yum",name:"Face Savoring Food",keywords:["yum","happy","joy","tongue","smile","silly","yummy","nom","delicious","savouring"],skins:[{unified:"1f60b",native:"\u{1F60B}"}],version:1},stuck_out_tongue:{id:"stuck_out_tongue",name:"Face with Tongue",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["stuck","out","prank","childish","playful","mischievous","smile"],skins:[{unified:"1f61b",native:"\u{1F61B}"}],version:1},stuck_out_tongue_winking_eye:{id:"stuck_out_tongue_winking_eye",name:"Winking Face with Tongue",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["stuck","out","eye","prank","childish","playful","mischievous","smile","wink"],skins:[{unified:"1f61c",native:"\u{1F61C}"}],version:1},zany_face:{id:"zany_face",name:"Zany Face",keywords:["grinning","with","one","large","and","small","eye","goofy","crazy"],skins:[{unified:"1f92a",native:"\u{1F92A}"}],version:5},stuck_out_tongue_closed_eyes:{id:"stuck_out_tongue_closed_eyes",name:"Squinting Face with Tongue",keywords:["stuck","out","closed","eyes","prank","playful","mischievous","smile"],skins:[{unified:"1f61d",native:"\u{1F61D}"}],version:1},money_mouth_face:{id:"money_mouth_face",name:"Money-Mouth Face",keywords:["money","mouth","rich","dollar"],skins:[{unified:"1f911",native:"\u{1F911}"}],version:1},hugging_face:{id:"hugging_face",name:"Hugging Face",keywords:["smile","hug"],skins:[{unified:"1f917",native:"\u{1F917}"}],version:1},face_with_hand_over_mouth:{id:"face_with_hand_over_mouth",name:"Face with Hand over Mouth",keywords:["smiling","eyes","and","covering","whoops","shock","surprise"],skins:[{unified:"1f92d",native:"\u{1F92D}"}],version:5},face_with_open_eyes_and_hand_over_mouth:{id:"face_with_open_eyes_and_hand_over_mouth",name:"Face with Open Eyes and Hand over Mouth",keywords:["silence","secret","shock","surprise"],skins:[{unified:"1fae2",native:"\u{1FAE2}"}],version:14},face_with_peeking_eye:{id:"face_with_peeking_eye",name:"Face with Peeking Eye",keywords:["scared","frightening","embarrassing"],skins:[{unified:"1fae3",native:"\u{1FAE3}"}],version:14},shushing_face:{id:"shushing_face",name:"Shushing Face",keywords:["with","finger","covering","closed","lips","quiet","shhh"],skins:[{unified:"1f92b",native:"\u{1F92B}"}],version:5},thinking_face:{id:"thinking_face",name:"Thinking Face",keywords:["hmmm","think","consider"],skins:[{unified:"1f914",native:"\u{1F914}"}],version:1},saluting_face:{id:"saluting_face",name:"Saluting Face",keywords:["respect","salute"],skins:[{unified:"1fae1",native:"\u{1FAE1}"}],version:14},zipper_mouth_face:{id:"zipper_mouth_face",name:"Zipper-Mouth Face",keywords:["zipper","mouth","sealed","secret"],skins:[{unified:"1f910",native:"\u{1F910}"}],version:1},face_with_raised_eyebrow:{id:"face_with_raised_eyebrow",name:"Face with Raised Eyebrow",keywords:["one","distrust","scepticism","disapproval","disbelief","surprise"],skins:[{unified:"1f928",native:"\u{1F928}"}],version:5},neutral_face:{id:"neutral_face",name:"Neutral Face",emoticons:[":|",":-|"],keywords:["indifference","meh",":",""],skins:[{unified:"1f610",native:"\u{1F610}"}],version:1},expressionless:{id:"expressionless",name:"Expressionless Face",emoticons:["-_-"],keywords:["indifferent","-","","meh","deadpan"],skins:[{unified:"1f611",native:"\u{1F611}"}],version:1},no_mouth:{id:"no_mouth",name:"Face Without Mouth",keywords:["no","hellokitty"],skins:[{unified:"1f636",native:"\u{1F636}"}],version:1},dotted_line_face:{id:"dotted_line_face",name:"Dotted Line Face",keywords:["invisible","lonely","isolation","depression"],skins:[{unified:"1fae5",native:"\u{1FAE5}"}],version:14},face_in_clouds:{id:"face_in_clouds",name:"Face in Clouds",keywords:["shower","steam","dream"],skins:[{unified:"1f636-200d-1f32b-fe0f",native:"\u{1F636}\u200D\u{1F32B}\uFE0F"}],version:13.1},smirk:{id:"smirk",name:"Smirking Face",keywords:["smirk","smile","mean","prank","smug","sarcasm"],skins:[{unified:"1f60f",native:"\u{1F60F}"}],version:1},unamused:{id:"unamused",name:"Unamused Face",emoticons:[":("],keywords:["indifference","bored","straight","serious","sarcasm","unimpressed","skeptical","dubious","side","eye"],skins:[{unified:"1f612",native:"\u{1F612}"}],version:1},face_with_rolling_eyes:{id:"face_with_rolling_eyes",name:"Face with Rolling Eyes",keywords:["eyeroll","frustrated"],skins:[{unified:"1f644",native:"\u{1F644}"}],version:1},grimacing:{id:"grimacing",name:"Grimacing Face",keywords:["grimace","teeth"],skins:[{unified:"1f62c",native:"\u{1F62C}"}],version:1},face_exhaling:{id:"face_exhaling",name:"Face Exhaling",keywords:["relieve","relief","tired","sigh"],skins:[{unified:"1f62e-200d-1f4a8",native:"\u{1F62E}\u200D\u{1F4A8}"}],version:13.1},lying_face:{id:"lying_face",name:"Lying Face",keywords:["lie","pinocchio"],skins:[{unified:"1f925",native:"\u{1F925}"}],version:3},relieved:{id:"relieved",name:"Relieved Face",keywords:["relaxed","phew","massage","happiness"],skins:[{unified:"1f60c",native:"\u{1F60C}"}],version:1},pensive:{id:"pensive",name:"Pensive Face",keywords:["sad","depressed","upset"],skins:[{unified:"1f614",native:"\u{1F614}"}],version:1},sleepy:{id:"sleepy",name:"Sleepy Face",keywords:["tired","rest","nap"],skins:[{unified:"1f62a",native:"\u{1F62A}"}],version:1},drooling_face:{id:"drooling_face",name:"Drooling Face",keywords:[],skins:[{unified:"1f924",native:"\u{1F924}"}],version:3},sleeping:{id:"sleeping",name:"Sleeping Face",keywords:["tired","sleepy","night","zzz"],skins:[{unified:"1f634",native:"\u{1F634}"}],version:1},mask:{id:"mask",name:"Face with Medical Mask",keywords:["sick","ill","disease"],skins:[{unified:"1f637",native:"\u{1F637}"}],version:1},face_with_thermometer:{id:"face_with_thermometer",name:"Face with Thermometer",keywords:["sick","temperature","cold","fever"],skins:[{unified:"1f912",native:"\u{1F912}"}],version:1},face_with_head_bandage:{id:"face_with_head_bandage",name:"Face with Head-Bandage",keywords:["head","bandage","injured","clumsy","hurt"],skins:[{unified:"1f915",native:"\u{1F915}"}],version:1},nauseated_face:{id:"nauseated_face",name:"Nauseated Face",keywords:["vomit","gross","green","sick","throw","up","ill"],skins:[{unified:"1f922",native:"\u{1F922}"}],version:3},face_vomiting:{id:"face_vomiting",name:"Face Vomiting",keywords:["with","open","mouth","sick"],skins:[{unified:"1f92e",native:"\u{1F92E}"}],version:5},sneezing_face:{id:"sneezing_face",name:"Sneezing Face",keywords:["gesundheit","sneeze","sick","allergy"],skins:[{unified:"1f927",native:"\u{1F927}"}],version:3},hot_face:{id:"hot_face",name:"Hot Face",keywords:["feverish","heat","red","sweating"],skins:[{unified:"1f975",native:"\u{1F975}"}],version:11},cold_face:{id:"cold_face",name:"Cold Face",keywords:["blue","freezing","frozen","frostbite","icicles"],skins:[{unified:"1f976",native:"\u{1F976}"}],version:11},woozy_face:{id:"woozy_face",name:"Woozy Face",keywords:["dizzy","intoxicated","tipsy","wavy"],skins:[{unified:"1f974",native:"\u{1F974}"}],version:11},dizzy_face:{id:"dizzy_face",name:"Dizzy Face",keywords:["spent","unconscious","xox"],skins:[{unified:"1f635",native:"\u{1F635}"}],version:1},face_with_spiral_eyes:{id:"face_with_spiral_eyes",name:"Face with Spiral Eyes",keywords:["sick","ill","confused","nauseous","nausea"],skins:[{unified:"1f635-200d-1f4ab",native:"\u{1F635}\u200D\u{1F4AB}"}],version:13.1},exploding_head:{id:"exploding_head",name:"Exploding Head",keywords:["shocked","face","with","mind","blown"],skins:[{unified:"1f92f",native:"\u{1F92F}"}],version:5},face_with_cowboy_hat:{id:"face_with_cowboy_hat",name:"Cowboy Hat Face",keywords:["with","cowgirl"],skins:[{unified:"1f920",native:"\u{1F920}"}],version:3},partying_face:{id:"partying_face",name:"Partying Face",keywords:["celebration","woohoo"],skins:[{unified:"1f973",native:"\u{1F973}"}],version:11},disguised_face:{id:"disguised_face",name:"Disguised Face",keywords:["pretent","brows","glasses","moustache"],skins:[{unified:"1f978",native:"\u{1F978}"}],version:13},sunglasses:{id:"sunglasses",name:"Smiling Face with Sunglasses",emoticons:["8)"],keywords:["cool","smile","summer","beach","sunglass"],skins:[{unified:"1f60e",native:"\u{1F60E}"}],version:1},nerd_face:{id:"nerd_face",name:"Nerd Face",keywords:["nerdy","geek","dork"],skins:[{unified:"1f913",native:"\u{1F913}"}],version:1},face_with_monocle:{id:"face_with_monocle",name:"Face with Monocle",keywords:["stuffy","wealthy"],skins:[{unified:"1f9d0",native:"\u{1F9D0}"}],version:5},confused:{id:"confused",name:"Confused Face",emoticons:[":\\",":-\\",":/",":-/"],keywords:["indifference","huh","weird","hmmm",":/"],skins:[{unified:"1f615",native:"\u{1F615}"}],version:1},face_with_diagonal_mouth:{id:"face_with_diagonal_mouth",name:"Face with Diagonal Mouth",keywords:["skeptic","confuse","frustrated","indifferent"],skins:[{unified:"1fae4",native:"\u{1FAE4}"}],version:14},worried:{id:"worried",name:"Worried Face",keywords:["concern","nervous",":("],skins:[{unified:"1f61f",native:"\u{1F61F}"}],version:1},slightly_frowning_face:{id:"slightly_frowning_face",name:"Slightly Frowning Face",keywords:["disappointed","sad","upset"],skins:[{unified:"1f641",native:"\u{1F641}"}],version:1},white_frowning_face:{id:"white_frowning_face",name:"Frowning Face",keywords:["white","sad","upset","frown"],skins:[{unified:"2639-fe0f",native:"\u2639\uFE0F"}],version:1},open_mouth:{id:"open_mouth",name:"Face with Open Mouth",emoticons:[":o",":-o",":O",":-O"],keywords:["surprise","impressed","wow","whoa",":O"],skins:[{unified:"1f62e",native:"\u{1F62E}"}],version:1},hushed:{id:"hushed",name:"Hushed Face",keywords:["woo","shh"],skins:[{unified:"1f62f",native:"\u{1F62F}"}],version:1},astonished:{id:"astonished",name:"Astonished Face",keywords:["xox","surprised","poisoned"],skins:[{unified:"1f632",native:"\u{1F632}"}],version:1},flushed:{id:"flushed",name:"Flushed Face",keywords:["blush","shy","flattered"],skins:[{unified:"1f633",native:"\u{1F633}"}],version:1},pleading_face:{id:"pleading_face",name:"Pleading Face",keywords:["begging","mercy"],skins:[{unified:"1f97a",native:"\u{1F97A}"}],version:11},face_holding_back_tears:{id:"face_holding_back_tears",name:"Face Holding Back Tears",keywords:["touched","gratitude"],skins:[{unified:"1f979",native:"\u{1F979}"}],version:14},frowning:{id:"frowning",name:"Frowning Face with Open Mouth",keywords:["aw","what"],skins:[{unified:"1f626",native:"\u{1F626}"}],version:1},anguished:{id:"anguished",name:"Anguished Face",emoticons:["D:"],keywords:["stunned","nervous"],skins:[{unified:"1f627",native:"\u{1F627}"}],version:1},fearful:{id:"fearful",name:"Fearful Face",keywords:["scared","terrified","nervous","oops","huh"],skins:[{unified:"1f628",native:"\u{1F628}"}],version:1},cold_sweat:{id:"cold_sweat",name:"Anxious Face with Sweat",keywords:["cold","nervous"],skins:[{unified:"1f630",native:"\u{1F630}"}],version:1},disappointed_relieved:{id:"disappointed_relieved",name:"Sad but Relieved Face",keywords:["disappointed","phew","sweat","nervous"],skins:[{unified:"1f625",native:"\u{1F625}"}],version:1},cry:{id:"cry",name:"Crying Face",emoticons:[":'("],keywords:["cry","tears","sad","depressed","upset",":'("],skins:[{unified:"1f622",native:"\u{1F622}"}],version:1},sob:{id:"sob",name:"Loudly Crying Face",emoticons:[":'("],keywords:["sob","cry","tears","sad","upset","depressed"],skins:[{unified:"1f62d",native:"\u{1F62D}"}],version:1},scream:{id:"scream",name:"Face Screaming in Fear",keywords:["scream","munch","scared","omg"],skins:[{unified:"1f631",native:"\u{1F631}"}],version:1},confounded:{id:"confounded",name:"Confounded Face",keywords:["confused","sick","unwell","oops",":S"],skins:[{unified:"1f616",native:"\u{1F616}"}],version:1},persevere:{id:"persevere",name:"Persevering Face",keywords:["persevere","sick","no","upset","oops"],skins:[{unified:"1f623",native:"\u{1F623}"}],version:1},disappointed:{id:"disappointed",name:"Disappointed Face",emoticons:["):",":(",":-("],keywords:["sad","upset","depressed",":("],skins:[{unified:"1f61e",native:"\u{1F61E}"}],version:1},sweat:{id:"sweat",name:"Face with Cold Sweat",keywords:["downcast","hot","sad","tired","exercise"],skins:[{unified:"1f613",native:"\u{1F613}"}],version:1},weary:{id:"weary",name:"Weary Face",keywords:["tired","sleepy","sad","frustrated","upset"],skins:[{unified:"1f629",native:"\u{1F629}"}],version:1},tired_face:{id:"tired_face",name:"Tired Face",keywords:["sick","whine","upset","frustrated"],skins:[{unified:"1f62b",native:"\u{1F62B}"}],version:1},yawning_face:{id:"yawning_face",name:"Yawning Face",keywords:["tired","sleepy"],skins:[{unified:"1f971",native:"\u{1F971}"}],version:12},triumph:{id:"triumph",name:"Face with Look of Triumph",keywords:["steam","from","nose","gas","phew","proud","pride"],skins:[{unified:"1f624",native:"\u{1F624}"}],version:1},rage:{id:"rage",name:"Pouting Face",keywords:["rage","angry","mad","hate","despise"],skins:[{unified:"1f621",native:"\u{1F621}"}],version:1},angry:{id:"angry",name:"Angry Face",emoticons:[">:(",">:-("],keywords:["mad","annoyed","frustrated"],skins:[{unified:"1f620",native:"\u{1F620}"}],version:1},face_with_symbols_on_mouth:{id:"face_with_symbols_on_mouth",name:"Face with Symbols on Mouth",keywords:["serious","covering","swearing","cursing","cussing","profanity","expletive"],skins:[{unified:"1f92c",native:"\u{1F92C}"}],version:5},smiling_imp:{id:"smiling_imp",name:"Smiling Face with Horns",keywords:["imp","devil"],skins:[{unified:"1f608",native:"\u{1F608}"}],version:1},imp:{id:"imp",name:"Imp",keywords:["angry","face","with","horns","devil"],skins:[{unified:"1f47f",native:"\u{1F47F}"}],version:1},skull:{id:"skull",name:"Skull",keywords:["dead","skeleton","creepy","death"],skins:[{unified:"1f480",native:"\u{1F480}"}],version:1},skull_and_crossbones:{id:"skull_and_crossbones",name:"Skull and Crossbones",keywords:["poison","danger","deadly","scary","death","pirate","evil"],skins:[{unified:"2620-fe0f",native:"\u2620\uFE0F"}],version:1},hankey:{id:"hankey",name:"Pile of Poo",keywords:["hankey","poop","shit","shitface","fail","turd"],skins:[{unified:"1f4a9",native:"\u{1F4A9}"}],version:1},clown_face:{id:"clown_face",name:"Clown Face",keywords:[],skins:[{unified:"1f921",native:"\u{1F921}"}],version:3},japanese_ogre:{id:"japanese_ogre",name:"Ogre",keywords:["japanese","monster","red","mask","halloween","scary","creepy","devil","demon"],skins:[{unified:"1f479",native:"\u{1F479}"}],version:1},japanese_goblin:{id:"japanese_goblin",name:"Goblin",keywords:["japanese","red","evil","mask","monster","scary","creepy"],skins:[{unified:"1f47a",native:"\u{1F47A}"}],version:1},ghost:{id:"ghost",name:"Ghost",keywords:["halloween","spooky","scary"],skins:[{unified:"1f47b",native:"\u{1F47B}"}],version:1},alien:{id:"alien",name:"Alien",keywords:["UFO","paul","weird","outer","space"],skins:[{unified:"1f47d",native:"\u{1F47D}"}],version:1},space_invader:{id:"space_invader",name:"Alien Monster",keywords:["space","invader","game","arcade","play"],skins:[{unified:"1f47e",native:"\u{1F47E}"}],version:1},robot_face:{id:"robot_face",name:"Robot",keywords:["face","computer","machine","bot"],skins:[{unified:"1f916",native:"\u{1F916}"}],version:1},smiley_cat:{id:"smiley_cat",name:"Grinning Cat",keywords:["smiley","animal","cats","happy","smile"],skins:[{unified:"1f63a",native:"\u{1F63A}"}],version:1},smile_cat:{id:"smile_cat",name:"Grinning Cat with Smiling Eyes",keywords:["smile","animal","cats"],skins:[{unified:"1f638",native:"\u{1F638}"}],version:1},joy_cat:{id:"joy_cat",name:"Cat with Tears of Joy",keywords:["animal","cats","haha","happy"],skins:[{unified:"1f639",native:"\u{1F639}"}],version:1},heart_eyes_cat:{id:"heart_eyes_cat",name:"Smiling Cat with Heart-Eyes",keywords:["heart","eyes","animal","love","like","affection","cats","valentines"],skins:[{unified:"1f63b",native:"\u{1F63B}"}],version:1},smirk_cat:{id:"smirk_cat",name:"Cat with Wry Smile",keywords:["smirk","animal","cats"],skins:[{unified:"1f63c",native:"\u{1F63C}"}],version:1},kissing_cat:{id:"kissing_cat",name:"Kissing Cat",keywords:["animal","cats","kiss"],skins:[{unified:"1f63d",native:"\u{1F63D}"}],version:1},scream_cat:{id:"scream_cat",name:"Weary Cat",keywords:["scream","animal","cats","munch","scared"],skins:[{unified:"1f640",native:"\u{1F640}"}],version:1},crying_cat_face:{id:"crying_cat_face",name:"Crying Cat",keywords:["face","animal","tears","weep","sad","cats","upset","cry"],skins:[{unified:"1f63f",native:"\u{1F63F}"}],version:1},pouting_cat:{id:"pouting_cat",name:"Pouting Cat",keywords:["animal","cats"],skins:[{unified:"1f63e",native:"\u{1F63E}"}],version:1},see_no_evil:{id:"see_no_evil",name:"See-No-Evil Monkey",keywords:["see","no","evil","animal","nature","haha"],skins:[{unified:"1f648",native:"\u{1F648}"}],version:1},hear_no_evil:{id:"hear_no_evil",name:"Hear-No-Evil Monkey",keywords:["hear","no","evil","animal","nature"],skins:[{unified:"1f649",native:"\u{1F649}"}],version:1},speak_no_evil:{id:"speak_no_evil",name:"Speak-No-Evil Monkey",keywords:["speak","no","evil","animal","nature","omg"],skins:[{unified:"1f64a",native:"\u{1F64A}"}],version:1},kiss:{id:"kiss",name:"Kiss Mark",keywords:["face","lips","love","like","affection","valentines"],skins:[{unified:"1f48b",native:"\u{1F48B}"}],version:1},love_letter:{id:"love_letter",name:"Love Letter",keywords:["email","like","affection","envelope","valentines"],skins:[{unified:"1f48c",native:"\u{1F48C}"}],version:1},cupid:{id:"cupid",name:"Heart with Arrow",keywords:["cupid","love","like","affection","valentines"],skins:[{unified:"1f498",native:"\u{1F498}"}],version:1},gift_heart:{id:"gift_heart",name:"Heart with Ribbon",keywords:["gift","love","valentines"],skins:[{unified:"1f49d",native:"\u{1F49D}"}],version:1},sparkling_heart:{id:"sparkling_heart",name:"Sparkling Heart",keywords:["love","like","affection","valentines"],skins:[{unified:"1f496",native:"\u{1F496}"}],version:1},heartpulse:{id:"heartpulse",name:"Growing Heart",keywords:["heartpulse","like","love","affection","valentines","pink"],skins:[{unified:"1f497",native:"\u{1F497}"}],version:1},heartbeat:{id:"heartbeat",name:"Beating Heart",keywords:["heartbeat","love","like","affection","valentines","pink"],skins:[{unified:"1f493",native:"\u{1F493}"}],version:1},revolving_hearts:{id:"revolving_hearts",name:"Revolving Hearts",keywords:["love","like","affection","valentines"],skins:[{unified:"1f49e",native:"\u{1F49E}"}],version:1},two_hearts:{id:"two_hearts",name:"Two Hearts",keywords:["love","like","affection","valentines","heart"],skins:[{unified:"1f495",native:"\u{1F495}"}],version:1},heart_decoration:{id:"heart_decoration",name:"Heart Decoration",keywords:["purple","square","love","like"],skins:[{unified:"1f49f",native:"\u{1F49F}"}],version:1},heavy_heart_exclamation_mark_ornament:{id:"heavy_heart_exclamation_mark_ornament",name:"Heart Exclamation",keywords:["heavy","mark","ornament","decoration","love"],skins:[{unified:"2763-fe0f",native:"\u2763\uFE0F"}],version:1},broken_heart:{id:"broken_heart",name:"Broken Heart",emoticons:["2&&(a.children=arguments.length>3?sc.call(arguments,2):i),typeof e=="function"&&e.defaultProps!=null)for(s in e.defaultProps)a[s]===void 0&&(a[s]=e.defaultProps[s]);return oc(e,a,t,r,null)}function oc(e,n,i,t,r){var s={type:e,props:n,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:r==null?++Xb:r};return r==null&&fe.vnode!=null&&fe.vnode(s),s}function Vt(){return{current:null}}function co(e){return e.children}function Dt(e,n){this.props=e,this.context=n}function ho(e,n){if(n==null)return e.__?ho(e.__,e.__.__k.indexOf(e)+1):null;for(var i;n0?oc(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=i,h.__b=i.__b+1,(c=p[l])===null||c&&h.key==c.key&&h.type===c.type)p[l]=void 0;else for(d=0;d{let e=null;try{navigator.userAgent.includes("jsdom")||(e=document.createElement("canvas").getContext("2d"))}catch{}if(!e)return()=>!1;const n=25,i=20,t=Math.floor(n/2);return e.font=t+"px Arial, Sans-Serif",e.textBaseline="top",e.canvas.width=i*2,e.canvas.height=n,r=>{e.clearRect(0,0,i*2,n),e.fillStyle="#FF0000",e.fillText(r,0,22),e.fillStyle="#0000FF",e.fillText(r,i,22);const s=e.getImageData(0,0,i,n).data,a=s.length;let o=0;for(;o=a)return!1;const u=i+o/4%i,f=Math.floor(o/4/i),l=e.getImageData(u,f,1,1).data;return!(s[o]!==l[0]||s[o+2]!==l[2]||e.measureText(r).width>=i)}})();var g_={latestVersion:dL,noCountryFlags:cL};const v_=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let Cn=null;function mL(e){Cn||(Cn=Ur.get("frequently")||{});const n=e.id||e;!n||(Cn[n]||(Cn[n]=0),Cn[n]+=1,Ur.set("last",n),Ur.set("frequently",Cn))}function pL({maxFrequentRows:e,perLine:n}){if(!e)return[];Cn||(Cn=Ur.get("frequently"));let i=[];if(!Cn){Cn={};for(let s in v_.slice(0,n)){const a=v_[s];Cn[a]=n-s,i.push(a)}return i}const t=e*n,r=Ur.get("last");for(let s in Cn)i.push(s);if(i.sort((s,a)=>{const o=Cn[a],u=Cn[s];return o==u?s.localeCompare(a):o-u}),i.length>t){const s=i.slice(t);i=i.slice(0,t);for(let a of s)a!=r&&delete Cn[a];r&&i.indexOf(r)==-1&&(delete Cn[i[i.length-1]],i.splice(-1,1,r)),Ur.set("frequently",Cn)}return i}var y_={add:mL,get:pL},k_={};k_=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn\u2019t be found","pick":"Pick an emoji\u2026","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var Wt={autoFocus:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:14,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","cs","de","es","fa","fi","fr","it","ja","nl","pl","pt","ru","uk","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let Kn=null,Se=null;const ep={};async function w_(e){if(ep[e])return ep[e];const i=await(await fetch(e)).json();return ep[e]=i,i}let np=null,b_=null,__=!1;function dc(e,{caller:n}={}){return np||(np=new Promise(i=>{b_=i})),e?FL(e):n&&!__&&console.warn(`\`${n}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),np}async function FL(e){__=!0;let{emojiVersion:n,set:i,locale:t}=e;if(n||(n=Wt.emojiVersion.value),i||(i=Wt.set.value),t||(t=Wt.locale.value),Se)Se.categories=Se.categories.filter(u=>!u.name);else{Se=(typeof e.data=="function"?await e.data():e.data)||await w_(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${n}/${i}.json`),Se.emoticons={},Se.natives={},Se.categories.unshift({id:"frequent",emojis:[]});for(const u in Se.aliases){const f=Se.aliases[u],l=Se.emojis[f];!l||(l.aliases||(l.aliases=[]),l.aliases.push(u))}}if(Kn=(typeof e.i18n=="function"?await e.i18n():e.i18n)||(t=="en"?Zb(k_):await w_(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${t}.json`)),e.custom)for(let u in e.custom){u=parseInt(u);const f=e.custom[u],l=e.custom[u-1];if(!(!f.emojis||!f.emojis.length)){f.id||(f.id=`custom_${u+1}`),f.name||(f.name=Kn.categories.custom),l&&!f.icon&&(f.target=l.target||l),Se.categories.push(f);for(const d of f.emojis)Se.emojis[d.id]=d}}e.categories&&(Se.categories=Se.categories.filter(u=>e.categories.indexOf(u.id)!=-1).sort((u,f)=>{const l=e.categories.indexOf(u.id),d=e.categories.indexOf(f.id);return l-d}));let r=null,s=null;i=="native"&&(r=g_.latestVersion(),s=e.noCountryFlags||g_.noCountryFlags());let a=Se.categories.length,o=!1;for(;a--;){const u=Se.categories[a];if(u.id=="frequent"){let{maxFrequentRows:d,perLine:c}=e;d||(d=Wt.maxFrequentRows.value),c||(c=Wt.perLine.value),u.emojis=y_.get({maxFrequentRows:d,perLine:c})}if(!u.emojis||!u.emojis.length){Se.categories.splice(a,1);continue}const{categoryIcons:f}=e;if(f){const d=f[u.id];d&&!u.icon&&(u.icon=d)}let l=u.emojis.length;for(;l--;){const d=u.emojis[l],c=d.id?d:Se.emojis[d],h=()=>{u.emojis.splice(l,1)};if(!c){h();continue}if(r&&c.version>r){h();continue}if(s&&u.id=="flags"&&!wL.includes(c.id)){h();continue}if(!c.search){if(o=!0,c.search=","+[[c.id,!1],[c.name,!0],[c.keywords,!1],[c.emoticons,!1]].map(([v,y])=>{if(!!v)return(Array.isArray(v)?v:[v]).map(p=>(y?p.split(/[-|_|\s]+/):[p]).map(m=>m.toLowerCase())).flat()}).flat().filter(v=>v&&v.trim()).join(","),c.emoticons)for(const v of c.emoticons)Se.emoticons[v]||(Se.emoticons[v]=c.id);let F=0;for(const v of c.skins){if(!v)continue;F++;const{native:y}=v;y&&(Se.natives[y]=c.id,c.search+=`,${y}`);const p=F==1?"":`:skin-tone-${F}:`;v.shortcodes=`:${c.id}:${p}`}}}}o&&mo.reset(),b_()}function E_(e,n,i){e||(e={});const t={};for(let r in n)t[r]=D_(r,e,n,i);return t}function D_(e,n,i,t){const r=i[e];let s=t&&t.getAttribute(e)||(n[e]!=null&&n[e]!=null?n[e]:null);return r&&(s!=null&&r.value&&typeof r.value!=typeof s&&(typeof r.value=="boolean"?s=s!="false":s=r.value.constructor(s)),r.transform&&s&&(s=r.transform(s)),(s==null||r.choices&&r.choices.indexOf(s)==-1)&&(s=r.value)),s}const gL=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;let ip=null;function vL(e){return e.id?e:Se.emojis[e]||Se.emojis[Se.aliases[e]]||Se.emojis[Se.natives[e]]}function yL(){ip=null}async function kL(e,{maxResults:n,caller:i}={}){if(!e||!e.trim().length)return null;n||(n=90),await dc(null,{caller:i||"SearchIndex.search"});const t=e.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((o,u,f)=>o.trim()&&f.indexOf(o)==u);if(!t.length)return;let r=ip||(ip=Object.values(Se.emojis)),s,a;for(const o of t){if(!r.length)break;s=[],a={};for(const u of r){if(!u.search)continue;const f=u.search.indexOf(`,${o}`);f!=-1&&(s.push(u),a[u.id]||(a[u.id]=0),a[u.id]+=u.id==o?0:f+1)}r=s}return s.length<2||(s.sort((o,u)=>{const f=a[o.id],l=a[u.id];return f==l?o.id.localeCompare(u.id):f-l}),s.length>n&&(s=s.slice(0,n))),s}var mo={search:kL,get:vL,reset:yL,SHORTCODES_REGEX:gL};const wL=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];function bL(e,n){return Array.isArray(e)&&Array.isArray(n)&&e.length===n.length&&e.every((i,t)=>i==n[t])}async function _L(e=1){for(let n in[...Array(e).keys()])await new Promise(requestAnimationFrame)}function EL(e,{skinIndex:n}={}){const i=e.skins[n]||(()=>(n=0,e.skins[n]))(),t={id:e.id,name:e.name,native:i.native,unified:i.unified,keywords:e.keywords,shortcodes:i.shortcodes||e.shortcodes};return e.skins.length>1&&(t.skin=n+1),i.src&&(t.src=i.src),e.aliases&&e.aliases.length&&(t.aliases=e.aliases),e.emoticons&&e.emoticons.length&&(t.emoticons=e.emoticons),t}var cc={categories:{activity:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:W("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:W("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:W("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:W("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:W("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:W("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:W("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[W("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),W("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:W("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[W("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),W("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:W("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[W("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),W("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:W("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[W("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),W("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:W("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[W("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),W("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:W("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:W("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:W("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},search:{loupe:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:W("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:W("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:W("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})}};function tp(e){let{id:n,skin:i,emoji:t}=e;if(e.shortcodes){const o=e.shortcodes.match(mo.SHORTCODES_REGEX);o&&(n=o[1],o[2]&&(i=o[2]))}if(t||(t=mo.get(n||e.native)),!t)return e.fallback;const r=t.skins[i-1]||t.skins[0],s=r.src||(e.set!="native"&&!e.spritesheet?typeof e.getImageURL=="function"?e.getImageURL(e.set,r.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${e.set}@14.0.0/img/${e.set}/64/${r.unified}.png`:void 0),a=typeof e.getSpritesheetURL=="function"?e.getSpritesheetURL(e.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${e.set}@14.0.0/img/${e.set}/sheets-256/64.png`;return W("span",{class:"emoji-mart-emoji","data-emoji-set":e.set,children:s?W("img",{style:{height:e.size||"1em",width:"auto",display:"inline-block",position:"relative",top:".1em"},alt:r.native||r.shortcodes,src:s}):e.set=="native"?W("span",{style:{fontSize:e.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:r.native}):W("span",{style:{display:"block",width:e.size,height:e.size,backgroundImage:`url(${a})`,backgroundSize:`${100*Se.sheet.cols}% ${100*Se.sheet.rows}%`,backgroundPosition:`${100/(Se.sheet.cols-1)*r.x}% ${100/(Se.sheet.rows-1)*r.y}%`}})})}const DL=typeof window!="undefined"?window.HTMLElement:Object;class C_ extends DL{static get observedAttributes(){return Object.keys(this.Props)}update(n={}){for(let i in n)this.attributeChangedCallback(i,null,n[i])}attributeChangedCallback(n,i,t){if(!this.component)return;const r=D_(n,{[n]:t},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[n]:r}):(this.component.props[n]=r,this.component.forceUpdate())}constructor(n={}){if(super(),this.props=n,n.parent||n.ref){let i=null;const t=n.parent||(i=n.ref&&n.ref.current);i&&(i.innerHTML=""),t&&t.appendChild(this)}}}class CL extends C_{setShadow(){this.attachShadow({mode:"open"})}injectStyles(n){if(!n)return;const i=document.createElement("style");i.textContent=n,this.shadowRoot.insertBefore(i,this.shadowRoot.firstChild)}constructor(n,{styles:i}={}){super(n),this.setShadow(),this.injectStyles(i)}}var S_={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:e=>/\D/.test(e)?e:`${e}px`},set:Wt.set,skin:Wt.skin};class A_ extends C_{async connectedCallback(){const n=E_(this.props,S_,this);n.element=this,n.ref=i=>{this.component=i},await dc(),p_(W(tp,{...n}),this)}constructor(n){super(n)}}nt(A_,"Props",S_),typeof customElements!="undefined"&&!customElements.get("em-emoji")&&customElements.define("em-emoji",A_);var M_,rp=[],B_=fe.__b,x_=fe.__r,$_=fe.diffed,T_=fe.__c,P_=fe.unmount;function SL(){var e;for(rp.sort(function(n,i){return n.__v.__b-i.__v.__b});e=rp.pop();)if(e.__P)try{e.__H.__h.forEach(hc),e.__H.__h.forEach(sp),e.__H.__h=[]}catch(n){e.__H.__h=[],fe.__e(n,e.__v)}}fe.__b=function(e){B_&&B_(e)},fe.__r=function(e){x_&&x_(e);var n=e.__c.__H;n&&(n.__h.forEach(hc),n.__h.forEach(sp),n.__h=[])},fe.diffed=function(e){$_&&$_(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(rp.push(n)!==1&&M_===fe.requestAnimationFrame||((M_=fe.requestAnimationFrame)||function(i){var t,r=function(){clearTimeout(s),O_&&cancelAnimationFrame(t),setTimeout(i)},s=setTimeout(r,100);O_&&(t=requestAnimationFrame(r))})(SL))},fe.__c=function(e,n){n.some(function(i){try{i.__h.forEach(hc),i.__h=i.__h.filter(function(t){return!t.__||sp(t)})}catch(t){n.some(function(r){r.__h&&(r.__h=[])}),n=[],fe.__e(t,i.__v)}}),T_&&T_(e,n)},fe.unmount=function(e){P_&&P_(e);var n,i=e.__c;i&&i.__H&&(i.__H.__.forEach(function(t){try{hc(t)}catch(r){n=r}}),n&&fe.__e(n,i.__v))};var O_=typeof requestAnimationFrame=="function";function hc(e){var n=e.__c;typeof n=="function"&&(e.__c=void 0,n())}function sp(e){e.__c=e.__()}function AL(e,n){for(var i in n)e[i]=n[i];return e}function I_(e,n){for(var i in e)if(i!=="__source"&&!(i in n))return!0;for(var t in n)if(t!=="__source"&&e[t]!==n[t])return!0;return!1}function mc(e){this.props=e}(mc.prototype=new Dt).isPureReactComponent=!0,mc.prototype.shouldComponentUpdate=function(e,n){return I_(this.props,e)||I_(this.state,n)};var N_=fe.__b;fe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),N_&&N_(e)};var ML=fe.__e;fe.__e=function(e,n,i){if(e.then){for(var t,r=n;r=r.__;)if((t=r.__c)&&t.__c)return n.__e==null&&(n.__e=i.__e,n.__k=i.__k),t.__c(e,n)}ML(e,n,i)};var L_=fe.unmount;function ap(){this.__u=0,this.t=null,this.__b=null}function j_(e){var n=e.__.__c;return n&&n.__e&&n.__e(e)}function pc(){this.u=null,this.o=null}fe.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&e.__h===!0&&(e.type=null),L_&&L_(e)},(ap.prototype=new Dt).__c=function(e,n){var i=n.__c,t=this;t.t==null&&(t.t=[]),t.t.push(i);var r=j_(t.__v),s=!1,a=function(){s||(s=!0,i.__R=null,r?r(o):o())};i.__R=a;var o=function(){if(!--t.__u){if(t.state.__e){var f=t.state.__e;t.__v.__k[0]=function d(c,h,F){return c&&(c.__v=null,c.__k=c.__k&&c.__k.map(function(v){return d(v,h,F)}),c.__c&&c.__c.__P===h&&(c.__e&&F.insertBefore(c.__e,c.__d),c.__c.__e=!0,c.__c.__P=F)),c}(f,f.__c.__P,f.__c.__O)}var l;for(t.setState({__e:t.__b=null});l=t.t.pop();)l.forceUpdate()}},u=n.__h===!0;t.__u++||u||t.setState({__e:t.__b=t.__v.__k[0]}),e.then(a,a)},ap.prototype.componentWillUnmount=function(){this.t=[]},ap.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),t=this.__v.__k[0].__c;this.__v.__k[0]=function s(a,o,u){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(f){typeof f.__c=="function"&&f.__c()}),a.__c.__H=null),(a=AL({},a)).__c!=null&&(a.__c.__P===u&&(a.__c.__P=o),a.__c=null),a.__k=a.__k&&a.__k.map(function(f){return s(f,o,u)})),a}(this.__b,i,t.__O=t.__P)}this.__b=null}var r=n.__e&&Qm(co,null,e.fallback);return r&&(r.__h=null),[Qm(co,null,n.__e?null:e.children),r]};var R_=function(e,n,i){if(++i[1]===i[0]&&e.o.delete(n),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(i=e.u;i;){for(;i.length>3;)i.pop()();if(i[1]{const r=i.name||Kn.categories[i.id],s=!this.props.unfocused&&i.id==this.state.categoryId;return s&&(n=t),W("button",{"aria-label":r,"aria-selected":s||void 0,title:r,type:"button",class:"flex flex-grow flex-center",onMouseDown:a=>a.preventDefault(),onClick:()=>{this.props.onClick({category:i,i:t})},children:this.renderIcon(i)})}),W("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:n==null?0:1,transform:`translateX(${n*100}%)`}})]})})}constructor(){super(),this.categories=Se.categories.filter(n=>!n.target),this.state={categoryId:this.categories[0].id}}}class jL extends mc{shouldComponentUpdate(n){for(let i in n)if(i!="children"&&n[i]!=this.props[i])return!0;return!1}render(){return this.props.children}}const Fc={rowsPerRender:10};class RL extends Dt{getInitialState(n=this.props){return{skin:Ur.get("skin")||n.skin,theme:this.initTheme(n.theme)}}componentWillMount(){this.observers=[],this.dir=Kn.rtl?"rtl":"ltr",this.refs={menu:Vt(),navigation:Vt(),scroll:Vt(),search:Vt(),searchInput:Vt(),skinToneButton:Vt(),skinToneRadio:Vt()},this.initGrid(),this.props.stickySearch==!1&&this.props.searchPosition=="sticky"&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:n}=this.refs;n.current&&n.current.focus()}}componentWillReceiveProps(n){this.nextState||(this.nextState={});for(const i in n)this.nextState[i]=n[i];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let i=!1;for(const r in this.nextState)this.props[r]=this.nextState[r],(r==="custom"||r==="categories")&&(i=!0);delete this.nextState;const t=this.getInitialState();if(i)return this.reset(t);this.setState(t)})}componentWillUnmount(){this.unregister()}async reset(n={}){await dc(this.props),this.initGrid(),this.unobserve(),this.setState(n,()=>{this.observeCategories(),this.observeRows()})}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){document.removeEventListener("click",this.handleClickOutside),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve(){for(const n of this.observers)n.disconnect()}initGrid(){const{categories:n}=Se;this.refs.categories=new Map;const i=Se.categories.map(r=>r.id).join(",");this.navKey&&this.navKey!=i&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=i,this.grid=[],this.grid.setsize=0;const t=(r,s)=>{const a=[];a.__categoryId=s.id,a.__index=r.length,this.grid.push(a);const o=this.grid.length-1,u=o%Fc.rowsPerRender?{}:Vt();return u.index=o,u.posinset=this.grid.setsize+1,r.push(u),a};for(let r of n){const s=[];let a=t(s,r);for(let o of r.emojis)a.length==this.props.perLine&&(a=t(s,r)),this.grid.setsize+=1,a.push(o);this.refs.categories.set(r.id,{root:Vt(),rows:s})}}initTheme(n){if(n!="auto")return n;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addListener(()=>{this.props.theme=="auto"&&this.setState({theme:this.darkMedia.matches?"dark":"light"})})}return this.darkMedia.matches?"dark":"light"}getEmojiByPos([n,i]){const t=this.state.searchResults||this.grid,r=t[n]&&t[n][i];if(!!r)return mo.get(r)}observeCategories(){const n=this.refs.navigation.current;if(!n)return;const i=new Map,t=a=>{a!=n.state.categoryId&&n.setState({categoryId:a})},r={root:this.refs.scroll.current,threshold:[0,1]},s=new IntersectionObserver(a=>{for(const f of a){const l=f.target.dataset.id;i.set(l,f.intersectionRatio)}const o=[...i],u=o[o.length-1];if(u[1]==1)return t(u[0]);for(const[f,l]of o)if(l){t(f);break}},r);for(const{root:a}of this.refs.categories.values())s.observe(a.current);this.observers.push(s)}observeRows(){const n={...this.state.visibleRows},i=new IntersectionObserver(t=>{for(const r of t){const s=parseInt(r.target.dataset.index);r.isIntersecting?n[s]=!0:delete n[s]}this.setState({visibleRows:n})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(Fc.rowsPerRender+5)}px 0px ${this.props.emojiButtonSize*Fc.rowsPerRender}px`});for(const{rows:t}of this.refs.categories.values())for(const r of t)r.current&&i.observe(r.current);this.observers.push(i)}preventDefault(n){n.preventDefault()}unfocusSearch(){const n=this.refs.searchInput.current;!n||n.blur()}navigate({e:n,input:i,left:t,right:r,up:s,down:a}){const o=this.state.searchResults||this.grid;if(!o.length)return;let[u,f]=this.state.pos;const l=(()=>{if(u==0&&f==0&&!n.repeat&&(t||s))return null;if(u==-1)return!n.repeat&&(r||a)&&i.selectionStart==i.value.length?[0,0]:null;if(t||r){let d=o[u];const c=t?-1:1;if(f+=c,!d[f]){if(u+=c,d=o[u],!d)return u=t?0:o.length-1,f=t?0:o[u].length-1,[u,f];f=t?d.length-1:0}return[u,f]}if(s||a){u+=s?-1:1;const d=o[u];return d?(d[f]||(f=d.length-1),[u,f]):(u=s?0:o.length-1,f=s?0:o[u].length-1,[u,f])}})();if(l)n.preventDefault();else{this.state.pos[0]>-1&&this.setState({pos:[-1,-1]});return}this.setState({pos:l,keyboard:!0},()=>{this.scrollTo({row:l[0]})})}scrollTo({categoryId:n,row:i}){const t=this.state.searchResults||this.grid;if(!t.length)return;const r=this.refs.scroll.current,s=r.getBoundingClientRect();let a=0;if(i>=0&&(n=t[i].__categoryId),n&&(a=(this.refs[n]||this.refs.categories.get(n).root).current.getBoundingClientRect().top-(s.top-r.scrollTop)+1),i>=0)if(!i)a=0;else{const o=t[i].__index,u=a+o*this.props.emojiButtonSize,f=u+this.props.emojiButtonSize+this.props.emojiButtonSize*.88;if(ur.scrollTop+s.height)a=f-s.height;else return}this.ignoreMouse(),r.scrollTop=a}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout(()=>{delete this.mouseIsIgnored},100)}handleEmojiOver(n){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:n||[-1,-1],keyboard:!1})}handleEmojiClick({emoji:n,pos:i}){if(!!this.props.onEmojiSelect&&(!n&&i&&(n=this.getEmojiByPos(i)),n)){const t=EL(n,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&y_.add(t,this.props),this.props.onEmojiSelect(t)}}closeSkins(){!this.state.showSkins||(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(n){this.setState({tempSkin:n})}handleSkinClick(n){this.ignoreMouse(),this.closeSkins(),this.setState({skin:n,tempSkin:null}),Ur.set("skin",n)}renderNav(){return W(LL,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const n=this.getEmojiByPos(this.state.pos),i=this.state.searchResults&&!this.state.searchResults.length;return W("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[W("div",{class:"flex flex-middle flex-grow",children:[W("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:W(tp,{emoji:n,id:i?this.props.noResultsEmoji||"cry":this.props.previewEmoji||(this.props.previewPosition=="top"?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),W("div",{class:`margin-${this.dir[0]}`,children:n?W("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[W("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:n.name}),W("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:n.skins[0].shortcodes})]}):i?W("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[W("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:Kn.search_no_results_1}),W("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:Kn.search_no_results_2})]}):W("div",{class:"color-c",style:{fontSize:21},children:Kn.pick})})]}),!n&&this.props.skinTonePosition=="preview"&&this.renderSkinToneButton()]})}renderEmojiButton(n,{pos:i,posinset:t,grid:r}){const s=this.props.emojiButtonSize,a=this.state.tempSkin||this.state.skin,u=(n.skins[a-1]||n.skins[0]).native,f=bL(this.state.pos,i),l=i.concat(n.id).join("");return W(jL,{selected:f,skin:a,size:s,children:W("button",{"aria-label":u,"aria-selected":f||void 0,"aria-posinset":t,"aria-setsize":r.setsize,"data-keyboard":this.state.keyboard,title:this.props.previewPosition=="none"?n.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:()=>this.handleEmojiClick({emoji:n}),onMouseEnter:()=>this.handleEmojiOver(i),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[W("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(t-1)%this.props.emojiButtonColors.length]:void 0}}),W(tp,{emoji:n,set:this.props.set,size:this.props.emojiSize,skin:a,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},l)}renderSearch(){const n=this.props.previewPosition=="none"||this.props.skinTonePosition=="search";return W("div",{children:[W("div",{class:"spacer"}),W("div",{class:"flex flex-middle",children:[n&&this.dir=="rtl"&&this.renderSkinToneButton(),W("div",{class:"search relative flex-grow",children:[W("input",{type:"search",ref:this.refs.searchInput,placeholder:Kn.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),W("span",{class:"icon loupe flex",children:cc.search.loupe}),this.state.searchResults&&W("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:cc.search.delete})]}),n&&this.dir=="ltr"&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:n}=this.state;return n?W("div",{class:"category",ref:this.refs.search,children:[W("div",{class:`sticky padding-small align-${this.dir[0]}`,children:Kn.categories.search}),W("div",{children:n.length?n.map((i,t)=>W("div",{class:"flex",children:i.map((r,s)=>this.renderEmojiButton(r,{pos:[t,s],posinset:t*this.props.perLine+s+1,grid:n}))})):W("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&W("a",{onClick:this.props.onAddCustomEmoji,children:Kn.add_custom})})})]}):null}renderCategories(){const{categories:n}=Se,i=!!this.state.searchResults;return W("div",{style:{visibility:i?"hidden":void 0,display:i?"none":void 0},children:n.map(t=>{const{root:r,rows:s}=this.refs.categories.get(t.id);return W("div",{"data-id":t.target?t.target.id:t.id,class:"category",ref:r,children:[W("div",{class:`sticky padding-small align-${this.dir[0]}`,children:t.name||Kn.categories[t.id]}),W("div",{class:"relative",style:{height:s.length*this.props.emojiButtonSize},children:s.map((a,o)=>{const u=a.index-a.index%Fc.rowsPerRender,f=this.state.visibleRows[u],l="current"in a?a:void 0;if(!f&&!l)return null;const d=o*this.props.perLine,c=d+this.props.perLine,h=t.emojis.slice(d,c);return W("div",{"data-index":a.index,ref:l,class:"flex row",style:{top:o*this.props.emojiButtonSize},children:f&&h.map((F,v)=>{const y=mo.get(F);return this.renderEmojiButton(y,{pos:[a.index,v],posinset:a.posinset+v,grid:this.grid})})},a.index)})})]})})})}renderSkinToneButton(){return this.props.skinTonePosition=="none"?null:W("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:W("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":Kn.skins.choose,title:Kn.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:W("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const n=this.getEmojiByPos(this.state.pos),i=n?n.name:"";return W("div",{"aria-live":"polite",class:"sr-only",children:i})}renderSkins(){const i=this.refs.skinToneButton.current.getBoundingClientRect(),t=this.base.getBoundingClientRect(),r={};return this.dir=="ltr"?r.right=t.right-i.right-3:r.left=i.left-t.left-3,this.props.previewPosition=="bottom"&&this.props.skinTonePosition=="preview"?r.bottom=t.bottom-i.top+6:(r.top=i.bottom-t.top+3,r.bottom="auto"),W("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":Kn.skins.choose,class:"menu hidden","data-position":r.top?"top":"bottom",style:r,children:[...Array(6).keys()].map(s=>{const a=s+1,o=this.state.skin==a;return W("div",{children:[W("input",{type:"radio",name:"skin-tone",value:a,"aria-label":Kn.skins[a],ref:o?this.refs.skinToneRadio:null,defaultChecked:o,onChange:()=>this.handleSkinMouseOver(a),onKeyDown:u=>{(u.code=="Enter"||u.code=="Space"||u.code=="Tab")&&(u.preventDefault(),this.handleSkinClick(a))}}),W("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(a),onMouseEnter:()=>this.handleSkinMouseOver(a),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[W("span",{class:`skin-tone skin-tone-${a}`}),W("span",{class:"margin-small-lr",children:Kn.skins[a]})]})]})})})}render(){return W("section",{id:"root",class:"flex flex-column",style:{width:this.props.perLine*this.props.emojiButtonSize+28},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:[this.props.previewPosition=="top"&&this.renderPreview(),this.props.navPosition=="top"&&this.renderNav(),this.props.searchPosition=="sticky"&&W("div",{class:"padding-lr",children:this.renderSearch()}),W("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:W("div",{style:{width:this.props.perLine*this.props.emojiButtonSize},children:[this.props.searchPosition=="static"&&this.renderSearch(),this.renderSearchResults(),this.renderCategories(),W("div",{class:"spacer"})]})}),this.props.navPosition=="bottom"&&this.renderNav(),this.props.previewPosition=="bottom"&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(n){super(),nt(this,"handleClickOutside",i=>{const{element:t}=this.props;i.target!=t&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside())}),nt(this,"handleBaseClick",i=>{!this.state.showSkins||i.target.closest(".menu")||(i.preventDefault(),i.stopImmediatePropagation(),this.closeSkins())}),nt(this,"handleBaseKeydown",i=>{!this.state.showSkins||i.key=="Escape"&&(i.preventDefault(),i.stopImmediatePropagation(),this.closeSkins())}),nt(this,"handleSearchClick",()=>{!this.getEmojiByPos(this.state.pos)||this.setState({pos:[-1,-1]})}),nt(this,"handleSearchInput",async()=>{const i=this.refs.searchInput.current;if(!i)return;const{value:t}=i,r=await mo.search(t),s=()=>{!this.refs.scroll.current||(this.refs.scroll.current.scrollTop=0)};if(!r)return this.setState({searchResults:r,pos:[-1,-1]},s);const a=i.selectionStart==i.value.length?[0,0]:[-1,-1],o=[];o.setsize=r.length;let u=null;for(let f of r)(!o.length||u.length==this.props.perLine)&&(u=[],u.__categoryId="search",u.__index=o.length,o.push(u)),u.push(f);this.ignoreMouse(),this.setState({searchResults:o,pos:a},s)}),nt(this,"handleSearchKeyDown",i=>{const t=i.currentTarget;switch(i.stopImmediatePropagation(),i.key){case"ArrowLeft":this.navigate({e:i,input:t,left:!0});break;case"ArrowRight":this.navigate({e:i,input:t,right:!0});break;case"ArrowUp":this.navigate({e:i,input:t,up:!0});break;case"ArrowDown":this.navigate({e:i,input:t,down:!0});break;case"Enter":i.preventDefault(),this.handleEmojiClick({pos:this.state.pos});break;case"Escape":i.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch();break}}),nt(this,"clearSearch",()=>{const i=this.refs.searchInput.current;!i||(i.value="",i.focus(),this.handleSearchInput())}),nt(this,"handleCategoryClick",({category:i,i:t})=>{this.scrollTo(t==0?{row:-1}:{categoryId:i.id})}),nt(this,"openSkins",i=>{const{currentTarget:t}=i,r=t.getBoundingClientRect();this.setState({showSkins:r},async()=>{await _L(2);const s=this.refs.menu.current;!s||(s.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))})}),this.state={pos:[-1,-1],visibleRows:{0:!0},...this.getInitialState(n)}}}class op extends CL{async connectedCallback(){const n=E_(this.props,Wt,this);n.element=this,n.ref=i=>{this.component=i},await dc(n),p_(W(RL,{...n}),this.shadowRoot)}disconnectedCallback(){this.component&&this.component.unregister()}constructor(n){super(n,{styles:Zb(W_)})}}nt(op,"Props",Wt),typeof customElements!="undefined"&&!customElements.get("em-emoji-picker")&&customElements.define("em-emoji-picker",op);var W_={};W_=`:host { + */var EF;(function(n){n.pop="pop",n.push="push"})(EF||(EF={}));var DF;(function(n){n.back="back",n.forward="forward",n.unknown=""})(DF||(DF={}));var CF;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(CF||(CF={}));const L4=Symbol(""),N4=Symbol("");function SF(){return Ke(L4)}function j4(){return Ke(N4)}var AF;const hi=typeof window!="undefined",BF=n=>typeof n=="string",ko=()=>+Date.now(),xF=(n,e,i)=>Math.min(i,Math.max(e,n)),Kn=()=>{},MF=hi&&((AF=window==null?void 0:window.navigator)==null?void 0:AF.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function wo(n,e){function i(...t){n(()=>e.apply(this,t),{fn:e,thisArg:this,args:t})}return i}const al=n=>n();function R4(n,e={}){let i,t;return a=>{const s=T(n),o=T(e.maxWait);if(i&&clearTimeout(i),s<=0||o!==void 0&&o<=0)return t&&(clearTimeout(t),t=null),a();o&&!t&&(t=setTimeout(()=>{i&&clearTimeout(i),t=null,a()},o)),i=setTimeout(()=>{t&&clearTimeout(t),t=null,a()},s)}}function $4(n,e=!0,i=!0){let t=0,r,a=!0;const s=()=>{r&&(clearTimeout(r),r=void 0)};return u=>{const f=T(n),l=Date.now()-t;if(s(),f<=0)return t=Date.now(),u();l>f&&(i||!a)?(t=Date.now(),u()):e&&(r=setTimeout(()=>{t=Date.now(),a=!0,s(),u()},f)),!i&&!r&&(r=setTimeout(()=>a=!0,f)),a=!1}}function z4(n=al){const e=S(!0);function i(){e.value=!1}function t(){e.value=!0}return{isActive:e,pause:i,resume:t,eventFilter:(...a)=>{e.value&&n(...a)}}}function PF(n,e=!1,i="Timeout"){return new Promise((t,r)=>{setTimeout(e?()=>r(i):t,n)})}function H4(n){let e;function i(){return e||(e=n()),e}return i.reset=async()=>{const t=e;e=void 0,t&&await t},i}function U4(n,e,i=!1){return e.reduce((t,r)=>(r in n&&(!i||n[r]!==void 0)&&(t[r]=n[r]),t),{})}function Qn(n){return s1()?(o1(n),!0):!1}function W4(n,e=200,i={}){return wo(R4(e,i),n)}function OF(n,e,i={}){const{flush:t="sync",deep:r=!1,immediate:a=!0,direction:s="both"}=i;let o,u;return(s==="both"||s==="ltr")&&(o=ge(n,f=>e.value=f,{flush:t,deep:r,immediate:a})),(s==="both"||s==="rtl")&&(u=ge(e,f=>n.value=f,{flush:t,deep:r,immediate:a})),()=>{o==null||o(),u==null||u()}}var q4=Object.defineProperty,V4=Object.defineProperties,G4=Object.getOwnPropertyDescriptors,TF=Object.getOwnPropertySymbols,Y4=Object.prototype.hasOwnProperty,K4=Object.prototype.propertyIsEnumerable,IF=(n,e,i)=>e in n?q4(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,Q4=(n,e)=>{for(var i in e||(e={}))Y4.call(e,i)&&IF(n,i,e[i]);if(TF)for(var i of TF(e))K4.call(e,i)&&IF(n,i,e[i]);return n},J4=(n,e)=>V4(n,G4(e));function LF(n){if(!Me(n))return Cs(n);const e=Array.isArray(n.value)?new Array(n.value.length):{};for(const i in n.value)e[i]=B1(()=>({get(){return n.value[i]},set(t){if(Array.isArray(n.value)){const r=[...n.value];r[i]=t,n.value=r}else{const r=J4(Q4({},n.value),{[i]:t});Object.setPrototypeOf(r,n.value),n.value=r}}}));return e}function NF(n,e=!0){Fi()?af(n):e?n():mr(n)}function Br(n,e=!0){Fi()?Zi(n):e?n():mr(n)}function jF(n,e=1e3,i={}){const{immediate:t=!0,immediateCallback:r=!1}=i;let a=null;const s=S(!1);function o(){a&&(clearInterval(a),a=null)}function u(){s.value=!1,o()}function f(){T(e)<=0||(s.value=!0,r&&n(),o(),a=setInterval(n,T(e)))}if(t&&hi&&f(),Me(e)){const l=ge(e,()=>{s.value&&hi&&f()});Qn(l)}return Qn(u),{isActive:s,pause:u,resume:f}}function Z4(n=!1,e={}){const{truthyValue:i=!0,falsyValue:t=!1}=e,r=Me(n),a=S(n);function s(o){return arguments.length?(a.value=o,a.value):(a.value=a.value===T(i)?T(t):T(i),a.value)}return r?s:[a,s]}var RF=Object.getOwnPropertySymbols,X4=Object.prototype.hasOwnProperty,ew=Object.prototype.propertyIsEnumerable,nw=(n,e)=>{var i={};for(var t in n)X4.call(n,t)&&e.indexOf(t)<0&&(i[t]=n[t]);if(n!=null&&RF)for(var t of RF(n))e.indexOf(t)<0&&ew.call(n,t)&&(i[t]=n[t]);return i};function iw(n,e,i={}){const t=i,{eventFilter:r=al}=t,a=nw(t,["eventFilter"]);return ge(n,wo(r,e),a)}var tw=Object.defineProperty,rw=Object.defineProperties,aw=Object.getOwnPropertyDescriptors,bo=Object.getOwnPropertySymbols,$F=Object.prototype.hasOwnProperty,zF=Object.prototype.propertyIsEnumerable,HF=(n,e,i)=>e in n?tw(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,sw=(n,e)=>{for(var i in e||(e={}))$F.call(e,i)&&HF(n,i,e[i]);if(bo)for(var i of bo(e))zF.call(e,i)&&HF(n,i,e[i]);return n},ow=(n,e)=>rw(n,aw(e)),uw=(n,e)=>{var i={};for(var t in n)$F.call(n,t)&&e.indexOf(t)<0&&(i[t]=n[t]);if(n!=null&&bo)for(var t of bo(n))e.indexOf(t)<0&&zF.call(n,t)&&(i[t]=n[t]);return i};function UF(n,e,i={}){const t=i,{eventFilter:r}=t,a=uw(t,["eventFilter"]),{eventFilter:s,pause:o,resume:u,isActive:f}=z4(r);return{stop:iw(n,e,ow(sw({},a),{eventFilter:s})),pause:o,resume:u,isActive:f}}function Jn(n){var e;const i=T(n);return(e=i==null?void 0:i.$el)!=null?e:i}const Se=hi?window:void 0,WF=hi?window.document:void 0,_o=hi?window.navigator:void 0;function Q(...n){let e,i,t,r;if(BF(n[0])?([i,t,r]=n,e=Se):[e,i,t,r]=n,!e)return Kn;let a=Kn;const s=ge(()=>Jn(e),u=>{a(),u&&(u.addEventListener(i,t,r),a=()=>{u.removeEventListener(i,t,r),a=Kn})},{immediate:!0,flush:"post"}),o=()=>{s(),a()};return Qn(o),o}function fw(n,e,i={}){const{window:t=Se,ignore:r,capture:a=!0,detectIframe:s=!1}=i;if(!t)return;const o=S(!0);let u;const f=c=>{t.clearTimeout(u);const F=Jn(n),h=c.composedPath();!F||F===c.target||h.includes(F)||!o.value||r&&r.length>0&&r.some(p=>{const g=Jn(p);return g&&(c.target===g||h.includes(g))})||e(c)},l=[Q(t,"click",f,{passive:!0,capture:a}),Q(t,"pointerdown",c=>{const F=Jn(n);o.value=!!F&&!c.composedPath().includes(F)},{passive:!0}),Q(t,"pointerup",c=>{if(c.button===0){const F=c.composedPath();c.composedPath=()=>F,u=t.setTimeout(()=>f(c),50)}},{passive:!0}),s&&Q(t,"blur",c=>{var F;const h=Jn(n);((F=document.activeElement)==null?void 0:F.tagName)==="IFRAME"&&!(h!=null&&h.contains(document.activeElement))&&e(c)})].filter(Boolean);return()=>l.forEach(c=>c())}function lw(n={}){const{window:e=Se}=n,i=S(0);return e&&(Q(e,"blur",()=>i.value+=1,!0),Q(e,"focus",()=>i.value+=1,!0)),ne(()=>(i.value,e==null?void 0:e.document.activeElement))}function dw(n,e,i){const{immediate:t=!0,delay:r=0,onError:a=Kn,resetOnExecute:s=!0,shallow:o=!0}=i!=null?i:{},u=o?Fr(e):S(e),f=S(!1),l=S(!1),d=S(void 0);async function c(F=0,...h){s&&(u.value=e),d.value=void 0,f.value=!1,l.value=!0,F>0&&await PF(F);const p=typeof n=="function"?n(...h):n;try{const g=await p;u.value=g,f.value=!0}catch(g){d.value=g,a(g)}finally{l.value=!1}return u.value}return t&&c(r),{state:u,isReady:f,isLoading:l,error:d,execute:c}}function cw({navigator:n=_o}={}){const e=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],i=n&&"getBattery"in n,t=S(!1),r=S(0),a=S(0),s=S(1);let o;function u(){t.value=this.charging,r.value=this.chargingTime||0,a.value=this.dischargingTime||0,s.value=this.level}return i&&n.getBattery().then(f=>{o=f,u.call(o);for(const l of e)Q(o,l,u,{passive:!0})}),{isSupported:i,charging:t,chargingTime:r,dischargingTime:a,level:s}}function za(n,e={}){const{window:i=Se}=e,t=Boolean(i&&"matchMedia"in i&&typeof i.matchMedia=="function");let r;const a=S(!1),s=()=>{!t||(r||(r=i.matchMedia(n)),a.value=r.matches)};return NF(()=>{s(),r&&("addEventListener"in r?r.addEventListener("change",s):r.addListener(s),Qn(()=>{"removeEventListener"in r?r.removeEventListener("change",s):r.removeListener(s)}))}),a}function Fw({window:n=Se}={}){const e=t=>{const{state:r,length:a}=(n==null?void 0:n.history)||{},{hash:s,host:o,hostname:u,href:f,origin:l,pathname:d,port:c,protocol:F,search:h}=(n==null?void 0:n.location)||{};return{trigger:t,state:r,length:a,hash:s,host:o,hostname:u,href:f,origin:l,pathname:d,port:c,protocol:F,search:h}},i=S(e("load"));return n&&(Q(n,"popstate",()=>i.value=e("popstate"),{passive:!0}),Q(n,"hashchange",()=>i.value=e("hashchange"),{passive:!0})),i}function qF(n,e,i){const t=S(n);return ne({get(){return t.value=xF(t.value,T(e),T(i))},set(r){t.value=xF(r,T(e),T(i))}})}const sl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ol="__vueuse_ssr_handlers__";sl[ol]=sl[ol]||{};const hw=sl[ol];function VF(n,e){return hw[n]||e}function mw(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"||Array.isArray(n)?"object":Number.isNaN(n)?"any":"number"}const vw={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}};function GF(n,e,i,t={}){var r;const{flush:a="pre",deep:s=!0,listenToStorageChanges:o=!0,writeDefaults:u=!0,shallow:f,window:l=Se,eventFilter:d,onError:c=w=>{console.error(w)}}=t,F=(f?Fr:S)(e);if(!i)try{i=VF("getDefaultStorage",()=>{var w;return(w=Se)==null?void 0:w.localStorage})()}catch(w){c(w)}if(!i)return F;const h=T(e),p=mw(h),g=(r=t.serializer)!=null?r:vw[p],{pause:m,resume:v}=UF(F,()=>k(F.value),{flush:a,deep:s,eventFilter:d});return l&&o&&Q(l,"storage",_),_(),F;function k(w){try{w==null?i.removeItem(n):i.setItem(n,g.write(w))}catch(C){c(C)}}function y(w){if(!(w&&w.key!==n)){m();try{const C=w?w.newValue:i.getItem(n);return C==null?(u&&h!==null&&i.setItem(n,g.write(h)),h):typeof C!="string"?C:g.read(C)}catch(C){c(C)}finally{v()}}}function _(w){w&&w.key!==n||(F.value=y(w))}}function ul(n){return za("(prefers-color-scheme: dark)",n)}var pw=Object.defineProperty,YF=Object.getOwnPropertySymbols,gw=Object.prototype.hasOwnProperty,yw=Object.prototype.propertyIsEnumerable,KF=(n,e,i)=>e in n?pw(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,kw=(n,e)=>{for(var i in e||(e={}))gw.call(e,i)&&KF(n,i,e[i]);if(YF)for(var i of YF(e))yw.call(e,i)&&KF(n,i,e[i]);return n};function ww(n={}){const{selector:e="html",attribute:i="class",window:t=Se,storage:r,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:o,emitAuto:u}=n,f=kw({auto:"",light:"light",dark:"dark"},n.modes||{}),l=ul({window:t}),d=ne(()=>l.value?"dark":"light"),c=o||(a==null?S("auto"):GF(a,"auto",r,{window:t,listenToStorageChanges:s})),F=ne({get(){return c.value==="auto"&&!u?d.value:c.value},set(m){c.value=m}}),h=VF("updateHTMLAttrs",(m,v,k)=>{const y=t==null?void 0:t.document.querySelector(m);if(!!y)if(v==="class"){const _=k.split(/\s/g);Object.values(f).flatMap(w=>(w||"").split(/\s/g)).filter(Boolean).forEach(w=>{_.includes(w)?y.classList.add(w):y.classList.remove(w)})}else y.setAttribute(v,k)});function p(m){var v;const k=m==="auto"?d.value:m;h(e,i,(v=f[k])!=null?v:k)}function g(m){n.onChanged?n.onChanged(m,p):p(m)}return ge(F,g,{flush:"post",immediate:!0}),Br(()=>g(F.value)),F}var bw=Object.defineProperty,_w=Object.defineProperties,Ew=Object.getOwnPropertyDescriptors,QF=Object.getOwnPropertySymbols,Dw=Object.prototype.hasOwnProperty,Cw=Object.prototype.propertyIsEnumerable,JF=(n,e,i)=>e in n?bw(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,Sw=(n,e)=>{for(var i in e||(e={}))Dw.call(e,i)&&JF(n,i,e[i]);if(QF)for(var i of QF(e))Cw.call(e,i)&&JF(n,i,e[i]);return n},Aw=(n,e)=>_w(n,Ew(e));function Bw(n={}){const{valueDark:e="dark",valueLight:i="",window:t=Se}=n,r=ww(Aw(Sw({},n),{onChanged:(o,u)=>{var f;n.onChanged?(f=n.onChanged)==null||f.call(n,o==="dark"):u(o)},modes:{dark:e,light:i}})),a=ul({window:t});return ne({get(){return r.value==="dark"},set(o){o===a.value?r.value="auto":r.value=o?"dark":"light"}})}function xw(n={}){const{window:e=Se,eventFilter:i=al}=n,t=S({x:null,y:null,z:null}),r=S({alpha:null,beta:null,gamma:null}),a=S(0),s=S({x:null,y:null,z:null});if(e){const o=wo(i,u=>{t.value=u.acceleration,s.value=u.accelerationIncludingGravity,r.value=u.rotationRate,a.value=u.interval});Q(e,"devicemotion",o)}return{acceleration:t,accelerationIncludingGravity:s,rotationRate:r,interval:a}}function Mw(n={}){const{window:e=Se}=n,i=Boolean(e&&"DeviceOrientationEvent"in e),t=S(!1),r=S(null),a=S(null),s=S(null);return e&&i&&Q(e,"deviceorientation",o=>{t.value=o.absolute,r.value=o.alpha,a.value=o.beta,s.value=o.gamma}),{isSupported:i,isAbsolute:t,alpha:r,beta:a,gamma:s}}const Pw=[1,1.325,1.4,1.5,1.8,2,2.4,2.5,2.75,3,3.5,4];function Ow({window:n=Se}={}){if(!n)return{pixelRatio:S(1)};const e=S(n.devicePixelRatio),i=()=>{e.value=n.devicePixelRatio};return Q(n,"resize",i,{passive:!0}),Pw.forEach(t=>{const r=za(`screen and (min-resolution: ${t}dppx)`),a=za(`screen and (max-resolution: ${t}dppx)`);ge([r,a],i)}),{pixelRatio:e}}function Tw(n,e={}){const{controls:i=!1,navigator:t=_o}=e,r=Boolean(t&&"permissions"in t);let a;const s=typeof n=="string"?{name:n}:n,o=S(),u=()=>{a&&(o.value=a.state)},f=H4(async()=>{if(!!r){if(!a)try{a=await t.permissions.query(s),Q(a,"change",u),u()}catch{o.value="prompt"}return a}});return f(),i?{state:o,isSupported:r,query:f}:o}function Iw(n={}){const{navigator:e=_o,requestPermissions:i=!1,constraints:t={audio:!0,video:!0},onUpdated:r}=n,a=S([]),s=ne(()=>a.value.filter(F=>F.kind==="videoinput")),o=ne(()=>a.value.filter(F=>F.kind==="audioinput")),u=ne(()=>a.value.filter(F=>F.kind==="audiooutput"));let f=!1;const l=S(!1);async function d(){!f||(a.value=await e.mediaDevices.enumerateDevices(),r==null||r(a.value))}async function c(){if(!f)return!1;if(l.value)return!0;const{state:F,query:h}=Tw("camera",{controls:!0});return await h(),F.value!=="granted"&&((await e.mediaDevices.getUserMedia(t)).getTracks().forEach(g=>g.stop()),d()),l.value=!0,l.value}return e&&(f=Boolean(e.mediaDevices&&e.mediaDevices.enumerateDevices),f&&(i&&c(),Q(e.mediaDevices,"devicechange",d),d())),{devices:a,ensurePermissions:c,permissionGranted:l,videoInputs:s,audioInputs:o,audioOutputs:u,isSupported:f}}function Lw({document:n=WF}={}){if(!n)return S("visible");const e=S(n.visibilityState);return Q(n,"visibilitychange",()=>{e.value=n.visibilityState}),e}var Nw=Object.defineProperty,jw=Object.defineProperties,Rw=Object.getOwnPropertyDescriptors,ZF=Object.getOwnPropertySymbols,$w=Object.prototype.hasOwnProperty,zw=Object.prototype.propertyIsEnumerable,XF=(n,e,i)=>e in n?Nw(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,Hw=(n,e)=>{for(var i in e||(e={}))$w.call(e,i)&&XF(n,i,e[i]);if(ZF)for(var i of ZF(e))zw.call(e,i)&&XF(n,i,e[i]);return n},Uw=(n,e)=>jw(n,Rw(e));function Ww(n,e={}){var i,t;const r=(i=e.draggingElement)!=null?i:Se,a=S((t=e.initialValue)!=null?t:{x:0,y:0}),s=S(),o=c=>e.pointerTypes?e.pointerTypes.includes(c.pointerType):!0,u=c=>{T(e.preventDefault)&&c.preventDefault(),T(e.stopPropagation)&&c.stopPropagation()},f=c=>{var F;if(!o(c)||T(e.exact)&&c.target!==T(n))return;const h=T(n).getBoundingClientRect(),p={x:c.pageX-h.left,y:c.pageY-h.top};((F=e.onStart)==null?void 0:F.call(e,p,c))!==!1&&(s.value=p,u(c))},l=c=>{var F;!o(c)||!s.value||(a.value={x:c.pageX-s.value.x,y:c.pageY-s.value.y},(F=e.onMove)==null||F.call(e,a.value,c),u(c))},d=c=>{var F;!o(c)||!s.value||(s.value=void 0,(F=e.onEnd)==null||F.call(e,a.value,c),u(c))};return hi&&(Q(n,"pointerdown",f,!0),Q(r,"pointermove",l,!0),Q(r,"pointerup",d,!0)),Uw(Hw({},LF(a)),{position:a,isDragging:ne(()=>!!s.value),style:ne(()=>`left:${a.value.x}px;top:${a.value.y}px;`)})}var eh=Object.getOwnPropertySymbols,qw=Object.prototype.hasOwnProperty,Vw=Object.prototype.propertyIsEnumerable,Gw=(n,e)=>{var i={};for(var t in n)qw.call(n,t)&&e.indexOf(t)<0&&(i[t]=n[t]);if(n!=null&&eh)for(var t of eh(n))e.indexOf(t)<0&&Vw.call(n,t)&&(i[t]=n[t]);return i};function nh(n,e,i={}){const t=i,{window:r=Se}=t,a=Gw(t,["window"]);let s;const o=r&&"ResizeObserver"in r,u=()=>{s&&(s.disconnect(),s=void 0)},f=ge(()=>Jn(n),d=>{u(),o&&r&&d&&(s=new ResizeObserver(e),s.observe(d,a))},{immediate:!0,flush:"post"}),l=()=>{u(),f()};return Qn(l),{isSupported:o,stop:l}}function Yw(n,e={}){const{reset:i=!0,windowResize:t=!0,windowScroll:r=!0,immediate:a=!0}=e,s=S(0),o=S(0),u=S(0),f=S(0),l=S(0),d=S(0),c=S(0),F=S(0);function h(){const p=Jn(n);if(!p){i&&(s.value=0,o.value=0,u.value=0,f.value=0,l.value=0,d.value=0,c.value=0,F.value=0);return}const g=p.getBoundingClientRect();s.value=g.height,o.value=g.bottom,u.value=g.left,f.value=g.right,l.value=g.top,d.value=g.width,c.value=g.x,F.value=g.y}return nh(n,h),ge(()=>Jn(n),p=>!p&&h()),r&&Q("scroll",h,{passive:!0}),t&&Q("resize",h,{passive:!0}),Br(()=>{a&&h()}),{height:s,bottom:o,left:u,right:f,top:l,width:d,x:c,y:F,update:h}}function ih(n,e={}){const{immediate:i=!0,window:t=Se}=e,r=S(!1);let a=null;function s(){!r.value||!t||(n(),a=t.requestAnimationFrame(s))}function o(){!r.value&&t&&(r.value=!0,s())}function u(){r.value=!1,a!=null&&t&&(t.cancelAnimationFrame(a),a=null)}return i&&o(),Qn(u),{isActive:r,pause:u,resume:o}}function th(n,e={width:0,height:0},i={}){const t=S(e.width),r=S(e.height);return nh(n,([a])=>{t.value=a.contentRect.width,r.value=a.contentRect.height},i),ge(()=>Jn(n),a=>{t.value=a?e.width:0,r.value=a?e.height:0}),{width:t,height:r}}function Kw(n,{window:e=Se,scrollTarget:i}={}){const t=S(!1),r=()=>{if(!e)return;const a=e.document;if(!T(n))t.value=!1;else{const s=T(n).getBoundingClientRect();t.value=s.top<=(e.innerHeight||a.documentElement.clientHeight)&&s.left<=(e.innerWidth||a.documentElement.clientWidth)&&s.bottom>=0&&s.right>=0}};return Br(r),e&&Br(()=>Q(T(i)||e,"scroll",r,{capture:!1,passive:!0})),t}function Qw(n={}){const{initialValue:e=""}=n,i=Boolean(typeof window!="undefined"&&"EyeDropper"in window),t=S(e);async function r(a){if(!i)return;const o=await new window.EyeDropper().open(a);return t.value=o.sRGBHex,o}return{isSupported:i,sRGBHex:t,open:r}}const rh=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function Jw(n,e={}){const{document:i=WF,autoExit:t=!1}=e,r=n||(i==null?void 0:i.querySelector("html")),a=S(!1);let s=!1,o=rh[0];if(!i)s=!1;else for(const p of rh)if(p[1]in i){o=p,s=!0;break}const[u,f,l,,d]=o;async function c(){!s||(i!=null&&i[l]&&await i[f](),a.value=!1)}async function F(){if(!s)return;await c();const p=Jn(r);p&&(await p[u](),a.value=!0)}async function h(){a.value?await c():await F()}return i&&Q(i,d,()=>{a.value=!!(i!=null&&i[l])},!1),t&&Qn(c),{isSupported:s,isFullscreen:a,enter:F,exit:c,toggle:h}}function Zw(n={}){const{enableHighAccuracy:e=!0,maximumAge:i=3e4,timeout:t=27e3,navigator:r=_o}=n,a=r&&"geolocation"in r,s=S(null),o=S(null),u=S({accuracy:0,latitude:1/0,longitude:1/0,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(d){s.value=d.timestamp,u.value=d.coords,o.value=null}let l;return a&&(l=r.geolocation.watchPosition(f,d=>o.value=d,{enableHighAccuracy:e,maximumAge:i,timeout:t})),Qn(()=>{l&&r&&r.geolocation.clearWatch(l)}),{isSupported:a,coords:u,locatedAt:s,error:o}}const Xw=["mousemove","mousedown","resize","keydown","touchstart","wheel"],eb=6e4;function nb(n=eb,e={}){const{initialState:i=!1,listenForVisibilityChange:t=!0,events:r=Xw,window:a=Se,eventFilter:s=$4(50)}=e,o=S(i),u=S(ko());let f;const l=wo(s,()=>{o.value=!1,u.value=ko(),clearTimeout(f),f=setTimeout(()=>o.value=!0,n)});if(a){const d=a.document;for(const c of r)Q(a,c,l,{passive:!0});t&&Q(d,"visibilitychange",()=>{d.hidden||l()})}return f=setTimeout(()=>o.value=!0,n),{idle:o,lastActive:u}}var ib=Object.defineProperty,ah=Object.getOwnPropertySymbols,tb=Object.prototype.hasOwnProperty,rb=Object.prototype.propertyIsEnumerable,sh=(n,e,i)=>e in n?ib(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,ab=(n,e)=>{for(var i in e||(e={}))tb.call(e,i)&&sh(n,i,e[i]);if(ah)for(var i of ah(e))rb.call(e,i)&&sh(n,i,e[i]);return n};async function sb(n){return new Promise((e,i)=>{const t=new Image,{src:r,srcset:a,sizes:s}=n;t.src=r,a&&(t.srcset=a),s&&(t.sizes=s),t.onload=()=>e(t),t.onerror=i})}const ob=(n,e={})=>{const i=dw(()=>sb(T(n)),void 0,ab({resetOnExecute:!0},e));return ge(()=>T(n),()=>i.execute(e.delay),{deep:!0}),i},ub={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function fb(n={}){const{reactive:e=!1,target:i=Se,aliasMap:t=ub,passive:r=!0,onEventFired:a=Kn}=n,s=ae(new Set),o={toJSON(){return{}},current:s},u=e?ae(o):o,f=new Set,l=new Set;function d(p,g){p in u&&(e?u[p]=g:u[p].value=g)}function c(){for(const p of l)d(p,!1)}function F(p,g){var m,v;const k=(m=p.key)==null?void 0:m.toLowerCase(),y=(v=p.code)==null?void 0:v.toLowerCase(),_=[y,k].filter(Boolean);y&&(g?s.add(p.code):s.delete(p.code));for(const w of _)l.add(w),d(w,g);k==="meta"&&!g?(f.forEach(w=>{s.delete(w),d(w,!1)}),f.clear()):typeof p.getModifierState=="function"&&p.getModifierState("Meta")&&g&&[...s,..._].forEach(w=>f.add(w))}i&&(Q(i,"keydown",p=>(F(p,!0),a(p)),{passive:r}),Q(i,"keyup",p=>(F(p,!1),a(p)),{passive:r}),Q("blur",c,{passive:!0}),Q("focus",c,{passive:!0}));const h=new Proxy(u,{get(p,g,m){if(typeof g!="string")return Reflect.get(p,g,m);if(g=g.toLowerCase(),g in t&&(g=t[g]),!(g in u))if(/[+_-]/.test(g)){const k=g.split(/[+_-]/g).map(y=>y.trim());u[g]=ne(()=>k.every(y=>T(h[y])))}else u[g]=S(!1);const v=Reflect.get(p,g,m);return e?T(v):v}});return h}function oh(n={}){const{type:e="page",touch:i=!0,resetOnTouchEnds:t=!1,initialValue:r={x:0,y:0},window:a=Se,eventFilter:s}=n,o=S(r.x),u=S(r.y),f=S(null),l=p=>{e==="page"?(o.value=p.pageX,u.value=p.pageY):e==="client"&&(o.value=p.clientX,u.value=p.clientY),f.value="mouse"},d=()=>{o.value=r.x,u.value=r.y},c=p=>{if(p.touches.length>0){const g=p.touches[0];e==="page"?(o.value=g.pageX,u.value=g.pageY):e==="client"&&(o.value=g.clientX,u.value=g.clientY),f.value="touch"}},F=p=>s===void 0?l(p):s(()=>l(p),{}),h=p=>s===void 0?c(p):s(()=>c(p),{});return a&&(Q(a,"mousemove",F,{passive:!0}),Q(a,"dragover",F,{passive:!0}),i&&(Q(a,"touchstart",h,{passive:!0}),Q(a,"touchmove",h,{passive:!0}),t&&Q(a,"touchend",d,{passive:!0}))),{x:o,y:u,sourceType:f}}function lb(n,e={}){const{handleOutside:i=!0,window:t=Se}=e,{x:r,y:a,sourceType:s}=oh(e),o=S(n!=null?n:t==null?void 0:t.document.body),u=S(0),f=S(0),l=S(0),d=S(0),c=S(0),F=S(0),h=S(!0);let p=()=>{};return t&&(p=ge([o,r,a],()=>{const g=Jn(o);if(!g)return;const{left:m,top:v,width:k,height:y}=g.getBoundingClientRect();l.value=m+t.pageXOffset,d.value=v+t.pageYOffset,c.value=y,F.value=k;const _=r.value-l.value,w=a.value-d.value;h.value=k===0||y===0||_<0||w<0||_>k||w>y,(i||!h.value)&&(u.value=_,f.value=w)},{immediate:!0})),{x:r,y:a,sourceType:s,elementX:u,elementY:f,elementPositionX:l,elementPositionY:d,elementHeight:c,elementWidth:F,isOutside:h,stop:p}}function db(n={}){const{touch:e=!0,drag:i=!0,initialValue:t=!1,window:r=Se}=n,a=S(t),s=S(null);if(!r)return{pressed:a,sourceType:s};const o=l=>()=>{a.value=!0,s.value=l},u=()=>{a.value=!1,s.value=null},f=ne(()=>Jn(n.target)||r);return Q(f,"mousedown",o("mouse"),{passive:!0}),Q(r,"mouseleave",u,{passive:!0}),Q(r,"mouseup",u,{passive:!0}),i&&(Q(f,"dragstart",o("mouse"),{passive:!0}),Q(r,"drop",u,{passive:!0}),Q(r,"dragend",u,{passive:!0})),e&&(Q(f,"touchstart",o("touch"),{passive:!0}),Q(r,"touchend",u,{passive:!0}),Q(r,"touchcancel",u,{passive:!0})),{pressed:a,sourceType:s}}function uh(n={}){const{window:e=Se}=n,i=e==null?void 0:e.navigator,t=Boolean(i&&"connection"in i),r=S(!0),a=S(!1),s=S(void 0),o=S(void 0),u=S(void 0),f=S(void 0),l=S(void 0),d=S(void 0),c=S("unknown"),F=t&&i.connection;function h(){!i||(r.value=i.onLine,s.value=r.value?void 0:Date.now(),o.value=r.value?Date.now():void 0,F&&(u.value=F.downlink,f.value=F.downlinkMax,d.value=F.effectiveType,l.value=F.rtt,a.value=F.saveData,c.value=F.type))}return e&&(Q(e,"offline",()=>{r.value=!1,s.value=Date.now()}),Q(e,"online",()=>{r.value=!0,o.value=Date.now()})),F&&Q(F,"change",h,!1),h(),{isSupported:t,isOnline:r,saveData:a,offlineAt:s,onlineAt:o,downlink:u,downlinkMax:f,effectiveType:d,rtt:l,type:c}}var cb=Object.defineProperty,fh=Object.getOwnPropertySymbols,Fb=Object.prototype.hasOwnProperty,hb=Object.prototype.propertyIsEnumerable,lh=(n,e,i)=>e in n?cb(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,mb=(n,e)=>{for(var i in e||(e={}))Fb.call(e,i)&&lh(n,i,e[i]);if(fh)for(var i of fh(e))hb.call(e,i)&&lh(n,i,e[i]);return n};function dh(n={}){const{controls:e=!1,interval:i="requestAnimationFrame"}=n,t=S(new Date),r=()=>t.value=new Date,a=i==="requestAnimationFrame"?ih(r,{immediate:!0}):jF(r,i,{immediate:!0});return e?mb({now:t},a):t}function vb(n){const e=S(),i=()=>{e.value&&URL.revokeObjectURL(e.value),e.value=void 0};return ge(()=>T(n),t=>{i(),t&&(e.value=URL.createObjectURL(t))},{immediate:!0}),Qn(i),_s(e)}function pb(n){const{total:e=1/0,pageSize:i=10,page:t=1,onPageChange:r=Kn,onPageSizeChange:a=Kn,onPageCountChange:s=Kn}=n,o=qF(i,1,1/0),u=ne(()=>Math.ceil(T(e)/T(o))),f=qF(t,1,u),l=ne(()=>f.value===1),d=ne(()=>f.value===u.value);Me(t)&&OF(t,f),Me(i)&&OF(i,o);function c(){f.value--}function F(){f.value++}const h={currentPage:f,currentPageSize:o,pageCount:u,isFirstPage:l,isLastPage:d,prev:c,next:F};return ge(f,()=>{r(ae(h))}),ge(o,()=>{a(ae(h))}),ge(u,()=>{s(ae(h))}),h}function gb(n={}){const{isOnline:e}=uh(n);return e}function yb(n={}){const{window:e=Se}=n,i=S(!1),t=r=>{if(!e)return;r=r||e.event;const a=r.relatedTarget||r.toElement;i.value=!a};return e&&(Q(e,"mouseout",t,{passive:!0}),Q(e.document,"mouseleave",t,{passive:!0}),Q(e.document,"mouseenter",t,{passive:!0})),i}var kb=Object.defineProperty,wb=Object.defineProperties,bb=Object.getOwnPropertyDescriptors,ch=Object.getOwnPropertySymbols,_b=Object.prototype.hasOwnProperty,Eb=Object.prototype.propertyIsEnumerable,Fh=(n,e,i)=>e in n?kb(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,Db=(n,e)=>{for(var i in e||(e={}))_b.call(e,i)&&Fh(n,i,e[i]);if(ch)for(var i of ch(e))Eb.call(e,i)&&Fh(n,i,e[i]);return n},Cb=(n,e)=>wb(n,bb(e));const hh={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Sb=Object.keys(hh);function Ab(n={}){const{target:e=Se}=n,i=S(!1),t=S(n.initialValue||{});Object.assign(t.value,hh,t.value);const r=a=>{i.value=!0,!(n.pointerTypes&&!n.pointerTypes.includes(a.pointerType))&&(t.value=U4(a,Sb,!1))};return e&&(Q(e,"pointerdown",r,{passive:!0}),Q(e,"pointermove",r,{passive:!0}),Q(e,"pointerleave",()=>i.value=!1,{passive:!0})),Cb(Db({},LF(t)),{isInside:i})}var mh;(function(n){n.UP="UP",n.RIGHT="RIGHT",n.DOWN="DOWN",n.LEFT="LEFT",n.NONE="NONE"})(mh||(mh={}));function Bb(n){const e=za("(prefers-color-scheme: light)",n),i=za("(prefers-color-scheme: dark)",n);return ne(()=>i.value?"dark":e.value?"light":"no-preference")}function xb(n={}){const{window:e=Se}=n;if(!e)return S(["en"]);const i=e.navigator,t=S(i.languages);return Q(e,"languagechange",()=>{t.value=i.languages}),t}var Mb=Object.defineProperty,Eo=Object.getOwnPropertySymbols,vh=Object.prototype.hasOwnProperty,ph=Object.prototype.propertyIsEnumerable,gh=(n,e,i)=>e in n?Mb(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,Pb=(n,e)=>{for(var i in e||(e={}))vh.call(e,i)&&gh(n,i,e[i]);if(Eo)for(var i of Eo(e))ph.call(e,i)&&gh(n,i,e[i]);return n},Ob=(n,e)=>{var i={};for(var t in n)vh.call(n,t)&&e.indexOf(t)<0&&(i[t]=n[t]);if(n!=null&&Eo)for(var t of Eo(n))e.indexOf(t)<0&&ph.call(n,t)&&(i[t]=n[t]);return i};const yh=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],Tb={justNow:"just now",past:n=>n.match(/\d/)?`${n} ago`:n,future:n=>n.match(/\d/)?`in ${n}`:n,month:(n,e)=>n===1?e?"last month":"next month":`${n} month${n>1?"s":""}`,year:(n,e)=>n===1?e?"last year":"next year":`${n} year${n>1?"s":""}`,day:(n,e)=>n===1?e?"yesterday":"tomorrow":`${n} day${n>1?"s":""}`,week:(n,e)=>n===1?e?"last week":"next week":`${n} week${n>1?"s":""}`,hour:n=>`${n} hour${n>1?"s":""}`,minute:n=>`${n} minute${n>1?"s":""}`,second:n=>`${n} second${n>1?"s":""}`},Ib=n=>n.toISOString().slice(0,10);function fl(n,e={}){const{controls:i=!1,max:t,updateInterval:r=3e4,messages:a=Tb,fullDateFormatter:s=Ib}=e,{abs:o,round:u}=Math,f=dh({interval:r,controls:!0}),{now:l}=f,d=Ob(f,["now"]);function c(g,m){var v;const k=+m-+g,y=o(k);if(y<6e4)return a.justNow;if(typeof t=="number"&&y>t)return s(new Date(g));if(typeof t=="string"){const _=(v=yh.find(w=>w.name===t))==null?void 0:v.max;if(_&&y>_)return s(new Date(g))}for(const _ of yh)if(y<_.max)return h(k,_)}function F(g,m,v){const k=a[g];return typeof k=="function"?k(m,v):k.replace("{0}",m.toString())}function h(g,m){const v=u(o(g)/m.value),k=g>0,y=F(m.name,v,k);return F(k?"past":"future",y,k)}const p=ne(()=>c(new Date(T(n)),T(l.value)));return i?Pb({timeAgo:p},d):p}var Lb=Object.defineProperty,kh=Object.getOwnPropertySymbols,Nb=Object.prototype.hasOwnProperty,jb=Object.prototype.propertyIsEnumerable,wh=(n,e,i)=>e in n?Lb(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,Rb=(n,e)=>{for(var i in e||(e={}))Nb.call(e,i)&&wh(n,i,e[i]);if(kh)for(var i of kh(e))jb.call(e,i)&&wh(n,i,e[i]);return n};function $b(n={}){const{controls:e=!1,offset:i=0,immediate:t=!0,interval:r="requestAnimationFrame"}=n,a=S(ko()+i),s=()=>a.value=ko()+i,o=r==="requestAnimationFrame"?ih(s,{immediate:t}):jF(s,r,{immediate:t});return e?Rb({timestamp:a},o):a}function zb(n,e){const i=S(),t=th(i),r=S([]),a=Fr(n),s=S({start:0,end:10}),{itemHeight:o,overscan:u=5}=e,f=v=>{if(typeof o=="number")return Math.ceil(v/o);const{start:k=0}=s.value;let y=0,_=0;for(let w=k;w=v){_=w;break}return _-k},l=v=>{if(typeof o=="number")return Math.floor(v/o)+1;let k=0,y=0;for(let _=0;_=v){y=_;break}return y+1},d=()=>{const v=i.value;if(v){const k=l(v.scrollTop),y=f(v.clientHeight),_=k-u,w=k+y+u;s.value={start:_<0?0:_,end:w>a.value.length?a.value.length:w},r.value=a.value.slice(s.value.start,s.value.end).map((C,D)=>({data:C,index:D+s.value.start}))}};ge([t.width,t.height,n],()=>{d()});const c=ne(()=>typeof o=="number"?a.value.length*o:a.value.reduce((v,k,y)=>v+o(y),0)),F=v=>typeof o=="number"?v*o:a.value.slice(0,v).reduce((y,_,w)=>y+o(w),0),h=v=>{i.value&&(i.value.scrollTop=F(v),d())},p=ne(()=>F(s.value.start)),g=ne(()=>({style:{width:"100%",height:`${c.value-p.value}px`,marginTop:`${p.value}px`}}));return{list:r,scrollTo:h,containerProps:{ref:i,onScroll:()=>{d()},style:{overflowY:"auto"}},wrapperProps:g}}function Hb({window:n=Se}={}){if(!n)return S(!1);const e=S(n.document.hasFocus());return Q(n,"blur",()=>{e.value=!1}),Q(n,"focus",()=>{e.value=!0}),e}function Ub(n={}){const{window:e=Se,initialWidth:i=1/0,initialHeight:t=1/0,listenOrientation:r=!0}=n,a=S(i),s=S(t),o=()=>{e&&(a.value=e.innerWidth,s.value=e.innerHeight)};return o(),Br(o),Q("resize",o,{passive:!0}),r&&Q("orientationchange",o,{passive:!0}),{width:a,height:s}}Y({name:"OnClickOutside",props:["as"],emits:["trigger"],setup(n,{slots:e,emit:i}){const t=S();return fw(t,r=>{i("trigger",r)}),()=>{if(e.default)return Oe(n.as||"div",{ref:t},e.default())}}});function ll(n){var e;const i=T(n);return(e=i==null?void 0:i.$el)!=null?e:i}const Yt=hi?window:void 0;function xr(...n){let e,i,t,r;if(BF(n[0])?([i,t,r]=n,e=Yt):[e,i,t,r]=n,!e)return Kn;let a=Kn;const s=ge(()=>ll(e),u=>{a(),u&&(u.addEventListener(i,t,r),a=()=>{u.removeEventListener(i,t,r),a=Kn})},{immediate:!0,flush:"post"}),o=()=>{s(),a()};return Qn(o),o}const Wb=500;function qb(n,e,i){var t,r;const a=ne(()=>ll(n));let s=null;function o(){s!=null&&(clearTimeout(s),s=null)}function u(l){var d,c,F,h;((d=i==null?void 0:i.modifiers)==null?void 0:d.self)&&l.target!==a.value||(o(),(c=i==null?void 0:i.modifiers)!=null&&c.prevent&&l.preventDefault(),(F=i==null?void 0:i.modifiers)!=null&&F.stop&&l.stopPropagation(),s=setTimeout(()=>e(l),(h=i==null?void 0:i.delay)!=null?h:Wb))}const f={capture:(t=i==null?void 0:i.modifiers)==null?void 0:t.capture,once:(r=i==null?void 0:i.modifiers)==null?void 0:r.once};xr(a,"pointerdown",u,f),xr(a,"pointerup",o,f),xr(a,"pointerleave",o,f)}Y({name:"OnLongPress",props:["as","options"],emits:["trigger"],setup(n,{slots:e,emit:i}){const t=S();return qb(t,r=>{i("trigger",r)},n.options),()=>{if(e.default)return Oe(n.as||"div",{ref:t},e.default())}}}),Y({name:"UseActiveElement",setup(n,{slots:e}){const i=ae({element:lw()});return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseBattery",setup(n,{slots:e}){const i=ae(cw(n));return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseBrowserLocation",setup(n,{slots:e}){const i=ae(Fw());return()=>{if(e.default)return e.default(i)}}});const dl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},cl="__vueuse_ssr_handlers__";dl[cl]=dl[cl]||{};const Vb=dl[cl];function bh(n,e){return Vb[n]||e}function Gb(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"||Array.isArray(n)?"object":Number.isNaN(n)?"any":"number"}const Yb={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}};function Kb(n,e,i,t={}){var r;const{flush:a="pre",deep:s=!0,listenToStorageChanges:o=!0,writeDefaults:u=!0,shallow:f,window:l=Yt,eventFilter:d,onError:c=w=>{console.error(w)}}=t,F=(f?Fr:S)(e);if(!i)try{i=bh("getDefaultStorage",()=>{var w;return(w=Yt)==null?void 0:w.localStorage})()}catch(w){c(w)}if(!i)return F;const h=T(e),p=Gb(h),g=(r=t.serializer)!=null?r:Yb[p],{pause:m,resume:v}=UF(F,()=>k(F.value),{flush:a,deep:s,eventFilter:d});return l&&o&&xr(l,"storage",_),_(),F;function k(w){try{w==null?i.removeItem(n):i.setItem(n,g.write(w))}catch(C){c(C)}}function y(w){if(!(w&&w.key!==n)){m();try{const C=w?w.newValue:i.getItem(n);return C==null?(u&&h!==null&&i.setItem(n,g.write(h)),h):typeof C!="string"?C:g.read(C)}catch(C){c(C)}finally{v()}}}function _(w){w&&w.key!==n||(F.value=y(w))}}function Qb(n,e={}){const{window:i=Yt}=e,t=Boolean(i&&"matchMedia"in i&&typeof i.matchMedia=="function");let r;const a=S(!1),s=()=>{!t||(r||(r=i.matchMedia(n)),a.value=r.matches)};return NF(()=>{s(),r&&("addEventListener"in r?r.addEventListener("change",s):r.addListener(s),Qn(()=>{"removeEventListener"in r?r.removeEventListener("change",s):r.removeListener(s)}))}),a}function Jb(n){return Qb("(prefers-color-scheme: dark)",n)}var Zb=Object.defineProperty,_h=Object.getOwnPropertySymbols,Xb=Object.prototype.hasOwnProperty,e_=Object.prototype.propertyIsEnumerable,Eh=(n,e,i)=>e in n?Zb(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,n_=(n,e)=>{for(var i in e||(e={}))Xb.call(e,i)&&Eh(n,i,e[i]);if(_h)for(var i of _h(e))e_.call(e,i)&&Eh(n,i,e[i]);return n};function i_(n={}){const{selector:e="html",attribute:i="class",window:t=Yt,storage:r,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:o,emitAuto:u}=n,f=n_({auto:"",light:"light",dark:"dark"},n.modes||{}),l=Jb({window:t}),d=ne(()=>l.value?"dark":"light"),c=o||(a==null?S("auto"):Kb(a,"auto",r,{window:t,listenToStorageChanges:s})),F=ne({get(){return c.value==="auto"&&!u?d.value:c.value},set(m){c.value=m}}),h=bh("updateHTMLAttrs",(m,v,k)=>{const y=t==null?void 0:t.document.querySelector(m);if(!!y)if(v==="class"){const _=k.split(/\s/g);Object.values(f).flatMap(w=>(w||"").split(/\s/g)).filter(Boolean).forEach(w=>{_.includes(w)?y.classList.add(w):y.classList.remove(w)})}else y.setAttribute(v,k)});function p(m){var v;const k=m==="auto"?d.value:m;h(e,i,(v=f[k])!=null?v:k)}function g(m){n.onChanged?n.onChanged(m,p):p(m)}return ge(F,g,{flush:"post",immediate:!0}),Br(()=>g(F.value)),F}Y({name:"UseColorMode",props:["selector","attribute","modes","onChanged","storageKey","storage","emitAuto"],setup(n,{slots:e}){const i=i_(n),t=ae({mode:i});return()=>{if(e.default)return e.default(t)}}}),Y({name:"UseDark",props:["selector","attribute","valueDark","valueLight","onChanged","storageKey","storage"],setup(n,{slots:e}){const i=Bw(n),t=ae({isDark:i,toggleDark:Z4(i)});return()=>{if(e.default)return e.default(t)}}}),Y({name:"UseDeviceMotion",setup(n,{slots:e}){const i=ae(xw());return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseDeviceOrientation",setup(n,{slots:e}){const i=ae(Mw());return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseDevicePixelRatio",setup(n,{slots:e}){const i=ae({pixelRatio:Ow()});return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseDevicesList",props:["onUpdated","requestPermissions","constraints"],setup(n,{slots:e}){const i=ae(Iw(n));return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseDocumentVisibility",setup(n,{slots:e}){const i=ae({visibility:Lw()});return()=>{if(e.default)return e.default(i)}}});var t_=Object.defineProperty,r_=Object.defineProperties,a_=Object.getOwnPropertyDescriptors,Dh=Object.getOwnPropertySymbols,s_=Object.prototype.hasOwnProperty,o_=Object.prototype.propertyIsEnumerable,Ch=(n,e,i)=>e in n?t_(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,u_=(n,e)=>{for(var i in e||(e={}))s_.call(e,i)&&Ch(n,i,e[i]);if(Dh)for(var i of Dh(e))o_.call(e,i)&&Ch(n,i,e[i]);return n},f_=(n,e)=>r_(n,a_(e));Y({name:"UseDraggable",props:["storageKey","storageType","initialValue","exact","preventDefault","stopPropagation","pointerTypes","as"],setup(n,{slots:e}){const i=S(),t=n.storageKey?GF(n.storageKey,T(n.initialValue)||{x:0,y:0},hi?n.storageType==="session"?sessionStorage:localStorage:void 0):n.initialValue||{x:0,y:0},r=ae(Ww(i,f_(u_({},n),{initialValue:t})));return()=>{if(e.default)return Oe(n.as||"div",{ref:i,style:`touch-action:none;${r.style}`},e.default(r))}}}),Y({name:"UseElementBounding",props:["box","as"],setup(n,{slots:e}){const i=S(),t=ae(Yw(i));return()=>{if(e.default)return Oe(n.as||"div",{ref:i},e.default(t))}}}),Y({name:"UseElementSize",props:["width","height","box"],setup(n,{slots:e}){const i=S(),t=ae(th(i,{width:n.width,height:n.height},{box:n.box}));return()=>{if(e.default)return Oe(n.as||"div",{ref:i},e.default(t))}}}),Y({name:"UseElementVisibility",props:["as"],setup(n,{slots:e}){const i=S(),t=ae({isVisible:Kw(i)});return()=>{if(e.default)return Oe(n.as||"div",{ref:i},e.default(t))}}}),Y({name:"UseEyeDropper",props:{sRGBHex:String},setup(n,{slots:e}){const i=ae(Qw());return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseFullscreen",props:["as"],setup(n,{slots:e}){const i=S(),t=ae(Jw(i));return()=>{if(e.default)return Oe(n.as||"div",{ref:i},e.default(t))}}}),Y({name:"UseGeolocation",props:["enableHighAccuracy","maximumAge","timeout","navigator"],setup(n,{slots:e}){const i=ae(Zw(n));return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseIdle",props:["timeout","events","listenForVisibilityChange","initialState"],setup(n,{slots:e}){const i=ae(nb(n.timeout,n));return()=>{if(e.default)return e.default(i)}}});function l_(n,e,i){const{immediate:t=!0,delay:r=0,onError:a=Kn,resetOnExecute:s=!0,shallow:o=!0}=i!=null?i:{},u=o?Fr(e):S(e),f=S(!1),l=S(!1),d=S(void 0);async function c(F=0,...h){s&&(u.value=e),d.value=void 0,f.value=!1,l.value=!0,F>0&&await PF(F);const p=typeof n=="function"?n(...h):n;try{const g=await p;u.value=g,f.value=!0}catch(g){d.value=g,a(g)}finally{l.value=!1}return u.value}return t&&c(r),{state:u,isReady:f,isLoading:l,error:d,execute:c}}var d_=Object.defineProperty,Sh=Object.getOwnPropertySymbols,c_=Object.prototype.hasOwnProperty,F_=Object.prototype.propertyIsEnumerable,Ah=(n,e,i)=>e in n?d_(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,h_=(n,e)=>{for(var i in e||(e={}))c_.call(e,i)&&Ah(n,i,e[i]);if(Sh)for(var i of Sh(e))F_.call(e,i)&&Ah(n,i,e[i]);return n};async function m_(n){return new Promise((e,i)=>{const t=new Image,{src:r,srcset:a,sizes:s}=n;t.src=r,a&&(t.srcset=a),s&&(t.sizes=s),t.onload=()=>e(t),t.onerror=i})}const v_=(n,e={})=>{const i=l_(()=>m_(T(n)),void 0,h_({resetOnExecute:!0},e));return ge(()=>T(n),()=>i.execute(e.delay),{deep:!0}),i};Y({name:"UseImage",props:["src","srcset","sizes","as"],setup(n,{slots:e}){const i=ae(v_(n));return()=>i.isLoading&&e.loading?e.loading(i):i.error&&e.error?e.error(i.error):e.default?e.default(i):Oe(n.as||"img",n)}}),Y({name:"UseMouse",props:["touch","resetOnTouchEnds","initialValue"],setup(n,{slots:e}){const i=ae(oh(n));return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseMouseElement",props:["handleOutside","as"],setup(n,{slots:e}){const i=S(),t=ae(lb(i,n));return()=>{if(e.default)return Oe(n.as||"div",{ref:i},e.default(t))}}});var p_=Object.defineProperty,g_=Object.defineProperties,y_=Object.getOwnPropertyDescriptors,Bh=Object.getOwnPropertySymbols,k_=Object.prototype.hasOwnProperty,w_=Object.prototype.propertyIsEnumerable,xh=(n,e,i)=>e in n?p_(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,b_=(n,e)=>{for(var i in e||(e={}))k_.call(e,i)&&xh(n,i,e[i]);if(Bh)for(var i of Bh(e))w_.call(e,i)&&xh(n,i,e[i]);return n},__=(n,e)=>g_(n,y_(e));Y({name:"UseMousePressed",props:["touch","initialValue","as"],setup(n,{slots:e}){const i=S(),t=ae(db(__(b_({},n),{target:i})));return()=>{if(e.default)return Oe(n.as||"div",{ref:i},e.default(t))}}}),Y({name:"UseNetwork",setup(n,{slots:e}){const i=ae(uh());return()=>{if(e.default)return e.default(i)}}});var E_=Object.defineProperty,D_=Object.defineProperties,C_=Object.getOwnPropertyDescriptors,Mh=Object.getOwnPropertySymbols,S_=Object.prototype.hasOwnProperty,A_=Object.prototype.propertyIsEnumerable,Ph=(n,e,i)=>e in n?E_(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,B_=(n,e)=>{for(var i in e||(e={}))S_.call(e,i)&&Ph(n,i,e[i]);if(Mh)for(var i of Mh(e))A_.call(e,i)&&Ph(n,i,e[i]);return n},x_=(n,e)=>D_(n,C_(e));Y({name:"UseNow",props:["interval"],setup(n,{slots:e}){const i=ae(dh(x_(B_({},n),{controls:!0})));return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseObjectUrl",props:["object"],setup(n,{slots:e}){const i=Ss(n,"object"),t=vb(i);return()=>{if(e.default&&t.value)return e.default(t)}}});var M_=Object.defineProperty,P_=Object.defineProperties,O_=Object.getOwnPropertyDescriptors,Oh=Object.getOwnPropertySymbols,T_=Object.prototype.hasOwnProperty,I_=Object.prototype.propertyIsEnumerable,Th=(n,e,i)=>e in n?M_(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,L_=(n,e)=>{for(var i in e||(e={}))T_.call(e,i)&&Th(n,i,e[i]);if(Oh)for(var i of Oh(e))I_.call(e,i)&&Th(n,i,e[i]);return n},N_=(n,e)=>P_(n,O_(e));const j_=Y({name:"UseOffsetPagination",props:["total","page","pageSize","onPageChange","onPageSizeChange","onPageCountChange"],emits:["page-change","page-size-change","page-count-change"],setup(n,{slots:e,emit:i}){const t=ae(pb(N_(L_({},n),{onPageChange(...r){var a;(a=n.onPageChange)==null||a.call(n,...r),i("page-change",...r)},onPageSizeChange(...r){var a;(a=n.onPageSizeChange)==null||a.call(n,...r),i("page-size-change",...r)},onPageCountChange(...r){var a;(a=n.onPageCountChange)==null||a.call(n,...r),i("page-count-change",...r)}})));return()=>{if(e.default)return e.default(t)}}});Y({name:"UseOnline",setup(n,{slots:e}){const i=ae({isOnline:gb()});return()=>{if(e.default)return e.default(i)}}}),Y({name:"UsePageLeave",setup(n,{slots:e}){const i=ae({isLeft:yb()});return()=>{if(e.default)return e.default(i)}}});var R_=Object.defineProperty,$_=Object.defineProperties,z_=Object.getOwnPropertyDescriptors,Ih=Object.getOwnPropertySymbols,H_=Object.prototype.hasOwnProperty,U_=Object.prototype.propertyIsEnumerable,Lh=(n,e,i)=>e in n?R_(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,W_=(n,e)=>{for(var i in e||(e={}))H_.call(e,i)&&Lh(n,i,e[i]);if(Ih)for(var i of Ih(e))U_.call(e,i)&&Lh(n,i,e[i]);return n},q_=(n,e)=>$_(n,z_(e));Y({name:"UsePointer",props:["pointerTypes","initialValue","target"],setup(n,{slots:e}){const i=S(null),t=ae(Ab(q_(W_({},n),{target:n.target==="self"?i:Yt})));return()=>{if(e.default)return e.default(t,{ref:i})}}}),Y({name:"UsePreferredColorScheme",setup(n,{slots:e}){const i=ae({colorScheme:Bb()});return()=>{if(e.default)return e.default(i)}}}),Y({name:"UsePreferredDark",setup(n,{slots:e}){const i=ae({prefersDark:ul()});return()=>{if(e.default)return e.default(i)}}}),Y({name:"UsePreferredLanguages",setup(n,{slots:e}){const i=ae({languages:xb()});return()=>{if(e.default)return e.default(i)}}});function Do(n,e,{window:i=Yt,initialValue:t=""}={}){const r=S(t),a=ne(()=>{var s;return ll(e)||((s=i==null?void 0:i.document)==null?void 0:s.documentElement)});return ge([a,()=>T(n)],([s,o])=>{var u;if(s&&i){const f=(u=i.getComputedStyle(s).getPropertyValue(o))==null?void 0:u.trim();r.value=f||t}},{immediate:!0}),ge(r,s=>{var o;(o=a.value)!=null&&o.style&&a.value.style.setProperty(T(n),s)}),r}const Nh="--vueuse-safe-area-top",jh="--vueuse-safe-area-right",Rh="--vueuse-safe-area-bottom",$h="--vueuse-safe-area-left";function V_(){const n=S(""),e=S(""),i=S(""),t=S("");if(hi){const a=Do(Nh),s=Do(jh),o=Do(Rh),u=Do($h);a.value="env(safe-area-inset-top, 0px)",s.value="env(safe-area-inset-right, 0px)",o.value="env(safe-area-inset-bottom, 0px)",u.value="env(safe-area-inset-left, 0px)",r(),xr("resize",W4(r))}function r(){n.value=Co(Nh),e.value=Co(jh),i.value=Co(Rh),t.value=Co($h)}return{top:n,right:e,bottom:i,left:t,update:r}}function Co(n){return getComputedStyle(document.documentElement).getPropertyValue(n)}Y({name:"UseScreenSafeArea",props:{top:Boolean,right:Boolean,bottom:Boolean,left:Boolean},setup(n,{slots:e}){const{top:i,right:t,bottom:r,left:a}=V_();return()=>{if(e.default)return Oe("div",{style:{paddingTop:n.top?i.value:"",paddingRight:n.right?t.value:"",paddingBottom:n.bottom?r.value:"",paddingLeft:n.left?a.value:"",boxSizing:"border-box",maxHeight:"100vh",maxWidth:"100vw",overflow:"auto"}},e.default())}}});function G_(n){const e=n||window.event;return e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}function Y_(n,e=!1){const i=S(e);let t=null,r;ge(()=>T(n),o=>{if(o){const u=o;r=u.style.overflow,i.value&&(u.style.overflow="hidden")}},{immediate:!0});const a=()=>{const o=T(n);!o||i.value||(MF&&(t=xr(o,"touchmove",G_,{passive:!1})),o.style.overflow="hidden",i.value=!0)},s=()=>{const o=T(n);!o||!i.value||(MF&&(t==null||t()),o.style.overflow=r,i.value=!1)};return Qn(s),ne({get(){return i.value},set(o){o?a():s()}})}(()=>{let n=!1;const e=S(!1);return(i,t)=>{if(e.value=t.value,n)return;n=!0;const r=Y_(i,t.value);ge(e,a=>r.value=a)}})();var K_=Object.defineProperty,Q_=Object.defineProperties,J_=Object.getOwnPropertyDescriptors,zh=Object.getOwnPropertySymbols,Z_=Object.prototype.hasOwnProperty,X_=Object.prototype.propertyIsEnumerable,Hh=(n,e,i)=>e in n?K_(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,e6=(n,e)=>{for(var i in e||(e={}))Z_.call(e,i)&&Hh(n,i,e[i]);if(zh)for(var i of zh(e))X_.call(e,i)&&Hh(n,i,e[i]);return n},n6=(n,e)=>Q_(n,J_(e));Y({name:"UseTimeAgo",props:["time","updateInterval","max","fullDateFormatter","messages"],setup(n,{slots:e}){const i=Ss(n,"time"),t=ae(fl(i,n6(e6({},n),{controls:!0})));return()=>{if(e.default)return e.default(t)}}});var i6=Object.defineProperty,t6=Object.defineProperties,r6=Object.getOwnPropertyDescriptors,Uh=Object.getOwnPropertySymbols,a6=Object.prototype.hasOwnProperty,s6=Object.prototype.propertyIsEnumerable,Wh=(n,e,i)=>e in n?i6(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,o6=(n,e)=>{for(var i in e||(e={}))a6.call(e,i)&&Wh(n,i,e[i]);if(Uh)for(var i of Uh(e))s6.call(e,i)&&Wh(n,i,e[i]);return n},u6=(n,e)=>t6(n,r6(e));Y({name:"UseTimestamp",props:["immediate","interval","offset"],setup(n,{slots:e}){const i=ae($b(u6(o6({},n),{controls:!0})));return()=>{if(e.default)return e.default(i)}}});var f6=Object.defineProperty,qh=Object.getOwnPropertySymbols,l6=Object.prototype.hasOwnProperty,d6=Object.prototype.propertyIsEnumerable,Vh=(n,e,i)=>e in n?f6(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,Gh=(n,e)=>{for(var i in e||(e={}))l6.call(e,i)&&Vh(n,i,e[i]);if(qh)for(var i of qh(e))d6.call(e,i)&&Vh(n,i,e[i]);return n};Y({name:"UseVirtualList",props:["list","options","height"],setup(n,{slots:e}){const{list:i}=Cs(n),{list:t,containerProps:r,wrapperProps:a}=zb(i,n.options);return r.style.height=n.height||"300px",()=>Oe("div",Gh({},r),[Oe("div",Gh({},a.value),t.value.map(s=>Oe("div",{style:{overFlow:"hidden",height:s.height}},e.default?e.default(s):"Please set content!")))])}}),Y({name:"UseWindowFocus",setup(n,{slots:e}){const i=ae({focused:Hb()});return()=>{if(e.default)return e.default(i)}}}),Y({name:"UseWindowSize",props:["initialWidth","initialHeight"],setup(n,{slots:e}){const i=ae(Ub(n));return()=>{if(e.default)return e.default(i)}}});const c6={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},F6=$("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.414L8 12l6.364-6.364l1.414 1.414z"},null,-1),h6=[F6];function m6(n,e){return J(),fe("svg",c6,h6)}var Yh={name:"ri-arrow-left-s-line",render:m6};const v6={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},p6=$("path",{fill:"currentColor",d:"m13.172 12l-4.95-4.95l1.414-1.414L16 12l-6.364 6.364l-1.414-1.414z"},null,-1),g6=[p6];function y6(n,e){return J(),fe("svg",v6,g6)}var Fl={name:"ri-arrow-right-s-line",render:y6};const k6={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},w6=$("path",{fill:"currentColor",d:"m12 10.586l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.414 1.414l-4.95-4.95l-4.95 4.95l-1.414-1.414l4.95-4.95l-4.95-4.95L7.05 5.636z"},null,-1),b6=[w6];function _6(n,e){return J(),fe("svg",k6,b6)}var E6={name:"ri-close-line",render:_6};const D6={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},C6=$("path",{fill:"currentColor",d:"M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4z"},null,-1),S6=[C6];function A6(n,e){return J(),fe("svg",D6,S6)}var Kh={name:"ri-user-line",render:A6};const B6={key:0,class:"w-full h-full"},x6=["src","alt"];var hl=Y({__name:"Avatar",props:{src:{default:void 0},alt:{default:void 0},size:{default:void 0},width:{default:void 0},height:{default:void 0},circle:{type:Boolean,default:!1}},setup(n){const e=n,i=ne(()=>{const s=[`avatar-${e.circle?"circle":"square"}`];return e.size&&s.push(`avatar-${e.size}`),s}),t=ne(()=>{const s={};return e.width&&(s.width=e.width),e.height&&(s.height=e.height),s}),{isLoading:r,error:a}=ob({src:e.src});return(s,o)=>(J(),fe("div",{class:Ue(["avatar-wrapper",T(i)]),style:Ci(T(t))},[T(r)||T(a)?(J(),fe("div",B6,[G(T(Kh),{class:"w-full h-full"})])):(J(),fe("img",{key:1,src:n.src,alt:n.alt},null,8,x6))],6))}}),M6=(n,e)=>{const i=n.__vccOpts||n;for(const[t,r]of e)i[t]=r;return i};const P6=["disabled"],O6={key:0,class:"btn-icon"},T6={key:0,class:"animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},I6=$("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),L6=$("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"},null,-1),N6=[I6,L6],j6={class:"btn-content"};var Kt=Y({__name:"Button",props:{type:{default:"default"},size:{default:"md"},circle:{type:Boolean,default:!1},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},route:{default:void 0}},emits:["click"],setup(n,{emit:e}){const i=n,t=SF(),r=ne(()=>[`btn-${i.size}`,`btn-${i.type}`,{"btn-circle":i.circle},{"btn-block":i.block},{"btn-loading":i.loading}]);function a(){i.disabled||i.loading||(i.route&&t.push(i.route),e("click"))}return(s,o)=>(J(),fe("button",{class:Ue([T(r),"btn"]),disabled:n.disabled,onClick:a},[s.$slots.icon||n.loading?(J(),fe("span",O6,[n.loading?(J(),fe("svg",T6,N6)):qe(s.$slots,"icon",{key:1})])):Ve("",!0),$("span",j6,[qe(s.$slots,"default")])],10,P6))}});const R6={class:"menu-container w-full p-3"};var $6=Y({__name:"Menu",props:{openIds:null},setup(n){return Un("openIds",n.openIds),(e,i)=>(J(),fe("div",R6,[$("ul",null,[qe(e.$slots,"default")])]))}});const z6=["onClick"],H6={key:0,class:"menu-icon mr-3 self-center"},U6={class:"menu-title flex-1 self-center"},W6={class:"sub-menu-items transition-all"};var Qh=Y({__name:"MenuItem",props:{id:{default:""},title:{default:""},active:{type:Boolean,default:!1}},emits:["select"],setup(n,{emit:e}){const i=n,t=Ic(),r=S(!1),a=Ke("openIds");a!=null&&a.includes(i.id)&&(r.value=!0);const s=ne(()=>t.default&&t.default().length>0);function o(){if(s.value){r.value=!r.value;return}e("select",i.id)}return(u,f)=>(J(),fe("li",{class:Ue([{"has-submenus":T(s)},"menu-item"]),onClick:Xs(o,["stop"])},[$("div",{class:Ue([{active:n.active},"menu-item-title"])},[u.$slots.icon?(J(),fe("span",H6,[qe(u.$slots,"icon")])):Ve("",!0),$("span",U6,We(n.title),1),u.$slots.default?(J(),fe("span",{key:1,class:Ue([{open:r.value},"menu-icon-collapse self-center transition-all"])},[G(T(Fl))],2)):Ve("",!0)],2),G(Ht,{name:"submenus-show"},{default:De(()=>[Xi($("ul",W6,[qe(u.$slots,"default")],512),[[br,u.$slots.default&&r.value]])]),_:3})],10,z6))}});const q6={},V6={class:"menu-label flex flex-col"};function G6(n,e){return J(),fe("li",V6,[qe(n.$slots,"default")])}var Y6=M6(q6,[["render",G6]]);Y({name:"VRoutesMenu",props:{menus:{type:Object,required:!0}},emits:["select"],setup(n,{emit:e}){const i=j4(),{push:t}=SF(),r=ne(()=>i.matched.map(u=>u.path));async function a(u){e("select",u),await t(u)}function s(u){if(u)return G(u,{height:"20px",width:"20px"},null)}function o(u){return u==null?void 0:u.map(f=>{var l;return G(Be,null,[(l=f.children)!=null&&l.length?G(Qh,{key:f.path,id:f.path,title:f.name},{default:()=>[o(f.children)],icon:()=>s(f.icon)}):G(Qh,{key:f.path,id:f.path,title:f.name,onSelect:a,active:r.value.includes(f.path)},{icon:()=>s(f.icon)})])})}return()=>G($6,{openIds:r.value},{default:()=>{var u;return[(u=n.menus)==null?void 0:u.map(f=>{var l;return G(Be,null,[f.name&&G(Y6,null,{default:()=>[f.name]}),((l=f.items)==null?void 0:l.length)&&o(f.items)])})]}})}});const K6={key:0,class:"modal-header group"},Q6={class:"modal-header-title"},J6={class:"modal-header-actions"},Z6={key:1,class:"modal-footer"};var X6=Y({__name:"Modal",props:{visible:{type:Boolean,default:!1},title:{default:void 0},width:{default:500},height:{default:void 0},fullscreen:{type:Boolean,default:!1},bodyClass:{default:void 0},mountToBody:{type:Boolean,default:!1}},emits:["update:visible","close"],setup(n,{emit:e}){const i=n,t=S(!1),r=S(),a=ne(()=>({"modal-wrapper-fullscreen":i.fullscreen})),s=ne(()=>({maxWidth:i.width+"px",height:i.height}));function o(){e("update:visible",!1),e("close")}return ge(()=>i.visible,()=>{i.visible&&mr(()=>{var u;(u=r.value)==null||u.focus()})}),(u,f)=>(J(),un(bc,{disabled:!n.mountToBody,to:"body"},[Xi($("div",{ref_key:"modelWrapper",ref:r,class:Ue([T(a),"modal-wrapper"]),"aria-modal":"true",role:"dialog",tabindex:"0",onKeyup:f[4]||(f[4]=F0(Xs(l=>o(),["stop"]),["esc"]))},[G(Ht,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0",onBeforeEnter:f[1]||(f[1]=l=>t.value=!0),onAfterLeave:f[2]||(f[2]=l=>t.value=!1)},{default:De(()=>[Xi($("div",{class:"modal-layer",onClick:f[0]||(f[0]=Xs(l=>o(),["stop"]))},null,512),[[br,n.visible]])]),_:1}),G(Ht,{"enter-active-class":"ease-out duration-200","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-100","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:De(()=>[Xi($("div",{style:Ci(T(s)),class:"modal-content transform transition-all"},[u.$slots.header||n.title?(J(),fe("div",K6,[qe(u.$slots,"header",{},()=>[$("div",Q6,We(n.title),1),$("div",J6,[qe(u.$slots,"actions"),$("span",{class:"bg-gray-50",onClick:f[3]||(f[3]=l=>o())},[G(T(E6))])])])])):Ve("",!0),$("div",{class:Ue([n.bodyClass,"modal-body"])},[qe(u.$slots,"default")],2),u.$slots.footer?(J(),fe("div",Z6,[qe(u.$slots,"footer")])):Ve("",!0)],4),[[br,n.visible]])]),_:3})],34),[[br,t.value]])],8,["disabled"]))}});const e9={xs:10,sm:12,md:16,lg:20};var Jh=Y({__name:"Space",props:{spacing:{default:"xs"},direction:{default:"row"},align:{default:"center"}},setup(n){const e=n,i=ne(()=>{const{direction:t,align:r}=e;return[`space-direction-${t}`,`space-align-${r}`]});return(t,r)=>(J(),fe("div",{class:Ue([T(i),"space-wrapper"]),style:Ci(`gap: ${T(e9)[n.spacing]}px`)},[qe(t.$slots,"default")],6))}});const n9={key:0,class:"tag-left-icon"},i9={class:"tag-content"},t9={key:1,class:"tag-right-icon"};var Zh=Y({__name:"Tag",props:{theme:{default:"default"},rounded:{type:Boolean,default:!1},styles:{default:()=>({})}},setup(n){const e=n,i=ne(()=>[`tag-${e.theme}`,{"tag-rounded":e.rounded}]);return(t,r)=>(J(),fe("div",{class:Ue([T(i),"tag-wrapper"]),style:Ci(n.styles)},[t.$slots.leftIcon?(J(),fe("div",n9,[qe(t.$slots,"leftIcon")])):Ve("",!0),$("span",i9,[qe(t.$slots,"default")]),t.$slots.rightIcon?(J(),fe("div",t9,[qe(t.$slots,"rightIcon")])):Ve("",!0)],6))}});const r9={class:"bg-white flex items-center justify-between"},a9={class:"flex-1 flex justify-between sm:!hidden items-center"},s9=["onClick"],o9={class:"text-sm text-gray-500"},u9=["onClick"],f9={class:"hidden sm:flex-1 sm:flex sm:items-center"},l9={"aria-label":"Pagination",class:"relative z-0 inline-flex rounded-base shadow-sm -space-x-px"},d9=["onClick"],c9=["onClick"],F9=["onClick"];var h9=Y({__name:"Pagination",props:{page:{default:1},size:{default:10},total:{default:0}},emits:["update:page","update:size","change"],setup(n,{emit:e}){const i=n,{page:t,size:r,total:a}=Cs(i),s=S(Math.random()),o=({currentPage:u,currentPageSize:f})=>{e("change",{page:u,size:f})};return ge(()=>a==null?void 0:a.value,()=>{s.value=Math.random()}),(u,f)=>(J(),un(T(j_),{key:s.value,page:T(t),"page-size":T(r),total:T(a),onPageChange:o,onPageSizeChange:o},{default:De(({currentPage:l,next:d,prev:c,pageCount:F})=>[$("div",r9,[$("div",a9,[$("span",{class:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:c},[G(T(Yh))],8,s9),$("span",o9,We(l)+" / "+We(F),1),$("span",{class:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 cursor-pointer",onClick:d},[G(T(Fl))],8,u9)]),$("div",f9,[$("nav",l9,[$("span",{class:"relative inline-flex items-center px-2 py-2 rounded-l-[4px] border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer",onClick:c},[G(T(Yh))],8,d9),(J(!0),fe(Be,null,Rs(F,h=>(J(),fe("span",{key:h,class:Ue([{"z-10 bg-primary/1 border-primary text-primary":h===l,"bg-white border-gray-300 text-gray-500 hover:bg-gray-50":h!==l},"relative inline-flex items-center px-4 py-2 border text-sm font-medium cursor-pointer select-none"]),"aria-current":"page",onClick:p=>l.value=h},We(h),11,c9))),128)),$("span",{class:"relative inline-flex items-center px-2 py-2 rounded-r-[4px] border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer",onClick:d},[G(T(Fl))],8,F9)])])])]),_:1},8,["page","page-size","total"]))}});class Ie{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,t){let r=[];return this.decompose(0,e,r,2),t.length&&t.decompose(0,t.length,r,3),this.decompose(i,this.length,r,1),mi.from(r,this.length-(i-e)+t.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){let t=[];return this.decompose(e,i,t,0),mi.from(t,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),t=this.length-this.scanIdentical(e,-1),r=new Ha(this),a=new Ha(e);for(let s=i,o=i;;){if(r.next(s),a.next(s),s=0,r.lineBreak!=a.lineBreak||r.done!=a.done||r.value!=a.value)return!1;if(o+=r.value.length,r.done||o>=t)return!0}}iter(e=1){return new Ha(this,e)}iterRange(e,i=this.length){return new em(this,e,i)}iterLines(e,i){let t;if(e==null)t=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;t=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new nm(t)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Ie.empty:e.length<=32?new Ne(e):mi.from(Ne.split(e,[]))}}class Ne extends Ie{constructor(e,i=m9(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,t,r){for(let a=0;;a++){let s=this.text[a],o=r+s.length;if((i?t:o)>=e)return new v9(r,o,t,s);r=o+1,t++}}decompose(e,i,t,r){let a=e<=0&&i>=this.length?this:new Ne(Xh(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let s=t.pop(),o=So(a.text,s.text.slice(),0,a.length);if(o.length<=32)t.push(new Ne(o,s.length+a.length));else{let u=o.length>>1;t.push(new Ne(o.slice(0,u)),new Ne(o.slice(u)))}}else t.push(a)}replace(e,i,t){if(!(t instanceof Ne))return super.replace(e,i,t);let r=So(this.text,So(t.text,Xh(this.text,0,e)),i),a=this.length+t.length-(i-e);return r.length<=32?new Ne(r,a):mi.from(Ne.split(r,[]),a)}sliceString(e,i=this.length,t=` +`){let r="";for(let a=0,s=0;a<=i&&se&&s&&(r+=t),ea&&(r+=o.slice(Math.max(0,e-a),i-a)),a=u+1}return r}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let t=[],r=-1;for(let a of e)t.push(a),r+=a.length+1,t.length==32&&(i.push(new Ne(t,r)),t=[],r=-1);return r>-1&&i.push(new Ne(t,r)),i}}class mi extends Ie{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let t of e)this.lines+=t.lines}lineInner(e,i,t,r){for(let a=0;;a++){let s=this.children[a],o=r+s.length,u=t+s.lines-1;if((i?u:o)>=e)return s.lineInner(e,i,t,r);r=o+1,t=u+1}}decompose(e,i,t,r){for(let a=0,s=0;s<=i&&a=s){let f=r&((s<=e?1:0)|(u>=i?2:0));s>=e&&u<=i&&!f?t.push(o):o.decompose(e-s,i-s,t,f)}s=u+1}}replace(e,i,t){if(t.lines=a&&i<=o){let u=s.replace(e-a,i-a,t),f=this.lines-s.lines+u.lines;if(u.lines>4&&u.lines>f>>6){let l=this.children.slice();return l[r]=u,new mi(l,this.length-(i-e)+t.length)}return super.replace(a,o,u)}a=o+1}return super.replace(e,i,t)}sliceString(e,i=this.length,t=` +`){let r="";for(let a=0,s=0;ae&&a&&(r+=t),es&&(r+=o.sliceString(e-s,i-s,t)),s=u+1}return r}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof mi))return 0;let t=0,[r,a,s,o]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=i,a+=i){if(r==s||a==o)return t;let u=this.children[r],f=e.children[a];if(u!=f)return t+u.scanIdentical(f,i);t+=u.length+1}}static from(e,i=e.reduce((t,r)=>t+r.length+1,-1)){let t=0;for(let F of e)t+=F.lines;if(t<32){let F=[];for(let h of e)h.flatten(F);return new Ne(F,i)}let r=Math.max(32,t>>5),a=r<<1,s=r>>1,o=[],u=0,f=-1,l=[];function d(F){let h;if(F.lines>a&&F instanceof mi)for(let p of F.children)d(p);else F.lines>s&&(u>s||!u)?(c(),o.push(F)):F instanceof Ne&&u&&(h=l[l.length-1])instanceof Ne&&F.lines+h.lines<=32?(u+=F.lines,f+=F.length+1,l[l.length-1]=new Ne(h.text.concat(F.text),h.length+1+F.length)):(u+F.lines>r&&c(),u+=F.lines,f+=F.length+1,l.push(F))}function c(){u!=0&&(o.push(l.length==1?l[0]:mi.from(l,f)),f=-1,u=l.length=0)}for(let F of e)d(F);return c(),o.length==1?o[0]:new mi(o,i)}}Ie.empty=new Ne([""],0);function m9(n){let e=-1;for(let i of n)e+=i.length+1;return e}function So(n,e,i=0,t=1e9){for(let r=0,a=0,s=!0;a=i&&(u>t&&(o=o.slice(0,t-r)),r0?1:(e instanceof Ne?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let t=this.nodes.length-1,r=this.nodes[t],a=this.offsets[t],s=a>>1,o=r instanceof Ne?r.text.length:r.children.length;if(s==(i>0?o:0)){if(t==0)return this.done=!0,this.value="",this;i>0&&this.offsets[t-1]++,this.nodes.pop(),this.offsets.pop()}else if((a&1)==(i>0?0:1)){if(this.offsets[t]+=i,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(r instanceof Ne){let u=r.text[s+(i<0?-1:0)];if(this.offsets[t]+=i,u.length>Math.max(0,e))return this.value=e==0?u:i>0?u.slice(e):u.slice(0,u.length-e),this;e-=u.length}else{let u=r.children[s+(i<0?-1:0)];e>u.length?(e-=u.length,this.offsets[t]+=i):(i<0&&this.offsets[t]--,this.nodes.push(u),this.offsets.push(i>0?1:(u instanceof Ne?u.text.length:u.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class em{constructor(e,i,t){this.value="",this.done=!1,this.cursor=new Ha(e,i>t?-1:1),this.pos=i>t?e.length:0,this.from=Math.min(i,t),this.to=Math.max(i,t)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let t=i<0?this.pos-this.from:this.to-this.pos;e>t&&(e=t),t-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=t?r:i<0?r.slice(r.length-t):r.slice(0,t),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class nm{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:t,value:r}=this.inner.next(e);return i?(this.done=!0,this.value=""):t?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Ie.prototype[Symbol.iterator]=function(){return this.iter()},Ha.prototype[Symbol.iterator]=em.prototype[Symbol.iterator]=nm.prototype[Symbol.iterator]=function(){return this});class v9{constructor(e,i,t,r){this.from=e,this.to=i,this.number=t,this.text=r}get length(){return this.to-this.from}}let Mr="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(n=>n?parseInt(n,36):1);for(let n=1;nn)return Mr[e-1]<=n;return!1}function im(n){return n>=127462&&n<=127487}const tm=8205;function Pr(n,e,i=!0,t=!0){return(i?rm:g9)(n,e,t)}function rm(n,e,i){if(e==n.length)return e;e&&am(n.charCodeAt(e))&&sm(n.charCodeAt(e-1))&&e--;let t=ml(n,e);for(e+=om(t);e=0&&im(ml(n,s));)a++,s-=2;if(a%2==0)break;e+=2}else break}return e}function g9(n,e,i){for(;e>0;){let t=rm(n,e-2,i);if(t=56320&&n<57344}function sm(n){return n>=55296&&n<56320}function ml(n,e){let i=n.charCodeAt(e);if(!sm(i)||e+1==n.length)return i;let t=n.charCodeAt(e+1);return am(t)?(i-55296<<10)+(t-56320)+65536:i}function om(n){return n<65536?1:2}const vl=/\r\n?|\n/;var jn=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(jn||(jn={}));class Oi{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;ie)return a+(e-r);a+=o}else{if(t!=jn.Simple&&f>=e&&(t==jn.TrackDel&&re||t==jn.TrackBefore&&re))return null;if(f>e||f==e&&i<0&&!o)return e==r||i<0?a:a+u;a+=u}r=f}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return a}touchesRange(e,i=e){for(let t=0,r=0;t=0&&r<=i&&o>=e)return ri?"cover":!0;r=o}return!1}toString(){let e="";for(let i=0;i=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Oi(e)}static create(e){return new Oi(e)}}class dn extends Oi{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return pl(this,(i,t,r,a,s)=>e=e.replace(r,r+(t-i),s),!1),e}mapDesc(e,i=!1){return gl(this,e,i,!0)}invert(e){let i=this.sections.slice(),t=[];for(let r=0,a=0;r=0){i[r]=o,i[r+1]=s;let u=r>>1;for(;t.length0&&ut(t,i,a.text),a.forward(l),o+=l}let f=e[s++];for(;o>1].toJSON()))}return e}static of(e,i,t){let r=[],a=[],s=0,o=null;function u(l=!1){if(!l&&!r.length)return;sc||d<0||c>i)throw new RangeError(`Invalid change range ${d} to ${c} (in doc of length ${i})`);let h=F?typeof F=="string"?Ie.of(F.split(t||vl)):F:Ie.empty,p=h.length;if(d==c&&p==0)return;ds&&cn(r,d-s,-1),cn(r,c-d,p),ut(a,r,h),s=c}}return f(e),u(!o),o}static empty(e){return new dn(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],t=[];for(let r=0;ro&&typeof s!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(a.length==1)i.push(a[0],0);else{for(;t.length=0&&i<=0&&i==n[r+1]?n[r]+=e:e==0&&n[r]==0?n[r+1]+=i:t?(n[r]+=e,n[r+1]+=i):n.push(e,i)}function ut(n,e,i){if(i.length==0)return;let t=e.length-2>>1;if(t>1])),!(i||s==n.sections.length||n.sections[s+1]<0);)o=n.sections[s++],u=n.sections[s++];e(r,f,a,l,d),r=f,a=l}}}function gl(n,e,i,t=!1){let r=[],a=t?[]:null,s=new Ua(n),o=new Ua(e);for(let u=-1;;)if(s.ins==-1&&o.ins==-1){let f=Math.min(s.len,o.len);cn(r,f,-1),s.forward(f),o.forward(f)}else if(o.ins>=0&&(s.ins<0||u==s.i||s.off==0&&(o.len=0&&u=0){let f=0,l=s.len;for(;l;)if(o.ins==-1){let d=Math.min(l,o.len);f+=d,l-=d,o.forward(d)}else if(o.ins==0&&o.lenu||s.ins>=0&&s.len>u)&&(o||t.length>f),a.forward2(u),s.forward(u)}}}}class Ua{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return i>=e.length?Ie.empty:e[i]}textBit(e){let{inserted:i}=this.set,t=this.i-2>>1;return t>=i.length&&!e?Ie.empty:i[t].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Qt{constructor(e,i,t){this.from=e,this.to=i,this.flags=t}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,i=-1){let t,r;return this.empty?t=r=e.mapPos(this.from,i):(t=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),t==this.from&&r==this.to?this:new Qt(t,r,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return me.range(e,i);let t=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return me.range(this.anchor,t)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return me.range(e.anchor,e.head)}static create(e,i,t){return new Qt(e,i,t)}}class me{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:me.create(this.ranges.map(t=>t.map(e,i)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let i=0;ie.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new me(e.ranges.map(i=>Qt.fromJSON(i)),e.main)}static single(e,i=e){return new me([me.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let t=0,r=0;re?4:0))}static normalized(e,i=0){let t=e[i];e.sort((r,a)=>r.from-a.from),i=e.indexOf(t);for(let r=1;ra.head?me.range(u,o):me.range(o,u))}}return new me(e,i)}}function fm(n,e){for(let i of n.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}let yl=0;class Fn{constructor(e,i,t,r,a){this.combine=e,this.compareInput=i,this.compare=t,this.isStatic=r,this.id=yl++,this.default=e([]),this.extensions=typeof a=="function"?a(this):a}static define(e={}){return new Fn(e.combine||(i=>i),e.compareInput||((i,t)=>i===t),e.compare||(e.combine?(i,t)=>i===t:kl),!!e.static,e.enables)}of(e){return new Ao([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ao(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ao(e,this,2,i)}from(e,i){return i||(i=t=>t),this.compute([e],t=>i(t.field(e)))}}function kl(n,e){return n==e||n.length==e.length&&n.every((i,t)=>i===e[t])}class Ao{constructor(e,i,t,r){this.dependencies=e,this.facet=i,this.type=t,this.value=r,this.id=yl++}dynamicSlot(e){var i;let t=this.value,r=this.facet.compareInput,a=this.id,s=e[a]>>1,o=this.type==2,u=!1,f=!1,l=[];for(let d of this.dependencies)d=="doc"?u=!0:d=="selection"?f=!0:(((i=e[d.id])!==null&&i!==void 0?i:1)&1)==0&&l.push(e[d.id]);return{create(d){return d.values[s]=t(d),1},update(d,c){if(u&&c.docChanged||f&&(c.docChanged||c.selection)||wl(d,l)){let F=t(d);if(o?!lm(F,d.values[s],r):!r(F,d.values[s]))return d.values[s]=F,1}return 0},reconfigure:(d,c)=>{let F=t(d),h=c.config.address[a];if(h!=null){let p=Mo(c,h);if(this.dependencies.every(g=>g instanceof Fn?c.facet(g)===d.facet(g):g instanceof Or?c.field(g,!1)==d.field(g,!1):!0)||(o?lm(F,p,r):r(F,p)))return d.values[s]=p,0}return d.values[s]=F,1}}}}function lm(n,e,i){if(n.length!=e.length)return!1;for(let t=0;tn[u.id]),r=i.map(u=>u.type),a=t.filter(u=>!(u&1)),s=n[e.id]>>1;function o(u){let f=[];for(let l=0;lt===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(dm).find(t=>t.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:t=>(t.values[i]=this.create(t),1),update:(t,r)=>{let a=t.values[i],s=this.updateF(a,r);return this.compareF(a,s)?0:(t.values[i]=s,1)},reconfigure:(t,r)=>r.config.address[this.id]!=null?(t.values[i]=r.field(this),0):(t.values[i]=this.create(t),1)}}init(e){return[this,dm.of({field:this,create:e})]}get extension(){return this}}const cm={lowest:4,low:3,default:2,high:1,highest:0};class k9{constructor(e,i){this.inner=e,this.prec=i}}class Bo{of(e){return new bl(this,e)}reconfigure(e){return Bo.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class bl{constructor(e,i){this.compartment=e,this.inner=i}}class xo{constructor(e,i,t,r,a,s){for(this.base=e,this.compartments=i,this.dynamicSlots=t,this.address=r,this.staticValues=a,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,i,t){let r=[],a=Object.create(null),s=new Map;for(let c of w9(e,i,s))c instanceof Or?r.push(c):(a[c.facet.id]||(a[c.facet.id]=[])).push(c);let o=Object.create(null),u=[],f=[];for(let c of r)o[c.id]=f.length<<1,f.push(F=>c.slot(F));let l=t==null?void 0:t.config.facets;for(let c in a){let F=a[c],h=F[0].facet,p=l&&l[c]||[];if(F.every(g=>g.type==0))if(o[h.id]=u.length<<1|1,kl(p,F))u.push(t.facet(h));else{let g=h.combine(F.map(m=>m.value));u.push(t&&h.compare(g,t.facet(h))?t.facet(h):g)}else{for(let g of F)g.type==0?(o[g.id]=u.length<<1|1,u.push(g.value)):(o[g.id]=f.length<<1,f.push(m=>g.dynamicSlot(m)));o[h.id]=f.length<<1,f.push(g=>y9(g,h,F))}}let d=f.map(c=>c(o));return new xo(e,s,d,o,u,a)}}function w9(n,e,i){let t=[[],[],[],[],[]],r=new Map;function a(s,o){let u=r.get(s);if(u!=null){if(u<=o)return;let f=t[u].indexOf(s);f>-1&&t[u].splice(f,1),s instanceof bl&&i.delete(s.compartment)}if(r.set(s,o),Array.isArray(s))for(let f of s)a(f,o);else if(s instanceof bl){if(i.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let f=e.get(s.compartment)||s.inner;i.set(s.compartment,f),a(f,o)}else if(s instanceof k9)a(s.inner,s.prec);else if(s instanceof Or)t[o].push(s),s.provides&&a(s.provides,o);else if(s instanceof Ao)t[o].push(s),s.facet.extensions&&a(s.facet.extensions,cm.default);else{let f=s.extension;if(!f)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);a(f,o)}}return a(n,cm.default),t.reduce((s,o)=>s.concat(o))}function Wa(n,e){if(e&1)return 2;let i=e>>1,t=n.status[i];if(t==4)throw new Error("Cyclic dependency between fields and/or facets");if(t&2)return t;n.status[i]=4;let r=n.computeSlot(n,n.config.dynamicSlots[i]);return n.status[i]=2|r}function Mo(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const Fm=Fn.define(),hm=Fn.define({combine:n=>n.some(e=>e),static:!0}),mm=Fn.define({combine:n=>n.length?n[0]:void 0,static:!0}),vm=Fn.define(),pm=Fn.define(),gm=Fn.define(),ym=Fn.define({combine:n=>n.length?n[0]:!1});class qa{constructor(e,i){this.type=e,this.value=i}static define(){return new b9}}class b9{of(e){return new qa(this,e)}}class _9{constructor(e){this.map=e}of(e){return new kn(this,e)}}class kn{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new kn(this.type,i)}is(e){return this.type==e}static define(e={}){return new _9(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let t=[];for(let r of e){let a=r.map(i);a&&t.push(a)}return t}}kn.reconfigure=kn.define(),kn.appendConfig=kn.define();class wn{constructor(e,i,t,r,a,s){this.startState=e,this.changes=i,this.selection=t,this.effects=r,this.annotations=a,this.scrollIntoView=s,this._doc=null,this._state=null,t&&fm(t,i.newLength),a.some(o=>o.type==wn.time)||(this.annotations=a.concat(wn.time.of(Date.now())))}static create(e,i,t,r,a,s){return new wn(e,i,t,r,a,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(wn.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}}wn.time=qa.define(),wn.userEvent=qa.define(),wn.addToHistory=qa.define(),wn.remote=qa.define();function E9(n,e){let i=[];for(let t=0,r=0;;){let a,s;if(t=n[t]))a=n[t++],s=n[t++];else if(r=0;r--){let a=t[r](n);a instanceof wn?n=a:Array.isArray(a)&&a.length==1&&a[0]instanceof wn?n=a[0]:n=wm(e,Tr(a),!1)}return n}function C9(n){let e=n.startState,i=e.facet(gm),t=n;for(let r=i.length-1;r>=0;r--){let a=i[r](n);a&&Object.keys(a).length&&(t=km(n,_l(e,a,n.changes.newLength),!0))}return t==n?n:wn.create(e,n.changes,n.selection,t.effects,t.annotations,t.scrollIntoView)}const S9=[];function Tr(n){return n==null?S9:Array.isArray(n)?n:[n]}var ft=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(ft||(ft={}));const A9=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let El;try{El=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function B9(n){if(El)return El.test(n);for(let e=0;e"\x80"&&(i.toUpperCase()!=i.toLowerCase()||A9.test(i)))return!0}return!1}function x9(n){return e=>{if(!/\S/.test(e))return ft.Space;if(B9(e))return ft.Word;for(let i=0;i-1)return ft.Word;return ft.Other}}class je{constructor(e,i,t,r,a,s){this.config=e,this.doc=i,this.selection=t,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=a,s&&(s._state=this);for(let o=0;or.set(u,o)),i=null),r.set(s.value.compartment,s.value.extension)):s.is(kn.reconfigure)?(i=null,t=s.value):s.is(kn.appendConfig)&&(i=null,t=Tr(t).concat(s.value));let a;i?a=e.startState.values.slice():(i=xo.resolve(t,r,this),a=new je(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(s,o)=>o.reconfigure(s,this),null).values),new je(i,e.newDoc,e.newSelection,a,(s,o)=>o.update(s,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:me.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,t=e(i.ranges[0]),r=this.changes(t.changes),a=[t.range],s=Tr(t.effects);for(let o=1;os.spec.fromJSON(o,u)))}}return je.create({doc:e.doc,selection:me.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=xo.resolve(e.extensions||[],new Map),t=e.doc instanceof Ie?e.doc:Ie.of((e.doc||"").split(i.staticFacet(je.lineSeparator)||vl)),r=e.selection?e.selection instanceof me?e.selection:me.single(e.selection.anchor,e.selection.head):me.single(0);return fm(r,t.length),i.staticFacet(hm)||(r=r.asSingle()),new je(i,t,r,i.dynamicSlots.map(()=>null),(a,s)=>s.create(a),null)}get tabSize(){return this.facet(je.tabSize)}get lineBreak(){return this.facet(je.lineSeparator)||` +`}get readOnly(){return this.facet(ym)}phrase(e,...i){for(let t of this.facet(je.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(t,r)=>{if(r=="$")return"$";let a=+(r||1);return!a||a>i.length?t:i[a-1]})),e}languageDataAt(e,i,t=-1){let r=[];for(let a of this.facet(Fm))for(let s of a(this,i,t))Object.prototype.hasOwnProperty.call(s,e)&&r.push(s[e]);return r}charCategorizer(e){return x9(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:t,length:r}=this.doc.lineAt(e),a=this.charCategorizer(e),s=e-t,o=e-t;for(;s>0;){let u=Pr(i,s,!1);if(a(i.slice(u,s))!=ft.Word)break;s=u}for(;on.length?n[0]:4}),je.lineSeparator=mm,je.readOnly=ym,je.phrases=Fn.define({compare(n,e){let i=Object.keys(n),t=Object.keys(e);return i.length==t.length&&i.every(r=>n[r]==e[r])}}),je.languageData=Fm,je.changeFilter=vm,je.transactionFilter=pm,je.transactionExtender=gm,Bo.reconfigure=kn.define();class Jt{eq(e){return this==e}range(e,i=e){return Va.create(e,i,this)}}Jt.prototype.startSide=Jt.prototype.endSide=0,Jt.prototype.point=!1,Jt.prototype.mapMode=jn.TrackDel;class Va{constructor(e,i,t){this.from=e,this.to=i,this.value=t}static create(e,i,t){return new Va(e,i,t)}}function Dl(n,e){return n.from-e.from||n.value.startSide-e.value.startSide}class Cl{constructor(e,i,t,r){this.from=e,this.to=i,this.value=t,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,t,r=0){let a=t?this.to:this.from;for(let s=r,o=a.length;;){if(s==o)return s;let u=s+o>>1,f=a[u]-e||(t?this.value[u].endSide:this.value[u].startSide)-i;if(u==s)return f>=0?s:o;f>=0?o=u:s=u+1}}between(e,i,t,r){for(let a=this.findIndex(i,-1e9,!0),s=this.findIndex(t,1e9,!1,a);aF||c==F&&f.startSide>0&&f.endSide<=0)continue;(F-c||f.endSide-f.startSide)<0||(s<0&&(s=c),f.point&&(o=Math.max(o,F-c)),t.push(f),r.push(c-s),a.push(F-s))}return{mapped:t.length?new Cl(r,a,t,o):null,pos:s}}}class Bn{constructor(e,i,t,r){this.chunkPos=e,this.chunk=i,this.nextLayer=t,this.maxPoint=r}static create(e,i,t,r){return new Bn(e,i,t,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:t=!1,filterFrom:r=0,filterTo:a=this.length}=e,s=e.filter;if(i.length==0&&!s)return this;if(t&&(i=i.slice().sort(Dl)),this.isEmpty)return i.length?Bn.of(i):this;let o=new _m(this,null,-1).goto(0),u=0,f=[],l=new Po;for(;o.value||u=0){let d=i[u++];l.addInner(d.from,d.to,d.value)||f.push(d)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ao.to||a=a&&e<=a+s.length&&s.between(a,e-a,i-a,t)===!1)return}this.nextLayer.between(e,i,t)}}iter(e=0){return Ga.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return Ga.from(e).goto(i)}static compare(e,i,t,r,a=-1){let s=e.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=a),o=i.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=a),u=bm(s,o,t),f=new Ya(s,u,a),l=new Ya(o,u,a);t.iterGaps((d,c,F)=>Em(f,d,l,c,F,r)),t.empty&&t.length==0&&Em(f,0,l,0,0,r)}static eq(e,i,t=0,r){r==null&&(r=1e9);let a=e.filter(l=>!l.isEmpty&&i.indexOf(l)<0),s=i.filter(l=>!l.isEmpty&&e.indexOf(l)<0);if(a.length!=s.length)return!1;if(!a.length)return!0;let o=bm(a,s),u=new Ya(a,o,0).goto(t),f=new Ya(s,o,0).goto(t);for(;;){if(u.to!=f.to||!Al(u.active,f.active)||u.point&&(!f.point||!u.point.eq(f.point)))return!1;if(u.to>r)return!0;u.next(),f.next()}}static spans(e,i,t,r,a=-1){let s=new Ya(e,null,a).goto(i),o=i,u=s.openStart;for(;;){let f=Math.min(s.to,t);if(s.point?(r.point(o,f,s.point,s.activeForPoint(s.to),u,s.pointRank),u=s.openEnd(f)+(s.to>f?1:0)):f>o&&(r.span(o,f,s.active,u),u=s.openEnd(f)),s.to>t)break;o=s.to,s.next()}return u}static of(e,i=!1){let t=new Po;for(let r of e instanceof Va?[e]:i?M9(e):e)t.add(r.from,r.to,r.value);return t.finish()}}Bn.empty=new Bn([],[],null,-1);function M9(n){if(n.length>1)for(let e=n[0],i=1;i0)return n.slice().sort(Dl);e=t}return n}Bn.empty.nextLayer=Bn.empty;class Po{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new Cl(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,i,t){this.addInner(e,i,t)||(this.nextLayer||(this.nextLayer=new Po)).add(e,i,t)}addInner(e,i,t){let r=e-this.lastTo||t.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||t.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=t,this.lastFrom=e,this.lastTo=i,this.value.push(t),t.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let t=i.value.length-1;return this.last=i.value[t],this.lastFrom=i.from[t]+e,this.lastTo=i.to[t]+e,!0}finish(){return this.finishInner(Bn.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=Bn.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}}function bm(n,e,i){let t=new Map;for(let a of n)for(let s=0;s=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=t&&r.push(new _m(s,i,t,a));return r.length==1?r[0]:new Ga(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let t of this.heap)t.goto(e,i);for(let t=this.heap.length>>1;t>=0;t--)Sl(this.heap,t);return this.next(),this}forward(e,i){for(let t of this.heap)t.forward(e,i);for(let t=this.heap.length>>1;t>=0;t--)Sl(this.heap,t);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Sl(this.heap,0)}}}function Sl(n,e){for(let i=n[e];;){let t=(e<<1)+1;if(t>=n.length)break;let r=n[t];if(t+1=0&&(r=n[t+1],t++),i.compare(r)<0)break;n[t]=i,n[e]=r,e=t}}class Ya{constructor(e,i,t){this.minPoint=t,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ga.from(e,i,t)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){Oo(this.active,e),Oo(this.activeTo,e),Oo(this.activeRank,e),this.minActive=Dm(this.active,this.activeTo)}addActive(e){let i=0,{value:t,to:r,rank:a}=this.cursor;for(;i-1&&(this.activeTo[a]-this.cursor.from||this.active[a].endSide-this.cursor.startSide)<0){if(this.activeTo[a]>e){this.to=this.activeTo[a],this.endSide=this.active[a].endSide;break}this.removeActive(a),t&&Oo(t,a)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(t),this.cursor.frome&&r++,this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from=0&&!(this.activeRank[t]e||this.activeTo[t]==e&&this.active[t].endSide>=this.point.endSide)&&i.push(this.active[t]);return i.reverse()}openEnd(e){let i=0;for(let t=this.activeTo.length-1;t>=0&&this.activeTo[t]>e;t--)i++;return i}}function Em(n,e,i,t,r,a){n.goto(e),i.goto(t);let s=t+r,o=t,u=t-e;for(;;){let f=n.to+u-i.to||n.endSide-i.endSide,l=f<0?n.to+u:i.to,d=Math.min(l,s);if(n.point||i.point?n.point&&i.point&&(n.point==i.point||n.point.eq(i.point))&&Al(n.activeForPoint(n.to+u),i.activeForPoint(i.to))||a.comparePoint(o,d,n.point,i.point):d>o&&!Al(n.active,i.active)&&a.compareRange(o,d,n.active,i.active),l>s)break;o=l,f<=0&&n.next(),f>=0&&i.next()}}function Al(n,e){if(n.length!=e.length)return!1;for(let i=0;i=e;t--)n[t+1]=n[t];n[e]=i}function Dm(n,e){let i=-1,t=1e9;for(let r=0;r",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},Cm=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent);typeof navigator<"u"&&/Apple Computer/.test(navigator.vendor);var P9=typeof navigator<"u"&&/Gecko\/\d+/.test(navigator.userAgent),Sm=typeof navigator<"u"&&/Mac/.test(navigator.platform);typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Cm&&(Sm||+Cm[1]<57);for(var Je=0;Je<10;Je++)Ir[48+Je]=Ir[96+Je]=String(Je);for(var Je=1;Je<=24;Je++)Ir[Je+111]="F"+Je;for(var Je=65;Je<=90;Je++)Ir[Je]=String.fromCharCode(Je+32),Bl[Je]=String.fromCharCode(Je);for(var xl in Ir)Bl.hasOwnProperty(xl)||(Bl[xl]=Ir[xl]);function O9(n){let e;return n.nodeType==11?e=n.getSelection?n:n.ownerDocument:e=n,e.getSelection()}function Am(n){return n.nodeType==3?Pm(n,0,n.nodeValue.length).getClientRects():n.nodeType==1?n.getClientRects():[]}function Bm(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e}function T9(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}const xm={left:0,right:0,top:0,bottom:0};function Ml(n,e){let i=e?n.left:n.right;return{left:i,right:i,top:n.top,bottom:n.bottom}}let Lr=null;function I9(n){if(n.setActive)return n.setActive();if(Lr)return n.focus(Lr);let e=[];for(let i=n;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(n.focus(Lr==null?{get preventScroll(){return Lr={preventScroll:!0},!0}}:void 0),!Lr){Lr=!1;for(let i=0;ii)return d.domBoundsAround(e,i,f);if(c>=e&&r==-1&&(r=u,a=f),f>i&&d.dom.parentNode==this.dom){s=u,o=l;break}l=c,f=c+d.breakAfter}return{from:a,to:o<0?t+this.length:o,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s=0?this.children[s].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let i=this.parent;i;i=i.parent){if(e&&(i.dirty|=2),i.dirty&1)return;i.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,t=Tm){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let t=this.children[--this.i];this.pos-=t.length+t.breakAfter}}}function N9(n,e,i,t,r,a,s,o,u){let{children:f}=n,l=f.length?f[e]:null,d=a.length?a[a.length-1]:null,c=d?d.breakAfter:s;if(!(e==t&&l&&!s&&!c&&a.length<2&&l.merge(i,r,a.length?d:null,i==0,o,u))){if(t0&&(!s&&a.length&&l.merge(i,l.length,a[0],!1,o,0)?l.breakAfter=a.shift().breakAfter:(i2);var hn={mac:zm||/Mac/.test(Rn.platform),windows:/Win/.test(Rn.platform),linux:/Linux|X11/.test(Rn.platform),ie:Io,ie_version:Nm?Pl.documentMode||6:Tl?+Tl[1]:Ol?+Ol[1]:0,gecko:jm,gecko_version:jm?+(/Firefox\/(\d+)/.exec(Rn.userAgent)||[0,0])[1]:0,chrome:!!Il,chrome_version:Il?+Il[1]:0,ios:zm,android:/Android\b/.test(Rn.userAgent),webkit:Rm,safari:$m,webkit_version:Rm?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Pl.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const j9=256;class Zt extends ii{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,t){return t&&(!(t instanceof Zt)||this.length-(i-e)+t.length>j9)?!1:(this.text=this.text.slice(0,e)+(t?t.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new Zt(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new lt(this.dom,e)}domBoundsAround(e,i,t){return{from:t,to:t+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return R9(this.dom,e,i)}}class Xt extends ii{constructor(e,i=[],t=0){super(),this.mark=e,this.children=i,this.length=t;for(let r of i)r.setParent(this)}setAttrs(e){if(Om(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e)}merge(e,i,t,r,a,s){return t&&(!(t instanceof Xt&&t.mark.eq(this.mark))||e&&a<=0||ie&&i.push(t=e&&(r=a),t=u,a++}let s=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Xt(this.mark,i,s)}domAtPos(e){return Hm(this,e)}coordsAt(e,i){return Wm(this,e,i)}}function R9(n,e,i){let t=n.nodeValue.length;e>t&&(e=t);let r=e,a=e,s=0;e==0&&i<0||e==t&&i>=0?hn.chrome||hn.gecko||(e?(r--,s=1):a=0)?0:o.length-1];return hn.safari&&!s&&u.width==0&&(u=Array.prototype.find.call(o,f=>f.width)||u),s?Ml(u,s<0):u||null}class Nr extends ii{constructor(e,i,t){super(),this.widget=e,this.length=i,this.side=t,this.prevWidget=null}static create(e,i,t){return new(e.customView||Nr)(e,i,t)}split(e){let i=Nr.create(this.widget,this.length-e,this.side);return this.length-=e,i}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,i,t,r,a,s){return t&&(!(t instanceof Nr)||!this.widget.compare(t.widget)||e>0&&a<=0||i0?t.length-1:0;r=t[a],!(e>0?a==0:a==t.length-1||r.top0?-1:1);return e==0&&i>0||e==this.length&&i<=0?r:Ml(r,e==0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Lo extends ii{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof Lo&&e.side==this.side}split(){return new Lo(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return lt.before(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){let i=this.dom.getBoundingClientRect(),t=$9(this,this.side>0?-1:1);return t&&t.topi.top?{left:i.left,right:i.right,top:t.top,bottom:t.bottom}:i}get overrideDOMText(){return Ie.empty}}Zt.prototype.children=Nr.prototype.children=Lo.prototype.children=Tm;function $9(n,e){let i=n.parent,t=i?i.children.indexOf(n):-1;for(;i&&t>=0;)if(e<0?t>0:ta&&e0;a--){let s=t[a-1];if(s.dom.parentNode==i)return s.domAtPos(s.length)}for(let a=r;a0&&e instanceof Xt&&r.length&&(t=r[r.length-1])instanceof Xt&&t.mark.eq(e.mark)?Um(t,e.children[0],i-1):(r.push(e),e.setParent(n)),n.length+=e.length}function Wm(n,e,i){for(let a=0,s=0;s0?u>=e:u>e)&&(e0)){let l=0;if(u==a){if(o.getSide()<=0)continue;l=i=-o.getSide()}let d=o.coordsAt(Math.max(0,e-a),i);return l&&d?Ml(d,i<0):d}a=u}let t=n.dom.lastChild;if(!t)return n.dom.getBoundingClientRect();let r=Am(t);return r[r.length-1]||null}function qm(n,e){for(let i in n)i=="class"&&e.class?e.class+=" "+n.class:i=="style"&&e.style?e.style+=";"+n.style:e[i]=n[i];return e}function Ll(n,e){if(n==e)return!0;if(!n||!e)return!1;let i=Object.keys(n),t=Object.keys(e);if(i.length!=t.length)return!1;for(let r of i)if(t.indexOf(r)==-1||n[r]!==e[r])return!1;return!0}function z9(n,e,i){let t=null;if(e)for(let r in e)i&&r in i||n.removeAttribute(t=r);if(i)for(let r in i)e&&e[r]==i[r]||n.setAttribute(t=r,i[r]);return!!t}var jr=function(n){return n[n.Text=0]="Text",n[n.WidgetBefore=1]="WidgetBefore",n[n.WidgetAfter=2]="WidgetAfter",n[n.WidgetRange=3]="WidgetRange",n}(jr||(jr={}));class No extends Jt{constructor(e,i,t,r){super(),this.startSide=e,this.endSide=i,this.widget=t,this.spec=r}get heightRelevant(){return!1}static mark(e){return new jo(e)}static widget(e){let i=e.side||0,t=!!e.block;return i+=t?i>0?3e8:-4e8:i>0?1e8:-1e8,new Qa(e,i,i,t,e.widget||null,!1)}static replace(e){let i=!!e.block,t,r;if(e.isBlockGap)t=-5e8,r=4e8;else{let{start:a,end:s}=Vm(e,i);t=(a?i?-3e8:-1:5e8)-1,r=(s?i?2e8:1:-6e8)+1}return new Qa(e,t,r,i,e.widget||null,!0)}static line(e){return new Ka(e)}static set(e,i=!1){return Bn.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}No.none=Bn.empty;class jo extends No{constructor(e){let{start:i,end:t}=Vm(e);super(i?-1:5e8,t?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof jo&&this.tagName==e.tagName&&this.class==e.class&&Ll(this.attrs,e.attrs)}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}}jo.prototype.point=!1;class Ka extends No{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Ka&&Ll(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}}Ka.prototype.mapMode=jn.TrackBefore,Ka.prototype.point=!0;class Qa extends No{constructor(e,i,t,r,a,s){super(i,t,a,e),this.block=r,this.isReplace=s,this.mapMode=r?i<=0?jn.TrackBefore:jn.TrackAfter:jn.TrackDel}get type(){return this.startSide=5}eq(e){return e instanceof Qa&&H9(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}}Qa.prototype.point=!0;function Vm(n,e=!1){let{inclusiveStart:i,inclusiveEnd:t}=n;return i==null&&(i=n.inclusive),t==null&&(t=n.inclusive),{start:i!=null?i:e,end:t!=null?t:e}}function H9(n,e){return n==e||!!(n&&e&&n.compare(e))}class Rr extends ii{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,i,t,r,a,s){if(t){if(!(t instanceof Rr))return!1;this.dom||t.transferDOM(this)}return r&&this.setDeco(t?t.attrs:null),Lm(this,e,i,t?t.children:[],a,s),!0}split(e){let i=new Rr;if(i.breakAfter=this.breakAfter,this.length==0)return i;let{i:t,off:r}=this.childPos(e);r&&(i.append(this.children[t].split(r),0),this.children[t].merge(r,this.children[t].length,null,!1,0,0),t++);for(let a=t;a0&&this.children[t-1].length==0;)this.children[--t].destroy();return this.children.length=t,this.markDirty(),this.length=e,i}transferDOM(e){!this.dom||(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){Ll(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){Um(this,e,i)}addLineDeco(e){let i=e.spec.attributes,t=e.spec.class;i&&(this.attrs=qm(i,this.attrs||{})),t&&(this.attrs=qm({class:t},this.attrs||{}))}domAtPos(e){return Hm(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var i;this.dom?this.dirty&4&&(Om(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(z9(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let t=this.dom.lastChild;for(;t&&ii.get(t)instanceof Xt;)t=t.lastChild;if(!t||!this.length||t.nodeName!="BR"&&((i=ii.get(t))===null||i===void 0?void 0:i.isEditable)==!1&&(!hn.ios||!this.children.some(r=>r instanceof Zt))){let r=document.createElement("BR");r.cmIgnore=!0,this.dom.appendChild(r)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let i of this.children){if(!(i instanceof Zt)||/[^ -~]/.test(i.text))return null;let t=Am(i.dom);if(t.length!=1)return null;e+=t[0].width}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}:null}coordsAt(e,i){return Wm(this,e,i)}become(e){return!1}get type(){return jr.Text}static find(e,i){for(let t=0,r=0;t=i){if(a instanceof Rr)return a;if(s>i)break}r=s+a.breakAfter}return null}}const U9=Fn.define(),W9=Fn.define(),q9=Fn.define();var Ro=function(n){return n[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n}(Ro||(Ro={}));Ro.LTR,Ro.RTL;const Gm=Object.create(null);for(let n of["()","[]","{}"]){let e=n.charCodeAt(0),i=n.charCodeAt(1);Gm[e]=i,Gm[i]=-e}function V9(n,e,i=1){let t=n.charCategorizer(e),r=n.doc.lineAt(e),a=e-r.from;if(r.length==0)return me.cursor(e);a==0?i=1:a==r.length&&(i=-1);let s=a,o=a;i<0?s=Pr(r.text,a,!1):o=Pr(r.text,a);let u=t(r.text.slice(s,o));for(;s>0;){let f=Pr(r.text,s,!1);if(t(r.text.slice(f,s))!=u)break;s=f}for(;othis.select(this.lastEvent),20)}}function Q9(n,e){let i=n.state.facet(U9);return i.length?i[0](e):hn.mac?e.metaKey:e.ctrlKey}function J9(n,e){let i=n.state.facet(W9);return i.length?i[0](e):hn.mac?!e.altKey:!e.ctrlKey}function Z9(n,e){let{main:i}=n.state.selection;if(i.empty)return!1;let t=O9(n.root);if(!t||t.rangeCount==0)return!0;let r=t.getRangeAt(0).getClientRects();for(let a=0;a=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}const mn=Object.create(null),Ym=Object.create(null),Km=hn.ie&&hn.ie_version<15||hn.ios&&hn.webkit_version<604;function X9(n){let e=n.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{n.focus(),i.remove(),Qm(n,i.value)},50)}function Qm(n,e){let{state:i}=n,t,r=1,a=i.toText(e),s=a.lines==i.selection.ranges.length;if(jl!=null&&i.selection.ranges.every(o=>o.empty)&&jl==a.toString()){let o=-1;t=i.changeByRange(u=>{let f=i.doc.lineAt(u.from);if(f.from==o)return{range:u};o=f.from;let l=i.toText((s?a.line(r++).text:e)+i.lineBreak);return{changes:{from:f.from,insert:l},range:me.cursor(u.from+l.length)}})}else s?t=i.changeByRange(o=>{let u=a.line(r++);return{changes:{from:o.from,to:o.to,insert:u.text},range:me.cursor(o.from+u.length)}}):t=i.replaceSelection(a);n.dispatch(t,{userEvent:"input.paste",scrollIntoView:!0})}mn.keydown=(n,e)=>{n.inputState.setSelectionOrigin("select"),e.keyCode==27?n.inputState.lastEscPress=Date.now():Y9.indexOf(e.keyCode)<0&&(n.inputState.lastEscPress=0)},mn.touchstart=(n,e)=>{n.inputState.lastTouchTime=Date.now(),n.inputState.setSelectionOrigin("select.pointer")},mn.touchmove=n=>{n.inputState.setSelectionOrigin("select.pointer")},Ym.touchstart=Ym.touchmove={passive:!0},mn.mousedown=(n,e)=>{if(n.observer.flush(),n.inputState.lastTouchTime>Date.now()-2e3&&Nl(e)==1)return;let i=null;for(let t of n.state.facet(q9))if(i=t(n,e),i)break;if(!i&&e.button==0&&(i=iE(n,e)),i){let t=n.root.activeElement!=n.contentDOM;t&&n.observer.ignore(()=>I9(n.contentDOM)),n.inputState.startMouseSelection(new K9(n,e,i,t))}};function Jm(n,e,i,t){if(t==1)return me.cursor(e,i);if(t==2)return V9(n.state,e,i);{let r=Rr.find(n.docView,e),a=n.state.doc.lineAt(r?r.posAtEnd:e),s=r?r.posAtStart:a.from,o=r?r.posAtEnd:a.to;return on>=e.top&&n<=e.bottom,Xm=(n,e,i)=>Zm(e,i)&&n>=i.left&&n<=i.right;function eE(n,e,i,t){let r=Rr.find(n.docView,e);if(!r)return 1;let a=e-r.posAtStart;if(a==0)return 1;if(a==r.length)return-1;let s=r.coordsAt(a,-1);if(s&&Xm(i,t,s))return-1;let o=r.coordsAt(a,1);return o&&Xm(i,t,o)?1:s&&Zm(t,s)?-1:1}function ev(n,e){let i=n.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:eE(n,i,e.clientX,e.clientY)}}const nE=hn.ie&&hn.ie_version<=11;let nv=null,iv=0,tv=0;function Nl(n){if(!nE)return n.detail;let e=nv,i=tv;return nv=n,tv=Date.now(),iv=!e||i>Date.now()-400&&Math.abs(e.clientX-n.clientX)<2&&Math.abs(e.clientY-n.clientY)<2?(iv+1)%3:1}function iE(n,e){let i=ev(n,e),t=Nl(e),r=n.state.selection,a=i,s=e;return{update(o){o.docChanged&&(i.pos=o.changes.mapPos(i.pos),r=r.map(o.changes),s=null)},get(o,u,f){let l;s&&o.clientX==s.clientX&&o.clientY==s.clientY?l=a:(l=a=ev(n,o),s=o);let d=Jm(n,l.pos,l.bias,t);if(i.pos!=l.pos&&!u){let c=Jm(n,i.pos,i.bias,t),F=Math.min(c.from,d.from),h=Math.max(c.to,d.to);d=F1&&r.ranges.some(c=>c.eq(d))?tE(r,d):f?r.addRange(d):me.create([d])}}}function tE(n,e){for(let i=0;;i++)if(n.ranges[i].eq(e))return me.create(n.ranges.slice(0,i).concat(n.ranges.slice(i+1)),n.mainIndex==i?0:n.mainIndex-(n.mainIndex>i?1:0))}mn.dragstart=(n,e)=>{let{selection:{main:i}}=n.state,{mouseSelection:t}=n.inputState;t&&(t.dragging=i),e.dataTransfer&&(e.dataTransfer.setData("Text",n.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove")};function rv(n,e,i,t){if(!i)return;let r=n.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:a}=n.inputState,s=t&&a&&a.dragging&&a.dragMove?{from:a.dragging.from,to:a.dragging.to}:null,o={from:r,insert:i},u=n.state.changes(s?[s,o]:o);n.focus(),n.dispatch({changes:u,selection:{anchor:u.mapPos(r,-1),head:u.mapPos(r,1)},userEvent:s?"move.drop":"input.drop"})}mn.drop=(n,e)=>{if(!e.dataTransfer)return;if(n.state.readOnly)return e.preventDefault();let i=e.dataTransfer.files;if(i&&i.length){e.preventDefault();let t=Array(i.length),r=0,a=()=>{++r==i.length&&rv(n,e,t.filter(s=>s!=null).join(n.state.lineBreak),!1)};for(let s=0;s{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(t[s]=o.result),a()},o.readAsText(i[s])}}else rv(n,e,e.dataTransfer.getData("Text"),!0)},mn.paste=(n,e)=>{if(n.state.readOnly)return e.preventDefault();n.observer.flush();let i=Km?null:e.clipboardData;i?(Qm(n,i.getData("text/plain")),e.preventDefault()):X9(n)};function rE(n,e){let i=n.dom.parentNode;if(!i)return;let t=i.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.value=e,t.focus(),t.selectionEnd=e.length,t.selectionStart=0,setTimeout(()=>{t.remove(),n.focus()},50)}function aE(n){let e=[],i=[],t=!1;for(let r of n.selection.ranges)r.empty||(e.push(n.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:a}of n.selection.ranges){let s=n.doc.lineAt(a);s.number>r&&(e.push(s.text),i.push({from:s.from,to:Math.min(n.doc.length,s.to+1)})),r=s.number}t=!0}return{text:e.join(n.lineBreak),ranges:i,linewise:t}}let jl=null;mn.copy=mn.cut=(n,e)=>{let{text:i,ranges:t,linewise:r}=aE(n.state);if(!i&&!r)return;jl=r?i:null;let a=Km?null:e.clipboardData;a?(e.preventDefault(),a.clearData(),a.setData("text/plain",i)):rE(n,i),e.type=="cut"&&!n.state.readOnly&&n.dispatch({changes:t,scrollIntoView:!0,userEvent:"delete.cut"})};function av(n){setTimeout(()=>{n.hasFocus!=n.inputState.notifiedFocused&&n.update([])},10)}mn.focus=n=>{n.inputState.lastFocusTime=Date.now(),!n.scrollDOM.scrollTop&&(n.inputState.lastScrollTop||n.inputState.lastScrollLeft)&&(n.scrollDOM.scrollTop=n.inputState.lastScrollTop,n.scrollDOM.scrollLeft=n.inputState.lastScrollLeft),av(n)},mn.blur=n=>{n.observer.clearSelectionRange(),av(n)},mn.compositionstart=mn.compositionupdate=n=>{n.inputState.compositionFirstChange==null&&(n.inputState.compositionFirstChange=!0),n.inputState.composing<0&&(n.inputState.composing=0)},mn.compositionend=n=>{n.inputState.composing=-1,n.inputState.compositionEndedAt=Date.now(),n.inputState.compositionFirstChange=null,hn.chrome&&hn.android&&n.observer.flushSoon(),setTimeout(()=>{n.inputState.composing<0&&n.docView.compositionDeco.size&&n.update([])},50)},mn.contextmenu=n=>{n.inputState.lastContextMenu=Date.now()},mn.beforeinput=(n,e)=>{var i;let t;if(hn.chrome&&hn.android&&(t=G9.find(r=>r.inputType==e.inputType))&&(n.observer.delayAndroidKey(t.key,t.keyCode),t.key=="Backspace"||t.key=="Delete")){let r=((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0;setTimeout(()=>{var a;(((a=window.visualViewport)===null||a===void 0?void 0:a.height)||0)>r+10&&n.hasFocus&&(n.contentDOM.blur(),n.focus())},100)}};class $r extends Jt{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}$r.prototype.elementClass="",$r.prototype.toDOM=void 0,$r.prototype.mapMode=jn.TrackBefore,$r.prototype.startSide=$r.prototype.endSide=-1,$r.prototype.point=!0;const sE=1024;let oE=0;class Le{constructor(e={}){this.id=oE++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ti.match(e)),i=>{let t=e(i);return t===void 0?null:[this,t]}}}Le.closedBy=new Le({deserialize:n=>n.split(" ")}),Le.openedBy=new Le({deserialize:n=>n.split(" ")}),Le.group=new Le({deserialize:n=>n.split(" ")}),Le.contextHash=new Le({perNode:!0}),Le.lookAhead=new Le({perNode:!0}),Le.mounted=new Le({perNode:!0});const uE=Object.create(null);class ti{constructor(e,i,t,r=0){this.name=e,this.props=i,this.id=t,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):uE,t=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new ti(e.name||"",i,e.id,t);if(e.props){for(let a of e.props)if(Array.isArray(a)||(a=a(r)),a){if(a[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[a[0].id]=a[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(Le.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let t in e)for(let r of t.split(" "))i[r]=e[t];return t=>{for(let r=t.prop(Le.group),a=-1;a<(r?r.length:0);a++){let s=i[a<0?t.name:r[a]];if(s)return s}}}}ti.none=new ti("",Object.create(null),0,8);const $o=new WeakMap,sv=new WeakMap;var bn;(function(n){n[n.ExcludeBuffers=1]="ExcludeBuffers",n[n.IncludeAnonymous=2]="IncludeAnonymous",n[n.IgnoreMounts=4]="IgnoreMounts",n[n.IgnoreOverlays=8]="IgnoreOverlays"})(bn||(bn={}));class vi{constructor(e,i,t,r,a){if(this.type=e,this.children=i,this.positions=t,this.length=r,this.props=null,a&&a.length){this.props=Object.create(null);for(let[s,o]of a)this.props[typeof s=="number"?s:s.id]=o}}toString(){let e=this.prop(Le.mounted);if(e&&!e.overlay)return e.tree.toString();let i="";for(let t of this.children){let r=t.toString();r&&(i&&(i+=","),i+=r)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(i.length?"("+i+")":""):i}cursor(e=0){return new Uo(this.topNode,e)}cursorAt(e,i=0,t=0){let r=$o.get(this)||this.topNode,a=new Uo(r);return a.moveTo(e,i),$o.set(this,a._tree),a}get topNode(){return new Ti(this,0,0,null)}resolve(e,i=0){let t=zr($o.get(this)||this.topNode,e,i,!1);return $o.set(this,t),t}resolveInner(e,i=0){let t=zr(sv.get(this)||this.topNode,e,i,!0);return sv.set(this,t),t}iterate(e){let{enter:i,leave:t,from:r=0,to:a=this.length}=e;for(let s=this.cursor((e.mode||0)|bn.IncludeAnonymous);;){let o=!1;if(s.from<=a&&s.to>=r&&(s.type.isAnonymous||i(s)!==!1)){if(s.firstChild())continue;o=!0}for(;o&&t&&!s.type.isAnonymous&&t(s),!s.nextSibling();){if(!s.parent())return;o=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:zl(ti.none,this.children,this.positions,0,this.children.length,0,this.length,(i,t,r)=>new vi(this.type,i,t,r,this.propValues),e.makeTree||((i,t,r)=>new vi(ti.none,i,t,r)))}static build(e){return lE(e)}}vi.empty=new vi(ti.none,[],[],0);class Rl{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Rl(this.buffer,this.index)}}class er{constructor(e,i,t){this.buffer=e,this.length=i,this.set=t}get type(){return ti.none}toString(){let e=[];for(let i=0;i0));u=s[u+3]);return o}slice(e,i,t,r){let a=this.buffer,s=new Uint16Array(i-e);for(let o=e,u=0;o=e&&ie;case 1:return i<=e&&t>e;case 2:return t>e;case 4:return!0}}function uv(n,e){let i=n.childBefore(e);for(;i;){let t=i.lastChild;if(!t||t.to!=i.to)break;t.type.isError&&t.from==t.to?(n=i,i=t.prevSibling):i=t}return n}function zr(n,e,i,t){for(var r;n.from==n.to||(i<1?n.from>=e:n.from>e)||(i>-1?n.to<=e:n.to0?o.length:-1;e!=f;e+=i){let l=o[e],d=u[e]+s.from;if(ov(r,t,d,d+l.length)){if(l instanceof er){if(a&bn.ExcludeBuffers)continue;let c=l.findChild(0,l.buffer.length,i,t-d,r);if(c>-1)return new dt(new fE(s,l,e,d),null,c)}else if(a&bn.IncludeAnonymous||!l.type.isAnonymous||$l(l)){let c;if(!(a&bn.IgnoreMounts)&&l.props&&(c=l.prop(Le.mounted))&&!c.overlay)return new Ti(c.tree,d,e,s);let F=new Ti(l,d,e,s);return a&bn.IncludeAnonymous||!F.type.isAnonymous?F:F.nextChild(i<0?l.children.length-1:0,i,t,r)}}}if(a&bn.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?e=s.index+i:e=i<0?-1:s._parent._tree.children.length,s=s._parent,!s))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,i,t=0){let r;if(!(t&bn.IgnoreOverlays)&&(r=this._tree.prop(Le.mounted))&&r.overlay){let a=e-this.from;for(let{from:s,to:o}of r.overlay)if((i>0?s<=a:s=a:o>a))return new Ti(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,t)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new Uo(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,i=0){return zr(this,e,i,!1)}resolveInner(e,i=0){return zr(this,e,i,!0)}enterUnfinishedNodesBefore(e){return uv(this,e)}getChild(e,i=null,t=null){let r=zo(this,e,i,t);return r.length?r[0]:null}getChildren(e,i=null,t=null){return zo(this,e,i,t)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Ho(this,e)}}function zo(n,e,i,t){let r=n.cursor(),a=[];if(!r.firstChild())return a;if(i!=null){for(;!r.type.is(i);)if(!r.nextSibling())return a}for(;;){if(t!=null&&r.type.is(t))return a;if(r.type.is(e)&&a.push(r.node),!r.nextSibling())return t==null?a:[]}}function Ho(n,e,i=e.length-1){for(let t=n.parent;i>=0;t=t.parent){if(!t)return!1;if(!t.type.isAnonymous){if(e[i]&&e[i]!=t.name)return!1;i--}}return!0}class fE{constructor(e,i,t,r){this.parent=e,this.buffer=i,this.index=t,this.start=r}}class dt{constructor(e,i,t){this.context=e,this._parent=i,this.index=t,this.type=e.buffer.set.types[e.buffer.buffer[t]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(e,i,t){let{buffer:r}=this.context,a=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,t);return a<0?null:new dt(this.context,this,a)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,i,t=0){if(t&bn.ExcludeBuffers)return null;let{buffer:r}=this.context,a=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return a<0?null:new dt(this.context,this,a)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new dt(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new dt(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}cursor(e=0){return new Uo(this,e)}get tree(){return null}toTree(){let e=[],i=[],{buffer:t}=this.context,r=this.index+4,a=t.buffer[this.index+3];if(a>r){let s=t.buffer[this.index+1],o=t.buffer[this.index+2];e.push(t.slice(r,a,s,o)),i.push(0)}return new vi(this.type,e,i,this.to-this.from)}resolve(e,i=0){return zr(this,e,i,!1)}resolveInner(e,i=0){return zr(this,e,i,!0)}enterUnfinishedNodesBefore(e){return uv(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,i=null,t=null){let r=zo(this,e,i,t);return r.length?r[0]:null}getChildren(e,i=null,t=null){return zo(this,e,i,t)}get node(){return this}matchContext(e){return Ho(this,e)}}class Uo{constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Ti)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:t,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=t+r.buffer[e+1],this.to=t+r.buffer[e+2],!0}yield(e){return e?e instanceof Ti?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,t){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,t,this.mode));let{buffer:r}=this.buffer,a=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,t);return a<0?!1:(this.stack.push(this.index),this.yieldBuf(a))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,t=this.mode){return this.buffer?t&bn.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,t))}parent(){if(!this.buffer)return this.yieldNode(this.mode&bn.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&bn.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,t=this.stack.length-1;if(e<0){let r=t<0?0:this.stack[t]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(t<0?i.buffer.length:i.buffer[this.stack[t]+3]))return this.yieldBuf(r)}return t<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,t,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let a=i+e,s=e<0?-1:t._tree.children.length;a!=s;a+=e){let o=t._tree.children[a];if(this.mode&bn.IncludeAnonymous||o instanceof er||!o.type.isAnonymous||$l(o))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==r){if(r==this.index)return s;i=s,t=a+1;break e}r=this.stack[--a]}}for(let r=t;r=0;a--){if(a<0)return Ho(this.node,e,r);let s=t[i.buffer[this.stack[a]]];if(!s.isAnonymous){if(e[r]&&e[r]!=s.name)return!1;r--}}return!0}}function $l(n){return n.children.some(e=>e instanceof er||!e.type.isAnonymous||$l(e))}function lE(n){var e;let{buffer:i,nodeSet:t,maxBufferLength:r=sE,reused:a=[],minRepeatType:s=t.types.length}=n,o=Array.isArray(i)?new Rl(i,i.length):i,u=t.types,f=0,l=0;function d(y,_,w,C,D){let{id:A,start:B,end:M,size:P}=o,R=l;for(;P<0;)if(o.next(),P==-1){let oe=a[A];w.push(oe),C.push(B-y);return}else if(P==-3){f=A;return}else if(P==-4){l=A;return}else throw new RangeError(`Unrecognized record size: ${P}`);let j=u[A],ie,te,be=B-y;if(M-B<=r&&(te=p(o.pos-_,D))){let oe=new Uint16Array(te.size-te.skip),Ae=o.pos-te.size,Mn=oe.length;for(;o.pos>Ae;)Mn=g(te.start,oe,Mn);ie=new er(oe,M-te.start,t),be=te.start-y}else{let oe=o.pos-P;o.next();let Ae=[],Mn=[],_n=A>=s?A:-1,tn=0,or=M;for(;o.pos>oe;)_n>=0&&o.id==_n&&o.size>=0?(o.end<=or-r&&(F(Ae,Mn,B,tn,o.end,or,_n,R),tn=Ae.length,or=o.end),o.next()):d(B,oe,Ae,Mn,_n);if(_n>=0&&tn>0&&tn-1&&tn>0){let Au=c(j);ie=zl(j,Ae,Mn,0,Ae.length,0,M-B,Au,Au)}else ie=h(j,Ae,Mn,M-B,R-M)}w.push(ie),C.push(be)}function c(y){return(_,w,C)=>{let D=0,A=_.length-1,B,M;if(A>=0&&(B=_[A])instanceof vi){if(!A&&B.type==y&&B.length==C)return B;(M=B.prop(Le.lookAhead))&&(D=w[A]+B.length+M)}return h(y,_,w,C,D)}}function F(y,_,w,C,D,A,B,M){let P=[],R=[];for(;y.length>C;)P.push(y.pop()),R.push(_.pop()+w-D);y.push(h(t.types[B],P,R,A-D,M-A)),_.push(D-w)}function h(y,_,w,C,D=0,A){if(f){let B=[Le.contextHash,f];A=A?[B].concat(A):[B]}if(D>25){let B=[Le.lookAhead,D];A=A?[B].concat(A):[B]}return new vi(y,_,w,C,A)}function p(y,_){let w=o.fork(),C=0,D=0,A=0,B=w.end-r,M={size:0,start:0,skip:0};e:for(let P=w.pos-y;w.pos>P;){let R=w.size;if(w.id==_&&R>=0){M.size=C,M.start=D,M.skip=A,A+=4,C+=4,w.next();continue}let j=w.pos-R;if(R<0||j=s?4:0,te=w.start;for(w.next();w.pos>j;){if(w.size<0)if(w.size==-3)ie+=4;else break e;else w.id>=s&&(ie+=4);w.next()}D=te,C+=R,A+=ie}return(_<0||C==y)&&(M.size=C,M.start=D,M.skip=A),M.size>4?M:void 0}function g(y,_,w){let{id:C,start:D,end:A,size:B}=o;if(o.next(),B>=0&&C4){let P=o.pos-(B-4);for(;o.pos>P;)w=g(y,_,w)}_[--w]=M,_[--w]=A-y,_[--w]=D-y,_[--w]=C}else B==-3?f=C:B==-4&&(l=C);return w}let m=[],v=[];for(;o.pos>0;)d(n.start||0,n.bufferStart||0,m,v,-1);let k=(e=n.length)!==null&&e!==void 0?e:m.length?v[0]+m[0].length:0;return new vi(u[n.topID],m.reverse(),v.reverse(),k)}const fv=new WeakMap;function Wo(n,e){if(!n.isAnonymous||e instanceof er||e.type!=n)return 1;let i=fv.get(e);if(i==null){i=1;for(let t of e.children){if(t.type!=n||!(t instanceof vi)){i=1;break}i+=Wo(n,t)}fv.set(e,i)}return i}function zl(n,e,i,t,r,a,s,o,u){let f=0;for(let h=t;h=l)break;w+=C}if(k==y+1){if(w>l){let C=h[y];F(C.children,C.positions,0,C.children.length,p[y]+v);continue}d.push(h[y])}else{let C=p[k-1]+h[k-1].length-_;d.push(zl(n,h,p,y,k,_,C,null,u))}c.push(_+v-a)}}return F(e,i,t,r,0),(o||u)(d,c,s)}new Le({perNode:!0});let dE=0;class pi{constructor(e,i,t){this.set=e,this.base=i,this.modified=t,this.id=dE++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new pi([],null,[]);if(i.set.push(i),e)for(let t of e.set)i.set.push(t);return i}static defineModifier(){let e=new qo;return i=>i.modified.indexOf(e)>-1?i:qo.get(i.base||i,i.modified.concat(e).sort((t,r)=>t.id-r.id))}}let cE=0;class qo{constructor(){this.instances=[],this.id=cE++}static get(e,i){if(!i.length)return e;let t=i[0].instances.find(o=>o.base==e&&FE(i,o.modified));if(t)return t;let r=[],a=new pi(r,e,i);for(let o of i)o.instances.push(a);let s=lv(i);for(let o of e.set)for(let u of s)r.push(qo.get(o,u));return a}}function FE(n,e){return n.length==e.length&&n.every((i,t)=>i==e[t])}function lv(n){let e=[n];for(let i=0;i0&&d+3==r.length){s=1;break}let c=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!c)throw new RangeError("Invalid path: "+r);if(a.push(c[0]=="*"?"":c[0][0]=='"'?JSON.parse(c[0]):c[0]),d+=c[0].length,d==r.length)break;let F=r[d++];if(d==r.length&&F=="!"){s=0;break}if(F!="/")throw new RangeError("Invalid path: "+r);o=r.slice(d)}let u=a.length-1,f=a[u];if(!f)throw new RangeError("Invalid path: "+r);let l=new vE(t,s,u>0?a.slice(0,u):null);e[f]=l.sort(e[f])}}return mE.add(e)}const mE=new Le;class vE{constructor(e,i,t,r){this.tags=e,this.mode=i,this.context=t,this.next=r}sort(e){return!e||e.depth{let s=r;for(let o of a)for(let u of o.set){let f=i[u.id];if(f){s=s?s+" "+f:f;break}}return s},scope:t}}const U=pi.define,Vo=U(),ct=U(),dv=U(ct),cv=U(ct),Ft=U(),Go=U(Ft),Hl=U(Ft),gi=U(),nr=U(gi),yi=U(),ki=U(),Ul=U(),Ja=U(Ul),Yo=U(),ce={comment:Vo,lineComment:U(Vo),blockComment:U(Vo),docComment:U(Vo),name:ct,variableName:U(ct),typeName:dv,tagName:U(dv),propertyName:cv,attributeName:U(cv),className:U(ct),labelName:U(ct),namespace:U(ct),macroName:U(ct),literal:Ft,string:Go,docString:U(Go),character:U(Go),attributeValue:U(Go),number:Hl,integer:U(Hl),float:U(Hl),bool:U(Ft),regexp:U(Ft),escape:U(Ft),color:U(Ft),url:U(Ft),keyword:yi,self:U(yi),null:U(yi),atom:U(yi),unit:U(yi),modifier:U(yi),operatorKeyword:U(yi),controlKeyword:U(yi),definitionKeyword:U(yi),moduleKeyword:U(yi),operator:ki,derefOperator:U(ki),arithmeticOperator:U(ki),logicOperator:U(ki),bitwiseOperator:U(ki),compareOperator:U(ki),updateOperator:U(ki),definitionOperator:U(ki),typeOperator:U(ki),controlOperator:U(ki),punctuation:Ul,separator:U(Ul),bracket:Ja,angleBracket:U(Ja),squareBracket:U(Ja),paren:U(Ja),brace:U(Ja),content:gi,heading:nr,heading1:U(nr),heading2:U(nr),heading3:U(nr),heading4:U(nr),heading5:U(nr),heading6:U(nr),contentSeparator:U(gi),list:U(gi),quote:U(gi),emphasis:U(gi),strong:U(gi),link:U(gi),monospace:U(gi),strikethrough:U(gi),inserted:U(),deleted:U(),changed:U(),invalid:U(),meta:Yo,documentMeta:U(Yo),annotation:U(Yo),processingInstruction:U(Yo),definition:pi.defineModifier(),constant:pi.defineModifier(),function:pi.defineModifier(),standard:pi.defineModifier(),local:pi.defineModifier(),special:pi.defineModifier()};pE([{tag:ce.link,class:"tok-link"},{tag:ce.heading,class:"tok-heading"},{tag:ce.emphasis,class:"tok-emphasis"},{tag:ce.strong,class:"tok-strong"},{tag:ce.keyword,class:"tok-keyword"},{tag:ce.atom,class:"tok-atom"},{tag:ce.bool,class:"tok-bool"},{tag:ce.url,class:"tok-url"},{tag:ce.labelName,class:"tok-labelName"},{tag:ce.inserted,class:"tok-inserted"},{tag:ce.deleted,class:"tok-deleted"},{tag:ce.literal,class:"tok-literal"},{tag:ce.string,class:"tok-string"},{tag:ce.number,class:"tok-number"},{tag:[ce.regexp,ce.escape,ce.special(ce.string)],class:"tok-string2"},{tag:ce.variableName,class:"tok-variableName"},{tag:ce.local(ce.variableName),class:"tok-variableName tok-local"},{tag:ce.definition(ce.variableName),class:"tok-variableName tok-definition"},{tag:ce.special(ce.variableName),class:"tok-variableName2"},{tag:ce.definition(ce.propertyName),class:"tok-propertyName tok-definition"},{tag:ce.typeName,class:"tok-typeName"},{tag:ce.namespace,class:"tok-namespace"},{tag:ce.className,class:"tok-className"},{tag:ce.macroName,class:"tok-macroName"},{tag:ce.propertyName,class:"tok-propertyName"},{tag:ce.operator,class:"tok-operator"},{tag:ce.comment,class:"tok-comment"},{tag:ce.meta,class:"tok-meta"},{tag:ce.invalid,class:"tok-invalid"},{tag:ce.punctuation,class:"tok-punctuation"}]);var Wl;typeof navigator<"u"&&((Wl=navigator.scheduling)===null||Wl===void 0||Wl.isInputPending);const gE=Object.create(null),Fv=[ti.none],hv=[],yE=Object.create(null);for(let[n,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])yE[n]=kE(gE,e);function ql(n,e){hv.indexOf(n)>-1||(hv.push(n),console.warn(e))}function kE(n,e){let i=null;for(let a of e.split(".")){let s=n[a]||ce[a];s?typeof s=="function"?i?i=s(i):ql(a,`Modifier ${a} used at start of tag`):i?ql(a,`Tag ${a} used as modifier`):i=s:ql(a,`Unknown highlighting tag ${a}`)}if(!i)return 0;let t=e.replace(/ /g,"_"),r=ti.define({id:Fv.length,name:t,props:[hE({[t]:i})]});return Fv.push(r),r.id}const mv=new class extends Jt{};mv.startSide=1,mv.endSide=-1;var wE="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NTguMDk1IDQ3NS43OTgiPgogIDxnPgogICAgPHBhdGgKICAgICAgZD0iTTU1NS41MzYsMzI4LjA0OWMtMTUuMjQzLTc2Ljg2Ni0xMDQuNTQ3LTEzOC4zLTEyMS45NjUtMjE4LjRDNDAxLjkxNCw3Ljc0LDI5Ny41Ny04LjM3MiwyMjkuNzY1LDM1Ljg4N2MtMTA3LjQzNyw3MC4xMjksNy4xNzYsODcuNTMyLTIwMy40NzMsMjUzLjQ1My01Mi4wMTQsNDAuOTY5LTM1LjQ0LDIyMS44MTcsMTI4LjE5MywxODAuMzEzLDg4LjA2LTIyLjMzNiwxMTQuODMtMjUuNDcsMTU0LjQ0LTI5LjE0OEM0MDguNzYzLDQzMS4yMzYsNTgxLjEyMyw0NTcuMDc5LDU1NS41MzYsMzI4LjA0OVoiCiAgICAgIGZpbGw9IiMzNjdjZmYiIG9wYWNpdHk9IjAuMSI+PC9wYXRoPgogICAgPGc+CiAgICAgIDxnPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNDM2LjI2NyAzNDcuMzE0IDI4MS45NTcgNDI4LjgxMyAxMjcuODggMzQ3LjMxNCAxMjcuODggMjI0LjI0NCA0MzYuMjY3IDIyNC4yNDQgNDM2LjI2NyAzNDcuMzE0IgogICAgICAgICAgICAgICAgIGZpbGw9IiNmZmYiPjwvcG9seWdvbj4KICAgICAgICA8cGF0aAogICAgICAgICAgZD0iTTI4MS45NTcsNDMwLjA2M2ExLjIzNywxLjIzNywwLDAsMS0uNTg1LS4xNDZMMTI3LjMsMzQ4LjQxOGExLjI0OSwxLjI0OSwwLDAsMS0uNjY2LTEuMVYyMjQuMjQ0YTEuMjUsMS4yNSwwLDAsMSwxLjI1LTEuMjVINDM2LjI2N2ExLjI1LDEuMjUsMCwwLDEsMS4yNSwxLjI1djEyMy4wN2ExLjI0OSwxLjI0OSwwLDAsMS0uNjY2LDEuMWwtMTU0LjMxLDgxLjVBMS4yNDQsMS4yNDQsMCwwLDEsMjgxLjk1Nyw0MzAuMDYzWm0tMTUyLjgyNy04My41TDI4MS45NTcsNDI3LjRsMTUzLjA2LTgwLjgzOVYyMjUuNDk0SDEyOS4xM1ptMzA3LjEzNy43NTNoMFoiCiAgICAgICAgICBmaWxsPSIjMjYyNjI2Ij48L3BhdGg+CiAgICAgIDwvZz4KICAgICAgPGc+CiAgICAgICAgPHBvbHlnb24gcG9pbnRzPSI0MzYuMjY3IDE5Ny44MzUgMjgxLjk1NyAxMTYuMzM2IDM1MS4yOTggODIuOTEzIDUwNS42MDggMTY0LjQxMyA0MzYuMjY3IDE5Ny44MzUiCiAgICAgICAgICAgICAgICAgZmlsbD0iI2ZmZiI+PC9wb2x5Z29uPgogICAgICAgIDxwYXRoCiAgICAgICAgICBkPSJNNDM2LjI2NywxOTkuMDg1YTEuMjU1LDEuMjU1LDAsMCwxLS41ODQtLjE0NGwtMTU0LjMxLTgxLjVhMS4yNTEsMS4yNTEsMCwwLDEsLjA0MS0yLjIzMmw2OS4zNDEtMzMuNDIzYTEuMjQ0LDEuMjQ0LDAsMCwxLDEuMTI3LjAyMWwxNTQuMzEsODEuNWExLjI1LDEuMjUsMCwwLDEtLjA0MSwyLjIzMUw0MzYuODEsMTk4Ljk2MUExLjI0NiwxLjI0NiwwLDAsMSw0MzYuMjY3LDE5OS4wODVabS0xNTEuNTM3LTgyLjcsMTUxLjU2Myw4MC4wNDgsNjYuNTQyLTMyLjA3M0wzNTEuMjcyLDg0LjMxNFoiCiAgICAgICAgICBmaWxsPSIjMjYyNjI2Ij48L3BhdGg+CiAgICAgIDwvZz4KICAgICAgPGc+CiAgICAgICAgPHBvbHlnb24gcG9pbnRzPSIxMjcuODggMTk3LjgzNSAyODIuMTkgMTE2LjMzNiAyMTIuODQ5IDgyLjkxMyA1OC41MzkgMTY0LjQxMyAxMjcuODggMTk3LjgzNSIKICAgICAgICAgICAgICAgICBmaWxsPSIjZmZmIj48L3BvbHlnb24+CiAgICAgICAgPHBhdGgKICAgICAgICAgIGQ9Ik0xMjcuODgsMTk5LjA4NWExLjI0OSwxLjI0OSwwLDAsMS0uNTQzLS4xMjRMNTgsMTY1LjUzOGExLjI1LDEuMjUsMCwwLDEtLjA0MS0yLjIzMWwxNTQuMzEtODEuNWExLjI0NCwxLjI0NCwwLDAsMSwxLjEyNy0uMDIxbDY5LjM0MSwzMy40MjNhMS4yNTEsMS4yNTEsMCwwLDEsLjA0MSwyLjIzMmwtMTU0LjMxLDgxLjVBMS4yNTIsMS4yNTIsMCwwLDEsMTI3Ljg4LDE5OS4wODVaTTYxLjMxMiwxNjQuMzYybDY2LjU0MiwzMi4wNzMsMTUxLjU2My04MC4wNDhMMjEyLjg3NSw4NC4zMTRaIgogICAgICAgICAgZmlsbD0iIzI2MjYyNiI+PC9wYXRoPgogICAgICA8L2c+CiAgICAgIDxnPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iMTI3Ljg4IDE5Ny44MzUgMjgyLjE5IDI3OS4zMzUgMjAyLjg0OSAzMjIuNzU3IDQ4LjUzOSAyNDEuMjU4IDEyNy44OCAxOTcuODM1IgogICAgICAgICAgICAgICAgIGZpbGw9IiNmZmYiPjwvcG9seWdvbj4KICAgICAgICA8cGF0aAogICAgICAgICAgZD0iTTIwMi44NDksMzI0LjAwN2ExLjI0NCwxLjI0NCwwLDAsMS0uNTg0LS4xNDVsLTE1NC4zMS04MS41YTEuMjUsMS4yNSwwLDAsMS0uMDE2LTIuMmw3OS4zNDEtNDMuNDIzYTEuMjQ2LDEuMjQ2LDAsMCwxLDEuMTg0LS4wMDhsMTU0LjMxLDgxLjVhMS4yNSwxLjI1LDAsMCwxLC4wMTYsMi4ybC03OS4zNDEsNDMuNDIzQTEuMjUxLDEuMjUxLDAsMCwxLDIwMi44NDksMzI0LjAwN1pNNTEuMTc5LDI0MS4yMzhsMTUxLjY1OSw4MC4xLDc2LjcxMy00MS45ODQtMTUxLjY2LTgwLjFaIgogICAgICAgICAgZmlsbD0iIzI2MjYyNiI+PC9wYXRoPgogICAgICA8L2c+CiAgICAgIDxnPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNDM2LjI2NyAxOTcuODM1IDI4MS45NTcgMjc5LjMzNSAzNjEuMjk4IDMyMi43NTcgNTE1LjYwOCAyNDEuMjU4IDQzNi4yNjcgMTk3LjgzNSIKICAgICAgICAgICAgICAgICBmaWxsPSIjZmZmIj48L3BvbHlnb24+CiAgICAgICAgPHBhdGgKICAgICAgICAgIGQ9Ik0zNjEuMywzMjQuMDA3YTEuMjU0LDEuMjU0LDAsMCwxLS42LS4xNTNsLTc5LjM0MS00My40MjNhMS4yNSwxLjI1LDAsMCwxLC4wMTYtMi4ybDE1NC4zMS04MS41YTEuMjQ2LDEuMjQ2LDAsMCwxLDEuMTg0LjAwOGw3OS4zNDEsNDMuNDIzYTEuMjUsMS4yNSwwLDAsMS0uMDE2LDIuMmwtMTU0LjMxLDgxLjVBMS4yNDQsMS4yNDQsMCwwLDEsMzYxLjMsMzI0LjAwN1ptLTc2LjctNDQuNjUzLDc2LjcxMiw0MS45ODQsMTUxLjY2LTgwLjEtNzYuNzEzLTQxLjk4NFoiCiAgICAgICAgICBmaWxsPSIjMjYyNjI2Ij48L3BhdGg+CiAgICAgIDwvZz4KICAgICAgPHBvbHlnb24gcG9pbnRzPSIyODIuMTkgMTE2LjMzNiAxMjcuODggMTk3LjgzNSAyODEuOTU3IDI3OS4zMzUgNDM2LjI2NyAxOTcuODM1IDI4Mi4xOSAxMTYuMzM2IgogICAgICAgICAgICAgICBmaWxsPSIjMjYyNjI2Ij48L3BvbHlnb24+CiAgICAgIDxyZWN0IHg9IjI4MC43MDciIHk9IjI3OS4zMzQiIHdpZHRoPSIyLjUiIGhlaWdodD0iMTQ5LjQ3OSIgZmlsbD0iIzI2MjYyNiI+PC9yZWN0PgogICAgPC9nPgogICAgPGc+CiAgICAgIDxwYXRoCiAgICAgICAgZD0iTTE5NS41LDE5MC40MzZhLjk5Ljk5LDAsMCwxLS41NzctLjE4NSwxLDEsMCwwLDEtLjIzOC0xLjM5NGMuMTg1LS4yNjEsMTguMjU4LTI2LjM4OS0xLjkxOC01MC4yMDlhMzguMDA2LDM4LjAwNiwwLDAsMC0yOS4wOTUtMTMuNTE2SDE2My40YzEuOTE2LDYuNjU2LDEuNTc0LDEyLjU3NC0xLjEzOSwxNy4xMTRhMTIuNjQ1LDEyLjY0NSwwLDAsMS0xMS42OCw2LjQyLDEwLjA0MSwxMC4wNDEsMCwwLDEtOC42NzktNi43NTJjLTIuMjE5LTUuNzg4LjEtMTEuNCw2LjIxMi0xNS4wMTdhMjkuNSwyOS41LDAsMCwxLDEyLjU4OS0zLjYyMSw1My4zLDUzLjMsMCwwLDAtNS41NjYtMTAuODIxYy03LjI4NS0xMS4xMjYtMjAuNTYyLTE4LjgyOC0zNi40MjgtMjEuMTMxLTEzLjQ0Ni0xLjk1MS0yNi4zMzIuMzQ3LTMyLjgzMyw1Ljg1M2ExLDEsMCwwLDEtMS4yOTItMS41MjdjNi45MTgtNS44NTksMjAuNDI1LTguMzM2LDM0LjQxMi02LjMsMTYuNDMzLDIuMzg2LDMwLjIxNSwxMC40MDksMzcuODE1LDIyLjAxNGE1NC4yODUsNTQuMjg1LDAsMCwxLDUuOTY4LDExLjgxNiwzOS45NzYsMzkuOTc2LDAsMCwxLDMxLjUwOSwxNC4xOGMyMS4xOTMsMjUuMDE5LDIuMjE3LDUyLjM4NSwyLjAyMyw1Mi42NTlBMSwxLDAsMCwxLDE5NS41LDE5MC40MzZabS0zNC4xNDgtNjUuMjMxYTI3LjgyNiwyNy44MjYsMCwwLDAtMTIuMjE1LDMuNDE0Yy01LjI3NiwzLjEyMi03LjIzLDcuNzA4LTUuMzYzLDEyLjU4YTguMTA4LDguMTA4LDAsMCwwLDYuOTg0LDUuNDc2LDEwLjY2OSwxMC42NjksMCwwLDAsOS43OTEtNS40NTRDMTYzLjAzOSwxMzcuMDUxLDE2My4yNjcsMTMxLjUwOCwxNjEuMzQ5LDEyNS4yMDVaIgogICAgICAgIGZpbGw9IiMyOTJhMmUiPjwvcGF0aD4KICAgICAgPGc+CiAgICAgICAgPHBhdGgKICAgICAgICAgIGQ9Ik02OC42MTcsMTEzLjNhNi44MDksNi44MDksMCwxLDEsLjY4NC0uMjQ2QTYuNjUyLDYuNjUyLDAsMCwxLDY4LjYxNywxMTMuM1ptLTMuMzI1LTExLjExMmE0LjY4OSw0LjY4OSwwLDAsMC0uNDc3LjE3Miw0Ljc5MSw0Ljc5MSwwLDEsMCwuNDc3LS4xNzJaIgogICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwYXRoCiAgICAgICAgICBkPSJNNjguNjA1LDk3LjYzYTYuOCw2LjgsMCwwLDEtOC4yMTYtMy44ODVoMGE2LjgsNi44LDAsMSwxLDguOSwzLjY0QTYuOTY0LDYuOTY0LDAsMCwxLDY4LjYwNSw5Ny42M1pNNjUuMjg0LDg2LjUxN2E0Ljg4OSw0Ljg4OSwwLDAsMC0uNDgzLjE3Myw0LjgsNC44LDAsMCwwLTIuNTY4LDYuMjgxaDBhNC44LDQuOCwwLDEsMCwzLjA1MS02LjQ1NVoiCiAgICAgICAgICBmaWxsPSIjMjkyYTJlIj48L3BhdGg+CiAgICAgICAgPGVsbGlwc2UgY3g9IjY2LjY2NCIgY3k9Ijk4Ljc2MyIgcng9IjguODkyIiByeT0iNS45MzkiIGZpbGw9IiNmZmYiPjwvZWxsaXBzZT4KICAgICAgICA8cGF0aAogICAgICAgICAgZD0iTTcwLjYsMTA1LjEzOWExMy43NTQsMTMuNzU0LDAsMCwxLTMuOTI3LjU2NGMtNS41NDgsMC05LjktMy4wNC05LjktNi45MzFzNC4zMzktNi45NDIsOS44ODUtNi45NDhhMTIuNDI0LDEyLjQyNCwwLDAsMSw2Ljg0NSwxLjksNS42NzYsNS42NzYsMCwwLDEsLjAwOSwxMC4wNjNBMTAuODcyLDEwLjg3MiwwLDAsMSw3MC42LDEwNS4xMzlaTTYzLjMzOCw5NC4zYy0yLjY3Mi44LTQuNTY2LDIuNTI3LTQuNTY1LDQuNDY3LDAsMi42NzcsMy42MTcsNC45MzYsNy45LDQuOTMyYTEwLjQxNywxMC40MTcsMCwwLDAsNS43MzItMS41NzYsMy43MDYsMy43MDYsMCwwLDAtLjAwNi02LjczNSwxMC40LDEwLjQsMCwwLDAtNS43MzQtMS41NjZBMTEuNjA3LDExLjYwNywwLDAsMCw2My4zMzgsOTQuM1oiCiAgICAgICAgICBmaWxsPSIjMjkyYTJlIj48L3BhdGg+CiAgICAgICAgPHBvbHlnb24gcG9pbnRzPSI2OC44NDUgMTA0LjUyMSA2OC42MzUgOTIuOTcxIDY1Ljc2MyA5Mi44NTUgNjUuNTYyIDEwNC42NTYgNjguODQ1IDEwNC41MjEiCiAgICAgICAgICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wb2x5Z29uPgogICAgICAgIDxjaXJjbGUgY3g9IjU0Ljg2NyIgY3k9IjEwMC4zNTgiIHI9IjAuOTE4IiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1NS41ODQiIGN5PSI5NS40NDYiIHI9IjAuOTE4IiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgPC9nPgogICAgPC9nPgogICAgPGc+CiAgICAgIDxwYXRoCiAgICAgICAgZD0iTTM1Mi42MjUsMTMyLjc2NmExLDEsMCwwLDEtLjk1Ni0uNzA3LDk5LjIzNiw5OS4yMzYsMCwwLDEtMi42MDYtMzguMDIxYzIuNTg1LTE4LjYsMTIuODQzLTQzLjAxMSw0Ny4wMy01My43YTg4LjM2NCw4OC4zNjQsMCwwLDEsMTQuNzQ4LTMuMzgxYzEuNjExLTEwLjA2MSw3LjczOS0yMC45NzUsMjEuNDQ0LTI4LjUwNSwzMi41NjItMTcuODkyLDU0LjU1Ny0xLjgzOSw1NC43NzUtMS42NzVhMSwxLDAsMCwxLTEuMiwxLjZjLS4yMDgtLjE1Ni0yMS4yMjgtMTUuNDE3LTUyLjYxMSwxLjgyOS0xMi44MDYsNy4wMzctMTguNjY4LDE3LjEzNy0yMC4zMzUsMjYuNTEzLDE1LjA3OS0xLjQ4NSwyMi4zLDMuNTQ1LDI1LjU0MSw3LjM0NEExNS40ODgsMTUuNDg4LDAsMCwxLDQ0MC43NjksNjFhMTIuMDk0LDEyLjA5NCwwLDAsMS0xMS44MzUsNi45MDljLTguNDIxLS40OTQtMTUuMzktNy41NzgtMTcuNzUyLTE4LjA0OGEzNC4wMywzNC4wMywwLDAsMS0uNjE0LTEwLjgsODUuNTMzLDg1LjUzMywwLDAsMC0xMy44NzcsMy4xOTFjLTI2LjY0NSw4LjMzMS00MiwyNS44NS00NS42NDgsNTIuMDY3YTk2Ljk4Niw5Ni45ODYsMCwwLDAsMi41MzgsMzcuMTYsMSwxLDAsMCwxLS45NTYsMS4yOTNabTU5Ljk4Mi05My45NTVhMzIuMDE0LDMyLjAxNCwwLDAsMCwuNTI2LDEwLjYwOWMyLjE2MSw5LjU3OCw4LjQwOSwxNi4wNTEsMTUuOTE4LDE2LjQ5MmExMC4xNzgsMTAuMTc4LDAsMCwwLDkuOTI4LTUuOCwxMy40OTQsMTMuNDk0LDAsMCwwLTIuMDQ4LTE0Ljc0OUM0MzIuMjU1LDM5Ljg3Niw0MjMuNzIyLDM3LjY2LDQxMi42MDcsMzguODExWiIKICAgICAgICBmaWxsPSIjMjkyYTJlIj48L3BhdGg+CiAgICAgIDxnPgogICAgICAgIDxwYXRoCiAgICAgICAgICBkPSJNNTEwLjM1NCwxNi44ODRhNy4xNDIsNy4xNDIsMCwxLDEsNi45OTQtOC42NTloMGE3LjE1Niw3LjE1NiwwLDAsMS02Ljk5NCw4LjY1OVpNNTEwLjM2OSw0LjZhNS4xNDEsNS4xNDEsMCwxLDAsNS4wMjQsNC4wNTFBNS4xMTEsNS4xMTEsMCwwLDAsNTEwLjM2OSw0LjZaIgogICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwYXRoCiAgICAgICAgICBkPSJNNTA3LjM0MywzMy4yMDVhNy4xNjIsNy4xNjIsMCwxLDEsMS41MjktLjE2NUE3LjE3MSw3LjE3MSwwLDAsMSw1MDcuMzQzLDMzLjIwNVptLjAyNS0xMi4yODVhNS4xNjQsNS4xNjQsMCwwLDAtMS4xLjExOSw1LjExMiw1LjExMiwwLDEsMCwxLjEtLjExOVoiCiAgICAgICAgICBmaWxsPSIjMjkyYTJlIj48L3BhdGg+CiAgICAgICAgPGVsbGlwc2UgY3g9IjUwOC44MjciIGN5PSIxOC4wOTgiIHJ4PSI2LjI4OSIgcnk9IjkuNDE2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzOTguNjkyIDUxNS4xOTIpIHJvdGF0ZSgtNzkuNTQ1KSIKICAgICAgICAgICAgICAgICBmaWxsPSIjZmZmIj48L2VsbGlwc2U+CiAgICAgICAgPHBhdGgKICAgICAgICAgIGQ9Ik01MTAuMiwyNS41MTZhMTQuOTY2LDE0Ljk2NiwwLDAsMS0yLjctLjI1LDEzLjEsMTMuMSwwLDAsMS02LjcyOS0zLjI4Niw2LjQxOSw2LjQxOSwwLDAsMS0yLjE5MS01Ljc3Miw2LjQyMiw2LjQyMiwwLDAsMSw0LjEwNy00LjYxLDEzLjk0NiwxMy45NDYsMCwwLDEsMTQuMTg3LDIuNjE4LDYuNDE5LDYuNDE5LDAsMCwxLDIuMTkxLDUuNzcyLDYuNDIyLDYuNDIyLDAsMCwxLTQuMTA3LDQuNjFBMTIuMDg4LDEyLjA4OCwwLDAsMSw1MTAuMiwyNS41MTZabS0yLjc2Mi0xMi44MzhhMTAuMDcyLDEwLjA3MiwwLDAsMC0zLjk2MS43NTcsNC41MDYsNC41MDYsMCwwLDAtMi45MywzLjEzNiw0LjUwNiw0LjUwNiwwLDAsMCwxLjYxOCwzLjk3NSwxMS45NjYsMTEuOTY2LDAsMCwwLDEyLDIuMjE1LDQuNTA2LDQuNTA2LDAsMCwwLDIuOTMtMy4xMzZoMGE0LjUsNC41LDAsMCwwLTEuNjE4LTMuOTc1LDExLjA4NCwxMS4wODQsMCwwLDAtNS43LTIuNzUzQTEyLjk1NywxMi45NTcsMCwwLDAsNTA3LjQ0MiwxMi42NzhaIgogICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNTA3LjY2OCAxMS42ODIgNTA1LjY1NyAyMy43NDggNTA4LjYyNCAyNC40MjQgNTExLjExMiAxMi4xNzUgNTA3LjY2OCAxMS42ODIiCiAgICAgICAgICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wb2x5Z29uPgogICAgICAgIDxjaXJjbGUgY3g9IjUxOS43MjMiIGN5PSIyMy42OTEiIHI9IjAuOTcyIiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1MjEuNDE3IiBjeT0iMTguNzE1IiByPSIwLjk3MiIgZmlsbD0iIzI5MmEyZSI+PC9jaXJjbGU+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=";const bE={class:"empty-wrapper"},_E={class:"empty-image h-32 w-32"},EE=["src"],DE={class:"empty-title"},CE={class:"empty-message"},SE={class:"empty-actions"};var vv=Y({__name:"Empty",props:{title:null,message:null,image:null},setup(n){return(e,i)=>(J(),fe("div",bE,[$("div",_E,[qe(e.$slots,"image",{},()=>[$("img",{src:n.image||T(wE),alt:"Empty"},null,8,EE)])]),$("div",DE,We(n.title),1),$("div",CE,[qe(e.$slots,"message",{},()=>[Cn(We(n.message),1)])]),$("div",SE,[qe(e.$slots,"actions")])]))}});let Ko;const AE=new Uint8Array(16);function BE(){if(!Ko&&(Ko=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ko))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ko(AE)}const Ze=[];for(let n=0;n<256;++n)Ze.push((n+256).toString(16).slice(1));function xE(n,e=0){return(Ze[n[e+0]]+Ze[n[e+1]]+Ze[n[e+2]]+Ze[n[e+3]]+"-"+Ze[n[e+4]]+Ze[n[e+5]]+"-"+Ze[n[e+6]]+Ze[n[e+7]]+"-"+Ze[n[e+8]]+Ze[n[e+9]]+"-"+Ze[n[e+10]]+Ze[n[e+11]]+Ze[n[e+12]]+Ze[n[e+13]]+Ze[n[e+14]]+Ze[n[e+15]]).toLowerCase()}var pv={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ME(n,e,i){if(pv.randomUUID&&!e&&!n)return pv.randomUUID();n=n||{};const t=n.random||(n.rng||BE)();if(t[6]=t[6]&15|64,t[8]=t[8]&63|128,e){i=i||0;for(let r=0;r<16;++r)e[i+r]=t[r];return e}return xE(t)}function PE(n){if(n.__esModule)return n;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(n).forEach(function(i){var t=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(e,i,t.get?t:{enumerable:!0,get:function(){return n[i]}})}),e}var OE=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},i=Symbol("test"),t=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(t)!=="[object Symbol]")return!1;var r=42;e[i]=r;for(i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==i||!Object.prototype.propertyIsEnumerable.call(e,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,i);if(s.value!==r||s.enumerable!==!0)return!1}return!0},gv=typeof Symbol!="undefined"&&Symbol,TE=OE,IE=function(){return typeof gv!="function"||typeof Symbol!="function"||typeof gv("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:TE()},LE="Function.prototype.bind called on incompatible ",Vl=Array.prototype.slice,NE=Object.prototype.toString,jE="[object Function]",RE=function(e){var i=this;if(typeof i!="function"||NE.call(i)!==jE)throw new TypeError(LE+i);for(var t=Vl.call(arguments,1),r,a=function(){if(this instanceof r){var l=i.apply(this,t.concat(Vl.call(arguments)));return Object(l)===l?l:this}else return i.apply(e,t.concat(Vl.call(arguments)))},s=Math.max(0,i.length-t.length),o=[],u=0;u1&&typeof i!="boolean")throw new Ur('"allowMissing" argument must be a boolean');if(YE(/^%?[^%]*%?$/g,e)===null)throw new Hr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=JE(e),r=t.length>0?t[0]:"",a=ZE("%"+r+"%",i),s=a.name,o=a.value,u=!1,f=a.alias;f&&(r=f[0],GE(t,VE([0,1],f)));for(var l=1,d=!0;l=t.length){var p=ir(o,c);d=!!p,d&&"get"in p&&!("originalValue"in p.get)?o=p.get:o=o[c]}else d=Qo(o,c),o=o[c];d&&!u&&(Vr[s]=o)}}return o},bv={exports:{}};(function(n){var e=Gl,i=Ql,t=i("%Function.prototype.apply%"),r=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||e.call(r,t),s=i("%Object.getOwnPropertyDescriptor%",!0),o=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(o)try{o({},"a",{value:1})}catch{o=null}n.exports=function(d){var c=a(e,r,arguments);if(s&&o){var F=s(c,"length");F.configurable&&o(c,"length",{value:1+u(0,d.length-(arguments.length-1))})}return c};var f=function(){return a(e,t,arguments)};o?o(n.exports,"apply",{value:f}):n.exports.apply=f})(bv);var _v=Ql,Ev=bv.exports,XE=Ev(_v("String.prototype.indexOf")),eD=function(e,i){var t=_v(e,!!i);return typeof t=="function"&&XE(e,".prototype.")>-1?Ev(t):t},nD={},iD=Object.freeze(Object.defineProperty({__proto__:null,default:nD},Symbol.toStringTag,{value:"Module"})),tD=PE(iD),Jl=typeof Map=="function"&&Map.prototype,Zl=Object.getOwnPropertyDescriptor&&Jl?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Zo=Jl&&Zl&&typeof Zl.get=="function"?Zl.get:null,rD=Jl&&Map.prototype.forEach,Xl=typeof Set=="function"&&Set.prototype,ed=Object.getOwnPropertyDescriptor&&Xl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Xo=Xl&&ed&&typeof ed.get=="function"?ed.get:null,aD=Xl&&Set.prototype.forEach,sD=typeof WeakMap=="function"&&WeakMap.prototype,Xa=sD?WeakMap.prototype.has:null,oD=typeof WeakSet=="function"&&WeakSet.prototype,es=oD?WeakSet.prototype.has:null,uD=typeof WeakRef=="function"&&WeakRef.prototype,Dv=uD?WeakRef.prototype.deref:null,fD=Boolean.prototype.valueOf,lD=Object.prototype.toString,dD=Function.prototype.toString,cD=String.prototype.match,nd=String.prototype.slice,mt=String.prototype.replace,FD=String.prototype.toUpperCase,Cv=String.prototype.toLowerCase,Sv=RegExp.prototype.test,Av=Array.prototype.concat,wi=Array.prototype.join,hD=Array.prototype.slice,Bv=Math.floor,id=typeof BigInt=="function"?BigInt.prototype.valueOf:null,td=Object.getOwnPropertySymbols,rd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Gr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",vn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Gr?"object":"symbol")?Symbol.toStringTag:null,xv=Object.prototype.propertyIsEnumerable,Mv=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function Pv(n,e){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||Sv.call(/e/,e))return e;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var t=n<0?-Bv(-n):Bv(n);if(t!==n){var r=String(t),a=nd.call(e,r.length+1);return mt.call(r,i,"$&_")+"."+mt.call(mt.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return mt.call(e,i,"$&_")}var ad=tD,Ov=ad.custom,Tv=Nv(Ov)?Ov:null,mD=function n(e,i,t,r){var a=i||{};if(vt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(vt(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=vt(a,"customInspect")?a.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(vt(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(vt(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=a.numericSeparator;if(typeof e=="undefined")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Rv(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return o?Pv(e,u):u}if(typeof e=="bigint"){var f=String(e)+"n";return o?Pv(e,f):f}var l=typeof a.depth=="undefined"?5:a.depth;if(typeof t=="undefined"&&(t=0),t>=l&&l>0&&typeof e=="object")return sd(e)?"[Array]":"[Object]";var d=OD(a,t);if(typeof r=="undefined")r=[];else if(jv(r,e)>=0)return"[Circular]";function c(R,j,ie){if(j&&(r=hD.call(r),r.push(j)),ie){var te={depth:a.depth};return vt(a,"quoteStyle")&&(te.quoteStyle=a.quoteStyle),n(R,te,t+1,r)}return n(R,a,t+1,r)}if(typeof e=="function"&&!Lv(e)){var F=ED(e),h=eu(e,c);return"[Function"+(F?": "+F:" (anonymous)")+"]"+(h.length>0?" { "+wi.call(h,", ")+" }":"")}if(Nv(e)){var p=Gr?mt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):rd.call(e);return typeof e=="object"&&!Gr?ns(p):p}if(xD(e)){for(var g="<"+Cv.call(String(e.nodeName)),m=e.attributes||[],v=0;v",g}if(sd(e)){if(e.length===0)return"[]";var k=eu(e,c);return d&&!PD(k)?"["+ud(k,d)+"]":"[ "+wi.call(k,", ")+" ]"}if(gD(e)){var y=eu(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!xv.call(e,"cause")?"{ ["+String(e)+"] "+wi.call(Av.call("[cause]: "+c(e.cause),y),", ")+" }":y.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+wi.call(y,", ")+" }"}if(typeof e=="object"&&s){if(Tv&&typeof e[Tv]=="function"&&ad)return ad(e,{depth:l-t});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(DD(e)){var _=[];return rD.call(e,function(R,j){_.push(c(j,e,!0)+" => "+c(R,e))}),$v("Map",Zo.call(e),_,d)}if(AD(e)){var w=[];return aD.call(e,function(R){w.push(c(R,e))}),$v("Set",Xo.call(e),w,d)}if(CD(e))return od("WeakMap");if(BD(e))return od("WeakSet");if(SD(e))return od("WeakRef");if(kD(e))return ns(c(Number(e)));if(bD(e))return ns(c(id.call(e)));if(wD(e))return ns(fD.call(e));if(yD(e))return ns(c(String(e)));if(!pD(e)&&!Lv(e)){var C=eu(e,c),D=Mv?Mv(e)===Object.prototype:e instanceof Object||e.constructor===Object,A=e instanceof Object?"":"null prototype",B=!D&&vn&&Object(e)===e&&vn in e?nd.call(pt(e),8,-1):A?"Object":"",M=D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",P=M+(B||A?"["+wi.call(Av.call([],B||[],A||[]),": ")+"] ":"");return C.length===0?P+"{}":d?P+"{"+ud(C,d)+"}":P+"{ "+wi.call(C,", ")+" }"}return String(e)};function Iv(n,e,i){var t=(i.quoteStyle||e)==="double"?'"':"'";return t+n+t}function vD(n){return mt.call(String(n),/"/g,""")}function sd(n){return pt(n)==="[object Array]"&&(!vn||!(typeof n=="object"&&vn in n))}function pD(n){return pt(n)==="[object Date]"&&(!vn||!(typeof n=="object"&&vn in n))}function Lv(n){return pt(n)==="[object RegExp]"&&(!vn||!(typeof n=="object"&&vn in n))}function gD(n){return pt(n)==="[object Error]"&&(!vn||!(typeof n=="object"&&vn in n))}function yD(n){return pt(n)==="[object String]"&&(!vn||!(typeof n=="object"&&vn in n))}function kD(n){return pt(n)==="[object Number]"&&(!vn||!(typeof n=="object"&&vn in n))}function wD(n){return pt(n)==="[object Boolean]"&&(!vn||!(typeof n=="object"&&vn in n))}function Nv(n){if(Gr)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!rd)return!1;try{return rd.call(n),!0}catch{}return!1}function bD(n){if(!n||typeof n!="object"||!id)return!1;try{return id.call(n),!0}catch{}return!1}var _D=Object.prototype.hasOwnProperty||function(n){return n in this};function vt(n,e){return _D.call(n,e)}function pt(n){return lD.call(n)}function ED(n){if(n.name)return n.name;var e=cD.call(dD.call(n),/^function\s*([\w$]+)/);return e?e[1]:null}function jv(n,e){if(n.indexOf)return n.indexOf(e);for(var i=0,t=n.length;ie.maxStringLength){var i=n.length-e.maxStringLength,t="... "+i+" more character"+(i>1?"s":"");return Rv(nd.call(n,0,e.maxStringLength),e)+t}var r=mt.call(mt.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,MD);return Iv(r,"single",e)}function MD(n){var e=n.charCodeAt(0),i={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return i?"\\"+i:"\\x"+(e<16?"0":"")+FD.call(e.toString(16))}function ns(n){return"Object("+n+")"}function od(n){return n+" { ? }"}function $v(n,e,i,t){var r=t?ud(i,t):wi.call(i,", ");return n+" ("+e+") {"+r+"}"}function PD(n){for(var e=0;e=0)return!1;return!0}function OD(n,e){var i;if(n.indent===" ")i=" ";else if(typeof n.indent=="number"&&n.indent>0)i=wi.call(Array(n.indent+1)," ");else return null;return{base:i,prev:wi.call(Array(e+1),i)}}function ud(n,e){if(n.length===0)return"";var i=` +`+e.prev+e.base;return i+wi.call(n,","+i)+` +`+e.prev}function eu(n,e){var i=sd(n),t=[];if(i){t.length=n.length;for(var r=0;r1;){var i=e.pop(),t=i.obj[i.prop];if(tr(t)){for(var r=[],a=0;a=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===YD.RFC1738&&(f===40||f===41)){o+=s.charAt(u);continue}if(f<128){o=o+bi[f];continue}if(f<2048){o=o+(bi[192|f>>6]+bi[128|f&63]);continue}if(f<55296||f>=57344){o=o+(bi[224|f>>12]+bi[128|f>>6&63]+bi[128|f&63]);continue}u+=1,f=65536+((f&1023)<<10|s.charCodeAt(u)&1023),o+=bi[240|f>>18]+bi[128|f>>12&63]+bi[128|f>>6&63]+bi[128|f&63]}return o},eC=function(e){for(var i=[{obj:{o:e},prop:"o"}],t=[],r=0;r0?m.join(",")||null:void 0}];else if(Ii(u))M=u;else{var P=Object.keys(m);M=f?P.sort(f):P}for(var R=r&&Ii(m)&&m.length===1?i+"[]":i,j=0;j0?h+F:""},Kr=Hv,vd=Object.prototype.hasOwnProperty,FC=Array.isArray,Ge={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Kr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},hC=function(n){return n.replace(/&#(\d+);/g,function(e,i){return String.fromCharCode(parseInt(i,10))})},Gv=function(n,e){return n&&typeof n=="string"&&e.comma&&n.indexOf(",")>-1?n.split(","):n},mC="utf8=%26%2310003%3B",vC="utf8=%E2%9C%93",pC=function(e,i){var t={},r=i.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=i.parameterLimit===1/0?void 0:i.parameterLimit,s=r.split(i.delimiter,a),o=-1,u,f=i.charset;if(i.charsetSentinel)for(u=0;u-1&&(h=FC(h)?[h]:h),vd.call(t,F)?t[F]=Kr.combine(t[F],h):t[F]=h}return t},gC=function(n,e,i,t){for(var r=t?e:Gv(e,i),a=n.length-1;a>=0;--a){var s,o=n[a];if(o==="[]"&&i.parseArrays)s=[].concat(r);else{s=i.plainObjects?Object.create(null):{};var u=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,f=parseInt(u,10);!i.parseArrays&&u===""?s={0:r}:!isNaN(f)&&o!==u&&String(f)===u&&f>=0&&i.parseArrays&&f<=i.arrayLimit?(s=[],s[f]=r):u!=="__proto__"&&(s[u]=r)}r=s}return r},yC=function(e,i,t,r){if(!!e){var a=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,u=t.depth>0&&s.exec(a),f=u?a.slice(0,u.index):a,l=[];if(f){if(!t.plainObjects&&vd.call(Object.prototype,f)&&!t.allowPrototypes)return;l.push(f)}for(var d=0;t.depth>0&&(u=o.exec(a))!==null&&d{e("update:visible",u),u||e("close")},s=async()=>{const u=ME();t.value._csrf=u,document.cookie=`XSRF-TOKEN=${u}; Path=/;`},o=async()=>{try{r.value=!0,await fetch("/login",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},credentials:"include",redirect:"manual",body:DC.stringify(t.value)}),window.location.reload()}catch(u){console.error("Failed to login",u)}finally{r.value=!1}};return ge(()=>i.visible,u=>{u&&s()}),(u,f)=>(J(),un(T(X6),{title:"\u767B\u5F55",visible:n.visible,width:400,"onUpdate:visible":a},{footer:De(()=>[G(T(Kt),{loading:r.value,type:"default",onClick:o},{default:De(()=>[Cn(" \u767B\u5F55 ")]),_:1},8,["loading"])]),default:De(()=>[$("div",CC,[Xi($("input",{"onUpdate:modelValue":f[0]||(f[0]=l=>t.value.username=l),class:"rounded-base focus:border-secondary w-full border-gray-300 shadow-sm outline-0 ring-0",placeholder:"\u7528\u6237\u540D",type:"text"},null,512),[[Wt,t.value.username]]),Xi($("input",{"onUpdate:modelValue":f[1]||(f[1]=l=>t.value.password=l),class:"rounded-base focus:border-secondary w-full border-gray-300 shadow-sm outline-0 ring-0",placeholder:"\u5BC6\u7801",type:"password"},null,512),[[Wt,t.value.password]])])]),_:1},8,["visible"]))}});var AC={categories:[{id:"people",emojis:["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","smiling_face_with_tear","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking_face","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","dotted_line_face","face_in_clouds","smirk","unamused","face_with_rolling_eyes","grimacing","face_exhaling","lying_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","face_with_spiral_eyes","exploding_head","face_with_cowboy_hat","partying_face","disguised_face","sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","face_holding_back_tears","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","robot_face","wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","ok_hand","pinched_fingers","pinching_hand","v","crossed_fingers","hand_with_index_finger_and_thumb_crossed","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","index_pointing_at_the_viewer","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","heart_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","lips","biting_lip","baby","child","boy","girl","adult","person_with_blond_hair","man","bearded_person","man_with_beard","woman_with_beard","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","red_haired_person","curly_haired_woman","curly_haired_person","white_haired_woman","white_haired_person","bald_woman","bald_person","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","person_frowning","man-frowning","woman-frowning","person_with_pouting_face","man-pouting","woman-pouting","no_good","man-gesturing-no","woman-gesturing-no","ok_woman","man-gesturing-ok","woman-gesturing-ok","information_desk_person","man-tipping-hand","woman-tipping-hand","raising_hand","man-raising-hand","woman-raising-hand","deaf_person","deaf_man","deaf_woman","bow","man-bowing","woman-bowing","face_palm","man-facepalming","woman-facepalming","shrug","man-shrugging","woman-shrugging","health_worker","male-doctor","female-doctor","student","male-student","female-student","teacher","male-teacher","female-teacher","judge","male-judge","female-judge","farmer","male-farmer","female-farmer","cook","male-cook","female-cook","mechanic","male-mechanic","female-mechanic","factory_worker","male-factory-worker","female-factory-worker","office_worker","male-office-worker","female-office-worker","scientist","male-scientist","female-scientist","technologist","male-technologist","female-technologist","singer","male-singer","female-singer","artist","male-artist","female-artist","pilot","male-pilot","female-pilot","astronaut","male-astronaut","female-astronaut","firefighter","male-firefighter","female-firefighter","cop","male-police-officer","female-police-officer","sleuth_or_spy","male-detective","female-detective","guardsman","male-guard","female-guard","ninja","construction_worker","male-construction-worker","female-construction-worker","person_with_crown","prince","princess","man_with_turban","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","bride_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast-feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","angel","santa","mrs_claus","mx_claus","superhero","male_superhero","female_superhero","supervillain","male_supervillain","female_supervillain","mage","male_mage","female_mage","fairy","male_fairy","female_fairy","vampire","male_vampire","female_vampire","merperson","merman","mermaid","elf","male_elf","female_elf","genie","male_genie","female_genie","zombie","male_zombie","female_zombie","troll","massage","man-getting-massage","woman-getting-massage","haircut","man-getting-haircut","woman-getting-haircut","walking","man-walking","woman-walking","standing_person","man_standing","woman_standing","kneeling_person","man_kneeling","woman_kneeling","person_with_probing_cane","man_with_probing_cane","woman_with_probing_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","runner","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","dancers","men-with-bunny-ears-partying","women-with-bunny-ears-partying","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","golfer","man-golfing","woman-golfing","surfer","man-surfing","woman-surfing","rowboat","man-rowing-boat","woman-rowing-boat","swimmer","man-swimming","woman-swimming","person_with_ball","man-bouncing-ball","woman-bouncing-ball","weight_lifter","man-lifting-weights","woman-lifting-weights","bicyclist","man-biking","woman-biking","mountain_bicyclist","man-mountain-biking","woman-mountain-biking","person_doing_cartwheel","man-cartwheeling","woman-cartwheeling","wrestlers","man-wrestling","woman-wrestling","water_polo","man-playing-water-polo","woman-playing-water-polo","handball","man-playing-handball","woman-playing-handball","juggling","man-juggling","woman-juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","man_and_woman_holding_hands","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","family","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","people_hugging","footprints","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","kiss","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart_on_fire","mending_heart","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","brown_heart","black_heart","white_heart","100","anger","boom","dizzy","sweat_drops","dash","hole","bomb","speech_balloon","eye-in-speech-bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz"]},{id:"nature",emojis:["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","black_cat","lion_face","tiger","tiger2","leopard","horse","racehorse","unicorn_face","zebra_face","deer","bison","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","mammoth","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","shell","coral","snail","butterfly","bug","ant","bee","beetle","ladybug","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves","empty_nest","nest_with_eggs"]},{id:"foods",emojis:["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwifruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","mushroom","peanuts","beans","chestnut","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","teapot","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","jar","amphora"]},{id:"activity",emojis:["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","8ball","crystal_ball","magic_wand","nazar_amulet","hamsa","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","pinata","mirror_ball","nesting_dolls","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","sewing_needle","yarn","knot"]},{id:"places",emojis:["earth_africa","earth_americas","earth_asia","globe_with_meridians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","rock","wood","hut","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","pickup_truck","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","roller_skate","busstop","motorway","railway_track","oil_drum","fuelpump","wheel","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","ring_buoy","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{id:"objects",emojis:["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","purse","handbag","pouch","shopping_bags","school_satchel","thong_sandal","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","crown","womans_hat","tophat","mortar_board","billed_cap","military_helmet","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","long_drum","iphone","calling","phone","telephone_receiver","pager","fax","battery","low_battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","coin","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","gun","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","hook","toolbox","magnet","ladder","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x-ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","headstone","funeral_urn","moyai","placard","identification_card"]},{id:"symbols",emojis:["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_equals_sign","infinity","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","x","negative_squared_cross_mark","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","copyright","registered","tm","hash","keycap_star","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{id:"flags",emojis:["checkered_flag","cn","crossed_flags","de","es","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-england","flag-er","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","flag-ga","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","flag-je","flag-jm","flag-jo","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","flag-rw","flag-sa","flag-sb","flag-sc","flag-scotland","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-un","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wales","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","fr","gb","it","jp","kr","pirate_flag","rainbow-flag","ru","transgender_flag","triangular_flag_on_post","us","waving_black_flag","waving_white_flag"]}],emojis:{100:{id:"100",name:"Hundred Points",keywords:["100","score","perfect","numbers","century","exam","quiz","test","pass"],skins:[{unified:"1f4af",native:"\u{1F4AF}"}],version:1},1234:{id:"1234",name:"Input Numbers",keywords:["1234","blue","square"],skins:[{unified:"1f522",native:"\u{1F522}"}],version:1},grinning:{id:"grinning",name:"Grinning Face",emoticons:[":D"],keywords:["smile","happy","joy",":D","grin"],skins:[{unified:"1f600",native:"\u{1F600}"}],version:1},smiley:{id:"smiley",name:"Grinning Face with Big Eyes",emoticons:[":)","=)","=-)"],keywords:["smiley","happy","joy","haha",":D",":)","smile","funny"],skins:[{unified:"1f603",native:"\u{1F603}"}],version:1},smile:{id:"smile",name:"Grinning Face with Smiling Eyes",emoticons:[":)","C:","c:",":D",":-D"],keywords:["smile","happy","joy","funny","haha","laugh","like",":D",":)"],skins:[{unified:"1f604",native:"\u{1F604}"}],version:1},grin:{id:"grin",name:"Beaming Face with Smiling Eyes",keywords:["grin","happy","smile","joy","kawaii"],skins:[{unified:"1f601",native:"\u{1F601}"}],version:1},laughing:{id:"laughing",name:"Grinning Squinting Face",emoticons:[":>",":->"],keywords:["laughing","satisfied","happy","joy","lol","haha","glad","XD","laugh"],skins:[{unified:"1f606",native:"\u{1F606}"}],version:1},sweat_smile:{id:"sweat_smile",name:"Grinning Face with Sweat",keywords:["smile","hot","happy","laugh","relief"],skins:[{unified:"1f605",native:"\u{1F605}"}],version:1},rolling_on_the_floor_laughing:{id:"rolling_on_the_floor_laughing",name:"Rolling on the Floor Laughing",keywords:["face","lol","haha","rofl"],skins:[{unified:"1f923",native:"\u{1F923}"}],version:3},joy:{id:"joy",name:"Face with Tears of Joy",keywords:["cry","weep","happy","happytears","haha"],skins:[{unified:"1f602",native:"\u{1F602}"}],version:1},slightly_smiling_face:{id:"slightly_smiling_face",name:"Slightly Smiling Face",emoticons:[":)","(:",":-)"],keywords:["smile"],skins:[{unified:"1f642",native:"\u{1F642}"}],version:1},upside_down_face:{id:"upside_down_face",name:"Upside-Down Face",keywords:["upside","down","flipped","silly","smile"],skins:[{unified:"1f643",native:"\u{1F643}"}],version:1},melting_face:{id:"melting_face",name:"Melting Face",keywords:["hot","heat"],skins:[{unified:"1fae0",native:"\u{1FAE0}"}],version:14},wink:{id:"wink",name:"Winking Face",emoticons:[";)",";-)"],keywords:["wink","happy","mischievous","secret",";)","smile","eye"],skins:[{unified:"1f609",native:"\u{1F609}"}],version:1},blush:{id:"blush",name:"Smiling Face with Smiling Eyes",emoticons:[":)"],keywords:["blush","smile","happy","flushed","crush","embarrassed","shy","joy"],skins:[{unified:"1f60a",native:"\u{1F60A}"}],version:1},innocent:{id:"innocent",name:"Smiling Face with Halo",keywords:["innocent","angel","heaven"],skins:[{unified:"1f607",native:"\u{1F607}"}],version:1},smiling_face_with_3_hearts:{id:"smiling_face_with_3_hearts",name:"Smiling Face with Hearts",keywords:["3","love","like","affection","valentines","infatuation","crush","adore"],skins:[{unified:"1f970",native:"\u{1F970}"}],version:11},heart_eyes:{id:"heart_eyes",name:"Smiling Face with Heart-Eyes",keywords:["heart","eyes","love","like","affection","valentines","infatuation","crush"],skins:[{unified:"1f60d",native:"\u{1F60D}"}],version:1},"star-struck":{id:"star-struck",name:"Star-Struck",keywords:["star","struck","grinning","face","with","eyes","smile","starry"],skins:[{unified:"1f929",native:"\u{1F929}"}],version:5},kissing_heart:{id:"kissing_heart",name:"Face Blowing a Kiss",emoticons:[":*",":-*"],keywords:["kissing","heart","love","like","affection","valentines","infatuation"],skins:[{unified:"1f618",native:"\u{1F618}"}],version:1},kissing:{id:"kissing",name:"Kissing Face",keywords:["love","like","3","valentines","infatuation","kiss"],skins:[{unified:"1f617",native:"\u{1F617}"}],version:1},relaxed:{id:"relaxed",name:"Smiling Face",keywords:["relaxed","blush","massage","happiness"],skins:[{unified:"263a-fe0f",native:"\u263A\uFE0F"}],version:1},kissing_closed_eyes:{id:"kissing_closed_eyes",name:"Kissing Face with Closed Eyes",keywords:["love","like","affection","valentines","infatuation","kiss"],skins:[{unified:"1f61a",native:"\u{1F61A}"}],version:1},kissing_smiling_eyes:{id:"kissing_smiling_eyes",name:"Kissing Face with Smiling Eyes",keywords:["affection","valentines","infatuation","kiss"],skins:[{unified:"1f619",native:"\u{1F619}"}],version:1},smiling_face_with_tear:{id:"smiling_face_with_tear",name:"Smiling Face with Tear",keywords:["sad","cry","pretend"],skins:[{unified:"1f972",native:"\u{1F972}"}],version:13},yum:{id:"yum",name:"Face Savoring Food",keywords:["yum","happy","joy","tongue","smile","silly","yummy","nom","delicious","savouring"],skins:[{unified:"1f60b",native:"\u{1F60B}"}],version:1},stuck_out_tongue:{id:"stuck_out_tongue",name:"Face with Tongue",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["stuck","out","prank","childish","playful","mischievous","smile"],skins:[{unified:"1f61b",native:"\u{1F61B}"}],version:1},stuck_out_tongue_winking_eye:{id:"stuck_out_tongue_winking_eye",name:"Winking Face with Tongue",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["stuck","out","eye","prank","childish","playful","mischievous","smile","wink"],skins:[{unified:"1f61c",native:"\u{1F61C}"}],version:1},zany_face:{id:"zany_face",name:"Zany Face",keywords:["grinning","with","one","large","and","small","eye","goofy","crazy"],skins:[{unified:"1f92a",native:"\u{1F92A}"}],version:5},stuck_out_tongue_closed_eyes:{id:"stuck_out_tongue_closed_eyes",name:"Squinting Face with Tongue",keywords:["stuck","out","closed","eyes","prank","playful","mischievous","smile"],skins:[{unified:"1f61d",native:"\u{1F61D}"}],version:1},money_mouth_face:{id:"money_mouth_face",name:"Money-Mouth Face",keywords:["money","mouth","rich","dollar"],skins:[{unified:"1f911",native:"\u{1F911}"}],version:1},hugging_face:{id:"hugging_face",name:"Hugging Face",keywords:["smile","hug"],skins:[{unified:"1f917",native:"\u{1F917}"}],version:1},face_with_hand_over_mouth:{id:"face_with_hand_over_mouth",name:"Face with Hand over Mouth",keywords:["smiling","eyes","and","covering","whoops","shock","surprise"],skins:[{unified:"1f92d",native:"\u{1F92D}"}],version:5},face_with_open_eyes_and_hand_over_mouth:{id:"face_with_open_eyes_and_hand_over_mouth",name:"Face with Open Eyes and Hand over Mouth",keywords:["silence","secret","shock","surprise"],skins:[{unified:"1fae2",native:"\u{1FAE2}"}],version:14},face_with_peeking_eye:{id:"face_with_peeking_eye",name:"Face with Peeking Eye",keywords:["scared","frightening","embarrassing"],skins:[{unified:"1fae3",native:"\u{1FAE3}"}],version:14},shushing_face:{id:"shushing_face",name:"Shushing Face",keywords:["with","finger","covering","closed","lips","quiet","shhh"],skins:[{unified:"1f92b",native:"\u{1F92B}"}],version:5},thinking_face:{id:"thinking_face",name:"Thinking Face",keywords:["hmmm","think","consider"],skins:[{unified:"1f914",native:"\u{1F914}"}],version:1},saluting_face:{id:"saluting_face",name:"Saluting Face",keywords:["respect","salute"],skins:[{unified:"1fae1",native:"\u{1FAE1}"}],version:14},zipper_mouth_face:{id:"zipper_mouth_face",name:"Zipper-Mouth Face",keywords:["zipper","mouth","sealed","secret"],skins:[{unified:"1f910",native:"\u{1F910}"}],version:1},face_with_raised_eyebrow:{id:"face_with_raised_eyebrow",name:"Face with Raised Eyebrow",keywords:["one","distrust","scepticism","disapproval","disbelief","surprise"],skins:[{unified:"1f928",native:"\u{1F928}"}],version:5},neutral_face:{id:"neutral_face",name:"Neutral Face",emoticons:[":|",":-|"],keywords:["indifference","meh",":",""],skins:[{unified:"1f610",native:"\u{1F610}"}],version:1},expressionless:{id:"expressionless",name:"Expressionless Face",emoticons:["-_-"],keywords:["indifferent","-","","meh","deadpan"],skins:[{unified:"1f611",native:"\u{1F611}"}],version:1},no_mouth:{id:"no_mouth",name:"Face Without Mouth",keywords:["no","hellokitty"],skins:[{unified:"1f636",native:"\u{1F636}"}],version:1},dotted_line_face:{id:"dotted_line_face",name:"Dotted Line Face",keywords:["invisible","lonely","isolation","depression"],skins:[{unified:"1fae5",native:"\u{1FAE5}"}],version:14},face_in_clouds:{id:"face_in_clouds",name:"Face in Clouds",keywords:["shower","steam","dream"],skins:[{unified:"1f636-200d-1f32b-fe0f",native:"\u{1F636}\u200D\u{1F32B}\uFE0F"}],version:13.1},smirk:{id:"smirk",name:"Smirking Face",keywords:["smirk","smile","mean","prank","smug","sarcasm"],skins:[{unified:"1f60f",native:"\u{1F60F}"}],version:1},unamused:{id:"unamused",name:"Unamused Face",emoticons:[":("],keywords:["indifference","bored","straight","serious","sarcasm","unimpressed","skeptical","dubious","side","eye"],skins:[{unified:"1f612",native:"\u{1F612}"}],version:1},face_with_rolling_eyes:{id:"face_with_rolling_eyes",name:"Face with Rolling Eyes",keywords:["eyeroll","frustrated"],skins:[{unified:"1f644",native:"\u{1F644}"}],version:1},grimacing:{id:"grimacing",name:"Grimacing Face",keywords:["grimace","teeth"],skins:[{unified:"1f62c",native:"\u{1F62C}"}],version:1},face_exhaling:{id:"face_exhaling",name:"Face Exhaling",keywords:["relieve","relief","tired","sigh"],skins:[{unified:"1f62e-200d-1f4a8",native:"\u{1F62E}\u200D\u{1F4A8}"}],version:13.1},lying_face:{id:"lying_face",name:"Lying Face",keywords:["lie","pinocchio"],skins:[{unified:"1f925",native:"\u{1F925}"}],version:3},relieved:{id:"relieved",name:"Relieved Face",keywords:["relaxed","phew","massage","happiness"],skins:[{unified:"1f60c",native:"\u{1F60C}"}],version:1},pensive:{id:"pensive",name:"Pensive Face",keywords:["sad","depressed","upset"],skins:[{unified:"1f614",native:"\u{1F614}"}],version:1},sleepy:{id:"sleepy",name:"Sleepy Face",keywords:["tired","rest","nap"],skins:[{unified:"1f62a",native:"\u{1F62A}"}],version:1},drooling_face:{id:"drooling_face",name:"Drooling Face",keywords:[],skins:[{unified:"1f924",native:"\u{1F924}"}],version:3},sleeping:{id:"sleeping",name:"Sleeping Face",keywords:["tired","sleepy","night","zzz"],skins:[{unified:"1f634",native:"\u{1F634}"}],version:1},mask:{id:"mask",name:"Face with Medical Mask",keywords:["sick","ill","disease"],skins:[{unified:"1f637",native:"\u{1F637}"}],version:1},face_with_thermometer:{id:"face_with_thermometer",name:"Face with Thermometer",keywords:["sick","temperature","cold","fever"],skins:[{unified:"1f912",native:"\u{1F912}"}],version:1},face_with_head_bandage:{id:"face_with_head_bandage",name:"Face with Head-Bandage",keywords:["head","bandage","injured","clumsy","hurt"],skins:[{unified:"1f915",native:"\u{1F915}"}],version:1},nauseated_face:{id:"nauseated_face",name:"Nauseated Face",keywords:["vomit","gross","green","sick","throw","up","ill"],skins:[{unified:"1f922",native:"\u{1F922}"}],version:3},face_vomiting:{id:"face_vomiting",name:"Face Vomiting",keywords:["with","open","mouth","sick"],skins:[{unified:"1f92e",native:"\u{1F92E}"}],version:5},sneezing_face:{id:"sneezing_face",name:"Sneezing Face",keywords:["gesundheit","sneeze","sick","allergy"],skins:[{unified:"1f927",native:"\u{1F927}"}],version:3},hot_face:{id:"hot_face",name:"Hot Face",keywords:["feverish","heat","red","sweating"],skins:[{unified:"1f975",native:"\u{1F975}"}],version:11},cold_face:{id:"cold_face",name:"Cold Face",keywords:["blue","freezing","frozen","frostbite","icicles"],skins:[{unified:"1f976",native:"\u{1F976}"}],version:11},woozy_face:{id:"woozy_face",name:"Woozy Face",keywords:["dizzy","intoxicated","tipsy","wavy"],skins:[{unified:"1f974",native:"\u{1F974}"}],version:11},dizzy_face:{id:"dizzy_face",name:"Dizzy Face",keywords:["spent","unconscious","xox"],skins:[{unified:"1f635",native:"\u{1F635}"}],version:1},face_with_spiral_eyes:{id:"face_with_spiral_eyes",name:"Face with Spiral Eyes",keywords:["sick","ill","confused","nauseous","nausea"],skins:[{unified:"1f635-200d-1f4ab",native:"\u{1F635}\u200D\u{1F4AB}"}],version:13.1},exploding_head:{id:"exploding_head",name:"Exploding Head",keywords:["shocked","face","with","mind","blown"],skins:[{unified:"1f92f",native:"\u{1F92F}"}],version:5},face_with_cowboy_hat:{id:"face_with_cowboy_hat",name:"Cowboy Hat Face",keywords:["with","cowgirl"],skins:[{unified:"1f920",native:"\u{1F920}"}],version:3},partying_face:{id:"partying_face",name:"Partying Face",keywords:["celebration","woohoo"],skins:[{unified:"1f973",native:"\u{1F973}"}],version:11},disguised_face:{id:"disguised_face",name:"Disguised Face",keywords:["pretent","brows","glasses","moustache"],skins:[{unified:"1f978",native:"\u{1F978}"}],version:13},sunglasses:{id:"sunglasses",name:"Smiling Face with Sunglasses",emoticons:["8)"],keywords:["cool","smile","summer","beach","sunglass"],skins:[{unified:"1f60e",native:"\u{1F60E}"}],version:1},nerd_face:{id:"nerd_face",name:"Nerd Face",keywords:["nerdy","geek","dork"],skins:[{unified:"1f913",native:"\u{1F913}"}],version:1},face_with_monocle:{id:"face_with_monocle",name:"Face with Monocle",keywords:["stuffy","wealthy"],skins:[{unified:"1f9d0",native:"\u{1F9D0}"}],version:5},confused:{id:"confused",name:"Confused Face",emoticons:[":\\",":-\\",":/",":-/"],keywords:["indifference","huh","weird","hmmm",":/"],skins:[{unified:"1f615",native:"\u{1F615}"}],version:1},face_with_diagonal_mouth:{id:"face_with_diagonal_mouth",name:"Face with Diagonal Mouth",keywords:["skeptic","confuse","frustrated","indifferent"],skins:[{unified:"1fae4",native:"\u{1FAE4}"}],version:14},worried:{id:"worried",name:"Worried Face",keywords:["concern","nervous",":("],skins:[{unified:"1f61f",native:"\u{1F61F}"}],version:1},slightly_frowning_face:{id:"slightly_frowning_face",name:"Slightly Frowning Face",keywords:["disappointed","sad","upset"],skins:[{unified:"1f641",native:"\u{1F641}"}],version:1},white_frowning_face:{id:"white_frowning_face",name:"Frowning Face",keywords:["white","sad","upset","frown"],skins:[{unified:"2639-fe0f",native:"\u2639\uFE0F"}],version:1},open_mouth:{id:"open_mouth",name:"Face with Open Mouth",emoticons:[":o",":-o",":O",":-O"],keywords:["surprise","impressed","wow","whoa",":O"],skins:[{unified:"1f62e",native:"\u{1F62E}"}],version:1},hushed:{id:"hushed",name:"Hushed Face",keywords:["woo","shh"],skins:[{unified:"1f62f",native:"\u{1F62F}"}],version:1},astonished:{id:"astonished",name:"Astonished Face",keywords:["xox","surprised","poisoned"],skins:[{unified:"1f632",native:"\u{1F632}"}],version:1},flushed:{id:"flushed",name:"Flushed Face",keywords:["blush","shy","flattered"],skins:[{unified:"1f633",native:"\u{1F633}"}],version:1},pleading_face:{id:"pleading_face",name:"Pleading Face",keywords:["begging","mercy"],skins:[{unified:"1f97a",native:"\u{1F97A}"}],version:11},face_holding_back_tears:{id:"face_holding_back_tears",name:"Face Holding Back Tears",keywords:["touched","gratitude"],skins:[{unified:"1f979",native:"\u{1F979}"}],version:14},frowning:{id:"frowning",name:"Frowning Face with Open Mouth",keywords:["aw","what"],skins:[{unified:"1f626",native:"\u{1F626}"}],version:1},anguished:{id:"anguished",name:"Anguished Face",emoticons:["D:"],keywords:["stunned","nervous"],skins:[{unified:"1f627",native:"\u{1F627}"}],version:1},fearful:{id:"fearful",name:"Fearful Face",keywords:["scared","terrified","nervous","oops","huh"],skins:[{unified:"1f628",native:"\u{1F628}"}],version:1},cold_sweat:{id:"cold_sweat",name:"Anxious Face with Sweat",keywords:["cold","nervous"],skins:[{unified:"1f630",native:"\u{1F630}"}],version:1},disappointed_relieved:{id:"disappointed_relieved",name:"Sad but Relieved Face",keywords:["disappointed","phew","sweat","nervous"],skins:[{unified:"1f625",native:"\u{1F625}"}],version:1},cry:{id:"cry",name:"Crying Face",emoticons:[":'("],keywords:["cry","tears","sad","depressed","upset",":'("],skins:[{unified:"1f622",native:"\u{1F622}"}],version:1},sob:{id:"sob",name:"Loudly Crying Face",emoticons:[":'("],keywords:["sob","cry","tears","sad","upset","depressed"],skins:[{unified:"1f62d",native:"\u{1F62D}"}],version:1},scream:{id:"scream",name:"Face Screaming in Fear",keywords:["scream","munch","scared","omg"],skins:[{unified:"1f631",native:"\u{1F631}"}],version:1},confounded:{id:"confounded",name:"Confounded Face",keywords:["confused","sick","unwell","oops",":S"],skins:[{unified:"1f616",native:"\u{1F616}"}],version:1},persevere:{id:"persevere",name:"Persevering Face",keywords:["persevere","sick","no","upset","oops"],skins:[{unified:"1f623",native:"\u{1F623}"}],version:1},disappointed:{id:"disappointed",name:"Disappointed Face",emoticons:["):",":(",":-("],keywords:["sad","upset","depressed",":("],skins:[{unified:"1f61e",native:"\u{1F61E}"}],version:1},sweat:{id:"sweat",name:"Face with Cold Sweat",keywords:["downcast","hot","sad","tired","exercise"],skins:[{unified:"1f613",native:"\u{1F613}"}],version:1},weary:{id:"weary",name:"Weary Face",keywords:["tired","sleepy","sad","frustrated","upset"],skins:[{unified:"1f629",native:"\u{1F629}"}],version:1},tired_face:{id:"tired_face",name:"Tired Face",keywords:["sick","whine","upset","frustrated"],skins:[{unified:"1f62b",native:"\u{1F62B}"}],version:1},yawning_face:{id:"yawning_face",name:"Yawning Face",keywords:["tired","sleepy"],skins:[{unified:"1f971",native:"\u{1F971}"}],version:12},triumph:{id:"triumph",name:"Face with Look of Triumph",keywords:["steam","from","nose","gas","phew","proud","pride"],skins:[{unified:"1f624",native:"\u{1F624}"}],version:1},rage:{id:"rage",name:"Pouting Face",keywords:["rage","angry","mad","hate","despise"],skins:[{unified:"1f621",native:"\u{1F621}"}],version:1},angry:{id:"angry",name:"Angry Face",emoticons:[">:(",">:-("],keywords:["mad","annoyed","frustrated"],skins:[{unified:"1f620",native:"\u{1F620}"}],version:1},face_with_symbols_on_mouth:{id:"face_with_symbols_on_mouth",name:"Face with Symbols on Mouth",keywords:["serious","covering","swearing","cursing","cussing","profanity","expletive"],skins:[{unified:"1f92c",native:"\u{1F92C}"}],version:5},smiling_imp:{id:"smiling_imp",name:"Smiling Face with Horns",keywords:["imp","devil"],skins:[{unified:"1f608",native:"\u{1F608}"}],version:1},imp:{id:"imp",name:"Imp",keywords:["angry","face","with","horns","devil"],skins:[{unified:"1f47f",native:"\u{1F47F}"}],version:1},skull:{id:"skull",name:"Skull",keywords:["dead","skeleton","creepy","death"],skins:[{unified:"1f480",native:"\u{1F480}"}],version:1},skull_and_crossbones:{id:"skull_and_crossbones",name:"Skull and Crossbones",keywords:["poison","danger","deadly","scary","death","pirate","evil"],skins:[{unified:"2620-fe0f",native:"\u2620\uFE0F"}],version:1},hankey:{id:"hankey",name:"Pile of Poo",keywords:["hankey","poop","shit","shitface","fail","turd"],skins:[{unified:"1f4a9",native:"\u{1F4A9}"}],version:1},clown_face:{id:"clown_face",name:"Clown Face",keywords:[],skins:[{unified:"1f921",native:"\u{1F921}"}],version:3},japanese_ogre:{id:"japanese_ogre",name:"Ogre",keywords:["japanese","monster","red","mask","halloween","scary","creepy","devil","demon"],skins:[{unified:"1f479",native:"\u{1F479}"}],version:1},japanese_goblin:{id:"japanese_goblin",name:"Goblin",keywords:["japanese","red","evil","mask","monster","scary","creepy"],skins:[{unified:"1f47a",native:"\u{1F47A}"}],version:1},ghost:{id:"ghost",name:"Ghost",keywords:["halloween","spooky","scary"],skins:[{unified:"1f47b",native:"\u{1F47B}"}],version:1},alien:{id:"alien",name:"Alien",keywords:["UFO","paul","weird","outer","space"],skins:[{unified:"1f47d",native:"\u{1F47D}"}],version:1},space_invader:{id:"space_invader",name:"Alien Monster",keywords:["space","invader","game","arcade","play"],skins:[{unified:"1f47e",native:"\u{1F47E}"}],version:1},robot_face:{id:"robot_face",name:"Robot",keywords:["face","computer","machine","bot"],skins:[{unified:"1f916",native:"\u{1F916}"}],version:1},smiley_cat:{id:"smiley_cat",name:"Grinning Cat",keywords:["smiley","animal","cats","happy","smile"],skins:[{unified:"1f63a",native:"\u{1F63A}"}],version:1},smile_cat:{id:"smile_cat",name:"Grinning Cat with Smiling Eyes",keywords:["smile","animal","cats"],skins:[{unified:"1f638",native:"\u{1F638}"}],version:1},joy_cat:{id:"joy_cat",name:"Cat with Tears of Joy",keywords:["animal","cats","haha","happy"],skins:[{unified:"1f639",native:"\u{1F639}"}],version:1},heart_eyes_cat:{id:"heart_eyes_cat",name:"Smiling Cat with Heart-Eyes",keywords:["heart","eyes","animal","love","like","affection","cats","valentines"],skins:[{unified:"1f63b",native:"\u{1F63B}"}],version:1},smirk_cat:{id:"smirk_cat",name:"Cat with Wry Smile",keywords:["smirk","animal","cats"],skins:[{unified:"1f63c",native:"\u{1F63C}"}],version:1},kissing_cat:{id:"kissing_cat",name:"Kissing Cat",keywords:["animal","cats","kiss"],skins:[{unified:"1f63d",native:"\u{1F63D}"}],version:1},scream_cat:{id:"scream_cat",name:"Weary Cat",keywords:["scream","animal","cats","munch","scared"],skins:[{unified:"1f640",native:"\u{1F640}"}],version:1},crying_cat_face:{id:"crying_cat_face",name:"Crying Cat",keywords:["face","animal","tears","weep","sad","cats","upset","cry"],skins:[{unified:"1f63f",native:"\u{1F63F}"}],version:1},pouting_cat:{id:"pouting_cat",name:"Pouting Cat",keywords:["animal","cats"],skins:[{unified:"1f63e",native:"\u{1F63E}"}],version:1},see_no_evil:{id:"see_no_evil",name:"See-No-Evil Monkey",keywords:["see","no","evil","animal","nature","haha"],skins:[{unified:"1f648",native:"\u{1F648}"}],version:1},hear_no_evil:{id:"hear_no_evil",name:"Hear-No-Evil Monkey",keywords:["hear","no","evil","animal","nature"],skins:[{unified:"1f649",native:"\u{1F649}"}],version:1},speak_no_evil:{id:"speak_no_evil",name:"Speak-No-Evil Monkey",keywords:["speak","no","evil","animal","nature","omg"],skins:[{unified:"1f64a",native:"\u{1F64A}"}],version:1},kiss:{id:"kiss",name:"Kiss Mark",keywords:["face","lips","love","like","affection","valentines"],skins:[{unified:"1f48b",native:"\u{1F48B}"}],version:1},love_letter:{id:"love_letter",name:"Love Letter",keywords:["email","like","affection","envelope","valentines"],skins:[{unified:"1f48c",native:"\u{1F48C}"}],version:1},cupid:{id:"cupid",name:"Heart with Arrow",keywords:["cupid","love","like","affection","valentines"],skins:[{unified:"1f498",native:"\u{1F498}"}],version:1},gift_heart:{id:"gift_heart",name:"Heart with Ribbon",keywords:["gift","love","valentines"],skins:[{unified:"1f49d",native:"\u{1F49D}"}],version:1},sparkling_heart:{id:"sparkling_heart",name:"Sparkling Heart",keywords:["love","like","affection","valentines"],skins:[{unified:"1f496",native:"\u{1F496}"}],version:1},heartpulse:{id:"heartpulse",name:"Growing Heart",keywords:["heartpulse","like","love","affection","valentines","pink"],skins:[{unified:"1f497",native:"\u{1F497}"}],version:1},heartbeat:{id:"heartbeat",name:"Beating Heart",keywords:["heartbeat","love","like","affection","valentines","pink"],skins:[{unified:"1f493",native:"\u{1F493}"}],version:1},revolving_hearts:{id:"revolving_hearts",name:"Revolving Hearts",keywords:["love","like","affection","valentines"],skins:[{unified:"1f49e",native:"\u{1F49E}"}],version:1},two_hearts:{id:"two_hearts",name:"Two Hearts",keywords:["love","like","affection","valentines","heart"],skins:[{unified:"1f495",native:"\u{1F495}"}],version:1},heart_decoration:{id:"heart_decoration",name:"Heart Decoration",keywords:["purple","square","love","like"],skins:[{unified:"1f49f",native:"\u{1F49F}"}],version:1},heavy_heart_exclamation_mark_ornament:{id:"heavy_heart_exclamation_mark_ornament",name:"Heart Exclamation",keywords:["heavy","mark","ornament","decoration","love"],skins:[{unified:"2763-fe0f",native:"\u2763\uFE0F"}],version:1},broken_heart:{id:"broken_heart",name:"Broken Heart",emoticons:["2&&(s.children=arguments.length>3?tu.call(arguments,2):i),typeof n=="function"&&n.defaultProps!=null)for(a in n.defaultProps)s[a]===void 0&&(s[a]=n.defaultProps[a]);return au(n,s,t,r,null)}function au(n,e,i,t,r){var a={type:n,props:e,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:r==null?++Kv:r};return r==null&&ee.vnode!=null&&ee.vnode(a),a}function Li(){return{current:null}}function Qr(n){return n.children}function _i(n,e){this.props=n,this.context=e}function Jr(n,e){if(e==null)return n.__?Jr(n.__,n.__.__k.indexOf(n)+1):null;for(var i;e0?au(F.type,F.props,F.key,null,F.__v):F)!=null){if(F.__=i,F.__b=i.__b+1,(c=m[l])===null||c&&F.key==c.key&&F.type===c.type)m[l]=void 0;else for(d=0;d{let n=null;try{navigator.userAgent.includes("jsdom")||(n=document.createElement("canvas").getContext("2d"))}catch{}if(!n)return()=>!1;const e=25,i=20,t=Math.floor(e/2);return n.font=t+"px Arial, Sans-Serif",n.textBaseline="top",n.canvas.width=i*2,n.canvas.height=e,r=>{n.clearRect(0,0,i*2,e),n.fillStyle="#FF0000",n.fillText(r,0,22),n.fillStyle="#0000FF",n.fillText(r,i,22);const a=n.getImageData(0,0,i,e).data,s=a.length;let o=0;for(;o=s)return!1;const u=i+o/4%i,f=Math.floor(o/4/i),l=n.getImageData(u,f,1,1).data;return!(a[o]!==l[0]||a[o+2]!==l[2]||n.measureText(r).width>=i)}})();var Fp={latestVersion:VC,noCountryFlags:GC};const hp=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let en=null;function KC(n){en||(en=yt.get("frequently")||{});const e=n.id||n;!e||(en[e]||(en[e]=0),en[e]+=1,yt.set("last",e),yt.set("frequently",en))}function QC({maxFrequentRows:n,perLine:e}){if(!n)return[];en||(en=yt.get("frequently"));let i=[];if(!en){en={};for(let a in hp.slice(0,e)){const s=hp[a];en[s]=e-a,i.push(s)}return i}const t=n*e,r=yt.get("last");for(let a in en)i.push(a);if(i.sort((a,s)=>{const o=en[s],u=en[a];return o==u?a.localeCompare(s):o-u}),i.length>t){const a=i.slice(t);i=i.slice(0,t);for(let s of a)s!=r&&delete en[s];r&&i.indexOf(r)==-1&&(delete en[i[i.length-1]],i.splice(-1,1,r)),yt.set("frequently",en)}return i}var mp={add:KC,get:QC},vp={};vp=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn\u2019t be found","pick":"Pick an emoji\u2026","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var Ni={autoFocus:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:14,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","cs","de","es","fa","fi","fr","it","ja","nl","pl","pt","ru","uk","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let pn=null,ve=null;const kd={};async function pp(n){if(kd[n])return kd[n];const i=await(await fetch(n)).json();return kd[n]=i,i}let wd=null,gp=null,yp=!1;function fu(n,{caller:e}={}){return wd||(wd=new Promise(i=>{gp=i})),n?JC(n):e&&!yp&&console.warn(`\`${e}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),wd}async function JC(n){yp=!0;let{emojiVersion:e,set:i,locale:t}=n;if(e||(e=Ni.emojiVersion.value),i||(i=Ni.set.value),t||(t=Ni.locale.value),ve)ve.categories=ve.categories.filter(u=>!u.name);else{ve=(typeof n.data=="function"?await n.data():n.data)||await pp(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${i}.json`),ve.emoticons={},ve.natives={},ve.categories.unshift({id:"frequent",emojis:[]});for(const u in ve.aliases){const f=ve.aliases[u],l=ve.emojis[f];!l||(l.aliases||(l.aliases=[]),l.aliases.push(u))}}if(pn=(typeof n.i18n=="function"?await n.i18n():n.i18n)||(t=="en"?Yv(vp):await pp(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${t}.json`)),n.custom)for(let u in n.custom){u=parseInt(u);const f=n.custom[u],l=n.custom[u-1];if(!(!f.emojis||!f.emojis.length)){f.id||(f.id=`custom_${u+1}`),f.name||(f.name=pn.categories.custom),l&&!f.icon&&(f.target=l.target||l),ve.categories.push(f);for(const d of f.emojis)ve.emojis[d.id]=d}}n.categories&&(ve.categories=ve.categories.filter(u=>n.categories.indexOf(u.id)!=-1).sort((u,f)=>{const l=n.categories.indexOf(u.id),d=n.categories.indexOf(f.id);return l-d}));let r=null,a=null;i=="native"&&(r=Fp.latestVersion(),a=n.noCountryFlags||Fp.noCountryFlags());let s=ve.categories.length,o=!1;for(;s--;){const u=ve.categories[s];if(u.id=="frequent"){let{maxFrequentRows:d,perLine:c}=n;d||(d=Ni.maxFrequentRows.value),c||(c=Ni.perLine.value),u.emojis=mp.get({maxFrequentRows:d,perLine:c})}if(!u.emojis||!u.emojis.length){ve.categories.splice(s,1);continue}const{categoryIcons:f}=n;if(f){const d=f[u.id];d&&!u.icon&&(u.icon=d)}let l=u.emojis.length;for(;l--;){const d=u.emojis[l],c=d.id?d:ve.emojis[d],F=()=>{u.emojis.splice(l,1)};if(!c){F();continue}if(r&&c.version>r){F();continue}if(a&&u.id=="flags"&&!i5.includes(c.id)){F();continue}if(!c.search){if(o=!0,c.search=","+[[c.id,!1],[c.name,!0],[c.keywords,!1],[c.emoticons,!1]].map(([p,g])=>{if(!!p)return(Array.isArray(p)?p:[p]).map(m=>(g?m.split(/[-|_|\s]+/):[m]).map(v=>v.toLowerCase())).flat()}).flat().filter(p=>p&&p.trim()).join(","),c.emoticons)for(const p of c.emoticons)ve.emoticons[p]||(ve.emoticons[p]=c.id);let h=0;for(const p of c.skins){if(!p)continue;h++;const{native:g}=p;g&&(ve.natives[g]=c.id,c.search+=`,${g}`);const m=h==1?"":`:skin-tone-${h}:`;p.shortcodes=`:${c.id}:${m}`}}}}o&&Zr.reset(),gp()}function kp(n,e,i){n||(n={});const t={};for(let r in e)t[r]=wp(r,n,e,i);return t}function wp(n,e,i,t){const r=i[n];let a=t&&t.getAttribute(n)||(e[n]!=null&&e[n]!=null?e[n]:null);return r&&(a!=null&&r.value&&typeof r.value!=typeof a&&(typeof r.value=="boolean"?a=a!="false":a=r.value.constructor(a)),r.transform&&a&&(a=r.transform(a)),(a==null||r.choices&&r.choices.indexOf(a)==-1)&&(a=r.value)),a}const ZC=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;let bd=null;function XC(n){return n.id?n:ve.emojis[n]||ve.emojis[ve.aliases[n]]||ve.emojis[ve.natives[n]]}function e5(){bd=null}async function n5(n,{maxResults:e,caller:i}={}){if(!n||!n.trim().length)return null;e||(e=90),await fu(null,{caller:i||"SearchIndex.search"});const t=n.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((o,u,f)=>o.trim()&&f.indexOf(o)==u);if(!t.length)return;let r=bd||(bd=Object.values(ve.emojis)),a,s;for(const o of t){if(!r.length)break;a=[],s={};for(const u of r){if(!u.search)continue;const f=u.search.indexOf(`,${o}`);f!=-1&&(a.push(u),s[u.id]||(s[u.id]=0),s[u.id]+=u.id==o?0:f+1)}r=a}return a.length<2||(a.sort((o,u)=>{const f=s[o.id],l=s[u.id];return f==l?o.id.localeCompare(u.id):f-l}),a.length>e&&(a=a.slice(0,e))),a}var Zr={search:n5,get:XC,reset:e5,SHORTCODES_REGEX:ZC};const i5=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];function t5(n,e){return Array.isArray(n)&&Array.isArray(e)&&n.length===e.length&&n.every((i,t)=>i==e[t])}async function r5(n=1){for(let e in[...Array(n).keys()])await new Promise(requestAnimationFrame)}function a5(n,{skinIndex:e}={}){const i=n.skins[e]||(()=>(e=0,n.skins[e]))(),t={id:n.id,name:n.name,native:i.native,unified:i.unified,keywords:n.keywords,shortcodes:i.shortcodes||n.shortcodes};return n.skins.length>1&&(t.skin=e+1),i.src&&(t.src=i.src),n.aliases&&n.aliases.length&&(t.aliases=n.aliases),n.emoticons&&n.emoticons.length&&(t.emoticons=n.emoticons),t}var lu={categories:{activity:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:O("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:O("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:O("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:O("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),O("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),O("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:O("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),O("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:O("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),O("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[O("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),O("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:O("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:O("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},search:{loupe:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:O("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:O("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:O("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})}};function _d(n){let{id:e,skin:i,emoji:t}=n;if(n.shortcodes){const o=n.shortcodes.match(Zr.SHORTCODES_REGEX);o&&(e=o[1],o[2]&&(i=o[2]))}if(t||(t=Zr.get(e||n.native)),!t)return n.fallback;const r=t.skins[i-1]||t.skins[0],a=r.src||(n.set!="native"&&!n.spritesheet?typeof n.getImageURL=="function"?n.getImageURL(n.set,r.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${n.set}@14.0.0/img/${n.set}/64/${r.unified}.png`:void 0),s=typeof n.getSpritesheetURL=="function"?n.getSpritesheetURL(n.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${n.set}@14.0.0/img/${n.set}/sheets-256/64.png`;return O("span",{class:"emoji-mart-emoji","data-emoji-set":n.set,children:a?O("img",{style:{height:n.size||"1em",width:"auto",display:"inline-block",position:"relative",top:".1em"},alt:r.native||r.shortcodes,src:a}):n.set=="native"?O("span",{style:{fontSize:n.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:r.native}):O("span",{style:{display:"block",width:n.size,height:n.size,backgroundImage:`url(${s})`,backgroundSize:`${100*ve.sheet.cols}% ${100*ve.sheet.rows}%`,backgroundPosition:`${100/(ve.sheet.cols-1)*r.x}% ${100/(ve.sheet.rows-1)*r.y}%`}})})}const s5=typeof window!="undefined"?window.HTMLElement:Object;class bp extends s5{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let i in e)this.attributeChangedCallback(i,null,e[i])}attributeChangedCallback(e,i,t){if(!this.component)return;const r=wp(e,{[e]:t},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:r}):(this.component.props[e]=r,this.component.forceUpdate())}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let i=null;const t=e.parent||(i=e.ref&&e.ref.current);i&&(i.innerHTML=""),t&&t.appendChild(this)}}}class o5 extends bp{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const i=document.createElement("style");i.textContent=e,this.shadowRoot.insertBefore(i,this.shadowRoot.firstChild)}constructor(e,{styles:i}={}){super(e),this.setShadow(),this.injectStyles(i)}}var _p={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:n=>/\D/.test(n)?n:`${n}px`},set:Ni.set,skin:Ni.skin};class Ep extends bp{async connectedCallback(){const e=kp(this.props,_p,this);e.element=this,e.ref=i=>{this.component=i},await fu(),dp(O(_d,{...e}),this)}constructor(e){super(e)}}ri(Ep,"Props",_p),typeof customElements!="undefined"&&!customElements.get("em-emoji")&&customElements.define("em-emoji",Ep);var Dp,Ed=[],Cp=ee.__b,Sp=ee.__r,Ap=ee.diffed,Bp=ee.__c,xp=ee.unmount;function u5(){var n;for(Ed.sort(function(e,i){return e.__v.__b-i.__v.__b});n=Ed.pop();)if(n.__P)try{n.__H.__h.forEach(du),n.__H.__h.forEach(Dd),n.__H.__h=[]}catch(e){n.__H.__h=[],ee.__e(e,n.__v)}}ee.__b=function(n){Cp&&Cp(n)},ee.__r=function(n){Sp&&Sp(n);var e=n.__c.__H;e&&(e.__h.forEach(du),e.__h.forEach(Dd),e.__h=[])},ee.diffed=function(n){Ap&&Ap(n);var e=n.__c;e&&e.__H&&e.__H.__h.length&&(Ed.push(e)!==1&&Dp===ee.requestAnimationFrame||((Dp=ee.requestAnimationFrame)||function(i){var t,r=function(){clearTimeout(a),Mp&&cancelAnimationFrame(t),setTimeout(i)},a=setTimeout(r,100);Mp&&(t=requestAnimationFrame(r))})(u5))},ee.__c=function(n,e){e.some(function(i){try{i.__h.forEach(du),i.__h=i.__h.filter(function(t){return!t.__||Dd(t)})}catch(t){e.some(function(r){r.__h&&(r.__h=[])}),e=[],ee.__e(t,i.__v)}}),Bp&&Bp(n,e)},ee.unmount=function(n){xp&&xp(n);var e,i=n.__c;i&&i.__H&&(i.__H.__.forEach(function(t){try{du(t)}catch(r){e=r}}),e&&ee.__e(e,i.__v))};var Mp=typeof requestAnimationFrame=="function";function du(n){var e=n.__c;typeof e=="function"&&(n.__c=void 0,e())}function Dd(n){n.__c=n.__()}function f5(n,e){for(var i in e)n[i]=e[i];return n}function Pp(n,e){for(var i in n)if(i!=="__source"&&!(i in e))return!0;for(var t in e)if(t!=="__source"&&n[t]!==e[t])return!0;return!1}function cu(n){this.props=n}(cu.prototype=new _i).isPureReactComponent=!0,cu.prototype.shouldComponentUpdate=function(n,e){return Pp(this.props,n)||Pp(this.state,e)};var Op=ee.__b;ee.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),Op&&Op(n)};var l5=ee.__e;ee.__e=function(n,e,i){if(n.then){for(var t,r=e;r=r.__;)if((t=r.__c)&&t.__c)return e.__e==null&&(e.__e=i.__e,e.__k=i.__k),t.__c(n,e)}l5(n,e,i)};var Tp=ee.unmount;function Cd(){this.__u=0,this.t=null,this.__b=null}function Ip(n){var e=n.__.__c;return e&&e.__e&&e.__e(n)}function Fu(){this.u=null,this.o=null}ee.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&n.__h===!0&&(n.type=null),Tp&&Tp(n)},(Cd.prototype=new _i).__c=function(n,e){var i=e.__c,t=this;t.t==null&&(t.t=[]),t.t.push(i);var r=Ip(t.__v),a=!1,s=function(){a||(a=!0,i.__R=null,r?r(o):o())};i.__R=s;var o=function(){if(!--t.__u){if(t.state.__e){var f=t.state.__e;t.__v.__k[0]=function d(c,F,h){return c&&(c.__v=null,c.__k=c.__k&&c.__k.map(function(p){return d(p,F,h)}),c.__c&&c.__c.__P===F&&(c.__e&&h.insertBefore(c.__e,c.__d),c.__c.__e=!0,c.__c.__P=h)),c}(f,f.__c.__P,f.__c.__O)}var l;for(t.setState({__e:t.__b=null});l=t.t.pop();)l.forceUpdate()}},u=e.__h===!0;t.__u++||u||t.setState({__e:t.__b=t.__v.__k[0]}),n.then(s,s)},Cd.prototype.componentWillUnmount=function(){this.t=[]},Cd.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),t=this.__v.__k[0].__c;this.__v.__k[0]=function a(s,o,u){return s&&(s.__c&&s.__c.__H&&(s.__c.__H.__.forEach(function(f){typeof f.__c=="function"&&f.__c()}),s.__c.__H=null),(s=f5({},s)).__c!=null&&(s.__c.__P===u&&(s.__c.__P=o),s.__c=null),s.__k=s.__k&&s.__k.map(function(f){return a(f,o,u)})),s}(this.__b,i,t.__O=t.__P)}this.__b=null}var r=e.__e&&pd(Qr,null,n.fallback);return r&&(r.__h=null),[pd(Qr,null,e.__e?null:n.children),r]};var Lp=function(n,e,i){if(++i[1]===i[0]&&n.o.delete(e),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(i=n.u;i;){for(;i.length>3;)i.pop()();if(i[1]{const r=i.name||pn.categories[i.id],a=!this.props.unfocused&&i.id==this.state.categoryId;return a&&(e=t),O("button",{"aria-label":r,"aria-selected":a||void 0,title:r,type:"button",class:"flex flex-grow flex-center",onMouseDown:s=>s.preventDefault(),onClick:()=>{this.props.onClick({category:i,i:t})},children:this.renderIcon(i)})}),O("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:e==null?0:1,transform:`translateX(${e*100}%)`}})]})})}constructor(){super(),this.categories=ve.categories.filter(e=>!e.target),this.state={categoryId:this.categories[0].id}}}class k5 extends cu{shouldComponentUpdate(e){for(let i in e)if(i!="children"&&e[i]!=this.props[i])return!0;return!1}render(){return this.props.children}}const hu={rowsPerRender:10};class w5 extends _i{getInitialState(e=this.props){return{skin:yt.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.observers=[],this.dir=pn.rtl?"rtl":"ltr",this.refs={menu:Li(),navigation:Li(),scroll:Li(),search:Li(),searchInput:Li(),skinToneButton:Li(),skinToneRadio:Li()},this.initGrid(),this.props.stickySearch==!1&&this.props.searchPosition=="sticky"&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:e}=this.refs;e.current&&e.current.focus()}}componentWillReceiveProps(e){this.nextState||(this.nextState={});for(const i in e)this.nextState[i]=e[i];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let i=!1;for(const r in this.nextState)this.props[r]=this.nextState[r],(r==="custom"||r==="categories")&&(i=!0);delete this.nextState;const t=this.getInitialState();if(i)return this.reset(t);this.setState(t)})}componentWillUnmount(){this.unregister()}async reset(e={}){await fu(this.props),this.initGrid(),this.unobserve(),this.setState(e,()=>{this.observeCategories(),this.observeRows()})}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){document.removeEventListener("click",this.handleClickOutside),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve(){for(const e of this.observers)e.disconnect()}initGrid(){const{categories:e}=ve;this.refs.categories=new Map;const i=ve.categories.map(r=>r.id).join(",");this.navKey&&this.navKey!=i&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=i,this.grid=[],this.grid.setsize=0;const t=(r,a)=>{const s=[];s.__categoryId=a.id,s.__index=r.length,this.grid.push(s);const o=this.grid.length-1,u=o%hu.rowsPerRender?{}:Li();return u.index=o,u.posinset=this.grid.setsize+1,r.push(u),s};for(let r of e){const a=[];let s=t(a,r);for(let o of r.emojis)s.length==this.props.perLine&&(s=t(a,r)),this.grid.setsize+=1,s.push(o);this.refs.categories.set(r.id,{root:Li(),rows:a})}}initTheme(e){if(e!="auto")return e;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addListener(()=>{this.props.theme=="auto"&&this.setState({theme:this.darkMedia.matches?"dark":"light"})})}return this.darkMedia.matches?"dark":"light"}getEmojiByPos([e,i]){const t=this.state.searchResults||this.grid,r=t[e]&&t[e][i];if(!!r)return Zr.get(r)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const i=new Map,t=s=>{s!=e.state.categoryId&&e.setState({categoryId:s})},r={root:this.refs.scroll.current,threshold:[0,1]},a=new IntersectionObserver(s=>{for(const f of s){const l=f.target.dataset.id;i.set(l,f.intersectionRatio)}const o=[...i],u=o[o.length-1];if(u[1]==1)return t(u[0]);for(const[f,l]of o)if(l){t(f);break}},r);for(const{root:s}of this.refs.categories.values())a.observe(s.current);this.observers.push(a)}observeRows(){const e={...this.state.visibleRows},i=new IntersectionObserver(t=>{for(const r of t){const a=parseInt(r.target.dataset.index);r.isIntersecting?e[a]=!0:delete e[a]}this.setState({visibleRows:e})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(hu.rowsPerRender+5)}px 0px ${this.props.emojiButtonSize*hu.rowsPerRender}px`});for(const{rows:t}of this.refs.categories.values())for(const r of t)r.current&&i.observe(r.current);this.observers.push(i)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;!e||e.blur()}navigate({e,input:i,left:t,right:r,up:a,down:s}){const o=this.state.searchResults||this.grid;if(!o.length)return;let[u,f]=this.state.pos;const l=(()=>{if(u==0&&f==0&&!e.repeat&&(t||a))return null;if(u==-1)return!e.repeat&&(r||s)&&i.selectionStart==i.value.length?[0,0]:null;if(t||r){let d=o[u];const c=t?-1:1;if(f+=c,!d[f]){if(u+=c,d=o[u],!d)return u=t?0:o.length-1,f=t?0:o[u].length-1,[u,f];f=t?d.length-1:0}return[u,f]}if(a||s){u+=a?-1:1;const d=o[u];return d?(d[f]||(f=d.length-1),[u,f]):(u=a?0:o.length-1,f=a?0:o[u].length-1,[u,f])}})();if(l)e.preventDefault();else{this.state.pos[0]>-1&&this.setState({pos:[-1,-1]});return}this.setState({pos:l,keyboard:!0},()=>{this.scrollTo({row:l[0]})})}scrollTo({categoryId:e,row:i}){const t=this.state.searchResults||this.grid;if(!t.length)return;const r=this.refs.scroll.current,a=r.getBoundingClientRect();let s=0;if(i>=0&&(e=t[i].__categoryId),e&&(s=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(a.top-r.scrollTop)+1),i>=0)if(!i)s=0;else{const o=t[i].__index,u=s+o*this.props.emojiButtonSize,f=u+this.props.emojiButtonSize+this.props.emojiButtonSize*.88;if(ur.scrollTop+a.height)s=f-a.height;else return}this.ignoreMouse(),r.scrollTop=s}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout(()=>{delete this.mouseIsIgnored},100)}handleEmojiOver(e){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:e||[-1,-1],keyboard:!1})}handleEmojiClick({emoji:e,pos:i}){if(!!this.props.onEmojiSelect&&(!e&&i&&(e=this.getEmojiByPos(i)),e)){const t=a5(e,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&mp.add(t,this.props),this.props.onEmojiSelect(t)}}closeSkins(){!this.state.showSkins||(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(e){this.setState({tempSkin:e})}handleSkinClick(e){this.ignoreMouse(),this.closeSkins(),this.setState({skin:e,tempSkin:null}),yt.set("skin",e)}renderNav(){return O(y5,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const e=this.getEmojiByPos(this.state.pos),i=this.state.searchResults&&!this.state.searchResults.length;return O("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[O("div",{class:"flex flex-middle flex-grow",children:[O("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:O(_d,{emoji:e,id:i?this.props.noResultsEmoji||"cry":this.props.previewEmoji||(this.props.previewPosition=="top"?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),O("div",{class:`margin-${this.dir[0]}`,children:e?O("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[O("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:e.name}),O("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:e.skins[0].shortcodes})]}):i?O("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[O("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:pn.search_no_results_1}),O("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:pn.search_no_results_2})]}):O("div",{class:"color-c",style:{fontSize:21},children:pn.pick})})]}),!e&&this.props.skinTonePosition=="preview"&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:i,posinset:t,grid:r}){const a=this.props.emojiButtonSize,s=this.state.tempSkin||this.state.skin,u=(e.skins[s-1]||e.skins[0]).native,f=t5(this.state.pos,i),l=i.concat(e.id).join("");return O(k5,{selected:f,skin:s,size:a,children:O("button",{"aria-label":u,"aria-selected":f||void 0,"aria-posinset":t,"aria-setsize":r.setsize,"data-keyboard":this.state.keyboard,title:this.props.previewPosition=="none"?e.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:()=>this.handleEmojiClick({emoji:e}),onMouseEnter:()=>this.handleEmojiOver(i),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[O("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(t-1)%this.props.emojiButtonColors.length]:void 0}}),O(_d,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:s,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},l)}renderSearch(){const e=this.props.previewPosition=="none"||this.props.skinTonePosition=="search";return O("div",{children:[O("div",{class:"spacer"}),O("div",{class:"flex flex-middle",children:[e&&this.dir=="rtl"&&this.renderSkinToneButton(),O("div",{class:"search relative flex-grow",children:[O("input",{type:"search",ref:this.refs.searchInput,placeholder:pn.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),O("span",{class:"icon loupe flex",children:lu.search.loupe}),this.state.searchResults&&O("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:lu.search.delete})]}),e&&this.dir=="ltr"&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?O("div",{class:"category",ref:this.refs.search,children:[O("div",{class:`sticky padding-small align-${this.dir[0]}`,children:pn.categories.search}),O("div",{children:e.length?e.map((i,t)=>O("div",{class:"flex",children:i.map((r,a)=>this.renderEmojiButton(r,{pos:[t,a],posinset:t*this.props.perLine+a+1,grid:e}))})):O("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&O("a",{onClick:this.props.onAddCustomEmoji,children:pn.add_custom})})})]}):null}renderCategories(){const{categories:e}=ve,i=!!this.state.searchResults;return O("div",{style:{visibility:i?"hidden":void 0,display:i?"none":void 0},children:e.map(t=>{const{root:r,rows:a}=this.refs.categories.get(t.id);return O("div",{"data-id":t.target?t.target.id:t.id,class:"category",ref:r,children:[O("div",{class:`sticky padding-small align-${this.dir[0]}`,children:t.name||pn.categories[t.id]}),O("div",{class:"relative",style:{height:a.length*this.props.emojiButtonSize},children:a.map((s,o)=>{const u=s.index-s.index%hu.rowsPerRender,f=this.state.visibleRows[u],l="current"in s?s:void 0;if(!f&&!l)return null;const d=o*this.props.perLine,c=d+this.props.perLine,F=t.emojis.slice(d,c);return O("div",{"data-index":s.index,ref:l,class:"flex row",style:{top:o*this.props.emojiButtonSize},children:f&&F.map((h,p)=>{const g=Zr.get(h);return this.renderEmojiButton(g,{pos:[s.index,p],posinset:s.posinset+p,grid:this.grid})})},s.index)})})]})})})}renderSkinToneButton(){return this.props.skinTonePosition=="none"?null:O("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:O("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":pn.skins.choose,title:pn.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:O("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos),i=e?e.name:"";return O("div",{"aria-live":"polite",class:"sr-only",children:i})}renderSkins(){const i=this.refs.skinToneButton.current.getBoundingClientRect(),t=this.base.getBoundingClientRect(),r={};return this.dir=="ltr"?r.right=t.right-i.right-3:r.left=i.left-t.left-3,this.props.previewPosition=="bottom"&&this.props.skinTonePosition=="preview"?r.bottom=t.bottom-i.top+6:(r.top=i.bottom-t.top+3,r.bottom="auto"),O("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":pn.skins.choose,class:"menu hidden","data-position":r.top?"top":"bottom",style:r,children:[...Array(6).keys()].map(a=>{const s=a+1,o=this.state.skin==s;return O("div",{children:[O("input",{type:"radio",name:"skin-tone",value:s,"aria-label":pn.skins[s],ref:o?this.refs.skinToneRadio:null,defaultChecked:o,onChange:()=>this.handleSkinMouseOver(s),onKeyDown:u=>{(u.code=="Enter"||u.code=="Space"||u.code=="Tab")&&(u.preventDefault(),this.handleSkinClick(s))}}),O("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(s),onMouseEnter:()=>this.handleSkinMouseOver(s),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[O("span",{class:`skin-tone skin-tone-${s}`}),O("span",{class:"margin-small-lr",children:pn.skins[s]})]})]})})})}render(){return O("section",{id:"root",class:"flex flex-column",style:{width:this.props.perLine*this.props.emojiButtonSize+28},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:[this.props.previewPosition=="top"&&this.renderPreview(),this.props.navPosition=="top"&&this.renderNav(),this.props.searchPosition=="sticky"&&O("div",{class:"padding-lr",children:this.renderSearch()}),O("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:O("div",{style:{width:this.props.perLine*this.props.emojiButtonSize},children:[this.props.searchPosition=="static"&&this.renderSearch(),this.renderSearchResults(),this.renderCategories(),O("div",{class:"spacer"})]})}),this.props.navPosition=="bottom"&&this.renderNav(),this.props.previewPosition=="bottom"&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),ri(this,"handleClickOutside",i=>{const{element:t}=this.props;i.target!=t&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside())}),ri(this,"handleBaseClick",i=>{!this.state.showSkins||i.target.closest(".menu")||(i.preventDefault(),i.stopImmediatePropagation(),this.closeSkins())}),ri(this,"handleBaseKeydown",i=>{!this.state.showSkins||i.key=="Escape"&&(i.preventDefault(),i.stopImmediatePropagation(),this.closeSkins())}),ri(this,"handleSearchClick",()=>{!this.getEmojiByPos(this.state.pos)||this.setState({pos:[-1,-1]})}),ri(this,"handleSearchInput",async()=>{const i=this.refs.searchInput.current;if(!i)return;const{value:t}=i,r=await Zr.search(t),a=()=>{!this.refs.scroll.current||(this.refs.scroll.current.scrollTop=0)};if(!r)return this.setState({searchResults:r,pos:[-1,-1]},a);const s=i.selectionStart==i.value.length?[0,0]:[-1,-1],o=[];o.setsize=r.length;let u=null;for(let f of r)(!o.length||u.length==this.props.perLine)&&(u=[],u.__categoryId="search",u.__index=o.length,o.push(u)),u.push(f);this.ignoreMouse(),this.setState({searchResults:o,pos:s},a)}),ri(this,"handleSearchKeyDown",i=>{const t=i.currentTarget;switch(i.stopImmediatePropagation(),i.key){case"ArrowLeft":this.navigate({e:i,input:t,left:!0});break;case"ArrowRight":this.navigate({e:i,input:t,right:!0});break;case"ArrowUp":this.navigate({e:i,input:t,up:!0});break;case"ArrowDown":this.navigate({e:i,input:t,down:!0});break;case"Enter":i.preventDefault(),this.handleEmojiClick({pos:this.state.pos});break;case"Escape":i.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch();break}}),ri(this,"clearSearch",()=>{const i=this.refs.searchInput.current;!i||(i.value="",i.focus(),this.handleSearchInput())}),ri(this,"handleCategoryClick",({category:i,i:t})=>{this.scrollTo(t==0?{row:-1}:{categoryId:i.id})}),ri(this,"openSkins",i=>{const{currentTarget:t}=i,r=t.getBoundingClientRect();this.setState({showSkins:r},async()=>{await r5(2);const a=this.refs.menu.current;!a||(a.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))})}),this.state={pos:[-1,-1],visibleRows:{0:!0},...this.getInitialState(e)}}}class Sd extends o5{async connectedCallback(){const e=kp(this.props,Ni,this);e.element=this,e.ref=i=>{this.component=i},await fu(e),dp(O(w5,{...e}),this.shadowRoot)}disconnectedCallback(){this.component&&this.component.unregister()}constructor(e){super(e,{styles:Yv(zp)})}}ri(Sd,"Props",Ni),typeof customElements!="undefined"&&!customElements.get("em-emoji-picker")&&customElements.define("em-emoji-picker",Sd);var zp={};zp=`:host { display: flex; width: -webkit-min-content; width: -moz-min-content; @@ -697,8 +689,8 @@ button { [data-emoji-set=facebook] .skin-tone-6 { background-color: #61493F; } -`;var up={exports:{}},q_=function(n,i){return function(){for(var r=new Array(arguments.length),s=0;s0;)s=t[r],a[s]||(n[s]=e[s],a[s]=!0);e=Object.getPrototypeOf(e)}while(e&&(!i||i(e,n))&&e!==Object.prototype);return n}function sj(e,n,i){e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=n.length;var t=e.indexOf(n,i);return t!==-1&&t===i}function aj(e){if(!e)return null;var n=e.length;if(gc(n))return null;for(var i=new Array(n);n-- >0;)i[n]=e[n];return i}var oj=function(e){return function(n){return e&&n instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),Sn={isArray:dp,isArrayBuffer:K_,isBuffer:HL,isFormData:QL,isArrayBufferView:UL,isString:VL,isNumber:WL,isObject:Y_,isPlainObject:vc,isUndefined:gc,isDate:qL,isFile:KL,isBlob:YL,isFunction:cp,isStream:JL,isURLSearchParams:ZL,isStandardBrowserEnv:ej,forEach:hp,merge:mp,extend:nj,trim:XL,stripBOM:ij,inherits:tj,toFlatObject:rj,kindOf:lp,kindOfTest:Xs,endsWith:sj,toArray:aj,isTypedArray:oj,isFileList:GL},po=Sn;function G_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var J_=function(n,i,t){if(!i)return n;var r;if(t)r=t(i);else if(po.isURLSearchParams(i))r=i.toString();else{var s=[];po.forEach(i,function(u,f){u===null||typeof u=="undefined"||(po.isArray(u)?f=f+"[]":u=[u],po.forEach(u,function(d){po.isDate(d)?d=d.toISOString():po.isObject(d)&&(d=JSON.stringify(d)),s.push(G_(f)+"="+G_(d))}))}),r=s.join("&")}if(r){var a=n.indexOf("#");a!==-1&&(n=n.slice(0,a)),n+=(n.indexOf("?")===-1?"?":"&")+r}return n},uj=Sn;function yc(){this.handlers=[]}yc.prototype.use=function(n,i,t){return this.handlers.push({fulfilled:n,rejected:i,synchronous:t?t.synchronous:!1,runWhen:t?t.runWhen:null}),this.handlers.length-1},yc.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},yc.prototype.forEach=function(n){uj.forEach(this.handlers,function(t){t!==null&&n(t)})};var fj=yc,lj=Sn,dj=function(n,i){lj.forEach(n,function(r,s){s!==i&&s.toUpperCase()===i.toUpperCase()&&(n[i]=r,delete n[s])})},Q_=Sn;function Fo(e,n,i,t,r){Error.call(this),this.message=e,this.name="AxiosError",n&&(this.code=n),i&&(this.config=i),t&&(this.request=t),r&&(this.response=r)}Q_.inherits(Fo,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Z_=Fo.prototype,X_={};["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"].forEach(function(e){X_[e]={value:e}}),Object.defineProperties(Fo,X_),Object.defineProperty(Z_,"isAxiosError",{value:!0}),Fo.from=function(e,n,i,t,r,s){var a=Object.create(Z_);return Q_.toFlatObject(e,a,function(u){return u!==Error.prototype}),Fo.call(a,e.message,n,i,t,r),a.name=e.name,s&&Object.assign(a,s),a};var go=Fo,e6={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},it=Sn;function cj(e,n){n=n||new FormData;var i=[];function t(s){return s===null?"":it.isDate(s)?s.toISOString():it.isArrayBuffer(s)||it.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function r(s,a){if(it.isPlainObject(s)||it.isArray(s)){if(i.indexOf(s)!==-1)throw Error("Circular reference detected in "+a);i.push(s),it.forEach(s,function(u,f){if(!it.isUndefined(u)){var l=a?a+"."+f:f,d;if(u&&!a&&typeof u=="object"){if(it.endsWith(f,"{}"))u=JSON.stringify(u);else if(it.endsWith(f,"[]")&&(d=it.toArray(u))){d.forEach(function(c){!it.isUndefined(c)&&n.append(l,t(c))});return}}r(u,l)}}),i.pop()}else n.append(a,t(s))}return r(e),n}var n6=cj,pp=go,hj=function(n,i,t){var r=t.config.validateStatus;!t.status||!r||r(t.status)?n(t):i(new pp("Request failed with status code "+t.status,[pp.ERR_BAD_REQUEST,pp.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))},kc=Sn,mj=kc.isStandardBrowserEnv()?function(){return{write:function(i,t,r,s,a,o){var u=[];u.push(i+"="+encodeURIComponent(t)),kc.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),kc.isString(s)&&u.push("path="+s),kc.isString(a)&&u.push("domain="+a),o===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(i){var t=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),pj=function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},Fj=function(n,i){return i?n.replace(/\/+$/,"")+"/"+i.replace(/^\/+/,""):n},gj=pj,vj=Fj,i6=function(n,i){return n&&!gj(i)?vj(n,i):i},Fp=Sn,yj=["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"],kj=function(n){var i={},t,r,s;return n&&Fp.forEach(n.split(` -`),function(o){if(s=o.indexOf(":"),t=Fp.trim(o.substr(0,s)).toLowerCase(),r=Fp.trim(o.substr(s+1)),t){if(i[t]&&yj.indexOf(t)>=0)return;t==="set-cookie"?i[t]=(i[t]?i[t]:[]).concat([r]):i[t]=i[t]?i[t]+", "+r:r}}),i},t6=Sn,wj=t6.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),t;function r(s){var a=s;return n&&(i.setAttribute("href",a),a=i.href),i.setAttribute("href",a),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return t=r(window.location.href),function(a){var o=t6.isString(a)?r(a):a;return o.protocol===t.protocol&&o.host===t.host}}():function(){return function(){return!0}}(),gp=go,bj=Sn;function r6(e){gp.call(this,e==null?"canceled":e,gp.ERR_CANCELED),this.name="CanceledError"}bj.inherits(r6,gp,{__CANCEL__:!0});var wc=r6,_j=function(n){var i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return i&&i[1]||""},ef=Sn,Ej=hj,Dj=mj,Cj=J_,Sj=i6,Aj=kj,Mj=wj,Bj=e6,qt=go,xj=wc,$j=_j,s6=function(n){return new Promise(function(t,r){var s=n.data,a=n.headers,o=n.responseType,u;function f(){n.cancelToken&&n.cancelToken.unsubscribe(u),n.signal&&n.signal.removeEventListener("abort",u)}ef.isFormData(s)&&ef.isStandardBrowserEnv()&&delete a["Content-Type"];var l=new XMLHttpRequest;if(n.auth){var d=n.auth.username||"",c=n.auth.password?unescape(encodeURIComponent(n.auth.password)):"";a.Authorization="Basic "+btoa(d+":"+c)}var h=Sj(n.baseURL,n.url);l.open(n.method.toUpperCase(),Cj(h,n.params,n.paramsSerializer),!0),l.timeout=n.timeout;function F(){if(!!l){var p="getAllResponseHeaders"in l?Aj(l.getAllResponseHeaders()):null,m=!o||o==="text"||o==="json"?l.responseText:l.response,k={data:m,status:l.status,statusText:l.statusText,headers:p,config:n,request:l};Ej(function(D){t(D),f()},function(D){r(D),f()},k),l=null}}if("onloadend"in l?l.onloadend=F:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(F)},l.onabort=function(){!l||(r(new qt("Request aborted",qt.ECONNABORTED,n,l)),l=null)},l.onerror=function(){r(new qt("Network Error",qt.ERR_NETWORK,n,l,l)),l=null},l.ontimeout=function(){var m=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded",k=n.transitional||Bj;n.timeoutErrorMessage&&(m=n.timeoutErrorMessage),r(new qt(m,k.clarifyTimeoutError?qt.ETIMEDOUT:qt.ECONNABORTED,n,l)),l=null},ef.isStandardBrowserEnv()){var v=(n.withCredentials||Mj(h))&&n.xsrfCookieName?Dj.read(n.xsrfCookieName):void 0;v&&(a[n.xsrfHeaderName]=v)}"setRequestHeader"in l&&ef.forEach(a,function(m,k){typeof s=="undefined"&&k.toLowerCase()==="content-type"?delete a[k]:l.setRequestHeader(k,m)}),ef.isUndefined(n.withCredentials)||(l.withCredentials=!!n.withCredentials),o&&o!=="json"&&(l.responseType=n.responseType),typeof n.onDownloadProgress=="function"&&l.addEventListener("progress",n.onDownloadProgress),typeof n.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",n.onUploadProgress),(n.cancelToken||n.signal)&&(u=function(p){!l||(r(!p||p&&p.type?new xj:p),l.abort(),l=null)},n.cancelToken&&n.cancelToken.subscribe(u),n.signal&&(n.signal.aborted?u():n.signal.addEventListener("abort",u))),s||(s=null);var y=$j(h);if(y&&["http","https","file"].indexOf(y)===-1){r(new qt("Unsupported protocol "+y+":",qt.ERR_BAD_REQUEST,n));return}l.send(s)})},Tj=null,Fn=Sn,a6=dj,o6=go,Pj=e6,Oj=n6,Ij={"Content-Type":"application/x-www-form-urlencoded"};function u6(e,n){!Fn.isUndefined(e)&&Fn.isUndefined(e["Content-Type"])&&(e["Content-Type"]=n)}function Nj(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=s6),e}function Lj(e,n,i){if(Fn.isString(e))try{return(n||JSON.parse)(e),Fn.trim(e)}catch(t){if(t.name!=="SyntaxError")throw t}return(i||JSON.stringify)(e)}var bc={transitional:Pj,adapter:Nj(),transformRequest:[function(n,i){if(a6(i,"Accept"),a6(i,"Content-Type"),Fn.isFormData(n)||Fn.isArrayBuffer(n)||Fn.isBuffer(n)||Fn.isStream(n)||Fn.isFile(n)||Fn.isBlob(n))return n;if(Fn.isArrayBufferView(n))return n.buffer;if(Fn.isURLSearchParams(n))return u6(i,"application/x-www-form-urlencoded;charset=utf-8"),n.toString();var t=Fn.isObject(n),r=i&&i["Content-Type"],s;if((s=Fn.isFileList(n))||t&&r==="multipart/form-data"){var a=this.env&&this.env.FormData;return Oj(s?{"files[]":n}:n,a&&new a)}else if(t||r==="application/json")return u6(i,"application/json"),Lj(n);return n}],transformResponse:[function(n){var i=this.transitional||bc.transitional,t=i&&i.silentJSONParsing,r=i&&i.forcedJSONParsing,s=!t&&this.responseType==="json";if(s||r&&Fn.isString(n)&&n.length)try{return JSON.parse(n)}catch(a){if(s)throw a.name==="SyntaxError"?o6.from(a,o6.ERR_BAD_RESPONSE,this,null,this.response):a}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Tj},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Fn.forEach(["delete","get","head"],function(n){bc.headers[n]={}}),Fn.forEach(["post","put","patch"],function(n){bc.headers[n]=Fn.merge(Ij)});var vp=bc,jj=Sn,Rj=vp,zj=function(n,i,t){var r=this||Rj;return jj.forEach(t,function(a){n=a.call(r,n,i)}),n},f6=function(n){return!!(n&&n.__CANCEL__)},l6=Sn,yp=zj,Hj=f6,Uj=vp,Vj=wc;function kp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Vj}var Wj=function(n){kp(n),n.headers=n.headers||{},n.data=yp.call(n,n.data,n.headers,n.transformRequest),n.headers=l6.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),l6.forEach(["delete","get","head","post","put","patch","common"],function(r){delete n.headers[r]});var i=n.adapter||Uj.adapter;return i(n).then(function(r){return kp(n),r.data=yp.call(n,r.data,r.headers,n.transformResponse),r},function(r){return Hj(r)||(kp(n),r&&r.response&&(r.response.data=yp.call(n,r.response.data,r.response.headers,n.transformResponse))),Promise.reject(r)})},Bi=Sn,d6=function(n,i){i=i||{};var t={};function r(l,d){return Bi.isPlainObject(l)&&Bi.isPlainObject(d)?Bi.merge(l,d):Bi.isPlainObject(d)?Bi.merge({},d):Bi.isArray(d)?d.slice():d}function s(l){if(Bi.isUndefined(i[l])){if(!Bi.isUndefined(n[l]))return r(void 0,n[l])}else return r(n[l],i[l])}function a(l){if(!Bi.isUndefined(i[l]))return r(void 0,i[l])}function o(l){if(Bi.isUndefined(i[l])){if(!Bi.isUndefined(n[l]))return r(void 0,n[l])}else return r(void 0,i[l])}function u(l){if(l in i)return r(n[l],i[l]);if(l in n)return r(void 0,n[l])}var f={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u};return Bi.forEach(Object.keys(n).concat(Object.keys(i)),function(d){var c=f[d]||s,h=c(d);Bi.isUndefined(h)&&c!==u||(t[d]=h)}),t},c6={version:"0.27.2"},qj=c6.version,Vr=go,wp={};["object","boolean","number","function","string","symbol"].forEach(function(e,n){wp[e]=function(t){return typeof t===e||"a"+(n<1?"n ":" ")+e}});var h6={};wp.transitional=function(n,i,t){function r(s,a){return"[Axios v"+qj+"] Transitional option '"+s+"'"+a+(t?". "+t:"")}return function(s,a,o){if(n===!1)throw new Vr(r(a," has been removed"+(i?" in "+i:"")),Vr.ERR_DEPRECATED);return i&&!h6[a]&&(h6[a]=!0,console.warn(r(a," has been deprecated since v"+i+" and will be removed in the near future"))),n?n(s,a,o):!0}};function Kj(e,n,i){if(typeof e!="object")throw new Vr("options must be an object",Vr.ERR_BAD_OPTION_VALUE);for(var t=Object.keys(e),r=t.length;r-- >0;){var s=t[r],a=n[s];if(a){var o=e[s],u=o===void 0||a(o,s,e);if(u!==!0)throw new Vr("option "+s+" must be "+u,Vr.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new Vr("Unknown option "+s,Vr.ERR_BAD_OPTION)}}var Yj={assertOptions:Kj,validators:wp},m6=Sn,Gj=J_,p6=fj,F6=Wj,_c=d6,Jj=i6,g6=Yj,vo=g6.validators;function yo(e){this.defaults=e,this.interceptors={request:new p6,response:new p6}}yo.prototype.request=function(n,i){typeof n=="string"?(i=i||{},i.url=n):i=n||{},i=_c(this.defaults,i),i.method?i.method=i.method.toLowerCase():this.defaults.method?i.method=this.defaults.method.toLowerCase():i.method="get";var t=i.transitional;t!==void 0&&g6.assertOptions(t,{silentJSONParsing:vo.transitional(vo.boolean),forcedJSONParsing:vo.transitional(vo.boolean),clarifyTimeoutError:vo.transitional(vo.boolean)},!1);var r=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(i)===!1||(s=s&&h.synchronous,r.unshift(h.fulfilled,h.rejected))});var a=[];this.interceptors.response.forEach(function(h){a.push(h.fulfilled,h.rejected)});var o;if(!s){var u=[F6,void 0];for(Array.prototype.unshift.apply(u,r),u=u.concat(a),o=Promise.resolve(i);u.length;)o=o.then(u.shift(),u.shift());return o}for(var f=i;r.length;){var l=r.shift(),d=r.shift();try{f=l(f)}catch(c){d(c);break}}try{o=F6(f)}catch(c){return Promise.reject(c)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},yo.prototype.getUri=function(n){n=_c(this.defaults,n);var i=Jj(n.baseURL,n.url);return Gj(i,n.params,n.paramsSerializer)},m6.forEach(["delete","get","head","options"],function(n){yo.prototype[n]=function(i,t){return this.request(_c(t||{},{method:n,url:i,data:(t||{}).data}))}}),m6.forEach(["post","put","patch"],function(n){function i(t){return function(s,a,o){return this.request(_c(o||{},{method:n,headers:t?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}yo.prototype[n]=i(),yo.prototype[n+"Form"]=i(!0)});var Qj=yo,Zj=wc;function ko(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(r){n=r});var i=this;this.promise.then(function(t){if(!!i._listeners){var r,s=i._listeners.length;for(r=0;r{const a={...e.options,url:((t==null?void 0:t.basePath)||s)+e.url};return r.request(a)}},oR=function(e){return{changePassword:async(n,i,t={})=>{xi("changePassword","name",n),xi("changePassword","changePasswordRequest",i);const r="/apis/api.console.halo.run/v1alpha1/users/{name}/password".replace("{name}",encodeURIComponent(String(n))),s=new URL(r,Kt);let a;e&&(a=e.baseOptions);const o={method:"PUT",...a,...t},u={},f={};Yt(o,e),await Gt(u,e),u["Content-Type"]="application/json",Jt(s,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...t.headers},o.data=Dc(i,o,e),{url:Qt(s),options:o}},getCurrentUserDetail:async(n={})=>{const i="/apis/api.console.halo.run/v1alpha1/users/-",t=new URL(i,Kt);let r;e&&(r=e.baseOptions);const s={method:"GET",...r,...n},a={},o={};Yt(s,e),await Gt(a,e),Jt(t,o);let u=r&&r.headers?r.headers:{};return s.headers={...a,...u,...n.headers},{url:Qt(t),options:s}},getPermissions:async(n,i={})=>{xi("getPermissions","name",n);const t="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(n))),r=new URL(t,Kt);let s;e&&(s=e.baseOptions);const a={method:"GET",...s,...i},o={},u={};Yt(a,e),await Gt(o,e),Jt(r,u);let f=s&&s.headers?s.headers:{};return a.headers={...o,...f,...i.headers},{url:Qt(r),options:a}},grantPermission:async(n,i,t={})=>{xi("grantPermission","name",n),xi("grantPermission","grantRequest",i);const r="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(n))),s=new URL(r,Kt);let a;e&&(a=e.baseOptions);const o={method:"POST",...a,...t},u={},f={};Yt(o,e),await Gt(u,e),u["Content-Type"]="application/json",Jt(s,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...t.headers},o.data=Dc(i,o,e),{url:Qt(s),options:o}}}},Cc=function(e){const n=oR(e);return{async changePassword(i,t,r){const s=await n.changePassword(i,t,r);return Zt(s,tt,Ct,e)},async getCurrentUserDetail(i){const t=await n.getCurrentUserDetail(i);return Zt(t,tt,Ct,e)},async getPermissions(i,t){const r=await n.getPermissions(i,t);return Zt(r,tt,Ct,e)},async grantPermission(i,t,r){const s=await n.grantPermission(i,t,r);return Zt(s,tt,Ct,e)}}};class uR extends k6{changePassword(n,i){return Cc(this.configuration).changePassword(n.name,n.changePasswordRequest,i).then(t=>t(this.axios,this.basePath))}getCurrentUserDetail(n){return Cc(this.configuration).getCurrentUserDetail(n).then(i=>i(this.axios,this.basePath))}getPermissions(n,i){return Cc(this.configuration).getPermissions(n.name,i).then(t=>t(this.axios,this.basePath))}grantPermission(n,i){return Cc(this.configuration).grantPermission(n.name,n.grantRequest,i).then(t=>t(this.axios,this.basePath))}}const fR=function(e){return{createComment1:async(n,i={})=>{xi("createComment1","commentRequest",n);const t="/apis/api.halo.run/v1alpha1/comments",r=new URL(t,Kt);let s;e&&(s=e.baseOptions);const a={method:"POST",...s,...i},o={},u={};Yt(a,e),await Gt(o,e),o["Content-Type"]="application/json",Jt(r,u);let f=s&&s.headers?s.headers:{};return a.headers={...o,...f,...i.headers},a.data=Dc(n,a,e),{url:Qt(r),options:a}},createReply1:async(n,i,t={})=>{xi("createReply1","name",n),xi("createReply1","replyRequest",i);const r="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(n))),s=new URL(r,Kt);let a;e&&(a=e.baseOptions);const o={method:"POST",...a,...t},u={},f={};Yt(o,e),await Gt(u,e),u["Content-Type"]="application/json",Jt(s,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...t.headers},o.data=Dc(i,o,e),{url:Qt(s),options:o}},getComment:async(n,i={})=>{xi("getComment","name",n);const t="/apis/api.halo.run/v1alpha1/comments/{name}".replace("{name}",encodeURIComponent(String(n))),r=new URL(t,Kt);let s;e&&(s=e.baseOptions);const a={method:"GET",...s,...i},o={},u={};Yt(a,e),await Gt(o,e),Jt(r,u);let f=s&&s.headers?s.headers:{};return a.headers={...o,...f,...i.headers},{url:Qt(r),options:a}},listCommentReplies:async(n,i,t,r={})=>{xi("listCommentReplies","name",n);const s="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(n))),a=new URL(s,Kt);let o;e&&(o=e.baseOptions);const u={method:"GET",...o,...r},f={},l={};Yt(u,e),await Gt(f,e),i!==void 0&&(l.size=i),t!==void 0&&(l.page=t),Jt(a,l);let d=o&&o.headers?o.headers:{};return u.headers={...f,...d,...r.headers},{url:Qt(a),options:u}},listComments1:async(n,i,t,r,s,a,o={})=>{xi("listComments1","name",n),xi("listComments1","version",i),xi("listComments1","kind",t);const u="/apis/api.halo.run/v1alpha1/comments",f=new URL(u,Kt);let l;e&&(l=e.baseOptions);const d={method:"GET",...l,...o},c={},h={};Yt(d,e),await Gt(c,e),n!==void 0&&(h.name=n),i!==void 0&&(h.version=i),r!==void 0&&(h.group=r),t!==void 0&&(h.kind=t),s!==void 0&&(h.size=s),a!==void 0&&(h.page=a),Jt(f,h);let F=l&&l.headers?l.headers:{};return d.headers={...c,...F,...o.headers},{url:Qt(f),options:d}}}},nf=function(e){const n=fR(e);return{async createComment1(i,t){const r=await n.createComment1(i,t);return Zt(r,tt,Ct,e)},async createReply1(i,t,r){const s=await n.createReply1(i,t,r);return Zt(s,tt,Ct,e)},async getComment(i,t){const r=await n.getComment(i,t);return Zt(r,tt,Ct,e)},async listCommentReplies(i,t,r,s){const a=await n.listCommentReplies(i,t,r,s);return Zt(a,tt,Ct,e)},async listComments1(i,t,r,s,a,o,u){const f=await n.listComments1(i,t,r,s,a,o,u);return Zt(f,tt,Ct,e)}}};class lR extends k6{createComment1(n,i){return nf(this.configuration).createComment1(n.commentRequest,i).then(t=>t(this.axios,this.basePath))}createReply1(n,i){return nf(this.configuration).createReply1(n.name,n.replyRequest,i).then(t=>t(this.axios,this.basePath))}getComment(n,i){return nf(this.configuration).getComment(n.name,i).then(t=>t(this.axios,this.basePath))}listCommentReplies(n,i){return nf(this.configuration).listCommentReplies(n.name,n.size,n.page,i).then(t=>t(this.axios,this.basePath))}listComments1(n,i){return nf(this.configuration).listComments1(n.name,n.version,n.kind,n.group,n.size,n.page,i).then(t=>t(this.axios,this.basePath))}}const bp="http://localhost:8090",_p=tt.create({baseURL:bp,withCredentials:!0});_p.interceptors.response.use(e=>e,async e=>(console.log("error",e),Promise.reject(e)));const tf={user:new uR(void 0,bp,_p),comment:new lR(void 0,bp,_p)};function Wr(e,n,...i){if(e in n){let r=n[e];return typeof r=="function"?r(...i):r}let t=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Wr),t}var rf=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(rf||{}),dR=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(dR||{});function wo({visible:e=!0,features:n=0,ourProps:i,theirProps:t,...r}){var s;let a=cR(t,i),o=Object.assign(r,{props:a});if(e||n&2&&a.static)return Ep(o);if(n&1){let u=(s=a.unmount)==null||s?0:1;return Wr(u,{[0](){return null},[1](){return Ep({...r,props:{...a,hidden:!0,style:{display:"none"}}})}})}return Ep(o)}function Ep({props:e,attrs:n,slots:i,slot:t,name:r}){var s;let{as:a,...o}=b6(e,["unmount","static"]),u=(s=i.default)==null?void 0:s.call(i,t),f={};if(t){let l=!1,d=[];for(let[c,h]of Object.entries(t))typeof h=="boolean"&&(l=!0),h===!0&&d.push(c);l&&(f["data-headlessui-state"]=d.join(" "))}if(a==="template"){if(u=w6(u),Object.keys(o).length>0||Object.keys(n).length>0){let[l,...d]=u!=null?u:[];if(!hR(l)||d.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(o).concat(Object.keys(n)).sort((c,h)=>c.localeCompare(h)).map(c=>` - ${c}`).join(` +`;var Ad={exports:{}},Hp=function(e,i){return function(){for(var r=new Array(arguments.length),a=0;a0;)a=t[r],s[a]||(e[a]=n[a],s[a]=!0);n=Object.getPrototypeOf(n)}while(n&&(!i||i(n,e))&&n!==Object.prototype);return e}function $5(n,e,i){n=String(n),(i===void 0||i>n.length)&&(i=n.length),i-=e.length;var t=n.indexOf(e,i);return t!==-1&&t===i}function z5(n){if(!n)return null;var e=n.length;if(mu(e))return null;for(var i=new Array(e);e-- >0;)i[e]=n[e];return i}var H5=function(n){return function(e){return n&&e instanceof n}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),nn={isArray:Md,isArrayBuffer:Up,isBuffer:_5,isFormData:P5,isArrayBufferView:E5,isString:D5,isNumber:C5,isObject:Wp,isPlainObject:vu,isUndefined:mu,isDate:S5,isFile:A5,isBlob:B5,isFunction:Pd,isStream:M5,isURLSearchParams:O5,isStandardBrowserEnv:I5,forEach:Od,merge:Td,extend:L5,trim:T5,stripBOM:N5,inherits:j5,toFlatObject:R5,kindOf:xd,kindOfTest:rr,endsWith:$5,toArray:z5,isTypedArray:H5,isFileList:x5},Xr=nn;function qp(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Vp=function(e,i,t){if(!i)return e;var r;if(t)r=t(i);else if(Xr.isURLSearchParams(i))r=i.toString();else{var a=[];Xr.forEach(i,function(u,f){u===null||typeof u=="undefined"||(Xr.isArray(u)?f=f+"[]":u=[u],Xr.forEach(u,function(d){Xr.isDate(d)?d=d.toISOString():Xr.isObject(d)&&(d=JSON.stringify(d)),a.push(qp(f)+"="+qp(d))}))}),r=a.join("&")}if(r){var s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e},U5=nn;function pu(){this.handlers=[]}pu.prototype.use=function(e,i,t){return this.handlers.push({fulfilled:e,rejected:i,synchronous:t?t.synchronous:!1,runWhen:t?t.runWhen:null}),this.handlers.length-1},pu.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},pu.prototype.forEach=function(e){U5.forEach(this.handlers,function(t){t!==null&&e(t)})};var W5=pu,q5=nn,V5=function(e,i){q5.forEach(e,function(r,a){a!==i&&a.toUpperCase()===i.toUpperCase()&&(e[i]=r,delete e[a])})},Gp=nn;function ea(n,e,i,t,r){Error.call(this),this.message=n,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),t&&(this.request=t),r&&(this.response=r)}Gp.inherits(ea,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Yp=ea.prototype,Kp={};["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"].forEach(function(n){Kp[n]={value:n}}),Object.defineProperties(ea,Kp),Object.defineProperty(Yp,"isAxiosError",{value:!0}),ea.from=function(n,e,i,t,r,a){var s=Object.create(Yp);return Gp.toFlatObject(n,s,function(u){return u!==Error.prototype}),ea.call(s,n.message,e,i,t,r),s.name=n.name,a&&Object.assign(s,a),s};var na=ea,Qp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ai=nn;function G5(n,e){e=e||new FormData;var i=[];function t(a){return a===null?"":ai.isDate(a)?a.toISOString():ai.isArrayBuffer(a)||ai.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function r(a,s){if(ai.isPlainObject(a)||ai.isArray(a)){if(i.indexOf(a)!==-1)throw Error("Circular reference detected in "+s);i.push(a),ai.forEach(a,function(u,f){if(!ai.isUndefined(u)){var l=s?s+"."+f:f,d;if(u&&!s&&typeof u=="object"){if(ai.endsWith(f,"{}"))u=JSON.stringify(u);else if(ai.endsWith(f,"[]")&&(d=ai.toArray(u))){d.forEach(function(c){!ai.isUndefined(c)&&e.append(l,t(c))});return}}r(u,l)}}),i.pop()}else e.append(s,t(a))}return r(n),e}var Jp=G5,Id=na,Y5=function(e,i,t){var r=t.config.validateStatus;!t.status||!r||r(t.status)?e(t):i(new Id("Request failed with status code "+t.status,[Id.ERR_BAD_REQUEST,Id.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))},gu=nn,K5=gu.isStandardBrowserEnv()?function(){return{write:function(i,t,r,a,s,o){var u=[];u.push(i+"="+encodeURIComponent(t)),gu.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),gu.isString(a)&&u.push("path="+a),gu.isString(s)&&u.push("domain="+s),o===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(i){var t=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Q5=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},J5=function(e,i){return i?e.replace(/\/+$/,"")+"/"+i.replace(/^\/+/,""):e},Z5=Q5,X5=J5,Zp=function(e,i){return e&&!Z5(i)?X5(e,i):i},Ld=nn,e8=["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"],n8=function(e){var i={},t,r,a;return e&&Ld.forEach(e.split(` +`),function(o){if(a=o.indexOf(":"),t=Ld.trim(o.substr(0,a)).toLowerCase(),r=Ld.trim(o.substr(a+1)),t){if(i[t]&&e8.indexOf(t)>=0)return;t==="set-cookie"?i[t]=(i[t]?i[t]:[]).concat([r]):i[t]=i[t]?i[t]+", "+r:r}}),i},Xp=nn,i8=Xp.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),t;function r(a){var s=a;return e&&(i.setAttribute("href",s),s=i.href),i.setAttribute("href",s),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return t=r(window.location.href),function(s){var o=Xp.isString(s)?r(s):s;return o.protocol===t.protocol&&o.host===t.host}}():function(){return function(){return!0}}(),Nd=na,t8=nn;function eg(n){Nd.call(this,n==null?"canceled":n,Nd.ERR_CANCELED),this.name="CanceledError"}t8.inherits(eg,Nd,{__CANCEL__:!0});var yu=eg,r8=function(e){var i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return i&&i[1]||""},rs=nn,a8=Y5,s8=K5,o8=Vp,u8=Zp,f8=n8,l8=i8,d8=Qp,ji=na,c8=yu,F8=r8,ng=function(e){return new Promise(function(t,r){var a=e.data,s=e.headers,o=e.responseType,u;function f(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}rs.isFormData(a)&&rs.isStandardBrowserEnv()&&delete s["Content-Type"];var l=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.Authorization="Basic "+btoa(d+":"+c)}var F=u8(e.baseURL,e.url);l.open(e.method.toUpperCase(),o8(F,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function h(){if(!!l){var m="getAllResponseHeaders"in l?f8(l.getAllResponseHeaders()):null,v=!o||o==="text"||o==="json"?l.responseText:l.response,k={data:v,status:l.status,statusText:l.statusText,headers:m,config:e,request:l};a8(function(_){t(_),f()},function(_){r(_),f()},k),l=null}}if("onloadend"in l?l.onloadend=h:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(h)},l.onabort=function(){!l||(r(new ji("Request aborted",ji.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new ji("Network Error",ji.ERR_NETWORK,e,l,l)),l=null},l.ontimeout=function(){var v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",k=e.transitional||d8;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),r(new ji(v,k.clarifyTimeoutError?ji.ETIMEDOUT:ji.ECONNABORTED,e,l)),l=null},rs.isStandardBrowserEnv()){var p=(e.withCredentials||l8(F))&&e.xsrfCookieName?s8.read(e.xsrfCookieName):void 0;p&&(s[e.xsrfHeaderName]=p)}"setRequestHeader"in l&&rs.forEach(s,function(v,k){typeof a=="undefined"&&k.toLowerCase()==="content-type"?delete s[k]:l.setRequestHeader(k,v)}),rs.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),o&&o!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(u=function(m){!l||(r(!m||m&&m.type?new c8:m),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u))),a||(a=null);var g=F8(F);if(g&&["http","https","file"].indexOf(g)===-1){r(new ji("Unsupported protocol "+g+":",ji.ERR_BAD_REQUEST,e));return}l.send(a)})},h8=null,Ye=nn,ig=V5,tg=na,m8=Qp,v8=Jp,p8={"Content-Type":"application/x-www-form-urlencoded"};function rg(n,e){!Ye.isUndefined(n)&&Ye.isUndefined(n["Content-Type"])&&(n["Content-Type"]=e)}function g8(){var n;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(n=ng),n}function y8(n,e,i){if(Ye.isString(n))try{return(e||JSON.parse)(n),Ye.trim(n)}catch(t){if(t.name!=="SyntaxError")throw t}return(i||JSON.stringify)(n)}var ku={transitional:m8,adapter:g8(),transformRequest:[function(e,i){if(ig(i,"Accept"),ig(i,"Content-Type"),Ye.isFormData(e)||Ye.isArrayBuffer(e)||Ye.isBuffer(e)||Ye.isStream(e)||Ye.isFile(e)||Ye.isBlob(e))return e;if(Ye.isArrayBufferView(e))return e.buffer;if(Ye.isURLSearchParams(e))return rg(i,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var t=Ye.isObject(e),r=i&&i["Content-Type"],a;if((a=Ye.isFileList(e))||t&&r==="multipart/form-data"){var s=this.env&&this.env.FormData;return v8(a?{"files[]":e}:e,s&&new s)}else if(t||r==="application/json")return rg(i,"application/json"),y8(e);return e}],transformResponse:[function(e){var i=this.transitional||ku.transitional,t=i&&i.silentJSONParsing,r=i&&i.forcedJSONParsing,a=!t&&this.responseType==="json";if(a||r&&Ye.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a)throw s.name==="SyntaxError"?tg.from(s,tg.ERR_BAD_RESPONSE,this,null,this.response):s}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:h8},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ye.forEach(["delete","get","head"],function(e){ku.headers[e]={}}),Ye.forEach(["post","put","patch"],function(e){ku.headers[e]=Ye.merge(p8)});var jd=ku,k8=nn,w8=jd,b8=function(e,i,t){var r=this||w8;return k8.forEach(t,function(s){e=s.call(r,e,i)}),e},ag=function(e){return!!(e&&e.__CANCEL__)},sg=nn,Rd=b8,_8=ag,E8=jd,D8=yu;function $d(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new D8}var C8=function(e){$d(e),e.headers=e.headers||{},e.data=Rd.call(e,e.data,e.headers,e.transformRequest),e.headers=sg.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),sg.forEach(["delete","get","head","post","put","patch","common"],function(r){delete e.headers[r]});var i=e.adapter||E8.adapter;return i(e).then(function(r){return $d(e),r.data=Rd.call(e,r.data,r.headers,e.transformResponse),r},function(r){return _8(r)||($d(e),r&&r.response&&(r.response.data=Rd.call(e,r.response.data,r.response.headers,e.transformResponse))),Promise.reject(r)})},$n=nn,og=function(e,i){i=i||{};var t={};function r(l,d){return $n.isPlainObject(l)&&$n.isPlainObject(d)?$n.merge(l,d):$n.isPlainObject(d)?$n.merge({},d):$n.isArray(d)?d.slice():d}function a(l){if($n.isUndefined(i[l])){if(!$n.isUndefined(e[l]))return r(void 0,e[l])}else return r(e[l],i[l])}function s(l){if(!$n.isUndefined(i[l]))return r(void 0,i[l])}function o(l){if($n.isUndefined(i[l])){if(!$n.isUndefined(e[l]))return r(void 0,e[l])}else return r(void 0,i[l])}function u(l){if(l in i)return r(e[l],i[l]);if(l in e)return r(void 0,e[l])}var f={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u};return $n.forEach(Object.keys(e).concat(Object.keys(i)),function(d){var c=f[d]||a,F=c(d);$n.isUndefined(F)&&c!==u||(t[d]=F)}),t},ug={version:"0.27.2"},S8=ug.version,kt=na,zd={};["object","boolean","number","function","string","symbol"].forEach(function(n,e){zd[n]=function(t){return typeof t===n||"a"+(e<1?"n ":" ")+n}});var fg={};zd.transitional=function(e,i,t){function r(a,s){return"[Axios v"+S8+"] Transitional option '"+a+"'"+s+(t?". "+t:"")}return function(a,s,o){if(e===!1)throw new kt(r(s," has been removed"+(i?" in "+i:"")),kt.ERR_DEPRECATED);return i&&!fg[s]&&(fg[s]=!0,console.warn(r(s," has been deprecated since v"+i+" and will be removed in the near future"))),e?e(a,s,o):!0}};function A8(n,e,i){if(typeof n!="object")throw new kt("options must be an object",kt.ERR_BAD_OPTION_VALUE);for(var t=Object.keys(n),r=t.length;r-- >0;){var a=t[r],s=e[a];if(s){var o=n[a],u=o===void 0||s(o,a,n);if(u!==!0)throw new kt("option "+a+" must be "+u,kt.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new kt("Unknown option "+a,kt.ERR_BAD_OPTION)}}var B8={assertOptions:A8,validators:zd},lg=nn,x8=Vp,dg=W5,cg=C8,wu=og,M8=Zp,Fg=B8,ia=Fg.validators;function ta(n){this.defaults=n,this.interceptors={request:new dg,response:new dg}}ta.prototype.request=function(e,i){typeof e=="string"?(i=i||{},i.url=e):i=e||{},i=wu(this.defaults,i),i.method?i.method=i.method.toLowerCase():this.defaults.method?i.method=this.defaults.method.toLowerCase():i.method="get";var t=i.transitional;t!==void 0&&Fg.assertOptions(t,{silentJSONParsing:ia.transitional(ia.boolean),forcedJSONParsing:ia.transitional(ia.boolean),clarifyTimeoutError:ia.transitional(ia.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach(function(F){typeof F.runWhen=="function"&&F.runWhen(i)===!1||(a=a&&F.synchronous,r.unshift(F.fulfilled,F.rejected))});var s=[];this.interceptors.response.forEach(function(F){s.push(F.fulfilled,F.rejected)});var o;if(!a){var u=[cg,void 0];for(Array.prototype.unshift.apply(u,r),u=u.concat(s),o=Promise.resolve(i);u.length;)o=o.then(u.shift(),u.shift());return o}for(var f=i;r.length;){var l=r.shift(),d=r.shift();try{f=l(f)}catch(c){d(c);break}}try{o=cg(f)}catch(c){return Promise.reject(c)}for(;s.length;)o=o.then(s.shift(),s.shift());return o},ta.prototype.getUri=function(e){e=wu(this.defaults,e);var i=M8(e.baseURL,e.url);return x8(i,e.params,e.paramsSerializer)},lg.forEach(["delete","get","head","options"],function(e){ta.prototype[e]=function(i,t){return this.request(wu(t||{},{method:e,url:i,data:(t||{}).data}))}}),lg.forEach(["post","put","patch"],function(e){function i(t){return function(a,s,o){return this.request(wu(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}ta.prototype[e]=i(),ta.prototype[e+"Form"]=i(!0)});var P8=ta,O8=yu;function ra(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(r){e=r});var i=this;this.promise.then(function(t){if(!!i._listeners){var r,a=i._listeners.length;for(r=0;r{const s={...n.options,url:((t==null?void 0:t.basePath)||a)+n.url};return r.request(s)}},H8=function(n){return{changePassword:async(e,i,t={})=>{zn("changePassword","name",e),zn("changePassword","changePasswordRequest",i);const r="/apis/api.console.halo.run/v1alpha1/users/{name}/password".replace("{name}",encodeURIComponent(String(e))),a=new URL(r,Ri);let s;n&&(s=n.baseOptions);const o={method:"PUT",...s,...t},u={},f={};$i(o,n),await zi(u,n),u["Content-Type"]="application/json",Hi(a,f);let l=s&&s.headers?s.headers:{};return o.headers={...u,...l,...t.headers},o.data=_u(i,o,n),{url:Ui(a),options:o}},getCurrentUserDetail:async(e={})=>{const i="/apis/api.console.halo.run/v1alpha1/users/-",t=new URL(i,Ri);let r;n&&(r=n.baseOptions);const a={method:"GET",...r,...e},s={},o={};$i(a,n),await zi(s,n),Hi(t,o);let u=r&&r.headers?r.headers:{};return a.headers={...s,...u,...e.headers},{url:Ui(t),options:a}},getPermissions:async(e,i={})=>{zn("getPermissions","name",e);const t="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(e))),r=new URL(t,Ri);let a;n&&(a=n.baseOptions);const s={method:"GET",...a,...i},o={},u={};$i(s,n),await zi(o,n),Hi(r,u);let f=a&&a.headers?a.headers:{};return s.headers={...o,...f,...i.headers},{url:Ui(r),options:s}},grantPermission:async(e,i,t={})=>{zn("grantPermission","name",e),zn("grantPermission","grantRequest",i);const r="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(e))),a=new URL(r,Ri);let s;n&&(s=n.baseOptions);const o={method:"POST",...s,...t},u={},f={};$i(o,n),await zi(u,n),u["Content-Type"]="application/json",Hi(a,f);let l=s&&s.headers?s.headers:{};return o.headers={...u,...l,...t.headers},o.data=_u(i,o,n),{url:Ui(a),options:o}}}},Eu=function(n){const e=H8(n);return{async changePassword(i,t,r){const a=await e.changePassword(i,t,r);return Wi(a,si,Ei,n)},async getCurrentUserDetail(i){const t=await e.getCurrentUserDetail(i);return Wi(t,si,Ei,n)},async getPermissions(i,t){const r=await e.getPermissions(i,t);return Wi(r,si,Ei,n)},async grantPermission(i,t,r){const a=await e.grantPermission(i,t,r);return Wi(a,si,Ei,n)}}};class U8 extends vg{changePassword(e,i){return Eu(this.configuration).changePassword(e.name,e.changePasswordRequest,i).then(t=>t(this.axios,this.basePath))}getCurrentUserDetail(e){return Eu(this.configuration).getCurrentUserDetail(e).then(i=>i(this.axios,this.basePath))}getPermissions(e,i){return Eu(this.configuration).getPermissions(e.name,i).then(t=>t(this.axios,this.basePath))}grantPermission(e,i){return Eu(this.configuration).grantPermission(e.name,e.grantRequest,i).then(t=>t(this.axios,this.basePath))}}const W8=function(n){return{createComment1:async(e,i={})=>{zn("createComment1","commentRequest",e);const t="/apis/api.halo.run/v1alpha1/comments",r=new URL(t,Ri);let a;n&&(a=n.baseOptions);const s={method:"POST",...a,...i},o={},u={};$i(s,n),await zi(o,n),o["Content-Type"]="application/json",Hi(r,u);let f=a&&a.headers?a.headers:{};return s.headers={...o,...f,...i.headers},s.data=_u(e,s,n),{url:Ui(r),options:s}},createReply1:async(e,i,t={})=>{zn("createReply1","name",e),zn("createReply1","replyRequest",i);const r="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(e))),a=new URL(r,Ri);let s;n&&(s=n.baseOptions);const o={method:"POST",...s,...t},u={},f={};$i(o,n),await zi(u,n),u["Content-Type"]="application/json",Hi(a,f);let l=s&&s.headers?s.headers:{};return o.headers={...u,...l,...t.headers},o.data=_u(i,o,n),{url:Ui(a),options:o}},getComment:async(e,i={})=>{zn("getComment","name",e);const t="/apis/api.halo.run/v1alpha1/comments/{name}".replace("{name}",encodeURIComponent(String(e))),r=new URL(t,Ri);let a;n&&(a=n.baseOptions);const s={method:"GET",...a,...i},o={},u={};$i(s,n),await zi(o,n),Hi(r,u);let f=a&&a.headers?a.headers:{};return s.headers={...o,...f,...i.headers},{url:Ui(r),options:s}},listCommentReplies:async(e,i,t,r={})=>{zn("listCommentReplies","name",e);const a="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(e))),s=new URL(a,Ri);let o;n&&(o=n.baseOptions);const u={method:"GET",...o,...r},f={},l={};$i(u,n),await zi(f,n),i!==void 0&&(l.size=i),t!==void 0&&(l.page=t),Hi(s,l);let d=o&&o.headers?o.headers:{};return u.headers={...f,...d,...r.headers},{url:Ui(s),options:u}},listComments1:async(e,i,t,r,a,s,o={})=>{zn("listComments1","name",e),zn("listComments1","version",i),zn("listComments1","kind",t);const u="/apis/api.halo.run/v1alpha1/comments",f=new URL(u,Ri);let l;n&&(l=n.baseOptions);const d={method:"GET",...l,...o},c={},F={};$i(d,n),await zi(c,n),e!==void 0&&(F.name=e),i!==void 0&&(F.version=i),r!==void 0&&(F.group=r),t!==void 0&&(F.kind=t),a!==void 0&&(F.size=a),s!==void 0&&(F.page=s),Hi(f,F);let h=l&&l.headers?l.headers:{};return d.headers={...c,...h,...o.headers},{url:Ui(f),options:d}}}},as=function(n){const e=W8(n);return{async createComment1(i,t){const r=await e.createComment1(i,t);return Wi(r,si,Ei,n)},async createReply1(i,t,r){const a=await e.createReply1(i,t,r);return Wi(a,si,Ei,n)},async getComment(i,t){const r=await e.getComment(i,t);return Wi(r,si,Ei,n)},async listCommentReplies(i,t,r,a){const s=await e.listCommentReplies(i,t,r,a);return Wi(s,si,Ei,n)},async listComments1(i,t,r,a,s,o,u){const f=await e.listComments1(i,t,r,a,s,o,u);return Wi(f,si,Ei,n)}}};class q8 extends vg{createComment1(e,i){return as(this.configuration).createComment1(e.commentRequest,i).then(t=>t(this.axios,this.basePath))}createReply1(e,i){return as(this.configuration).createReply1(e.name,e.replyRequest,i).then(t=>t(this.axios,this.basePath))}getComment(e,i){return as(this.configuration).getComment(e.name,i).then(t=>t(this.axios,this.basePath))}listCommentReplies(e,i){return as(this.configuration).listCommentReplies(e.name,e.size,e.page,i).then(t=>t(this.axios,this.basePath))}listComments1(e,i){return as(this.configuration).listComments1(e.name,e.version,e.kind,e.group,e.size,e.page,i).then(t=>t(this.axios,this.basePath))}}const Hd="http://localhost:8090",Ud=si.create({baseURL:Hd,withCredentials:!0});Ud.interceptors.response.use(n=>n,async n=>(console.log("error",n),Promise.reject(n)));const ss={user:new U8(void 0,Hd,Ud),comment:new q8(void 0,Hd,Ud)};function wt(n,e,...i){if(n in e){let r=e[n];return typeof r=="function"?r(...i):r}let t=new Error(`Tried to handle "${n}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,wt),t}var os=(n=>(n[n.None=0]="None",n[n.RenderStrategy=1]="RenderStrategy",n[n.Static=2]="Static",n))(os||{}),V8=(n=>(n[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n))(V8||{});function aa({visible:n=!0,features:e=0,ourProps:i,theirProps:t,...r}){var a;let s=G8(t,i),o=Object.assign(r,{props:s});if(n||e&2&&s.static)return Wd(o);if(e&1){let u=(a=s.unmount)==null||a?0:1;return wt(u,{[0](){return null},[1](){return Wd({...r,props:{...s,hidden:!0,style:{display:"none"}}})}})}return Wd(o)}function Wd({props:n,attrs:e,slots:i,slot:t,name:r}){var a;let{as:s,...o}=gg(n,["unmount","static"]),u=(a=i.default)==null?void 0:a.call(i,t),f={};if(t){let l=!1,d=[];for(let[c,F]of Object.entries(t))typeof F=="boolean"&&(l=!0),F===!0&&d.push(c);l&&(f["data-headlessui-state"]=d.join(" "))}if(s==="template"){if(u=pg(u),Object.keys(o).length>0||Object.keys(e).length>0){let[l,...d]=u!=null?u:[];if(!Y8(l)||d.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(o).concat(Object.keys(e)).sort((c,F)=>c.localeCompare(F)).map(c=>` - ${c}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(c=>` - ${c}`).join(` `)].join(` -`));return Qi(l,Object.assign({},o,f))}return Array.isArray(u)&&u.length===1?u[0]:u}return Je(a,Object.assign({},o,f),u)}function w6(e){return e.flatMap(n=>n.type===He?w6(n.children):[n])}function cR(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},i={};for(let t of e)for(let r in t)r.startsWith("on")&&typeof t[r]=="function"?(i[r]!=null||(i[r]=[]),i[r].push(t[r])):n[r]=t[r];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(i).map(t=>[t,void 0])));for(let t in i)Object.assign(n,{[t](r,...s){let a=i[t];for(let o of a){if(r instanceof Event&&r.defaultPrevented)return;o(r,...s)}}});return n}function b6(e,n=[]){let i=Object.assign({},e);for(let t of n)t in i&&delete i[t];return i}function hR(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let mR=0;function pR(){return++mR}function bo(){return pR()}var qr=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(qr||{});function ke(e){var n;return e==null||e.value==null?null:(n=e.value.$el)!=null?n:e.value}let _6=Symbol("Context");var sf=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(sf||{});function E6(){return wn(_6,null)}function FR(e){Ni(_6,e)}function D6(e,n){if(e)return e;let i=n!=null?n:"button";if(typeof i=="string"&&i.toLowerCase()==="button")return"button"}function gR(e,n){let i=j(D6(e.value.type,e.value.as));return br(()=>{i.value=D6(e.value.type,e.value.as)}),ct(()=>{var t;i.value||!ke(n)||ke(n)instanceof HTMLButtonElement&&!((t=ke(n))!=null&&t.hasAttribute("type"))&&(i.value="button")}),i}const Sc=typeof window=="undefined"||typeof document=="undefined";function af(e){if(Sc)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let n=ke(e);if(n)return n.ownerDocument}return document}let Dp=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var ea=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(ea||{}),vR=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(vR||{}),yR=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(yR||{});function C6(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Dp))}var Cp=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Cp||{});function S6(e,n=0){var i;return e===((i=af(e))==null?void 0:i.body)?!1:Wr(n,{[0](){return e.matches(Dp)},[1](){let t=e;for(;t!==null;){if(t.matches(Dp))return!0;t=t.parentElement}return!1}})}let kR=["textarea","input"].join(",");function wR(e){var n,i;return(i=(n=e==null?void 0:e.matches)==null?void 0:n.call(e,kR))!=null?i:!1}function bR(e,n=i=>i){return e.slice().sort((i,t)=>{let r=n(i),s=n(t);if(r===null||s===null)return 0;let a=r.compareDocumentPosition(s);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function _o(e,n,i=!0,t=null){var r;let s=(r=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?r:document,a=Array.isArray(e)?i?bR(e):e:C6(e);t=t!=null?t:s.activeElement;let o=(()=>{if(n&5)return 1;if(n&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(n&1)return 0;if(n&2)return Math.max(0,a.indexOf(t))-1;if(n&4)return Math.max(0,a.indexOf(t))+1;if(n&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=n&32?{preventScroll:!0}:{},l=0,d=a.length,c;do{if(l>=d||l+d<=0)return 0;let h=u+l;if(n&16)h=(h+d)%d;else{if(h<0)return 3;if(h>=d)return 1}c=a[h],c==null||c.focus(f),l+=o}while(c!==s.activeElement);return n&6&&wR(c)&&c.select(),c.hasAttribute("tabindex")||c.setAttribute("tabindex","0"),2}function Sp(e,n,i){Sc||ct(t=>{document.addEventListener(e,n,i),t(()=>document.removeEventListener(e,n,i))})}function _R(e,n,i=le(()=>!0)){function t(s,a){if(!i.value||s.defaultPrevented)return;let o=a(s);if(o===null||!o.ownerDocument.documentElement.contains(o))return;let u=function f(l){return typeof l=="function"?f(l()):Array.isArray(l)||l instanceof Set?l:[l]}(e);for(let f of u){if(f===null)continue;let l=f instanceof HTMLElement?f:ke(f);if(l!=null&&l.contains(o))return}return!S6(o,Cp.Loose)&&o.tabIndex!==-1&&s.preventDefault(),n(s,o)}let r=j(null);Sp("mousedown",s=>{i.value&&(r.value=s.target)},!0),Sp("click",s=>{!r.value||(t(s,()=>r.value),r.value=null)},!0),Sp("blur",s=>t(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Ac=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ac||{});let Ap=te({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:n,attrs:i}){return()=>{let{features:t,...r}=e,s={"aria-hidden":(t&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(t&4)===4&&(t&2)!==2&&{display:"none"}}};return wo({ourProps:s,theirProps:r,slot:{},attrs:i,slots:n,name:"Hidden"})}}});function ER(e,n,i){Sc||ct(t=>{window.addEventListener(e,n,i),t(()=>window.removeEventListener(e,n,i))})}var na=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(na||{});function A6(){let e=j(0);return ER("keydown",n=>{n.key==="Tab"&&(e.value=n.shiftKey?1:0)}),e}function DR(e,n,i,t){Sc||ct(r=>{e=e!=null?e:window,e.addEventListener(n,i,t),r(()=>e.removeEventListener(n,i,t))})}var CR=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(CR||{});let M6=Symbol("PopoverContext");function Mc(e){let n=wn(M6,null);if(n===null){let i=new Error(`<${e} /> is missing a parent <${T6.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Mc),i}return n}let B6=Symbol("PopoverGroupContext");function x6(){return wn(B6,null)}let $6=Symbol("PopoverPanelContext");function SR(){return wn($6,null)}let T6=te({name:"Popover",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:n,attrs:i,expose:t}){var r;let s=`headlessui-popover-button-${bo()}`,a=`headlessui-popover-panel-${bo()}`,o=j(null);t({el:o,$el:o});let u=j(1),f=j(null),l=j(null),d=j(null),c=j(null),h=le(()=>af(o)),F=le(()=>{if(!ke(f)||!ke(c))return!1;for(let w of document.querySelectorAll("body > *"))if(Number(w==null?void 0:w.contains(ke(f)))^Number(w==null?void 0:w.contains(ke(c))))return!0;return!1}),v={popoverState:u,buttonId:s,panelId:a,panel:c,button:f,isPortalled:F,beforePanelSentinel:l,afterPanelSentinel:d,togglePopover(){u.value=Wr(u.value,{[0]:1,[1]:0})},closePopover(){u.value!==1&&(u.value=1)},close(w){v.closePopover();let D=(()=>w?w instanceof HTMLElement?w:w.value instanceof HTMLElement?ke(w):ke(v.button):ke(v.button))();D==null||D.focus()}};Ni(M6,v),FR(le(()=>Wr(u.value,{[0]:sf.Open,[1]:sf.Closed})));let y={buttonId:s,panelId:a,close(){v.closePopover()}},p=x6(),m=p==null?void 0:p.registerPopover;function k(){var w,D,E,C;return(C=p==null?void 0:p.isFocusWithinPopoverGroup())!=null?C:((w=h.value)==null?void 0:w.activeElement)&&(((D=ke(f))==null?void 0:D.contains(h.value.activeElement))||((E=ke(c))==null?void 0:E.contains(h.value.activeElement)))}return ct(()=>m==null?void 0:m(y)),DR((r=h.value)==null?void 0:r.defaultView,"focus",w=>{var D,E;u.value===0&&(k()||!f||!c||(D=ke(v.beforePanelSentinel))!=null&&D.contains(w.target)||(E=ke(v.afterPanelSentinel))!=null&&E.contains(w.target)||v.closePopover())},!0),_R([f,c],(w,D)=>{var E;v.closePopover(),S6(D,Cp.Loose)||(w.preventDefault(),(E=ke(f))==null||E.focus())},le(()=>u.value===0)),()=>{let w={open:u.value===0,close:v.close};return wo({theirProps:e,ourProps:{ref:o},slot:w,slots:n,attrs:i,name:"Popover"})}}}),AR=te({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{attrs:n,slots:i,expose:t}){let r=Mc("PopoverButton"),s=le(()=>af(r.button));t({el:r.button,$el:r.button});let a=x6(),o=a==null?void 0:a.closeOthers,u=SR(),f=u===null?!1:u===r.panelId,l=j(null),d=`headlessui-focus-sentinel-${bo()}`;f||ct(()=>{r.button.value=l.value});let c=gR(le(()=>({as:e.as,type:n.type})),l);function h(p){var m,k,w,D,E;if(f){if(r.popoverState.value===1)return;switch(p.key){case qr.Space:case qr.Enter:p.preventDefault(),(k=(m=p.target).click)==null||k.call(m),r.closePopover(),(w=ke(r.button))==null||w.focus();break}}else switch(p.key){case qr.Space:case qr.Enter:p.preventDefault(),p.stopPropagation(),r.popoverState.value===1&&(o==null||o(r.buttonId)),r.togglePopover();break;case qr.Escape:if(r.popoverState.value!==0)return o==null?void 0:o(r.buttonId);if(!ke(r.button)||((D=s.value)==null?void 0:D.activeElement)&&!((E=ke(r.button))!=null&&E.contains(s.value.activeElement)))return;p.preventDefault(),p.stopPropagation(),r.closePopover();break}}function F(p){f||p.key===qr.Space&&p.preventDefault()}function v(p){var m,k;e.disabled||(f?(r.closePopover(),(m=ke(r.button))==null||m.focus()):(p.preventDefault(),p.stopPropagation(),r.popoverState.value===1&&(o==null||o(r.buttonId)),r.togglePopover(),(k=ke(r.button))==null||k.focus()))}function y(p){p.preventDefault(),p.stopPropagation()}return()=>{let p=r.popoverState.value===0,m={open:p},k=f?{ref:l,type:c.value,onKeydown:h,onClick:v}:{ref:l,id:r.buttonId,type:c.value,"aria-expanded":e.disabled?void 0:r.popoverState.value===0,"aria-controls":ke(r.panel)?r.panelId:void 0,disabled:e.disabled?!0:void 0,onKeydown:h,onKeyup:F,onClick:v,onMousedown:y},w=A6();function D(){let E=ke(r.panel);if(!E)return;function C(){Wr(w.value,{[na.Forwards]:()=>_o(E,ea.First),[na.Backwards]:()=>_o(E,ea.Last)})}C()}return Je(He,[wo({ourProps:k,theirProps:{...n,...e},slot:m,attrs:n,slots:i,name:"PopoverButton"}),p&&!f&&r.isPortalled.value&&Je(Ap,{id:d,features:Ac.Focusable,as:"button",type:"button",onFocus:D})])}}});te({name:"PopoverOverlay",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:n,slots:i}){let t=Mc("PopoverOverlay"),r=`headlessui-popover-overlay-${bo()}`,s=E6(),a=le(()=>s!==null?s.value===sf.Open:t.popoverState.value===0);function o(){t.closePopover()}return()=>{let u={open:t.popoverState.value===0};return wo({ourProps:{id:r,"aria-hidden":!0,onClick:o},theirProps:e,slot:u,attrs:n,slots:i,features:rf.RenderStrategy|rf.Static,visible:a.value,name:"PopoverOverlay"})}}});let MR=te({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1}},inheritAttrs:!1,setup(e,{attrs:n,slots:i,expose:t}){let{focus:r}=e,s=Mc("PopoverPanel"),a=le(()=>af(s.panel)),o=`headlessui-focus-sentinel-before-${bo()}`,u=`headlessui-focus-sentinel-after-${bo()}`;t({el:s.panel,$el:s.panel}),Ni($6,s.panelId),ct(()=>{var y,p;if(!r||s.popoverState.value!==0||!s.panel)return;let m=(y=a.value)==null?void 0:y.activeElement;(p=ke(s.panel))!=null&&p.contains(m)||_o(ke(s.panel),ea.First)});let f=E6(),l=le(()=>f!==null?f.value===sf.Open:s.popoverState.value===0);function d(y){var p,m;switch(y.key){case qr.Escape:if(s.popoverState.value!==0||!ke(s.panel)||a.value&&!((p=ke(s.panel))!=null&&p.contains(a.value.activeElement)))return;y.preventDefault(),y.stopPropagation(),s.closePopover(),(m=ke(s.button))==null||m.focus();break}}function c(y){var p,m,k,w,D;let E=y.relatedTarget;!E||!ke(s.panel)||(p=ke(s.panel))!=null&&p.contains(E)||(s.closePopover(),(((k=(m=ke(s.beforePanelSentinel))==null?void 0:m.contains)==null?void 0:k.call(m,E))||((D=(w=ke(s.afterPanelSentinel))==null?void 0:w.contains)==null?void 0:D.call(w,E)))&&E.focus({preventScroll:!0}))}let h=A6();function F(){let y=ke(s.panel);if(!y)return;function p(){Wr(h.value,{[na.Forwards]:()=>{_o(y,ea.Next)},[na.Backwards]:()=>{var m;(m=ke(s.button))==null||m.focus({preventScroll:!0})}})}p()}function v(){let y=ke(s.panel);if(!y)return;function p(){Wr(h.value,{[na.Forwards]:()=>{var m,k;let w=ke(s.button),D=ke(s.panel);if(!w)return;let E=C6(),C=E.indexOf(w),b=E.slice(0,C+1),S=[...E.slice(C+1),...b];for(let A of S.slice())if(((k=(m=A==null?void 0:A.id)==null?void 0:m.startsWith)==null?void 0:k.call(m,"headlessui-focus-sentinel-"))||(D==null?void 0:D.contains(A))){let T=S.indexOf(A);T!==-1&&S.splice(T,1)}_o(S,ea.First,!1)},[na.Backwards]:()=>_o(y,ea.Previous)})}p()}return()=>{let y={open:s.popoverState.value===0,close:s.close},p={ref:s.panel,id:s.panelId,onKeydown:d,onFocusout:r&&s.popoverState.value===0?c:void 0,tabIndex:-1};return wo({ourProps:p,theirProps:{...n,...b6(e,["focus"])},attrs:n,slot:y,slots:{...i,default:(...m)=>{var k;return[Je(He,[l.value&&s.isPortalled.value&&Je(Ap,{id:o,ref:s.beforePanelSentinel,features:Ac.Focusable,as:"button",type:"button",onFocus:F}),(k=i.default)==null?void 0:k.call(i,...m),l.value&&s.isPortalled.value&&Je(Ap,{id:u,ref:s.afterPanelSentinel,features:Ac.Focusable,as:"button",type:"button",onFocus:v})])]}},features:rf.RenderStrategy|rf.Static,visible:l.value,name:"PopoverPanel"})}}});te({name:"PopoverGroup",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:n,slots:i,expose:t}){let r=j(null),s=j([]),a=le(()=>af(r));t({el:r,$el:r});function o(d){let c=s.value.indexOf(d);c!==-1&&s.value.splice(c,1)}function u(d){return s.value.push(d),()=>{o(d)}}function f(){var d;let c=a.value;if(!c)return!1;let h=c.activeElement;return(d=ke(r))!=null&&d.contains(h)?!0:s.value.some(F=>{var v,y;return((v=c.getElementById(F.buttonId))==null?void 0:v.contains(h))||((y=c.getElementById(F.panelId))==null?void 0:y.contains(h))})}function l(d){for(let c of s.value)c.buttonId!==d&&c.close()}return Ni(B6,{registerPopover:u,unregisterPopover:o,isFocusWithinPopoverGroup:f,closeOthers:l}),()=>wo({ourProps:{ref:r},theirProps:e,slot:{},attrs:n,slots:i,name:"PopoverGroup"})}});const BR={class:"comment-form flex gap-4"},xR={class:"flex flex-1 flex-col gap-y-4"},$R={class:"flex items-center justify-between"},TR={class:"flex items-center gap-3"},PR={class:"text-sm font-medium"},OR={class:"flex flex-row items-center gap-3"},Mp=te({__name:"Form",props:{comment:{default:void 0},reply:{default:void 0}},emits:["created"],setup(e,{emit:n}){const i=e,t=wn("currentUser"),r=wn("kind"),s=wn("name"),a=wn("group"),o=j(!1),u=j(""),f=j(!0),l=j(!1),d=async()=>{if(!i.comment){c();return}h()},c=async()=>{if(!r||!s){console.error("Please provide kind and name");return}try{l.value=!0;const w={raw:u.value,content:u.value,allowNotification:f.value,subjectRef:{group:a,kind:r,name:s}};await tf.comment.createComment1({commentRequest:w}),u.value="",n("created")}catch(w){console.error("Failed to create comment",w)}finally{l.value=!1}},h=async()=>{if(!r||!s){console.error("Please provide kind and name");return}try{l.value=!0;const w={raw:u.value,content:u.value,allowNotification:f.value};i.reply&&(w.quoteReply=i.reply.metadata.name),await tf.comment.createReply1({name:i.comment.metadata.name,replyRequest:w}),u.value="",n("created")}catch(w){console.error("Failed to create comment reply",w)}finally{l.value=!1}},F=()=>{window.open("/logout")},v=j(null),y=j(),p=new op({data:KN,theme:"light",autoFocus:!0,i18n:YN,onEmojiSelect:m});function m(w){u.value+=w.native,y.value.focus()}ct(()=>{var w;v.value&&((w=v.value)==null||w.appendChild(p))});const{Command_Enter:k}=Ax();return ct(()=>{k.value&&d()}),(w,D)=>(ae(),ge("div",BR,[Y("div",xR,[mn("",!0),_r(Y("textarea",{ref_key:"contentInputRef",ref:y,"onUpdate:modelValue":D[0]||(D[0]=E=>u.value=E),required:"",class:"rounded-base focus:border-secondary h-28 w-full border-gray-300 shadow-sm outline-0 ring-0",placeholder:"Write a comment..."},null,512),[[js,u.value]]),Y("div",$R,[Y("div",TR,[q(t)?(ae(),ge(He,{key:0},[ie(q(Yh),{src:q(t).spec.avatar,size:"sm",circle:""},null,8,["src"]),Y("span",PR,cn(q(t).spec.displayName),1),ie(q(Vs),{size:"sm",onClick:F},{default:Re(()=>[ui("\u6CE8\u9500")]),_:1})],64)):(ae(),Ln(q(Vs),{key:1,size:"sm",onClick:D[1]||(D[1]=E=>o.value=!0)},{icon:Re(()=>[ie(q(X4),{class:"h-full w-full"})]),default:Re(()=>[ui(" \u767B\u5F55 ")]),_:1}))]),Y("div",OR,[ie(q(T6),{class:"relative"},{default:Re(({open:E})=>[ie(q(AR),{class:dn([E?"":"text-opacity-90","outline-0"]),as:"div"},{default:Re(()=>[ie(q(ZN),{class:"h-5 w-5 cursor-pointer text-gray-500 transition-all hover:text-gray-900"})]),_:2},1032,["class"]),ie(Ns,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:Re(()=>[ie(q(MR),{class:"absolute z-10 mt-3 w-screen max-w-sm -translate-x-1/2 transform px-4 sm:px-0"},{default:Re(()=>[Y("div",{ref_key:"emojiPickerRef",ref:v},null,512)]),_:1})]),_:1})]),_:1}),ie(q(Vs),{disabled:!u.value||!q(t),type:"secondary",loading:l.value,onClick:d},{icon:Re(()=>[ie(q(iL),{class:"h-full w-full"})]),default:Re(()=>[ui(" \u63D0\u4EA4\u8BC4\u8BBA ")]),_:1},8,["disabled","loading"])])])]),ie(qN,{visible:o.value,"onUpdate:visible":D[2]||(D[2]=E=>o.value=E)},null,8,["visible"])]))}}),IR={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},NR=[Y("path",{fill:"currentColor",d:"M10 9V5l-7 7l7 7v-4.1c5 0 8.5 1.6 11 5.1c-1-5-4-10-11-11Z"},null,-1)];function LR(e,n){return ae(),ge("svg",IR,NR)}var jR={name:"mdi-reply",render:LR};const RR=["id"],zR={class:"flex flex-row gap-3"},HR={class:"reply-avatar"},UR={class:"flex-1"},VR={class:"reply-informations flex items-center"},WR={class:"flex flex-auto items-center gap-3"},qR={class:"text-sm font-medium"},KR=["href"],YR={class:"reply-content mt-2"},GR={class:"text-sm text-gray-800"},JR=["href"],QR={key:1},ZR={class:"reply-actions mt-2 flex flex-auto items-center gap-1"},XR=te({__name:"ReplyItem",props:{comment:null,reply:null,replies:null},emits:["reload"],setup(e,{emit:n}){const i=e,t=j(!1),r=Uh(new Date(i.reply.metadata.creationTimestamp||new Date)),s=le(()=>{const{quoteReply:l}=i.reply.spec;if(!!l)return i.replies.find(d=>d.metadata.name===l)}),a=()=>{n("reload"),t.value=!1},o=wn("hoveredReply"),u=l=>{o&&(o.value=l?s.value:void 0)},f=le(()=>{var l;return((l=o==null?void 0:o.value)==null?void 0:l.metadata.name)===i.reply.metadata.name});return(l,d)=>{var c,h,F,v;return ae(),ge("div",{id:`reply-${e.reply.metadata.name}`,class:dn(["reply-item py-3",{"animate-breath":q(f)}])},[Y("div",zR,[Y("div",HR,[ie(q(Yh),{src:(h=(c=e.reply)==null?void 0:c.owner)==null?void 0:h.avatar,alt:(v=(F=e.reply)==null?void 0:F.owner)==null?void 0:v.displayName,size:"sm",circle:""},null,8,["src","alt"])]),Y("div",UR,[Y("div",VR,[Y("div",WR,[Y("div",qR,cn(e.reply.owner.displayName),1),Y("a",{href:`#reply-${e.reply.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline"},cn(q(r)),9,KR),ie(q(iw),{rounded:""},{default:Re(()=>[ui("Author")]),_:1})])]),Y("div",YR,[Y("p",GR,[q(s)?(ae(),ge("a",{key:0,class:"mr-1 inline-flex flex-row items-center gap-1 rounded bg-gray-200 py-0.5 px-1 text-xs font-medium text-gray-600 hover:text-blue-500 hover:underline",href:`#reply-${q(s).metadata.name}`,onMouseenter:d[0]||(d[0]=y=>u(!0)),onMouseleave:d[1]||(d[1]=y=>u(!1))},[ie(q(jR)),Y("span",null,cn(q(s).owner.displayName),1)],40,JR)):mn("",!0),q(s)?(ae(),ge("br",QR)):mn("",!0),ui(" "+cn(e.reply.spec.content),1)])]),Y("div",ZR,[Y("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900",onClick:d[2]||(d[2]=y=>t.value=!t.value)}," \u56DE\u590D ")]),t.value?(ae(),Ln(Mp,{key:0,class:"mt-2",comment:e.comment,reply:e.reply,onCreated:a},null,8,["comment","reply"])):mn("",!0)])])],10,RR)}}});var ez=(e,n)=>{const i=e.__vccOpts||e;for(const[t,r]of n)i[t]=r;return i};const nz={},iz={class:"flex items-center justify-center py-2 transition-all"},tz=[Y("svg",{class:"h-5 w-5 animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[Y("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),Y("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"})],-1)];function rz(e,n){return ae(),ge("div",iz,tz)}var P6=ez(nz,[["render",rz]]);const sz=["id"],az={class:"flex flex-row gap-3"},oz={class:"comment-avatar"},uz={class:"flex-1"},fz={class:"comment-informations flex items-center"},lz={class:"flex flex-auto items-center gap-3"},dz={class:"text-sm font-medium"},cz=["href"],hz={class:"comment-content mt-2"},mz={class:"text-sm text-gray-800"},pz={class:"comment-actions mt-2 flex flex-auto items-center gap-1"},Fz=Y("span",{class:"text-gray-600"},"\xB7",-1),gz={key:1,class:"comment-replies mt-2"},vz={class:"flex flex-col divide-y divide-gray-100"},yz=te({__name:"CommentItem",props:{comment:{default:void 0}},setup(e){const n=e,i=j(!1),t=j(!1),r=j([]),s=j(!1),a=j();Ni("hoveredReply",a);const o=Uh(new Date(n.comment.metadata.creationTimestamp||new Date)),u=le(()=>(n.comment,!1)),f=async()=>{try{s.value=!0;const{data:d}=await tf.comment.listCommentReplies({name:n.comment.metadata.name});r.value=d.items}catch(d){console.error("Failed to fetch comment replies",d)}finally{s.value=!1}};Be(()=>i.value,()=>{i.value?f():r.value.length=0});const l=()=>{t.value=!1,i.value=!0,f()};return(d,c)=>{var h,F,v,y,p,m,k,w,D,E,C;return ae(),ge("div",{id:`comment-${(h=e.comment)==null?void 0:h.metadata.name}`,class:"comment-item py-4"},[Y("div",az,[Y("div",oz,[ie(q(Yh),{src:(v=(F=e.comment)==null?void 0:F.owner)==null?void 0:v.avatar,alt:(p=(y=e.comment)==null?void 0:y.owner)==null?void 0:p.displayName,size:"sm",circle:""},null,8,["src","alt"])]),Y("div",uz,[Y("div",fz,[Y("div",lz,[Y("div",dz,cn((k=(m=e.comment)==null?void 0:m.owner)==null?void 0:k.displayName),1),Y("a",{href:`#comment-${(w=e.comment)==null?void 0:w.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline"},cn(q(o)),9,cz),q(u)?(ae(),Ln(q(iw),{key:0,rounded:""},{default:Re(()=>[ui("Author")]),_:1})):mn("",!0)])]),Y("div",hz,[Y("p",mz,cn((D=e.comment)==null?void 0:D.spec.content),1)]),Y("div",pz,[Y("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900",onClick:c[0]||(c[0]=b=>i.value=!i.value)},cn(((C=(E=e.comment)==null?void 0:E.status)==null?void 0:C.replyCount)||0)+" \u6761\u56DE\u590D ",1),Fz,Y("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900",onClick:c[1]||(c[1]=b=>t.value=!t.value)}," \u52A0\u5165\u56DE\u590D ")]),t.value?(ae(),Ln(Mp,{key:0,class:"mt-2",comment:e.comment,onCreated:l},null,8,["comment"])):mn("",!0),i.value?(ae(),ge("div",gz,[Y("div",vz,[s.value?(ae(),Ln(P6,{key:0})):!r.value.length&&!s.value&&!t.value?(ae(),Ln(q(kb),{key:1,title:"\u6682\u65E0\u56DE\u590D",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u56DE\u590D"},{actions:Re(()=>[ie(q(nw),null,{default:Re(()=>[ie(q(Vs),{type:"default",onClick:f},{default:Re(()=>[ui(" \u5237\u65B0 ")]),_:1}),ie(q(Vs),{type:"primary",onClick:c[2]||(c[2]=b=>t.value=!0)},{default:Re(()=>[ui(" \u56DE\u590D ")]),_:1})]),_:1})]),_:1})):(ae(!0),ge(He,{key:2},Hl(r.value,(b,S)=>(ae(),Ln(XR,{key:S,class:dn({"!pt-2":S===1}),comment:e.comment,reply:b,replies:r.value,onReload:f},null,8,["class","comment","reply","replies"]))),128))])])):mn("",!0)])])],8,sz)}}}),kz={class:"halo-comment-widget"},wz={class:"comment-timeline mt-6"},bz={class:"flex items-center"},_z={class:"flex flex-auto items-center gap-1"},Ez={class:"text-sm font-medium text-gray-900"},Dz=Y("div",null,null,-1),Cz={class:"mt-4 flex flex-col divide-y divide-gray-100"},Sz={key:0,class:"my-4 bg-white sm:flex sm:items-center sm:justify-center"},Az=te({__name:"Comment",props:{kind:{default:void 0},name:{default:void 0},group:{default:void 0}},setup(e){const n=e;Ni("kind",n.kind),Ni("name",n.name),Ni("group",n.group);const i=j(),t=j({page:1,size:20,total:0,items:[],first:!0,last:!1,hasNext:!1,hasPrevious:!1}),r=j(!1);Ni("currentUser",i);const s=async()=>{try{const{data:f}=await tf.user.getCurrentUserDetail();i.value=f}catch(f){console.error("Fetch logined user failed",f)}},a=async()=>{try{r.value=!0;const{data:f}=await tf.comment.listComments1({page:t.value.page,size:t.value.size,kind:n.kind,name:n.name,group:n.group});t.value=f}catch(f){console.error("Failed to fetch comments",f)}finally{r.value=!1}},o=({page:f,size:l})=>{t.value.page=f,t.value.size=l,a()};br(()=>{s(),a()});const u=()=>{a()};return(f,l)=>{var d;return ae(),ge("div",kz,[ie(Mp,{onCreated:u}),Y("div",wz,[Y("div",bz,[Y("div",_z,[Y("span",Ez,cn(((d=t.value)==null?void 0:d.total)||0)+" \u6761\u8BC4\u8BBA ",1),mn("",!0),mn("",!0)]),Dz]),Y("div",Cz,[r.value?(ae(),Ln(P6,{key:0})):!t.value.items.length&&!r.value?(ae(),Ln(q(kb),{key:1,title:"\u6682\u65E0\u8BC4\u8BBA",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u8BC4\u8BBA"},{actions:Re(()=>[ie(q(nw),null,{default:Re(()=>[ie(q(Vs),{type:"default",onClick:a},{default:Re(()=>[ui(" \u5237\u65B0 ")]),_:1})]),_:1})]),_:1})):(ae(!0),ge(He,{key:2},Hl(t.value.items,(c,h)=>(ae(),Ln(yz,{key:h,comment:c},null,8,["comment"]))),128))])]),t.value.hasPrevious||t.value.hasNext?(ae(),ge("div",Sz,[ie(q(TP),{page:t.value.page,size:t.value.size,total:t.value.total,onChange:o},null,8,["page","size","total"])])):mn("",!0)])}}});var pH="",FH="";function Mz(e,n,i){var f;const t=document.querySelector(e);t||console.error("Element not found",e);const r=document.createElement("div"),s=document.createElement("div"),a=document.createElement("link"),o=((f=r.attachShadow)==null?void 0:f.call(r,{mode:"open"}))||r;a.setAttribute("rel","stylesheet"),a.setAttribute("href",n),o.appendChild(a),o.appendChild(s),t==null||t.appendChild(r),Xg(Az,i).mount(s)}return Bc.init=Mz,Object.defineProperties(Bc,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),Bc}({}); +`));return ei(l,Object.assign({},o,f))}return Array.isArray(u)&&u.length===1?u[0]:u}return Oe(s,Object.assign({},o,f),u)}function pg(n){return n.flatMap(e=>e.type===Be?pg(e.children):[e])}function G8(...n){if(n.length===0)return{};if(n.length===1)return n[0];let e={},i={};for(let t of n)for(let r in t)r.startsWith("on")&&typeof t[r]=="function"?(i[r]!=null||(i[r]=[]),i[r].push(t[r])):e[r]=t[r];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(i).map(t=>[t,void 0])));for(let t in i)Object.assign(e,{[t](r,...a){let s=i[t];for(let o of s){if(r instanceof Event&&r.defaultPrevented)return;o(r,...a)}}});return e}function gg(n,e=[]){let i=Object.assign({},n);for(let t of e)t in i&&delete i[t];return i}function Y8(n){return n==null?!1:typeof n.type=="string"||typeof n.type=="object"||typeof n.type=="function"}let K8=0;function Q8(){return++K8}function sa(){return Q8()}var bt=(n=>(n.Space=" ",n.Enter="Enter",n.Escape="Escape",n.Backspace="Backspace",n.Delete="Delete",n.ArrowLeft="ArrowLeft",n.ArrowUp="ArrowUp",n.ArrowRight="ArrowRight",n.ArrowDown="ArrowDown",n.Home="Home",n.End="End",n.PageUp="PageUp",n.PageDown="PageDown",n.Tab="Tab",n))(bt||{});function de(n){var e;return n==null||n.value==null?null:(e=n.value.$el)!=null?e:n.value}let yg=Symbol("Context");var us=(n=>(n[n.Open=0]="Open",n[n.Closed=1]="Closed",n))(us||{});function kg(){return Ke(yg,null)}function J8(n){Un(yg,n)}function wg(n,e){if(n)return n;let i=e!=null?e:"button";if(typeof i=="string"&&i.toLowerCase()==="button")return"button"}function Z8(n,e){let i=S(wg(n.value.type,n.value.as));return Zi(()=>{i.value=wg(n.value.type,n.value.as)}),li(()=>{var t;i.value||!de(e)||de(e)instanceof HTMLButtonElement&&!((t=de(e))!=null&&t.hasAttribute("type"))&&(i.value="button")}),i}const Du=typeof window=="undefined"||typeof document=="undefined";function fs(n){if(Du)return null;if(n instanceof Node)return n.ownerDocument;if(n!=null&&n.hasOwnProperty("value")){let e=de(n);if(e)return e.ownerDocument}return document}let qd=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(n=>`${n}:not([tabindex='-1'])`).join(",");var ar=(n=>(n[n.First=1]="First",n[n.Previous=2]="Previous",n[n.Next=4]="Next",n[n.Last=8]="Last",n[n.WrapAround=16]="WrapAround",n[n.NoScroll=32]="NoScroll",n))(ar||{}),X8=(n=>(n[n.Error=0]="Error",n[n.Overflow=1]="Overflow",n[n.Success=2]="Success",n[n.Underflow=3]="Underflow",n))(X8||{}),e7=(n=>(n[n.Previous=-1]="Previous",n[n.Next=1]="Next",n))(e7||{});function bg(n=document.body){return n==null?[]:Array.from(n.querySelectorAll(qd))}var Vd=(n=>(n[n.Strict=0]="Strict",n[n.Loose=1]="Loose",n))(Vd||{});function _g(n,e=0){var i;return n===((i=fs(n))==null?void 0:i.body)?!1:wt(e,{[0](){return n.matches(qd)},[1](){let t=n;for(;t!==null;){if(t.matches(qd))return!0;t=t.parentElement}return!1}})}let n7=["textarea","input"].join(",");function i7(n){var e,i;return(i=(e=n==null?void 0:n.matches)==null?void 0:e.call(n,n7))!=null?i:!1}function t7(n,e=i=>i){return n.slice().sort((i,t)=>{let r=e(i),a=e(t);if(r===null||a===null)return 0;let s=r.compareDocumentPosition(a);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function oa(n,e,i=!0,t=null){var r;let a=(r=Array.isArray(n)?n.length>0?n[0].ownerDocument:document:n==null?void 0:n.ownerDocument)!=null?r:document,s=Array.isArray(n)?i?t7(n):n:bg(n);t=t!=null?t:a.activeElement;let o=(()=>{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,s.indexOf(t))-1;if(e&4)return Math.max(0,s.indexOf(t))+1;if(e&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=e&32?{preventScroll:!0}:{},l=0,d=s.length,c;do{if(l>=d||l+d<=0)return 0;let F=u+l;if(e&16)F=(F+d)%d;else{if(F<0)return 3;if(F>=d)return 1}c=s[F],c==null||c.focus(f),l+=o}while(c!==a.activeElement);return e&6&&i7(c)&&c.select(),c.hasAttribute("tabindex")||c.setAttribute("tabindex","0"),2}function Gd(n,e,i){Du||li(t=>{document.addEventListener(n,e,i),t(()=>document.removeEventListener(n,e,i))})}function r7(n,e,i=ne(()=>!0)){function t(a,s){if(!i.value||a.defaultPrevented)return;let o=s(a);if(o===null||!o.ownerDocument.documentElement.contains(o))return;let u=function f(l){return typeof l=="function"?f(l()):Array.isArray(l)||l instanceof Set?l:[l]}(n);for(let f of u){if(f===null)continue;let l=f instanceof HTMLElement?f:de(f);if(l!=null&&l.contains(o))return}return!_g(o,Vd.Loose)&&o.tabIndex!==-1&&a.preventDefault(),e(a,o)}let r=S(null);Gd("mousedown",a=>{i.value&&(r.value=a.target)},!0),Gd("click",a=>{!r.value||(t(a,()=>r.value),r.value=null)},!0),Gd("blur",a=>t(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Cu=(n=>(n[n.None=1]="None",n[n.Focusable=2]="Focusable",n[n.Hidden=4]="Hidden",n))(Cu||{});let Yd=Y({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(n,{slots:e,attrs:i}){return()=>{let{features:t,...r}=n,a={"aria-hidden":(t&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(t&4)===4&&(t&2)!==2&&{display:"none"}}};return aa({ourProps:a,theirProps:r,slot:{},attrs:i,slots:e,name:"Hidden"})}}});function a7(n,e,i){Du||li(t=>{window.addEventListener(n,e,i),t(()=>window.removeEventListener(n,e,i))})}var sr=(n=>(n[n.Forwards=0]="Forwards",n[n.Backwards=1]="Backwards",n))(sr||{});function Eg(){let n=S(0);return a7("keydown",e=>{e.key==="Tab"&&(n.value=e.shiftKey?1:0)}),n}function s7(n,e,i,t){Du||li(r=>{n=n!=null?n:window,n.addEventListener(e,i,t),r(()=>n.removeEventListener(e,i,t))})}var o7=(n=>(n[n.Open=0]="Open",n[n.Closed=1]="Closed",n))(o7||{});let Dg=Symbol("PopoverContext");function Su(n){let e=Ke(Dg,null);if(e===null){let i=new Error(`<${n} /> is missing a parent <${Bg.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Su),i}return e}let Cg=Symbol("PopoverGroupContext");function Sg(){return Ke(Cg,null)}let Ag=Symbol("PopoverPanelContext");function u7(){return Ke(Ag,null)}let Bg=Y({name:"Popover",props:{as:{type:[Object,String],default:"div"}},setup(n,{slots:e,attrs:i,expose:t}){var r;let a=`headlessui-popover-button-${sa()}`,s=`headlessui-popover-panel-${sa()}`,o=S(null);t({el:o,$el:o});let u=S(1),f=S(null),l=S(null),d=S(null),c=S(null),F=ne(()=>fs(o)),h=ne(()=>{if(!de(f)||!de(c))return!1;for(let y of document.querySelectorAll("body > *"))if(Number(y==null?void 0:y.contains(de(f)))^Number(y==null?void 0:y.contains(de(c))))return!0;return!1}),p={popoverState:u,buttonId:a,panelId:s,panel:c,button:f,isPortalled:h,beforePanelSentinel:l,afterPanelSentinel:d,togglePopover(){u.value=wt(u.value,{[0]:1,[1]:0})},closePopover(){u.value!==1&&(u.value=1)},close(y){p.closePopover();let _=(()=>y?y instanceof HTMLElement?y:y.value instanceof HTMLElement?de(y):de(p.button):de(p.button))();_==null||_.focus()}};Un(Dg,p),J8(ne(()=>wt(u.value,{[0]:us.Open,[1]:us.Closed})));let g={buttonId:a,panelId:s,close(){p.closePopover()}},m=Sg(),v=m==null?void 0:m.registerPopover;function k(){var y,_,w,C;return(C=m==null?void 0:m.isFocusWithinPopoverGroup())!=null?C:((y=F.value)==null?void 0:y.activeElement)&&(((_=de(f))==null?void 0:_.contains(F.value.activeElement))||((w=de(c))==null?void 0:w.contains(F.value.activeElement)))}return li(()=>v==null?void 0:v(g)),s7((r=F.value)==null?void 0:r.defaultView,"focus",y=>{var _,w;u.value===0&&(k()||!f||!c||(_=de(p.beforePanelSentinel))!=null&&_.contains(y.target)||(w=de(p.afterPanelSentinel))!=null&&w.contains(y.target)||p.closePopover())},!0),r7([f,c],(y,_)=>{var w;p.closePopover(),_g(_,Vd.Loose)||(y.preventDefault(),(w=de(f))==null||w.focus())},ne(()=>u.value===0)),()=>{let y={open:u.value===0,close:p.close};return aa({theirProps:n,ourProps:{ref:o},slot:y,slots:e,attrs:i,name:"Popover"})}}}),f7=Y({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(n,{attrs:e,slots:i,expose:t}){let r=Su("PopoverButton"),a=ne(()=>fs(r.button));t({el:r.button,$el:r.button});let s=Sg(),o=s==null?void 0:s.closeOthers,u=u7(),f=u===null?!1:u===r.panelId,l=S(null),d=`headlessui-focus-sentinel-${sa()}`;f||li(()=>{r.button.value=l.value});let c=Z8(ne(()=>({as:n.as,type:e.type})),l);function F(m){var v,k,y,_,w;if(f){if(r.popoverState.value===1)return;switch(m.key){case bt.Space:case bt.Enter:m.preventDefault(),(k=(v=m.target).click)==null||k.call(v),r.closePopover(),(y=de(r.button))==null||y.focus();break}}else switch(m.key){case bt.Space:case bt.Enter:m.preventDefault(),m.stopPropagation(),r.popoverState.value===1&&(o==null||o(r.buttonId)),r.togglePopover();break;case bt.Escape:if(r.popoverState.value!==0)return o==null?void 0:o(r.buttonId);if(!de(r.button)||((_=a.value)==null?void 0:_.activeElement)&&!((w=de(r.button))!=null&&w.contains(a.value.activeElement)))return;m.preventDefault(),m.stopPropagation(),r.closePopover();break}}function h(m){f||m.key===bt.Space&&m.preventDefault()}function p(m){var v,k;n.disabled||(f?(r.closePopover(),(v=de(r.button))==null||v.focus()):(m.preventDefault(),m.stopPropagation(),r.popoverState.value===1&&(o==null||o(r.buttonId)),r.togglePopover(),(k=de(r.button))==null||k.focus()))}function g(m){m.preventDefault(),m.stopPropagation()}return()=>{let m=r.popoverState.value===0,v={open:m},k=f?{ref:l,type:c.value,onKeydown:F,onClick:p}:{ref:l,id:r.buttonId,type:c.value,"aria-expanded":n.disabled?void 0:r.popoverState.value===0,"aria-controls":de(r.panel)?r.panelId:void 0,disabled:n.disabled?!0:void 0,onKeydown:F,onKeyup:h,onClick:p,onMousedown:g},y=Eg();function _(){let w=de(r.panel);if(!w)return;function C(){wt(y.value,{[sr.Forwards]:()=>oa(w,ar.First),[sr.Backwards]:()=>oa(w,ar.Last)})}C()}return Oe(Be,[aa({ourProps:k,theirProps:{...e,...n},slot:v,attrs:e,slots:i,name:"PopoverButton"}),m&&!f&&r.isPortalled.value&&Oe(Yd,{id:d,features:Cu.Focusable,as:"button",type:"button",onFocus:_})])}}});Y({name:"PopoverOverlay",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(n,{attrs:e,slots:i}){let t=Su("PopoverOverlay"),r=`headlessui-popover-overlay-${sa()}`,a=kg(),s=ne(()=>a!==null?a.value===us.Open:t.popoverState.value===0);function o(){t.closePopover()}return()=>{let u={open:t.popoverState.value===0};return aa({ourProps:{id:r,"aria-hidden":!0,onClick:o},theirProps:n,slot:u,attrs:e,slots:i,features:os.RenderStrategy|os.Static,visible:s.value,name:"PopoverOverlay"})}}});let l7=Y({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1}},inheritAttrs:!1,setup(n,{attrs:e,slots:i,expose:t}){let{focus:r}=n,a=Su("PopoverPanel"),s=ne(()=>fs(a.panel)),o=`headlessui-focus-sentinel-before-${sa()}`,u=`headlessui-focus-sentinel-after-${sa()}`;t({el:a.panel,$el:a.panel}),Un(Ag,a.panelId),li(()=>{var g,m;if(!r||a.popoverState.value!==0||!a.panel)return;let v=(g=s.value)==null?void 0:g.activeElement;(m=de(a.panel))!=null&&m.contains(v)||oa(de(a.panel),ar.First)});let f=kg(),l=ne(()=>f!==null?f.value===us.Open:a.popoverState.value===0);function d(g){var m,v;switch(g.key){case bt.Escape:if(a.popoverState.value!==0||!de(a.panel)||s.value&&!((m=de(a.panel))!=null&&m.contains(s.value.activeElement)))return;g.preventDefault(),g.stopPropagation(),a.closePopover(),(v=de(a.button))==null||v.focus();break}}function c(g){var m,v,k,y,_;let w=g.relatedTarget;!w||!de(a.panel)||(m=de(a.panel))!=null&&m.contains(w)||(a.closePopover(),(((k=(v=de(a.beforePanelSentinel))==null?void 0:v.contains)==null?void 0:k.call(v,w))||((_=(y=de(a.afterPanelSentinel))==null?void 0:y.contains)==null?void 0:_.call(y,w)))&&w.focus({preventScroll:!0}))}let F=Eg();function h(){let g=de(a.panel);if(!g)return;function m(){wt(F.value,{[sr.Forwards]:()=>{oa(g,ar.Next)},[sr.Backwards]:()=>{var v;(v=de(a.button))==null||v.focus({preventScroll:!0})}})}m()}function p(){let g=de(a.panel);if(!g)return;function m(){wt(F.value,{[sr.Forwards]:()=>{var v,k;let y=de(a.button),_=de(a.panel);if(!y)return;let w=bg(),C=w.indexOf(y),D=w.slice(0,C+1),A=[...w.slice(C+1),...D];for(let B of A.slice())if(((k=(v=B==null?void 0:B.id)==null?void 0:v.startsWith)==null?void 0:k.call(v,"headlessui-focus-sentinel-"))||(_==null?void 0:_.contains(B))){let M=A.indexOf(B);M!==-1&&A.splice(M,1)}oa(A,ar.First,!1)},[sr.Backwards]:()=>oa(g,ar.Previous)})}m()}return()=>{let g={open:a.popoverState.value===0,close:a.close},m={ref:a.panel,id:a.panelId,onKeydown:d,onFocusout:r&&a.popoverState.value===0?c:void 0,tabIndex:-1};return aa({ourProps:m,theirProps:{...e,...gg(n,["focus"])},attrs:e,slot:g,slots:{...i,default:(...v)=>{var k;return[Oe(Be,[l.value&&a.isPortalled.value&&Oe(Yd,{id:o,ref:a.beforePanelSentinel,features:Cu.Focusable,as:"button",type:"button",onFocus:h}),(k=i.default)==null?void 0:k.call(i,...v),l.value&&a.isPortalled.value&&Oe(Yd,{id:u,ref:a.afterPanelSentinel,features:Cu.Focusable,as:"button",type:"button",onFocus:p})])]}},features:os.RenderStrategy|os.Static,visible:l.value,name:"PopoverPanel"})}}});Y({name:"PopoverGroup",props:{as:{type:[Object,String],default:"div"}},setup(n,{attrs:e,slots:i,expose:t}){let r=S(null),a=S([]),s=ne(()=>fs(r));t({el:r,$el:r});function o(d){let c=a.value.indexOf(d);c!==-1&&a.value.splice(c,1)}function u(d){return a.value.push(d),()=>{o(d)}}function f(){var d;let c=s.value;if(!c)return!1;let F=c.activeElement;return(d=de(r))!=null&&d.contains(F)?!0:a.value.some(h=>{var p,g;return((p=c.getElementById(h.buttonId))==null?void 0:p.contains(F))||((g=c.getElementById(h.panelId))==null?void 0:g.contains(F))})}function l(d){for(let c of a.value)c.buttonId!==d&&c.close()}return Un(Cg,{registerPopover:u,unregisterPopover:o,isFocusWithinPopoverGroup:f,closeOthers:l}),()=>aa({ourProps:{ref:r},theirProps:n,slot:{},attrs:e,slots:i,name:"PopoverGroup"})}});const d7={class:"comment-form flex gap-4"},c7={class:"flex flex-1 flex-col gap-y-4"},F7={class:"flex items-center justify-between"},h7={class:"flex items-center gap-3"},m7={class:"text-sm font-medium"},v7={class:"flex flex-row items-center gap-3"},Kd=Y({__name:"Form",props:{comment:{default:void 0},reply:{default:void 0}},emits:["created"],setup(n,{emit:e}){const i=n,t=Ke("currentUser"),r=Ke("kind"),a=Ke("name"),s=Ke("group"),o=S(!1),u=S(""),f=S(!0),l=S(!1),d=async()=>{if(!i.comment){c();return}F()},c=async()=>{if(!r||!a){console.error("Please provide kind and name");return}try{l.value=!0;const y={raw:u.value,content:u.value,allowNotification:f.value,subjectRef:{group:s,kind:r,name:a,version:"v1alpha1"}};await ss.comment.createComment1({commentRequest:y}),u.value="",e("created")}catch(y){console.error("Failed to create comment",y)}finally{l.value=!1}},F=async()=>{if(!r||!a){console.error("Please provide kind and name");return}try{l.value=!0;const y={raw:u.value,content:u.value,allowNotification:f.value};i.reply&&(y.quoteReply=i.reply.metadata.name),await ss.comment.createReply1({name:i.comment.metadata.name,replyRequest:y}),u.value="",e("created")}catch(y){console.error("Failed to create comment reply",y)}finally{l.value=!1}},h=()=>{window.open("/logout")},p=S(null),g=S(),m=new Sd({data:AC,theme:"light",autoFocus:!0,i18n:BC,onEmojiSelect:v});function v(y){u.value+=y.native,g.value.focus()}li(()=>{var y;p.value&&((y=p.value)==null||y.appendChild(m))});const{Command_Enter:k}=fb();return li(()=>{k.value&&d()}),(y,_)=>(J(),fe("div",d7,[$("div",c7,[Ve("",!0),Xi($("textarea",{ref_key:"contentInputRef",ref:g,"onUpdate:modelValue":_[0]||(_[0]=w=>u.value=w),required:"",class:"rounded-base focus:border-secondary h-28 w-full border-gray-300 shadow-sm outline-0 ring-0",placeholder:"Write a comment..."},null,512),[[Wt,u.value]]),$("div",F7,[$("div",h7,[T(t)?(J(),fe(Be,{key:0},[G(T(hl),{src:T(t).spec.avatar,size:"sm",circle:""},null,8,["src"]),$("span",m7,We(T(t).spec.displayName),1),G(T(Kt),{size:"sm",onClick:h},{default:De(()=>[Cn("\u6CE8\u9500")]),_:1})],64)):(J(),un(T(Kt),{key:1,size:"sm",onClick:_[1]||(_[1]=w=>o.value=!0)},{icon:De(()=>[G(T(Kh),{class:"h-full w-full"})]),default:De(()=>[Cn(" \u767B\u5F55 ")]),_:1}))]),$("div",v7,[G(T(Bg),{class:"relative"},{default:De(({open:w})=>[G(T(f7),{class:Ue([w?"":"text-opacity-90","outline-0"]),as:"div"},{default:De(()=>[G(T(OC),{class:"h-5 w-5 cursor-pointer text-gray-500 transition-all hover:text-gray-900"})]),_:2},1032,["class"]),G(Ht,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:De(()=>[G(T(l7),{class:"absolute z-10 mt-3 w-screen max-w-sm -translate-x-1/2 transform px-4 sm:px-0"},{default:De(()=>[$("div",{ref_key:"emojiPickerRef",ref:p},null,512)]),_:1})]),_:1})]),_:1}),G(T(Kt),{disabled:!u.value||!T(t),type:"secondary",loading:l.value,onClick:d},{icon:De(()=>[G(T(NC),{class:"h-full w-full"})]),default:De(()=>[Cn(" \u63D0\u4EA4\u8BC4\u8BBA ")]),_:1},8,["disabled","loading"])])])]),G(SC,{visible:o.value,"onUpdate:visible":_[2]||(_[2]=w=>o.value=w)},null,8,["visible"])]))}}),p7={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},g7=[$("path",{fill:"currentColor",d:"M10 9V5l-7 7l7 7v-4.1c5 0 8.5 1.6 11 5.1c-1-5-4-10-11-11Z"},null,-1)];function y7(n,e){return J(),fe("svg",p7,g7)}var k7={name:"mdi-reply",render:y7};const w7=["id"],b7={class:"flex flex-row gap-3"},_7={class:"reply-avatar"},E7={class:"flex-1"},D7={class:"reply-informations flex items-center"},C7={class:"flex flex-auto items-center gap-3"},S7={class:"text-sm font-medium"},A7=["href"],B7={class:"reply-content mt-2"},x7={class:"text-sm text-gray-800"},M7=["href"],P7={key:1},O7={class:"reply-actions mt-2 flex flex-auto items-center gap-1"},T7=Y({__name:"ReplyItem",props:{comment:null,reply:null,replies:null},emits:["reload"],setup(n,{emit:e}){const i=n,t=S(!1),r=fl(new Date(i.reply.metadata.creationTimestamp||new Date)),a=ne(()=>{const{quoteReply:l}=i.reply.spec;if(!!l)return i.replies.find(d=>d.metadata.name===l)}),s=()=>{e("reload"),t.value=!1},o=Ke("hoveredReply"),u=l=>{o&&(o.value=l?a.value:void 0)},f=ne(()=>{var l;return((l=o==null?void 0:o.value)==null?void 0:l.metadata.name)===i.reply.metadata.name});return(l,d)=>{var c,F,h,p;return J(),fe("div",{id:`reply-${n.reply.metadata.name}`,class:Ue(["reply-item py-3",{"animate-breath":T(f)}])},[$("div",b7,[$("div",_7,[G(T(hl),{src:(F=(c=n.reply)==null?void 0:c.owner)==null?void 0:F.avatar,alt:(p=(h=n.reply)==null?void 0:h.owner)==null?void 0:p.displayName,size:"sm",circle:""},null,8,["src","alt"])]),$("div",E7,[$("div",D7,[$("div",C7,[$("div",S7,We(n.reply.owner.displayName),1),$("a",{href:`#reply-${n.reply.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline"},We(T(r)),9,A7),G(T(Zh),{rounded:""},{default:De(()=>[Cn("Author")]),_:1})])]),$("div",B7,[$("p",x7,[T(a)?(J(),fe("a",{key:0,class:"mr-1 inline-flex flex-row items-center gap-1 rounded bg-gray-200 py-0.5 px-1 text-xs font-medium text-gray-600 hover:text-blue-500 hover:underline",href:`#reply-${T(a).metadata.name}`,onMouseenter:d[0]||(d[0]=g=>u(!0)),onMouseleave:d[1]||(d[1]=g=>u(!1))},[G(T(k7)),$("span",null,We(T(a).owner.displayName),1)],40,M7)):Ve("",!0),T(a)?(J(),fe("br",P7)):Ve("",!0),Cn(" "+We(n.reply.spec.content),1)])]),$("div",O7,[$("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900",onClick:d[2]||(d[2]=g=>t.value=!t.value)}," \u56DE\u590D ")]),t.value?(J(),un(Kd,{key:0,class:"mt-2",comment:n.comment,reply:n.reply,onCreated:s},null,8,["comment","reply"])):Ve("",!0)])])],10,w7)}}});var I7=(n,e)=>{const i=n.__vccOpts||n;for(const[t,r]of e)i[t]=r;return i};const L7={},N7={class:"flex items-center justify-center py-2 transition-all"},j7=[$("svg",{class:"h-5 w-5 animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[$("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),$("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"})],-1)];function R7(n,e){return J(),fe("div",N7,j7)}var xg=I7(L7,[["render",R7]]);const $7=["id"],z7={class:"flex flex-row gap-3"},H7={class:"comment-avatar"},U7={class:"flex-1"},W7={class:"comment-informations flex items-center"},q7={class:"flex flex-auto items-center gap-3"},V7={class:"text-sm font-medium"},G7=["href"],Y7={class:"comment-content mt-2"},K7={class:"text-sm text-gray-800"},Q7={class:"comment-actions mt-2 flex flex-auto items-center gap-1"},J7=$("span",{class:"text-gray-600"},"\xB7",-1),Z7={key:1,class:"comment-replies mt-2"},X7={class:"flex flex-col divide-y divide-gray-100"},eS=Y({__name:"CommentItem",props:{comment:{default:void 0}},setup(n){const e=n,i=S(!1),t=S(!1),r=S([]),a=S(!1),s=S();Un("hoveredReply",s);const o=fl(new Date(e.comment.metadata.creationTimestamp||new Date)),u=ne(()=>(e.comment,!1)),f=async()=>{try{a.value=!0;const{data:d}=await ss.comment.listCommentReplies({name:e.comment.metadata.name});r.value=d.items}catch(d){console.error("Failed to fetch comment replies",d)}finally{a.value=!1}};ge(()=>i.value,()=>{i.value?f():r.value.length=0});const l=()=>{t.value=!1,i.value=!0,f()};return(d,c)=>{var F,h,p,g,m,v,k,y,_,w,C;return J(),fe("div",{id:`comment-${(F=n.comment)==null?void 0:F.metadata.name}`,class:"comment-item py-4"},[$("div",z7,[$("div",H7,[G(T(hl),{src:(p=(h=n.comment)==null?void 0:h.owner)==null?void 0:p.avatar,alt:(m=(g=n.comment)==null?void 0:g.owner)==null?void 0:m.displayName,size:"sm",circle:""},null,8,["src","alt"])]),$("div",U7,[$("div",W7,[$("div",q7,[$("div",V7,We((k=(v=n.comment)==null?void 0:v.owner)==null?void 0:k.displayName),1),$("a",{href:`#comment-${(y=n.comment)==null?void 0:y.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline"},We(T(o)),9,G7),T(u)?(J(),un(T(Zh),{key:0,rounded:""},{default:De(()=>[Cn("Author")]),_:1})):Ve("",!0)])]),$("div",Y7,[$("p",K7,We((_=n.comment)==null?void 0:_.spec.content),1)]),$("div",Q7,[$("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900",onClick:c[0]||(c[0]=D=>i.value=!i.value)},We(((C=(w=n.comment)==null?void 0:w.status)==null?void 0:C.replyCount)||0)+" \u6761\u56DE\u590D ",1),J7,$("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900",onClick:c[1]||(c[1]=D=>t.value=!t.value)}," \u52A0\u5165\u56DE\u590D ")]),t.value?(J(),un(Kd,{key:0,class:"mt-2",comment:n.comment,onCreated:l},null,8,["comment"])):Ve("",!0),i.value?(J(),fe("div",Z7,[$("div",X7,[a.value?(J(),un(xg,{key:0})):!r.value.length&&!a.value&&!t.value?(J(),un(T(vv),{key:1,title:"\u6682\u65E0\u56DE\u590D",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u56DE\u590D"},{actions:De(()=>[G(T(Jh),null,{default:De(()=>[G(T(Kt),{type:"default",onClick:f},{default:De(()=>[Cn(" \u5237\u65B0 ")]),_:1}),G(T(Kt),{type:"primary",onClick:c[2]||(c[2]=D=>t.value=!0)},{default:De(()=>[Cn(" \u56DE\u590D ")]),_:1})]),_:1})]),_:1})):(J(!0),fe(Be,{key:2},Rs(r.value,(D,A)=>(J(),un(T7,{key:A,class:Ue({"!pt-2":A===1}),comment:n.comment,reply:D,replies:r.value,onReload:f},null,8,["class","comment","reply","replies"]))),128))])])):Ve("",!0)])])],8,$7)}}}),nS={class:"halo-comment-widget"},iS={class:"comment-timeline mt-6"},tS={class:"flex items-center"},rS={class:"flex flex-auto items-center gap-1"},aS={class:"text-sm font-medium text-gray-900"},sS=$("div",null,null,-1),oS={class:"mt-4 flex flex-col divide-y divide-gray-100"},uS={key:0,class:"my-4 bg-white sm:flex sm:items-center sm:justify-center"},fS=Y({__name:"Comment",props:{kind:{default:void 0},name:{default:void 0},group:{default:void 0}},setup(n){const e=n;Un("kind",e.kind),Un("name",e.name),Un("group",e.group);const i=S(),t=S({page:1,size:20,total:0,items:[],first:!0,last:!1,hasNext:!1,hasPrevious:!1}),r=S(!1);Un("currentUser",i);const a=async()=>{try{const{data:f}=await ss.user.getCurrentUserDetail();i.value=f}catch(f){console.error("Fetch logined user failed",f)}},s=async()=>{try{r.value=!0;const{data:f}=await ss.comment.listComments1({page:t.value.page,size:t.value.size,kind:e.kind,name:e.name,group:e.group,version:"v1alpha1"});t.value=f}catch(f){console.error("Failed to fetch comments",f)}finally{r.value=!1}},o=({page:f,size:l})=>{t.value.page=f,t.value.size=l,s()};Zi(()=>{a(),s()});const u=()=>{s()};return(f,l)=>{var d;return J(),fe("div",nS,[G(Kd,{onCreated:u}),$("div",iS,[$("div",tS,[$("div",rS,[$("span",aS,We(((d=t.value)==null?void 0:d.total)||0)+" \u6761\u8BC4\u8BBA ",1),Ve("",!0),Ve("",!0)]),sS]),$("div",oS,[r.value?(J(),un(xg,{key:0})):!t.value.items.length&&!r.value?(J(),un(T(vv),{key:1,title:"\u6682\u65E0\u8BC4\u8BBA",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u8BC4\u8BBA"},{actions:De(()=>[G(T(Jh),null,{default:De(()=>[G(T(Kt),{type:"default",onClick:s},{default:De(()=>[Cn(" \u5237\u65B0 ")]),_:1})]),_:1})]),_:1})):(J(!0),fe(Be,{key:2},Rs(t.value.items,(c,F)=>(J(),un(eS,{key:F,comment:c},null,8,["comment"]))),128))])]),t.value.hasPrevious||t.value.hasNext?(J(),fe("div",uS,[G(T(h9),{page:t.value.page,size:t.value.size,total:t.value.total,onChange:o},null,8,["page","size","total"])])):Ve("",!0)])}}});var zS="",HS="";function lS(n,e,i){var f;const t=document.querySelector(n);t||console.error("Element not found",n);const r=document.createElement("div"),a=document.createElement("div"),s=document.createElement("link"),o=((f=r.attachShadow)==null?void 0:f.call(r,{mode:"open"}))||r;s.setAttribute("rel","stylesheet"),s.setAttribute("href",e),o.appendChild(s),o.appendChild(a),t==null||t.appendChild(r),y0(fS,i).mount(a)}return xu.init=lS,Object.defineProperties(xu,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),xu}({}); diff --git a/widget/package.json b/widget/package.json index c6e97a0..eb49307 100644 --- a/widget/package.json +++ b/widget/package.json @@ -11,28 +11,28 @@ "author": "@halo-dev", "license": "GPL-3.0", "dependencies": { - "@halo-dev/comment-widget": "0.0.0-alpha.10", + "@halo-dev/comment-widget": "0.0.0-alpha.13", "pinia": "^2.0.22", - "vue": "^3.2.39", + "vue": "^3.2.40", "vue-router": "^4.1.5" }, "devDependencies": { - "@rushstack/eslint-patch": "^1.1.4", + "@rushstack/eslint-patch": "^1.2.0", "@types/jsdom": "^16.2.15", - "@types/node": "^16.11.58", + "@types/node": "^16.11.62", "@vitejs/plugin-vue": "^2.3.4", - "@vue/compiler-sfc": "^3.2.39", + "@vue/compiler-sfc": "^3.2.40", "@vue/eslint-config-prettier": "^7.0.0", - "@vue/eslint-config-typescript": "^11.0.1", - "@vue/test-utils": "^2.0.2", + "@vue/eslint-config-typescript": "^11.0.2", + "@vue/test-utils": "^2.1.0", "@vue/tsconfig": "^0.1.3", - "eslint": "^8.23.0", - "eslint-plugin-vue": "^9.4.0", + "eslint": "^8.24.0", + "eslint-plugin-vue": "^9.5.1", "jsdom": "^20.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.7.1", "typescript": "~4.7.4", "vite": "^2.9.15", - "vue-tsc": "^0.40.12" + "vue-tsc": "^0.40.13" } } diff --git a/widget/pnpm-lock.yaml b/widget/pnpm-lock.yaml index 250ad00..c8ca066 100644 --- a/widget/pnpm-lock.yaml +++ b/widget/pnpm-lock.yaml @@ -1,52 +1,52 @@ lockfileVersion: 5.4 specifiers: - '@halo-dev/comment-widget': 0.0.0-alpha.10 - '@rushstack/eslint-patch': ^1.1.4 + '@halo-dev/comment-widget': 0.0.0-alpha.13 + '@rushstack/eslint-patch': ^1.2.0 '@types/jsdom': ^16.2.15 - '@types/node': ^16.11.58 + '@types/node': ^16.11.62 '@vitejs/plugin-vue': ^2.3.4 - '@vue/compiler-sfc': ^3.2.39 + '@vue/compiler-sfc': ^3.2.40 '@vue/eslint-config-prettier': ^7.0.0 - '@vue/eslint-config-typescript': ^11.0.1 - '@vue/test-utils': ^2.0.2 + '@vue/eslint-config-typescript': ^11.0.2 + '@vue/test-utils': ^2.1.0 '@vue/tsconfig': ^0.1.3 - eslint: ^8.23.0 - eslint-plugin-vue: ^9.4.0 + eslint: ^8.24.0 + eslint-plugin-vue: ^9.5.1 jsdom: ^20.0.0 npm-run-all: ^4.1.5 pinia: ^2.0.22 prettier: ^2.7.1 typescript: ~4.7.4 vite: ^2.9.15 - vue: ^3.2.39 + vue: ^3.2.40 vue-router: ^4.1.5 - vue-tsc: ^0.40.12 + vue-tsc: ^0.40.13 dependencies: - '@halo-dev/comment-widget': 0.0.0-alpha.10 - pinia: 2.0.22_uxrvejtcwrakwzzo6hlouuo2vq - vue: 3.2.39 - vue-router: 4.1.5_vue@3.2.39 + '@halo-dev/comment-widget': 0.0.0-alpha.13 + pinia: 2.0.22_rg374xhldfcyvjtaj3qktyfz5y + vue: 3.2.40 + vue-router: 4.1.5_vue@3.2.40 devDependencies: - '@rushstack/eslint-patch': 1.1.4 + '@rushstack/eslint-patch': 1.2.0 '@types/jsdom': 16.2.15 - '@types/node': 16.11.58 - '@vitejs/plugin-vue': 2.3.4_vite@2.9.15+vue@3.2.39 - '@vue/compiler-sfc': 3.2.39 - '@vue/eslint-config-prettier': 7.0.0_bxpuzolsxufkw2ipnoyzzxnyrm - '@vue/eslint-config-typescript': 11.0.1_r4pnssklstyy5blkxbeioxjlhm - '@vue/test-utils': 2.0.2_vue@3.2.39 - '@vue/tsconfig': 0.1.3_@types+node@16.11.58 - eslint: 8.23.0 - eslint-plugin-vue: 9.4.0_eslint@8.23.0 + '@types/node': 16.11.62 + '@vitejs/plugin-vue': 2.3.4_vite@2.9.15+vue@3.2.40 + '@vue/compiler-sfc': 3.2.40 + '@vue/eslint-config-prettier': 7.0.0_uoqzb7ub56apwdxrwurswvvfwe + '@vue/eslint-config-typescript': 11.0.2_kpxf5iryryrlim2ejhkirkiuey + '@vue/test-utils': 2.1.0_vue@3.2.40 + '@vue/tsconfig': 0.1.3_@types+node@16.11.62 + eslint: 8.24.0 + eslint-plugin-vue: 9.5.1_eslint@8.24.0 jsdom: 20.0.0 npm-run-all: 4.1.5 prettier: 2.7.1 typescript: 4.7.4 vite: 2.9.15 - vue-tsc: 0.40.12_typescript@4.7.4 + vue-tsc: 0.40.13_typescript@4.7.4 packages: @@ -153,8 +153,8 @@ packages: dev: true optional: true - /@eslint/eslintrc/1.3.1: - resolution: {integrity: sha512-OhSY22oQQdw3zgPOOwdoj01l/Dzl1Z+xyUP33tkSN+aqyEhymJCcPHyXt+ylW8FSe0TfRC2VG+ROQOapD0aZSQ==} + /@eslint/eslintrc/1.3.2: + resolution: {integrity: sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 @@ -174,8 +174,8 @@ packages: resolution: {integrity: sha512-+WBXS2/tHmeugeiDNXmBrtV9NiU22lylzwcugH/eTXGy7MnpAG4j//o2OOYyhVcp9BUBoh7MHuu0UcyLHq1bgg==} dev: false - /@halo-dev/comment-widget/0.0.0-alpha.10: - resolution: {integrity: sha512-XvQGStcYu7M+8qLS0j8VfXHK6Cd9Vme3vBCNdKNDlBFlQ8SuODZUZIiGidCdG7MEnFYfY1zDmkO+KM1lG38FFA==} + /@halo-dev/comment-widget/0.0.0-alpha.13: + resolution: {integrity: sha512-v6bdtOsRKN++Eg1tJwJ38VIVhT2LW6aTuxYXDaldk1kAdf/RFlR92ERJ+IXrewQZGsLFCKIPlvlrqCOnybSIeQ==} dependencies: '@emoji-mart/data': 1.0.6 '@halo-dev/api-client': 0.0.35 @@ -220,8 +220,8 @@ packages: vue: 3.2.40 dev: false - /@humanwhocodes/config-array/0.10.4: - resolution: {integrity: sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==} + /@humanwhocodes/config-array/0.10.7: + resolution: {integrity: sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==} engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 @@ -281,8 +281,8 @@ packages: fastq: 1.13.0 dev: true - /@rushstack/eslint-patch/1.1.4: - resolution: {integrity: sha512-LwzQKA4vzIct1zNZzBmRKI9QuNpLgTQMEjsQLf3BXuGYb3QPTP4Yjf6mkdX+X1mYttZ808QpOwAzZjv28kq7DA==} + /@rushstack/eslint-patch/1.2.0: + resolution: {integrity: sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==} dev: true /@tootallnate/once/2.0.0: @@ -293,7 +293,7 @@ packages: /@types/jsdom/16.2.15: resolution: {integrity: sha512-nwF87yjBKuX/roqGYerZZM0Nv1pZDMAT5YhOHYeM/72Fic+VEqJh4nyoqoapzJnW3pUlfxPY5FhgsJtM+dRnQQ==} dependencies: - '@types/node': 16.11.58 + '@types/node': 16.11.62 '@types/parse5': 6.0.3 '@types/tough-cookie': 4.0.2 dev: true @@ -302,8 +302,8 @@ packages: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} dev: true - /@types/node/16.11.58: - resolution: {integrity: sha512-uMVxJ111wpHzkx/vshZFb6Qni3BOMnlWLq7q9jrwej7Yw/KvjsEbpxCCxw+hLKxexFMc8YmpG8J9tnEe/rKsIg==} + /@types/node/16.11.62: + resolution: {integrity: sha512-K/ggecSdwAAy2NUW4WKmF4Rc03GKbsfP+k326UWgckoS+Rzd2PaWbjk76dSmqdLQvLTJAO9axiTUJ6488mFsYQ==} dev: true /@types/parse5/6.0.3: @@ -318,7 +318,7 @@ packages: resolution: {integrity: sha512-5d2RhCard1nQUC3aHcq/gHzWYO6K0WJmAbjO7mQJgCQKtZpgXxv1rOM6O/dBDhDYYVutk1sciOgNSe+5YyfM8A==} dev: false - /@typescript-eslint/eslint-plugin/5.32.0_qxm5rz6zb6oghkem52fn3sq3ka: + /@typescript-eslint/eslint-plugin/5.32.0_3ic2fp2wiebsbjbmtb5tdwqf5u: resolution: {integrity: sha512-CHLuz5Uz7bHP2WgVlvoZGhf0BvFakBJKAD/43Ty0emn4wXWv5k01ND0C0fHcl/Im8Td2y/7h44E9pca9qAu2ew==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -329,12 +329,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.32.0_sorwav4hsh5vncerguqybud76i + '@typescript-eslint/parser': 5.32.0_oma37ntcsyoxqn5sr4l7ekf4na '@typescript-eslint/scope-manager': 5.32.0 - '@typescript-eslint/type-utils': 5.32.0_sorwav4hsh5vncerguqybud76i - '@typescript-eslint/utils': 5.32.0_sorwav4hsh5vncerguqybud76i + '@typescript-eslint/type-utils': 5.32.0_oma37ntcsyoxqn5sr4l7ekf4na + '@typescript-eslint/utils': 5.32.0_oma37ntcsyoxqn5sr4l7ekf4na debug: 4.3.4 - eslint: 8.23.0 + eslint: 8.24.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 @@ -345,7 +345,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.32.0_sorwav4hsh5vncerguqybud76i: + /@typescript-eslint/parser/5.32.0_oma37ntcsyoxqn5sr4l7ekf4na: resolution: {integrity: sha512-IxRtsehdGV9GFQ35IGm5oKKR2OGcazUoiNBxhRV160iF9FoyuXxjY+rIqs1gfnd+4eL98OjeGnMpE7RF/NBb3A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -359,7 +359,7 @@ packages: '@typescript-eslint/types': 5.32.0 '@typescript-eslint/typescript-estree': 5.32.0_typescript@4.7.4 debug: 4.3.4 - eslint: 8.23.0 + eslint: 8.24.0 typescript: 4.7.4 transitivePeerDependencies: - supports-color @@ -373,7 +373,7 @@ packages: '@typescript-eslint/visitor-keys': 5.32.0 dev: true - /@typescript-eslint/type-utils/5.32.0_sorwav4hsh5vncerguqybud76i: + /@typescript-eslint/type-utils/5.32.0_oma37ntcsyoxqn5sr4l7ekf4na: resolution: {integrity: sha512-0gSsIhFDduBz3QcHJIp3qRCvVYbqzHg8D6bHFsDMrm0rURYDj+skBK2zmYebdCp+4nrd9VWd13egvhYFJj/wZg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -383,9 +383,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.32.0_sorwav4hsh5vncerguqybud76i + '@typescript-eslint/utils': 5.32.0_oma37ntcsyoxqn5sr4l7ekf4na debug: 4.3.4 - eslint: 8.23.0 + eslint: 8.24.0 tsutils: 3.21.0_typescript@4.7.4 typescript: 4.7.4 transitivePeerDependencies: @@ -418,7 +418,7 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.32.0_sorwav4hsh5vncerguqybud76i: + /@typescript-eslint/utils/5.32.0_oma37ntcsyoxqn5sr4l7ekf4na: resolution: {integrity: sha512-W7lYIAI5Zlc5K082dGR27Fczjb3Q57ECcXefKU/f0ajM5ToM0P+N9NmJWip8GmGu/g6QISNT+K6KYB+iSHjXCQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -428,9 +428,9 @@ packages: '@typescript-eslint/scope-manager': 5.32.0 '@typescript-eslint/types': 5.32.0 '@typescript-eslint/typescript-estree': 5.32.0_typescript@4.7.4 - eslint: 8.23.0 + eslint: 8.24.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.23.0 + eslint-utils: 3.0.0_eslint@8.24.0 transitivePeerDependencies: - supports-color - typescript @@ -444,7 +444,7 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /@vitejs/plugin-vue/2.3.4_vite@2.9.15+vue@3.2.39: + /@vitejs/plugin-vue/2.3.4_vite@2.9.15+vue@3.2.40: resolution: {integrity: sha512-IfFNbtkbIm36O9KB8QodlwwYvTEsJb4Lll4c2IwB3VHc2gie2mSPtSzL0eYay7X2jd/2WX02FjSGTWR6OPr/zg==} engines: {node: '>=12.0.0'} peerDependencies: @@ -452,55 +452,47 @@ packages: vue: ^3.2.25 dependencies: vite: 2.9.15 - vue: 3.2.39 + vue: 3.2.40 dev: true - /@volar/code-gen/0.40.12: - resolution: {integrity: sha512-+3b3byPLy68CGOBti1SOcw6pIa4QxUoavHHWMszO4k4Vjx2VXp9CGP51sEqNKSwJtifkmnx714DIPiWSqw5ruQ==} + /@volar/code-gen/0.40.13: + resolution: {integrity: sha512-4gShBWuMce868OVvgyA1cU5WxHbjfEme18Tw6uVMfweZCF5fB2KECG0iPrA9D54vHk3FeHarODNwgIaaFfUBlA==} dependencies: - '@volar/source-map': 0.40.12 + '@volar/source-map': 0.40.13 dev: true - /@volar/source-map/0.40.12: - resolution: {integrity: sha512-LzajUrwi5Xcte1OgmpdOTNY7+LgfFCm4evhpkUyeOgrg/71Hu8FXXoUtFG/wCFPVeSKvAGCD1QiCOsClkbFL1Q==} + /@volar/source-map/0.40.13: + resolution: {integrity: sha512-dbdkAB2Nxb0wLjAY5O64o3ywVWlAGONnBIoKAkXSf6qkGZM+nJxcizsoiI66K+RHQG0XqlyvjDizfnTxr+6PWg==} dependencies: '@vue/reactivity': 3.2.38 dev: true - /@volar/typescript-faster/0.40.12: - resolution: {integrity: sha512-P14R7/xrnzEJo8gOchkwgiBZZT/uRO8qAqEeR2I44R/Kmdq3OnyoyFt95LTwKTIx06mJH2cAKVknMNAXEnlYow==} + /@volar/typescript-faster/0.40.13: + resolution: {integrity: sha512-uy+TlcFkKoNlKEnxA4x5acxdxLyVDIXGSc8cYDNXpPKjBKXrQaetzCzlO3kVBqu1VLMxKNGJMTKn35mo+ILQmw==} dependencies: semver: 7.3.7 dev: true - /@volar/vue-language-core/0.40.12: - resolution: {integrity: sha512-pm//O1gvOYg/l9McmBJsEZ8lsERc4M3cVCT97QhclsKFh8il1GE4uyMSakQXVok+VSvKRBFpHyQb56EDJYEF3w==} + /@volar/vue-language-core/0.40.13: + resolution: {integrity: sha512-QkCb8msi2KUitTdM6Y4kAb7/ZlEvuLcbBFOC2PLBlFuoZwyxvSP7c/dBGmKGtJlEvMX0LdCyrg5V2aBYxD38/Q==} dependencies: - '@volar/code-gen': 0.40.12 - '@volar/source-map': 0.40.12 - '@vue/compiler-core': 3.2.39 - '@vue/compiler-dom': 3.2.39 - '@vue/compiler-sfc': 3.2.39 - '@vue/reactivity': 3.2.39 - '@vue/shared': 3.2.39 + '@volar/code-gen': 0.40.13 + '@volar/source-map': 0.40.13 + '@vue/compiler-core': 3.2.40 + '@vue/compiler-dom': 3.2.40 + '@vue/compiler-sfc': 3.2.40 + '@vue/reactivity': 3.2.40 + '@vue/shared': 3.2.40 dev: true - /@volar/vue-typescript/0.40.12: - resolution: {integrity: sha512-Htd/w0xkhsEGhc0xbIrvJZuHLDkSsSBViA+h92KxRftge/goSe532Ah1GJRP+4CcbdcWLhtgWgzEFTiU/Nlyyw==} + /@volar/vue-typescript/0.40.13: + resolution: {integrity: sha512-o7bNztwjs8JmbQjVkrnbZUOfm7q4B8ZYssETISN1tRaBdun6cfNqgpkvDYd+VUBh1O4CdksvN+5BUNnwAz4oCQ==} dependencies: - '@volar/code-gen': 0.40.12 - '@volar/typescript-faster': 0.40.12 - '@volar/vue-language-core': 0.40.12 + '@volar/code-gen': 0.40.13 + '@volar/typescript-faster': 0.40.13 + '@volar/vue-language-core': 0.40.13 dev: true - /@vue/compiler-core/3.2.39: - resolution: {integrity: sha512-mf/36OWXqWn0wsC40nwRRGheR/qoID+lZXbIuLnr4/AngM0ov8Xvv8GHunC0rKRIkh60bTqydlqTeBo49rlbqw==} - dependencies: - '@babel/parser': 7.18.11 - '@vue/shared': 3.2.39 - estree-walker: 2.0.2 - source-map: 0.6.1 - /@vue/compiler-core/3.2.40: resolution: {integrity: sha512-2Dc3Stk0J/VyQ4OUr2yEC53kU28614lZS+bnrCbFSAIftBJ40g/2yQzf4mPBiFuqguMB7hyHaujdgZAQ67kZYA==} dependencies: @@ -508,34 +500,12 @@ packages: '@vue/shared': 3.2.40 estree-walker: 2.0.2 source-map: 0.6.1 - dev: false - - /@vue/compiler-dom/3.2.39: - resolution: {integrity: sha512-HMFI25Be1C8vLEEv1hgEO1dWwG9QQ8LTTPmCkblVJY/O3OvWx6r1+zsox5mKPMGvqYEZa6l8j+xgOfUspgo7hw==} - dependencies: - '@vue/compiler-core': 3.2.39 - '@vue/shared': 3.2.39 /@vue/compiler-dom/3.2.40: resolution: {integrity: sha512-OZCNyYVC2LQJy4H7h0o28rtk+4v+HMQygRTpmibGoG9wZyomQiS5otU7qo3Wlq5UfHDw2RFwxb9BJgKjVpjrQw==} dependencies: '@vue/compiler-core': 3.2.40 '@vue/shared': 3.2.40 - dev: false - - /@vue/compiler-sfc/3.2.39: - resolution: {integrity: sha512-fqAQgFs1/BxTUZkd0Vakn3teKUt//J3c420BgnYgEOoVdTwYpBTSXCMJ88GOBCylmUBbtquGPli9tVs7LzsWIA==} - dependencies: - '@babel/parser': 7.18.11 - '@vue/compiler-core': 3.2.39 - '@vue/compiler-dom': 3.2.39 - '@vue/compiler-ssr': 3.2.39 - '@vue/reactivity-transform': 3.2.39 - '@vue/shared': 3.2.39 - estree-walker: 2.0.2 - magic-string: 0.25.9 - postcss: 8.4.16 - source-map: 0.6.1 /@vue/compiler-sfc/3.2.40: resolution: {integrity: sha512-tzqwniIN1fu1PDHC3CpqY/dPCfN/RN1thpBC+g69kJcrl7mbGiHKNwbA6kJ3XKKy8R6JLKqcpVugqN4HkeBFFg==} @@ -550,39 +520,31 @@ packages: magic-string: 0.25.9 postcss: 8.4.16 source-map: 0.6.1 - dev: false - - /@vue/compiler-ssr/3.2.39: - resolution: {integrity: sha512-EoGCJ6lincKOZGW+0Ky4WOKsSmqL7hp1ZYgen8M7u/mlvvEQUaO9tKKOy7K43M9U2aA3tPv0TuYYQFrEbK2eFQ==} - dependencies: - '@vue/compiler-dom': 3.2.39 - '@vue/shared': 3.2.39 /@vue/compiler-ssr/3.2.40: resolution: {integrity: sha512-80cQcgasKjrPPuKcxwuCx7feq+wC6oFl5YaKSee9pV3DNq+6fmCVwEEC3vvkf/E2aI76rIJSOYHsWSEIxK74oQ==} dependencies: '@vue/compiler-dom': 3.2.40 '@vue/shared': 3.2.40 - dev: false /@vue/devtools-api/6.2.1: resolution: {integrity: sha512-OEgAMeQXvCoJ+1x8WyQuVZzFo0wcyCmUR3baRVLmKBo1LmYZWMlRiXlux5jd0fqVJu6PfDbOrZItVqUEzLobeQ==} dev: false - /@vue/eslint-config-prettier/7.0.0_bxpuzolsxufkw2ipnoyzzxnyrm: + /@vue/eslint-config-prettier/7.0.0_uoqzb7ub56apwdxrwurswvvfwe: resolution: {integrity: sha512-/CTc6ML3Wta1tCe1gUeO0EYnVXfo3nJXsIhZ8WJr3sov+cGASr6yuiibJTL6lmIBm7GobopToOuB3B6AWyV0Iw==} peerDependencies: eslint: '>= 7.28.0' prettier: '>= 2.0.0' dependencies: - eslint: 8.23.0 - eslint-config-prettier: 8.5.0_eslint@8.23.0 - eslint-plugin-prettier: 4.2.1_tgumt6uwl2md3n6uqnggd6wvce + eslint: 8.24.0 + eslint-config-prettier: 8.5.0_eslint@8.24.0 + eslint-plugin-prettier: 4.2.1_cfn5x6ujhhgzv3423d6k7r2zzm prettier: 2.7.1 dev: true - /@vue/eslint-config-typescript/11.0.1_r4pnssklstyy5blkxbeioxjlhm: - resolution: {integrity: sha512-0U+nL0nA7ahnGPk3rTN49x76miUwuQtQPQNWOFvAcjg6nFJkIkA8qbGNtXwsuHtwBwRtWpHhShL3zK07v+632w==} + /@vue/eslint-config-typescript/11.0.2_kpxf5iryryrlim2ejhkirkiuey: + resolution: {integrity: sha512-EiKud1NqlWmSapBFkeSrE994qpKx7/27uCGnhdqzllYDpQZroyX/O6bwjEpeuyKamvLbsGdO6PMR2faIf+zFnw==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 @@ -592,25 +554,16 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.32.0_qxm5rz6zb6oghkem52fn3sq3ka - '@typescript-eslint/parser': 5.32.0_sorwav4hsh5vncerguqybud76i - eslint: 8.23.0 - eslint-plugin-vue: 9.4.0_eslint@8.23.0 + '@typescript-eslint/eslint-plugin': 5.32.0_3ic2fp2wiebsbjbmtb5tdwqf5u + '@typescript-eslint/parser': 5.32.0_oma37ntcsyoxqn5sr4l7ekf4na + eslint: 8.24.0 + eslint-plugin-vue: 9.5.1_eslint@8.24.0 typescript: 4.7.4 - vue-eslint-parser: 9.0.3_eslint@8.23.0 + vue-eslint-parser: 9.0.3_eslint@8.24.0 transitivePeerDependencies: - supports-color dev: true - /@vue/reactivity-transform/3.2.39: - resolution: {integrity: sha512-HGuWu864zStiWs9wBC6JYOP1E00UjMdDWIG5W+FpUx28hV3uz9ODOKVNm/vdOy/Pvzg8+OcANxAVC85WFBbl3A==} - dependencies: - '@babel/parser': 7.18.11 - '@vue/compiler-core': 3.2.39 - '@vue/shared': 3.2.39 - estree-walker: 2.0.2 - magic-string: 0.25.9 - /@vue/reactivity-transform/3.2.40: resolution: {integrity: sha512-HQUCVwEaacq6fGEsg2NUuGKIhUveMCjOk8jGHqLXPI2w6zFoPrlQhwWEaINTv5kkZDXKEnCijAp+4gNEHG03yw==} dependencies: @@ -619,7 +572,6 @@ packages: '@vue/shared': 3.2.40 estree-walker: 2.0.2 magic-string: 0.25.9 - dev: false /@vue/reactivity/3.2.38: resolution: {integrity: sha512-6L4myYcH9HG2M25co7/BSo0skKFHpAN8PhkNPM4xRVkyGl1K5M3Jx4rp5bsYhvYze2K4+l+pioN4e6ZwFLUVtw==} @@ -627,36 +579,16 @@ packages: '@vue/shared': 3.2.38 dev: true - /@vue/reactivity/3.2.39: - resolution: {integrity: sha512-vlaYX2a3qMhIZfrw3Mtfd+BuU+TZmvDrPMa+6lpfzS9k/LnGxkSuf0fhkP0rMGfiOHPtyKoU9OJJJFGm92beVQ==} - dependencies: - '@vue/shared': 3.2.39 - /@vue/reactivity/3.2.40: resolution: {integrity: sha512-N9qgGLlZmtUBMHF9xDT4EkD9RdXde1Xbveb+niWMXuHVWQP5BzgRmE3SFyUBBcyayG4y1lhoz+lphGRRxxK4RA==} dependencies: '@vue/shared': 3.2.40 - dev: false - - /@vue/runtime-core/3.2.39: - resolution: {integrity: sha512-xKH5XP57JW5JW+8ZG1khBbuLakINTgPuINKL01hStWLTTGFOrM49UfCFXBcFvWmSbci3gmJyLl2EAzCaZWsx8g==} - dependencies: - '@vue/reactivity': 3.2.39 - '@vue/shared': 3.2.39 /@vue/runtime-core/3.2.40: resolution: {integrity: sha512-U1+rWf0H8xK8aBUZhnrN97yoZfHbjgw/bGUzfgKPJl69/mXDuSg8CbdBYBn6VVQdR947vWneQBFzdhasyzMUKg==} dependencies: '@vue/reactivity': 3.2.40 '@vue/shared': 3.2.40 - dev: false - - /@vue/runtime-dom/3.2.39: - resolution: {integrity: sha512-4G9AEJP+sLhsqf5wXcyKVWQKUhI+iWfy0hWQgea+CpaTD7BR0KdQzvoQdZhwCY6B3oleSyNLkLAQwm0ya/wNoA==} - dependencies: - '@vue/runtime-core': 3.2.39 - '@vue/shared': 3.2.39 - csstype: 2.6.20 /@vue/runtime-dom/3.2.40: resolution: {integrity: sha512-AO2HMQ+0s2+MCec8hXAhxMgWhFhOPJ/CyRXnmTJ6XIOnJFLrH5Iq3TNwvVcODGR295jy77I6dWPj+wvFoSYaww==} @@ -664,16 +596,6 @@ packages: '@vue/runtime-core': 3.2.40 '@vue/shared': 3.2.40 csstype: 2.6.20 - dev: false - - /@vue/server-renderer/3.2.39_vue@3.2.39: - resolution: {integrity: sha512-1yn9u2YBQWIgytFMjz4f/t0j43awKytTGVptfd3FtBk76t1pd8mxbek0G/DrnjJhd2V7mSTb5qgnxMYt8Z5iSQ==} - peerDependencies: - vue: 3.2.39 - dependencies: - '@vue/compiler-ssr': 3.2.39 - '@vue/shared': 3.2.39 - vue: 3.2.39 /@vue/server-renderer/3.2.40_vue@3.2.40: resolution: {integrity: sha512-gtUcpRwrXOJPJ4qyBpU3EyxQa4EkV8I4f8VrDePcGCPe4O/hd0BPS7v9OgjIQob6Ap8VDz9G+mGTKazE45/95w==} @@ -683,28 +605,23 @@ packages: '@vue/compiler-ssr': 3.2.40 '@vue/shared': 3.2.40 vue: 3.2.40 - dev: false /@vue/shared/3.2.38: resolution: {integrity: sha512-dTyhTIRmGXBjxJE+skC8tTWCGLCVc4wQgRRLt8+O9p5ewBAjoBwtCAkLPrtToSr1xltoe3st21Pv953aOZ7alg==} dev: true - /@vue/shared/3.2.39: - resolution: {integrity: sha512-D3dl2ZB9qE6mTuWPk9RlhDeP1dgNRUKC3NJxji74A4yL8M2MwlhLKUC/49WHjrNzSPug58fWx/yFbaTzGAQSBw==} - /@vue/shared/3.2.40: resolution: {integrity: sha512-0PLQ6RUtZM0vO3teRfzGi4ltLUO5aO+kLgwh4Um3THSR03rpQWLTuRCkuO5A41ITzwdWeKdPHtSARuPkoo5pCQ==} - dev: false - /@vue/test-utils/2.0.2_vue@3.2.39: - resolution: {integrity: sha512-E2P4oXSaWDqTZNbmKZFVLrNN/siVN78YkEqs7pHryWerrlZR9bBFLWdJwRoguX45Ru6HxIflzKl4vQvwRMwm5g==} + /@vue/test-utils/2.1.0_vue@3.2.40: + resolution: {integrity: sha512-U4AxAD/tKJ3ajxYew1gkfEotpr96DE/gLXpbl+nPbsNRqGBfQZZA7YhwGoQNDPgon56v+IGZDrYq7pe3GDl9aw==} peerDependencies: vue: ^3.0.1 dependencies: - vue: 3.2.39 + vue: 3.2.40 dev: true - /@vue/tsconfig/0.1.3_@types+node@16.11.58: + /@vue/tsconfig/0.1.3_@types+node@16.11.62: resolution: {integrity: sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg==} peerDependencies: '@types/node': '*' @@ -712,7 +629,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 16.11.58 + '@types/node': 16.11.62 dev: true /@vueuse/components/8.9.4_vue@3.2.40: @@ -1349,16 +1266,16 @@ packages: source-map: 0.6.1 dev: true - /eslint-config-prettier/8.5.0_eslint@8.23.0: + /eslint-config-prettier/8.5.0_eslint@8.24.0: resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.23.0 + eslint: 8.24.0 dev: true - /eslint-plugin-prettier/4.2.1_tgumt6uwl2md3n6uqnggd6wvce: + /eslint-plugin-prettier/4.2.1_cfn5x6ujhhgzv3423d6k7r2zzm: resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -1369,25 +1286,25 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.23.0 - eslint-config-prettier: 8.5.0_eslint@8.23.0 + eslint: 8.24.0 + eslint-config-prettier: 8.5.0_eslint@8.24.0 prettier: 2.7.1 prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-vue/9.4.0_eslint@8.23.0: - resolution: {integrity: sha512-Nzz2QIJ8FG+rtJaqT/7/ru5ie2XgT9KCudkbN0y3uFYhQ41nuHEaboLAiqwMcK006hZPQv/rVMRhUIwEGhIvfQ==} + /eslint-plugin-vue/9.5.1_eslint@8.24.0: + resolution: {integrity: sha512-Y0sL2RY7Xc9S8kNih9lbwHIDmewUg9bfas6WSzsOWRgDXhIHKxRBZYNAnVcXBFfE+bMWHUA5GLChl7TcTYUI8w==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.23.0 - eslint-utils: 3.0.0_eslint@8.23.0 + eslint: 8.24.0 + eslint-utils: 3.0.0_eslint@8.24.0 natural-compare: 1.4.0 nth-check: 2.1.1 postcss-selector-parser: 6.0.10 semver: 7.3.7 - vue-eslint-parser: 9.0.3_eslint@8.23.0 + vue-eslint-parser: 9.0.3_eslint@8.24.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -1409,13 +1326,13 @@ packages: estraverse: 5.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.23.0: + /eslint-utils/3.0.0_eslint@8.24.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.23.0 + eslint: 8.24.0 eslint-visitor-keys: 2.1.0 dev: true @@ -1429,13 +1346,13 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.23.0: - resolution: {integrity: sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA==} + /eslint/8.24.0: + resolution: {integrity: sha512-dWFaPhGhTAiPcCgm3f6LI2MBWbogMnTJzFBbhXVRQDJPkr9pGZvVjlVfXd+vyDcWPA2Ic9L2AXPIQM0+vk/cSQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint/eslintrc': 1.3.1 - '@humanwhocodes/config-array': 0.10.4 + '@eslint/eslintrc': 1.3.2 + '@humanwhocodes/config-array': 0.10.7 '@humanwhocodes/gitignore-to-minimatch': 1.0.2 '@humanwhocodes/module-importer': 1.0.1 ajv: 6.12.6 @@ -1445,7 +1362,7 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.23.0 + eslint-utils: 3.0.0_eslint@8.24.0 eslint-visitor-keys: 3.3.0 espree: 9.4.0 esquery: 1.4.0 @@ -1453,7 +1370,6 @@ packages: fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 find-up: 5.0.0 - functional-red-black-tree: 1.0.1 glob-parent: 6.0.2 globals: 13.17.0 globby: 11.1.0 @@ -1462,6 +1378,7 @@ packages: import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 + js-sdsl: 4.1.4 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 @@ -1477,15 +1394,6 @@ packages: - supports-color dev: true - /espree/9.3.3: - resolution: {integrity: sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.8.0 - acorn-jsx: 5.3.2_acorn@8.8.0 - eslint-visitor-keys: 3.3.0 - dev: true - /espree/9.4.0: resolution: {integrity: sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1939,6 +1847,10 @@ packages: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true + /js-sdsl/4.1.4: + resolution: {integrity: sha512-Y2/yD55y5jteOAmY50JbUZYwk3CP3wnLPEZnlR1w9oKhITrBEtAxwuWKebFf8hMrPMgbYwFoWK/lH2sBkErELw==} + dev: true + /js-yaml/4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -2281,7 +2193,7 @@ packages: engines: {node: '>=4'} dev: true - /pinia/2.0.22_uxrvejtcwrakwzzo6hlouuo2vq: + /pinia/2.0.22_rg374xhldfcyvjtaj3qktyfz5y: resolution: {integrity: sha512-u+b8/BC+tmvo3ACbYO2w5NfxHWFOjvvw9DQnyT0dW8aUMCPRQT5QnfZ5R5W2MzZBMTeZRMQI7V/QFbafmM9QHw==} peerDependencies: '@vue/composition-api': ^1.4.0 @@ -2295,8 +2207,8 @@ packages: dependencies: '@vue/devtools-api': 6.2.1 typescript: 4.7.4 - vue: 3.2.39 - vue-demi: 0.13.6_vue@3.2.39 + vue: 3.2.40 + vue-demi: 0.13.6_vue@3.2.40 dev: false /postcss-selector-parser/6.0.10: @@ -2716,21 +2628,6 @@ packages: fsevents: 2.3.2 dev: true - /vue-demi/0.13.6_vue@3.2.39: - resolution: {integrity: sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - peerDependencies: - '@vue/composition-api': ^1.0.0-rc.1 - vue: ^3.0.0-0 || ^2.6.0 - peerDependenciesMeta: - '@vue/composition-api': - optional: true - dependencies: - vue: 3.2.39 - dev: false - /vue-demi/0.13.6_vue@3.2.40: resolution: {integrity: sha512-02NYpxgyGE2kKGegRPYlNQSL1UWfA/+JqvzhGCOYjhfbLWXU5QQX0+9pAm/R2sCOPKr5NBxVIab7fvFU0B1RxQ==} engines: {node: '>=12'} @@ -2746,17 +2643,17 @@ packages: vue: 3.2.40 dev: false - /vue-eslint-parser/9.0.3_eslint@8.23.0: + /vue-eslint-parser/9.0.3_eslint@8.24.0: resolution: {integrity: sha512-yL+ZDb+9T0ELG4VIFo/2anAOz8SvBdlqEnQnvJ3M7Scq56DvtjY0VY88bByRZB0D4J0u8olBcfrXTVONXsh4og==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.23.0 + eslint: 8.24.0 eslint-scope: 7.1.1 eslint-visitor-keys: 3.3.0 - espree: 9.3.3 + espree: 9.4.0 esquery: 1.4.0 lodash: 4.17.21 semver: 7.3.7 @@ -2764,15 +2661,6 @@ packages: - supports-color dev: true - /vue-router/4.1.5_vue@3.2.39: - resolution: {integrity: sha512-IsvoF5D2GQ/EGTs/Th4NQms9gd2NSqV+yylxIyp/OYp8xOwxmU8Kj/74E9DTSYAyH5LX7idVUngN3JSj1X4xcQ==} - peerDependencies: - vue: ^3.2.0 - dependencies: - '@vue/devtools-api': 6.2.1 - vue: 3.2.39 - dev: false - /vue-router/4.1.5_vue@3.2.40: resolution: {integrity: sha512-IsvoF5D2GQ/EGTs/Th4NQms9gd2NSqV+yylxIyp/OYp8xOwxmU8Kj/74E9DTSYAyH5LX7idVUngN3JSj1X4xcQ==} peerDependencies: @@ -2782,26 +2670,17 @@ packages: vue: 3.2.40 dev: false - /vue-tsc/0.40.12_typescript@4.7.4: - resolution: {integrity: sha512-jXrl/faDG9IAH6ITYf1v73LvZr9TAwEFiSAdRRyBO+60Tn5U9T+AYi602ob0KbBiKskvTUzfNRXSIy5pz9JCVw==} + /vue-tsc/0.40.13_typescript@4.7.4: + resolution: {integrity: sha512-xzuN3g5PnKfJcNrLv4+mAjteMd5wLm5fRhW0034OfNJZY4WhB07vhngea/XeGn7wNYt16r7syonzvW/54dcNiA==} hasBin: true peerDependencies: typescript: '*' dependencies: - '@volar/vue-language-core': 0.40.12 - '@volar/vue-typescript': 0.40.12 + '@volar/vue-language-core': 0.40.13 + '@volar/vue-typescript': 0.40.13 typescript: 4.7.4 dev: true - /vue/3.2.39: - resolution: {integrity: sha512-tRkguhRTw9NmIPXhzk21YFBqXHT2t+6C6wPOgQ50fcFVWnPdetmRqbmySRHznrYjX2E47u0cGlKGcxKZJ38R/g==} - dependencies: - '@vue/compiler-dom': 3.2.39 - '@vue/compiler-sfc': 3.2.39 - '@vue/runtime-dom': 3.2.39 - '@vue/server-renderer': 3.2.39_vue@3.2.39 - '@vue/shared': 3.2.39 - /vue/3.2.40: resolution: {integrity: sha512-1mGHulzUbl2Nk3pfvI5aXYYyJUs1nm4kyvuz38u4xlQkLUn1i2R7nDbI4TufECmY8v1qNBHYy62bCaM+3cHP2A==} dependencies: @@ -2810,7 +2689,6 @@ packages: '@vue/runtime-dom': 3.2.40 '@vue/server-renderer': 3.2.40_vue@3.2.40 '@vue/shared': 3.2.40 - dev: false /w3c-hr-time/1.0.2: resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==}