From 331a8246d80dc63f76a72bd4769f995f2a41157e Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Fri, 3 Feb 2023 14:24:10 +0800 Subject: [PATCH] chore: release 1.2.0 (#12) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 发布 1.2.0 版本。 ```release-note None ``` --- gradle.properties | 2 +- src/main/resources/plugin.yaml | 2 +- .../resources/static/comment-widget.iife.js | 32 +++++++++---------- widget/package.json | 2 +- widget/pnpm-lock.yaml | 8 ++--- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/gradle.properties b/gradle.properties index 191b2b0..de0a0df 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.1.0-SNAPSHOT +version=1.2.0-SNAPSHOT diff --git a/src/main/resources/plugin.yaml b/src/main/resources/plugin.yaml index f91b221..6e45f68 100644 --- a/src/main/resources/plugin.yaml +++ b/src/main/resources/plugin.yaml @@ -4,7 +4,7 @@ metadata: name: PluginCommentWidget spec: enabled: true - version: "1.1.0" + version: "1.2.0" requires: ">=2.2.0" author: name: Halo OSS Team diff --git a/src/main/resources/static/comment-widget.iife.js b/src/main/resources/static/comment-widget.iife.js index a559867..667de7b 100644 --- a/src/main/resources/static/comment-widget.iife.js +++ b/src/main/resources/static/comment-widget.iife.js @@ -1,26 +1,26 @@ -var CommentWidget=function(mf){"use strict";function Qi(i,e){const t=Object.create(null),n=i.split(",");for(let s=0;s!!t[s.toLowerCase()]:s=>!!t[s]}const sO=Qi("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function Pt(i){if(X(i)){const e={};for(let t=0;t{if(t){const n=t.split(aO);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function $i(i){let e="";if(oe(i))e=i;else if(X(i))for(let t=0;trn(t,e))}const Ne=i=>oe(i)?i:i==null?"":X(i)||we(i)&&(i.toString===mc||!ne(i.toString))?JSON.stringify(i,cc,2):String(i),cc=(i,e)=>e&&e.__v_isRef?cc(i,e.value):ws(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[n,s])=>(t[`${n} =>`]=s,t),{})}:In(e)?{[`Set(${e.size})`]:[...e.values()]}:we(e)&&!X(e)&&!pc(e)?String(e):e,Oe={},ks=[],ki=()=>{},Pa=()=>!1,gO=/^on[^a-z]/,jn=i=>gO.test(i),pf=i=>i.startsWith("onUpdate:"),Fe=Object.assign,Ff=(i,e)=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)},vO=Object.prototype.hasOwnProperty,ce=(i,e)=>vO.call(i,e),X=Array.isArray,ws=i=>br(i)==="[object Map]",In=i=>br(i)==="[object Set]",hc=i=>br(i)==="[object Date]",ne=i=>typeof i=="function",oe=i=>typeof i=="string",an=i=>typeof i=="symbol",we=i=>i!==null&&typeof i=="object",gf=i=>we(i)&&ne(i.then)&&ne(i.catch),mc=Object.prototype.toString,br=i=>mc.call(i),OO=i=>br(i).slice(8,-1),pc=i=>br(i)==="[object Object]",vf=i=>oe(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Nn=Qi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yO=Qi("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Aa=i=>{const e=Object.create(null);return t=>e[t]||(e[t]=i(t))},kO=/-(\w)/g,Je=Aa(i=>i.replace(kO,(e,t)=>t?t.toUpperCase():"")),wO=/\B([A-Z])/g,Ri=Aa(i=>i.replace(wO,"-$1").toLowerCase()),Ln=Aa(i=>i.charAt(0).toUpperCase()+i.slice(1)),bs=Aa(i=>i?`on${Ln(i)}`:""),_s=(i,e)=>!Object.is(i,e),Ss=(i,e)=>{for(let t=0;t{Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value:t})},At=i=>{const e=parseFloat(i);return isNaN(e)?i:e};let Fc;const bO=()=>Fc||(Fc=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let ji;class Of{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ji,!e&&ji&&(this.index=(ji.scopes||(ji.scopes=[])).push(this)-1)}run(e){if(this.active){const t=ji;try{return ji=this,e()}finally{ji=t}}}on(){ji=this}off(){ji=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t{const e=new Set(i);return e.w=0,e.n=0,e},yc=i=>(i.w&on)>0,kc=i=>(i.n&on)>0,SO=({deps:i})=>{if(i.length)for(let e=0;e{const{deps:e}=i;if(e.length){let t=0;for(let n=0;n{(l==="length"||l>=u)&&o.push(f)})}else switch(t!==void 0&&o.push(a.get(t)),e){case"add":X(i)?vf(t)&&o.push(a.get("length")):(o.push(a.get(zn)),ws(i)&&o.push(a.get(bf)));break;case"delete":X(i)||(o.push(a.get(zn)),ws(i)&&o.push(a.get(bf)));break;case"set":ws(i)&&o.push(a.get(zn));break}if(o.length===1)o[0]&&_f(o[0]);else{const u=[];for(const f of o)f&&u.push(...f);_f(yf(u))}}function _f(i,e){const t=X(i)?i:[...i];for(const n of t)n.computed&&Sc(n);for(const n of t)n.computed||Sc(n)}function Sc(i,e){(i!==at||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}const xO=Qi("__proto__,__v_isRef,__isVue"),Dc=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(an)),QO=Ba(),$O=Ba(!1,!0),TO=Ba(!0),PO=Ba(!0,!0),Ec=AO();function AO(){const i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){const n=he(this);for(let r=0,a=this.length;r{i[e]=function(...t){Ds();const n=he(this)[e].apply(this,t);return Es(),n}}),i}function Ba(i=!1,e=!1){return function(n,s,r){if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return e;if(s==="__v_raw"&&r===(i?e?jc:Rc:e?Bc:Mc).get(n))return n;const a=X(n);if(!i&&a&&ce(Ec,s))return Reflect.get(Ec,s,r);const o=Reflect.get(n,s,r);return(an(s)?Dc.has(s):xO(s))||(i||Ii(n,"get",s),e)?o:$e(o)?a&&vf(s)?o:o.value:we(o)?i?Df(o):Bt(o):o}}const MO=Cc(),BO=Cc(!0);function Cc(i=!1){return function(t,n,s,r){let a=t[n];if(qn(a)&&$e(a)&&!$e(s))return!1;if(!i&&(!Dr(s)&&!qn(s)&&(a=he(a),s=he(s)),!X(t)&&$e(a)&&!$e(s)))return a.value=s,!0;const o=X(t)&&vf(n)?Number(n)i,Ra=i=>Reflect.getPrototypeOf(i);function ja(i,e,t=!1,n=!1){i=i.__v_raw;const s=he(i),r=he(e);t||(e!==r&&Ii(s,"get",e),Ii(s,"get",r));const{has:a}=Ra(s),o=n?Sf:t?xf:Er;if(a.call(s,e))return o(i.get(e));if(a.call(s,r))return o(i.get(r));i!==s&&i.get(e)}function Ia(i,e=!1){const t=this.__v_raw,n=he(t),s=he(i);return e||(i!==s&&Ii(n,"has",i),Ii(n,"has",s)),i===s?t.has(i):t.has(i)||t.has(s)}function Na(i,e=!1){return i=i.__v_raw,!e&&Ii(he(i),"iterate",zn),Reflect.get(i,"size",i)}function $c(i){i=he(i);const e=he(this);return Ra(e).has.call(e,i)||(e.add(i),Mt(e,"add",i,i)),this}function Tc(i,e){e=he(e);const t=he(this),{has:n,get:s}=Ra(t);let r=n.call(t,i);r||(i=he(i),r=n.call(t,i));const a=s.call(t,i);return t.set(i,e),r?_s(e,a)&&Mt(t,"set",i,e):Mt(t,"add",i,e),this}function Pc(i){const e=he(this),{has:t,get:n}=Ra(e);let s=t.call(e,i);s||(i=he(i),s=t.call(e,i)),n&&n.call(e,i);const r=e.delete(i);return s&&Mt(e,"delete",i,void 0),r}function Ac(){const i=he(this),e=i.size!==0,t=i.clear();return e&&Mt(i,"clear",void 0,void 0),t}function La(i,e){return function(n,s){const r=this,a=r.__v_raw,o=he(a),u=e?Sf:i?xf:Er;return!i&&Ii(o,"iterate",zn),a.forEach((f,l)=>n.call(s,u(f),u(l),r))}}function za(i,e,t){return function(...n){const s=this.__v_raw,r=he(s),a=ws(r),o=i==="entries"||i===Symbol.iterator&&a,u=i==="keys"&&a,f=s[i](...n),l=t?Sf:e?xf:Er;return!e&&Ii(r,"iterate",u?bf:zn),{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 fn(i){return function(...e){return i==="delete"?!1:this}}function zO(){const i={get(r){return ja(this,r)},get size(){return Na(this)},has:Ia,add:$c,set:Tc,delete:Pc,clear:Ac,forEach:La(!1,!1)},e={get(r){return ja(this,r,!1,!0)},get size(){return Na(this)},has:Ia,add:$c,set:Tc,delete:Pc,clear:Ac,forEach:La(!1,!0)},t={get(r){return ja(this,r,!0)},get size(){return Na(this,!0)},has(r){return Ia.call(this,r,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:La(!0,!1)},n={get(r){return ja(this,r,!0,!0)},get size(){return Na(this,!0)},has(r){return Ia.call(this,r,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:La(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{i[r]=za(r,!1,!1),t[r]=za(r,!0,!1),e[r]=za(r,!1,!0),n[r]=za(r,!0,!0)}),[i,t,e,n]}const[WO,qO,VO,XO]=zO();function Wa(i,e){const t=e?i?XO:VO:i?qO:WO;return(n,s,r)=>s==="__v_isReactive"?!i:s==="__v_isReadonly"?i:s==="__v_raw"?n:Reflect.get(ce(t,s)&&s in n?t:n,s,r)}const ZO={get:Wa(!1,!1)},UO={get:Wa(!1,!0)},GO={get:Wa(!0,!1)},HO={get:Wa(!0,!0)},Mc=new WeakMap,Bc=new WeakMap,Rc=new WeakMap,jc=new WeakMap;function YO(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function KO(i){return i.__v_skip||!Object.isExtensible(i)?0:YO(OO(i))}function Bt(i){return qn(i)?i:qa(i,!1,xc,ZO,Mc)}function Ic(i){return qa(i,!1,NO,UO,Bc)}function Df(i){return qa(i,!0,Qc,GO,Rc)}function JO(i){return qa(i,!0,LO,HO,jc)}function qa(i,e,t,n,s){if(!we(i)||i.__v_raw&&!(e&&i.__v_isReactive))return i;const r=s.get(i);if(r)return r;const a=KO(i);if(a===0)return i;const o=new Proxy(i,a===2?n:t);return s.set(i,o),o}function Wn(i){return qn(i)?Wn(i.__v_raw):!!(i&&i.__v_isReactive)}function qn(i){return!!(i&&i.__v_isReadonly)}function Dr(i){return!!(i&&i.__v_isShallow)}function Ef(i){return Wn(i)||qn(i)}function he(i){const e=i&&i.__v_raw;return e?he(e):i}function Cf(i){return Ma(i,"__v_skip",!0),i}const Er=i=>we(i)?Bt(i):i,xf=i=>we(i)?Df(i):i;function Qf(i){un&&at&&(i=he(i),_c(i.dep||(i.dep=yf())))}function Va(i,e){i=he(i),i.dep&&_f(i.dep)}function $e(i){return!!(i&&i.__v_isRef===!0)}function le(i){return Lc(i,!1)}function Nc(i){return Lc(i,!0)}function Lc(i,e){return $e(i)?i:new ey(i,e)}class ey{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:he(e),this._value=t?e:Er(e)}get value(){return Qf(this),this._value}set value(e){const t=this.__v_isShallow||Dr(e)||qn(e);e=t?e:he(e),_s(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Er(e),Va(this))}}function iy(i){Va(i)}function I(i){return $e(i)?i.value:i}const ty={get:(i,e,t)=>I(Reflect.get(i,e,t)),set:(i,e,t,n)=>{const s=i[e];return $e(s)&&!$e(t)?(s.value=t,!0):Reflect.set(i,e,t,n)}};function $f(i){return Wn(i)?i:new Proxy(i,ty)}class ny{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Qf(this),()=>Va(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function sy(i){return new ny(i)}function ry(i){const e=X(i)?new Array(i.length):{};for(const t in i)e[t]=zc(i,t);return e}class ay{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,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 zc(i,e,t){const n=i[e];return $e(n)?n:new ay(i,e,t)}var Wc;class oy{constructor(e,t,n,s){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Wc]=!1,this._dirty=!0,this.effect=new Sr(e,()=>{this._dirty||(this._dirty=!0,Va(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=he(this);return Qf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Wc="__v_isReadonly";function uy(i,e,t=!1){let n,s;const r=ne(i);return r?(n=i,s=ki):(n=i.get,s=i.set),new oy(n,s,r||!s,t)}function fy(i,...e){}function Rt(i,e,t,n){let s;try{s=n?i(...n):i()}catch(r){Vn(r,e,t)}return s}function Ni(i,e,t,n){if(ne(i)){const r=Rt(i,e,t,n);return r&&gf(r)&&r.catch(a=>{Vn(a,e,t)}),r}const s=[];for(let r=0;r>>1;xr(ci[n])ht&&ci.splice(e,1)}function Af(i){X(i)?Cs.push(...i):(!jt||!jt.includes(i,i.allowRecurse?Xn+1:Xn))&&Cs.push(i),Vc()}function Xc(i,e=Cr?ht+1:0){for(;exr(t)-xr(n)),Xn=0;Xni.id==null?1/0:i.id,hy=(i,e)=>{const t=xr(i)-xr(e);if(t===0){if(i.pre&&!e.pre)return-1;if(e.pre&&!i.pre)return 1}return t};function Zc(i){Tf=!1,Cr=!0,ci.sort(hy);const e=ki;try{for(ht=0;htxs.emit(s,...r)),Ga=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((n=(t=window.navigator)===null||t===void 0?void 0:t.userAgent)===null||n===void 0)&&n.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Uc(r,e)}),setTimeout(()=>{xs||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ga=[])},3e3)):Ga=[]}function my(i,e,...t){if(i.isUnmounted)return;const n=i.vnode.props||Oe;let s=t;const r=e.startsWith("update:"),a=r&&e.slice(7);if(a&&a in n){const l=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:c}=n[l]||Oe;c&&(s=t.map(h=>oe(h)?h.trim():h)),d&&(s=t.map(At))}let o,u=n[o=bs(e)]||n[o=bs(Je(e))];!u&&r&&(u=n[o=bs(Ri(e))]),u&&Ni(u,i,6,s);const f=n[o+"Once"];if(f){if(!i.emitted)i.emitted={};else if(i.emitted[o])return;i.emitted[o]=!0,Ni(f,i,6,s)}}function Gc(i,e,t=!1){const n=e.emitsCache,s=n.get(i);if(s!==void 0)return s;const r=i.emits;let a={},o=!1;if(!ne(i)){const u=f=>{const l=Gc(f,e,!0);l&&(o=!0,Fe(a,l))};!t&&e.mixins.length&&e.mixins.forEach(u),i.extends&&u(i.extends),i.mixins&&i.mixins.forEach(u)}return!r&&!o?(we(i)&&n.set(i,null),null):(X(r)?r.forEach(u=>a[u]=null):Fe(a,r),we(i)&&n.set(i,a),a)}function Ha(i,e){return!i||!jn(e)?!1:(e=e.slice(2).replace(/Once$/,""),ce(i,e[0].toLowerCase()+e.slice(1))||ce(i,Ri(e))||ce(i,e))}let ei=null,Ya=null;function Qr(i){const e=ei;return ei=i,Ya=i&&i.type.__scopeId||null,e}function py(i){Ya=i}function Fy(){Ya=null}const gy=i=>xe;function xe(i,e=ei,t){if(!e||i._n)return i;const n=(...s)=>{n._d&&tl(-1);const r=Qr(e);let a;try{a=i(...s)}finally{Qr(r),n._d&&tl(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function m8(){}function Ka(i){const{type:e,vnode:t,proxy:n,withProxy:s,props:r,propsOptions:[a],slots:o,attrs:u,emit:f,render:l,renderCache:d,data:c,setupState:h,ctx:m,inheritAttrs:p}=i;let g,F;const v=Qr(i);try{if(t.shapeFlag&4){const b=s||n;g=zi(l.call(b,b,d,r,h,c,m)),F=u}else{const b=e;g=zi(b.length>1?b(r,{attrs:u,slots:o,emit:f}):b(r,null)),F=e.props?u:Oy(u)}}catch(b){jr.length=0,Vn(b,i,1),g=J(hi)}let O=g;if(F&&p!==!1){const b=Object.keys(F),{shapeFlag:E}=O;b.length&&E&7&&(a&&b.some(pf)&&(F=yy(F,a)),O=Ft(O,F))}return t.dirs&&(O=Ft(O),O.dirs=O.dirs?O.dirs.concat(t.dirs):t.dirs),t.transition&&(O.transition=t.transition),g=O,Qr(v),g}function vy(i){let e;for(let t=0;t{let e;for(const t in i)(t==="class"||t==="style"||jn(t))&&((e||(e={}))[t]=i[t]);return e},yy=(i,e)=>{const t={};for(const n in i)(!pf(n)||!(n.slice(9)in e))&&(t[n]=i[n]);return t};function ky(i,e,t){const{props:n,children:s,component:r}=i,{props:a,children:o,patchFlag:u}=e,f=r.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&u>=0){if(u&1024)return!0;if(u&16)return n?Hc(n,a,f):!!a;if(u&8){const l=e.dynamicProps;for(let d=0;di.__isSuspense,wy={name:"Suspense",__isSuspense:!0,process(i,e,t,n,s,r,a,o,u,f){i==null?by(e,t,n,s,r,a,o,u,f):_y(i,e,t,n,s,a,o,u,f)},hydrate:Sy,create:Bf,normalize:Dy};function $r(i,e){const t=i.props&&i.props[e];ne(t)&&t()}function by(i,e,t,n,s,r,a,o,u){const{p:f,o:{createElement:l}}=u,d=l("div"),c=i.suspense=Bf(i,s,n,e,d,t,r,a,o,u);f(null,c.pendingBranch=i.ssContent,d,null,n,c,r,a),c.deps>0?($r(i,"onPending"),$r(i,"onFallback"),f(null,i.ssFallback,e,t,n,null,r,a),Qs(c,i.ssFallback)):c.resolve()}function _y(i,e,t,n,s,r,a,o,{p:u,um:f,o:{createElement:l}}){const d=e.suspense=i.suspense;d.vnode=e,e.el=i.el;const c=e.ssContent,h=e.ssFallback,{activeBranch:m,pendingBranch:p,isInFallback:g,isHydrating:F}=d;if(p)d.pendingBranch=c,pt(c,p)?(u(p,c,d.hiddenContainer,null,s,d,r,a,o),d.deps<=0?d.resolve():g&&(u(m,h,t,n,s,null,r,a,o),Qs(d,h))):(d.pendingId++,F?(d.isHydrating=!1,d.activeBranch=p):f(p,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=l("div"),g?(u(null,c,d.hiddenContainer,null,s,d,r,a,o),d.deps<=0?d.resolve():(u(m,h,t,n,s,null,r,a,o),Qs(d,h))):m&&pt(c,m)?(u(m,c,t,n,s,d,r,a,o),d.resolve(!0)):(u(null,c,d.hiddenContainer,null,s,d,r,a,o),d.deps<=0&&d.resolve()));else if(m&&pt(c,m))u(m,c,t,n,s,d,r,a,o),Qs(d,c);else if($r(e,"onPending"),d.pendingBranch=c,d.pendingId++,u(null,c,d.hiddenContainer,null,s,d,r,a,o),d.deps<=0)d.resolve();else{const{timeout:v,pendingId:O}=d;v>0?setTimeout(()=>{d.pendingId===O&&d.fallback(h)},v):v===0&&d.fallback(h)}}function Bf(i,e,t,n,s,r,a,o,u,f,l=!1){const{p:d,m:c,um:h,n:m,o:{parentNode:p,remove:g}}=f,F=At(i.props&&i.props.timeout),v={vnode:i,parent:e,parentComponent:t,isSVG:a,container:n,hiddenContainer:s,anchor:r,deps:0,pendingId:0,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:l,isUnmounted:!1,effects:[],resolve(O=!1){const{vnode:b,activeBranch:E,pendingBranch:S,pendingId:C,effects:k,parentComponent:D,container:x}=v;if(v.isHydrating)v.isHydrating=!1;else if(!O){const N=E&&S.transition&&S.transition.mode==="out-in";N&&(E.transition.afterLeave=()=>{C===v.pendingId&&c(S,x,j,0)});let{anchor:j}=v;E&&(j=m(E),h(E,D,v,!0)),N||c(S,x,j,0)}Qs(v,S),v.pendingBranch=null,v.isInFallback=!1;let $=v.parent,T=!1;for(;$;){if($.pendingBranch){$.effects.push(...k),T=!0;break}$=$.parent}T||Af(k),v.effects=[],$r(b,"onResolve")},fallback(O){if(!v.pendingBranch)return;const{vnode:b,activeBranch:E,parentComponent:S,container:C,isSVG:k}=v;$r(b,"onFallback");const D=m(E),x=()=>{!v.isInFallback||(d(null,O,C,D,S,null,k,o,u),Qs(v,O))},$=O.transition&&O.transition.mode==="out-in";$&&(E.transition.afterLeave=x),v.isInFallback=!0,h(E,S,null,!0),$||x()},move(O,b,E){v.activeBranch&&c(v.activeBranch,O,b,E),v.container=O},next(){return v.activeBranch&&m(v.activeBranch)},registerDep(O,b){const E=!!v.pendingBranch;E&&v.deps++;const S=O.vnode.el;O.asyncDep.catch(C=>{Vn(C,O,0)}).then(C=>{if(O.isUnmounted||v.isUnmounted||v.pendingId!==O.suspenseId)return;O.asyncResolved=!0;const{vnode:k}=O;sl(O,C,!1),S&&(k.el=S);const D=!S&&O.subTree.el;b(O,k,p(S||O.subTree.el),S?null:m(O.subTree),v,a,u),D&&g(D),Mf(O,k.el),E&&--v.deps===0&&v.resolve()})},unmount(O,b){v.isUnmounted=!0,v.activeBranch&&h(v.activeBranch,t,O,b),v.pendingBranch&&h(v.pendingBranch,t,O,b)}};return v}function Sy(i,e,t,n,s,r,a,o,u){const f=e.suspense=Bf(e,n,t,i.parentNode,document.createElement("div"),null,s,r,a,o,!0),l=u(i,f.pendingBranch=e.ssContent,t,f,r,a);return f.deps===0&&f.resolve(),l}function Dy(i){const{shapeFlag:e,children:t}=i,n=e&32;i.ssContent=Kc(n?t.default:t),i.ssFallback=n?Kc(t.fallback):J(hi)}function Kc(i){let e;if(ne(i)){const t=is&&i._c;t&&(i._d=!1,Z()),i=i(),t&&(i._d=!0,e=Ti,Mh())}return X(i)&&(i=vy(i)),i=zi(i),e&&!i.dynamicChildren&&(i.dynamicChildren=e.filter(t=>t!==i)),i}function Jc(i,e){e&&e.pendingBranch?X(i)?e.effects.push(...i):e.effects.push(i):Af(i)}function Qs(i,e){i.activeBranch=e;const{vnode:t,parentComponent:n}=i,s=t.el=e.el;n&&n.subTree===t&&(n.vnode.el=s,Mf(n,s))}function ln(i,e){if(Ve){let t=Ve.provides;const n=Ve.parent&&Ve.parent.provides;n===t&&(t=Ve.provides=Object.create(n)),t[i]=e}}function Ki(i,e,t=!1){const n=Ve||ei;if(n){const s=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(s&&i in s)return s[i];if(arguments.length>1)return t&&ne(e)?e.call(n.proxy):e}}function Rf(i,e){return Tr(i,null,e)}function eh(i,e){return Tr(i,null,{flush:"post"})}function Ey(i,e){return Tr(i,null,{flush:"sync"})}const Ja={};function ii(i,e,t){return Tr(i,e,t)}function Tr(i,e,{immediate:t,deep:n,flush:s,onTrack:r,onTrigger:a}=Oe){const o=Ve;let u,f=!1,l=!1;if($e(i)?(u=()=>i.value,f=Dr(i)):Wn(i)?(u=()=>i,n=!0):X(i)?(l=!0,f=i.some(O=>Wn(O)||Dr(O)),u=()=>i.map(O=>{if($e(O))return O.value;if(Wn(O))return Zn(O);if(ne(O))return Rt(O,o,2)})):ne(i)?e?u=()=>Rt(i,o,2):u=()=>{if(!(o&&o.isUnmounted))return d&&d(),Ni(i,o,3,[c])}:u=ki,e&&n){const O=u;u=()=>Zn(O())}let d,c=O=>{d=F.onStop=()=>{Rt(O,o,4)}},h;if(Ts)if(c=ki,e?t&&Ni(e,o,3,[u(),l?[]:void 0,c]):u(),s==="sync"){const O=Gh();h=O.__watcherHandles||(O.__watcherHandles=[])}else return ki;let m=l?new Array(i.length).fill(Ja):Ja;const p=()=>{if(!!F.active)if(e){const O=F.run();(n||f||(l?O.some((b,E)=>_s(b,m[E])):_s(O,m)))&&(d&&d(),Ni(e,o,3,[O,m===Ja?void 0:l&&m[0]===Ja?[]:m,c]),m=O)}else F.run()};p.allowRecurse=!!e;let g;s==="sync"?g=p:s==="post"?g=()=>ti(p,o&&o.suspense):(p.pre=!0,o&&(p.id=o.uid),g=()=>Za(p));const F=new Sr(u,g);e?t?p():m=F.run():s==="post"?ti(F.run.bind(F),o&&o.suspense):F.run();const v=()=>{F.stop(),o&&o.scope&&Ff(o.scope.effects,F)};return h&&h.push(v),v}function Cy(i,e,t){const n=this.proxy,s=oe(i)?i.includes(".")?ih(n,i):()=>n[i]:i.bind(n,n);let r;ne(e)?r=e:(r=e.handler,t=e);const a=Ve;pn(this);const o=Tr(s,r.bind(n),t);return a?pn(a):Fn(),o}function ih(i,e){const t=e.split(".");return()=>{let n=i;for(let s=0;s{Zn(t,e)});else if(pc(i))for(const t in i)Zn(i[t],e);return i}function jf(){const i={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Hn(()=>{i.isMounted=!0}),no(()=>{i.isUnmounting=!0}),i}const Ji=[Function,Array],If={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ji,onEnter:Ji,onAfterEnter:Ji,onEnterCancelled:Ji,onBeforeLeave:Ji,onLeave:Ji,onAfterLeave:Ji,onLeaveCancelled:Ji,onBeforeAppear:Ji,onAppear:Ji,onAfterAppear:Ji,onAppearCancelled:Ji},setup(i,{slots:e}){const t=mn(),n=jf();let s;return()=>{const r=e.default&&eo(e.default(),!0);if(!r||!r.length)return;let a=r[0];if(r.length>1){for(const p of r)if(p.type!==hi){a=p;break}}const o=he(i),{mode:u}=o;if(n.isLeaving)return Nf(a);const f=nh(a);if(!f)return Nf(a);const l=$s(f,o,n,t);Un(f,l);const d=t.subTree,c=d&&nh(d);let h=!1;const{getTransitionKey:m}=f.type;if(m){const p=m();s===void 0?s=p:p!==s&&(s=p,h=!0)}if(c&&c.type!==hi&&(!pt(f,c)||h)){const p=$s(c,o,n,t);if(Un(c,p),u==="out-in")return n.isLeaving=!0,p.afterLeave=()=>{n.isLeaving=!1,t.update.active!==!1&&t.update()},Nf(a);u==="in-out"&&f.type!==hi&&(p.delayLeave=(g,F,v)=>{const O=th(n,c);O[String(c.key)]=c,g._leaveCb=()=>{F(),g._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=v})}return a}}};function th(i,e){const{leavingVNodes:t}=i;let n=t.get(e.type);return n||(n=Object.create(null),t.set(e.type,n)),n}function $s(i,e,t,n){const{appear:s,mode:r,persisted:a=!1,onBeforeEnter:o,onEnter:u,onAfterEnter:f,onEnterCancelled:l,onBeforeLeave:d,onLeave:c,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:p,onAppear:g,onAfterAppear:F,onAppearCancelled:v}=e,O=String(i.key),b=th(t,i),E=(k,D)=>{k&&Ni(k,n,9,D)},S=(k,D)=>{const x=D[1];E(k,D),X(k)?k.every($=>$.length<=1)&&x():k.length<=1&&x()},C={mode:r,persisted:a,beforeEnter(k){let D=o;if(!t.isMounted)if(s)D=p||o;else return;k._leaveCb&&k._leaveCb(!0);const x=b[O];x&&pt(i,x)&&x.el._leaveCb&&x.el._leaveCb(),E(D,[k])},enter(k){let D=u,x=f,$=l;if(!t.isMounted)if(s)D=g||u,x=F||f,$=v||l;else return;let T=!1;const N=k._enterCb=j=>{T||(T=!0,j?E($,[k]):E(x,[k]),C.delayedLeave&&C.delayedLeave(),k._enterCb=void 0)};D?S(D,[k,N]):N()},leave(k,D){const x=String(i.key);if(k._enterCb&&k._enterCb(!0),t.isUnmounting)return D();E(d,[k]);let $=!1;const T=k._leaveCb=N=>{$||($=!0,D(),N?E(m,[k]):E(h,[k]),k._leaveCb=void 0,b[x]===i&&delete b[x])};b[x]=i,c?S(c,[k,T]):T()},clone(k){return $s(k,e,t,n)}};return C}function Nf(i){if(Pr(i))return i=Ft(i),i.children=null,i}function nh(i){return Pr(i)?i.children?i.children[0]:void 0:i}function Un(i,e){i.shapeFlag&6&&i.component?Un(i.component.subTree,e):i.shapeFlag&128?(i.ssContent.transition=e.clone(i.ssContent),i.ssFallback.transition=e.clone(i.ssFallback)):i.transition=e}function eo(i,e=!1,t){let n=[],s=0;for(let r=0;r1)for(let r=0;r!!i.type.__asyncLoader;function xy(i){ne(i)&&(i={loader:i});const{loader:e,loadingComponent:t,errorComponent:n,delay:s=200,timeout:r,suspensible:a=!0,onError:o}=i;let u=null,f,l=0;const d=()=>(l++,u=null,c()),c=()=>{let h;return u||(h=u=e().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),o)return new Promise((p,g)=>{o(m,()=>p(d()),()=>g(m),l+1)});throw m}).then(m=>h!==u&&u?u:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),f=m,m)))};return wi({name:"AsyncComponentWrapper",__asyncLoader:c,get __asyncResolved(){return f},setup(){const h=Ve;if(f)return()=>Lf(f,h);const m=v=>{u=null,Vn(v,h,13,!n)};if(a&&h.suspense||Ts)return c().then(v=>()=>Lf(v,h)).catch(v=>(m(v),()=>n?J(n,{error:v}):null));const p=le(!1),g=le(),F=le(!!s);return s&&setTimeout(()=>{F.value=!1},s),r!=null&&setTimeout(()=>{if(!p.value&&!g.value){const v=new Error(`Async component timed out after ${r}ms.`);m(v),g.value=v}},r),c().then(()=>{p.value=!0,h.parent&&Pr(h.parent.vnode)&&Za(h.parent.update)}).catch(v=>{m(v),g.value=v}),()=>{if(p.value&&f)return Lf(f,h);if(g.value&&n)return J(n,{error:g.value});if(t&&!F.value)return J(t)}}})}function Lf(i,e){const{ref:t,props:n,children:s,ce:r}=e.vnode,a=J(i,n,s);return a.ref=t,a.ce=r,delete e.vnode.ce,a}const Pr=i=>i.type.__isKeepAlive,Qy={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(i,{slots:e}){const t=mn(),n=t.ctx;if(!n.renderer)return()=>{const v=e.default&&e.default();return v&&v.length===1?v[0]:v};const s=new Map,r=new Set;let a=null;const o=t.suspense,{renderer:{p:u,m:f,um:l,o:{createElement:d}}}=n,c=d("div");n.activate=(v,O,b,E,S)=>{const C=v.component;f(v,O,b,0,o),u(C.vnode,v,O,b,C,o,E,v.slotScopeIds,S),ti(()=>{C.isDeactivated=!1,C.a&&Ss(C.a);const k=v.props&&v.props.onVnodeMounted;k&&Pi(k,C.parent,v)},o)},n.deactivate=v=>{const O=v.component;f(v,c,null,1,o),ti(()=>{O.da&&Ss(O.da);const b=v.props&&v.props.onVnodeUnmounted;b&&Pi(b,O.parent,v),O.isDeactivated=!0},o)};function h(v){zf(v),l(v,t,o,!0)}function m(v){s.forEach((O,b)=>{const E=al(O.type);E&&(!v||!v(E))&&p(b)})}function p(v){const O=s.get(v);!a||O.type!==a.type?h(O):a&&zf(a),s.delete(v),r.delete(v)}ii(()=>[i.include,i.exclude],([v,O])=>{v&&m(b=>Ar(v,b)),O&&m(b=>!Ar(O,b))},{flush:"post",deep:!0});let g=null;const F=()=>{g!=null&&s.set(g,Wf(t.subTree))};return Hn(F),to(F),no(()=>{s.forEach(v=>{const{subTree:O,suspense:b}=t,E=Wf(O);if(v.type===E.type){zf(E);const S=E.component.da;S&&ti(S,b);return}h(v)})}),()=>{if(g=null,!e.default)return null;const v=e.default(),O=v[0];if(v.length>1)return a=null,v;if(!cn(O)||!(O.shapeFlag&4)&&!(O.shapeFlag&128))return a=null,O;let b=Wf(O);const E=b.type,S=al(Gn(b)?b.type.__asyncResolved||{}:E),{include:C,exclude:k,max:D}=i;if(C&&(!S||!Ar(C,S))||k&&S&&Ar(k,S))return a=b,O;const x=b.key==null?E:b.key,$=s.get(x);return b.el&&(b=Ft(b),O.shapeFlag&128&&(O.ssContent=b)),g=x,$?(b.el=$.el,b.component=$.component,b.transition&&Un(b,b.transition),b.shapeFlag|=512,r.delete(x),r.add(x)):(r.add(x),D&&r.size>parseInt(D,10)&&p(r.values().next().value)),b.shapeFlag|=256,a=b,Yc(O.type)?O:b}}};function Ar(i,e){return X(i)?i.some(t=>Ar(t,e)):oe(i)?i.split(",").includes(e):i.test?i.test(e):!1}function sh(i,e){ah(i,"a",e)}function rh(i,e){ah(i,"da",e)}function ah(i,e,t=Ve){const n=i.__wdc||(i.__wdc=()=>{let s=t;for(;s;){if(s.isDeactivated)return;s=s.parent}return i()});if(io(e,n,t),t){let s=t.parent;for(;s&&s.parent;)Pr(s.parent.vnode)&&$y(n,e,t,s),s=s.parent}}function $y(i,e,t,n){const s=io(e,i,n,!0);so(()=>{Ff(n[e],s)},t)}function zf(i){i.shapeFlag&=-257,i.shapeFlag&=-513}function Wf(i){return i.shapeFlag&128?i.ssContent:i}function io(i,e,t=Ve,n=!1){if(t){const s=t[i]||(t[i]=[]),r=e.__weh||(e.__weh=(...a)=>{if(t.isUnmounted)return;Ds(),pn(t);const o=Ni(e,t,i,a);return Fn(),Es(),o});return n?s.unshift(r):s.push(r),r}}const It=i=>(e,t=Ve)=>(!Ts||i==="sp")&&io(i,(...n)=>e(...n),t),oh=It("bm"),Hn=It("m"),uh=It("bu"),to=It("u"),no=It("bum"),so=It("um"),fh=It("sp"),lh=It("rtg"),dh=It("rtc");function ch(i,e=Ve){io("ec",i,e)}function Li(i,e){const t=ei;if(t===null)return i;const n=mo(t)||t.proxy,s=i.dirs||(i.dirs=[]);for(let r=0;re(a,o,void 0,r&&r[o]));else{const a=Object.keys(i);s=new Array(a.length);for(let o=0,u=a.length;o{const r=n.fn(...s);return r&&(r.key=n.key),r}:n.fn)}return i}function bi(i,e,t={},n,s){if(ei.isCE||ei.parent&&Gn(ei.parent)&&ei.parent.isCE)return e!=="default"&&(t.name=e),J("slot",t,n&&n());let r=i[e];r&&r._c&&(r._d=!1),Z();const a=r&&ph(r(t)),o=ni(Me,{key:t.key||a&&a.key||`_${e}`},a||(n?n():[]),a&&i._===1?64:-2);return!s&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),r&&r._c&&(r._d=!0),o}function ph(i){return i.some(e=>cn(e)?!(e.type===hi||e.type===Me&&!ph(e.children)):!0)?i:null}function Ry(i,e){const t={};for(const n in i)t[e&&/[A-Z]/.test(n)?`on:${n}`:bs(n)]=i[n];return t}const Xf=i=>i?Lh(i)?mo(i)||i.proxy:Xf(i.parent):null,Br=Fe(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>Xf(i.parent),$root:i=>Xf(i.root),$emit:i=>i.emit,$options:i=>Hf(i),$forceUpdate:i=>i.f||(i.f=()=>Za(i.update)),$nextTick:i=>i.n||(i.n=Xa.bind(i.proxy)),$watch:i=>Cy.bind(i)}),Zf=(i,e)=>i!==Oe&&!i.__isScriptSetup&&ce(i,e),Uf={get({_:i},e){const{ctx:t,setupState:n,data:s,props:r,accessCache:a,type:o,appContext:u}=i;let f;if(e[0]!=="$"){const h=a[e];if(h!==void 0)switch(h){case 1:return n[e];case 2:return s[e];case 4:return t[e];case 3:return r[e]}else{if(Zf(n,e))return a[e]=1,n[e];if(s!==Oe&&ce(s,e))return a[e]=2,s[e];if((f=i.propsOptions[0])&&ce(f,e))return a[e]=3,r[e];if(t!==Oe&&ce(t,e))return a[e]=4,t[e];Gf&&(a[e]=0)}}const l=Br[e];let d,c;if(l)return e==="$attrs"&&Ii(i,"get",e),l(i);if((d=o.__cssModules)&&(d=d[e]))return d;if(t!==Oe&&ce(t,e))return a[e]=4,t[e];if(c=u.config.globalProperties,ce(c,e))return c[e]},set({_:i},e,t){const{data:n,setupState:s,ctx:r}=i;return Zf(s,e)?(s[e]=t,!0):n!==Oe&&ce(n,e)?(n[e]=t,!0):ce(i.props,e)||e[0]==="$"&&e.slice(1)in i?!1:(r[e]=t,!0)},has({_:{data:i,setupState:e,accessCache:t,ctx:n,appContext:s,propsOptions:r}},a){let o;return!!t[a]||i!==Oe&&ce(i,a)||Zf(e,a)||(o=r[0])&&ce(o,a)||ce(n,a)||ce(Br,a)||ce(s.config.globalProperties,a)},defineProperty(i,e,t){return t.get!=null?i._.accessCache[e]=0:ce(t,"value")&&this.set(i,e,t.value,null),Reflect.defineProperty(i,e,t)}},jy=Fe({},Uf,{get(i,e){if(e!==Symbol.unscopables)return Uf.get(i,e,i)},has(i,e){return e[0]!=="_"&&!sO(e)}});let Gf=!0;function Iy(i){const e=Hf(i),t=i.proxy,n=i.ctx;Gf=!1,e.beforeCreate&&Fh(e.beforeCreate,i,"bc");const{data:s,computed:r,methods:a,watch:o,provide:u,inject:f,created:l,beforeMount:d,mounted:c,beforeUpdate:h,updated:m,activated:p,deactivated:g,beforeDestroy:F,beforeUnmount:v,destroyed:O,unmounted:b,render:E,renderTracked:S,renderTriggered:C,errorCaptured:k,serverPrefetch:D,expose:x,inheritAttrs:$,components:T,directives:N,filters:j}=e;if(f&&Ny(f,n,null,i.appContext.config.unwrapInjectedRef),a)for(const ve in a){const ae=a[ve];ne(ae)&&(n[ve]=ae.bind(t))}if(s){const ve=s.call(t,t);we(ve)&&(i.data=Bt(ve))}if(Gf=!0,r)for(const ve in r){const ae=r[ve],Se=ne(ae)?ae.bind(t,t):ne(ae.get)?ae.get.bind(t,t):ki,Bi=!ne(ae)&&ne(ae.set)?ae.set.bind(t):ki,xi=Re({get:Se,set:Bi});Object.defineProperty(n,ve,{enumerable:!0,configurable:!0,get:()=>xi.value,set:di=>xi.value=di})}if(o)for(const ve in o)gh(o[ve],n,t,ve);if(u){const ve=ne(u)?u.call(t):u;Reflect.ownKeys(ve).forEach(ae=>{ln(ae,ve[ae])})}l&&Fh(l,i,"c");function te(ve,ae){X(ae)?ae.forEach(Se=>ve(Se.bind(t))):ae&&ve(ae.bind(t))}if(te(oh,d),te(Hn,c),te(uh,h),te(to,m),te(sh,p),te(rh,g),te(ch,k),te(dh,S),te(lh,C),te(no,v),te(so,b),te(fh,D),X(x))if(x.length){const ve=i.exposed||(i.exposed={});x.forEach(ae=>{Object.defineProperty(ve,ae,{get:()=>t[ae],set:Se=>t[ae]=Se})})}else i.exposed||(i.exposed={});E&&i.render===ki&&(i.render=E),$!=null&&(i.inheritAttrs=$),T&&(i.components=T),N&&(i.directives=N)}function Ny(i,e,t=ki,n=!1){X(i)&&(i=Yf(i));for(const s in i){const r=i[s];let a;we(r)?"default"in r?a=Ki(r.from||s,r.default,!0):a=Ki(r.from||s):a=Ki(r),$e(a)&&n?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):e[s]=a}}function Fh(i,e,t){Ni(X(i)?i.map(n=>n.bind(e.proxy)):i.bind(e.proxy),e,t)}function gh(i,e,t,n){const s=n.includes(".")?ih(t,n):()=>t[n];if(oe(i)){const r=e[i];ne(r)&&ii(s,r)}else if(ne(i))ii(s,i.bind(t));else if(we(i))if(X(i))i.forEach(r=>gh(r,e,t,n));else{const r=ne(i.handler)?i.handler.bind(t):e[i.handler];ne(r)&&ii(s,r,i)}}function Hf(i){const e=i.type,{mixins:t,extends:n}=e,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=i.appContext,o=r.get(e);let u;return o?u=o:!s.length&&!t&&!n?u=e:(u={},s.length&&s.forEach(f=>ro(u,f,a,!0)),ro(u,e,a)),we(e)&&r.set(e,u),u}function ro(i,e,t,n=!1){const{mixins:s,extends:r}=e;r&&ro(i,r,t,!0),s&&s.forEach(a=>ro(i,a,t,!0));for(const a in e)if(!(n&&a==="expose")){const o=Ly[a]||t&&t[a];i[a]=o?o(i[a],e[a]):e[a]}return i}const Ly={data:vh,props:Yn,emits:Yn,methods:Yn,computed:Yn,beforeCreate:_i,created:_i,beforeMount:_i,mounted:_i,beforeUpdate:_i,updated:_i,beforeDestroy:_i,beforeUnmount:_i,destroyed:_i,unmounted:_i,activated:_i,deactivated:_i,errorCaptured:_i,serverPrefetch:_i,components:Yn,directives:Yn,watch:Wy,provide:vh,inject:zy};function vh(i,e){return e?i?function(){return Fe(ne(i)?i.call(this,this):i,ne(e)?e.call(this,this):e)}:e:i}function zy(i,e){return Yn(Yf(i),Yf(e))}function Yf(i){if(X(i)){const e={};for(let t=0;t0)&&!(a&16)){if(a&8){const l=i.vnode.dynamicProps;for(let d=0;d{u=!0;const[c,h]=yh(d,e,!0);Fe(a,c),h&&o.push(...h)};!t&&e.mixins.length&&e.mixins.forEach(l),i.extends&&l(i.extends),i.mixins&&i.mixins.forEach(l)}if(!r&&!u)return we(i)&&n.set(i,ks),ks;if(X(r))for(let l=0;l-1,h[1]=p<0||m-1||ce(h,"default"))&&o.push(d)}}}const f=[a,o];return we(i)&&n.set(i,f),f}function kh(i){return i[0]!=="$"}function wh(i){const e=i&&i.toString().match(/^\s*function (\w+)/);return e?e[1]:i===null?"null":""}function bh(i,e){return wh(i)===wh(e)}function _h(i,e){return X(e)?e.findIndex(t=>bh(t,i)):ne(e)&&bh(e,i)?0:-1}const Sh=i=>i[0]==="_"||i==="$stable",Jf=i=>X(i)?i.map(zi):[zi(i)],Xy=(i,e,t)=>{if(e._n)return e;const n=xe((...s)=>Jf(e(...s)),t);return n._c=!1,n},Dh=(i,e,t)=>{const n=i._ctx;for(const s in i){if(Sh(s))continue;const r=i[s];if(ne(r))e[s]=Xy(s,r,n);else if(r!=null){const a=Jf(r);e[s]=()=>a}}},Eh=(i,e)=>{const t=Jf(e);i.slots.default=()=>t},Zy=(i,e)=>{if(i.vnode.shapeFlag&32){const t=e._;t?(i.slots=he(e),Ma(e,"_",t)):Dh(e,i.slots={})}else i.slots={},e&&Eh(i,e);Ma(i.slots,lo,1)},Uy=(i,e,t)=>{const{vnode:n,slots:s}=i;let r=!0,a=Oe;if(n.shapeFlag&32){const o=e._;o?t&&o===1?r=!1:(Fe(s,e),!t&&o===1&&delete s._):(r=!e.$stable,Dh(e,s)),a=e}else e&&(Eh(i,e),a={default:1});if(r)for(const o in s)!Sh(o)&&!(o in a)&&delete s[o]};function Ch(){return{app:null,config:{isNativeTag:Pa,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 Gy=0;function Hy(i,e){return function(n,s=null){ne(n)||(n=Object.assign({},n)),s!=null&&!we(s)&&(s=null);const r=Ch(),a=new Set;let o=!1;const u=r.app={_uid:Gy++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:Yh,get config(){return r.config},set config(f){},use(f,...l){return a.has(f)||(f&&ne(f.install)?(a.add(f),f.install(u,...l)):ne(f)&&(a.add(f),f(u,...l))),u},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),u},component(f,l){return l?(r.components[f]=l,u):r.components[f]},directive(f,l){return l?(r.directives[f]=l,u):r.directives[f]},mount(f,l,d){if(!o){const c=J(n,s);return c.appContext=r,l&&e?e(c,f):i(c,f,d),o=!0,u._container=f,f.__vue_app__=u,mo(c.component)||c.component.proxy}},unmount(){o&&(i(null,u._container),delete u._container.__vue_app__)},provide(f,l){return r.provides[f]=l,u}};return u}}function ao(i,e,t,n,s=!1){if(X(i)){i.forEach((c,h)=>ao(c,e&&(X(e)?e[h]:e),t,n,s));return}if(Gn(n)&&!s)return;const r=n.shapeFlag&4?mo(n.component)||n.component.proxy:n.el,a=s?null:r,{i:o,r:u}=i,f=e&&e.r,l=o.refs===Oe?o.refs={}:o.refs,d=o.setupState;if(f!=null&&f!==u&&(oe(f)?(l[f]=null,ce(d,f)&&(d[f]=null)):$e(f)&&(f.value=null)),ne(u))Rt(u,o,12,[a,l]);else{const c=oe(u),h=$e(u);if(c||h){const m=()=>{if(i.f){const p=c?ce(d,u)?d[u]:l[u]:u.value;s?X(p)&&Ff(p,r):X(p)?p.includes(r)||p.push(r):c?(l[u]=[r],ce(d,u)&&(d[u]=l[u])):(u.value=[r],i.k&&(l[i.k]=u.value))}else c?(l[u]=a,ce(d,u)&&(d[u]=a)):h&&(u.value=a,i.k&&(l[i.k]=a))};a?(m.id=-1,ti(m,t)):m()}}}let dn=!1;const oo=i=>/svg/.test(i.namespaceURI)&&i.tagName!=="foreignObject",uo=i=>i.nodeType===8;function Yy(i){const{mt:e,p:t,o:{patchProp:n,createText:s,nextSibling:r,parentNode:a,remove:o,insert:u,createComment:f}}=i,l=(F,v)=>{if(!v.hasChildNodes()){t(null,F,v),Ua(),v._vnode=F;return}dn=!1,d(v.firstChild,F,null,null,null),Ua(),v._vnode=F,dn&&console.error("Hydration completed but contains mismatches.")},d=(F,v,O,b,E,S=!1)=>{const C=uo(F)&&F.data==="[",k=()=>p(F,v,O,b,E,C),{type:D,ref:x,shapeFlag:$,patchFlag:T}=v;let N=F.nodeType;v.el=F,T===-2&&(S=!1,v.dynamicChildren=null);let j=null;switch(D){case Jn:N!==3?v.children===""?(u(v.el=s(""),a(F),F),j=F):j=k():(F.data!==v.children&&(dn=!0,F.data=v.children),j=r(F));break;case hi:N!==8||C?j=k():j=r(F);break;case es:if(C&&(F=r(F),N=F.nodeType),N===1||N===3){j=F;const ie=!v.children.length;for(let te=0;te{S=S||!!v.dynamicChildren;const{type:C,props:k,patchFlag:D,shapeFlag:x,dirs:$}=v,T=C==="input"&&$||C==="option";if(T||D!==-1){if($&&mt(v,null,O,"created"),k)if(T||!S||D&48)for(const j in k)(T&&j.endsWith("value")||jn(j)&&!Nn(j))&&n(F,j,null,k[j],!1,void 0,O);else k.onClick&&n(F,"onClick",null,k.onClick,!1,void 0,O);let N;if((N=k&&k.onVnodeBeforeMount)&&Pi(N,O,v),$&&mt(v,null,O,"beforeMount"),((N=k&&k.onVnodeMounted)||$)&&Jc(()=>{N&&Pi(N,O,v),$&&mt(v,null,O,"mounted")},b),x&16&&!(k&&(k.innerHTML||k.textContent))){let j=h(F.firstChild,v,F,O,b,E,S);for(;j;){dn=!0;const ie=j;j=j.nextSibling,o(ie)}}else x&8&&F.textContent!==v.children&&(dn=!0,F.textContent=v.children)}return F.nextSibling},h=(F,v,O,b,E,S,C)=>{C=C||!!v.dynamicChildren;const k=v.children,D=k.length;for(let x=0;x{const{slotScopeIds:C}=v;C&&(E=E?E.concat(C):C);const k=a(F),D=h(r(F),v,k,O,b,E,S);return D&&uo(D)&&D.data==="]"?r(v.anchor=D):(dn=!0,u(v.anchor=f("]"),k,D),D)},p=(F,v,O,b,E,S)=>{if(dn=!0,v.el=null,S){const D=g(F);for(;;){const x=r(F);if(x&&x!==D)o(x);else break}}const C=r(F),k=a(F);return o(F),t(null,v,k,C,O,b,oo(k),E),C},g=F=>{let v=0;for(;F;)if(F=r(F),F&&uo(F)&&(F.data==="["&&v++,F.data==="]")){if(v===0)return r(F);v--}return F};return[l,d]}const ti=Jc;function xh(i){return $h(i)}function Qh(i){return $h(i,Yy)}function $h(i,e){const t=bO();t.__VUE__=!0;const{insert:n,remove:s,patchProp:r,createElement:a,createText:o,createComment:u,setText:f,setElementText:l,parentNode:d,nextSibling:c,setScopeId:h=ki,insertStaticContent:m}=i,p=(y,w,Q,M=null,A=null,z=null,V=!1,L=null,q=!!w.dynamicChildren)=>{if(y===w)return;y&&!pt(y,w)&&(M=hf(y),di(y,A,z,!0),y=null),w.patchFlag===-2&&(q=!1,w.dynamicChildren=null);const{type:B,ref:Y,shapeFlag:U}=w;switch(B){case Jn:g(y,w,Q,M);break;case hi:F(y,w,Q,M);break;case es:y==null&&v(w,Q,M,V);break;case Me:T(y,w,Q,M,A,z,V,L,q);break;default:U&1?E(y,w,Q,M,A,z,V,L,q):U&6?N(y,w,Q,M,A,z,V,L,q):(U&64||U&128)&&B.process(y,w,Q,M,A,z,V,L,q,kr)}Y!=null&&A&&ao(Y,y&&y.ref,z,w||y,!w)},g=(y,w,Q,M)=>{if(y==null)n(w.el=o(w.children),Q,M);else{const A=w.el=y.el;w.children!==y.children&&f(A,w.children)}},F=(y,w,Q,M)=>{y==null?n(w.el=u(w.children||""),Q,M):w.el=y.el},v=(y,w,Q,M)=>{[y.el,y.anchor]=m(y.children,w,Q,M,y.el,y.anchor)},O=({el:y,anchor:w},Q,M)=>{let A;for(;y&&y!==w;)A=c(y),n(y,Q,M),y=A;n(w,Q,M)},b=({el:y,anchor:w})=>{let Q;for(;y&&y!==w;)Q=c(y),s(y),y=Q;s(w)},E=(y,w,Q,M,A,z,V,L,q)=>{V=V||w.type==="svg",y==null?S(w,Q,M,A,z,V,L,q):D(y,w,A,z,V,L,q)},S=(y,w,Q,M,A,z,V,L)=>{let q,B;const{type:Y,props:U,shapeFlag:K,transition:se,dirs:de}=y;if(q=y.el=a(y.type,z,U&&U.is,U),K&8?l(q,y.children):K&16&&k(y.children,q,null,M,A,z&&Y!=="foreignObject",V,L),de&&mt(y,null,M,"created"),U){for(const _e in U)_e!=="value"&&!Nn(_e)&&r(q,_e,null,U[_e],z,y.children,M,A,sn);"value"in U&&r(q,"value",null,U.value),(B=U.onVnodeBeforeMount)&&Pi(B,M,y)}C(q,y,y.scopeId,V,M),de&&mt(y,null,M,"beforeMount");const De=(!A||A&&!A.pendingBranch)&&se&&!se.persisted;De&&se.beforeEnter(q),n(q,w,Q),((B=U&&U.onVnodeMounted)||De||de)&&ti(()=>{B&&Pi(B,M,y),De&&se.enter(q),de&&mt(y,null,M,"mounted")},A)},C=(y,w,Q,M,A)=>{if(Q&&h(y,Q),M)for(let z=0;z{for(let B=q;B{const L=w.el=y.el;let{patchFlag:q,dynamicChildren:B,dirs:Y}=w;q|=y.patchFlag&16;const U=y.props||Oe,K=w.props||Oe;let se;Q&&Kn(Q,!1),(se=K.onVnodeBeforeUpdate)&&Pi(se,Q,w,y),Y&&mt(w,y,Q,"beforeUpdate"),Q&&Kn(Q,!0);const de=A&&w.type!=="foreignObject";if(B?x(y.dynamicChildren,B,L,Q,M,de,z):V||ae(y,w,L,null,Q,M,de,z,!1),q>0){if(q&16)$(L,w,U,K,Q,M,A);else if(q&2&&U.class!==K.class&&r(L,"class",null,K.class,A),q&4&&r(L,"style",U.style,K.style,A),q&8){const De=w.dynamicProps;for(let _e=0;_e{se&&Pi(se,Q,w,y),Y&&mt(w,y,Q,"updated")},M)},x=(y,w,Q,M,A,z,V)=>{for(let L=0;L{if(Q!==M){if(Q!==Oe)for(const L in Q)!Nn(L)&&!(L in M)&&r(y,L,Q[L],null,V,w.children,A,z,sn);for(const L in M){if(Nn(L))continue;const q=M[L],B=Q[L];q!==B&&L!=="value"&&r(y,L,B,q,V,w.children,A,z,sn)}"value"in M&&r(y,"value",Q.value,M.value)}},T=(y,w,Q,M,A,z,V,L,q)=>{const B=w.el=y?y.el:o(""),Y=w.anchor=y?y.anchor:o("");let{patchFlag:U,dynamicChildren:K,slotScopeIds:se}=w;se&&(L=L?L.concat(se):se),y==null?(n(B,Q,M),n(Y,Q,M),k(w.children,Q,Y,A,z,V,L,q)):U>0&&U&64&&K&&y.dynamicChildren?(x(y.dynamicChildren,K,Q,A,z,V,L),(w.key!=null||A&&w===A.subTree)&&el(y,w,!0)):ae(y,w,Q,Y,A,z,V,L,q)},N=(y,w,Q,M,A,z,V,L,q)=>{w.slotScopeIds=L,y==null?w.shapeFlag&512?A.ctx.activate(w,Q,M,V,q):j(w,Q,M,A,z,V,q):ie(y,w,q)},j=(y,w,Q,M,A,z,V)=>{const L=y.component=Nh(y,M,A);if(Pr(y)&&(L.ctx.renderer=kr),zh(L),L.asyncDep){if(A&&A.registerDep(L,te),!y.el){const q=L.subTree=J(hi);F(null,q,w,Q)}return}te(L,y,w,Q,A,z,V)},ie=(y,w,Q)=>{const M=w.component=y.component;if(ky(y,w,Q))if(M.asyncDep&&!M.asyncResolved){ve(M,w,Q);return}else M.next=w,cy(M.update),M.update();else w.el=y.el,M.vnode=w},te=(y,w,Q,M,A,z,V)=>{const L=()=>{if(y.isMounted){let{next:Y,bu:U,u:K,parent:se,vnode:de}=y,De=Y,_e;Kn(y,!1),Y?(Y.el=de.el,ve(y,Y,V)):Y=de,U&&Ss(U),(_e=Y.props&&Y.props.onVnodeBeforeUpdate)&&Pi(_e,se,Y,de),Kn(y,!0);const qe=Ka(y),ct=y.subTree;y.subTree=qe,p(ct,qe,d(ct.el),hf(ct),y,A,z),Y.el=qe.el,De===null&&Mf(y,qe.el),K&&ti(K,A),(_e=Y.props&&Y.props.onVnodeUpdated)&&ti(()=>Pi(_e,se,Y,de),A)}else{let Y;const{el:U,props:K}=w,{bm:se,m:de,parent:De}=y,_e=Gn(w);if(Kn(y,!1),se&&Ss(se),!_e&&(Y=K&&K.onVnodeBeforeMount)&&Pi(Y,De,w),Kn(y,!0),U&&fc){const qe=()=>{y.subTree=Ka(y),fc(U,y.subTree,y,A,null)};_e?w.type.__asyncLoader().then(()=>!y.isUnmounted&&qe()):qe()}else{const qe=y.subTree=Ka(y);p(null,qe,Q,M,y,A,z),w.el=qe.el}if(de&&ti(de,A),!_e&&(Y=K&&K.onVnodeMounted)){const qe=w;ti(()=>Pi(Y,De,qe),A)}(w.shapeFlag&256||De&&Gn(De.vnode)&&De.vnode.shapeFlag&256)&&y.a&&ti(y.a,A),y.isMounted=!0,w=Q=M=null}},q=y.effect=new Sr(L,()=>Za(B),y.scope),B=y.update=()=>q.run();B.id=y.uid,Kn(y,!0),B()},ve=(y,w,Q)=>{w.component=y;const M=y.vnode.props;y.vnode=w,y.next=null,Vy(y,w.props,M,Q),Uy(y,w.children,Q),Ds(),Xc(),Es()},ae=(y,w,Q,M,A,z,V,L,q=!1)=>{const B=y&&y.children,Y=y?y.shapeFlag:0,U=w.children,{patchFlag:K,shapeFlag:se}=w;if(K>0){if(K&128){Bi(B,U,Q,M,A,z,V,L,q);return}else if(K&256){Se(B,U,Q,M,A,z,V,L,q);return}}se&8?(Y&16&&sn(B,A,z),U!==B&&l(Q,U)):Y&16?se&16?Bi(B,U,Q,M,A,z,V,L,q):sn(B,A,z,!0):(Y&8&&l(Q,""),se&16&&k(U,Q,M,A,z,V,L,q))},Se=(y,w,Q,M,A,z,V,L,q)=>{y=y||ks,w=w||ks;const B=y.length,Y=w.length,U=Math.min(B,Y);let K;for(K=0;KY?sn(y,A,z,!0,!1,U):k(w,Q,M,A,z,V,L,q,U)},Bi=(y,w,Q,M,A,z,V,L,q)=>{let B=0;const Y=w.length;let U=y.length-1,K=Y-1;for(;B<=U&&B<=K;){const se=y[B],de=w[B]=q?hn(w[B]):zi(w[B]);if(pt(se,de))p(se,de,Q,null,A,z,V,L,q);else break;B++}for(;B<=U&&B<=K;){const se=y[U],de=w[K]=q?hn(w[K]):zi(w[K]);if(pt(se,de))p(se,de,Q,null,A,z,V,L,q);else break;U--,K--}if(B>U){if(B<=K){const se=K+1,de=seK)for(;B<=U;)di(y[B],A,z,!0),B++;else{const se=B,de=B,De=new Map;for(B=de;B<=K;B++){const Yi=w[B]=q?hn(w[B]):zi(w[B]);Yi.key!=null&&De.set(Yi.key,B)}let _e,qe=0;const ct=K-de+1;let wr=!1,iO=0;const $a=new Array(ct);for(B=0;B=ct){di(Yi,A,z,!0);continue}let Tt;if(Yi.key!=null)Tt=De.get(Yi.key);else for(_e=de;_e<=K;_e++)if($a[_e-de]===0&&pt(Yi,w[_e])){Tt=_e;break}Tt===void 0?di(Yi,A,z,!0):($a[Tt-de]=B+1,Tt>=iO?iO=Tt:wr=!0,p(Yi,w[Tt],Q,null,A,z,V,L,q),qe++)}const tO=wr?Ky($a):ks;for(_e=tO.length-1,B=ct-1;B>=0;B--){const Yi=de+B,Tt=w[Yi],nO=Yi+1{const{el:z,type:V,transition:L,children:q,shapeFlag:B}=y;if(B&6){xi(y.component.subTree,w,Q,M);return}if(B&128){y.suspense.move(w,Q,M);return}if(B&64){V.move(y,w,Q,kr);return}if(V===Me){n(z,w,Q);for(let U=0;UL.enter(z),A);else{const{leave:U,delayLeave:K,afterLeave:se}=L,de=()=>n(z,w,Q),De=()=>{U(z,()=>{de(),se&&se()})};K?K(z,de,De):De()}else n(z,w,Q)},di=(y,w,Q,M=!1,A=!1)=>{const{type:z,props:V,ref:L,children:q,dynamicChildren:B,shapeFlag:Y,patchFlag:U,dirs:K}=y;if(L!=null&&ao(L,null,Q,y,!0),Y&256){w.ctx.deactivate(y);return}const se=Y&1&&K,de=!Gn(y);let De;if(de&&(De=V&&V.onVnodeBeforeUnmount)&&Pi(De,w,y),Y&6)d8(y.component,Q,M);else{if(Y&128){y.suspense.unmount(Q,M);return}se&&mt(y,null,w,"beforeUnmount"),Y&64?y.type.remove(y,w,Q,A,kr,M):B&&(z!==Me||U>0&&U&64)?sn(B,w,Q,!1,!0):(z===Me&&U&384||!A&&Y&16)&&sn(q,w,Q),M&&ys(y)}(de&&(De=V&&V.onVnodeUnmounted)||se)&&ti(()=>{De&&Pi(De,w,y),se&&mt(y,null,w,"unmounted")},Q)},ys=y=>{const{type:w,el:Q,anchor:M,transition:A}=y;if(w===Me){cf(Q,M);return}if(w===es){b(y);return}const z=()=>{s(Q),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(y.shapeFlag&1&&A&&!A.persisted){const{leave:V,delayLeave:L}=A,q=()=>V(Q,z);L?L(y.el,z,q):q()}else z()},cf=(y,w)=>{let Q;for(;y!==w;)Q=c(y),s(y),y=Q;s(w)},d8=(y,w,Q)=>{const{bum:M,scope:A,update:z,subTree:V,um:L}=y;M&&Ss(M),A.stop(),z&&(z.active=!1,di(V,y,w,Q)),L&&ti(L,w),ti(()=>{y.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},sn=(y,w,Q,M=!1,A=!1,z=0)=>{for(let V=z;Vy.shapeFlag&6?hf(y.component.subTree):y.shapeFlag&128?y.suspense.next():c(y.anchor||y.el),eO=(y,w,Q)=>{y==null?w._vnode&&di(w._vnode,null,null,!0):p(w._vnode||null,y,w,null,null,null,Q),Xc(),Ua(),w._vnode=y},kr={p,um:di,m:xi,r:ys,mt:j,mc:k,pc:ae,pbc:x,n:hf,o:i};let uc,fc;return e&&([uc,fc]=e(kr)),{render:eO,hydrate:uc,createApp:Hy(eO,uc)}}function Kn({effect:i,update:e},t){i.allowRecurse=e.allowRecurse=t}function el(i,e,t=!1){const n=i.children,s=e.children;if(X(n)&&X(s))for(let r=0;r>1,i[t[o]]0&&(e[n]=t[r-1]),t[r]=n)}}for(r=t.length,a=t[r-1];r-- >0;)t[r]=a,a=e[a];return t}const Jy=i=>i.__isTeleport,Rr=i=>i&&(i.disabled||i.disabled===""),Th=i=>typeof SVGElement!="undefined"&&i instanceof SVGElement,il=(i,e)=>{const t=i&&i.to;return oe(t)?e?e(t):null:t},e3={__isTeleport:!0,process(i,e,t,n,s,r,a,o,u,f){const{mc:l,pc:d,pbc:c,o:{insert:h,querySelector:m,createText:p,createComment:g}}=f,F=Rr(e.props);let{shapeFlag:v,children:O,dynamicChildren:b}=e;if(i==null){const E=e.el=p(""),S=e.anchor=p("");h(E,t,n),h(S,t,n);const C=e.target=il(e.props,m),k=e.targetAnchor=p("");C&&(h(k,C),a=a||Th(C));const D=(x,$)=>{v&16&&l(O,x,$,s,r,a,o,u)};F?D(t,S):C&&D(C,k)}else{e.el=i.el;const E=e.anchor=i.anchor,S=e.target=i.target,C=e.targetAnchor=i.targetAnchor,k=Rr(i.props),D=k?t:S,x=k?E:C;if(a=a||Th(S),b?(c(i.dynamicChildren,b,D,s,r,a,o),el(i,e,!0)):u||d(i,e,D,x,s,r,a,o,!1),F)k||fo(e,t,E,f,1);else if((e.props&&e.props.to)!==(i.props&&i.props.to)){const $=e.target=il(e.props,m);$&&fo(e,$,null,f,0)}else k&&fo(e,S,C,f,1)}Ah(e)},remove(i,e,t,n,{um:s,o:{remove:r}},a){const{shapeFlag:o,children:u,anchor:f,targetAnchor:l,target:d,props:c}=i;if(d&&r(l),(a||!Rr(c))&&(r(f),o&16))for(let h=0;h0?Ti||ks:null,Mh(),is>0&&Ti&&Ti.push(i),i}function re(i,e,t,n,s,r){return Bh(R(i,e,t,n,s,r,!0))}function ni(i,e,t,n,s){return Bh(J(i,e,t,n,s,!0))}function cn(i){return i?i.__v_isVNode===!0:!1}function pt(i,e){return i.type===e.type&&i.key===e.key}function t3(i){}const lo="__vInternal",Rh=({key:i})=>i!=null?i:null,co=({ref:i,ref_key:e,ref_for:t})=>i!=null?oe(i)||$e(i)||ne(i)?{i:ei,r:i,k:e,f:!!t}:i:null;function R(i,e=null,t=null,n=0,s=null,r=i===Me?0:1,a=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:i,props:e,key:e&&Rh(e),ref:e&&co(e),scopeId:Ya,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ei};return o?(nl(u,t),r&128&&i.normalize(u)):t&&(u.shapeFlag|=oe(t)?8:16),is>0&&!a&&Ti&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&Ti.push(u),u}const J=n3;function n3(i,e=null,t=null,n=0,s=null,r=!1){if((!i||i===hh)&&(i=hi),cn(i)){const o=Ft(i,e,!0);return t&&nl(o,t),is>0&&!r&&Ti&&(o.shapeFlag&6?Ti[Ti.indexOf(i)]=o:Ti.push(o)),o.patchFlag|=-2,o}if(l3(i)&&(i=i.__vccOpts),e){e=jh(e);let{class:o,style:u}=e;o&&!oe(o)&&(e.class=$i(o)),we(u)&&(Ef(u)&&!X(u)&&(u=Fe({},u)),e.style=Pt(u))}const a=oe(i)?1:Yc(i)?128:Jy(i)?64:we(i)?4:ne(i)?2:0;return R(i,e,t,n,s,a,r,!0)}function jh(i){return i?Ef(i)||lo in i?Fe({},i):i:null}function Ft(i,e,t=!1){const{props:n,ref:s,patchFlag:r,children:a}=i,o=e?Ih(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:i.type,props:o,key:o&&Rh(o),ref:e&&e.ref?t&&s?X(s)?s.concat(co(e)):[s,co(e)]:co(e):s,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:a,target:i.target,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:e&&i.type!==Me?r===-1?16:r|16:r,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:i.transition,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&Ft(i.ssContent),ssFallback:i.ssFallback&&Ft(i.ssFallback),el:i.el,anchor:i.anchor,ctx:i.ctx}}function et(i=" ",e=0){return J(Jn,null,i,e)}function s3(i,e){const t=J(es,null,i);return t.staticCount=e,t}function Le(i="",e=!1){return e?(Z(),ni(hi,null,i)):J(hi,null,i)}function zi(i){return i==null||typeof i=="boolean"?J(hi):X(i)?J(Me,null,i.slice()):typeof i=="object"?hn(i):J(Jn,null,String(i))}function hn(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:Ft(i)}function nl(i,e){let t=0;const{shapeFlag:n}=i;if(e==null)e=null;else if(X(e))t=16;else if(typeof e=="object")if(n&65){const s=e.default;s&&(s._c&&(s._d=!1),nl(i,s()),s._c&&(s._d=!0));return}else{t=32;const s=e._;!s&&!(lo in e)?e._ctx=ei:s===3&&ei&&(ei.slots._===1?e._=1:(e._=2,i.patchFlag|=1024))}else ne(e)?(e={default:e,_ctx:ei},t=32):(e=String(e),n&64?(t=16,e=[et(e)]):t=8);i.children=e,i.shapeFlag|=t}function Ih(...i){const e={};for(let t=0;tVe||ei,pn=i=>{Ve=i,i.scope.on()},Fn=()=>{Ve&&Ve.scope.off(),Ve=null};function Lh(i){return i.vnode.shapeFlag&4}let Ts=!1;function zh(i,e=!1){Ts=e;const{props:t,children:n}=i.vnode,s=Lh(i);qy(i,t,s,e),Zy(i,n);const r=s?o3(i,e):void 0;return Ts=!1,r}function o3(i,e){const t=i.type;i.accessCache=Object.create(null),i.proxy=Cf(new Proxy(i.ctx,Uf));const{setup:n}=t;if(n){const s=i.setupContext=n.length>1?Vh(i):null;pn(i),Ds();const r=Rt(n,i,0,[i.props,s]);if(Es(),Fn(),gf(r)){if(r.then(Fn,Fn),e)return r.then(a=>{sl(i,a,e)}).catch(a=>{Vn(a,i,0)});i.asyncDep=r}else sl(i,r,e)}else qh(i,e)}function sl(i,e,t){ne(e)?i.type.__ssrInlineRender?i.ssrRender=e:i.render=e:we(e)&&(i.setupState=$f(e)),qh(i,t)}let ho,rl;function Wh(i){ho=i,rl=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,jy))}}const u3=()=>!ho;function qh(i,e,t){const n=i.type;if(!i.render){if(!e&&ho&&!n.render){const s=n.template||Hf(i).template;if(s){const{isCustomElement:r,compilerOptions:a}=i.appContext.config,{delimiters:o,compilerOptions:u}=n,f=Fe(Fe({isCustomElement:r,delimiters:o},a),u);n.render=ho(s,f)}}i.render=n.render||ki,rl&&rl(i)}pn(i),Ds(),Iy(i),Es(),Fn()}function f3(i){return new Proxy(i.attrs,{get(e,t){return Ii(i,"get","$attrs"),e[t]}})}function Vh(i){const e=n=>{i.exposed=n||{}};let t;return{get attrs(){return t||(t=f3(i))},slots:i.slots,emit:i.emit,expose:e}}function mo(i){if(i.exposed)return i.exposeProxy||(i.exposeProxy=new Proxy($f(Cf(i.exposed)),{get(e,t){if(t in e)return e[t];if(t in Br)return Br[t](i)},has(e,t){return t in e||t in Br}}))}function al(i,e=!0){return ne(i)?i.displayName||i.name:i.name||e&&i.__name}function l3(i){return ne(i)&&"__vccOpts"in i}const Re=(i,e)=>uy(i,e,Ts);function d3(){return null}function c3(){return null}function h3(i){}function m3(i,e){return null}function p3(){return Xh().slots}function F3(){return Xh().attrs}function Xh(){const i=mn();return i.setupContext||(i.setupContext=Vh(i))}function g3(i,e){const t=X(i)?i.reduce((n,s)=>(n[s]={},n),{}):i;for(const n in e){const s=t[n];s?X(s)||ne(s)?t[n]={type:s,default:e[n]}:s.default=e[n]:s===null&&(t[n]={default:e[n]})}return t}function v3(i,e){const t={};for(const n in i)e.includes(n)||Object.defineProperty(t,n,{enumerable:!0,get:()=>i[n]});return t}function O3(i){const e=mn();let t=i();return Fn(),gf(t)&&(t=t.catch(n=>{throw pn(e),n})),[t,()=>pn(e)]}function Zh(i,e,t){const n=arguments.length;return n===2?we(e)&&!X(e)?cn(e)?J(i,null,[e]):J(i,e):J(i,null,e):(n>3?t=Array.prototype.slice.call(arguments,2):n===3&&cn(t)&&(t=[t]),J(i,e,t))}const Uh=Symbol(""),Gh=()=>Ki(Uh);function y3(){}function k3(i,e,t,n){const s=t[n];if(s&&Hh(s,i))return s;const r=e();return r.memo=i.slice(),t[n]=r}function Hh(i,e){const t=i.memo;if(t.length!=e.length)return!1;for(let n=0;n0&&Ti&&Ti.push(i),!0}const Yh="3.2.45",w3={createComponentInstance:Nh,setupComponent:zh,renderComponentRoot:Ka,setCurrentRenderingInstance:Qr,isVNode:cn,normalizeVNode:zi},b3=null,_3=null,S3="http://www.w3.org/2000/svg",ts=typeof document!="undefined"?document:null,Kh=ts&&ts.createElement("template"),D3={insert:(i,e,t)=>{e.insertBefore(i,t||null)},remove:i=>{const e=i.parentNode;e&&e.removeChild(i)},createElement:(i,e,t,n)=>{const s=e?ts.createElementNS(S3,i):ts.createElement(i,t?{is:t}:void 0);return i==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:i=>ts.createTextNode(i),createComment:i=>ts.createComment(i),setText:(i,e)=>{i.nodeValue=e},setElementText:(i,e)=>{i.textContent=e},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>ts.querySelector(i),setScopeId(i,e){i.setAttribute(e,"")},insertStaticContent(i,e,t,n,s,r){const a=t?t.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),t),!(s===r||!(s=s.nextSibling)););else{Kh.innerHTML=n?`${i}`:i;const o=Kh.content;if(n){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}e.insertBefore(o,t)}return[a?a.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}};function E3(i,e,t){const n=i._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?i.removeAttribute("class"):t?i.setAttribute("class",e):i.className=e}function C3(i,e,t){const n=i.style,s=oe(t);if(t&&!s){for(const r in t)ol(n,r,t[r]);if(e&&!oe(e))for(const r in e)t[r]==null&&ol(n,r,"")}else{const r=n.display;s?e!==t&&(n.cssText=t):e&&i.removeAttribute("style"),"_vod"in i&&(n.display=r)}}const Jh=/\s*!important$/;function ol(i,e,t){if(X(t))t.forEach(n=>ol(i,e,n));else if(t==null&&(t=""),e.startsWith("--"))i.setProperty(e,t);else{const n=x3(i,e);Jh.test(t)?i.setProperty(Ri(n),t.replace(Jh,""),"important"):i[n]=t}}const e0=["Webkit","Moz","ms"],ul={};function x3(i,e){const t=ul[e];if(t)return t;let n=Je(e);if(n!=="filter"&&n in i)return ul[e]=n;n=Ln(n);for(let s=0;sfl||(M3.then(()=>fl=0),fl=Date.now());function R3(i,e){const t=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=t.attached)return;Ni(j3(n,t.value),e,5,[n])};return t.value=i,t.attached=B3(),t}function j3(i,e){if(X(e)){const t=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{t.call(i),i._stopped=!0},e.map(n=>s=>!s._stopped&&n&&n(s))}else return e}const n0=/^on[a-z]/,I3=(i,e,t,n,s=!1,r,a,o,u)=>{e==="class"?E3(i,n,s):e==="style"?C3(i,t,n):jn(e)?pf(e)||P3(i,e,t,n,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):N3(i,e,n,s))?$3(i,e,n,r,a,o,u):(e==="true-value"?i._trueValue=n:e==="false-value"&&(i._falseValue=n),Q3(i,e,n,s))};function N3(i,e,t,n){return n?!!(e==="innerHTML"||e==="textContent"||e in i&&n0.test(e)&&ne(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&i.tagName==="INPUT"||e==="type"&&i.tagName==="TEXTAREA"||n0.test(e)&&oe(t)?!1:e in i}function s0(i,e){const t=wi(i);class n extends po{constructor(r){super(t,r,e)}}return n.def=t,n}const L3=i=>s0(i,E0),z3=typeof HTMLElement!="undefined"?HTMLElement:class{};class po extends z3{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Xa(()=>{this._connected||(gl(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let n=0;n{for(const s of n)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const e=(n,s=!1)=>{const{props:r,styles:a}=n;let o;if(r&&!X(r))for(const u in r){const f=r[u];(f===Number||f&&f.type===Number)&&(u in this._props&&(this._props[u]=At(this._props[u])),(o||(o=Object.create(null)))[Je(u)]=!0)}this._numberProps=o,s&&this._resolveProps(n),this._applyStyles(a),this._update()},t=this._def.__asyncLoader;t?t().then(n=>e(n,!0)):e(this._def)}_resolveProps(e){const{props:t}=e,n=X(t)?t:Object.keys(t||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s],!0,!1);for(const s of n.map(Je))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r)}})}_setAttr(e){let t=this.getAttribute(e);const n=Je(e);this._numberProps&&this._numberProps[n]&&(t=At(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,s=!0){t!==this._props[e]&&(this._props[e]=t,s&&this._instance&&this._update(),n&&(t===!0?this.setAttribute(Ri(e),""):typeof t=="string"||typeof t=="number"?this.setAttribute(Ri(e),t+""):t||this.removeAttribute(Ri(e))))}_update(){gl(this._createVNode(),this.shadowRoot)}_createVNode(){const e=J(this._def,Fe({},this._props));return this._instance||(e.ce=t=>{this._instance=t,t.isCE=!0;const n=(r,a)=>{this.dispatchEvent(new CustomEvent(r,{detail:a}))};t.emit=(r,...a)=>{n(r,a),Ri(r)!==r&&n(Ri(r),a)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof po){t.parent=s._instance,t.provides=s._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(t=>{const n=document.createElement("style");n.textContent=t,this.shadowRoot.appendChild(n)})}}function W3(i="$style"){{const e=mn();if(!e)return Oe;const t=e.type.__cssModules;if(!t)return Oe;const n=t[i];return n||Oe}}function q3(i){const e=mn();if(!e)return;const t=e.ut=(s=i(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>dl(r,s))},n=()=>{const s=i(e.proxy);ll(e.subTree,s),t(s)};eh(n),Hn(()=>{const s=new MutationObserver(n);s.observe(e.subTree.el.parentNode,{childList:!0}),so(()=>s.disconnect())})}function ll(i,e){if(i.shapeFlag&128){const t=i.suspense;i=t.activeBranch,t.pendingBranch&&!t.isHydrating&&t.effects.push(()=>{ll(t.activeBranch,e)})}for(;i.component;)i=i.component.subTree;if(i.shapeFlag&1&&i.el)dl(i.el,e);else if(i.type===Me)i.children.forEach(t=>ll(t,e));else if(i.type===es){let{el:t,anchor:n}=i;for(;t&&(dl(t,e),t!==n);)t=t.nextSibling}}function dl(i,e){if(i.nodeType===1){const t=i.style;for(const n in e)t.setProperty(`--${n}`,e[n])}}const gn="transition",Ir="animation",vn=(i,{slots:e})=>Zh(If,o0(i),e);vn.displayName="Transition";const r0={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},V3=vn.props=Fe({},If.props,r0),ns=(i,e=[])=>{X(i)?i.forEach(t=>t(...e)):i&&i(...e)},a0=i=>i?X(i)?i.some(e=>e.length>1):i.length>1:!1;function o0(i){const e={};for(const T in i)T in r0||(e[T]=i[T]);if(i.css===!1)return e;const{name:t="v",type:n,duration:s,enterFromClass:r=`${t}-enter-from`,enterActiveClass:a=`${t}-enter-active`,enterToClass:o=`${t}-enter-to`,appearFromClass:u=r,appearActiveClass:f=a,appearToClass:l=o,leaveFromClass:d=`${t}-leave-from`,leaveActiveClass:c=`${t}-leave-active`,leaveToClass:h=`${t}-leave-to`}=i,m=X3(s),p=m&&m[0],g=m&&m[1],{onBeforeEnter:F,onEnter:v,onEnterCancelled:O,onLeave:b,onLeaveCancelled:E,onBeforeAppear:S=F,onAppear:C=v,onAppearCancelled:k=O}=e,D=(T,N,j)=>{On(T,N?l:o),On(T,N?f:a),j&&j()},x=(T,N)=>{T._isLeaving=!1,On(T,d),On(T,h),On(T,c),N&&N()},$=T=>(N,j)=>{const ie=T?C:v,te=()=>D(N,T,j);ns(ie,[N,te]),u0(()=>{On(N,T?u:r),Lt(N,T?l:o),a0(ie)||f0(N,n,p,te)})};return Fe(e,{onBeforeEnter(T){ns(F,[T]),Lt(T,r),Lt(T,a)},onBeforeAppear(T){ns(S,[T]),Lt(T,u),Lt(T,f)},onEnter:$(!1),onAppear:$(!0),onLeave(T,N){T._isLeaving=!0;const j=()=>x(T,N);Lt(T,d),h0(),Lt(T,c),u0(()=>{!T._isLeaving||(On(T,d),Lt(T,h),a0(b)||f0(T,n,g,j))}),ns(b,[T,j])},onEnterCancelled(T){D(T,!1),ns(O,[T])},onAppearCancelled(T){D(T,!0),ns(k,[T])},onLeaveCancelled(T){x(T),ns(E,[T])}})}function X3(i){if(i==null)return null;if(we(i))return[cl(i.enter),cl(i.leave)];{const e=cl(i);return[e,e]}}function cl(i){return At(i)}function Lt(i,e){e.split(/\s+/).forEach(t=>t&&i.classList.add(t)),(i._vtc||(i._vtc=new Set)).add(e)}function On(i,e){e.split(/\s+/).forEach(n=>n&&i.classList.remove(n));const{_vtc:t}=i;t&&(t.delete(e),t.size||(i._vtc=void 0))}function u0(i){requestAnimationFrame(()=>{requestAnimationFrame(i)})}let Z3=0;function f0(i,e,t,n){const s=i._endId=++Z3,r=()=>{s===i._endId&&n()};if(t)return setTimeout(r,t);const{type:a,timeout:o,propCount:u}=l0(i,e);if(!a)return n();const f=a+"end";let l=0;const d=()=>{i.removeEventListener(f,c),r()},c=h=>{h.target===i&&++l>=u&&d()};setTimeout(()=>{l(t[m]||"").split(", "),s=n(`${gn}Delay`),r=n(`${gn}Duration`),a=d0(s,r),o=n(`${Ir}Delay`),u=n(`${Ir}Duration`),f=d0(o,u);let l=null,d=0,c=0;e===gn?a>0&&(l=gn,d=a,c=r.length):e===Ir?f>0&&(l=Ir,d=f,c=u.length):(d=Math.max(a,f),l=d>0?a>f?gn:Ir:null,c=l?l===gn?r.length:u.length:0);const h=l===gn&&/\b(transform|all)(,|$)/.test(n(`${gn}Property`).toString());return{type:l,timeout:d,propCount:c,hasTransform:h}}function d0(i,e){for(;i.lengthc0(t)+c0(i[n])))}function c0(i){return Number(i.slice(0,-1).replace(",","."))*1e3}function h0(){return document.body.offsetHeight}const m0=new WeakMap,p0=new WeakMap,hl={name:"TransitionGroup",props:Fe({},V3,{tag:String,moveClass:String}),setup(i,{slots:e}){const t=mn(),n=jf();let s,r;return to(()=>{if(!s.length)return;const a=i.moveClass||`${i.name||"v"}-move`;if(!Y3(s[0].el,t.vnode.el,a))return;s.forEach(U3),s.forEach(G3);const o=s.filter(H3);h0(),o.forEach(u=>{const f=u.el,l=f.style;Lt(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,On(f,a))};f.addEventListener("transitionend",d)})}),()=>{const a=he(i),o=o0(a);let u=a.tag||Me;s=r,r=e.default?eo(e.default()):[];for(let f=0;f{a.split(/\s+/).forEach(o=>o&&n.classList.remove(o))}),t.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const s=e.nodeType===1?e:e.parentNode;s.appendChild(n);const{hasTransform:r}=l0(n);return s.removeChild(n),r}const yn=i=>{const e=i.props["onUpdate:modelValue"]||!1;return X(e)?t=>Ss(e,t):e};function K3(i){i.target.composing=!0}function F0(i){const e=i.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const gt={created(i,{modifiers:{lazy:e,trim:t,number:n}},s){i._assign=yn(s);const r=n||s.props&&s.props.type==="number";Nt(i,e?"change":"input",a=>{if(a.target.composing)return;let o=i.value;t&&(o=o.trim()),r&&(o=At(o)),i._assign(o)}),t&&Nt(i,"change",()=>{i.value=i.value.trim()}),e||(Nt(i,"compositionstart",K3),Nt(i,"compositionend",F0),Nt(i,"change",F0))},mounted(i,{value:e}){i.value=e==null?"":e},beforeUpdate(i,{value:e,modifiers:{lazy:t,trim:n,number:s}},r){if(i._assign=yn(r),i.composing||document.activeElement===i&&i.type!=="range"&&(t||n&&i.value.trim()===e||(s||i.type==="number")&&At(i.value)===e))return;const a=e==null?"":e;i.value!==a&&(i.value=a)}},ml={deep:!0,created(i,e,t){i._assign=yn(t),Nt(i,"change",()=>{const n=i._modelValue,s=Ps(i),r=i.checked,a=i._assign;if(X(n)){const o=Ta(n,s),u=o!==-1;if(r&&!u)a(n.concat(s));else if(!r&&u){const f=[...n];f.splice(o,1),a(f)}}else if(In(n)){const o=new Set(n);r?o.add(s):o.delete(s),a(o)}else a(O0(i,r))})},mounted:g0,beforeUpdate(i,e,t){i._assign=yn(t),g0(i,e,t)}};function g0(i,{value:e,oldValue:t},n){i._modelValue=e,X(e)?i.checked=Ta(e,n.props.value)>-1:In(e)?i.checked=e.has(n.props.value):e!==t&&(i.checked=rn(e,O0(i,!0)))}const pl={created(i,{value:e},t){i.checked=rn(e,t.props.value),i._assign=yn(t),Nt(i,"change",()=>{i._assign(Ps(i))})},beforeUpdate(i,{value:e,oldValue:t},n){i._assign=yn(n),e!==t&&(i.checked=rn(e,n.props.value))}},Fo={deep:!0,created(i,{value:e,modifiers:{number:t}},n){const s=In(e);Nt(i,"change",()=>{const r=Array.prototype.filter.call(i.options,a=>a.selected).map(a=>t?At(Ps(a)):Ps(a));i._assign(i.multiple?s?new Set(r):r:r[0])}),i._assign=yn(n)},mounted(i,{value:e}){v0(i,e)},beforeUpdate(i,e,t){i._assign=yn(t)},updated(i,{value:e}){v0(i,e)}};function v0(i,e){const t=i.multiple;if(!(t&&!X(e)&&!In(e))){for(let n=0,s=i.options.length;n-1:r.selected=e.has(a);else if(rn(Ps(r),e)){i.selectedIndex!==n&&(i.selectedIndex=n);return}}!t&&i.selectedIndex!==-1&&(i.selectedIndex=-1)}}function Ps(i){return"_value"in i?i._value:i.value}function O0(i,e){const t=e?"_trueValue":"_falseValue";return t in i?i[t]:e}const y0={created(i,e,t){go(i,e,t,null,"created")},mounted(i,e,t){go(i,e,t,null,"mounted")},beforeUpdate(i,e,t,n){go(i,e,t,n,"beforeUpdate")},updated(i,e,t,n){go(i,e,t,n,"updated")}};function k0(i,e){switch(i){case"SELECT":return Fo;case"TEXTAREA":return gt;default:switch(e){case"checkbox":return ml;case"radio":return pl;default:return gt}}}function go(i,e,t,n,s){const a=k0(i.tagName,t.props&&t.props.type)[s];a&&a(i,e,t,n)}function J3(){gt.getSSRProps=({value:i})=>({value:i}),pl.getSSRProps=({value:i},e)=>{if(e.props&&rn(e.props.value,i))return{checked:!0}},ml.getSSRProps=({value:i},e)=>{if(X(i)){if(e.props&&Ta(i,e.props.value)>-1)return{checked:!0}}else if(In(i)){if(e.props&&i.has(e.props.value))return{checked:!0}}else if(i)return{checked:!0}},y0.getSSRProps=(i,e)=>{if(typeof e.type!="string")return;const t=k0(e.type.toUpperCase(),e.props&&e.props.type);if(t.getSSRProps)return t.getSSRProps(i,e)}}const ek=["ctrl","shift","alt","meta"],ik={stop:i=>i.stopPropagation(),prevent:i=>i.preventDefault(),self:i=>i.target!==i.currentTarget,ctrl:i=>!i.ctrlKey,shift:i=>!i.shiftKey,alt:i=>!i.altKey,meta:i=>!i.metaKey,left:i=>"button"in i&&i.button!==0,middle:i=>"button"in i&&i.button!==1,right:i=>"button"in i&&i.button!==2,exact:(i,e)=>ek.some(t=>i[`${t}Key`]&&!e.includes(t))},Fl=(i,e)=>(t,...n)=>{for(let s=0;st=>{if(!("key"in t))return;const n=Ri(t.key);if(e.some(s=>s===n||tk[s]===n))return i(t)},As={beforeMount(i,{value:e},{transition:t}){i._vod=i.style.display==="none"?"":i.style.display,t&&e?t.beforeEnter(i):Nr(i,e)},mounted(i,{value:e},{transition:t}){t&&e&&t.enter(i)},updated(i,{value:e,oldValue:t},{transition:n}){!e!=!t&&(n?e?(n.beforeEnter(i),Nr(i,!0),n.enter(i)):n.leave(i,()=>{Nr(i,!1)}):Nr(i,e))},beforeUnmount(i,{value:e}){Nr(i,e)}};function Nr(i,e){i.style.display=e?i._vod:"none"}function nk(){As.getSSRProps=({value:i})=>{if(!i)return{style:{display:"none"}}}}const b0=Fe({patchProp:I3},D3);let Lr,_0=!1;function S0(){return Lr||(Lr=xh(b0))}function D0(){return Lr=_0?Lr:Qh(b0),_0=!0,Lr}const gl=(...i)=>{S0().render(...i)},E0=(...i)=>{D0().hydrate(...i)},C0=(...i)=>{const e=S0().createApp(...i),{mount:t}=e;return e.mount=n=>{const s=x0(n);if(!s)return;const r=e._component;!ne(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const a=t(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},e},sk=(...i)=>{const e=D0().createApp(...i),{mount:t}=e;return e.mount=n=>{const s=x0(n);if(s)return t(s,!0,s instanceof SVGElement)},e};function x0(i){return oe(i)?document.querySelector(i):i}let Q0=!1;var rk=Object.freeze(Object.defineProperty({__proto__:null,Transition:vn,TransitionGroup:hl,VueElement:po,createApp:C0,createSSRApp:sk,defineCustomElement:s0,defineSSRCustomElement:L3,hydrate:E0,initDirectivesForSSR:()=>{Q0||(Q0=!0,J3(),nk())},render:gl,useCssModule:W3,useCssVars:q3,vModelCheckbox:ml,vModelDynamic:y0,vModelRadio:pl,vModelSelect:Fo,vModelText:gt,vShow:As,withKeys:w0,withModifiers:Fl,EffectScope:Of,ReactiveEffect:Sr,customRef:sy,effect:EO,effectScope:_O,getCurrentScope:vc,isProxy:Ef,isReactive:Wn,isReadonly:qn,isRef:$e,isShallow:Dr,markRaw:Cf,onScopeDispose:Oc,proxyRefs:$f,reactive:Bt,readonly:Df,ref:le,shallowReactive:Ic,shallowReadonly:JO,shallowRef:Nc,stop:CO,toRaw:he,toRef:zc,toRefs:ry,triggerRef:iy,unref:I,camelize:Je,capitalize:Ln,normalizeClass:$i,normalizeProps:uO,normalizeStyle:Pt,toDisplayString:Ne,toHandlerKey:bs,BaseTransition:If,Comment:hi,Fragment:Me,KeepAlive:Qy,Static:es,Suspense:wy,Teleport:Ph,Text:Jn,callWithAsyncErrorHandling:Ni,callWithErrorHandling:Rt,cloneVNode:Ft,compatUtils:_3,computed:Re,createBlock:ni,createCommentVNode:Le,createElementBlock:re,createElementVNode:R,createHydrationRenderer:Qh,createPropsRestProxy:v3,createRenderer:xh,createSlots:By,createStaticVNode:s3,createTextVNode:et,createVNode:J,defineAsyncComponent:xy,defineComponent:wi,defineEmits:c3,defineExpose:h3,defineProps:d3,get devtools(){return xs},getCurrentInstance:mn,getTransitionRawChildren:eo,guardReactiveProps:jh,h:Zh,handleError:Vn,initCustomFormatter:y3,inject:Ki,isMemoSame:Hh,isRuntimeOnly:u3,isVNode:cn,mergeDefaults:g3,mergeProps:Ih,nextTick:Xa,onActivated:sh,onBeforeMount:oh,onBeforeUnmount:no,onBeforeUpdate:uh,onDeactivated:rh,onErrorCaptured:ch,onMounted:Hn,onRenderTracked:dh,onRenderTriggered:lh,onServerPrefetch:fh,onUnmounted:so,onUpdated:to,openBlock:Z,popScopeId:Fy,provide:ln,pushScopeId:py,queuePostFlushCb:Af,registerRuntimeCompiler:Wh,renderList:Mr,renderSlot:bi,resolveComponent:Py,resolveDirective:My,resolveDynamicComponent:Ay,resolveFilter:b3,resolveTransitionHooks:$s,setBlockTracking:tl,setDevtoolsHook:Uc,setTransitionHooks:Un,ssrContextKey:Uh,ssrUtils:w3,toHandlers:Ry,transformVNodeArgs:t3,useAttrs:F3,useSSRContext:Gh,useSlots:p3,useTransitionState:jf,version:Yh,warn:fy,watch:ii,watchEffect:Rf,watchPostEffect:eh,watchSyncEffect:Ey,withAsyncContext:O3,withCtx:xe,withDefaults:m3,withDirectives:Li,withMemo:k3,withScopeId:gy},Symbol.toStringTag,{value:"Module"}));function vl(i){throw i}function $0(i){}function Qe(i,e,t,n){const s=i,r=new SyntaxError(String(s));return r.code=i,r.loc=e,r}const zr=Symbol(""),Wr=Symbol(""),Ol=Symbol(""),vo=Symbol(""),T0=Symbol(""),ss=Symbol(""),P0=Symbol(""),A0=Symbol(""),yl=Symbol(""),kl=Symbol(""),qr=Symbol(""),wl=Symbol(""),M0=Symbol(""),bl=Symbol(""),Oo=Symbol(""),_l=Symbol(""),Sl=Symbol(""),Dl=Symbol(""),El=Symbol(""),B0=Symbol(""),R0=Symbol(""),yo=Symbol(""),ko=Symbol(""),Cl=Symbol(""),xl=Symbol(""),Vr=Symbol(""),Xr=Symbol(""),Ql=Symbol(""),$l=Symbol(""),ak=Symbol(""),Tl=Symbol(""),wo=Symbol(""),ok=Symbol(""),uk=Symbol(""),Pl=Symbol(""),fk=Symbol(""),lk=Symbol(""),Al=Symbol(""),j0=Symbol(""),Ms={[zr]:"Fragment",[Wr]:"Teleport",[Ol]:"Suspense",[vo]:"KeepAlive",[T0]:"BaseTransition",[ss]:"openBlock",[P0]:"createBlock",[A0]:"createElementBlock",[yl]:"createVNode",[kl]:"createElementVNode",[qr]:"createCommentVNode",[wl]:"createTextVNode",[M0]:"createStaticVNode",[bl]:"resolveComponent",[Oo]:"resolveDynamicComponent",[_l]:"resolveDirective",[Sl]:"resolveFilter",[Dl]:"withDirectives",[El]:"renderList",[B0]:"renderSlot",[R0]:"createSlots",[yo]:"toDisplayString",[ko]:"mergeProps",[Cl]:"normalizeClass",[xl]:"normalizeStyle",[Vr]:"normalizeProps",[Xr]:"guardReactiveProps",[Ql]:"toHandlers",[$l]:"camelize",[ak]:"capitalize",[Tl]:"toHandlerKey",[wo]:"setBlockTracking",[ok]:"pushScopeId",[uk]:"popScopeId",[Pl]:"withCtx",[fk]:"unref",[lk]:"isRef",[Al]:"withMemo",[j0]:"isMemoSame"};function dk(i){Object.getOwnPropertySymbols(i).forEach(e=>{Ms[e]=i[e]})}const Wi={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ck(i,e=Wi){return{type:0,children:i,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}function Zr(i,e,t,n,s,r,a,o=!1,u=!1,f=!1,l=Wi){return i&&(o?(i.helper(ss),i.helper(Is(i.inSSR,f))):i.helper(js(i.inSSR,f)),a&&i.helper(Dl)),{type:13,tag:e,props:t,children:n,patchFlag:s,dynamicProps:r,directives:a,isBlock:o,disableTracking:u,isComponent:f,loc:l}}function Ur(i,e=Wi){return{type:17,loc:e,elements:i}}function it(i,e=Wi){return{type:15,loc:e,properties:i}}function Be(i,e){return{type:16,loc:Wi,key:oe(i)?ue(i,!0):i,value:e}}function ue(i,e=!1,t=Wi,n=0){return{type:4,loc:t,content:i,isStatic:e,constType:e?3:n}}function ot(i,e=Wi){return{type:8,loc:e,children:i}}function ze(i,e=[],t=Wi){return{type:14,loc:t,callee:i,arguments:e}}function Bs(i,e=void 0,t=!1,n=!1,s=Wi){return{type:18,params:i,returns:e,newline:t,isSlot:n,loc:s}}function Ml(i,e,t,n=!0){return{type:19,test:i,consequent:e,alternate:t,newline:n,loc:Wi}}function hk(i,e,t=!1){return{type:20,index:i,value:e,isVNode:t,loc:Wi}}function mk(i){return{type:21,body:i,loc:Wi}}const Ai=i=>i.type===4&&i.isStatic,Rs=(i,e)=>i===e||i===Ri(e);function I0(i){if(Rs(i,"Teleport"))return Wr;if(Rs(i,"Suspense"))return Ol;if(Rs(i,"KeepAlive"))return vo;if(Rs(i,"BaseTransition"))return T0}const pk=/^\d|[^\$\w]/,Bl=i=>!pk.test(i),Fk=/[A-Za-z_$\xA0-\uFFFF]/,gk=/[\.\?\w$\xA0-\uFFFF]/,vk=/\s+[.[]\s*|\s*[.[]\s+/g,N0=i=>{i=i.trim().replace(vk,a=>a.trim());let e=0,t=[],n=0,s=0,r=null;for(let a=0;ae.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Rl(i){return i.type===5||i.type===2}function yk(i){return i.type===7&&i.name==="slot"}function Do(i){return i.type===1&&i.tagType===3}function Eo(i){return i.type===1&&i.tagType===2}function js(i,e){return i||e?yl:kl}function Is(i,e){return i||e?P0:A0}const kk=new Set([Vr,Xr]);function z0(i,e=[]){if(i&&!oe(i)&&i.type===14){const t=i.callee;if(!oe(t)&&kk.has(t))return z0(i.arguments[0],e.concat(i))}return[i,e]}function Co(i,e,t){let n,s=i.type===13?i.props:i.arguments[2],r=[],a;if(s&&!oe(s)&&s.type===14){const o=z0(s);s=o[0],r=o[1],a=r[r.length-1]}if(s==null||oe(s))n=it([e]);else if(s.type===14){const o=s.arguments[0];!oe(o)&&o.type===15?W0(e,o)||o.properties.unshift(e):s.callee===Ql?n=ze(t.helper(ko),[it([e]),s]):s.arguments.unshift(it([e])),!n&&(n=s)}else s.type===15?(W0(e,s)||s.properties.unshift(e),n=s):(n=ze(t.helper(ko),[it([e]),s]),a&&a.callee===Xr&&(a=r[r.length-2]));i.type===13?a?a.arguments[0]=n:i.props=n:a?a.arguments[0]=n:i.arguments[2]=n}function W0(i,e){let t=!1;if(i.key.type===4){const n=i.key.content;t=e.properties.some(s=>s.key.type===4&&s.key.content===n)}return t}function Gr(i,e){return`_${e}_${i.replace(/[^\w]/g,(t,n)=>t==="-"?"_":i.charCodeAt(n).toString())}`}function wk(i){return i.type===14&&i.callee===Al?i.arguments[1].returns:i}function jl(i,{helper:e,removeHelper:t,inSSR:n}){i.isBlock||(i.isBlock=!0,t(js(n,i.isComponent)),e(ss),e(Is(n,i.isComponent)))}function q0(i,e){const t=e.options?e.options.compatConfig:e.compatConfig,n=t&&t[i];return i==="MODE"?n||3:n}function as(i,e){const t=q0("MODE",e),n=q0(i,e);return t===3?n===!0:n!==!1}function Hr(i,e,t,...n){return as(i,e)}const bk=/&(gt|lt|amp|apos|quot);/g,_k={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},V0={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:Pa,isPreTag:Pa,isCustomElement:Pa,decodeEntities:i=>i.replace(bk,(e,t)=>_k[t]),onError:vl,onWarn:$0,comments:!1};function Sk(i,e={}){const t=Dk(i,e),n=qi(t);return ck(Il(t,0,[]),nt(t,n))}function Dk(i,e){const t=Fe({},V0);let n;for(n in e)t[n]=e[n]===void 0?V0[n]:e[n];return{options:t,column:1,line:1,offset:0,originalSource:i,source:i,inPre:!1,inVPre:!1,onWarn:t.onWarn}}function Il(i,e,t){const n=xo(t),s=n?n.ns:0,r=[];for(;!Mk(i,e,t);){const o=i.source;let u;if(e===0||e===1){if(!i.inVPre&&mi(o,i.options.delimiters[0]))u=Pk(i,e);else if(e===0&&o[0]==="<")if(o.length===1)ye(i,5,1);else if(o[1]==="!")mi(o,"=0;){const f=a[o];f&&f.type===9&&(u+=f.branches.length)}return()=>{if(r)n.codegenNode=am(s,u,t);else{const f=aw(n.codegenNode);f.alternate=am(s,u+n.branches.length-1,t)}}}));function rw(i,e,t,n){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const s=e.exp?e.exp.loc:i.loc;t.onError(Qe(28,e.loc)),e.exp=ue("true",!1,s)}if(e.name==="if"){const s=rm(i,e),r={type:9,loc:i.loc,branches:[s]};if(t.replaceNode(r),n)return n(r,s,!0)}else{const s=t.parent.children;let r=s.indexOf(i);for(;r-->=-1;){const a=s[r];if(a&&a.type===3){t.removeNode(a);continue}if(a&&a.type===2&&!a.content.trim().length){t.removeNode(a);continue}if(a&&a.type===9){e.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&t.onError(Qe(30,i.loc)),t.removeNode();const o=rm(i,e);a.branches.push(o);const u=n&&n(a,o,!1);$o(o,t),u&&u(),t.currentNode=null}else t.onError(Qe(30,i.loc));break}}}function rm(i,e){const t=i.tagType===3;return{type:10,loc:i.loc,condition:e.name==="else"?void 0:e.exp,children:t&&!tt(i,"for")?i.children:[i],userKey:So(i,"key"),isTemplateIf:t}}function am(i,e,t){return i.condition?Ml(i.condition,om(i,e,t),ze(t.helper(qr),['""',"true"])):om(i,e,t)}function om(i,e,t){const{helper:n}=t,s=Be("key",ue(`${e}`,!1,Wi,2)),{children:r}=i,a=r[0];if(r.length!==1||a.type!==1)if(r.length===1&&a.type===11){const u=a.codegenNode;return Co(u,s,t),u}else{let u=64;return Zr(t,n(zr),it([s]),r,u+"",void 0,void 0,!0,!1,!1,i.loc)}else{const u=a.codegenNode,f=wk(u);return f.type===13&&jl(f,t),Co(f,s,t),u}}function aw(i){for(;;)if(i.type===19)if(i.alternate.type===19)i=i.alternate;else return i;else i.type===20&&(i=i.value)}const ow=im("for",(i,e,t)=>{const{helper:n,removeHelper:s}=t;return uw(i,e,t,r=>{const a=ze(n(El),[r.source]),o=Do(i),u=tt(i,"memo"),f=So(i,"key"),l=f&&(f.type===6?ue(f.value.content,!0):f.exp),d=f?Be("key",l):null,c=r.source.type===4&&r.source.constType>0,h=c?64:f?128:256;return r.codegenNode=Zr(t,n(zr),void 0,a,h+"",void 0,void 0,!0,!c,!1,i.loc),()=>{let m;const{children:p}=r,g=p.length!==1||p[0].type!==1,F=Eo(i)?i:o&&i.children.length===1&&Eo(i.children[0])?i.children[0]:null;if(F?(m=F.codegenNode,o&&d&&Co(m,d,t)):g?m=Zr(t,n(zr),d?it([d]):void 0,i.children,64+"",void 0,void 0,!0,void 0,!1):(m=p[0].codegenNode,o&&d&&Co(m,d,t),m.isBlock!==!c&&(m.isBlock?(s(ss),s(Is(t.inSSR,m.isComponent))):s(js(t.inSSR,m.isComponent))),m.isBlock=!c,m.isBlock?(n(ss),n(Is(t.inSSR,m.isComponent))):n(js(t.inSSR,m.isComponent))),u){const v=Bs(ql(r.parseResult,[ue("_cached")]));v.body=mk([ot(["const _memo = (",u.exp,")"]),ot(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${t.helperString(j0)}(_cached, _memo)) return _cached`]),ot(["const _item = ",m]),ue("_item.memo = _memo"),ue("return _item")]),a.arguments.push(v,ue("_cache"),ue(String(t.cached++)))}else a.arguments.push(Bs(ql(r.parseResult),m,!0))}})});function uw(i,e,t,n){if(!e.exp){t.onError(Qe(31,e.loc));return}const s=fm(e.exp);if(!s){t.onError(Qe(32,e.loc));return}const{addIdentifiers:r,removeIdentifiers:a,scopes:o}=t,{source:u,value:f,key:l,index:d}=s,c={type:11,loc:e.loc,source:u,valueAlias:f,keyAlias:l,objectIndexAlias:d,parseResult:s,children:Do(i)?i.children:[i]};t.replaceNode(c),o.vFor++;const h=n&&n(c);return()=>{o.vFor--,h&&h()}}const fw=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,um=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,lw=/^\(|\)$/g;function fm(i,e){const t=i.loc,n=i.content,s=n.match(fw);if(!s)return;const[,r,a]=s,o={source:Po(t,a.trim(),n.indexOf(a,r.length)),value:void 0,key:void 0,index:void 0};let u=r.trim().replace(lw,"").trim();const f=r.indexOf(u),l=u.match(um);if(l){u=u.replace(um,"").trim();const d=l[1].trim();let c;if(d&&(c=n.indexOf(d,f+u.length),o.key=Po(t,d,c)),l[2]){const h=l[2].trim();h&&(o.index=Po(t,h,n.indexOf(h,o.key?c+d.length:f+u.length)))}}return u&&(o.value=Po(t,u,f)),o}function Po(i,e,t){return ue(e,!1,L0(i,t,e.length))}function ql({value:i,key:e,index:t},n=[]){return dw([i,e,t,...n])}function dw(i){let e=i.length;for(;e--&&!i[e];);return i.slice(0,e+1).map((t,n)=>t||ue("_".repeat(n+1),!1))}const lm=ue("undefined",!1),cw=(i,e)=>{if(i.type===1&&(i.tagType===1||i.tagType===3)){const t=tt(i,"slot");if(t)return t.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},hw=(i,e,t)=>Bs(i,e,!1,!0,e.length?e[0].loc:t);function mw(i,e,t=hw){e.helper(Pl);const{children:n,loc:s}=i,r=[],a=[];let o=e.scopes.vSlot>0||e.scopes.vFor>0;const u=tt(i,"slot",!0);if(u){const{arg:g,exp:F}=u;g&&!Ai(g)&&(o=!0),r.push(Be(g||ue("default",!0),t(F,n,s)))}let f=!1,l=!1;const d=[],c=new Set;let h=0;for(let g=0;g{const O=t(F,v,s);return e.compatConfig&&(O.isNonScopedSlot=!0),Be("default",O)};f?d.length&&d.some(F=>dm(F))&&(l?e.onError(Qe(39,d[0].loc)):r.push(g(void 0,d))):r.push(g(void 0,n))}const m=o?2:Mo(i.children)?3:1;let p=it(r.concat(Be("_",ue(m+"",!1))),s);return a.length&&(p=ze(e.helper(R0),[p,Ur(a)])),{slots:p,hasDynamicSlots:o}}function Ao(i,e,t){const n=[Be("name",i),Be("fn",e)];return t!=null&&n.push(Be("key",ue(String(t),!0))),it(n)}function Mo(i){for(let e=0;efunction(){if(i=e.currentNode,!(i.type===1&&(i.tagType===0||i.tagType===1)))return;const{tag:n,props:s}=i,r=i.tagType===1;let a=r?Fw(i,e):`"${n}"`;const o=we(a)&&a.callee===Oo;let u,f,l,d=0,c,h,m,p=o||a===Wr||a===Ol||!r&&(n==="svg"||n==="foreignObject");if(s.length>0){const g=hm(i,e,void 0,r,o);u=g.props,d=g.patchFlag,h=g.dynamicPropNames;const F=g.directives;m=F&&F.length?Ur(F.map(v=>vw(v,e))):void 0,g.shouldUseBlock&&(p=!0)}if(i.children.length>0)if(a===vo&&(p=!0,d|=1024),r&&a!==Wr&&a!==vo){const{slots:F,hasDynamicSlots:v}=mw(i,e);f=F,v&&(d|=1024)}else if(i.children.length===1&&a!==Wr){const F=i.children[0],v=F.type,O=v===5||v===8;O&&st(F,e)===0&&(d|=1),O||v===2?f=F:f=i.children}else f=i.children;d!==0&&(l=String(d),h&&h.length&&(c=Ow(h))),i.codegenNode=Zr(e,a,u,f,l,c,m,!!p,!1,r,i.loc)};function Fw(i,e,t=!1){let{tag:n}=i;const s=Vl(n),r=So(i,"is");if(r)if(s||as("COMPILER_IS_ON_ELEMENT",e)){const u=r.type===6?r.value&&ue(r.value.content,!0):r.exp;if(u)return ze(e.helper(Oo),[u])}else r.type===6&&r.value.content.startsWith("vue:")&&(n=r.value.content.slice(4));const a=!s&&tt(i,"is");if(a&&a.exp)return ze(e.helper(Oo),[a.exp]);const o=I0(n)||e.isBuiltInComponent(n);return o?(t||e.helper(o),o):(e.helper(bl),e.components.add(n),Gr(n,"component"))}function hm(i,e,t=i.props,n,s,r=!1){const{tag:a,loc:o,children:u}=i;let f=[];const l=[],d=[],c=u.length>0;let h=!1,m=0,p=!1,g=!1,F=!1,v=!1,O=!1,b=!1;const E=[],S=D=>{f.length&&(l.push(it(mm(f),o)),f=[]),D&&l.push(D)},C=({key:D,value:x})=>{if(Ai(D)){const $=D.content,T=jn($);if(T&&(!n||s)&&$.toLowerCase()!=="onclick"&&$!=="onUpdate:modelValue"&&!Nn($)&&(v=!0),T&&Nn($)&&(b=!0),x.type===20||(x.type===4||x.type===8)&&st(x,e)>0)return;$==="ref"?p=!0:$==="class"?g=!0:$==="style"?F=!0:$!=="key"&&!E.includes($)&&E.push($),n&&($==="class"||$==="style")&&!E.includes($)&&E.push($)}else O=!0};for(let D=0;D0&&f.push(Be(ue("ref_for",!0),ue("true")))),T==="is"&&(Vl(a)||N&&N.content.startsWith("vue:")||as("COMPILER_IS_ON_ELEMENT",e)))continue;f.push(Be(ue(T,!0,L0($,0,T.length)),ue(N?N.content:"",j,N?N.loc:$)))}else{const{name:$,arg:T,exp:N,loc:j}=x,ie=$==="bind",te=$==="on";if($==="slot"){n||e.onError(Qe(40,j));continue}if($==="once"||$==="memo"||$==="is"||ie&&rs(T,"is")&&(Vl(a)||as("COMPILER_IS_ON_ELEMENT",e))||te&&r)continue;if((ie&&rs(T,"key")||te&&c&&rs(T,"vue:before-update"))&&(h=!0),ie&&rs(T,"ref")&&e.scopes.vFor>0&&f.push(Be(ue("ref_for",!0),ue("true"))),!T&&(ie||te)){if(O=!0,N)if(ie){if(S(),as("COMPILER_V_BIND_OBJECT_ORDER",e)){l.unshift(N);continue}l.push(N)}else S({type:14,loc:j,callee:e.helper(Ql),arguments:n?[N]:[N,"true"]});else e.onError(Qe(ie?34:35,j));continue}const ve=e.directiveTransforms[$];if(ve){const{props:ae,needRuntime:Se}=ve(x,i,e);!r&&ae.forEach(C),te&&T&&!Ai(T)?S(it(ae,o)):f.push(...ae),Se&&(d.push(x),an(Se)&&cm.set(x,Se))}else yO($)||(d.push(x),c&&(h=!0))}}let k;if(l.length?(S(),l.length>1?k=ze(e.helper(ko),l,o):k=l[0]):f.length&&(k=it(mm(f),o)),O?m|=16:(g&&!n&&(m|=2),F&&!n&&(m|=4),E.length&&(m|=8),v&&(m|=32)),!h&&(m===0||m===32)&&(p||b||d.length>0)&&(m|=512),!e.inSSR&&k)switch(k.type){case 15:let D=-1,x=-1,$=!1;for(let j=0;jBe(a,r)),s))}return Ur(t,i.loc)}function Ow(i){let e="[";for(let t=0,n=i.length;t{const e=Object.create(null);return t=>e[t]||(e[t]=i(t))},kw=/-(\w)/g,pm=yw(i=>i.replace(kw,(e,t)=>t?t.toUpperCase():"")),ww=(i,e)=>{if(Eo(i)){const{children:t,loc:n}=i,{slotName:s,slotProps:r}=bw(i,e),a=[e.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let o=2;r&&(a[2]=r,o=3),t.length&&(a[3]=Bs([],t,!1,!1,n),o=4),e.scopeId&&!e.slotted&&(o=5),a.splice(o),i.codegenNode=ze(e.helper(B0),a,n)}};function bw(i,e){let t='"default"',n;const s=[];for(let r=0;r0){const{props:r,directives:a}=hm(i,e,s,!1,!1);n=r,a.length&&e.onError(Qe(36,a[0].loc))}return{slotName:t,slotProps:n}}const _w=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Fm=(i,e,t,n)=>{const{loc:s,modifiers:r,arg:a}=i;!i.exp&&!r.length&&t.onError(Qe(35,s));let o;if(a.type===4)if(a.isStatic){let d=a.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const c=e.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?bs(Je(d)):`on:${d}`;o=ue(c,!0,a.loc)}else o=ot([`${t.helperString(Tl)}(`,a,")"]);else o=a,o.children.unshift(`${t.helperString(Tl)}(`),o.children.push(")");let u=i.exp;u&&!u.content.trim()&&(u=void 0);let f=t.cacheHandlers&&!u&&!t.inVOnce;if(u){const d=N0(u.content),c=!(d||_w.test(u.content)),h=u.content.includes(";");(c||f&&d)&&(u=ot([`${c?"$event":"(...args)"} => ${h?"{":"("}`,u,h?"}":")"]))}let l={props:[Be(o,u||ue("() => {}",!1,s))]};return n&&(l=n(l)),f&&(l.props[0].value=t.cache(l.props[0].value)),l.props.forEach(d=>d.key.isHandlerKey=!0),l},Sw=(i,e,t)=>{const{exp:n,modifiers:s,loc:r}=i,a=i.arg;return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),s.includes("camel")&&(a.type===4?a.isStatic?a.content=Je(a.content):a.content=`${t.helperString($l)}(${a.content})`:(a.children.unshift(`${t.helperString($l)}(`),a.children.push(")"))),t.inSSR||(s.includes("prop")&&gm(a,"."),s.includes("attr")&&gm(a,"^")),!n||n.type===4&&!n.content.trim()?(t.onError(Qe(34,r)),{props:[Be(a,ue("",!0,r))]}):{props:[Be(a,n)]}},gm=(i,e)=>{i.type===4?i.isStatic?i.content=e+i.content:i.content=`\`${e}\${${i.content}}\``:(i.children.unshift(`'${e}' + (`),i.children.push(")"))},Dw=(i,e)=>{if(i.type===0||i.type===1||i.type===11||i.type===10)return()=>{const t=i.children;let n,s=!1;for(let r=0;rr.type===7&&!e.directiveTransforms[r.name])&&i.tag!=="template")))for(let r=0;r{if(i.type===1&&tt(i,"once",!0))return vm.has(i)||e.inVOnce?void 0:(vm.add(i),e.inVOnce=!0,e.helper(wo),()=>{e.inVOnce=!1;const t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0))})},Om=(i,e,t)=>{const{exp:n,arg:s}=i;if(!n)return t.onError(Qe(41,i.loc)),Bo();const r=n.loc.source,a=n.type===4?n.content:r,o=t.bindingMetadata[r];if(o==="props"||o==="props-aliased")return t.onError(Qe(44,n.loc)),Bo();const u=!1;if(!a.trim()||!N0(a)&&!u)return t.onError(Qe(42,n.loc)),Bo();const f=s||ue("modelValue",!0),l=s?Ai(s)?`onUpdate:${s.content}`:ot(['"onUpdate:" + ',s]):"onUpdate:modelValue";let d;const c=t.isTS?"($event: any)":"$event";d=ot([`${c} => ((`,n,") = $event)"]);const h=[Be(f,i.exp),Be(l,d)];if(i.modifiers.length&&e.tagType===1){const m=i.modifiers.map(g=>(Bl(g)?g:JSON.stringify(g))+": true").join(", "),p=s?Ai(s)?`${s.content}Modifiers`:ot([s,' + "Modifiers"']):"modelModifiers";h.push(Be(p,ue(`{ ${m} }`,!1,i.loc,2)))}return Bo(h)};function Bo(i=[]){return{props:i}}const Cw=/[\w).+\-_$\]]/,xw=(i,e)=>{!as("COMPILER_FILTER",e)||(i.type===5&&Ro(i.content,e),i.type===1&&i.props.forEach(t=>{t.type===7&&t.name!=="for"&&t.exp&&Ro(t.exp,e)}))};function Ro(i,e){if(i.type===4)ym(i,e);else for(let t=0;t=0&&(v=t.charAt(F),v===" ");F--);(!v||!Cw.test(v))&&(a=!0)}}m===void 0?m=t.slice(0,h).trim():l!==0&&g();function g(){p.push(t.slice(l,h).trim()),l=h+1}if(p.length){for(h=0;h{if(i.type===1){const t=tt(i,"memo");return!t||km.has(i)?void 0:(km.add(i),()=>{const n=i.codegenNode||e.currentNode.codegenNode;n&&n.type===13&&(i.tagType!==1&&jl(n,e),i.codegenNode=ze(e.helper(Al),[t.exp,Bs(void 0,n),"_cache",String(e.cached++)]))})}};function Tw(i){return[[Ew,sw,$w,ow,xw,ww,pw,cw,Dw],{on:Fm,bind:Sw,model:Om}]}function Pw(i,e={}){const t=e.onError||vl,n=e.mode==="module";e.prefixIdentifiers===!0?t(Qe(47)):n&&t(Qe(48));const s=!1;e.cacheHandlers&&t(Qe(49)),e.scopeId&&!n&&t(Qe(50));const r=oe(i)?Sk(i,e):i,[a,o]=Tw();return Ik(r,Fe({},e,{prefixIdentifiers:s,nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:Fe({},o,e.directiveTransforms||{})})),Wk(r,Fe({},e,{prefixIdentifiers:s}))}const Aw=()=>({props:[]}),wm=Symbol(""),bm=Symbol(""),_m=Symbol(""),Sm=Symbol(""),Xl=Symbol(""),Dm=Symbol(""),Em=Symbol(""),Cm=Symbol(""),xm=Symbol(""),Qm=Symbol("");dk({[wm]:"vModelRadio",[bm]:"vModelCheckbox",[_m]:"vModelText",[Sm]:"vModelSelect",[Xl]:"vModelDynamic",[Dm]:"withModifiers",[Em]:"withKeys",[Cm]:"vShow",[xm]:"Transition",[Qm]:"TransitionGroup"});let Ns;function Mw(i,e=!1){return Ns||(Ns=document.createElement("div")),e?(Ns.innerHTML=`
`,Ns.children[0].getAttribute("foo")):(Ns.innerHTML=i,Ns.textContent)}const Bw=Qi("style,iframe,script,noscript",!0),Rw={isVoidTag:mO,isNativeTag:i=>cO(i)||hO(i),isPreTag:i=>i==="pre",decodeEntities:Mw,isBuiltInComponent:i=>{if(Rs(i,"Transition"))return xm;if(Rs(i,"TransitionGroup"))return Qm},getNamespace(i,e){let t=e?e.ns:0;if(e&&t===2)if(e.tag==="annotation-xml"){if(i==="svg")return 1;e.props.some(n=>n.type===6&&n.name==="encoding"&&n.value!=null&&(n.value.content==="text/html"||n.value.content==="application/xhtml+xml"))&&(t=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&i!=="mglyph"&&i!=="malignmark"&&(t=0);else e&&t===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(t=0);if(t===0){if(i==="svg")return 1;if(i==="math")return 2}return t},getTextMode({tag:i,ns:e}){if(e===0){if(i==="textarea"||i==="title")return 1;if(Bw(i))return 2}return 0}},jw=i=>{i.type===1&&i.props.forEach((e,t)=>{e.type===6&&e.name==="style"&&e.value&&(i.props[t]={type:7,name:"bind",arg:ue("style",!0,e.loc),exp:Iw(e.value.content,e.loc),modifiers:[],loc:e.loc})})},Iw=(i,e)=>{const t=lc(i);return ue(JSON.stringify(t),!1,e,3)};function zt(i,e){return Qe(i,e)}const Nw=(i,e,t)=>{const{exp:n,loc:s}=i;return n||t.onError(zt(51,s)),e.children.length&&(t.onError(zt(52,s)),e.children.length=0),{props:[Be(ue("innerHTML",!0,s),n||ue("",!0))]}},Lw=(i,e,t)=>{const{exp:n,loc:s}=i;return n||t.onError(zt(53,s)),e.children.length&&(t.onError(zt(54,s)),e.children.length=0),{props:[Be(ue("textContent",!0),n?st(n,t)>0?n:ze(t.helperString(yo),[n],s):ue("",!0))]}},zw=(i,e,t)=>{const n=Om(i,e,t);if(!n.props.length||e.tagType===1)return n;i.arg&&t.onError(zt(56,i.arg.loc));const{tag:s}=e,r=t.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||r){let a=_m,o=!1;if(s==="input"||r){const u=So(e,"type");if(u){if(u.type===7)a=Xl;else if(u.value)switch(u.value.content){case"radio":a=wm;break;case"checkbox":a=bm;break;case"file":o=!0,t.onError(zt(57,i.loc));break}}else Ok(e)&&(a=Xl)}else s==="select"&&(a=Sm);o||(n.needRuntime=t.helper(a))}else t.onError(zt(55,i.loc));return n.props=n.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),n},Ww=Qi("passive,once,capture"),qw=Qi("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Vw=Qi("left,right"),$m=Qi("onkeyup,onkeydown,onkeypress",!0),Xw=(i,e,t,n)=>{const s=[],r=[],a=[];for(let o=0;oAi(i)&&i.content.toLowerCase()==="onclick"?ue(e,!0):i.type!==4?ot(["(",i,`) === "onClick" ? "${e}" : (`,i,")"]):i,Zw=(i,e,t)=>Fm(i,e,t,n=>{const{modifiers:s}=i;if(!s.length)return n;let{key:r,value:a}=n.props[0];const{keyModifiers:o,nonKeyModifiers:u,eventOptionModifiers:f}=Xw(r,s,t,i.loc);if(u.includes("right")&&(r=Tm(r,"onContextmenu")),u.includes("middle")&&(r=Tm(r,"onMouseup")),u.length&&(a=ze(t.helper(Dm),[a,JSON.stringify(u)])),o.length&&(!Ai(r)||$m(r.content))&&(a=ze(t.helper(Em),[a,JSON.stringify(o)])),f.length){const l=f.map(Ln).join("");r=Ai(r)?ue(`${r.content}${l}`,!0):ot(["(",r,`) + "${l}"`])}return{props:[Be(r,a)]}}),Uw=(i,e,t)=>{const{exp:n,loc:s}=i;return n||t.onError(zt(59,s)),{props:[],needRuntime:t.helper(Cm)}},Gw=(i,e)=>{i.type===1&&i.tagType===0&&(i.tag==="script"||i.tag==="style")&&(e.onError(zt(61,i.loc)),e.removeNode())},Hw=[jw],Yw={cloak:Aw,html:Nw,text:Lw,model:zw,on:Zw,show:Uw};function Kw(i,e={}){return Pw(i,Fe({},Rw,e,{nodeTransforms:[Gw,...Hw,...e.nodeTransforms||[]],directiveTransforms:Fe({},Yw,e.directiveTransforms||{}),transformHoist:null}))}const Pm=Object.create(null);function Jw(i,e){if(!oe(i))if(i.nodeType)i=i.innerHTML;else return ki;const t=i,n=Pm[t];if(n)return n;if(i[0]==="#"){const o=document.querySelector(i);i=o?o.innerHTML:""}const s=Fe({hoistStatic:!0,onError:void 0,onWarn:ki},e);!s.isCustomElement&&typeof customElements!="undefined"&&(s.isCustomElement=o=>!!customElements.get(o));const{code:r}=Kw(i,s),a=new Function("Vue",r)(rk);return a._rc=!0,Pm[t]=a}Wh(Jw);/*! +`)}Vk(i.hoists,e),r(),s("return ")}function zl(i,e,{helper:t,push:n,newline:s,isTS:r}){const a=t(e==="filter"?Sl:e==="component"?bl:_l);for(let o=0;o3||!1;e.push("["),t&&e.indent(),ea(i,e,t),t&&e.deindent(),e.push("]")}function ea(i,e,t=!1,n=!0){const{push:s,newline:r}=e;for(let a=0;at||"null")}function Kk(i,e){const{push:t,helper:n,pure:s}=e,r=oe(i.callee)?i.callee:n(i.callee);s&&t(To),t(r+"(",i),ea(i.arguments,e),t(")")}function Jk(i,e){const{push:t,indent:n,deindent:s,newline:r}=e,{properties:a}=i;if(!a.length){t("{}",i);return}const o=a.length>1||!1;t(o?"{":"{ "),o&&n();for(let u=0;u "),(u||o)&&(t("{"),n()),a?(u&&t("return "),X(a)?Wl(a,e):pi(a,e)):o&&pi(o,e),(u||o)&&(s(),t("}")),f&&(i.isNonScopedSlot&&t(", undefined, true"),t(")"))}function tw(i,e){const{test:t,consequent:n,alternate:s,newline:r}=i,{push:a,indent:o,deindent:u,newline:f}=e;if(t.type===4){const d=!Bl(t.content);d&&a("("),nm(t,e),d&&a(")")}else a("("),pi(t,e),a(")");r&&o(),e.indentLevel++,r||a(" "),a("? "),pi(n,e),e.indentLevel--,r&&f(),r||a(" "),a(": ");const l=s.type===19;l||e.indentLevel++,pi(s,e),l||e.indentLevel--,r&&u(!0)}function nw(i,e){const{push:t,helper:n,indent:s,deindent:r,newline:a}=e;t(`_cache[${i.index}] || (`),i.isVNode&&(s(),t(`${n(wo)}(-1),`),a()),t(`_cache[${i.index}] = `),pi(i.value,e),i.isVNode&&(t(","),a(),t(`${n(wo)}(1),`),a(),t(`_cache[${i.index}]`),r()),t(")")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const sw=im(/^(if|else|else-if)$/,(i,e,t)=>rw(i,e,t,(n,s,r)=>{const a=t.parent.children;let o=a.indexOf(n),u=0;for(;o-->=0;){const f=a[o];f&&f.type===9&&(u+=f.branches.length)}return()=>{if(r)n.codegenNode=am(s,u,t);else{const f=aw(n.codegenNode);f.alternate=am(s,u+n.branches.length-1,t)}}}));function rw(i,e,t,n){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const s=e.exp?e.exp.loc:i.loc;t.onError(Qe(28,e.loc)),e.exp=ue("true",!1,s)}if(e.name==="if"){const s=rm(i,e),r={type:9,loc:i.loc,branches:[s]};if(t.replaceNode(r),n)return n(r,s,!0)}else{const s=t.parent.children;let r=s.indexOf(i);for(;r-->=-1;){const a=s[r];if(a&&a.type===3){t.removeNode(a);continue}if(a&&a.type===2&&!a.content.trim().length){t.removeNode(a);continue}if(a&&a.type===9){e.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&t.onError(Qe(30,i.loc)),t.removeNode();const o=rm(i,e);a.branches.push(o);const u=n&&n(a,o,!1);$o(o,t),u&&u(),t.currentNode=null}else t.onError(Qe(30,i.loc));break}}}function rm(i,e){const t=i.tagType===3;return{type:10,loc:i.loc,condition:e.name==="else"?void 0:e.exp,children:t&&!tt(i,"for")?i.children:[i],userKey:So(i,"key"),isTemplateIf:t}}function am(i,e,t){return i.condition?Ml(i.condition,om(i,e,t),ze(t.helper(qr),['""',"true"])):om(i,e,t)}function om(i,e,t){const{helper:n}=t,s=je("key",ue(`${e}`,!1,Xi,2)),{children:r}=i,a=r[0];if(r.length!==1||a.type!==1)if(r.length===1&&a.type===11){const u=a.codegenNode;return Co(u,s,t),u}else{let u=64;return Zr(t,n(zr),it([s]),r,u+"",void 0,void 0,!0,!1,!1,i.loc)}else{const u=a.codegenNode,f=wk(u);return f.type===13&&jl(f,t),Co(f,s,t),u}}function aw(i){for(;;)if(i.type===19)if(i.alternate.type===19)i=i.alternate;else return i;else i.type===20&&(i=i.value)}const ow=im("for",(i,e,t)=>{const{helper:n,removeHelper:s}=t;return uw(i,e,t,r=>{const a=ze(n(El),[r.source]),o=Do(i),u=tt(i,"memo"),f=So(i,"key"),l=f&&(f.type===6?ue(f.value.content,!0):f.exp),d=f?je("key",l):null,c=r.source.type===4&&r.source.constType>0,h=c?64:f?128:256;return r.codegenNode=Zr(t,n(zr),void 0,a,h+"",void 0,void 0,!0,!c,!1,i.loc),()=>{let m;const{children:F}=r,g=F.length!==1||F[0].type!==1,p=Eo(i)?i:o&&i.children.length===1&&Eo(i.children[0])?i.children[0]:null;if(p?(m=p.codegenNode,o&&d&&Co(m,d,t)):g?m=Zr(t,n(zr),d?it([d]):void 0,i.children,64+"",void 0,void 0,!0,void 0,!1):(m=F[0].codegenNode,o&&d&&Co(m,d,t),m.isBlock!==!c&&(m.isBlock?(s(ss),s(Ns(t.inSSR,m.isComponent))):s(Is(t.inSSR,m.isComponent))),m.isBlock=!c,m.isBlock?(n(ss),n(Ns(t.inSSR,m.isComponent))):n(Is(t.inSSR,m.isComponent))),u){const v=Rs(ql(r.parseResult,[ue("_cached")]));v.body=mk([ot(["const _memo = (",u.exp,")"]),ot(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${t.helperString(j0)}(_cached, _memo)) return _cached`]),ot(["const _item = ",m]),ue("_item.memo = _memo"),ue("return _item")]),a.arguments.push(v,ue("_cache"),ue(String(t.cached++)))}else a.arguments.push(Rs(ql(r.parseResult),m,!0))}})});function uw(i,e,t,n){if(!e.exp){t.onError(Qe(31,e.loc));return}const s=fm(e.exp);if(!s){t.onError(Qe(32,e.loc));return}const{addIdentifiers:r,removeIdentifiers:a,scopes:o}=t,{source:u,value:f,key:l,index:d}=s,c={type:11,loc:e.loc,source:u,valueAlias:f,keyAlias:l,objectIndexAlias:d,parseResult:s,children:Do(i)?i.children:[i]};t.replaceNode(c),o.vFor++;const h=n&&n(c);return()=>{o.vFor--,h&&h()}}const fw=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,um=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,lw=/^\(|\)$/g;function fm(i,e){const t=i.loc,n=i.content,s=n.match(fw);if(!s)return;const[,r,a]=s,o={source:Po(t,a.trim(),n.indexOf(a,r.length)),value:void 0,key:void 0,index:void 0};let u=r.trim().replace(lw,"").trim();const f=r.indexOf(u),l=u.match(um);if(l){u=u.replace(um,"").trim();const d=l[1].trim();let c;if(d&&(c=n.indexOf(d,f+u.length),o.key=Po(t,d,c)),l[2]){const h=l[2].trim();h&&(o.index=Po(t,h,n.indexOf(h,o.key?c+d.length:f+u.length)))}}return u&&(o.value=Po(t,u,f)),o}function Po(i,e,t){return ue(e,!1,L0(i,t,e.length))}function ql({value:i,key:e,index:t},n=[]){return dw([i,e,t,...n])}function dw(i){let e=i.length;for(;e--&&!i[e];);return i.slice(0,e+1).map((t,n)=>t||ue("_".repeat(n+1),!1))}const lm=ue("undefined",!1),cw=(i,e)=>{if(i.type===1&&(i.tagType===1||i.tagType===3)){const t=tt(i,"slot");if(t)return t.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},hw=(i,e,t)=>Rs(i,e,!1,!0,e.length?e[0].loc:t);function mw(i,e,t=hw){e.helper(Pl);const{children:n,loc:s}=i,r=[],a=[];let o=e.scopes.vSlot>0||e.scopes.vFor>0;const u=tt(i,"slot",!0);if(u){const{arg:g,exp:p}=u;g&&!Ai(g)&&(o=!0),r.push(je(g||ue("default",!0),t(p,n,s)))}let f=!1,l=!1;const d=[],c=new Set;let h=0;for(let g=0;g{const O=t(p,v,s);return e.compatConfig&&(O.isNonScopedSlot=!0),je("default",O)};f?d.length&&d.some(p=>dm(p))&&(l?e.onError(Qe(39,d[0].loc)):r.push(g(void 0,d))):r.push(g(void 0,n))}const m=o?2:Mo(i.children)?3:1;let F=it(r.concat(je("_",ue(m+"",!1))),s);return a.length&&(F=ze(e.helper(R0),[F,Ur(a)])),{slots:F,hasDynamicSlots:o}}function Ao(i,e,t){const n=[je("name",i),je("fn",e)];return t!=null&&n.push(je("key",ue(String(t),!0))),it(n)}function Mo(i){for(let e=0;efunction(){if(i=e.currentNode,!(i.type===1&&(i.tagType===0||i.tagType===1)))return;const{tag:n,props:s}=i,r=i.tagType===1;let a=r?Fw(i,e):`"${n}"`;const o=we(a)&&a.callee===Oo;let u,f,l,d=0,c,h,m,F=o||a===Wr||a===Ol||!r&&(n==="svg"||n==="foreignObject");if(s.length>0){const g=hm(i,e,void 0,r,o);u=g.props,d=g.patchFlag,h=g.dynamicPropNames;const p=g.directives;m=p&&p.length?Ur(p.map(v=>vw(v,e))):void 0,g.shouldUseBlock&&(F=!0)}if(i.children.length>0)if(a===vo&&(F=!0,d|=1024),r&&a!==Wr&&a!==vo){const{slots:p,hasDynamicSlots:v}=mw(i,e);f=p,v&&(d|=1024)}else if(i.children.length===1&&a!==Wr){const p=i.children[0],v=p.type,O=v===5||v===8;O&&st(p,e)===0&&(d|=1),O||v===2?f=p:f=i.children}else f=i.children;d!==0&&(l=String(d),h&&h.length&&(c=Ow(h))),i.codegenNode=Zr(e,a,u,f,l,c,m,!!F,!1,r,i.loc)};function Fw(i,e,t=!1){let{tag:n}=i;const s=Vl(n),r=So(i,"is");if(r)if(s||as("COMPILER_IS_ON_ELEMENT",e)){const u=r.type===6?r.value&&ue(r.value.content,!0):r.exp;if(u)return ze(e.helper(Oo),[u])}else r.type===6&&r.value.content.startsWith("vue:")&&(n=r.value.content.slice(4));const a=!s&&tt(i,"is");if(a&&a.exp)return ze(e.helper(Oo),[a.exp]);const o=I0(n)||e.isBuiltInComponent(n);return o?(t||e.helper(o),o):(e.helper(bl),e.components.add(n),Gr(n,"component"))}function hm(i,e,t=i.props,n,s,r=!1){const{tag:a,loc:o,children:u}=i;let f=[];const l=[],d=[],c=u.length>0;let h=!1,m=0,F=!1,g=!1,p=!1,v=!1,O=!1,w=!1;const E=[],D=C=>{f.length&&(l.push(it(mm(f),o)),f=[]),C&&l.push(C)},x=({key:C,value:S})=>{if(Ai(C)){const Q=C.content,T=In(Q);if(T&&(!n||s)&&Q.toLowerCase()!=="onclick"&&Q!=="onUpdate:modelValue"&&!Ln(Q)&&(v=!0),T&&Ln(Q)&&(w=!0),S.type===20||(S.type===4||S.type===8)&&st(S,e)>0)return;Q==="ref"?F=!0:Q==="class"?g=!0:Q==="style"?p=!0:Q!=="key"&&!E.includes(Q)&&E.push(Q),n&&(Q==="class"||Q==="style")&&!E.includes(Q)&&E.push(Q)}else O=!0};for(let C=0;C0&&f.push(je(ue("ref_for",!0),ue("true")))),T==="is"&&(Vl(a)||N&&N.content.startsWith("vue:")||as("COMPILER_IS_ON_ELEMENT",e)))continue;f.push(je(ue(T,!0,L0(Q,0,T.length)),ue(N?N.content:"",I,N?N.loc:Q)))}else{const{name:Q,arg:T,exp:N,loc:I}=S,ie=Q==="bind",te=Q==="on";if(Q==="slot"){n||e.onError(Qe(40,I));continue}if(Q==="once"||Q==="memo"||Q==="is"||ie&&rs(T,"is")&&(Vl(a)||as("COMPILER_IS_ON_ELEMENT",e))||te&&r)continue;if((ie&&rs(T,"key")||te&&c&&rs(T,"vue:before-update"))&&(h=!0),ie&&rs(T,"ref")&&e.scopes.vFor>0&&f.push(je(ue("ref_for",!0),ue("true"))),!T&&(ie||te)){if(O=!0,N)if(ie){if(D(),as("COMPILER_V_BIND_OBJECT_ORDER",e)){l.unshift(N);continue}l.push(N)}else D({type:14,loc:I,callee:e.helper(Ql),arguments:n?[N]:[N,"true"]});else e.onError(Qe(ie?34:35,I));continue}const ve=e.directiveTransforms[Q];if(ve){const{props:ae,needRuntime:Se}=ve(S,i,e);!r&&ae.forEach(x),te&&T&&!Ai(T)?D(it(ae,o)):f.push(...ae),Se&&(d.push(S),on(Se)&&cm.set(S,Se))}else yO(Q)||(d.push(S),c&&(h=!0))}}let b;if(l.length?(D(),l.length>1?b=ze(e.helper(ko),l,o):b=l[0]):f.length&&(b=it(mm(f),o)),O?m|=16:(g&&!n&&(m|=2),p&&!n&&(m|=4),E.length&&(m|=8),v&&(m|=32)),!h&&(m===0||m===32)&&(F||w||d.length>0)&&(m|=512),!e.inSSR&&b)switch(b.type){case 15:let C=-1,S=-1,Q=!1;for(let I=0;Ije(a,r)),s))}return Ur(t,i.loc)}function Ow(i){let e="[";for(let t=0,n=i.length;t{const e=Object.create(null);return t=>e[t]||(e[t]=i(t))},kw=/-(\w)/g,pm=yw(i=>i.replace(kw,(e,t)=>t?t.toUpperCase():"")),ww=(i,e)=>{if(Eo(i)){const{children:t,loc:n}=i,{slotName:s,slotProps:r}=bw(i,e),a=[e.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let o=2;r&&(a[2]=r,o=3),t.length&&(a[3]=Rs([],t,!1,!1,n),o=4),e.scopeId&&!e.slotted&&(o=5),a.splice(o),i.codegenNode=ze(e.helper(B0),a,n)}};function bw(i,e){let t='"default"',n;const s=[];for(let r=0;r0){const{props:r,directives:a}=hm(i,e,s,!1,!1);n=r,a.length&&e.onError(Qe(36,a[0].loc))}return{slotName:t,slotProps:n}}const _w=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Fm=(i,e,t,n)=>{const{loc:s,modifiers:r,arg:a}=i;!i.exp&&!r.length&&t.onError(Qe(35,s));let o;if(a.type===4)if(a.isStatic){let d=a.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const c=e.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?_s(ei(d)):`on:${d}`;o=ue(c,!0,a.loc)}else o=ot([`${t.helperString(Tl)}(`,a,")"]);else o=a,o.children.unshift(`${t.helperString(Tl)}(`),o.children.push(")");let u=i.exp;u&&!u.content.trim()&&(u=void 0);let f=t.cacheHandlers&&!u&&!t.inVOnce;if(u){const d=N0(u.content),c=!(d||_w.test(u.content)),h=u.content.includes(";");(c||f&&d)&&(u=ot([`${c?"$event":"(...args)"} => ${h?"{":"("}`,u,h?"}":")"]))}let l={props:[je(o,u||ue("() => {}",!1,s))]};return n&&(l=n(l)),f&&(l.props[0].value=t.cache(l.props[0].value)),l.props.forEach(d=>d.key.isHandlerKey=!0),l},Sw=(i,e,t)=>{const{exp:n,modifiers:s,loc:r}=i,a=i.arg;return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),s.includes("camel")&&(a.type===4?a.isStatic?a.content=ei(a.content):a.content=`${t.helperString($l)}(${a.content})`:(a.children.unshift(`${t.helperString($l)}(`),a.children.push(")"))),t.inSSR||(s.includes("prop")&&gm(a,"."),s.includes("attr")&&gm(a,"^")),!n||n.type===4&&!n.content.trim()?(t.onError(Qe(34,r)),{props:[je(a,ue("",!0,r))]}):{props:[je(a,n)]}},gm=(i,e)=>{i.type===4?i.isStatic?i.content=e+i.content:i.content=`\`${e}\${${i.content}}\``:(i.children.unshift(`'${e}' + (`),i.children.push(")"))},Dw=(i,e)=>{if(i.type===0||i.type===1||i.type===11||i.type===10)return()=>{const t=i.children;let n,s=!1;for(let r=0;rr.type===7&&!e.directiveTransforms[r.name])&&i.tag!=="template")))for(let r=0;r{if(i.type===1&&tt(i,"once",!0))return vm.has(i)||e.inVOnce?void 0:(vm.add(i),e.inVOnce=!0,e.helper(wo),()=>{e.inVOnce=!1;const t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0))})},Om=(i,e,t)=>{const{exp:n,arg:s}=i;if(!n)return t.onError(Qe(41,i.loc)),Bo();const r=n.loc.source,a=n.type===4?n.content:r,o=t.bindingMetadata[r];if(o==="props"||o==="props-aliased")return t.onError(Qe(44,n.loc)),Bo();const u=!1;if(!a.trim()||!N0(a)&&!u)return t.onError(Qe(42,n.loc)),Bo();const f=s||ue("modelValue",!0),l=s?Ai(s)?`onUpdate:${s.content}`:ot(['"onUpdate:" + ',s]):"onUpdate:modelValue";let d;const c=t.isTS?"($event: any)":"$event";d=ot([`${c} => ((`,n,") = $event)"]);const h=[je(f,i.exp),je(l,d)];if(i.modifiers.length&&e.tagType===1){const m=i.modifiers.map(g=>(Bl(g)?g:JSON.stringify(g))+": true").join(", "),F=s?Ai(s)?`${s.content}Modifiers`:ot([s,' + "Modifiers"']):"modelModifiers";h.push(je(F,ue(`{ ${m} }`,!1,i.loc,2)))}return Bo(h)};function Bo(i=[]){return{props:i}}const Cw=/[\w).+\-_$\]]/,xw=(i,e)=>{!as("COMPILER_FILTER",e)||(i.type===5&&Ro(i.content,e),i.type===1&&i.props.forEach(t=>{t.type===7&&t.name!=="for"&&t.exp&&Ro(t.exp,e)}))};function Ro(i,e){if(i.type===4)ym(i,e);else for(let t=0;t=0&&(v=t.charAt(p),v===" ");p--);(!v||!Cw.test(v))&&(a=!0)}}m===void 0?m=t.slice(0,h).trim():l!==0&&g();function g(){F.push(t.slice(l,h).trim()),l=h+1}if(F.length){for(h=0;h{if(i.type===1){const t=tt(i,"memo");return!t||km.has(i)?void 0:(km.add(i),()=>{const n=i.codegenNode||e.currentNode.codegenNode;n&&n.type===13&&(i.tagType!==1&&jl(n,e),i.codegenNode=ze(e.helper(Al),[t.exp,Rs(void 0,n),"_cache",String(e.cached++)]))})}};function Tw(i){return[[Ew,sw,$w,ow,xw,ww,pw,cw,Dw],{on:Fm,bind:Sw,model:Om}]}function Pw(i,e={}){const t=e.onError||vl,n=e.mode==="module";e.prefixIdentifiers===!0?t(Qe(47)):n&&t(Qe(48));const s=!1;e.cacheHandlers&&t(Qe(49)),e.scopeId&&!n&&t(Qe(50));const r=oe(i)?Sk(i,e):i,[a,o]=Tw();return Ik(r,Fe({},e,{prefixIdentifiers:s,nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:Fe({},o,e.directiveTransforms||{})})),Wk(r,Fe({},e,{prefixIdentifiers:s}))}const Aw=()=>({props:[]}),wm=Symbol(""),bm=Symbol(""),_m=Symbol(""),Sm=Symbol(""),Xl=Symbol(""),Dm=Symbol(""),Em=Symbol(""),Cm=Symbol(""),xm=Symbol(""),Qm=Symbol("");dk({[wm]:"vModelRadio",[bm]:"vModelCheckbox",[_m]:"vModelText",[Sm]:"vModelSelect",[Xl]:"vModelDynamic",[Dm]:"withModifiers",[Em]:"withKeys",[Cm]:"vShow",[xm]:"Transition",[Qm]:"TransitionGroup"});let Ls;function Mw(i,e=!1){return Ls||(Ls=document.createElement("div")),e?(Ls.innerHTML=`
`,Ls.children[0].getAttribute("foo")):(Ls.innerHTML=i,Ls.textContent)}const Bw=Qi("style,iframe,script,noscript",!0),Rw={isVoidTag:mO,isNativeTag:i=>cO(i)||hO(i),isPreTag:i=>i==="pre",decodeEntities:Mw,isBuiltInComponent:i=>{if(js(i,"Transition"))return xm;if(js(i,"TransitionGroup"))return Qm},getNamespace(i,e){let t=e?e.ns:0;if(e&&t===2)if(e.tag==="annotation-xml"){if(i==="svg")return 1;e.props.some(n=>n.type===6&&n.name==="encoding"&&n.value!=null&&(n.value.content==="text/html"||n.value.content==="application/xhtml+xml"))&&(t=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&i!=="mglyph"&&i!=="malignmark"&&(t=0);else e&&t===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(t=0);if(t===0){if(i==="svg")return 1;if(i==="math")return 2}return t},getTextMode({tag:i,ns:e}){if(e===0){if(i==="textarea"||i==="title")return 1;if(Bw(i))return 2}return 0}},jw=i=>{i.type===1&&i.props.forEach((e,t)=>{e.type===6&&e.name==="style"&&e.value&&(i.props[t]={type:7,name:"bind",arg:ue("style",!0,e.loc),exp:Iw(e.value.content,e.loc),modifiers:[],loc:e.loc})})},Iw=(i,e)=>{const t=lc(i);return ue(JSON.stringify(t),!1,e,3)};function Wt(i,e){return Qe(i,e)}const Nw=(i,e,t)=>{const{exp:n,loc:s}=i;return n||t.onError(Wt(51,s)),e.children.length&&(t.onError(Wt(52,s)),e.children.length=0),{props:[je(ue("innerHTML",!0,s),n||ue("",!0))]}},Lw=(i,e,t)=>{const{exp:n,loc:s}=i;return n||t.onError(Wt(53,s)),e.children.length&&(t.onError(Wt(54,s)),e.children.length=0),{props:[je(ue("textContent",!0),n?st(n,t)>0?n:ze(t.helperString(yo),[n],s):ue("",!0))]}},zw=(i,e,t)=>{const n=Om(i,e,t);if(!n.props.length||e.tagType===1)return n;i.arg&&t.onError(Wt(56,i.arg.loc));const{tag:s}=e,r=t.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||r){let a=_m,o=!1;if(s==="input"||r){const u=So(e,"type");if(u){if(u.type===7)a=Xl;else if(u.value)switch(u.value.content){case"radio":a=wm;break;case"checkbox":a=bm;break;case"file":o=!0,t.onError(Wt(57,i.loc));break}}else Ok(e)&&(a=Xl)}else s==="select"&&(a=Sm);o||(n.needRuntime=t.helper(a))}else t.onError(Wt(55,i.loc));return n.props=n.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),n},Ww=Qi("passive,once,capture"),qw=Qi("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Vw=Qi("left,right"),$m=Qi("onkeyup,onkeydown,onkeypress",!0),Xw=(i,e,t,n)=>{const s=[],r=[],a=[];for(let o=0;oAi(i)&&i.content.toLowerCase()==="onclick"?ue(e,!0):i.type!==4?ot(["(",i,`) === "onClick" ? "${e}" : (`,i,")"]):i,Zw=(i,e,t)=>Fm(i,e,t,n=>{const{modifiers:s}=i;if(!s.length)return n;let{key:r,value:a}=n.props[0];const{keyModifiers:o,nonKeyModifiers:u,eventOptionModifiers:f}=Xw(r,s,t,i.loc);if(u.includes("right")&&(r=Tm(r,"onContextmenu")),u.includes("middle")&&(r=Tm(r,"onMouseup")),u.length&&(a=ze(t.helper(Dm),[a,JSON.stringify(u)])),o.length&&(!Ai(r)||$m(r.content))&&(a=ze(t.helper(Em),[a,JSON.stringify(o)])),f.length){const l=f.map(zn).join("");r=Ai(r)?ue(`${r.content}${l}`,!0):ot(["(",r,`) + "${l}"`])}return{props:[je(r,a)]}}),Uw=(i,e,t)=>{const{exp:n,loc:s}=i;return n||t.onError(Wt(59,s)),{props:[],needRuntime:t.helper(Cm)}},Gw=(i,e)=>{i.type===1&&i.tagType===0&&(i.tag==="script"||i.tag==="style")&&(e.onError(Wt(61,i.loc)),e.removeNode())},Hw=[jw],Yw={cloak:Aw,html:Nw,text:Lw,model:zw,on:Zw,show:Uw};function Kw(i,e={}){return Pw(i,Fe({},Rw,e,{nodeTransforms:[Gw,...Hw,...e.nodeTransforms||[]],directiveTransforms:Fe({},Yw,e.directiveTransforms||{}),transformHoist:null}))}const Pm=Object.create(null);function Jw(i,e){if(!oe(i))if(i.nodeType)i=i.innerHTML;else return ki;const t=i,n=Pm[t];if(n)return n;if(i[0]==="#"){const o=document.querySelector(i);i=o?o.innerHTML:""}const s=Fe({hoistStatic:!0,onError:void 0,onWarn:ki},e);!s.isCustomElement&&typeof customElements!="undefined"&&(s.isCustomElement=o=>!!customElements.get(o));const{code:r}=Kw(i,s),a=new Function("Vue",r)(rk);return a._rc=!0,Pm[t]=a}Wh(Jw);/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */var Am;(function(i){i.pop="pop",i.push="push"})(Am||(Am={}));var Mm;(function(i){i.back="back",i.forward="forward",i.unknown=""})(Mm||(Mm={}));var Bm;(function(i){i[i.aborted=4]="aborted",i[i.cancelled=8]="cancelled",i[i.duplicated=16]="duplicated"})(Bm||(Bm={}));const e4=Symbol("");function i4(){return Ki(e4)}var Rm;const jo=typeof window!="undefined",t4=i=>typeof i=="string",jm=(i,e,t)=>Math.min(t,Math.max(e,i)),os=()=>{};jo&&((Rm=window==null?void 0:window.navigator)==null?void 0:Rm.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function n4(i,e){function t(...n){i(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})}return t}const Im=i=>i();function s4(i=Im){const e=le(!0);function t(){e.value=!1}function n(){e.value=!0}return{isActive:e,pause:t,resume:n,eventFilter:(...r)=>{e.value&&i(...r)}}}function Io(i){return vc()?(Oc(i),!0):!1}function Nm(i,e,t={}){const{flush:n="sync",deep:s=!1,immediate:r=!0,direction:a="both"}=t;let o,u;return(a==="both"||a==="ltr")&&(o=ii(i,f=>e.value=f,{flush:n,deep:s,immediate:r})),(a==="both"||a==="rtl")&&(u=ii(e,f=>i.value=f,{flush:n,deep:s,immediate:r})),()=>{o==null||o(),u==null||u()}}function r4(i,e=1e3,t={}){const{immediate:n=!0,immediateCallback:s=!1}=t;let r=null;const a=le(!1);function o(){r&&(clearInterval(r),r=null)}function u(){a.value=!1,o()}function f(){I(e)<=0||(a.value=!0,s&&i(),o(),r=setInterval(i,I(e)))}if(n&&jo&&f(),$e(e)){const l=ii(e,()=>{a.value&&jo&&f()});Io(l)}return Io(u),{isActive:a,pause:u,resume:f}}var Lm=Object.getOwnPropertySymbols,a4=Object.prototype.hasOwnProperty,o4=Object.prototype.propertyIsEnumerable,u4=(i,e)=>{var t={};for(var n in i)a4.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&Lm)for(var n of Lm(i))e.indexOf(n)<0&&o4.call(i,n)&&(t[n]=i[n]);return t};function f4(i,e,t={}){const n=t,{eventFilter:s=Im}=n,r=u4(n,["eventFilter"]);return ii(i,n4(s,e),r)}var l4=Object.defineProperty,d4=Object.defineProperties,c4=Object.getOwnPropertyDescriptors,No=Object.getOwnPropertySymbols,zm=Object.prototype.hasOwnProperty,Wm=Object.prototype.propertyIsEnumerable,qm=(i,e,t)=>e in i?l4(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,h4=(i,e)=>{for(var t in e||(e={}))zm.call(e,t)&&qm(i,t,e[t]);if(No)for(var t of No(e))Wm.call(e,t)&&qm(i,t,e[t]);return i},m4=(i,e)=>d4(i,c4(e)),p4=(i,e)=>{var t={};for(var n in i)zm.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&No)for(var n of No(i))e.indexOf(n)<0&&Wm.call(i,n)&&(t[n]=i[n]);return t};function F4(i,e,t={}){const n=t,{eventFilter:s}=n,r=p4(n,["eventFilter"]),{eventFilter:a,pause:o,resume:u,isActive:f}=s4(s);return{stop:f4(i,e,m4(h4({},r),{eventFilter:a})),pause:o,resume:u,isActive:f}}function g4(i){var e;const t=I(i);return(e=t==null?void 0:t.$el)!=null?e:t}const Ls=jo?window:void 0;function ia(...i){let e,t,n,s;if(t4(i[0])?([t,n,s]=i,e=Ls):[e,t,n,s]=i,!e)return os;let r=os;const a=ii(()=>g4(e),u=>{r(),u&&(u.addEventListener(t,n,s),r=()=>{u.removeEventListener(t,n,s),r=os})},{immediate:!0,flush:"post"}),o=()=>{a(),r()};return Io(o),o}function Vm(i,e,t){const n=le(i);return Re({get(){return n.value=jm(n.value,I(e),I(t))},set(s){n.value=jm(s,I(e),I(t))}})}const Zl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ul="__vueuse_ssr_handlers__";Zl[Ul]=Zl[Ul]||{};const v4=Zl[Ul];function O4(i,e){return v4[i]||e}function y4(i){return i==null?"any":i instanceof Set?"set":i instanceof Map?"map":i instanceof Date?"date":typeof i=="boolean"?"boolean":typeof i=="string"?"string":typeof i=="object"||Array.isArray(i)?"object":Number.isNaN(i)?"any":"number"}const k4={boolean:{read:i=>i==="true",write:i=>String(i)},object:{read:i=>JSON.parse(i),write:i=>JSON.stringify(i)},number:{read:i=>Number.parseFloat(i),write:i=>String(i)},any:{read:i=>i,write:i=>String(i)},string:{read:i=>i,write:i=>String(i)},map:{read:i=>new Map(JSON.parse(i)),write:i=>JSON.stringify(Array.from(i.entries()))},set:{read:i=>new Set(JSON.parse(i)),write:i=>JSON.stringify(Array.from(i))},date:{read:i=>new Date(i),write:i=>i.toISOString()}};function w4(i,e,t,n={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:u=!0,shallow:f,window:l=Ls,eventFilter:d,onError:c=S=>{console.error(S)}}=n,h=(f?Nc:le)(e);if(!t)try{t=O4("getDefaultStorage",()=>{var S;return(S=Ls)==null?void 0:S.localStorage})()}catch(S){c(S)}if(!t)return h;const m=I(e),p=y4(m),g=(s=n.serializer)!=null?s:k4[p],{pause:F,resume:v}=F4(h,()=>O(h.value),{flush:r,deep:a,eventFilter:d});return l&&o&&ia(l,"storage",E),E(),h;function O(S){try{S==null?t.removeItem(i):t.setItem(i,g.write(S))}catch(C){c(C)}}function b(S){if(!(S&&S.key!==i)){F();try{const C=S?S.newValue:t.getItem(i);return C==null?(u&&m!==null&&t.setItem(i,g.write(m)),m):typeof C!="string"?C:g.read(C)}catch(C){c(C)}finally{v()}}}function E(S){S&&S.key!==i||(h.value=b(S))}}function b4(i,e={}){const{immediate:t=!0,window:n=Ls}=e,s=le(!1);let r=null;function a(){!s.value||!n||(i(),r=n.requestAnimationFrame(a))}function o(){!s.value&&n&&(s.value=!0,a())}function u(){s.value=!1,r!=null&&n&&(n.cancelAnimationFrame(r),r=null)}return t&&o(),Io(u),{isActive:s,pause:u,resume:o}}function _4(i,e,t={}){const{window:n=Ls}=t;return w4(i,e,n==null?void 0:n.localStorage,t)}const S4={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function D4(i={}){const{reactive:e=!1,target:t=Ls,aliasMap:n=S4,passive:s=!0,onEventFired:r=os}=i,a=Bt(new Set),o={toJSON(){return{}},current:a},u=e?Bt(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 h(p,g){var F,v;const O=(F=p.key)==null?void 0:F.toLowerCase(),b=(v=p.code)==null?void 0:v.toLowerCase(),E=[b,O].filter(Boolean);b&&(g?a.add(p.code):a.delete(p.code));for(const S of E)l.add(S),d(S,g);O==="meta"&&!g?(f.forEach(S=>{a.delete(S),d(S,!1)}),f.clear()):typeof p.getModifierState=="function"&&p.getModifierState("Meta")&&g&&[...a,...E].forEach(S=>f.add(S))}t&&(ia(t,"keydown",p=>(h(p,!0),r(p)),{passive:s}),ia(t,"keyup",p=>(h(p,!1),r(p)),{passive:s}),ia("blur",c,{passive:!0}),ia("focus",c,{passive:!0}));const m=new Proxy(u,{get(p,g,F){if(typeof g!="string")return Reflect.get(p,g,F);if(g=g.toLowerCase(),g in n&&(g=n[g]),!(g in u))if(/[+_-]/.test(g)){const O=g.split(/[+_-]/g).map(b=>b.trim());u[g]=Re(()=>O.every(b=>I(m[b])))}else u[g]=le(!1);const v=Reflect.get(p,g,F);return e?I(v):v}});return m}var E4=Object.defineProperty,Xm=Object.getOwnPropertySymbols,C4=Object.prototype.hasOwnProperty,x4=Object.prototype.propertyIsEnumerable,Zm=(i,e,t)=>e in i?E4(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,Q4=(i,e)=>{for(var t in e||(e={}))C4.call(e,t)&&Zm(i,t,e[t]);if(Xm)for(var t of Xm(e))x4.call(e,t)&&Zm(i,t,e[t]);return i};function $4(i={}){const{controls:e=!1,interval:t="requestAnimationFrame"}=i,n=le(new Date),s=()=>n.value=new Date,r=t==="requestAnimationFrame"?b4(s,{immediate:!0}):r4(s,t,{immediate:!0});return e?Q4({now:n},r):n}function T4(i){const{total:e=1/0,pageSize:t=10,page:n=1,onPageChange:s=os,onPageSizeChange:r=os,onPageCountChange:a=os}=i,o=Vm(t,1,1/0),u=Re(()=>Math.ceil(I(e)/I(o))),f=Vm(n,1,u),l=Re(()=>f.value===1),d=Re(()=>f.value===u.value);$e(n)&&Nm(n,f),$e(t)&&Nm(t,o);function c(){f.value--}function h(){f.value++}const m={currentPage:f,currentPageSize:o,pageCount:u,isFirstPage:l,isLastPage:d,prev:c,next:h};return ii(f,()=>{s(Bt(m))}),ii(o,()=>{r(Bt(m))}),ii(u,()=>{a(Bt(m))}),m}var Um;(function(i){i.UP="UP",i.RIGHT="RIGHT",i.DOWN="DOWN",i.LEFT="LEFT",i.NONE="NONE"})(Um||(Um={}));var P4=Object.defineProperty,Lo=Object.getOwnPropertySymbols,Gm=Object.prototype.hasOwnProperty,Hm=Object.prototype.propertyIsEnumerable,Ym=(i,e,t)=>e in i?P4(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,A4=(i,e)=>{for(var t in e||(e={}))Gm.call(e,t)&&Ym(i,t,e[t]);if(Lo)for(var t of Lo(e))Hm.call(e,t)&&Ym(i,t,e[t]);return i},M4=(i,e)=>{var t={};for(var n in i)Gm.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&Lo)for(var n of Lo(i))e.indexOf(n)<0&&Hm.call(i,n)&&(t[n]=i[n]);return t};const Km=[{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"}],B4={justNow:"just now",past:i=>i.match(/\d/)?`${i} ago`:i,future:i=>i.match(/\d/)?`in ${i}`:i,month:(i,e)=>i===1?e?"last month":"next month":`${i} month${i>1?"s":""}`,year:(i,e)=>i===1?e?"last year":"next year":`${i} year${i>1?"s":""}`,day:(i,e)=>i===1?e?"yesterday":"tomorrow":`${i} day${i>1?"s":""}`,week:(i,e)=>i===1?e?"last week":"next week":`${i} week${i>1?"s":""}`,hour:i=>`${i} hour${i>1?"s":""}`,minute:i=>`${i} minute${i>1?"s":""}`,second:i=>`${i} second${i>1?"s":""}`},R4=i=>i.toISOString().slice(0,10);function Jm(i,e={}){const{controls:t=!1,max:n,updateInterval:s=3e4,messages:r=B4,fullDateFormatter:a=R4}=e,{abs:o,round:u}=Math,f=$4({interval:s,controls:!0}),{now:l}=f,d=M4(f,["now"]);function c(g,F){var v;const O=+F-+g,b=o(O);if(b<6e4)return r.justNow;if(typeof n=="number"&&b>n)return a(new Date(g));if(typeof n=="string"){const E=(v=Km.find(S=>S.name===n))==null?void 0:v.max;if(E&&b>E)return a(new Date(g))}for(const E of Km)if(b0,b=h(F.name,v,O);return h(O?"past":"future",b,O)}const p=Re(()=>c(new Date(I(i)),I(l.value)));return t?A4({timeAgo:p},d):p}const j4={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},I4=R("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.414L8 12l6.364-6.364l1.414 1.414z"},null,-1),N4=[I4];function L4(i,e){return Z(),re("svg",j4,N4)}var ep={name:"ri-arrow-left-s-line",render:L4};const z4={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},W4=R("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),q4=[W4];function V4(i,e){return Z(),re("svg",z4,q4)}var ip={name:"ri-arrow-right-s-line",render:V4};const X4={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Z4=R("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),U4=[Z4];function G4(i,e){return Z(),re("svg",X4,U4)}var H4={name:"ri-close-line",render:G4};const Y4={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},K4=R("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"},null,-1),J4=[K4];function eb(i,e){return Z(),re("svg",Y4,J4)}var ib={name:"ri-error-warning-line",render:eb};const tb={key:0,class:"avatar-fallback"},nb={key:0,class:"avatar-loading",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},sb=R("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),rb=R("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),ab=[sb,rb],ob={key:1,class:"avatar-placeholder"},ub=["src","alt"];var Gl=wi({__name:"Avatar",props:{src:{default:void 0},alt:{default:void 0},size:{default:"md"},width:{default:void 0},height:{default:void 0},circle:{type:Boolean,default:!1}},setup(i){const e=i,t=le(!1),n=le(!1),s=async()=>{if(!e.src)return Promise.reject();const u=new Image;return u.src=e.src,new Promise((f,l)=>{u.onload=()=>f(u),u.onerror=d=>l(d)})};Hn(async()=>{if(!e.src){n.value=!0;return}t.value=!0;try{await s()}catch{n.value=!0}finally{t.value=!1}});const r=Re(()=>{const u=[`avatar-${e.circle?"circle":"square"}`];return e.size&&u.push(`avatar-${e.size}`),u}),a=Re(()=>{const u={};return e.width&&(u.width=e.width),e.height&&(u.height=e.height),u}),o=Re(()=>{if(!e.alt)return;const u=e.alt.split(" ");if(u.length===1)return u[0].charAt(0).toUpperCase();if(u.length>1)return u[0].charAt(0).toUpperCase()+u[1].charAt(0).toUpperCase()});return(u,f)=>(Z(),re("div",{class:$i(["avatar-wrapper",I(r)]),style:Pt(I(a))},[t.value||n.value?(Z(),re("div",tb,[t.value?(Z(),re("svg",nb,ab)):I(o)?(Z(),re("span",ob,Ne(I(o)),1)):(Z(),ni(I(ib),{key:2,class:"avatar-error"}))])):(Z(),re("img",{key:1,src:i.src,alt:i.alt},null,8,ub))],6))}}),fb=(i,e)=>{const t=i.__vccOpts||i;for(const[n,s]of e)t[n]=s;return t};const lb=["disabled"],db={key:0,class:"btn-icon"},cb={key:0,class:"animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},hb=R("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),mb=R("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),pb=[hb,mb],Fb={class:"btn-content"};var zs=wi({__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(i,{emit:e}){const t=i,n=i4(),s=Re(()=>[`btn-${t.size}`,`btn-${t.type}`,{"btn-circle":t.circle},{"btn-block":t.block},{"btn-loading":t.loading}]);function r(){t.disabled||t.loading||(t.route&&n.push(t.route),e("click"))}return(a,o)=>(Z(),re("button",{class:$i([I(s),"btn"]),disabled:i.disabled,type:"button",onClick:r},[a.$slots.icon||i.loading?(Z(),re("span",db,[i.loading?(Z(),re("svg",cb,pb)):bi(a.$slots,"icon",{key:1})])):Le("",!0),R("span",Fb,[bi(a.$slots,"default")])],10,lb))}});const gb={key:0,class:"modal-header group"},vb={class:"modal-header-title"},Ob={key:0,class:"modal-header-center"},yb={class:"modal-header-actions"},kb={key:1,class:"modal-footer"};var wb=wi({__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},centered:{type:Boolean,default:!0}},emits:["update:visible","close"],setup(i,{emit:e}){const t=i,n=le(!1),s=le(),r=Re(()=>({"modal-wrapper-fullscreen":t.fullscreen,"modal-wrapper-centered":t.centered})),a=Re(()=>({maxWidth:t.width+"px",height:t.height}));function o(){e("update:visible",!1),e("close")}return ii(()=>t.visible,()=>{t.visible&&Xa(()=>{var u;(u=s.value)==null||u.focus()})}),(u,f)=>(Z(),ni(Ph,{disabled:!i.mountToBody,to:"body"},[Li(R("div",{ref_key:"modelWrapper",ref:s,class:$i([I(r),"modal-wrapper"]),"aria-modal":"true",role:"dialog",tabindex:"0",onKeyup:f[4]||(f[4]=w0(Fl(l=>o(),["stop"]),["esc"]))},[J(vn,{"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=>n.value=!0),onAfterLeave:f[2]||(f[2]=l=>n.value=!1)},{default:xe(()=>[Li(R("div",{class:"modal-layer",onClick:f[0]||(f[0]=Fl(l=>o(),["stop"]))},null,512),[[As,i.visible]])]),_:1}),J(vn,{"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:xe(()=>[Li(R("div",{style:Pt(I(a)),class:"modal-content transform transition-all"},[u.$slots.header||i.title?(Z(),re("div",gb,[bi(u.$slots,"header",{},()=>[R("div",vb,Ne(i.title),1),u.$slots.center?(Z(),re("div",Ob,[bi(u.$slots,"center")])):Le("",!0),R("div",yb,[bi(u.$slots,"actions"),R("span",{class:"bg-gray-50",onClick:f[3]||(f[3]=l=>o())},[J(I(H4))])])])])):Le("",!0),R("div",{class:$i([i.bodyClass,"modal-body"])},[bi(u.$slots,"default")],2),u.$slots.footer?(Z(),re("div",kb,[bi(u.$slots,"footer")])):Le("",!0)],4),[[As,i.visible]])]),_:3})],34),[[As,n.value]])],8,["disabled"]))}});const bb={xs:10,sm:12,md:16,lg:20};var tp=wi({__name:"Space",props:{spacing:{default:"xs"},direction:{default:"row"},align:{default:"center"}},setup(i){const e=i,t=Re(()=>{const{direction:n,align:s}=e;return[`space-direction-${n}`,`space-align-${s}`]});return(n,s)=>(Z(),re("div",{class:$i([I(t),"space-wrapper"]),style:Pt(`gap: ${I(bb)[i.spacing]}px`)},[bi(n.$slots,"default")],6))}});const _b={key:0,class:"tag-left-icon"},Sb={class:"tag-content"},Db={key:1,class:"tag-right-icon"};var Eb=wi({__name:"Tag",props:{theme:{default:"default"},rounded:{type:Boolean,default:!1},styles:{default:()=>({})}},setup(i){const e=i,t=Re(()=>[`tag-${e.theme}`,{"tag-rounded":e.rounded}]);return(n,s)=>(Z(),re("div",{class:$i([I(t),"tag-wrapper"]),style:Pt(i.styles)},[n.$slots.leftIcon?(Z(),re("div",_b,[bi(n.$slots,"leftIcon")])):Le("",!0),R("span",Sb,[bi(n.$slots,"default")]),n.$slots.rightIcon?(Z(),re("div",Db,[bi(n.$slots,"rightIcon")])):Le("",!0)],6))}});const Cb={class:"bg-white flex items-center justify-between"},xb={class:"flex-1 flex justify-between sm:!hidden items-center"},Qb={class:"text-sm text-gray-500"},$b={class:"hidden sm:flex-1 sm:flex sm:items-center items-center gap-2"},Tb={"aria-label":"Pagination",class:"relative z-0 inline-flex rounded-base shadow-sm -space-x-px"},Pb=["disabled"],Ab=["disabled"],Mb={class:"inline-flex items-center gap-2"},Bb=["disabled"],Rb={key:0,value:0},jb=["value"],Ib=R("span",{class:"text-sm text-gray-500"},"\u9875",-1),Nb={class:"inline-flex items-center gap-2"},Lb=["value"],zb=R("span",{class:"text-sm text-gray-500"},"\u6761 / \u9875",-1);var Wb=wi({__name:"Pagination",props:{page:{default:1},size:{default:10},total:{default:0},sizeOptions:{default:()=>[10]}},emits:["update:page","update:size","change"],setup(i,{emit:e}){const t=i,n=le(t.page),s=le(t.size),r=le(t.total);ii([()=>t.page,()=>t.size,()=>t.total],()=>{n.value=t.page,s.value=t.size,r.value=t.total});const a=({currentPage:m,currentPageSize:p})=>{e("update:page",m),e("update:size",p),e("change",{page:m,size:p})},{currentPage:o,currentPageSize:u,pageCount:f,isFirstPage:l,isLastPage:d,prev:c,next:h}=T4({total:r,page:n,pageSize:s,onPageChange:a,onPageSizeChange:a});return(m,p)=>(Z(),re("div",Cb,[R("div",xb,[R("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:p[0]||(p[0]=(...g)=>I(c)&&I(c)(...g))},[J(I(ep))]),R("span",Qb,Ne(I(o))+" / "+Ne(I(f)),1),R("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:p[1]||(p[1]=(...g)=>I(h)&&I(h)(...g))},[J(I(ip))])]),R("div",$b,[R("nav",Tb,[R("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-l-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:I(l),onClick:p[2]||(p[2]=(...g)=>I(c)&&I(c)(...g))},[J(I(ep))],8,Pb),R("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-r-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:I(d),onClick:p[3]||(p[3]=(...g)=>I(h)&&I(h)(...g))},[J(I(ip))],8,Ab)]),R("div",Mb,[Li(R("select",{"onUpdate:modelValue":p[4]||(p[4]=g=>$e(o)?o.value=g:null),disabled:I(f)===0,class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[I(f)===0?(Z(),re("option",Rb,"0 / 0")):Le("",!0),(Z(!0),re(Me,null,Mr(I(f),g=>(Z(),re("option",{key:g,value:g},Ne(g)+" / "+Ne(I(f)),9,jb))),128))],8,Bb),[[Fo,I(o)]]),Ib]),R("div",Nb,[Li(R("select",{"onUpdate:modelValue":p[5]||(p[5]=g=>$e(u)?u.value=g:null),class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[(Z(!0),re(Me,null,Mr(i.sizeOptions,(g,F)=>(Z(),re("option",{key:F,value:g},Ne(g),9,Lb))),128))],512),[[Fo,I(u)]]),zb])])]))}});class ke{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,t,n){let s=[];return this.decompose(0,e,s,2),n.length&&n.decompose(0,n.length,s,3),this.decompose(t,this.length,s,1),vt.from(s,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),vt.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),s=new ta(this),r=new ta(e);for(let a=t,o=t;;){if(s.next(a),r.next(a),a=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(o+=s.value.length,s.done||o>=n)return!0}}iter(e=1){return new ta(this,e)}iterRange(e,t=this.length){return new sp(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;n=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new rp(n)}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]?ke.empty:e.length<=32?new je(e):vt.from(je.split(e,[]))}}class je extends ke{constructor(e,t=qb(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,s){for(let r=0;;r++){let a=this.text[r],o=s+a.length;if((t?n:o)>=e)return new Vb(s,o,n,a);s=o+1,n++}}decompose(e,t,n,s){let r=e<=0&&t>=this.length?this:new je(np(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let a=n.pop(),o=zo(r.text,a.text.slice(),0,r.length);if(o.length<=32)n.push(new je(o,a.length+r.length));else{let u=o.length>>1;n.push(new je(o.slice(0,u)),new je(o.slice(u)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof je))return super.replace(e,t,n);let s=zo(this.text,zo(n.text,np(this.text,0,e)),t),r=this.length+n.length-(t-e);return s.length<=32?new je(s,r):vt.from(je.split(s,[]),r)}sliceString(e,t=this.length,n=` -`){let s="";for(let r=0,a=0;r<=t&&ae&&a&&(s+=n),er&&(s+=o.slice(Math.max(0,e-r),t-r)),r=u+1}return s}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],s=-1;for(let r of e)n.push(r),s+=r.length+1,n.length==32&&(t.push(new je(n,s)),n=[],s=-1);return s>-1&&t.push(new je(n,s)),t}}class vt extends ke{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,s){for(let r=0;;r++){let a=this.children[r],o=s+a.length,u=n+a.lines-1;if((t?u:o)>=e)return a.lineInner(e,t,n,s);s=o+1,n=u+1}}decompose(e,t,n,s){for(let r=0,a=0;a<=t&&r=a){let f=s&((a<=e?1:0)|(u>=t?2:0));a>=e&&u<=t&&!f?n.push(o):o.decompose(e-a,t-a,n,f)}a=u+1}}replace(e,t,n){if(n.lines=r&&t<=o){let u=a.replace(e-r,t-r,n),f=this.lines-a.lines+u.lines;if(u.lines>4&&u.lines>f>>6){let l=this.children.slice();return l[s]=u,new vt(l,this.length-(t-e)+n.length)}return super.replace(r,o,u)}r=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=` -`){let s="";for(let r=0,a=0;re&&r&&(s+=n),ea&&(s+=o.sliceString(e-a,t-a,n)),a=u+1}return s}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof vt))return 0;let n=0,[s,r,a,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;s+=t,r+=t){if(s==a||r==o)return n;let u=this.children[s],f=e.children[r];if(u!=f)return n+u.scanIdentical(f,t);n+=u.length+1}}static from(e,t=e.reduce((n,s)=>n+s.length+1,-1)){let n=0;for(let h of e)n+=h.lines;if(n<32){let h=[];for(let m of e)m.flatten(h);return new je(h,t)}let s=Math.max(32,n>>5),r=s<<1,a=s>>1,o=[],u=0,f=-1,l=[];function d(h){let m;if(h.lines>r&&h instanceof vt)for(let p of h.children)d(p);else h.lines>a&&(u>a||!u)?(c(),o.push(h)):h instanceof je&&u&&(m=l[l.length-1])instanceof je&&h.lines+m.lines<=32?(u+=h.lines,f+=h.length+1,l[l.length-1]=new je(m.text.concat(h.text),m.length+1+h.length)):(u+h.lines>s&&c(),u+=h.lines,f+=h.length+1,l.push(h))}function c(){u!=0&&(o.push(l.length==1?l[0]:vt.from(l,f)),f=-1,u=l.length=0)}for(let h of e)d(h);return c(),o.length==1?o[0]:new vt(o,t)}}ke.empty=new je([""],0);function qb(i){let e=-1;for(let t of i)e+=t.length+1;return e}function zo(i,e,t=0,n=1e9){for(let s=0,r=0,a=!0;r=t&&(u>n&&(o=o.slice(0,n-s)),s0?1:(e instanceof je?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,s=this.nodes[n],r=this.offsets[n],a=r>>1,o=s instanceof je?s.text.length:s.children.length;if(a==(t>0?o:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(s instanceof je){let u=s.text[a+(t<0?-1:0)];if(this.offsets[n]+=t,u.length>Math.max(0,e))return this.value=e==0?u:t>0?u.slice(e):u.slice(0,u.length-e),this;e-=u.length}else{let u=s.children[a+(t<0?-1:0)];e>u.length?(e-=u.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(u),this.offsets.push(t>0?1:(u instanceof je?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 sp{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new ta(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:s}=this.cursor.next(e);return this.pos+=(s.length+e)*t,this.value=s.length<=n?s:t<0?s.slice(s.length-n):s.slice(0,n),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 rp{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:s}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=s,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ke.prototype[Symbol.iterator]=function(){return this.iter()},ta.prototype[Symbol.iterator]=sp.prototype[Symbol.iterator]=rp.prototype[Symbol.iterator]=function(){return this});class Vb{constructor(e,t,n,s){this.from=e,this.to=t,this.number=n,this.text=s}get length(){return this.to-this.from}}let Ws="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(i=>i?parseInt(i,36):1);for(let i=1;ii)return Ws[e-1]<=i;return!1}function ap(i){return i>=127462&&i<=127487}const op=8205;function kn(i,e,t=!0,n=!0){return(t?up:Zb)(i,e,n)}function up(i,e,t){if(e==i.length)return e;e&&fp(i.charCodeAt(e))&&lp(i.charCodeAt(e-1))&&e--;let n=Hl(i,e);for(e+=dp(n);e=0&&ap(Hl(i,a));)r++,a-=2;if(r%2==0)break;e+=2}else break}return e}function Zb(i,e,t){for(;e>0;){let n=up(i,e-2,t);if(n=56320&&i<57344}function lp(i){return i>=55296&&i<56320}function Hl(i,e){let t=i.charCodeAt(e);if(!lp(t)||e+1==i.length)return t;let n=i.charCodeAt(e+1);return fp(n)?(t-55296<<10)+(n-56320)+65536:t}function dp(i){return i<65536?1:2}const Yl=/\r\n?|\n/;var Vi=function(i){return i[i.Simple=0]="Simple",i[i.TrackDel=1]="TrackDel",i[i.TrackBefore=2]="TrackBefore",i[i.TrackAfter=3]="TrackAfter",i}(Vi||(Vi={}));class Wt{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-s);r+=o}else{if(n!=Vi.Simple&&f>=e&&(n==Vi.TrackDel&&se||n==Vi.TrackBefore&&se))return null;if(f>e||f==e&&t<0&&!o)return e==s||t<0?r:r+u;r+=u}s=f}if(e>s)throw new RangeError(`Position ${e} is out of range for changeset of length ${s}`);return r}touchesRange(e,t=e){for(let n=0,s=0;n=0&&s<=t&&o>=e)return st?"cover":!0;s=o}return!1}toString(){let e="";for(let t=0;t=0?":"+s:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Wt(e)}static create(e){return new Wt(e)}}class Ue extends Wt{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Kl(this,(t,n,s,r,a)=>e=e.replace(s,s+(n-t),a),!1),e}mapDesc(e,t=!1){return Jl(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let s=0,r=0;s=0){t[s]=o,t[s+1]=a;let u=s>>1;for(;n.length0&&wn(n,t,r.text),r.forward(l),o+=l}let f=e[a++];for(;o>1].toJSON()))}return e}static of(e,t,n){let s=[],r=[],a=0,o=null;function u(l=!1){if(!l&&!s.length)return;ac||d<0||c>t)throw new RangeError(`Invalid change range ${d} to ${c} (in doc of length ${t})`);let m=h?typeof h=="string"?ke.of(h.split(n||Yl)):h:ke.empty,p=m.length;if(d==c&&p==0)return;da&&Fi(s,d-a,-1),Fi(s,c-d,p),wn(r,s,m),a=c}}return f(e),u(!o),o}static empty(e){return new Ue(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let s=0;so&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;n.length=0&&t<=0&&t==i[s+1]?i[s]+=e:e==0&&i[s]==0?i[s+1]+=t:n?(i[s]+=e,i[s+1]+=t):i.push(e,t)}function wn(i,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n>1])),!(t||a==i.sections.length||i.sections[a+1]<0);)o=i.sections[a++],u=i.sections[a++];e(s,f,r,l,d),s=f,r=l}}}function Jl(i,e,t,n=!1){let s=[],r=n?[]:null,a=new na(i),o=new na(e);for(let u=-1;;)if(a.ins==-1&&o.ins==-1){let f=Math.min(a.len,o.len);Fi(s,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||n.length>f),r.forward2(u),a.forward(u)}}}}class na{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?ke.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?ke.empty:t[n].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 us{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}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,t=-1){let n,s;return this.empty?n=s=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),s=e.mapPos(this.to,-1)),n==this.from&&s==this.to?this:new us(n,s,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return H.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return H.range(this.anchor,n)}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 H.range(e.anchor,e.head)}static create(e,t,n){return new us(e,t,n)}}class H{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:H.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.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 H(e.ranges.map(t=>us.fromJSON(t)),e.main)}static single(e,t=e){return new H([H.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,s=0;se?4:0))}static normalized(e,t=0){let n=e[t];e.sort((s,r)=>s.from-r.from),t=e.indexOf(n);for(let s=1;sr.head?H.range(u,o):H.range(o,u))}}return new H(e,t)}}function hp(i,e){for(let t of i.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let ed=0;class me{constructor(e,t,n,s,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=s,this.id=ed++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}static define(e={}){return new me(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:id),!!e.static,e.enables)}of(e){return new Wo([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Wo(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Wo(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function id(i,e){return i==e||i.length==e.length&&i.every((t,n)=>t===e[n])}class Wo{constructor(e,t,n,s){this.dependencies=e,this.facet=t,this.type=n,this.value=s,this.id=ed++}dynamicSlot(e){var t;let n=this.value,s=this.facet.compareInput,r=this.id,a=e[r]>>1,o=this.type==2,u=!1,f=!1,l=[];for(let d of this.dependencies)d=="doc"?u=!0:d=="selection"?f=!0:(((t=e[d.id])!==null&&t!==void 0?t:1)&1)==0&&l.push(e[d.id]);return{create(d){return d.values[a]=n(d),1},update(d,c){if(u&&c.docChanged||f&&(c.docChanged||c.selection)||td(d,l)){let h=n(d);if(o?!mp(h,d.values[a],s):!s(h,d.values[a]))return d.values[a]=h,1}return 0},reconfigure:(d,c)=>{let h,m=c.config.address[r];if(m!=null){let p=Xo(c,m);if(this.dependencies.every(g=>g instanceof me?c.facet(g)===d.facet(g):g instanceof fs?c.field(g,!1)==d.field(g,!1):!0)||(o?mp(h=n(d),p,s):s(h=n(d),p)))return d.values[a]=p,0}else h=n(d);return d.values[a]=h,1}}}}function mp(i,e,t){if(i.length!=e.length)return!1;for(let n=0;ni[u.id]),s=t.map(u=>u.type),r=n.filter(u=>!(u&1)),a=i[e.id]>>1;function o(u){let f=[];for(let l=0;ln===s),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(pp).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,s)=>{let r=n.values[t],a=this.updateF(r,s);return this.compareF(r,a)?0:(n.values[t]=a,1)},reconfigure:(n,s)=>s.config.address[this.id]!=null?(n.values[t]=s.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,pp.of({field:this,create:e})]}get extension(){return this}}const ls={lowest:4,low:3,default:2,high:1,highest:0};function sa(i){return e=>new Fp(e,i)}const Gb={highest:sa(ls.highest),high:sa(ls.high),default:sa(ls.default),low:sa(ls.low),lowest:sa(ls.lowest)};class Fp{constructor(e,t){this.inner=e,this.prec=t}}class qo{of(e){return new nd(this,e)}reconfigure(e){return qo.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class nd{constructor(e,t){this.compartment=e,this.inner=t}}class Vo{constructor(e,t,n,s,r,a){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=s,this.staticValues=r,this.facets=a,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let s=[],r=Object.create(null),a=new Map;for(let c of Hb(e,t,a))c instanceof fs?s.push(c):(r[c.facet.id]||(r[c.facet.id]=[])).push(c);let o=Object.create(null),u=[],f=[];for(let c of s)o[c.id]=f.length<<1,f.push(h=>c.slot(h));let l=n==null?void 0:n.config.facets;for(let c in r){let h=r[c],m=h[0].facet,p=l&&l[c]||[];if(h.every(g=>g.type==0))if(o[m.id]=u.length<<1|1,id(p,h))u.push(n.facet(m));else{let g=m.combine(h.map(F=>F.value));u.push(n&&m.compare(g,n.facet(m))?n.facet(m):g)}else{for(let g of h)g.type==0?(o[g.id]=u.length<<1|1,u.push(g.value)):(o[g.id]=f.length<<1,f.push(F=>g.dynamicSlot(F)));o[m.id]=f.length<<1,f.push(g=>Ub(g,m,h))}}let d=f.map(c=>c(o));return new Vo(e,a,d,o,u,r)}}function Hb(i,e,t){let n=[[],[],[],[],[]],s=new Map;function r(a,o){let u=s.get(a);if(u!=null){if(u<=o)return;let f=n[u].indexOf(a);f>-1&&n[u].splice(f,1),a instanceof nd&&t.delete(a.compartment)}if(s.set(a,o),Array.isArray(a))for(let f of a)r(f,o);else if(a instanceof nd){if(t.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let f=e.get(a.compartment)||a.inner;t.set(a.compartment,f),r(f,o)}else if(a instanceof Fp)r(a.inner,a.prec);else if(a instanceof fs)n[o].push(a),a.provides&&r(a.provides,o);else if(a instanceof Wo)n[o].push(a),a.facet.extensions&&r(a.facet.extensions,ls.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.`);r(f,o)}}return r(i,ls.default),n.reduce((a,o)=>a.concat(o))}function ra(i,e){if(e&1)return 2;let t=e>>1,n=i.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;i.status[t]=4;let s=i.computeSlot(i,i.config.dynamicSlots[t]);return i.status[t]=2|s}function Xo(i,e){return e&1?i.config.staticValues[e>>1]:i.values[e>>1]}const gp=me.define(),vp=me.define({combine:i=>i.some(e=>e),static:!0}),Op=me.define({combine:i=>i.length?i[0]:void 0,static:!0}),yp=me.define(),kp=me.define(),wp=me.define(),bp=me.define({combine:i=>i.length?i[0]:!1});class aa{constructor(e,t){this.type=e,this.value=t}static define(){return new Yb}}class Yb{of(e){return new aa(this,e)}}class Kb{constructor(e){this.map=e}of(e){return new Ge(this,e)}}class Ge{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new Ge(this.type,t)}is(e){return this.type==e}static define(e={}){return new Kb(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let s of e){let r=s.map(t);r&&n.push(r)}return n}}Ge.reconfigure=Ge.define(),Ge.appendConfig=Ge.define();class gi{constructor(e,t,n,s,r,a){this.startState=e,this.changes=t,this.selection=n,this.effects=s,this.annotations=r,this.scrollIntoView=a,this._doc=null,this._state=null,n&&hp(n,t.newLength),r.some(o=>o.type==gi.time)||(this.annotations=r.concat(gi.time.of(Date.now())))}static create(e,t,n,s,r,a){return new gi(e,t,n,s,r,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(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(gi.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}gi.time=aa.define(),gi.userEvent=aa.define(),gi.addToHistory=aa.define(),gi.remote=aa.define();function Jb(i,e){let t=[];for(let n=0,s=0;;){let r,a;if(n=i[n]))r=i[n++],a=i[n++];else if(s=0;s--){let r=n[s](i);r instanceof gi?i=r:Array.isArray(r)&&r.length==1&&r[0]instanceof gi?i=r[0]:i=Sp(e,qs(r),!1)}return i}function i_(i){let e=i.startState,t=e.facet(wp),n=i;for(let s=t.length-1;s>=0;s--){let r=t[s](i);r&&Object.keys(r).length&&(n=_p(n,sd(e,r,i.changes.newLength),!0))}return n==i?i:gi.create(e,i.changes,i.selection,n.effects,n.annotations,n.scrollIntoView)}const t_=[];function qs(i){return i==null?t_:Array.isArray(i)?i:[i]}var qt=function(i){return i[i.Word=0]="Word",i[i.Space=1]="Space",i[i.Other=2]="Other",i}(qt||(qt={}));const n_=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let rd;try{rd=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function s_(i){if(rd)return rd.test(i);for(let e=0;e"\x80"&&(t.toUpperCase()!=t.toLowerCase()||n_.test(t)))return!0}return!1}function r_(i){return e=>{if(!/\S/.test(e))return qt.Space;if(s_(e))return qt.Word;for(let t=0;t-1)return qt.Word;return qt.Other}}class be{constructor(e,t,n,s,r,a){this.config=e,this.doc=t,this.selection=n,this.values=s,this.status=e.statusTemplate.slice(),this.computeSlot=r,a&&(a._state=this);for(let o=0;os.set(u,o)),t=null),s.set(a.value.compartment,a.value.extension)):a.is(Ge.reconfigure)?(t=null,n=a.value):a.is(Ge.appendConfig)&&(t=null,n=qs(n).concat(a.value));let r;t?r=e.startState.values.slice():(t=Vo.resolve(n,s,this),r=new be(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(a,o)=>o.reconfigure(a,this),null).values),new be(t,e.newDoc,e.newSelection,r,(a,o)=>o.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:H.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),s=this.changes(n.changes),r=[n.range],a=qs(n.effects);for(let o=1;oa.spec.fromJSON(o,u)))}}return be.create({doc:e.doc,selection:H.fromJSON(e.selection),extensions:t.extensions?s.concat([t.extensions]):s})}static create(e={}){let t=Vo.resolve(e.extensions||[],new Map),n=e.doc instanceof ke?e.doc:ke.of((e.doc||"").split(t.staticFacet(be.lineSeparator)||Yl)),s=e.selection?e.selection instanceof H?e.selection:H.single(e.selection.anchor,e.selection.head):H.single(0);return hp(s,n.length),t.staticFacet(vp)||(s=s.asSingle()),new be(t,n,s,t.dynamicSlots.map(()=>null),(r,a)=>a.create(r),null)}get tabSize(){return this.facet(be.tabSize)}get lineBreak(){return this.facet(be.lineSeparator)||` -`}get readOnly(){return this.facet(bp)}phrase(e,...t){for(let n of this.facet(be.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,s)=>{if(s=="$")return"$";let r=+(s||1);return!r||r>t.length?n:t[r-1]})),e}languageDataAt(e,t,n=-1){let s=[];for(let r of this.facet(gp))for(let a of r(this,t,n))Object.prototype.hasOwnProperty.call(a,e)&&s.push(a[e]);return s}charCategorizer(e){return r_(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:s}=this.doc.lineAt(e),r=this.charCategorizer(e),a=e-n,o=e-n;for(;a>0;){let u=kn(t,a,!1);if(r(t.slice(u,a))!=qt.Word)break;a=u}for(;oi.length?i[0]:4}),be.lineSeparator=Op,be.readOnly=bp,be.phrases=me.define({compare(i,e){let t=Object.keys(i),n=Object.keys(e);return t.length==n.length&&t.every(s=>i[s]==e[s])}}),be.languageData=gp,be.changeFilter=yp,be.transactionFilter=kp,be.transactionExtender=wp,qo.reconfigure=Ge.define();class ds{eq(e){return this==e}range(e,t=e){return oa.create(e,t,this)}}ds.prototype.startSide=ds.prototype.endSide=0,ds.prototype.point=!1,ds.prototype.mapMode=Vi.TrackDel;class oa{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new oa(e,t,n)}}function ad(i,e){return i.from-e.from||i.value.startSide-e.value.startSide}class od{constructor(e,t,n,s){this.from=e,this.to=t,this.value=n,this.maxPoint=s}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,s=0){let r=n?this.to:this.from;for(let a=s,o=r.length;;){if(a==o)return a;let u=a+o>>1,f=r[u]-e||(n?this.value[u].endSide:this.value[u].startSide)-t;if(u==a)return f>=0?a:o;f>=0?o=u:a=u+1}}between(e,t,n,s){for(let r=this.findIndex(t,-1e9,!0),a=this.findIndex(n,1e9,!1,r);rh||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)),n.push(f),s.push(c-a),r.push(h-a))}return{mapped:n.length?new od(s,r,n,o):null,pos:a}}}class We{constructor(e,t,n,s){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=s}static create(e,t,n,s){return new We(e,t,n,s)}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 t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:s=0,filterTo:r=this.length}=e,a=e.filter;if(t.length==0&&!a)return this;if(n&&(t=t.slice().sort(ad)),this.isEmpty)return t.length?We.of(t):this;let o=new Ep(this,null,-1).goto(0),u=0,f=[],l=new Zo;for(;o.value||u=0){let d=t[u++];l.addInner(d.from,d.to,d.value)||f.push(d)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+a.length&&a.between(r,e-r,t-r,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return ua.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return ua.from(e).goto(t)}static compare(e,t,n,s,r=-1){let a=e.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=r),o=t.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=r),u=Dp(a,o,n),f=new fa(a,u,r),l=new fa(o,u,r);n.iterGaps((d,c,h)=>Cp(f,d,l,c,h,s)),n.empty&&n.length==0&&Cp(f,0,l,0,0,s)}static eq(e,t,n=0,s){s==null&&(s=999999999);let r=e.filter(l=>!l.isEmpty&&t.indexOf(l)<0),a=t.filter(l=>!l.isEmpty&&e.indexOf(l)<0);if(r.length!=a.length)return!1;if(!r.length)return!0;let o=Dp(r,a),u=new fa(r,o,0).goto(n),f=new fa(a,o,0).goto(n);for(;;){if(u.to!=f.to||!fd(u.active,f.active)||u.point&&(!f.point||!u.point.eq(f.point)))return!1;if(u.to>s)return!0;u.next(),f.next()}}static spans(e,t,n,s,r=-1){let a=new fa(e,null,r).goto(t),o=t,u=a.openStart;for(;;){let f=Math.min(a.to,n);if(a.point){let l=a.activeForPoint(a.to),d=a.pointFromo&&(s.span(o,f,a.active,u),u=a.openEnd(f));if(a.to>n)return u+(a.point&&a.to>n?1:0);o=a.to,a.next()}}static of(e,t=!1){let n=new Zo;for(let s of e instanceof oa?[e]:t?a_(e):e)n.add(s.from,s.to,s.value);return n.finish()}}We.empty=new We([],[],null,-1);function a_(i){if(i.length>1)for(let e=i[0],t=1;t0)return i.slice().sort(ad);e=n}return i}We.empty.nextLayer=We.empty;class Zo{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 od(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,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new Zo)).add(e,t,n)}addInner(e,t,n){let s=e-this.lastTo||n.startSide-this.last.endSide;if(s<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return s<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(We.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=We.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Dp(i,e,t){let n=new Map;for(let r of i)for(let a=0;a=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&s.push(new Ep(a,t,n,r));return s.length==1?s[0]:new ua(s)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)ud(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)ud(this.heap,n);(this.to-e||this.value.endSide-t)<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(),ud(this.heap,0)}}}function ud(i,e){for(let t=i[e];;){let n=(e<<1)+1;if(n>=i.length)break;let s=i[n];if(n+1=0&&(s=i[n+1],n++),t.compare(s)<0)break;i[n]=t,i[e]=s,e=n}}class fa{constructor(e,t,n){this.minPoint=n,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=ua.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Uo(this.active,e),Uo(this.activeTo,e),Uo(this.activeRank,e),this.minActive=xp(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:s,rank:r}=this.cursor;for(;t-1&&(this.activeTo[s]-this.cursor.from||this.active[s].endSide-this.cursor.startSide)<0){if(this.activeTo[s]>e){this.to=this.activeTo[s],this.endSide=this.active[s].endSide;break}this.removeActive(s),n&&Uo(n,s)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let r=this.cursor.value;if(!r.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[s]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function Cp(i,e,t,n,s,r){i.goto(e),t.goto(n);let a=n+s,o=n,u=n-e;for(;;){let f=i.to+u-t.to||i.endSide-t.endSide,l=f<0?i.to+u:t.to,d=Math.min(l,a);if(i.point||t.point?i.point&&t.point&&(i.point==t.point||i.point.eq(t.point))&&fd(i.activeForPoint(i.to+u),t.activeForPoint(t.to))||r.comparePoint(o,d,i.point,t.point):d>o&&!fd(i.active,t.active)&&r.compareRange(o,d,i.active,t.active),l>a)break;o=l,f<=0&&i.next(),f>=0&&t.next()}}function fd(i,e){if(i.length!=e.length)return!1;for(let t=0;t=e;n--)i[n+1]=i[n];i[e]=t}function xp(i,e){let t=-1,n=1e9;for(let s=0;s=e)return s;if(s==i.length)break;r+=i.charCodeAt(s)==9?t-r%t:1,s=kn(i,s)}return n===!0?-1:i.length}const ld="\u037C",Qp=typeof Symbol>"u"?"__"+ld:Symbol.for(ld),dd=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),$p=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Vs{constructor(e,t){this.rules=[];let{finish:n}=t||{};function s(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function r(a,o,u,f){let l=[],d=/^@(\w+)\b/.exec(a[0]),c=d&&d[1]=="keyframes";if(d&&o==null)return u.push(a[0]+";");for(let h in o){let m=o[h];if(/&/.test(h))r(h.split(/,\s*/).map(p=>a.map(g=>p.replace(/&/,g))).reduce((p,g)=>p.concat(g)),m,u);else if(m&&typeof m=="object"){if(!d)throw new RangeError("The value of a property ("+h+") should be a primitive value.");r(s(h),m,l,c)}else m!=null&&l.push(h.replace(/_.*/,"").replace(/[A-Z]/g,p=>"-"+p.toLowerCase())+": "+m+";")}(l.length||c)&&u.push((n&&!d&&!f?a.map(n):a).join(", ")+" {"+l.join(" ")+"}")}for(let a in e)r(s(a),e[a],this.rules)}getRules(){return this.rules.join(` + */var Am;(function(i){i.pop="pop",i.push="push"})(Am||(Am={}));var Mm;(function(i){i.back="back",i.forward="forward",i.unknown=""})(Mm||(Mm={}));var Bm;(function(i){i[i.aborted=4]="aborted",i[i.cancelled=8]="cancelled",i[i.duplicated=16]="duplicated"})(Bm||(Bm={}));const e4=Symbol("");function i4(){return zi(e4)}var Rm;const jo=typeof window!="undefined",t4=i=>typeof i=="string",jm=(i,e,t)=>Math.min(t,Math.max(e,i)),os=()=>{};jo&&((Rm=window==null?void 0:window.navigator)==null?void 0:Rm.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function n4(i,e){function t(...n){i(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})}return t}const Im=i=>i();function s4(i=Im){const e=fe(!0);function t(){e.value=!1}function n(){e.value=!0}return{isActive:e,pause:t,resume:n,eventFilter:(...r)=>{e.value&&i(...r)}}}function Io(i){return vc()?(Oc(i),!0):!1}function Nm(i,e,t={}){const{flush:n="sync",deep:s=!1,immediate:r=!0,direction:a="both"}=t;let o,u;return(a==="both"||a==="ltr")&&(o=ti(i,f=>e.value=f,{flush:n,deep:s,immediate:r})),(a==="both"||a==="rtl")&&(u=ti(e,f=>i.value=f,{flush:n,deep:s,immediate:r})),()=>{o==null||o(),u==null||u()}}function r4(i,e=1e3,t={}){const{immediate:n=!0,immediateCallback:s=!1}=t;let r=null;const a=fe(!1);function o(){r&&(clearInterval(r),r=null)}function u(){a.value=!1,o()}function f(){M(e)<=0||(a.value=!0,s&&i(),o(),r=setInterval(i,M(e)))}if(n&&jo&&f(),$e(e)){const l=ti(e,()=>{a.value&&jo&&f()});Io(l)}return Io(u),{isActive:a,pause:u,resume:f}}var Lm=Object.getOwnPropertySymbols,a4=Object.prototype.hasOwnProperty,o4=Object.prototype.propertyIsEnumerable,u4=(i,e)=>{var t={};for(var n in i)a4.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&Lm)for(var n of Lm(i))e.indexOf(n)<0&&o4.call(i,n)&&(t[n]=i[n]);return t};function f4(i,e,t={}){const n=t,{eventFilter:s=Im}=n,r=u4(n,["eventFilter"]);return ti(i,n4(s,e),r)}var l4=Object.defineProperty,d4=Object.defineProperties,c4=Object.getOwnPropertyDescriptors,No=Object.getOwnPropertySymbols,zm=Object.prototype.hasOwnProperty,Wm=Object.prototype.propertyIsEnumerable,qm=(i,e,t)=>e in i?l4(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,h4=(i,e)=>{for(var t in e||(e={}))zm.call(e,t)&&qm(i,t,e[t]);if(No)for(var t of No(e))Wm.call(e,t)&&qm(i,t,e[t]);return i},m4=(i,e)=>d4(i,c4(e)),p4=(i,e)=>{var t={};for(var n in i)zm.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&No)for(var n of No(i))e.indexOf(n)<0&&Wm.call(i,n)&&(t[n]=i[n]);return t};function F4(i,e,t={}){const n=t,{eventFilter:s}=n,r=p4(n,["eventFilter"]),{eventFilter:a,pause:o,resume:u,isActive:f}=s4(s);return{stop:f4(i,e,m4(h4({},r),{eventFilter:a})),pause:o,resume:u,isActive:f}}function g4(i){var e;const t=M(i);return(e=t==null?void 0:t.$el)!=null?e:t}const zs=jo?window:void 0;function ia(...i){let e,t,n,s;if(t4(i[0])?([t,n,s]=i,e=zs):[e,t,n,s]=i,!e)return os;let r=os;const a=ti(()=>g4(e),u=>{r(),u&&(u.addEventListener(t,n,s),r=()=>{u.removeEventListener(t,n,s),r=os})},{immediate:!0,flush:"post"}),o=()=>{a(),r()};return Io(o),o}function Vm(i,e,t){const n=fe(i);return Te({get(){return n.value=jm(n.value,M(e),M(t))},set(s){n.value=jm(s,M(e),M(t))}})}const Zl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ul="__vueuse_ssr_handlers__";Zl[Ul]=Zl[Ul]||{};const v4=Zl[Ul];function O4(i,e){return v4[i]||e}function y4(i){return i==null?"any":i instanceof Set?"set":i instanceof Map?"map":i instanceof Date?"date":typeof i=="boolean"?"boolean":typeof i=="string"?"string":typeof i=="object"||Array.isArray(i)?"object":Number.isNaN(i)?"any":"number"}const k4={boolean:{read:i=>i==="true",write:i=>String(i)},object:{read:i=>JSON.parse(i),write:i=>JSON.stringify(i)},number:{read:i=>Number.parseFloat(i),write:i=>String(i)},any:{read:i=>i,write:i=>String(i)},string:{read:i=>i,write:i=>String(i)},map:{read:i=>new Map(JSON.parse(i)),write:i=>JSON.stringify(Array.from(i.entries()))},set:{read:i=>new Set(JSON.parse(i)),write:i=>JSON.stringify(Array.from(i))},date:{read:i=>new Date(i),write:i=>i.toISOString()}};function w4(i,e,t,n={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:u=!0,shallow:f,window:l=zs,eventFilter:d,onError:c=D=>{console.error(D)}}=n,h=(f?Nc:fe)(e);if(!t)try{t=O4("getDefaultStorage",()=>{var D;return(D=zs)==null?void 0:D.localStorage})()}catch(D){c(D)}if(!t)return h;const m=M(e),F=y4(m),g=(s=n.serializer)!=null?s:k4[F],{pause:p,resume:v}=F4(h,()=>O(h.value),{flush:r,deep:a,eventFilter:d});return l&&o&&ia(l,"storage",E),E(),h;function O(D){try{D==null?t.removeItem(i):t.setItem(i,g.write(D))}catch(x){c(x)}}function w(D){if(!(D&&D.key!==i)){p();try{const x=D?D.newValue:t.getItem(i);return x==null?(u&&m!==null&&t.setItem(i,g.write(m)),m):typeof x!="string"?x:g.read(x)}catch(x){c(x)}finally{v()}}}function E(D){D&&D.key!==i||(h.value=w(D))}}function b4(i,e={}){const{immediate:t=!0,window:n=zs}=e,s=fe(!1);let r=null;function a(){!s.value||!n||(i(),r=n.requestAnimationFrame(a))}function o(){!s.value&&n&&(s.value=!0,a())}function u(){s.value=!1,r!=null&&n&&(n.cancelAnimationFrame(r),r=null)}return t&&o(),Io(u),{isActive:s,pause:u,resume:o}}function _4(i,e,t={}){const{window:n=zs}=t;return w4(i,e,n==null?void 0:n.localStorage,t)}const S4={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function D4(i={}){const{reactive:e=!1,target:t=zs,aliasMap:n=S4,passive:s=!0,onEventFired:r=os}=i,a=Bt(new Set),o={toJSON(){return{}},current:a},u=e?Bt(o):o,f=new Set,l=new Set;function d(F,g){F in u&&(e?u[F]=g:u[F].value=g)}function c(){for(const F of l)d(F,!1)}function h(F,g){var p,v;const O=(p=F.key)==null?void 0:p.toLowerCase(),w=(v=F.code)==null?void 0:v.toLowerCase(),E=[w,O].filter(Boolean);w&&(g?a.add(F.code):a.delete(F.code));for(const D of E)l.add(D),d(D,g);O==="meta"&&!g?(f.forEach(D=>{a.delete(D),d(D,!1)}),f.clear()):typeof F.getModifierState=="function"&&F.getModifierState("Meta")&&g&&[...a,...E].forEach(D=>f.add(D))}t&&(ia(t,"keydown",F=>(h(F,!0),r(F)),{passive:s}),ia(t,"keyup",F=>(h(F,!1),r(F)),{passive:s}),ia("blur",c,{passive:!0}),ia("focus",c,{passive:!0}));const m=new Proxy(u,{get(F,g,p){if(typeof g!="string")return Reflect.get(F,g,p);if(g=g.toLowerCase(),g in n&&(g=n[g]),!(g in u))if(/[+_-]/.test(g)){const O=g.split(/[+_-]/g).map(w=>w.trim());u[g]=Te(()=>O.every(w=>M(m[w])))}else u[g]=fe(!1);const v=Reflect.get(F,g,p);return e?M(v):v}});return m}var E4=Object.defineProperty,Xm=Object.getOwnPropertySymbols,C4=Object.prototype.hasOwnProperty,x4=Object.prototype.propertyIsEnumerable,Zm=(i,e,t)=>e in i?E4(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,Q4=(i,e)=>{for(var t in e||(e={}))C4.call(e,t)&&Zm(i,t,e[t]);if(Xm)for(var t of Xm(e))x4.call(e,t)&&Zm(i,t,e[t]);return i};function $4(i={}){const{controls:e=!1,interval:t="requestAnimationFrame"}=i,n=fe(new Date),s=()=>n.value=new Date,r=t==="requestAnimationFrame"?b4(s,{immediate:!0}):r4(s,t,{immediate:!0});return e?Q4({now:n},r):n}function T4(i){const{total:e=1/0,pageSize:t=10,page:n=1,onPageChange:s=os,onPageSizeChange:r=os,onPageCountChange:a=os}=i,o=Vm(t,1,1/0),u=Te(()=>Math.ceil(M(e)/M(o))),f=Vm(n,1,u),l=Te(()=>f.value===1),d=Te(()=>f.value===u.value);$e(n)&&Nm(n,f),$e(t)&&Nm(t,o);function c(){f.value--}function h(){f.value++}const m={currentPage:f,currentPageSize:o,pageCount:u,isFirstPage:l,isLastPage:d,prev:c,next:h};return ti(f,()=>{s(Bt(m))}),ti(o,()=>{r(Bt(m))}),ti(u,()=>{a(Bt(m))}),m}var Um;(function(i){i.UP="UP",i.RIGHT="RIGHT",i.DOWN="DOWN",i.LEFT="LEFT",i.NONE="NONE"})(Um||(Um={}));var P4=Object.defineProperty,Lo=Object.getOwnPropertySymbols,Gm=Object.prototype.hasOwnProperty,Hm=Object.prototype.propertyIsEnumerable,Ym=(i,e,t)=>e in i?P4(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,A4=(i,e)=>{for(var t in e||(e={}))Gm.call(e,t)&&Ym(i,t,e[t]);if(Lo)for(var t of Lo(e))Hm.call(e,t)&&Ym(i,t,e[t]);return i},M4=(i,e)=>{var t={};for(var n in i)Gm.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&Lo)for(var n of Lo(i))e.indexOf(n)<0&&Hm.call(i,n)&&(t[n]=i[n]);return t};const Km=[{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"}],B4={justNow:"just now",past:i=>i.match(/\d/)?`${i} ago`:i,future:i=>i.match(/\d/)?`in ${i}`:i,month:(i,e)=>i===1?e?"last month":"next month":`${i} month${i>1?"s":""}`,year:(i,e)=>i===1?e?"last year":"next year":`${i} year${i>1?"s":""}`,day:(i,e)=>i===1?e?"yesterday":"tomorrow":`${i} day${i>1?"s":""}`,week:(i,e)=>i===1?e?"last week":"next week":`${i} week${i>1?"s":""}`,hour:i=>`${i} hour${i>1?"s":""}`,minute:i=>`${i} minute${i>1?"s":""}`,second:i=>`${i} second${i>1?"s":""}`},R4=i=>i.toISOString().slice(0,10);function Jm(i,e={}){const{controls:t=!1,max:n,updateInterval:s=3e4,messages:r=B4,fullDateFormatter:a=R4}=e,{abs:o,round:u}=Math,f=$4({interval:s,controls:!0}),{now:l}=f,d=M4(f,["now"]);function c(g,p){var v;const O=+p-+g,w=o(O);if(w<6e4)return r.justNow;if(typeof n=="number"&&w>n)return a(new Date(g));if(typeof n=="string"){const E=(v=Km.find(D=>D.name===n))==null?void 0:v.max;if(E&&w>E)return a(new Date(g))}for(const E of Km)if(w0,w=h(p.name,v,O);return h(O?"past":"future",w,O)}const F=Te(()=>c(new Date(M(i)),M(l.value)));return t?A4({timeAgo:F},d):F}const j4={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},I4=j("path",{fill:"currentColor",d:"m10.828 12l4.95 4.95l-1.414 1.414L8 12l6.364-6.364l1.414 1.414z"},null,-1),N4=[I4];function L4(i,e){return Z(),ne("svg",j4,N4)}var ep={name:"ri-arrow-left-s-line",render:L4};const z4={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},W4=j("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),q4=[W4];function V4(i,e){return Z(),ne("svg",z4,q4)}var ip={name:"ri-arrow-right-s-line",render:V4};const X4={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Z4=j("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),U4=[Z4];function G4(i,e){return Z(),ne("svg",X4,U4)}var H4={name:"ri-close-line",render:G4};const Y4={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},K4=j("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"},null,-1),J4=[K4];function eb(i,e){return Z(),ne("svg",Y4,J4)}var ib={name:"ri-error-warning-line",render:eb};const tb={key:0,class:"avatar-fallback"},nb={key:0,class:"avatar-loading",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},sb=j("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),rb=j("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),ab=[sb,rb],ob={key:1,class:"avatar-placeholder"},ub=["src","alt"];var Gl=wi({__name:"Avatar",props:{src:{default:void 0},alt:{default:void 0},size:{default:"md"},width:{default:void 0},height:{default:void 0},circle:{type:Boolean,default:!1}},setup(i){const e=i,t=fe(!1),n=fe(!1),s=async()=>{if(!e.src)return Promise.reject();const u=new Image;return u.src=e.src,new Promise((f,l)=>{u.onload=()=>f(u),u.onerror=d=>l(d)})};dn(async()=>{if(!e.src){n.value=!0;return}t.value=!0;try{await s()}catch{n.value=!0}finally{t.value=!1}});const r=Te(()=>{const u=[`avatar-${e.circle?"circle":"square"}`];return e.size&&u.push(`avatar-${e.size}`),u}),a=Te(()=>{const u={};return e.width&&(u.width=e.width),e.height&&(u.height=e.height),u}),o=Te(()=>{if(!e.alt)return;const u=e.alt.split(" ");if(u.length===1)return u[0].charAt(0).toUpperCase();if(u.length>1)return u[0].charAt(0).toUpperCase()+u[1].charAt(0).toUpperCase()});return(u,f)=>(Z(),ne("div",{class:$i(["avatar-wrapper",M(r)]),style:Pt(M(a))},[t.value||n.value?(Z(),ne("div",tb,[t.value?(Z(),ne("svg",nb,ab)):M(o)?(Z(),ne("span",ob,Be(M(o)),1)):(Z(),Ue(M(ib),{key:2,class:"avatar-error"}))])):(Z(),ne("img",{key:1,src:i.src,alt:i.alt},null,8,ub))],6))}}),fb=(i,e)=>{const t=i.__vccOpts||i;for(const[n,s]of e)t[n]=s;return t};const lb=["disabled"],db={key:0,class:"btn-icon"},cb={key:0,class:"animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},hb=j("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),mb=j("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),pb=[hb,mb],Fb={class:"btn-content"};var us=wi({__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(i,{emit:e}){const t=i,n=i4(),s=Te(()=>[`btn-${t.size}`,`btn-${t.type}`,{"btn-circle":t.circle},{"btn-block":t.block},{"btn-loading":t.loading}]);function r(){t.disabled||t.loading||(t.route&&n.push(t.route),e("click"))}return(a,o)=>(Z(),ne("button",{class:$i([M(s),"btn"]),disabled:i.disabled,type:"button",onClick:r},[a.$slots.icon||i.loading?(Z(),ne("span",db,[i.loading?(Z(),ne("svg",cb,pb)):bi(a.$slots,"icon",{key:1})])):Ie("",!0),j("span",Fb,[bi(a.$slots,"default")])],10,lb))}});const gb={key:0,class:"modal-header group"},vb={class:"modal-header-title"},Ob={key:0,class:"modal-header-center"},yb={class:"modal-header-actions"},kb={key:1,class:"modal-footer"};var wb=wi({__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},centered:{type:Boolean,default:!0}},emits:["update:visible","close"],setup(i,{emit:e}){const t=i,n=fe(!1),s=fe(),r=Te(()=>({"modal-wrapper-fullscreen":t.fullscreen,"modal-wrapper-centered":t.centered})),a=Te(()=>({maxWidth:t.width+"px",height:t.height}));function o(){e("update:visible",!1),e("close")}return ti(()=>t.visible,()=>{t.visible&&Xa(()=>{var u;(u=s.value)==null||u.focus()})}),(u,f)=>(Z(),Ue(Ph,{disabled:!i.mountToBody,to:"body"},[Wi(j("div",{ref_key:"modelWrapper",ref:s,class:$i([M(r),"modal-wrapper"]),"aria-modal":"true",role:"dialog",tabindex:"0",onKeyup:f[4]||(f[4]=w0(Fl(l=>o(),["stop"]),["esc"]))},[J(On,{"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=>n.value=!0),onAfterLeave:f[2]||(f[2]=l=>n.value=!1)},{default:Ee(()=>[Wi(j("div",{class:"modal-layer",onClick:f[0]||(f[0]=Fl(l=>o(),["stop"]))},null,512),[[Ms,i.visible]])]),_:1}),J(On,{"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:Ee(()=>[Wi(j("div",{style:Pt(M(a)),class:"modal-content transform transition-all"},[u.$slots.header||i.title?(Z(),ne("div",gb,[bi(u.$slots,"header",{},()=>[j("div",vb,Be(i.title),1),u.$slots.center?(Z(),ne("div",Ob,[bi(u.$slots,"center")])):Ie("",!0),j("div",yb,[bi(u.$slots,"actions"),j("span",{class:"bg-gray-50",onClick:f[3]||(f[3]=l=>o())},[J(M(H4))])])])])):Ie("",!0),j("div",{class:$i([i.bodyClass,"modal-body"])},[bi(u.$slots,"default")],2),u.$slots.footer?(Z(),ne("div",kb,[bi(u.$slots,"footer")])):Ie("",!0)],4),[[Ms,i.visible]])]),_:3})],34),[[Ms,n.value]])],8,["disabled"]))}});const bb={xs:10,sm:12,md:16,lg:20};var tp=wi({__name:"Space",props:{spacing:{default:"xs"},direction:{default:"row"},align:{default:"center"}},setup(i){const e=i,t=Te(()=>{const{direction:n,align:s}=e;return[`space-direction-${n}`,`space-align-${s}`]});return(n,s)=>(Z(),ne("div",{class:$i([M(t),"space-wrapper"]),style:Pt(`gap: ${M(bb)[i.spacing]}px`)},[bi(n.$slots,"default")],6))}});const _b={key:0,class:"tag-left-icon"},Sb={class:"tag-content"},Db={key:1,class:"tag-right-icon"};var Eb=wi({__name:"Tag",props:{theme:{default:"default"},rounded:{type:Boolean,default:!1},styles:{default:()=>({})}},setup(i){const e=i,t=Te(()=>[`tag-${e.theme}`,{"tag-rounded":e.rounded}]);return(n,s)=>(Z(),ne("div",{class:$i([M(t),"tag-wrapper"]),style:Pt(i.styles)},[n.$slots.leftIcon?(Z(),ne("div",_b,[bi(n.$slots,"leftIcon")])):Ie("",!0),j("span",Sb,[bi(n.$slots,"default")]),n.$slots.rightIcon?(Z(),ne("div",Db,[bi(n.$slots,"rightIcon")])):Ie("",!0)],6))}});const Cb={class:"bg-white flex items-center justify-between"},xb={class:"flex-1 flex justify-between sm:!hidden items-center"},Qb={class:"text-sm text-gray-500"},$b={class:"hidden sm:flex-1 sm:flex sm:items-center items-center gap-2"},Tb={"aria-label":"Pagination",class:"relative z-0 inline-flex rounded-base shadow-sm -space-x-px"},Pb=["disabled"],Ab=["disabled"],Mb={class:"inline-flex items-center gap-2"},Bb=["disabled"],Rb={key:0,value:0},jb=["value"],Ib=j("span",{class:"text-sm text-gray-500"},"\u9875",-1),Nb={class:"inline-flex items-center gap-2"},Lb=["value"],zb=j("span",{class:"text-sm text-gray-500"},"\u6761 / \u9875",-1);var Wb=wi({__name:"Pagination",props:{page:{default:1},size:{default:10},total:{default:0},sizeOptions:{default:()=>[10]}},emits:["update:page","update:size","change"],setup(i,{emit:e}){const t=i,n=fe(t.page),s=fe(t.size),r=fe(t.total);ti([()=>t.page,()=>t.size,()=>t.total],()=>{n.value=t.page,s.value=t.size,r.value=t.total});const a=({currentPage:m,currentPageSize:F})=>{e("update:page",m),e("update:size",F),e("change",{page:m,size:F})},{currentPage:o,currentPageSize:u,pageCount:f,isFirstPage:l,isLastPage:d,prev:c,next:h}=T4({total:r,page:n,pageSize:s,onPageChange:a,onPageSizeChange:a});return(m,F)=>(Z(),ne("div",Cb,[j("div",xb,[j("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:F[0]||(F[0]=(...g)=>M(c)&&M(c)(...g))},[J(M(ep))]),j("span",Qb,Be(M(o))+" / "+Be(M(f)),1),j("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:F[1]||(F[1]=(...g)=>M(h)&&M(h)(...g))},[J(M(ip))])]),j("div",$b,[j("nav",Tb,[j("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-l-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:M(l),onClick:F[2]||(F[2]=(...g)=>M(c)&&M(c)(...g))},[J(M(ep))],8,Pb),j("button",{class:"relative h-8 outline-none inline-flex items-center px-2 py-1.5 rounded-r-base border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 cursor-pointer disabled:cursor-not-allowed",disabled:M(d),onClick:F[3]||(F[3]=(...g)=>M(h)&&M(h)(...g))},[J(M(ip))],8,Ab)]),j("div",Mb,[Wi(j("select",{"onUpdate:modelValue":F[4]||(F[4]=g=>$e(o)?o.value=g:null),disabled:M(f)===0,class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[M(f)===0?(Z(),ne("option",Rb,"0 / 0")):Ie("",!0),(Z(!0),ne(Re,null,Mr(M(f),g=>(Z(),ne("option",{key:g,value:g},Be(g)+" / "+Be(M(f)),9,jb))),128))],8,Bb),[[Fo,M(o)]]),Ib]),j("div",Nb,[Wi(j("select",{"onUpdate:modelValue":F[5]||(F[5]=g=>$e(u)?u.value=g:null),class:"h-8 border outline-none rounded-base px-2 text-gray-800 text-sm border-gray-300"},[(Z(!0),ne(Re,null,Mr(i.sizeOptions,(g,p)=>(Z(),ne("option",{key:p,value:g},Be(g),9,Lb))),128))],512),[[Fo,M(u)]]),zb])])]))}});class ke{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,t,n){let s=[];return this.decompose(0,e,s,2),n.length&&n.decompose(0,n.length,s,3),this.decompose(t,this.length,s,1),vt.from(s,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),vt.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),s=new ta(this),r=new ta(e);for(let a=t,o=t;;){if(s.next(a),r.next(a),a=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(o+=s.value.length,s.done||o>=n)return!0}}iter(e=1){return new ta(this,e)}iterRange(e,t=this.length){return new sp(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;n=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new rp(n)}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]?ke.empty:e.length<=32?new Ne(e):vt.from(Ne.split(e,[]))}}class Ne extends ke{constructor(e,t=qb(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,s){for(let r=0;;r++){let a=this.text[r],o=s+a.length;if((t?n:o)>=e)return new Vb(s,o,n,a);s=o+1,n++}}decompose(e,t,n,s){let r=e<=0&&t>=this.length?this:new Ne(np(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let a=n.pop(),o=zo(r.text,a.text.slice(),0,r.length);if(o.length<=32)n.push(new Ne(o,a.length+r.length));else{let u=o.length>>1;n.push(new Ne(o.slice(0,u)),new Ne(o.slice(u)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof Ne))return super.replace(e,t,n);let s=zo(this.text,zo(n.text,np(this.text,0,e)),t),r=this.length+n.length-(t-e);return s.length<=32?new Ne(s,r):vt.from(Ne.split(s,[]),r)}sliceString(e,t=this.length,n=` +`){let s="";for(let r=0,a=0;r<=t&&ae&&a&&(s+=n),er&&(s+=o.slice(Math.max(0,e-r),t-r)),r=u+1}return s}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],s=-1;for(let r of e)n.push(r),s+=r.length+1,n.length==32&&(t.push(new Ne(n,s)),n=[],s=-1);return s>-1&&t.push(new Ne(n,s)),t}}class vt extends ke{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,s){for(let r=0;;r++){let a=this.children[r],o=s+a.length,u=n+a.lines-1;if((t?u:o)>=e)return a.lineInner(e,t,n,s);s=o+1,n=u+1}}decompose(e,t,n,s){for(let r=0,a=0;a<=t&&r=a){let f=s&((a<=e?1:0)|(u>=t?2:0));a>=e&&u<=t&&!f?n.push(o):o.decompose(e-a,t-a,n,f)}a=u+1}}replace(e,t,n){if(n.lines=r&&t<=o){let u=a.replace(e-r,t-r,n),f=this.lines-a.lines+u.lines;if(u.lines>4&&u.lines>f>>6){let l=this.children.slice();return l[s]=u,new vt(l,this.length-(t-e)+n.length)}return super.replace(r,o,u)}r=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=` +`){let s="";for(let r=0,a=0;re&&r&&(s+=n),ea&&(s+=o.sliceString(e-a,t-a,n)),a=u+1}return s}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof vt))return 0;let n=0,[s,r,a,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;s+=t,r+=t){if(s==a||r==o)return n;let u=this.children[s],f=e.children[r];if(u!=f)return n+u.scanIdentical(f,t);n+=u.length+1}}static from(e,t=e.reduce((n,s)=>n+s.length+1,-1)){let n=0;for(let h of e)n+=h.lines;if(n<32){let h=[];for(let m of e)m.flatten(h);return new Ne(h,t)}let s=Math.max(32,n>>5),r=s<<1,a=s>>1,o=[],u=0,f=-1,l=[];function d(h){let m;if(h.lines>r&&h instanceof vt)for(let F of h.children)d(F);else h.lines>a&&(u>a||!u)?(c(),o.push(h)):h instanceof Ne&&u&&(m=l[l.length-1])instanceof Ne&&h.lines+m.lines<=32?(u+=h.lines,f+=h.length+1,l[l.length-1]=new Ne(m.text.concat(h.text),m.length+1+h.length)):(u+h.lines>s&&c(),u+=h.lines,f+=h.length+1,l.push(h))}function c(){u!=0&&(o.push(l.length==1?l[0]:vt.from(l,f)),f=-1,u=l.length=0)}for(let h of e)d(h);return c(),o.length==1?o[0]:new vt(o,t)}}ke.empty=new Ne([""],0);function qb(i){let e=-1;for(let t of i)e+=t.length+1;return e}function zo(i,e,t=0,n=1e9){for(let s=0,r=0,a=!0;r=t&&(u>n&&(o=o.slice(0,n-s)),s0?1:(e instanceof Ne?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,s=this.nodes[n],r=this.offsets[n],a=r>>1,o=s instanceof Ne?s.text.length:s.children.length;if(a==(t>0?o:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(s instanceof Ne){let u=s.text[a+(t<0?-1:0)];if(this.offsets[n]+=t,u.length>Math.max(0,e))return this.value=e==0?u:t>0?u.slice(e):u.slice(0,u.length-e),this;e-=u.length}else{let u=s.children[a+(t<0?-1:0)];e>u.length?(e-=u.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(u),this.offsets.push(t>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 sp{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new ta(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:s}=this.cursor.next(e);return this.pos+=(s.length+e)*t,this.value=s.length<=n?s:t<0?s.slice(s.length-n):s.slice(0,n),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 rp{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:s}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=s,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ke.prototype[Symbol.iterator]=function(){return this.iter()},ta.prototype[Symbol.iterator]=sp.prototype[Symbol.iterator]=rp.prototype[Symbol.iterator]=function(){return this});class Vb{constructor(e,t,n,s){this.from=e,this.to=t,this.number=n,this.text=s}get length(){return this.to-this.from}}let Ws="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(i=>i?parseInt(i,36):1);for(let i=1;ii)return Ws[e-1]<=i;return!1}function ap(i){return i>=127462&&i<=127487}const op=8205;function wn(i,e,t=!0,n=!0){return(t?up:Zb)(i,e,n)}function up(i,e,t){if(e==i.length)return e;e&&fp(i.charCodeAt(e))&&lp(i.charCodeAt(e-1))&&e--;let n=Hl(i,e);for(e+=dp(n);e=0&&ap(Hl(i,a));)r++,a-=2;if(r%2==0)break;e+=2}else break}return e}function Zb(i,e,t){for(;e>0;){let n=up(i,e-2,t);if(n=56320&&i<57344}function lp(i){return i>=55296&&i<56320}function Hl(i,e){let t=i.charCodeAt(e);if(!lp(t)||e+1==i.length)return t;let n=i.charCodeAt(e+1);return fp(n)?(t-55296<<10)+(n-56320)+65536:t}function dp(i){return i<65536?1:2}const Yl=/\r\n?|\n/;var Ui=function(i){return i[i.Simple=0]="Simple",i[i.TrackDel=1]="TrackDel",i[i.TrackBefore=2]="TrackBefore",i[i.TrackAfter=3]="TrackAfter",i}(Ui||(Ui={}));class qt{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-s);r+=o}else{if(n!=Ui.Simple&&f>=e&&(n==Ui.TrackDel&&se||n==Ui.TrackBefore&&se))return null;if(f>e||f==e&&t<0&&!o)return e==s||t<0?r:r+u;r+=u}s=f}if(e>s)throw new RangeError(`Position ${e} is out of range for changeset of length ${s}`);return r}touchesRange(e,t=e){for(let n=0,s=0;n=0&&s<=t&&o>=e)return st?"cover":!0;s=o}return!1}toString(){let e="";for(let t=0;t=0?":"+s:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new qt(e)}static create(e){return new qt(e)}}class Ge extends qt{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Kl(this,(t,n,s,r,a)=>e=e.replace(s,s+(n-t),a),!1),e}mapDesc(e,t=!1){return Jl(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let s=0,r=0;s=0){t[s]=o,t[s+1]=a;let u=s>>1;for(;n.length0&&bn(n,t,r.text),r.forward(l),o+=l}let f=e[a++];for(;o>1].toJSON()))}return e}static of(e,t,n){let s=[],r=[],a=0,o=null;function u(l=!1){if(!l&&!s.length)return;ac||d<0||c>t)throw new RangeError(`Invalid change range ${d} to ${c} (in doc of length ${t})`);let m=h?typeof h=="string"?ke.of(h.split(n||Yl)):h:ke.empty,F=m.length;if(d==c&&F==0)return;da&&Fi(s,d-a,-1),Fi(s,c-d,F),bn(r,s,m),a=c}}return f(e),u(!o),o}static empty(e){return new Ge(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let s=0;so&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;n.length=0&&t<=0&&t==i[s+1]?i[s]+=e:e==0&&i[s]==0?i[s+1]+=t:n?(i[s]+=e,i[s+1]+=t):i.push(e,t)}function bn(i,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n>1])),!(t||a==i.sections.length||i.sections[a+1]<0);)o=i.sections[a++],u=i.sections[a++];e(s,f,r,l,d),s=f,r=l}}}function Jl(i,e,t,n=!1){let s=[],r=n?[]:null,a=new na(i),o=new na(e);for(let u=-1;;)if(a.ins==-1&&o.ins==-1){let f=Math.min(a.len,o.len);Fi(s,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||n.length>f),r.forward2(u),a.forward(u)}}}}class na{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?ke.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?ke.empty:t[n].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 fs{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}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,t=-1){let n,s;return this.empty?n=s=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),s=e.mapPos(this.to,-1)),n==this.from&&s==this.to?this:new fs(n,s,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return H.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return H.range(this.anchor,n)}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 H.range(e.anchor,e.head)}static create(e,t,n){return new fs(e,t,n)}}class H{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:H.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.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 H(e.ranges.map(t=>fs.fromJSON(t)),e.main)}static single(e,t=e){return new H([H.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,s=0;se?4:0))}static normalized(e,t=0){let n=e[t];e.sort((s,r)=>s.from-r.from),t=e.indexOf(n);for(let s=1;sr.head?H.range(u,o):H.range(o,u))}}return new H(e,t)}}function hp(i,e){for(let t of i.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let ed=0;class me{constructor(e,t,n,s,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=s,this.id=ed++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}static define(e={}){return new me(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:id),!!e.static,e.enables)}of(e){return new Wo([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Wo(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Wo(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function id(i,e){return i==e||i.length==e.length&&i.every((t,n)=>t===e[n])}class Wo{constructor(e,t,n,s){this.dependencies=e,this.facet=t,this.type=n,this.value=s,this.id=ed++}dynamicSlot(e){var t;let n=this.value,s=this.facet.compareInput,r=this.id,a=e[r]>>1,o=this.type==2,u=!1,f=!1,l=[];for(let d of this.dependencies)d=="doc"?u=!0:d=="selection"?f=!0:(((t=e[d.id])!==null&&t!==void 0?t:1)&1)==0&&l.push(e[d.id]);return{create(d){return d.values[a]=n(d),1},update(d,c){if(u&&c.docChanged||f&&(c.docChanged||c.selection)||td(d,l)){let h=n(d);if(o?!mp(h,d.values[a],s):!s(h,d.values[a]))return d.values[a]=h,1}return 0},reconfigure:(d,c)=>{let h,m=c.config.address[r];if(m!=null){let F=Xo(c,m);if(this.dependencies.every(g=>g instanceof me?c.facet(g)===d.facet(g):g instanceof ls?c.field(g,!1)==d.field(g,!1):!0)||(o?mp(h=n(d),F,s):s(h=n(d),F)))return d.values[a]=F,0}else h=n(d);return d.values[a]=h,1}}}}function mp(i,e,t){if(i.length!=e.length)return!1;for(let n=0;ni[u.id]),s=t.map(u=>u.type),r=n.filter(u=>!(u&1)),a=i[e.id]>>1;function o(u){let f=[];for(let l=0;ln===s),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(pp).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,s)=>{let r=n.values[t],a=this.updateF(r,s);return this.compareF(r,a)?0:(n.values[t]=a,1)},reconfigure:(n,s)=>s.config.address[this.id]!=null?(n.values[t]=s.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,pp.of({field:this,create:e})]}get extension(){return this}}const ds={lowest:4,low:3,default:2,high:1,highest:0};function sa(i){return e=>new Fp(e,i)}const Gb={highest:sa(ds.highest),high:sa(ds.high),default:sa(ds.default),low:sa(ds.low),lowest:sa(ds.lowest)};class Fp{constructor(e,t){this.inner=e,this.prec=t}}class qo{of(e){return new nd(this,e)}reconfigure(e){return qo.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class nd{constructor(e,t){this.compartment=e,this.inner=t}}class Vo{constructor(e,t,n,s,r,a){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=s,this.staticValues=r,this.facets=a,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let s=[],r=Object.create(null),a=new Map;for(let c of Hb(e,t,a))c instanceof ls?s.push(c):(r[c.facet.id]||(r[c.facet.id]=[])).push(c);let o=Object.create(null),u=[],f=[];for(let c of s)o[c.id]=f.length<<1,f.push(h=>c.slot(h));let l=n==null?void 0:n.config.facets;for(let c in r){let h=r[c],m=h[0].facet,F=l&&l[c]||[];if(h.every(g=>g.type==0))if(o[m.id]=u.length<<1|1,id(F,h))u.push(n.facet(m));else{let g=m.combine(h.map(p=>p.value));u.push(n&&m.compare(g,n.facet(m))?n.facet(m):g)}else{for(let g of h)g.type==0?(o[g.id]=u.length<<1|1,u.push(g.value)):(o[g.id]=f.length<<1,f.push(p=>g.dynamicSlot(p)));o[m.id]=f.length<<1,f.push(g=>Ub(g,m,h))}}let d=f.map(c=>c(o));return new Vo(e,a,d,o,u,r)}}function Hb(i,e,t){let n=[[],[],[],[],[]],s=new Map;function r(a,o){let u=s.get(a);if(u!=null){if(u<=o)return;let f=n[u].indexOf(a);f>-1&&n[u].splice(f,1),a instanceof nd&&t.delete(a.compartment)}if(s.set(a,o),Array.isArray(a))for(let f of a)r(f,o);else if(a instanceof nd){if(t.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let f=e.get(a.compartment)||a.inner;t.set(a.compartment,f),r(f,o)}else if(a instanceof Fp)r(a.inner,a.prec);else if(a instanceof ls)n[o].push(a),a.provides&&r(a.provides,o);else if(a instanceof Wo)n[o].push(a),a.facet.extensions&&r(a.facet.extensions,ds.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.`);r(f,o)}}return r(i,ds.default),n.reduce((a,o)=>a.concat(o))}function ra(i,e){if(e&1)return 2;let t=e>>1,n=i.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;i.status[t]=4;let s=i.computeSlot(i,i.config.dynamicSlots[t]);return i.status[t]=2|s}function Xo(i,e){return e&1?i.config.staticValues[e>>1]:i.values[e>>1]}const gp=me.define(),vp=me.define({combine:i=>i.some(e=>e),static:!0}),Op=me.define({combine:i=>i.length?i[0]:void 0,static:!0}),yp=me.define(),kp=me.define(),wp=me.define(),bp=me.define({combine:i=>i.length?i[0]:!1});class aa{constructor(e,t){this.type=e,this.value=t}static define(){return new Yb}}class Yb{of(e){return new aa(this,e)}}class Kb{constructor(e){this.map=e}of(e){return new He(this,e)}}class He{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new He(this.type,t)}is(e){return this.type==e}static define(e={}){return new Kb(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let s of e){let r=s.map(t);r&&n.push(r)}return n}}He.reconfigure=He.define(),He.appendConfig=He.define();class gi{constructor(e,t,n,s,r,a){this.startState=e,this.changes=t,this.selection=n,this.effects=s,this.annotations=r,this.scrollIntoView=a,this._doc=null,this._state=null,n&&hp(n,t.newLength),r.some(o=>o.type==gi.time)||(this.annotations=r.concat(gi.time.of(Date.now())))}static create(e,t,n,s,r,a){return new gi(e,t,n,s,r,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(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(gi.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}gi.time=aa.define(),gi.userEvent=aa.define(),gi.addToHistory=aa.define(),gi.remote=aa.define();function Jb(i,e){let t=[];for(let n=0,s=0;;){let r,a;if(n=i[n]))r=i[n++],a=i[n++];else if(s=0;s--){let r=n[s](i);r instanceof gi?i=r:Array.isArray(r)&&r.length==1&&r[0]instanceof gi?i=r[0]:i=Sp(e,qs(r),!1)}return i}function i_(i){let e=i.startState,t=e.facet(wp),n=i;for(let s=t.length-1;s>=0;s--){let r=t[s](i);r&&Object.keys(r).length&&(n=_p(n,sd(e,r,i.changes.newLength),!0))}return n==i?i:gi.create(e,i.changes,i.selection,n.effects,n.annotations,n.scrollIntoView)}const t_=[];function qs(i){return i==null?t_:Array.isArray(i)?i:[i]}var Vt=function(i){return i[i.Word=0]="Word",i[i.Space=1]="Space",i[i.Other=2]="Other",i}(Vt||(Vt={}));const n_=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let rd;try{rd=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function s_(i){if(rd)return rd.test(i);for(let e=0;e"\x80"&&(t.toUpperCase()!=t.toLowerCase()||n_.test(t)))return!0}return!1}function r_(i){return e=>{if(!/\S/.test(e))return Vt.Space;if(s_(e))return Vt.Word;for(let t=0;t-1)return Vt.Word;return Vt.Other}}class be{constructor(e,t,n,s,r,a){this.config=e,this.doc=t,this.selection=n,this.values=s,this.status=e.statusTemplate.slice(),this.computeSlot=r,a&&(a._state=this);for(let o=0;os.set(u,o)),t=null),s.set(a.value.compartment,a.value.extension)):a.is(He.reconfigure)?(t=null,n=a.value):a.is(He.appendConfig)&&(t=null,n=qs(n).concat(a.value));let r;t?r=e.startState.values.slice():(t=Vo.resolve(n,s,this),r=new be(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(a,o)=>o.reconfigure(a,this),null).values),new be(t,e.newDoc,e.newSelection,r,(a,o)=>o.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:H.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),s=this.changes(n.changes),r=[n.range],a=qs(n.effects);for(let o=1;oa.spec.fromJSON(o,u)))}}return be.create({doc:e.doc,selection:H.fromJSON(e.selection),extensions:t.extensions?s.concat([t.extensions]):s})}static create(e={}){let t=Vo.resolve(e.extensions||[],new Map),n=e.doc instanceof ke?e.doc:ke.of((e.doc||"").split(t.staticFacet(be.lineSeparator)||Yl)),s=e.selection?e.selection instanceof H?e.selection:H.single(e.selection.anchor,e.selection.head):H.single(0);return hp(s,n.length),t.staticFacet(vp)||(s=s.asSingle()),new be(t,n,s,t.dynamicSlots.map(()=>null),(r,a)=>a.create(r),null)}get tabSize(){return this.facet(be.tabSize)}get lineBreak(){return this.facet(be.lineSeparator)||` +`}get readOnly(){return this.facet(bp)}phrase(e,...t){for(let n of this.facet(be.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,s)=>{if(s=="$")return"$";let r=+(s||1);return!r||r>t.length?n:t[r-1]})),e}languageDataAt(e,t,n=-1){let s=[];for(let r of this.facet(gp))for(let a of r(this,t,n))Object.prototype.hasOwnProperty.call(a,e)&&s.push(a[e]);return s}charCategorizer(e){return r_(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:s}=this.doc.lineAt(e),r=this.charCategorizer(e),a=e-n,o=e-n;for(;a>0;){let u=wn(t,a,!1);if(r(t.slice(u,a))!=Vt.Word)break;a=u}for(;oi.length?i[0]:4}),be.lineSeparator=Op,be.readOnly=bp,be.phrases=me.define({compare(i,e){let t=Object.keys(i),n=Object.keys(e);return t.length==n.length&&t.every(s=>i[s]==e[s])}}),be.languageData=gp,be.changeFilter=yp,be.transactionFilter=kp,be.transactionExtender=wp,qo.reconfigure=He.define();class cs{eq(e){return this==e}range(e,t=e){return oa.create(e,t,this)}}cs.prototype.startSide=cs.prototype.endSide=0,cs.prototype.point=!1,cs.prototype.mapMode=Ui.TrackDel;class oa{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new oa(e,t,n)}}function ad(i,e){return i.from-e.from||i.value.startSide-e.value.startSide}class od{constructor(e,t,n,s){this.from=e,this.to=t,this.value=n,this.maxPoint=s}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,s=0){let r=n?this.to:this.from;for(let a=s,o=r.length;;){if(a==o)return a;let u=a+o>>1,f=r[u]-e||(n?this.value[u].endSide:this.value[u].startSide)-t;if(u==a)return f>=0?a:o;f>=0?o=u:a=u+1}}between(e,t,n,s){for(let r=this.findIndex(t,-1e9,!0),a=this.findIndex(n,1e9,!1,r);rh||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)),n.push(f),s.push(c-a),r.push(h-a))}return{mapped:n.length?new od(s,r,n,o):null,pos:a}}}class We{constructor(e,t,n,s){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=s}static create(e,t,n,s){return new We(e,t,n,s)}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 t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:s=0,filterTo:r=this.length}=e,a=e.filter;if(t.length==0&&!a)return this;if(n&&(t=t.slice().sort(ad)),this.isEmpty)return t.length?We.of(t):this;let o=new Ep(this,null,-1).goto(0),u=0,f=[],l=new Zo;for(;o.value||u=0){let d=t[u++];l.addInner(d.from,d.to,d.value)||f.push(d)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+a.length&&a.between(r,e-r,t-r,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return ua.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return ua.from(e).goto(t)}static compare(e,t,n,s,r=-1){let a=e.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=r),o=t.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=r),u=Dp(a,o,n),f=new fa(a,u,r),l=new fa(o,u,r);n.iterGaps((d,c,h)=>Cp(f,d,l,c,h,s)),n.empty&&n.length==0&&Cp(f,0,l,0,0,s)}static eq(e,t,n=0,s){s==null&&(s=999999999);let r=e.filter(l=>!l.isEmpty&&t.indexOf(l)<0),a=t.filter(l=>!l.isEmpty&&e.indexOf(l)<0);if(r.length!=a.length)return!1;if(!r.length)return!0;let o=Dp(r,a),u=new fa(r,o,0).goto(n),f=new fa(a,o,0).goto(n);for(;;){if(u.to!=f.to||!fd(u.active,f.active)||u.point&&(!f.point||!u.point.eq(f.point)))return!1;if(u.to>s)return!0;u.next(),f.next()}}static spans(e,t,n,s,r=-1){let a=new fa(e,null,r).goto(t),o=t,u=a.openStart;for(;;){let f=Math.min(a.to,n);if(a.point){let l=a.activeForPoint(a.to),d=a.pointFromo&&(s.span(o,f,a.active,u),u=a.openEnd(f));if(a.to>n)return u+(a.point&&a.to>n?1:0);o=a.to,a.next()}}static of(e,t=!1){let n=new Zo;for(let s of e instanceof oa?[e]:t?a_(e):e)n.add(s.from,s.to,s.value);return n.finish()}}We.empty=new We([],[],null,-1);function a_(i){if(i.length>1)for(let e=i[0],t=1;t0)return i.slice().sort(ad);e=n}return i}We.empty.nextLayer=We.empty;class Zo{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 od(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,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new Zo)).add(e,t,n)}addInner(e,t,n){let s=e-this.lastTo||n.startSide-this.last.endSide;if(s<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return s<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(We.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=We.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Dp(i,e,t){let n=new Map;for(let r of i)for(let a=0;a=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&s.push(new Ep(a,t,n,r));return s.length==1?s[0]:new ua(s)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)ud(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)ud(this.heap,n);(this.to-e||this.value.endSide-t)<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(),ud(this.heap,0)}}}function ud(i,e){for(let t=i[e];;){let n=(e<<1)+1;if(n>=i.length)break;let s=i[n];if(n+1=0&&(s=i[n+1],n++),t.compare(s)<0)break;i[n]=t,i[e]=s,e=n}}class fa{constructor(e,t,n){this.minPoint=n,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=ua.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Uo(this.active,e),Uo(this.activeTo,e),Uo(this.activeRank,e),this.minActive=xp(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:s,rank:r}=this.cursor;for(;t-1&&(this.activeTo[s]-this.cursor.from||this.active[s].endSide-this.cursor.startSide)<0){if(this.activeTo[s]>e){this.to=this.activeTo[s],this.endSide=this.active[s].endSide;break}this.removeActive(s),n&&Uo(n,s)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let r=this.cursor.value;if(!r.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[s]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function Cp(i,e,t,n,s,r){i.goto(e),t.goto(n);let a=n+s,o=n,u=n-e;for(;;){let f=i.to+u-t.to||i.endSide-t.endSide,l=f<0?i.to+u:t.to,d=Math.min(l,a);if(i.point||t.point?i.point&&t.point&&(i.point==t.point||i.point.eq(t.point))&&fd(i.activeForPoint(i.to+u),t.activeForPoint(t.to))||r.comparePoint(o,d,i.point,t.point):d>o&&!fd(i.active,t.active)&&r.compareRange(o,d,i.active,t.active),l>a)break;o=l,f<=0&&i.next(),f>=0&&t.next()}}function fd(i,e){if(i.length!=e.length)return!1;for(let t=0;t=e;n--)i[n+1]=i[n];i[e]=t}function xp(i,e){let t=-1,n=1e9;for(let s=0;s=e)return s;if(s==i.length)break;r+=i.charCodeAt(s)==9?t-r%t:1,s=wn(i,s)}return n===!0?-1:i.length}const ld="\u037C",Qp=typeof Symbol>"u"?"__"+ld:Symbol.for(ld),dd=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),$p=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Vs{constructor(e,t){this.rules=[];let{finish:n}=t||{};function s(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function r(a,o,u,f){let l=[],d=/^@(\w+)\b/.exec(a[0]),c=d&&d[1]=="keyframes";if(d&&o==null)return u.push(a[0]+";");for(let h in o){let m=o[h];if(/&/.test(h))r(h.split(/,\s*/).map(F=>a.map(g=>F.replace(/&/,g))).reduce((F,g)=>F.concat(g)),m,u);else if(m&&typeof m=="object"){if(!d)throw new RangeError("The value of a property ("+h+") should be a primitive value.");r(s(h),m,l,c)}else m!=null&&l.push(h.replace(/_.*/,"").replace(/[A-Z]/g,F=>"-"+F.toLowerCase())+": "+m+";")}(l.length||c)&&u.push((n&&!d&&!f?a.map(n):a).join(", ")+" {"+l.join(" ")+"}")}for(let a in e)r(s(a),e[a],this.rules)}getRules(){return this.rules.join(` `)}static newName(){let e=$p[Qp]||1;return $p[Qp]=e+1,ld+e.toString(36)}static mount(e,t){(e[dd]||new u_(e)).mount(Array.isArray(t)?t:[t])}}let Ho=null;class u_{constructor(e){if(!e.head&&e.adoptedStyleSheets&&typeof CSSStyleSheet<"u"){if(Ho)return e.adoptedStyleSheets=[Ho.sheet].concat(e.adoptedStyleSheets),e[dd]=Ho;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),Ho=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[dd]=this}mount(e){let t=this.sheet,n=0,s=0;for(let r=0;r-1&&(this.modules.splice(o,1),s--,o=-1),o==-1){if(this.modules.splice(s++,0,a),t)for(let u=0;u",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Tp=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent);typeof navigator<"u"&&/Gecko\/\d+/.test(navigator.userAgent);var f_=typeof navigator<"u"&&/Mac/.test(navigator.platform);typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),f_||Tp&&+Tp[1]<57;for(var si=0;si<10;si++)Xs[48+si]=Xs[96+si]=String(si);for(var si=1;si<=24;si++)Xs[si+111]="F"+si;for(var si=65;si<=90;si++)Xs[si]=String.fromCharCode(si+32),cd[si]=String.fromCharCode(si);for(var hd in Xs)cd.hasOwnProperty(hd)||(cd[hd]=Xs[hd]);function Yo(i){let e;return i.nodeType==11?e=i.getSelection?i:i.ownerDocument:e=i,e.getSelection()}function Zs(i,e){return e?i==e||i.contains(e.nodeType!=1?e.parentNode:e):!1}function l_(i){let e=i.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Ko(i,e){if(!e.anchorNode)return!1;try{return Zs(i,e.anchorNode)}catch{return!1}}function la(i){return i.nodeType==3?Gs(i,0,i.nodeValue.length).getClientRects():i.nodeType==1?i.getClientRects():[]}function Jo(i,e,t,n){return t?Pp(i,e,t,n,-1)||Pp(i,e,t,n,1):!1}function eu(i){for(var e=0;;e++)if(i=i.previousSibling,!i)return e}function Pp(i,e,t,n,s){for(;;){if(i==t&&e==n)return!0;if(e==(s<0?0:da(i))){if(i.nodeName=="DIV")return!1;let r=i.parentNode;if(!r||r.nodeType!=1)return!1;e=eu(i)+(s<0?0:1),i=r}else if(i.nodeType==1){if(i=i.childNodes[e+(s<0?-1:0)],i.nodeType==1&&i.contentEditable=="false")return!1;e=s<0?da(i):0}else return!1}}function da(i){return i.nodeType==3?i.nodeValue.length:i.childNodes.length}const Ap={left:0,right:0,top:0,bottom:0};function md(i,e){let t=e?i.left:i.right;return{left:t,right:t,top:i.top,bottom:i.bottom}}function d_(i){return{left:0,right:i.innerWidth,top:0,bottom:i.innerHeight}}function c_(i,e,t,n,s,r,a,o){let u=i.ownerDocument,f=u.defaultView||window;for(let l=i;l;)if(l.nodeType==1){let d,c=l==u.body;if(c)d=d_(f);else{if(l.scrollHeight<=l.clientHeight&&l.scrollWidth<=l.clientWidth){l=l.assignedSlot||l.parentNode;continue}let p=l.getBoundingClientRect();d={left:p.left,right:p.left+l.clientWidth,top:p.top,bottom:p.top+l.clientHeight}}let h=0,m=0;if(s=="nearest")e.top0&&e.bottom>d.bottom+m&&(m=e.bottom-d.bottom+m+a)):e.bottom>d.bottom&&(m=e.bottom-d.bottom+a,t<0&&e.top-m0&&e.right>d.right+h&&(h=e.right-d.right+h+r)):e.right>d.right&&(h=e.right-d.right+r,t<0&&e.leftt)return d.domBoundsAround(e,t,f);if(c>=e&&s==-1&&(s=u,r=f),f>t&&d.dom.parentNode==this.dom){a=u,o=l;break}l=c,f=c+d.breakAfter}return{from:r,to:o<0?n+this.length:o,startDOM:(s?this.children[s-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a=0?this.children[a].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),t.dirty&1)return;t.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 t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=pd){this.markDirty();for(let s=e;sthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function Np(i,e,t,n,s,r,a,o,u){let{children:f}=i,l=f.length?f[e]:null,d=r.length?r[r.length-1]:null,c=d?d.breakAfter:a;if(!(e==n&&l&&!a&&!c&&r.length<2&&l.merge(t,s,r.length?d:null,t==0,o,u))){if(n0&&(!a&&r.length&&l.merge(t,l.length,r[0],!1,o,0)?l.breakAfter=r.shift().breakAfter:(t2);var G={mac:Xp||/Mac/.test(Xi.platform),windows:/Win/.test(Xi.platform),linux:/Linux|X11/.test(Xi.platform),ie:iu,ie_version:zp?Fd.documentMode||6:vd?+vd[1]:gd?+gd[1]:0,gecko:Wp,gecko_version:Wp?+(/Firefox\/(\d+)/.exec(Xi.userAgent)||[0,0])[1]:0,chrome:!!Od,chrome_version:Od?+Od[1]:0,ios:Xp,android:/Android\b/.test(Xi.userAgent),webkit:qp,safari:Vp,webkit_version:qp?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Fd.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const F_=256;class bn extends Ee{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,t,n){return n&&(!(n instanceof bn)||this.length-(t-e)+n.length>F_)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new bn(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new vi(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return yd(this.dom,e,t)}}class Ot extends Ee{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let s of t)s.setParent(this)}setAttrs(e){if(Rp(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);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,t,n,s,r,a){return n&&(!(n instanceof Ot&&n.mark.eq(this.mark))||e&&r<=0||te&&t.push(n=e&&(s=r),n=u,r++}let a=this.length-e;return this.length=e,s>-1&&(this.children.length=s,this.markDirty()),new Ot(this.mark,t,a)}domAtPos(e){return Gp(this,e)}coordsAt(e,t){return Yp(this,e,t)}}function yd(i,e,t){let n=i.nodeValue.length;e>n&&(e=n);let s=e,r=e,a=0;e==0&&t<0||e==n&&t>=0?G.chrome||G.gecko||(e?(s--,a=1):r=0)?0:o.length-1];return G.safari&&!a&&u.width==0&&(u=Array.prototype.find.call(o,f=>f.width)||u),a?md(u,a<0):u||null}class _n extends Ee{constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}static create(e,t,n){return new(e.customView||_n)(e,t,n)}split(e){let t=_n.create(this.widget,this.length-e,this.side);return this.length-=e,t}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,t,n,s,r,a){return n&&(!(n instanceof _n)||!this.widget.compare(n.widget)||e>0&&r<=0||t0?n.length-1:0;s=n[r],!(e>0?r==0:r==n.length-1||s.top0?-1:1);return this.length?s:md(s,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Zp extends _n{domAtPos(e){let{topView:t,text:n}=this.widget;return t?kd(e,0,t,n,(s,r)=>s.domAtPos(r),s=>new vi(n,Math.min(s,n.nodeValue.length))):new vi(n,Math.min(e,n.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,t){let{topView:n,text:s}=this.widget;return n?Up(e,t,n,s):Math.min(t,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,t){let{topView:n,text:s}=this.widget;return n?kd(e,t,n,s,(r,a,o)=>r.coordsAt(a,o),(r,a)=>yd(s,r,a)):yd(s,e,t)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function kd(i,e,t,n,s,r){if(t instanceof Ot){for(let a=t.dom.firstChild;a;a=a.nextSibling){let o=Ee.get(a);if(!o)return r(i,e);let u=Zs(a,n),f=o.length+(u?n.nodeValue.length:0);if(i0?-1:1);return n&&n.topt.top?{left:t.left,right:t.right,top:n.top,bottom:n.bottom}:t}get overrideDOMText(){return ke.empty}}bn.prototype.children=_n.prototype.children=Ys.prototype.children=pd;function g_(i,e){let t=i.parent,n=t?t.children.indexOf(i):-1;for(;t&&n>=0;)if(e<0?n>0:nr&&e0;r--){let a=n[r-1];if(a.dom.parentNode==t)return a.domAtPos(a.length)}for(let r=s;r0&&e instanceof Ot&&s.length&&(n=s[s.length-1])instanceof Ot&&n.mark.eq(e.mark)?Hp(n,e.children[0],t-1):(s.push(e),e.setParent(i)),i.length+=e.length}function Yp(i,e,t){let n=null,s=-1,r=null,a=-1;function o(f,l){for(let d=0,c=0;d=l&&(h.children.length?o(h,l-c):!r&&(m>l||c==m&&h.getSide()>0)?(r=h,a=l-c):(c0?3e8:-4e8:t>0?1e8:-1e8,new cs(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,s;if(e.isBlockGap)n=-5e8,s=4e8;else{let{start:r,end:a}=Kp(e,t);n=(r?t?-3e8:-1:5e8)-1,s=(a?t?2e8:1:-6e8)+1}return new cs(e,n,s,t,e.widget||null,!0)}static line(e){return new ca(e)}static set(e,t=!1){return We.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}ri.none=We.empty;class nu extends ri{constructor(e){let{start:t,end:n}=Kp(e);super(t?-1:5e8,n?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 nu&&this.tagName==e.tagName&&this.class==e.class&&bd(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}nu.prototype.point=!1;class ca extends ri{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof ca&&bd(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}ca.prototype.mapMode=Vi.TrackBefore,ca.prototype.point=!0;class cs extends ri{constructor(e,t,n,s,r,a){super(t,n,r,e),this.block=s,this.isReplace=a,this.mapMode=s?t<=0?Vi.TrackBefore:Vi.TrackAfter:Vi.TrackDel}get type(){return this.startSide=5}eq(e){return e instanceof cs&&O_(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}cs.prototype.point=!0;function Kp(i,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=i;return t==null&&(t=i.inclusive),n==null&&(n=i.inclusive),{start:t!=null?t:e,end:n!=null?n:e}}function O_(i,e){return i==e||!!(i&&e&&i.compare(e))}function Sd(i,e,t,n=0){let s=t.length-1;s>=0&&t[s]+n>=i?t[s]=Math.max(t[s],e):t.push(i,e)}class Si extends Ee{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,s,r,a){if(n){if(!(n instanceof Si))return!1;this.dom||n.transferDOM(this)}return s&&this.setDeco(n?n.attrs:null),Lp(this,e,t,n?n.children:[],r,a),!0}split(e){let t=new Si;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i:n,off:s}=this.childPos(e);s&&(t.append(this.children[n].split(s),0),this.children[n].merge(s,this.children[n].length,null,!1,0,0),n++);for(let r=n;r0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}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){bd(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){Hp(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=wd(t,this.attrs||{})),n&&(this.attrs=wd({class:n},this.attrs||{}))}domAtPos(e){return Gp(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var t;this.dom?this.dirty&4&&(Rp(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&&(_d(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let n=this.dom.lastChild;for(;n&&Ee.get(n)instanceof Ot;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((t=Ee.get(n))===null||t===void 0?void 0:t.isEditable)==!1&&(!G.ios||!this.children.some(s=>s instanceof bn))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let t of this.children){if(!(t instanceof bn)||/[^ -~]/.test(t.text))return null;let n=la(t.dom);if(n.length!=1)return null;e+=n[0].width}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}:null}coordsAt(e,t){return Yp(this,e,t)}become(e){return!1}get type(){return Ze.Text}static find(e,t){for(let n=0,s=0;n=t){if(r instanceof Si)return r;if(a>t)break}s=a+r.breakAfter}return null}}class hs extends Ee{constructor(e,t,n){super(),this.widget=e,this.length=t,this.type=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,s,r,a){return n&&(!(n instanceof hs)||!this.widget.compare(n.widget)||e>0&&r<=0||t0;){if(this.textOff==this.text.length){let{value:r,lineBreak:a,done:o}=this.cursor.next(this.skip);if(this.skip=0,o)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,e--;continue}else this.text=r,this.textOff=0}let s=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(su(new bn(this.text.slice(this.textOff,this.textOff+s)),t),n),this.atCursorPos=!0,this.textOff+=s,e-=s,n=0}}span(e,t,n,s){this.buildText(t-e,n,s),this.pos=t,this.openStart<0&&(this.openStart=s)}point(e,t,n,s,r,a){if(this.disallowBlockEffectsFor[a]&&n instanceof cs){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=t-e;if(n instanceof cs)if(n.block){let{type:u}=n;u==Ze.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new hs(n.widget||new Jp("div"),o,u))}else{let u=_n.create(n.widget||new Jp("span"),o,o?0:n.startSide),f=this.atCursorPos&&!u.isEditable&&r<=s.length&&(e0),l=!u.isEditable&&(ei.some(e=>e)}),y_=me.define({combine:i=>i.some(e=>e)});class ru{constructor(e,t="nearest",n="nearest",s=5,r=5){this.range=e,this.y=t,this.x=n,this.yMargin=s,this.xMargin=r}map(e){return e.empty?this:new ru(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const aF=Ge.define({map:(i,e)=>i.map(e)});function Sn(i,e,t){let n=i.facet(nF);n.length?n[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const au=me.define({combine:i=>i.length?i[0]:!0});let k_=0;const ha=me.define();class ma{constructor(e,t,n,s){this.id=e,this.create=t,this.domEventHandlers=n,this.extension=s(this)}static define(e,t){const{eventHandlers:n,provide:s,decorations:r}=t||{};return new ma(k_++,e,n,a=>{let o=[ha.of(a)];return r&&o.push(pa.of(u=>{let f=u.plugin(a);return f?r(f):ri.none})),s&&o.push(s(a)),o})}static fromClass(e,t){return ma.define(n=>new e(n),t)}}class Cd{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(Sn(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Sn(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){Sn(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const oF=me.define(),xd=me.define(),pa=me.define(),uF=me.define(),fF=me.define(),Fa=me.define();class yt{constructor(e,t,n,s){this.fromA=e,this.toA=t,this.fromB=n,this.toB=s}join(e){return new yt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let s=e[t-1];if(!(s.fromA>n.toA)){if(s.toAl)break;r+=2}if(!u)return n;new yt(u.fromA,u.toA,u.fromB,u.toB).addToSet(n),a=u.toA,o=u.toB}}}class ou{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Ue.empty(this.startState.doc.length);for(let a of n)this.changes=this.changes.compose(a.changes);let s=[];this.changes.iterChangedRanges((a,o,u,f)=>s.push(new yt(a,o,u,f))),this.changedRanges=s;let r=e.hasFocus;r!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=r,this.flags|=1)}static create(e,t,n){return new ou(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var Di=function(i){return i[i.LTR=0]="LTR",i[i.RTL=1]="RTL",i}(Di||(Di={}));const Qd=Di.LTR,w_=Di.RTL;function lF(i){let e=[];for(let t=0;t=t){if(o.level==n)return a;(r<0||(s!=0?s<0?o.fromt:e[r].level>o.level))&&(r=a)}}if(r<0)throw new RangeError("Index out of range");return r}}const Te=[];function E_(i,e){let t=i.length,n=e==Qd?1:2,s=e==Qd?2:1;if(!i||n==1&&!D_.test(i))return dF(t);for(let a=0,o=n,u=n;a=0;c-=3)if(kt[c+1]==-l){let h=kt[c+2],m=h&2?n:h&4?h&1?s:n:0;m&&(Te[a]=Te[kt[c]]=m),o=c;break}}else{if(kt.length==189)break;kt[o++]=a,kt[o++]=f,kt[o++]=u}else if((d=Te[a])==2||d==1){let c=d==n;u=c?0:1;for(let h=o-3;h>=0;h-=3){let m=kt[h+2];if(m&2)break;if(c)kt[h+2]|=2;else{if(m&4)break;kt[h+2]|=4}}}for(let a=0;ao;){let l=f,d=Te[--f]!=2;for(;f>o&&d==(Te[f-1]!=2);)f--;r.push(new Ks(f,l,d?2:1))}else r.push(new Ks(o,a,0))}else for(let a=0;a1)for(let u of this.points)u.node==e&&u.pos>this.text.length&&(u.pos-=a-1);n=r+a}}readNode(e){if(e.cmIgnore)return;let t=Ee.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let s=n.iter();!s.next().done;)s.lineBreak?this.lineBreak():this.append(s.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}}function mF(i){return i.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(i.nodeName)}class pF{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class FF extends Ee{constructor(e){super(),this.view=e,this.compositionDeco=ri.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Si],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new yt(0,0,0,e.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:a,toA:o})=>othis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=ri.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=Q_(this.view,e.changes)),(G.ie||G.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let n=this.decorations,s=this.updateDeco(),r=A_(n,s,e.changes);return t=yt.extendWithRanges(t,r),this.dirty==0&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let r=G.chrome||G.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(r),this.dirty=0,r&&(r.written||n.selectionRange.focusNode!=r.node)&&(this.forceSelection=!0),this.dom.style.height=""});let s=[];if(this.view.viewport.from||this.view.viewport.to=0?e[s]:null;if(!r)break;let{fromA:a,toA:o,fromB:u,toB:f}=r,{content:l,breakAtStart:d,openStart:c,openEnd:h}=Dd.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap),{i:m,off:p}=n.findPos(o,1),{i:g,off:F}=n.findPos(a,-1);Np(this,g,F,m,p,l,d,c,h)}}updateSelection(e=!1,t=!1){if((e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(t||this.mayControlSelection()))return;let n=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,r=this.domAtPos(s.anchor),a=s.empty?r:this.domAtPos(s.head);if(G.gecko&&s.empty&&x_(r)){let u=document.createTextNode("");this.view.observer.ignore(()=>r.node.insertBefore(u,r.node.childNodes[r.offset]||null)),r=a=new vi(u,0),n=!0}let o=this.view.observer.selectionRange;(n||!o.focusNode||!Jo(r.node,r.offset,o.anchorNode,o.anchorOffset)||!Jo(a.node,a.offset,o.focusNode,o.focusOffset))&&(this.view.observer.ignore(()=>{G.android&&G.chrome&&this.dom.contains(o.focusNode)&&M_(o.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let u=Yo(this.view.root);if(u)if(s.empty){if(G.gecko){let f=T_(r.node,r.offset);if(f&&f!=3){let l=OF(r.node,r.offset,f==1?1:-1);l&&(r=new vi(l,f==1?0:l.nodeValue.length))}}u.collapse(r.node,r.offset),s.bidiLevel!=null&&o.cursorBidiLevel!=null&&(o.cursorBidiLevel=s.bidiLevel)}else if(u.extend){u.collapse(r.node,r.offset);try{u.extend(a.node,a.offset)}catch{}}else{let f=document.createRange();s.anchor>s.head&&([r,a]=[a,r]),f.setEnd(a.node,a.offset),f.setStart(r.node,r.offset),u.removeAllRanges(),u.addRange(f)}}),this.view.observer.setSelectionRange(r,a)),this.impreciseAnchor=r.precise?null:new vi(o.anchorNode,o.anchorOffset),this.impreciseHead=a.precise?null:new vi(o.focusNode,o.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,t=e.state.selection.main,n=Yo(e.root),{anchorNode:s,anchorOffset:r}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let a=Si.find(this,t.head);if(!a)return;let o=a.posAtStart;if(t.head==o||t.head==o+a.length)return;let u=this.coordsAt(t.head,-1),f=this.coordsAt(t.head,1);if(!u||!f||u.bottom>f.top)return;let l=this.domAtPos(t.head+t.assoc);n.collapse(l.node,l.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let d=e.observer.selectionRange;e.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=t.from&&n.collapse(s,r)}mayControlSelection(){let e=this.view.root.activeElement;return e==this.dom||Ko(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}nearest(e){for(let t=e;t;){let n=Ee.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;ta||e==a&&r.type!=Ze.WidgetBefore&&r.type!=Ze.WidgetAfter&&(!s||t==2||this.children[s-1].breakAfter||this.children[s-1].type==Ze.WidgetBefore&&t>-2))return r.coordsAt(e-a,t);n=a}}measureVisibleLineHeights(e){let t=[],{from:n,to:s}=e,r=this.view.contentDOM.clientWidth,a=r>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,u=this.view.textDirection==Di.LTR;for(let f=0,l=0;ls)break;if(f>=n){let h=d.dom.getBoundingClientRect();if(t.push(h.height),a){let m=d.dom.lastChild,p=m?la(m):[];if(p.length){let g=p[p.length-1],F=u?g.right-h.left:h.right-g.left;F>o&&(o=F,this.minWidth=r,this.minWidthFrom=f,this.minWidthTo=c)}}}f=c+d.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?Di.RTL:Di.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Si){let r=s.measureTextSize();if(r)return r}let e=document.createElement("div"),t,n;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=la(e.firstChild)[0];t=e.getBoundingClientRect().height,n=s?s.width/27:7,e.remove()}),{lineHeight:t,charWidth:n}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new Ip(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,s=0;;s++){let r=s==t.viewports.length?null:t.viewports[s],a=r?r.from-1:this.length;if(a>n){let o=t.lineBlockAt(a).bottom-t.lineBlockAt(n).top;e.push(ri.replace({widget:new gF(o),block:!0,inclusive:!0,isBlockGap:!0}).range(n,a))}if(!r)break;n=r.to+1}return ri.set(e)}updateDeco(){let e=this.view.state.facet(pa).map((t,n)=>(this.dynamicDecorationMap[n]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),s;if(!n)return;!t.empty&&(s=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,s.left),top:Math.min(n.top,s.top),right:Math.max(n.right,s.right),bottom:Math.max(n.bottom,s.bottom)});let r=0,a=0,o=0,u=0;for(let l of this.view.state.facet(fF).map(d=>d(this.view)))if(l){let{left:d,right:c,top:h,bottom:m}=l;d!=null&&(r=Math.max(r,d)),c!=null&&(a=Math.max(a,c)),h!=null&&(o=Math.max(o,h)),m!=null&&(u=Math.max(u,m))}let f={left:n.left-r,top:n.top-o,right:n.right+a,bottom:n.bottom+u};c_(this.view.scrollDOM,f,t.head0&&t<=0)i=i.childNodes[e-1],e=da(i);else if(i.nodeType==1&&e=0)i=i.childNodes[e],e=0;else return null}}function T_(i,e){return i.nodeType!=1?0:(e&&i.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let f=kn(s.text,a,!1);if(n(s.text.slice(f,a))!=u)break;a=f}for(;oi?e.left-i:Math.max(0,i-e.right)}function j_(i,e){return e.top>i?e.top-i:Math.max(0,i-e.bottom)}function Td(i,e){return i.tope.top+1}function yF(i,e){return ei.bottom?{top:i.top,left:i.left,right:i.right,bottom:e}:i}function Pd(i,e,t){let n,s,r,a,o=!1,u,f,l,d;for(let m=i.firstChild;m;m=m.nextSibling){let p=la(m);for(let g=0;gO||a==O&&r>v)&&(n=m,s=F,r=v,a=O,o=!v||(v>0?g0)),v==0?t>F.bottom&&(!l||l.bottomF.top)&&(f=m,d=F):l&&Td(l,F)?l=kF(l,F.bottom):d&&Td(d,F)&&(d=yF(d,F.top))}}if(l&&l.bottom>=t?(n=u,s=l):d&&d.top<=t&&(n=f,s=d),!n)return{node:i,offset:0};let c=Math.max(s.left,Math.min(s.right,e));if(n.nodeType==3)return wF(n,c,t);if(o&&n.contentEditable!="false")return Pd(n,c,t);let h=Array.prototype.indexOf.call(i.childNodes,n)+(e>=(s.left+s.right)/2?1:0);return{node:i,offset:h}}function wF(i,e,t){let n=i.nodeValue.length,s=-1,r=1e9,a=0;for(let o=0;ot?l.top-t:t-l.bottom)-1;if(l.left-1<=e&&l.right+1>=e&&d=(l.left+l.right)/2,h=c;if((G.chrome||G.gecko)&&Gs(i,o).getBoundingClientRect().left==l.right&&(h=!c),d<=0)return{node:i,offset:o+(h?1:0)};s=o+(h?1:0),r=d}}}return{node:i,offset:s>-1?s:a>0?i.nodeValue.length:0}}function bF(i,{x:e,y:t},n,s=-1){var r;let a=i.contentDOM.getBoundingClientRect(),o=a.top+i.viewState.paddingTop,u,{docHeight:f}=i.viewState,l=t-o;if(l<0)return 0;if(l>f)return i.state.doc.length;for(let F=i.defaultLineHeight/2,v=!1;u=i.elementAtHeight(l),u.type!=Ze.Text;)for(;l=s>0?u.bottom+F:u.top-F,!(l>=0&&l<=f);){if(v)return n?null:0;v=!0,s=-s}t=o+l;let d=u.from;if(di.viewport.to)return i.viewport.to==i.state.doc.length?i.state.doc.length:n?null:_F(i,a,u,e,t);let c=i.dom.ownerDocument,h=i.root.elementFromPoint?i.root:c,m=h.elementFromPoint(e,t);m&&!i.contentDOM.contains(m)&&(m=null),m||(e=Math.max(a.left+1,Math.min(a.right-1,e)),m=h.elementFromPoint(e,t),m&&!i.contentDOM.contains(m)&&(m=null));let p,g=-1;if(m&&((r=i.docView.nearest(m))===null||r===void 0?void 0:r.isEditable)!=!1){if(c.caretPositionFromPoint){let F=c.caretPositionFromPoint(e,t);F&&({offsetNode:p,offset:g}=F)}else if(c.caretRangeFromPoint){let F=c.caretRangeFromPoint(e,t);F&&({startContainer:p,startOffset:g}=F,(!i.contentDOM.contains(p)||G.safari&&I_(p,g,e)||G.chrome&&N_(p,g,e))&&(p=void 0))}}if(!p||!i.docView.dom.contains(p)){let F=Si.find(i.docView,d);if(!F)return l>u.top+u.height/2?u.to:u.from;({node:p,offset:g}=Pd(F.dom,e,t))}return i.docView.posFromDOM(p,g)}function _F(i,e,t,n,s){let r=Math.round((n-e.left)*i.defaultCharacterWidth);i.lineWrapping&&t.height>i.defaultLineHeight*1.5&&(r+=Math.floor((s-t.top)/i.defaultLineHeight)*i.viewState.heightOracle.lineLength);let a=i.state.sliceDoc(t.from,t.to);return t.from+o_(a,r,i.state.tabSize)}function I_(i,e,t){let n;if(i.nodeType!=3||e!=(n=i.nodeValue.length))return!1;for(let s=i.nextSibling;s;s=s.nextSibling)if(s.nodeType!=1||s.nodeName!="BR")return!1;return Gs(i,n-1,n).getBoundingClientRect().left>t}function N_(i,e,t){if(e!=0)return!1;for(let s=i;;){let r=s.parentNode;if(!r||r.nodeType!=1||r.firstChild!=s)return!1;if(r.classList.contains("cm-line"))break;s=r}let n=i.nodeType==1?i.getBoundingClientRect():Gs(i,0,Math.max(i.nodeValue.length,1)).getBoundingClientRect();return t-n.left>5}function L_(i,e,t,n){let s=i.state.doc.lineAt(e.head),r=!n||!i.lineWrapping?null:i.coordsAtPos(e.assoc<0&&e.head>s.from?e.head-1:e.head);if(r){let u=i.dom.getBoundingClientRect(),f=i.textDirectionAt(s.from),l=i.posAtCoords({x:t==(f==Di.LTR)?u.right-1:u.left+1,y:(r.top+r.bottom)/2});if(l!=null)return H.cursor(l,t?-1:1)}let a=Si.find(i.docView,e.head),o=a?t?a.posAtEnd:a.posAtStart:t?s.to:s.from;return H.cursor(o,t?-1:1)}function SF(i,e,t,n){let s=i.state.doc.lineAt(e.head),r=i.bidiSpans(s),a=i.textDirectionAt(s.from);for(let o=e,u=null;;){let f=C_(s,r,a,o,t),l=cF;if(!f){if(s.number==(t?i.state.doc.lines:1))return o;l=` -`,s=i.state.doc.line(s.number+(t?1:-1)),r=i.bidiSpans(s),f=H.cursor(t?s.from:s.to)}if(u){if(!u(l))return o}else{if(!n)return f;u=n(l)}o=f}}function z_(i,e,t){let n=i.state.charCategorizer(e),s=n(t);return r=>{let a=n(r);return s==qt.Space&&(s=a),s==a}}function W_(i,e,t,n){let s=e.head,r=t?1:-1;if(s==(t?i.state.doc.length:0))return H.cursor(s,e.assoc);let a=e.goalColumn,o,u=i.contentDOM.getBoundingClientRect(),f=i.coordsAtPos(s),l=i.documentTop;if(f)a==null&&(a=f.left-u.left),o=r<0?f.top:f.bottom;else{let h=i.viewState.lineBlockAt(s);a==null&&(a=Math.min(u.right-u.left,i.defaultCharacterWidth*(s-h.from))),o=(r<0?h.top:h.bottom)+l}let d=u.left+a,c=n!=null?n:i.defaultLineHeight>>1;for(let h=0;;h+=10){let m=o+(c+h)*r,p=bF(i,{x:d,y:m},!1,r);if(mu.bottom||(r<0?ps))return H.cursor(p,e.assoc,void 0,a)}}function Ad(i,e,t){let n=i.state.facet(uF).map(s=>s(i));for(;;){let s=!1;for(let r of n)r.between(t.from-1,t.from+1,(a,o,u)=>{t.from>a&&t.fromt.from?H.cursor(a,1):H.cursor(o,-1),s=!0)});if(!s)return t}}class q_{constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;for(let t in He){let n=He[t];e.contentDOM.addEventListener(t,s=>{!EF(e,s)||this.ignoreDuringComposition(s)||t=="keydown"&&this.keydown(e,s)||(this.mustFlushObserver(s)&&e.observer.forceFlush(),this.runCustomHandlers(t,e,s)?s.preventDefault():n(e,s))},Md[t]),this.registeredEvents.push(t)}G.chrome&&G.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,G.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var n;let s;this.customHandlers=[];for(let r of t)if(s=(n=r.update(e).spec)===null||n===void 0?void 0:n.domEventHandlers){this.customHandlers.push({plugin:r.value,handlers:s});for(let a in s)this.registeredEvents.indexOf(a)<0&&a!="scroll"&&(this.registeredEvents.push(a),e.contentDOM.addEventListener(a,o=>{!EF(e,o)||this.runCustomHandlers(a,e,o)&&o.preventDefault()}))}}runCustomHandlers(e,t,n){for(let s of this.customHandlers){let r=s.handlers[e];if(r)try{if(r.call(s.plugin,n,t)||n.defaultPrevented)return!0}catch(a){Sn(t.state,a)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let n of this.customHandlers){let s=n.handlers.scroll;if(s)try{s.call(n.plugin,t,e)}catch(r){Sn(e.state,r)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()s.keyCode==t.keyCode))&&!t.ctrlKey||V_.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,Hs(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:G.safari&&!G.ios&&Date.now()-this.compositionEndedAt<100?(this.compositionEndedAt=0,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const DF=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],V_="dthko",X_=[16,17,18,20,91,92,224,225];class Z_{constructor(e,t,n,s){this.view=e,this.style=n,this.mustSelect=s,this.lastEvent=t;let r=e.contentDOM.ownerDocument;r.addEventListener("mousemove",this.move=this.move.bind(this)),r.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(be.allowMultipleSelections)&&U_(e,t),this.dragMove=G_(e,t),this.dragging=H_(e,t)&&RF(t)==1?null:!1,this.dragging===!1&&(t.preventDefault(),this.select(t))}move(e){if(e.buttons==0)return this.destroy();this.dragging===!1&&this.select(this.lastEvent=e)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}select(e){let t=this.style.get(e,this.extend,this.multiple);(this.mustSelect||!t.eq(this.view.state.selection)||t.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:t,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function U_(i,e){let t=i.state.facet(eF);return t.length?t[0](e):G.mac?e.metaKey:e.ctrlKey}function G_(i,e){let t=i.state.facet(iF);return t.length?t[0](e):G.mac?!e.altKey:!e.ctrlKey}function H_(i,e){let{main:t}=i.state.selection;if(t.empty)return!1;let n=Yo(i.root);if(!n||n.rangeCount==0)return!0;let s=n.getRangeAt(0).getClientRects();for(let r=0;r=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function EF(i,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=i.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Ee.get(t))&&n.ignoreEvent(e))return!1;return!0}const He=Object.create(null),Md=Object.create(null),CF=G.ie&&G.ie_version<15||G.ios&&G.webkit_version<604;function Y_(i){let e=i.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{i.focus(),t.remove(),xF(i,t.value)},50)}function xF(i,e){let{state:t}=i,n,s=1,r=t.toText(e),a=r.lines==t.selection.ranges.length;if(Bd!=null&&t.selection.ranges.every(o=>o.empty)&&Bd==r.toString()){let o=-1;n=t.changeByRange(u=>{let f=t.doc.lineAt(u.from);if(f.from==o)return{range:u};o=f.from;let l=t.toText((a?r.line(s++).text:e)+t.lineBreak);return{changes:{from:f.from,insert:l},range:H.cursor(u.from+l.length)}})}else a?n=t.changeByRange(o=>{let u=r.line(s++);return{changes:{from:o.from,to:o.to,insert:u.text},range:H.cursor(o.from+u.length)}}):n=t.replaceSelection(r);i.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}He.keydown=(i,e)=>{i.inputState.setSelectionOrigin("select"),e.keyCode==27?i.inputState.lastEscPress=Date.now():X_.indexOf(e.keyCode)<0&&(i.inputState.lastEscPress=0)},He.touchstart=(i,e)=>{i.inputState.lastTouchTime=Date.now(),i.inputState.setSelectionOrigin("select.pointer")},He.touchmove=i=>{i.inputState.setSelectionOrigin("select.pointer")},Md.touchstart=Md.touchmove={passive:!0},He.mousedown=(i,e)=>{if(i.observer.flush(),i.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let n of i.state.facet(tF))if(t=n(i,e),t)break;if(!t&&e.button==0&&(t=e6(i,e)),t){let n=i.root.activeElement!=i.contentDOM;n&&i.observer.ignore(()=>Mp(i.contentDOM)),i.inputState.startMouseSelection(new Z_(i,e,t,n))}};function QF(i,e,t,n){if(n==1)return H.cursor(e,t);if(n==2)return B_(i.state,e,t);{let s=Si.find(i.docView,e),r=i.state.doc.lineAt(s?s.posAtEnd:e),a=s?s.posAtStart:r.from,o=s?s.posAtEnd:r.to;return oi>=e.top&&i<=e.bottom,TF=(i,e,t)=>$F(e,t)&&i>=t.left&&i<=t.right;function K_(i,e,t,n){let s=Si.find(i.docView,e);if(!s)return 1;let r=e-s.posAtStart;if(r==0)return 1;if(r==s.length)return-1;let a=s.coordsAt(r,-1);if(a&&TF(t,n,a))return-1;let o=s.coordsAt(r,1);return o&&TF(t,n,o)?1:a&&$F(n,a)?-1:1}function PF(i,e){let t=i.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:K_(i,t,e.clientX,e.clientY)}}const J_=G.ie&&G.ie_version<=11;let AF=null,MF=0,BF=0;function RF(i){if(!J_)return i.detail;let e=AF,t=BF;return AF=i,BF=Date.now(),MF=!e||t>Date.now()-400&&Math.abs(e.clientX-i.clientX)<2&&Math.abs(e.clientY-i.clientY)<2?(MF+1)%3:1}function e6(i,e){let t=PF(i,e),n=RF(e),s=i.state.selection,r=t,a=e;return{update(o){o.docChanged&&(t.pos=o.changes.mapPos(t.pos),s=s.map(o.changes),a=null)},get(o,u,f){let l;a&&o.clientX==a.clientX&&o.clientY==a.clientY?l=r:(l=r=PF(i,o),a=o);let d=QF(i,l.pos,l.bias,n);if(t.pos!=l.pos&&!u){let c=QF(i,t.pos,t.bias,n),h=Math.min(c.from,d.from),m=Math.max(c.to,d.to);d=h1&&s.ranges.some(c=>c.eq(d))?i6(s,d):f?s.addRange(d):H.create([d])}}}function i6(i,e){for(let t=0;;t++)if(i.ranges[t].eq(e))return H.create(i.ranges.slice(0,t).concat(i.ranges.slice(t+1)),i.mainIndex==t?0:i.mainIndex-(i.mainIndex>t?1:0))}He.dragstart=(i,e)=>{let{selection:{main:t}}=i.state,{mouseSelection:n}=i.inputState;n&&(n.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",i.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function jF(i,e,t,n){if(!t)return;let s=i.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:r}=i.inputState,a=n&&r&&r.dragging&&r.dragMove?{from:r.dragging.from,to:r.dragging.to}:null,o={from:s,insert:t},u=i.state.changes(a?[a,o]:o);i.focus(),i.dispatch({changes:u,selection:{anchor:u.mapPos(s,-1),head:u.mapPos(s,1)},userEvent:a?"move.drop":"input.drop"})}He.drop=(i,e)=>{if(!e.dataTransfer)return;if(i.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let n=Array(t.length),s=0,r=()=>{++s==t.length&&jF(i,e,n.filter(a=>a!=null).join(i.state.lineBreak),!1)};for(let a=0;a{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(n[a]=o.result),r()},o.readAsText(t[a])}}else jF(i,e,e.dataTransfer.getData("Text"),!0)},He.paste=(i,e)=>{if(i.state.readOnly)return e.preventDefault();i.observer.flush();let t=CF?null:e.clipboardData;t?(xF(i,t.getData("text/plain")),e.preventDefault()):Y_(i)};function t6(i,e){let t=i.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),i.focus()},50)}function n6(i){let e=[],t=[],n=!1;for(let s of i.selection.ranges)s.empty||(e.push(i.sliceDoc(s.from,s.to)),t.push(s));if(!e.length){let s=-1;for(let{from:r}of i.selection.ranges){let a=i.doc.lineAt(r);a.number>s&&(e.push(a.text),t.push({from:a.from,to:Math.min(i.doc.length,a.to+1)})),s=a.number}n=!0}return{text:e.join(i.lineBreak),ranges:t,linewise:n}}let Bd=null;He.copy=He.cut=(i,e)=>{let{text:t,ranges:n,linewise:s}=n6(i.state);if(!t&&!s)return;Bd=s?t:null;let r=CF?null:e.clipboardData;r?(e.preventDefault(),r.clearData(),r.setData("text/plain",t)):t6(i,t),e.type=="cut"&&!i.state.readOnly&&i.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"})};function IF(i){setTimeout(()=>{i.hasFocus!=i.inputState.notifiedFocused&&i.update([])},10)}He.focus=i=>{i.inputState.lastFocusTime=Date.now(),!i.scrollDOM.scrollTop&&(i.inputState.lastScrollTop||i.inputState.lastScrollLeft)&&(i.scrollDOM.scrollTop=i.inputState.lastScrollTop,i.scrollDOM.scrollLeft=i.inputState.lastScrollLeft),IF(i)},He.blur=i=>{i.observer.clearSelectionRange(),IF(i)},He.compositionstart=He.compositionupdate=i=>{i.inputState.compositionFirstChange==null&&(i.inputState.compositionFirstChange=!0),i.inputState.composing<0&&(i.inputState.composing=0)},He.compositionend=i=>{i.inputState.composing=-1,i.inputState.compositionEndedAt=Date.now(),i.inputState.compositionFirstChange=null,G.chrome&&G.android&&i.observer.flushSoon(),setTimeout(()=>{i.inputState.composing<0&&i.docView.compositionDeco.size&&i.update([])},50)},He.contextmenu=i=>{i.inputState.lastContextMenu=Date.now()},He.beforeinput=(i,e)=>{var t;let n;if(G.chrome&&G.android&&(n=DF.find(s=>s.inputType==e.inputType))&&(i.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let s=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var r;(((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0)>s+10&&i.hasFocus&&(i.contentDOM.blur(),i.focus())},100)}};const NF=["pre-wrap","normal","pre-line","break-spaces"];class s6{constructor(e){this.lineWrapping=e,this.doc=ke.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength)),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return NF.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n-1,o=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=n,this.lineLength=s,o){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>uu&&(e.heightChanged=!0),this.height=t)}replace(e,t,n){return Ei.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,s){let r=this;for(let a=s.length-1;a>=0;a--){let{fromA:o,toA:u,fromB:f,toB:l}=s[a],d=r.lineAt(o,Ce.ByPosNoHeight,t,0,0),c=d.to>=u?d:r.lineAt(u,Ce.ByPosNoHeight,t,0,0);for(l+=c.to-u,u=c.to;a>0&&d.from<=s[a-1].toA;)o=s[a-1].fromA,f=s[a-1].fromB,a--,or*2){let o=e[t-1];o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),n+=1+o.break,s-=o.size}else if(r>s*2){let o=e[n];o.break?e.splice(n,1,o.left,null,o.right):e.splice(n,1,o.left,o.right),n+=2+o.break,r-=o.size}else break;else if(s=r&&a(this.blockAt(0,n,s,r))}updateHeight(e,t=0,n=!1,s){return s&&s.from<=t&&s.more&&this.setHeight(e,s.heights[s.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Zi extends LF{constructor(e,t){super(e,t,Ze.Text),this.collapsed=0,this.widgetHeight=0}replace(e,t,n){let s=n[0];return n.length==1&&(s instanceof Zi||s instanceof ai&&s.flags&4)&&Math.abs(this.length-s.length)<10?(s instanceof ai?s=new Zi(s.length,this.height):s.height=this.height,this.outdated||(s.outdated=!1),s):Ei.of(n)}updateHeight(e,t=0,n=!1,s){return s&&s.from<=t&&s.more?this.setHeight(e,s.heights[s.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class ai extends Ei{constructor(e){super(e,0)}lines(e,t){let n=e.lineAt(t).number,s=e.lineAt(t+this.length).number;return{firstLine:n,lastLine:s,lineHeight:this.height/(s-n+1)}}blockAt(e,t,n,s){let{firstLine:r,lastLine:a,lineHeight:o}=this.lines(t,s),u=Math.max(0,Math.min(a-r,Math.floor((e-n)/o))),{from:f,length:l}=t.line(r+u);return new En(f,l,n+o*u,o,Ze.Text)}lineAt(e,t,n,s,r){if(t==Ce.ByHeight)return this.blockAt(e,n,s,r);if(t==Ce.ByPosNoHeight){let{from:d,to:c}=n.lineAt(e);return new En(d,c-d,0,0,Ze.Text)}let{firstLine:a,lineHeight:o}=this.lines(n,r),{from:u,length:f,number:l}=n.lineAt(e);return new En(u,f,s+o*(l-a),o,Ze.Text)}forEachLine(e,t,n,s,r,a){let{firstLine:o,lineHeight:u}=this.lines(n,r);for(let f=Math.max(e,r),l=Math.min(r+this.length,t);f<=l;){let d=n.lineAt(f);f==e&&(s+=u*(d.number-o)),a(new En(d.from,d.length,s,u,Ze.Text)),s+=u,f=d.to+1}}replace(e,t,n){let s=this.length-t;if(s>0){let r=n[n.length-1];r instanceof ai?n[n.length-1]=new ai(r.length+s):n.push(null,new ai(s-1))}if(e>0){let r=n[0];r instanceof ai?n[0]=new ai(e+r.length):n.unshift(new ai(e-1),null)}return Ei.of(n)}decomposeLeft(e,t){t.push(new ai(e-1),null)}decomposeRight(e,t){t.push(null,new ai(this.length-e-1))}updateHeight(e,t=0,n=!1,s){let r=t+this.length;if(s&&s.from<=t+this.length&&s.more){let a=[],o=Math.max(t,s.from),u=-1,f=e.heightChanged;for(s.from>t&&a.push(new ai(s.from-t-1).updateHeight(e,t));o<=r&&s.more;){let d=e.doc.lineAt(o).length;a.length&&a.push(null);let c=s.heights[s.index++];u==-1?u=c:Math.abs(c-u)>=uu&&(u=-2);let h=new Zi(d,c);h.outdated=!1,a.push(h),o+=d+1}o<=r&&a.push(null,new ai(r-o).updateHeight(e,o));let l=Ei.of(a);return e.heightChanged=f||u<0||Math.abs(l.height-this.height)>=uu||Math.abs(u-this.lines(e.doc,t).lineHeight)>=uu,l}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class a6 extends Ei{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,s){let r=n+this.left.height;return eo))return f;let l=t==Ce.ByPosNoHeight?Ce.ByPosNoHeight:Ce.ByPos;return u?f.join(this.right.lineAt(o,l,n,a,o)):this.left.lineAt(o,l,n,s,r).join(f)}forEachLine(e,t,n,s,r,a){let o=s+this.left.height,u=r+this.left.length+this.break;if(this.break)e=u&&this.right.forEachLine(e,t,n,o,u,a);else{let f=this.lineAt(u,Ce.ByPos,n,s,r);e=e&&f.from<=t&&a(f),t>f.to&&this.right.forEachLine(f.to+1,t,n,o,u,a)}}replace(e,t,n){let s=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-s,t-s,n));let r=[];e>0&&this.decomposeLeft(e,r);let a=r.length;for(let o of n)r.push(o);if(e>0&&zF(r,a-1),t=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,s=n+this.break;if(e>=s)return this.right.decomposeRight(e-s,t);e2*t.size||t.size>2*e.size?Ei.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,s){let{left:r,right:a}=this,o=t+r.length+this.break,u=null;return s&&s.from<=t+r.length&&s.more?u=r=r.updateHeight(e,t,n,s):r.updateHeight(e,t,n),s&&s.from<=o+a.length&&s.more?u=a=a.updateHeight(e,o,n,s):a.updateHeight(e,o,n),u?this.balanced(r,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function zF(i,e){let t,n;i[e]==null&&(t=i[e-1])instanceof ai&&(n=i[e+1])instanceof ai&&i.splice(e-1,3,new ai(t.length+1+n.length))}const o6=5;class Rd{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),s=this.nodes[this.nodes.length-1];s instanceof Zi?s.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Zi(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e=o6)&&this.addLineDeco(s,r)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new Zi(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new ai(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Zi)return e;let t=new Zi(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine(),e.type==Ze.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=Ze.WidgetBefore&&(this.covering=e)}addLineDeco(e,t){let n=this.ensureLine();n.length+=t,n.collapsed+=t,n.widgetHeight=Math.max(n.widgetHeight,e),this.writtenTo=this.pos=this.pos+t}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof Zi)&&!this.isCovered?this.nodes.push(new Zi(0,-1)):(this.writtenTol.clientHeight||l.scrollWidth>l.clientWidth)&&d.overflow!="visible"){let c=l.getBoundingClientRect();r=Math.max(r,c.left),a=Math.min(a,c.right),o=Math.max(o,c.top),u=f==i.parentNode?c.bottom:Math.min(u,c.bottom)}f=d.position=="absolute"||d.position=="fixed"?l.offsetParent:l.parentNode}else if(f.nodeType==11)f=f.host;else break;return{left:r-t.left,right:Math.max(r,a)-t.left,top:o-(t.top+e),bottom:Math.max(o,u)-(t.top+e)}}function d6(i,e){let t=i.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class jd{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new s6(t),this.stateDeco=e.facet(pa).filter(n=>typeof n!="function"),this.heightMap=Ei.empty().applyChanges(this.stateDeco,ke.empty,this.heightOracle.setDoc(e.doc),[new yt(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ri.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let s=n?t.head:t.anchor;if(!e.some(({from:r,to:a})=>s>=r&&s<=a)){let{from:r,to:a}=this.lineBlockAt(s);e.push(new fu(r,a))}}this.viewports=e.sort((n,s)=>n.from-s.from),this.scaler=this.heightMap.height<=7e6?qF:new p6(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:ga(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(pa).filter(f=>typeof f!="function");let s=e.changedRanges,r=yt.extendWithRanges(s,u6(n,this.stateDeco,e?e.changes:Ue.empty(this.state.doc.length))),a=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),r),this.heightMap.height!=a&&(e.flags|=2);let o=r.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.heado.to)||!this.viewportIsAppropriate(o))&&(o=this.getViewport(0,t));let u=!e.changes.empty||e.flags&2||o.from!=this.viewport.from||o.to!=this.viewport.to;this.viewport=o,this.updateForViewport(),u&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(y_)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),s=this.heightOracle,r=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Di.RTL:Di.LTR;let a=this.heightOracle.mustRefreshForWrapping(r),o=a||this.mustMeasureContent||this.contentDOMHeight!=t.clientHeight;this.contentDOMHeight=t.clientHeight,this.mustMeasureContent=!1;let u=0,f=0,l=parseInt(n.paddingTop)||0,d=parseInt(n.paddingBottom)||0;(this.paddingTop!=l||this.paddingBottom!=d)&&(this.paddingTop=l,this.paddingBottom=d,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(s.lineWrapping&&(o=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8);let c=(this.printing?d6:l6)(t,this.paddingTop),h=c.top-this.pixelViewport.top,m=c.bottom-this.pixelViewport.bottom;this.pixelViewport=c;let p=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(p!=this.inView&&(this.inView=p,p&&(o=!0)),!this.inView&&!this.scrollTarget)return 0;let g=t.clientWidth;if((this.contentDOMWidth!=g||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=g,this.editorHeight=e.scrollDOM.clientHeight,u|=8),o){let v=e.docView.measureVisibleLineHeights(this.viewport);if(s.mustRefreshForHeights(v)&&(a=!0),a||s.lineWrapping&&Math.abs(g-this.contentDOMWidth)>s.charWidth){let{lineHeight:O,charWidth:b}=e.docView.measureTextSize();a=O>0&&s.refresh(r,O,b,g/b,v),a&&(e.docView.minWidth=0,u|=8)}h>0&&m>0?f=Math.max(h,m):h<0&&m<0&&(f=Math.min(h,m)),s.heightChanged=!1;for(let O of this.viewports){let b=O.from==this.viewport.from?v:e.docView.measureVisibleLineHeights(O);this.heightMap=(a?Ei.empty().applyChanges(this.stateDeco,ke.empty,this.heightOracle,[new yt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(s,0,a,new r6(O.from,b))}s.heightChanged&&(u|=2)}let F=!this.viewportIsAppropriate(this.viewport,f)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return F&&(this.viewport=this.getViewport(f,this.scrollTarget)),this.updateForViewport(),(u&2||F)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),s=this.heightMap,r=this.state.doc,{visibleTop:a,visibleBottom:o}=this,u=new fu(s.lineAt(a-n*1e3,Ce.ByHeight,r,0,0).from,s.lineAt(o+(1-n)*1e3,Ce.ByHeight,r,0,0).to);if(t){let{head:f}=t.range;if(fu.to){let l=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),d=s.lineAt(f,Ce.ByPos,r,0,0),c;t.y=="center"?c=(d.top+d.bottom)/2-l/2:t.y=="start"||t.y=="nearest"&&f=o+Math.max(10,Math.min(n,250)))&&s>a-2e3&&r>1,a=s<<1;if(this.defaultTextDirection!=Di.LTR&&!n)return[];let o=[],u=(f,l,d,c)=>{if(l-ff&&gg.from>=d.from&&g.to<=d.to&&Math.abs(g.from-f)g.fromF));if(!p){if(lg.from<=l&&g.to>=l)){let g=t.moveToLineBoundary(H.cursor(l),!1,!0).head;g>f&&(l=g)}p=new jd(f,l,this.gapSize(d,f,l,c))}o.push(p)};for(let f of this.viewportLines){if(f.lengthf.from&&u(f.from,c,f,l),ht.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];We.spans(e,this.viewport.from,this.viewport.to,{span(s,r){t.push({from:s,to:r})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((s,r)=>s.from!=t[r].from||s.to!=t[r].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||ga(this.heightMap.lineAt(e,Ce.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(e){return ga(this.heightMap.lineAt(this.scaler.fromDOM(e),Ce.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(e){return ga(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class fu{constructor(e,t){this.from=e,this.to=t}}function h6(i,e,t){let n=[],s=i,r=0;return We.spans(t,i,e,{span(){},point(a,o){a>s&&(n.push({from:s,to:a}),r+=a-s),s=o}},20),s=1)return e[e.length-1].to;let n=Math.floor(i*t);for(let s=0;;s++){let{from:r,to:a}=e[s],o=a-r;if(n<=o)return r+n;n-=o}}function du(i,e){let t=0;for(let{from:n,to:s}of i.ranges){if(e<=s){t+=e-n;break}t+=s-n}return t/i.total}function m6(i,e){for(let t of i)if(e(t))return t}const qF={toDOM(i){return i},fromDOM(i){return i},scale:1};class p6{constructor(e,t,n){let s=0,r=0,a=0;this.viewports=n.map(({from:o,to:u})=>{let f=t.lineAt(o,Ce.ByPos,e,0,0).top,l=t.lineAt(u,Ce.ByPos,e,0,0).bottom;return s+=l-f,{from:o,to:u,top:f,bottom:l,domTop:0,domBottom:0}}),this.scale=(7e6-s)/(t.height-s);for(let o of this.viewports)o.domTop=a+(o.top-r)*this.scale,a=o.domBottom=o.domTop+(o.bottom-o.top),r=o.bottom}toDOM(e){for(let t=0,n=0,s=0;;t++){let r=tga(s,e)):i.type)}const cu=me.define({combine:i=>i.join(" ")}),Id=me.define({combine:i=>i.indexOf(!0)>-1}),Nd=Vs.newName(),VF=Vs.newName(),XF=Vs.newName(),ZF={"&light":"."+VF,"&dark":"."+XF};function Ld(i,e,t){return new Vs(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,s=>{if(s=="&")return i;if(!t||!t[s])throw new RangeError(`Unsupported selector: ${s}`);return t[s]}):i+" "+n}})}const F6=Ld("."+Nd,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},ZF);class g6{constructor(e,t,n,s){this.typeOver=s,this.bounds=null,this.text="";let{impreciseHead:r,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let o=r||a?[]:O6(e),u=new hF(o,e.state);u.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=u.text,this.newSel=y6(o,this.bounds.from)}else{let o=e.observer.selectionRange,u=r&&r.node==o.focusNode&&r.offset==o.focusOffset||!Zs(e.contentDOM,o.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(o.focusNode,o.focusOffset),f=a&&a.node==o.anchorNode&&a.offset==o.anchorOffset||!Zs(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset);this.newSel=H.single(f,u)}}}function UF(i,e){let t,{newSel:n}=e,s=i.state.selection.main;if(e.bounds){let{from:r,to:a}=e.bounds,o=s.from,u=null;(i.inputState.lastKeyCode===8&&i.inputState.lastKeyTime>Date.now()-100||G.android&&e.text.length=s.from&&t.to<=s.to&&(t.from!=s.from||t.to!=s.to)&&s.to-s.from-(t.to-t.from)<=4?t={from:s.from,to:s.to,insert:i.state.doc.slice(s.from,t.from).append(t.insert).append(i.state.doc.slice(t.to,s.to))}:(G.mac||G.android)&&t&&t.from==t.to&&t.from==s.head-1&&/^\. ?$/.test(t.insert.toString())?(n&&t.insert.length==2&&(n=H.single(n.main.anchor-1,n.main.head-1)),t={from:s.from,to:s.to,insert:ke.of([" "])}):G.chrome&&t&&t.from==t.to&&t.from==s.head&&t.insert.toString()==` - `&&i.lineWrapping&&(n&&(n=H.single(n.main.anchor-1,n.main.head-1)),t={from:s.from,to:s.to,insert:ke.of([" "])}),t){let r=i.state;if(G.ios&&i.inputState.flushIOSKey(i)||G.android&&(t.from==s.from&&t.to==s.to&&t.insert.length==1&&t.insert.lines==2&&Hs(i.contentDOM,"Enter",13)||t.from==s.from-1&&t.to==s.to&&t.insert.length==0&&Hs(i.contentDOM,"Backspace",8)||t.from==s.from&&t.to==s.to+1&&t.insert.length==0&&Hs(i.contentDOM,"Delete",46)))return!0;let a=t.insert.toString();if(i.state.facet(sF).some(f=>f(i,t.from,t.to,a)))return!0;i.inputState.composing>=0&&i.inputState.composing++;let o;if(t.from>=s.from&&t.to<=s.to&&t.to-t.from>=(s.to-s.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&i.inputState.composing<0){let f=s.fromt.to?r.sliceDoc(t.to,s.to):"";o=r.replaceSelection(i.state.toText(f+t.insert.sliceString(0,void 0,i.state.lineBreak)+l))}else{let f=r.changes(t),l=n&&!r.selection.main.eq(n.main)&&n.main.to<=f.newLength?n.main:void 0;if(r.selection.ranges.length>1&&i.inputState.composing>=0&&t.to<=s.to&&t.to>=s.to-10){let d=i.state.sliceDoc(t.from,t.to),c=vF(i)||i.state.doc.lineAt(s.head),h=s.to-t.to,m=s.to-s.from;o=r.changeByRange(p=>{if(p.from==s.from&&p.to==s.to)return{changes:f,range:l||p.map(f)};let g=p.to-h,F=g-d.length;if(p.to-p.from!=m||i.state.sliceDoc(F,g)!=d||c&&p.to>=c.from&&p.from<=c.to)return{range:p};let v=r.changes({from:F,to:g,insert:t.insert}),O=p.to-s.to;return{changes:v,range:l?H.range(Math.max(0,l.anchor+O),Math.max(0,l.head+O)):p.map(v)}})}else o={changes:f,selection:l&&r.selection.replaceRange(l)}}let u="input.type";return i.composing&&(u+=".compose",i.inputState.compositionFirstChange&&(u+=".start",i.inputState.compositionFirstChange=!1)),i.dispatch(o,{scrollIntoView:!0,userEvent:u}),!0}else if(n&&!n.main.eq(s)){let r=!1,a="select";return i.inputState.lastSelectionTime>Date.now()-50&&(i.inputState.lastSelectionOrigin=="select"&&(r=!0),a=i.inputState.lastSelectionOrigin),i.dispatch({selection:n,scrollIntoView:r,userEvent:a}),!0}else return!1}function v6(i,e,t,n){let s=Math.min(i.length,e.length),r=0;for(;r0&&o>0&&i.charCodeAt(a-1)==e.charCodeAt(o-1);)a--,o--;if(n=="end"){let u=Math.max(0,r-Math.min(a,o));t-=a+u-r}return a=a?r-t:0,o=r+(o-a),a=r):o=o?r-t:0,a=r+(a-o),o=r),{from:r,toA:a,toB:o}}function O6(i){let e=[];if(i.root.activeElement!=i.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:s,focusOffset:r}=i.observer.selectionRange;return t&&(e.push(new pF(t,n)),(s!=t||r!=n)&&e.push(new pF(s,r))),e}function y6(i,e){if(i.length==0)return null;let t=i[0].pos,n=i.length==2?i[1].pos:t;return t>-1&&n>-1?H.single(t+e,n+e):null}const k6={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},zd=G.ie&&G.ie_version<=11;class w6{constructor(e){this.view=e,this.active=!1,this.selectionRange=new h_,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(G.ie&&G.ie_version<=11||G.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),zd&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resize=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,s=this.selectionRange;if(n.state.facet(au)?n.root.activeElement!=this.dom:!Ko(n.dom,s))return;let r=s.anchorNode&&n.docView.nearest(s.anchorNode);if(r&&r.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(G.ie&&G.ie_version<=11||G.android&&G.chrome)&&!n.state.selection.main.empty&&s.focusNode&&Jo(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=G.safari&&e.root.nodeType==11&&l_(this.dom.ownerDocument)==this.dom&&b6(this.view)||Yo(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=Ko(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let r=this.delayedAndroidKey;r&&(this.clearDelayedAndroidKey(),!this.flush()&&r.force&&Hs(this.dom,r.key,r.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(s)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}processRecords(){let e=this.queue;for(let r of this.observer.takeRecords())e.push(r);e.length&&(this.queue=[]);let t=-1,n=-1,s=!1;for(let r of e){let a=this.readMutation(r);!a||(a.typeOver&&(s=!0),t==-1?{from:t,to:n}=a:(t=Math.min(a.from,t),n=Math.max(a.to,n)))}return{from:t,to:n,typeOver:s}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),s=this.selectionChanged&&Ko(this.dom,this.selectionRange);return e<0&&!s?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new g6(this.view,e,t,n))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,s=UF(this.view,t);return this.view.state==n&&this.view.update([]),s}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.dirty|=4),e.type=="childList"){let n=GF(t,e.previousSibling||e.target.previousSibling,-1),s=GF(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:s?t.posBefore(s):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resize)===null||n===void 0||n.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function GF(i,e,t){for(;e;){let n=Ee.get(e);if(n&&n.parent==i)return n;let s=e.parentNode;e=s!=i.dom?s:t>0?e.nextSibling:e.previousSibling}return null}function b6(i){let e=null;function t(u){u.preventDefault(),u.stopImmediatePropagation(),e=u.getTargetRanges()[0]}if(i.contentDOM.addEventListener("beforeinput",t,!0),i.dom.ownerDocument.execCommand("indent"),i.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,s=e.startOffset,r=e.endContainer,a=e.endOffset,o=i.docView.domAtPos(i.state.selection.main.anchor);return Jo(o.node,o.offset,r,a)&&([n,s,r,a]=[r,a,n,s]),{anchorNode:n,anchorOffset:s,focusNode:r,focusOffset:a}}class Ie{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||m_(e.parent)||document,this.viewState=new WF(e.state||be.create(e)),this.plugins=this.state.facet(ha).map(t=>new Cd(t));for(let t of this.plugins)t.update(this);this.observer=new w6(this),this.inputState=new q_(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new FF(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){this._dispatch(e.length==1&&e[0]instanceof gi?e[0]:this.state.update(...e))}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,s,r=this.state;for(let f of e){if(f.startState!=r)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");r=f.state}if(this.destroyed){this.viewState.state=r;return}let a=this.observer.delayedAndroidKey,o=null;if(a?(this.observer.clearDelayedAndroidKey(),o=this.observer.readChange(),(o&&!this.state.doc.eq(r.doc)||!this.state.selection.eq(r.selection))&&(o=null)):this.observer.clear(),r.facet(be.phrases)!=this.state.facet(be.phrases))return this.setState(r);s=ou.create(this,r,e);let u=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(u&&(u=u.map(f.changes)),f.scrollIntoView){let{main:l}=f.state.selection;u=new ru(l.empty?l:H.cursor(l.head,l.head>l.anchor?-1:1))}for(let l of f.effects)l.is(aF)&&(u=l.value)}this.viewState.update(s,u),this.bidiCache=hu.update(this.bidiCache,s.changes),s.empty||(this.updatePlugins(s),this.inputState.update(s)),t=this.docView.update(s),this.state.facet(Fa)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(s.startState.facet(cu)!=s.state.facet(cu)&&(this.viewState.mustMeasureContent=!0),(t||n||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!s.empty)for(let f of this.state.facet(Ed))f(s);o&&!UF(this,o)&&a.force&&Hs(this.contentDOM,a.key,a.keyCode)}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new WF(e),this.plugins=e.facet(ha).map(n=>new Cd(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new FF(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(ha),n=e.state.facet(ha);if(t!=n){let s=[];for(let r of n){let a=t.indexOf(r);if(a<0)s.push(new Cd(r));else{let o=this.plugins[a];o.mustUpdate=e,s.push(o)}}for(let r of this.plugins)r.mustUpdate!=e&&r.destroy(this);this.plugins=s,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let s of this.plugins)s.mustUpdate=e;for(let s=0;s-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,{scrollHeight:n,scrollTop:s,clientHeight:r}=this.scrollDOM,a=s>n-r-4?n:s;try{for(let o=0;;o++){this.updateState=1;let u=this.viewport,f=this.viewState.lineBlockAtHeight(a),l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let d=[];l&4||([this.measureRequests,d]=[d,this.measureRequests]);let c=d.map(g=>{try{return g.read(this)}catch(F){return Sn(this.state,F),HF}}),h=ou.create(this,this.state,[]),m=!1,p=!1;h.flags|=l,t?t.flags|=l:t=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),m=this.docView.update(h));for(let g=0;g1||g<-1)&&(this.scrollDOM.scrollTop+=g,p=!0)}if(m&&this.docView.updateSelection(!0),this.viewport.from==u.from&&this.viewport.to==u.to&&!p&&this.measureRequests.length==0)break}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let o of this.state.facet(Ed))o(t)}get themeClasses(){return Nd+" "+(this.state.facet(Id)?XF:VF)+" "+this.state.facet(cu)}updateAttrs(){let e=YF(this,oF,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(au)?"true":"false",class:"cm-content",style:`${G.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),YF(this,xd,t);let n=this.observer.ignore(()=>{let s=_d(this.contentDOM,this.contentAttrs,t),r=_d(this.dom,this.editorAttrs,e);return s||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let s of n.effects)if(s.is(Ie.announce)){t&&(this.announceDOM.textContent=""),t=!1;let r=this.announceDOM.appendChild(document.createElement("div"));r.textContent=s.value}}mountStyles(){this.styleModules=this.state.facet(Fa),Vs.mount(this.root,this.styleModules.concat(F6).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(e.key!=null){for(let t=0;tn.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return Ad(this,e,SF(this,e,t,n))}moveByGroup(e,t){return Ad(this,e,SF(this,e,t,n=>z_(this,e.head,n)))}moveToLineBoundary(e,t,n=!0){return L_(this,e,t,n)}moveVertically(e,t,n){return Ad(this,e,W_(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),bF(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let s=this.state.doc.lineAt(e),r=this.bidiSpans(s),a=r[Ks.find(r,e-s.from,-1,t)];return md(n,a.dir==Di.LTR==t>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(rF)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>_6)return dF(e.length);let t=this.textDirectionAt(e.from);for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t)return s.order;let n=E_(e.text,t);return this.bidiCache.push(new hu(e.from,e.to,t,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||G.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Mp(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return aF.of(new ru(typeof e=="number"?H.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return ma.define(()=>({}),{eventHandlers:e})}static theme(e,t){let n=Vs.newName(),s=[cu.of(n),Fa.of(Ld(`.${n}`,e))];return t&&t.dark&&s.push(Id.of(!0)),s}static baseTheme(e){return Gb.lowest(Fa.of(Ld("."+Nd,e,ZF)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),s=n&&Ee.get(n)||Ee.get(e);return((t=s==null?void 0:s.rootView)===null||t===void 0?void 0:t.view)||null}}Ie.styleModule=Fa,Ie.inputHandler=sF,Ie.perLineTextDirection=rF,Ie.exceptionSink=nF,Ie.updateListener=Ed,Ie.editable=au,Ie.mouseSelectionStyle=tF,Ie.dragMovesSelection=iF,Ie.clickAddsSelectionRange=eF,Ie.decorations=pa,Ie.atomicRanges=uF,Ie.scrollMargins=fF,Ie.darkTheme=Id,Ie.contentAttributes=xd,Ie.editorAttributes=oF,Ie.lineWrapping=Ie.contentAttributes.of({class:"cm-lineWrapping"}),Ie.announce=Ge.define();const _6=4096,HF={};class hu{constructor(e,t,n,s){this.from=e,this.to=t,this.dir=n,this.order=s}static update(e,t){if(t.empty)return e;let n=[],s=e.length?e[e.length-1].dir:Di.LTR;for(let r=Math.max(0,e.length-10);r=0;s--){let r=n[s],a=typeof r=="function"?r(i):r;a&&wd(a,t)}return t}class Js extends ds{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Js.prototype.elementClass="",Js.prototype.toDOM=void 0,Js.prototype.mapMode=Vi.TrackBefore,Js.prototype.startSide=Js.prototype.endSide=-1,Js.prototype.point=!0;const KF=1024;let S6=0;class rt{constructor(e,t){this.from=e,this.to=t}}class ge{constructor(e={}){this.id=S6++,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=Ci.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}ge.closedBy=new ge({deserialize:i=>i.split(" ")}),ge.openedBy=new ge({deserialize:i=>i.split(" ")}),ge.group=new ge({deserialize:i=>i.split(" ")}),ge.contextHash=new ge({perNode:!0}),ge.lookAhead=new ge({perNode:!0}),ge.mounted=new ge({perNode:!0});class D6{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const E6=Object.create(null);class Ci{constructor(e,t,n,s=0){this.name=e,this.props=t,this.id=n,this.flags=s}static define(e){let t=e.props&&e.props.length?Object.create(null):E6,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),s=new Ci(e.name||"",t,e.id,n);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(s)),r){if(r[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return s}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 t=this.prop(ge.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let s of n.split(" "))t[s]=e[n];return n=>{for(let s=n.prop(ge.group),r=-1;r<(s?s.length:0);r++){let a=t[r<0?n.name:s[r]];if(a)return a}}}}Ci.none=new Ci("",Object.create(null),0,8);class Wd{constructor(e){this.types=e;for(let t=0;t=s&&(a.type.isAnonymous||t(a)!==!1)){if(a.firstChild())continue;o=!0}for(;o&&n&&!a.type.isAnonymous&&n(a),!a.nextSibling();){if(!a.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 t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:Xd(Ci.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,s)=>new Ae(this.type,t,n,s,this.propValues),e.makeTree||((t,n,s)=>new Ae(Ci.none,t,n,s)))}static build(e){return x6(e)}}Ae.empty=new Ae(Ci.none,[],[],0);class qd{constructor(e,t){this.buffer=e,this.index=t}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 qd(this.buffer,this.index)}}class ms{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return Ci.none}toString(){let e=[];for(let t=0;t0));u=a[u+3]);return o}slice(e,t,n,s){let r=this.buffer,a=new Uint16Array(t-e);for(let o=e,u=0;o=e&&te;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function ig(i,e){let t=i.childBefore(e);for(;t;){let n=t.lastChild;if(!n||n.to!=t.to)break;n.type.isError&&n.from==n.to?(i=t,t=n.prevSibling):t=n}return i}function er(i,e,t,n){for(var s;i.from==i.to||(t<1?i.from>=e:i.from>e)||(t>-1?i.to<=e:i.to0?o.length:-1;e!=f;e+=t){let l=o[e],d=u[e]+a.from;if(eg(s,n,d,d+l.length)){if(l instanceof ms){if(r&Pe.ExcludeBuffers)continue;let c=l.findChild(0,l.buffer.length,t,n-d,s);if(c>-1)return new Cn(new C6(a,l,e,d),null,c)}else if(r&Pe.IncludeAnonymous||!l.type.isAnonymous||Vd(l)){let c;if(!(r&Pe.IgnoreMounts)&&l.props&&(c=l.prop(ge.mounted))&&!c.overlay)return new wt(c.tree,d,e,a);let h=new wt(l,d,e,a);return r&Pe.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(t<0?l.children.length-1:0,t,n,s)}}}if(r&Pe.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+t:e=t<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(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let s;if(!(n&Pe.IgnoreOverlays)&&(s=this._tree.prop(ge.mounted))&&s.overlay){let r=e-this.from;for(let{from:a,to:o}of s.overlay)if((t>0?a<=r:a=r:o>r))return new wt(s.tree,s.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}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 va(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return er(this,e,t,!1)}resolveInner(e,t=0){return er(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ig(this,e)}getChild(e,t=null,n=null){let s=pu(this,e,t,n);return s.length?s[0]:null}getChildren(e,t=null,n=null){return pu(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Fu(this,e)}}function pu(i,e,t,n){let s=i.cursor(),r=[];if(!s.firstChild())return r;if(t!=null){for(;!s.type.is(t);)if(!s.nextSibling())return r}for(;;){if(n!=null&&s.type.is(n))return r;if(s.type.is(e)&&r.push(s.node),!s.nextSibling())return n==null?r:[]}}function Fu(i,e,t=e.length-1){for(let n=i.parent;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class C6{constructor(e,t,n,s){this.parent=e,this.buffer=t,this.index=n,this.start=s}}class Cn{constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}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,t,n){let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new Cn(this.context,this,r)}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,t,n=0){if(n&Pe.ExcludeBuffers)return null;let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return r<0?null:new Cn(this.context,this,r)}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,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Cn(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new Cn(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new va(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,s=this.index+4,r=n.buffer[this.index+3];if(r>s){let a=n.buffer[this.index+1],o=n.buffer[this.index+2];e.push(n.slice(s,r,a,o)),t.push(0)}return new Ae(this.type,e,t,this.to-this.from)}resolve(e,t=0){return er(this,e,t,!1)}resolveInner(e,t=0){return er(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ig(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let s=pu(this,e,t,n);return s.length?s[0]:null}getChildren(e,t=null,n=null){return pu(this,e,t,n)}get node(){return this}matchContext(e){return Fu(this,e)}}class va{constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof wt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.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,t){this.index=e;let{start:n,buffer:s}=this.buffer;return this.type=t||s.set.types[s.buffer[e]],this.from=n+s.buffer[e+1],this.to=n+s.buffer[e+2],!0}yield(e){return e?e instanceof wt?(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,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:s}=this.buffer,r=s.findChild(this.index+4,s.buffer[this.index+3],e,t-this.buffer.start,n);return r<0?!1:(this.stack.push(this.index),this.yieldBuf(r))}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,t,n=this.mode){return this.buffer?n&Pe.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Pe.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Pe.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:t}=this.buffer,n=this.stack.length-1;if(e<0){let s=n<0?0:this.stack[n]+4;if(this.index!=s)return this.yieldBuf(t.findChild(s,this.index,-1,0,4))}else{let s=t.buffer[this.index+3];if(s<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(s)}return n<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 t,n,{buffer:s}=this;if(s){if(e>0){if(this.index-1)for(let r=t+e,a=e<0?-1:n._tree.children.length;r!=a;r+=e){let o=n._tree.children[r];if(this.mode&Pe.IncludeAnonymous||o instanceof ms||!o.type.isAnonymous||Vd(o))return!1}return!0}move(e,t){if(t&&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,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let a=e;a;a=a._parent)if(a.index==s){if(s==this.index)return a;t=a,n=r+1;break e}s=this.stack[--r]}}for(let s=n;s=0;r--){if(r<0)return Fu(this.node,e,s);let a=n[t.buffer[this.stack[r]]];if(!a.isAnonymous){if(e[s]&&e[s]!=a.name)return!1;s--}}return!0}}function Vd(i){return i.children.some(e=>e instanceof ms||!e.type.isAnonymous||Vd(e))}function x6(i){var e;let{buffer:t,nodeSet:n,maxBufferLength:s=KF,reused:r=[],minRepeatType:a=n.types.length}=i,o=Array.isArray(t)?new qd(t,t.length):t,u=n.types,f=0,l=0;function d(b,E,S,C,k){let{id:D,start:x,end:$,size:T}=o,N=l;for(;T<0;)if(o.next(),T==-1){let ae=r[D];S.push(ae),C.push(x-b);return}else if(T==-3){f=D;return}else if(T==-4){l=D;return}else throw new RangeError(`Unrecognized record size: ${T}`);let j=u[D],ie,te,ve=x-b;if($-x<=s&&(te=p(o.pos-E,k))){let ae=new Uint16Array(te.size-te.skip),Se=o.pos-te.size,Bi=ae.length;for(;o.pos>Se;)Bi=g(te.start,ae,Bi);ie=new ms(ae,$-te.start,n),ve=te.start-b}else{let ae=o.pos-T;o.next();let Se=[],Bi=[],xi=D>=a?D:-1,di=0,ys=$;for(;o.pos>ae;)xi>=0&&o.id==xi&&o.size>=0?(o.end<=ys-s&&(h(Se,Bi,x,di,o.end,ys,xi,N),di=Se.length,ys=o.end),o.next()):d(x,ae,Se,Bi,xi);if(xi>=0&&di>0&&di-1&&di>0){let cf=c(j);ie=Xd(j,Se,Bi,0,Se.length,0,$-x,cf,cf)}else ie=m(j,Se,Bi,$-x,N-$)}S.push(ie),C.push(ve)}function c(b){return(E,S,C)=>{let k=0,D=E.length-1,x,$;if(D>=0&&(x=E[D])instanceof Ae){if(!D&&x.type==b&&x.length==C)return x;($=x.prop(ge.lookAhead))&&(k=S[D]+x.length+$)}return m(b,E,S,C,k)}}function h(b,E,S,C,k,D,x,$){let T=[],N=[];for(;b.length>C;)T.push(b.pop()),N.push(E.pop()+S-k);b.push(m(n.types[x],T,N,D-k,$-D)),E.push(k-S)}function m(b,E,S,C,k=0,D){if(f){let x=[ge.contextHash,f];D=D?[x].concat(D):[x]}if(k>25){let x=[ge.lookAhead,k];D=D?[x].concat(D):[x]}return new Ae(b,E,S,C,D)}function p(b,E){let S=o.fork(),C=0,k=0,D=0,x=S.end-s,$={size:0,start:0,skip:0};e:for(let T=S.pos-b;S.pos>T;){let N=S.size;if(S.id==E&&N>=0){$.size=C,$.start=k,$.skip=D,D+=4,C+=4,S.next();continue}let j=S.pos-N;if(N<0||j=a?4:0,te=S.start;for(S.next();S.pos>j;){if(S.size<0)if(S.size==-3)ie+=4;else break e;else S.id>=a&&(ie+=4);S.next()}k=te,C+=N,D+=ie}return(E<0||C==b)&&($.size=C,$.start=k,$.skip=D),$.size>4?$:void 0}function g(b,E,S){let{id:C,start:k,end:D,size:x}=o;if(o.next(),x>=0&&C4){let T=o.pos-(x-4);for(;o.pos>T;)S=g(b,E,S)}E[--S]=$,E[--S]=D-b,E[--S]=k-b,E[--S]=C}else x==-3?f=C:x==-4&&(l=C);return S}let F=[],v=[];for(;o.pos>0;)d(i.start||0,i.bufferStart||0,F,v,-1);let O=(e=i.length)!==null&&e!==void 0?e:F.length?v[0]+F[0].length:0;return new Ae(u[i.topID],F.reverse(),v.reverse(),O)}const tg=new WeakMap;function gu(i,e){if(!i.isAnonymous||e instanceof ms||e.type!=i)return 1;let t=tg.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=i||!(n instanceof Ae)){t=1;break}t+=gu(i,n)}tg.set(e,t)}return t}function Xd(i,e,t,n,s,r,a,o,u){let f=0;for(let m=n;m=l)break;S+=C}if(O==b+1){if(S>l){let C=m[b];h(C.children,C.positions,0,C.children.length,p[b]+v);continue}d.push(m[b])}else{let C=p[O-1]+m[O-1].length-E;d.push(Xd(i,m,p,b,O,E,C,null,u))}c.push(E+v-r)}}return h(e,t,n,s,0),(o||u)(d,c,a)}class Vt{constructor(e,t,n,s,r=!1,a=!1){this.from=e,this.to=t,this.tree=n,this.offset=s,this.open=(r?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let s=[new Vt(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&s.push(r);return s}static applyChanges(e,t,n=128){if(!t.length)return e;let s=[],r=1,a=e.length?e[0]:null;for(let o=0,u=0,f=0;;o++){let l=o=n)for(;a&&a.from=c.from||d<=c.to||f){let h=Math.max(c.from,u)-f,m=Math.min(c.to,d)-f;c=h>=m?null:new Vt(h,m,c.tree,c.offset+f,o>0,!!l)}if(c&&s.push(c),a.to>d)break;a=rnew rt(s.from,s.to)):[new rt(0,0)]:[new rt(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let s=this.startParse(e,t,n);for(;;){let r=s.advance();if(r)return r}}}class Q6{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function $6(i){return(e,t,n,s)=>new P6(e,i,t,n,s)}class sg{constructor(e,t,n,s,r){this.parser=e,this.parse=t,this.overlay=n,this.target=s,this.ranges=r}}class T6{constructor(e,t,n,s,r,a,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=s,this.start=r,this.target=a,this.prev=o,this.depth=0,this.ranges=[]}}const Zd=new ge({perNode:!0});class P6{constructor(e,t,n,s,r){this.nest=t,this.input=n,this.fragments=s,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let s of this.inner)s.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new Ae(n.type,n.children,n.positions,n.length,n.propValues.concat([[Zd,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[ge.mounted.id]=new D6(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;tl.frag.from<=s.from&&l.frag.to>=s.to&&l.mount.overlay);if(f)for(let l of f.mount.overlay){let d=l.from+f.pos,c=l.to+f.pos;d>=s.from&&c<=s.to&&!t.ranges.some(h=>h.fromd)&&t.ranges.push({from:d,to:c})}}o=!1}else if(n&&(a=A6(n.ranges,s.from,s.to)))o=a!=2;else if(!s.type.isAnonymous&&s.fromnew rt(d.from-s.from,d.to-s.from)):null,s.tree,l)),r.overlay?l.length&&(n={ranges:l,depth:0,prev:n}):o=!1}}else t&&(u=t.predicate(s))&&(u===!0&&(u=new rt(s.from,s.to)),u.fromnew rt(l.from-t.start,l.to-t.start)),t.target,f)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function A6(i,e,t){for(let n of i){if(n.from>=t)break;if(n.to>e)return n.from<=e&&n.to>=t?2:1}return 0}function rg(i,e,t,n,s,r){if(e=e.to);n++);let a=s.children[n],o=a.buffer;function u(f,l,d,c,h){let m=f;for(;o[m+2]+r<=e.from;)m=o[m+3];let p=[],g=[];rg(a,f,m,p,g,c);let F=o[m+1],v=o[m+2],O=F+r==e.from&&v+r==e.to&&o[m]==e.type.id;return p.push(O?e.toTree():u(m+4,o[m+3],a.set.types[o[m]],F,v-F)),g.push(F-c),rg(a,o[m+3],l,p,g,c),new Ae(d,p,g,h)}s.children[n]=u(0,o.length,Ci.none,0,a.length);for(let f=0;f<=t;f++)i.childAfter(e.from)}class ag{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Pe.IncludeAnonymous|Pe.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from=e&&t.enter(n,1,Pe.IgnoreOverlays|Pe.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof Ae)t=t.children[0];else break}return!1}}class B6{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(t=n.tree.prop(Zd))!==null&&t!==void 0?t:n.to,this.inner=new ag(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(Zd))!==null&&e!==void 0?e:t.to,this.inner=new ag(t.tree,-t.offset)}}findMounts(e,t){var n;let s=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let r=this.inner.cursor.node;r;r=r.parent){let a=(n=r.tree)===null||n===void 0?void 0:n.prop(ge.mounted);if(a&&a.parser==t)for(let o=this.fragI;o=r.to)break;u.tree==this.curFrag.tree&&s.push({frag:u,pos:r.from-u.offset,mount:a})}}}return s}}function og(i,e){let t=null,n=e;for(let s=1,r=0;s=o)break;u.to<=a||(t||(n=t=e.slice()),u.fromo&&t.splice(r+1,0,new rt(o,u.to))):u.to>o?t[r--]=new rt(o,u.to):t.splice(r--,1))}}return n}function R6(i,e,t,n){let s=0,r=0,a=!1,o=!1,u=-1e9,f=[];for(;;){let l=s==i.length?1e9:a?i[s].to:i[s].from,d=r==e.length?1e9:o?e[r].to:e[r].from;if(a!=o){let c=Math.max(u,t),h=Math.min(l,d,n);cnew rt(c.from+n,c.to+n)),d=R6(e,l,u,f);for(let c=0,h=u;;c++){let m=c==d.length,p=m?f:d[c].from;if(p>h&&t.push(new Vt(h,p,s.tree,-a,r.from>=h||r.openStart,r.to<=p||r.openEnd)),m)break;h=d[c].to}}else t.push(new Vt(u,f,s.tree,-a,r.from>=a||r.openStart,r.to<=o||r.openEnd))}return t}let j6=0;class bt{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=j6++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new bt([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new vu;return t=>t.modified.indexOf(e)>-1?t:vu.get(t.base||t,t.modified.concat(e).sort((n,s)=>n.id-s.id))}}let I6=0;class vu{constructor(){this.instances=[],this.id=I6++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(o=>o.base==e&&N6(t,o.modified));if(n)return n;let s=[],r=new bt(s,e,t);for(let o of t)o.instances.push(r);let a=fg(t);for(let o of e.set)for(let u of a)s.push(vu.get(o,u));return r}}function N6(i,e){return i.length==e.length&&i.every((t,n)=>t==e[n])}function fg(i){let e=[i];for(let t=0;t0&&d+3==s.length){a=1;break}let c=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!c)throw new RangeError("Invalid path: "+s);if(r.push(c[0]=="*"?"":c[0][0]=='"'?JSON.parse(c[0]):c[0]),d+=c[0].length,d==s.length)break;let h=s[d++];if(d==s.length&&h=="!"){a=0;break}if(h!="/")throw new RangeError("Invalid path: "+s);o=s.slice(d)}let u=r.length-1,f=r[u];if(!f)throw new RangeError("Invalid path: "+s);let l=new Ud(n,a,u>0?r.slice(0,u):null);e[f]=l.sort(e[f])}}return L6.add(e)}const L6=new ge;class Ud{constructor(e,t,n,s){this.tags=e,this.mode=t,this.context=n,this.next=s}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let a=s;for(let o of r)for(let u of o.set){let f=t[u.id];if(f){a=a?a+" "+f:f;break}}return a},scope:n}}const W=bt.define,Ou=W(),xn=W(),lg=W(xn),dg=W(xn),Qn=W(),yu=W(Qn),Gd=W(Qn),_t=W(),ps=W(_t),St=W(),Dt=W(),Hd=W(),ya=W(Hd),ku=W(),_={comment:Ou,lineComment:W(Ou),blockComment:W(Ou),docComment:W(Ou),name:xn,variableName:W(xn),typeName:lg,tagName:W(lg),propertyName:dg,attributeName:W(dg),className:W(xn),labelName:W(xn),namespace:W(xn),macroName:W(xn),literal:Qn,string:yu,docString:W(yu),character:W(yu),attributeValue:W(yu),number:Gd,integer:W(Gd),float:W(Gd),bool:W(Qn),regexp:W(Qn),escape:W(Qn),color:W(Qn),url:W(Qn),keyword:St,self:W(St),null:W(St),atom:W(St),unit:W(St),modifier:W(St),operatorKeyword:W(St),controlKeyword:W(St),definitionKeyword:W(St),moduleKeyword:W(St),operator:Dt,derefOperator:W(Dt),arithmeticOperator:W(Dt),logicOperator:W(Dt),bitwiseOperator:W(Dt),compareOperator:W(Dt),updateOperator:W(Dt),definitionOperator:W(Dt),typeOperator:W(Dt),controlOperator:W(Dt),punctuation:Hd,separator:W(Hd),bracket:ya,angleBracket:W(ya),squareBracket:W(ya),paren:W(ya),brace:W(ya),content:_t,heading:ps,heading1:W(ps),heading2:W(ps),heading3:W(ps),heading4:W(ps),heading5:W(ps),heading6:W(ps),contentSeparator:W(_t),list:W(_t),quote:W(_t),emphasis:W(_t),strong:W(_t),link:W(_t),monospace:W(_t),strikethrough:W(_t),inserted:W(),deleted:W(),changed:W(),invalid:W(),meta:ku,documentMeta:W(ku),annotation:W(ku),processingInstruction:W(ku),definition:bt.defineModifier(),constant:bt.defineModifier(),function:bt.defineModifier(),standard:bt.defineModifier(),local:bt.defineModifier(),special:bt.defineModifier()};z6([{tag:_.link,class:"tok-link"},{tag:_.heading,class:"tok-heading"},{tag:_.emphasis,class:"tok-emphasis"},{tag:_.strong,class:"tok-strong"},{tag:_.keyword,class:"tok-keyword"},{tag:_.atom,class:"tok-atom"},{tag:_.bool,class:"tok-bool"},{tag:_.url,class:"tok-url"},{tag:_.labelName,class:"tok-labelName"},{tag:_.inserted,class:"tok-inserted"},{tag:_.deleted,class:"tok-deleted"},{tag:_.literal,class:"tok-literal"},{tag:_.string,class:"tok-string"},{tag:_.number,class:"tok-number"},{tag:[_.regexp,_.escape,_.special(_.string)],class:"tok-string2"},{tag:_.variableName,class:"tok-variableName"},{tag:_.local(_.variableName),class:"tok-variableName tok-local"},{tag:_.definition(_.variableName),class:"tok-variableName tok-definition"},{tag:_.special(_.variableName),class:"tok-variableName2"},{tag:_.definition(_.propertyName),class:"tok-propertyName tok-definition"},{tag:_.typeName,class:"tok-typeName"},{tag:_.namespace,class:"tok-namespace"},{tag:_.className,class:"tok-className"},{tag:_.macroName,class:"tok-macroName"},{tag:_.propertyName,class:"tok-propertyName"},{tag:_.operator,class:"tok-operator"},{tag:_.comment,class:"tok-comment"},{tag:_.meta,class:"tok-meta"},{tag:_.invalid,class:"tok-invalid"},{tag:_.punctuation,class:"tok-punctuation"}]);var Yd;const wu=new ge;function W6(i){return me.define({combine:i?e=>e.concat(i):void 0})}class Et{constructor(e,t,n=[],s=""){this.data=e,this.name=s,be.prototype.hasOwnProperty("tree")||Object.defineProperty(be.prototype,"tree",{get(){return Kd(this)}}),this.parser=t,this.extension=[nr.of(this),be.languageData.of((r,a,o)=>r.facet(cg(r,a,o)))].concat(n)}isActiveAt(e,t,n=-1){return cg(e,t,n)==this.data}findRegions(e){let t=e.facet(nr);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],s=(r,a)=>{if(r.prop(wu)==this.data){n.push({from:a,to:a+r.length});return}let o=r.prop(ge.mounted);if(o){if(o.tree.prop(wu)==this.data){if(o.overlay)for(let u of o.overlay)n.push({from:u.from+a,to:u.to+a});else n.push({from:a,to:a+r.length});return}else if(o.overlay){let u=n.length;if(s(o.tree,o.overlay[0].from+a),n.length>u)return}}for(let u=0;un.isTop?t:void 0)]}),e.name)}configure(e,t){return new ir(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Kd(i){let e=i.field(Et.state,!1);return e?e.tree:Ae.empty}class q6{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let ka=null;class bu{constructor(e,t,n=[],s,r,a,o,u){this.parser=e,this.state=t,this.fragments=n,this.tree=s,this.treeLen=r,this.viewport=a,this.skipped=o,this.scheduleOn=u,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new bu(e,t,[],Ae.empty,0,n,[],null)}startParse(){return this.parser.startParse(new q6(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Ae.empty&&this.isDone(t!=null?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let s=Date.now()+e;e=()=>Date.now()>s}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Vt.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=ka;ka=this;try{return e()}finally{ka=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=hg(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:s,treeLen:r,viewport:a,skipped:o}=this;if(this.takeTree(),!e.empty){let u=[];if(e.iterChangedRanges((f,l,d,c)=>u.push({fromA:f,toA:l,fromB:d,toB:c})),n=Vt.applyChanges(n,u),s=Ae.empty,r=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){o=[];for(let f of this.skipped){let l=e.mapPos(f.from,1),d=e.mapPos(f.to,-1);le.from&&(this.fragments=hg(this.fragments,s,r),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends ng{createParse(t,n,s){let r=s[0].from,a=s[s.length-1].to;return{parsedPos:r,advance(){let o=ka;if(o){for(let u of s)o.tempSkipped.push(u);e&&(o.scheduleOn=o.scheduleOn?Promise.all([o.scheduleOn,e]):e)}return this.parsedPos=a,new Ae(Ci.none,[],[],a-r)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return ka}}function hg(i,e,t){return Vt.applyChanges(i,[{fromA:e,toA:t,fromB:e,toB:t}])}class tr{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new tr(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=bu.create(e.facet(nr).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new tr(n)}}Et.state=fs.define({create:tr.init,update(i,e){for(let t of e.effects)if(t.is(Et.setState))return t.value;return e.startState.facet(nr)!=e.state.facet(nr)?tr.init(e.state):i.apply(e)}});let mg=i=>{let e=setTimeout(()=>i(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(mg=i=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(i,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Jd=typeof navigator<"u"&&((Yd=navigator.scheduling)===null||Yd===void 0?void 0:Yd.isInputPending)?()=>navigator.scheduling.isInputPending():null,V6=ma.fromClass(class{constructor(i){this.view=i,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(i){let e=this.view.state.field(Et.state).context;(e.updateViewport(i.view.viewport)||this.view.viewport.to>e.treeLen)&&this.scheduleWork(),i.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:i}=this.view,e=i.field(Et.state);(e.tree!=e.context.tree||!e.context.isDone(i.doc.length))&&(this.working=mg(this.work))}work(i){this.working=null;let e=Date.now();if(this.chunkEndn+1e3,o=s.context.work(()=>Jd&&Jd()||Date.now()>r,n+(a?0:1e5));this.chunkBudget-=Date.now()-e,(o||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Et.setState.of(new tr(s.context))})),this.chunkBudget>0&&!(o&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(i){i.scheduleOn&&(this.workScheduled++,i.scheduleOn.then(()=>this.scheduleWork()).catch(e=>Sn(this.view.state,e)).then(()=>this.workScheduled--),i.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),nr=me.define({combine(i){return i.length?i[0]:null},enables:i=>[Et.state,V6,Ie.contentAttributes.compute([i],e=>{let t=e.facet(i);return t&&t.name?{"data-language":t.name}:{}})]}),e1=new ge;function X6(i){let e=i.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let s=i.options.simulateBreak,r=i.state.doc.lineAt(t.from),a=s==null||s<=r.from?r.to:Math.min(r.to,s);for(let o=t.to;;){let u=e.childAfter(o);if(!u||u==n)return null;if(!u.type.isSkipped)return u.fromU6(n,e,t,i)}function U6(i,e,t,n,s){let r=i.textAfter,a=r.match(/^\s*/)[0].length,o=n&&r.slice(a,a+n.length)==n||s==i.pos+a,u=e?X6(i):null;return u?o?i.column(u.from):i.column(u.to):i.baseIndent+(o?0:i.unit*t)}const G6=i=>i.baseIndent;function _u({except:i,units:e=1}={}){return t=>{let n=i&&i.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const i1=new ge;function pg(i){let e=i.firstChild,t=i.lastChild;return e&&e.to-1||(gg.push(i),console.warn(e))}function K6(i,e){let t=null;for(let r of e.split(".")){let a=i[r]||_[r];a?typeof a=="function"?t?t=a(t):t1(r,`Modifier ${r} used at start of tag`):t?t1(r,`Tag ${r} used as modifier`):t=a:t1(r,`Unknown highlighting tag ${r}`)}if(!t)return 0;let n=e.replace(/ /g,"_"),s=Ci.define({id:Fg.length,name:n,props:[Oa({[n]:t})]});return Fg.push(s),s.id}const vg=new class extends ds{};vg.startSide=1,vg.endSide=-1;class Su{constructor(e,t,n,s,r,a,o,u,f,l=0,d){this.p=e,this.stack=t,this.state=n,this.reducePos=s,this.pos=r,this.score=a,this.buffer=o,this.bufferBase=u,this.curContext=f,this.lookAhead=l,this.parent=d}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let s=e.parser.context;return new Su(e,[],t,n,n,0,[],0,s?new Og(s,s.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=e&65535,{parser:s}=this.p,r=s.dynamicPrecedence(n);if(r&&(this.score+=r),t==0){this.pushState(s.getGoto(this.state,n,!0),this.reducePos),na;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,s=4,r=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&a.buffer[o-4]==0&&a.buffer[o-1]>-1){if(t==n)return;if(a.buffer[o-2]>=t){a.buffer[o-2]=n;return}}}if(!r||this.pos==n)this.buffer.push(e,t,n,s);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0)for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,s>4&&(s-=4);this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=s}}shift(e,t,n){let s=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let r=e,{parser:a}=this.p;(n>this.pos||t<=a.maxNode)&&(this.pos=n,a.stateFlag(r,1)||(this.reducePos=n)),this.pushState(r,s),this.shiftContext(t,s),t<=a.maxNode&&this.buffer.push(t,s,n,4)}else this.pos=n,this.shiftContext(t,s),t<=this.p.parser.maxNode&&this.buffer.push(t,s,n,4)}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let s=this.pos;this.reducePos=this.pos=s+e.length,this.pushState(t,s),this.buffer.push(n,s,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),s=e.bufferBase+t;for(;e&&s==e.bufferBase;)e=e.parent;return new Su(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,s,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new J6(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if((n&65536)==0)return!0;if(n==0)return!1;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let s=[];for(let r=0,a;ru&1&&o==a)||s.push(t[r],a)}t=s}let n=[];for(let s=0;s>19,s=e&65535,r=this.stack.length-n*3;if(r<0||t.getGoto(this.stack[r],s,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Og{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var yg;(function(i){i[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth"})(yg||(yg={}));class J6{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let s=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=s}}class Du{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new Du(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}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]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Du(this.stack,this.pos,this.index)}}class Eu{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const kg=new Eu;class e9{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=kg,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,s=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(s==this.ranges.length-1)return null;let a=this.ranges[++s];r+=a.from-n.to,n=a}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,s;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),s=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),s}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=kg,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let s of this.ranges){if(s.from>=t)break;s.to>e&&(n+=this.input.read(Math.max(s.from,e),Math.min(s.to,t)))}return n}}class Cu{constructor(e,t){this.data=e,this.id=t}token(e,t){i9(this.data,e,t,this.id)}}Cu.prototype.contextual=Cu.prototype.fallback=Cu.prototype.extend=!1;class ut{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function i9(i,e,t,n){let s=0,r=1<0){let h=i[c];if(o.allows(h)&&(e.token.value==-1||e.token.value==h||a.overrides(h,e.token.value))){e.acceptToken(h);break}}let f=e.next,l=0,d=i[s+2];if(e.next<0&&d>l&&i[u+d*3-3]==65535){s=i[u+d*3-1];continue e}for(;l>1,h=u+c+(c<<1),m=i[h],p=i[h+1];if(f=p)l=c+1;else{s=i[h+2],e.advance();continue e}}break}}function xu(i,e=Uint16Array){if(typeof i!="string")return i;let t=null;for(let n=0,s=0;n=92&&a--,a>=34&&a--;let u=a-32;if(u>=46&&(u-=46,o=!0),r+=u,o)break;r*=46}t?t[s++]=r:t=new e(r)}return t}const ft=typeof process<"u"&&process.env&&/\bparse\b/.test({}.LOG);let n1=null;var wg;(function(i){i[i.Margin=25]="Margin"})(wg||(wg={}));function bg(i,e,t){let n=i.cursor(Pe.IncludeAnonymous);for(n.moveTo(e);;)if(!(t<0?n.childBefore(e):n.childAfter(e)))for(;;){if((t<0?n.toe)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(i.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:i.length}}class t9{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?bg(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?bg(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=a,null;if(r instanceof Ae){if(a==e){if(a=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+r.length}}}class n9{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Eu)}getActions(e){let t=0,n=null,{parser:s}=e.p,{tokenizers:r}=s,a=s.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,u=0;for(let f=0;fd.end+25&&(u=Math.max(d.lookAhead,u)),d.value!=0)){let c=t;if(d.extended>-1&&(t=this.addActions(e,d.extended,d.end,t)),t=this.addActions(e,d.value,d.end,t),!l.extend&&(n=d,t>c))break}}for(;this.actions.length>t;)this.actions.pop();return u&&e.setLookAhead(u),!n&&e.pos==this.stream.end&&(n=new Eu,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Eu,{pos:n,p:s}=e;return t.start=n,t.end=Math.min(n+1,s.stream.end),t.value=n==s.stream.end?s.parser.eofTerm:0,t}updateCachedToken(e,t,n){let s=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(s,e),n),e.value>-1){let{parser:r}=n.p;for(let a=0;a=0&&n.p.parser.dialect.allows(o>>1)){(o&1)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(s+1)}putAction(e,t,n,s){for(let r=0;re.bufferLength*4?new t9(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],s,r;for(let a=0;at)n.push(o);else{if(this.advanceStack(o,n,e))continue;{s||(s=[],r=[]),s.push(o);let u=this.tokens.getMainToken(o);r.push(u.value,u.end)}}break}}if(!n.length){let a=s&&a9(s);if(a)return this.stackToTree(a);if(this.parser.strict)throw ft&&s&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&s){let a=this.stoppedAt!=null&&s[0].pos>this.stoppedAt?s[0]:this.runRecovery(s,r,n);if(a)return this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(n.length>a)for(n.sort((o,u)=>u.score-o.score);n.length>a;)n.pop();n.some(o=>o.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let a=0;a500&&f.buffer.length>500)if((o.score-f.score||o.buffer.length-f.buffer.length)>0)n.splice(u--,1);else{n.splice(a--,1);continue e}}}}this.minStackPos=n[0].pos;for(let a=1;a ":"";if(this.stoppedAt!=null&&s>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let f=e.curContext&&e.curContext.tracker.strict,l=f?e.curContext.hash:0;for(let d=this.fragments.nodeAt(s);d;){let c=this.parser.nodeSet.types[d.type.id]==d.type?r.getGoto(e.state,d.type.id):-1;if(c>-1&&d.length&&(!f||(d.prop(ge.contextHash)||0)==l))return e.useNode(d,c),ft&&console.log(a+this.stackID(e)+` (via reuse of ${r.getName(d.type.id)})`),!0;if(!(d instanceof Ae)||d.children.length==0||d.positions[0]>0)break;let h=d.children[0];if(h instanceof Ae&&d.positions[0]==0)d=h;else break}}let o=r.stateSlot(e.state,4);if(o>0)return e.reduce(o),ft&&console.log(a+this.stackID(e)+` (via always-reduce ${r.getName(o&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let u=this.tokens.getActions(e);for(let f=0;fs?t.push(m):n.push(m)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Sg(e,t),!0}}runRecovery(e,t,n){let s=null,r=!1;for(let a=0;a ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),ft&&console.log(l+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let d=o.split(),c=l;for(let h=0;d.forceReduce()&&h<10&&(ft&&console.log(c+this.stackID(d)+" (via force-reduce)"),!this.advanceFully(d,n));h++)ft&&(c=this.stackID(d)+" -> ");for(let h of o.recoverByInsert(u))ft&&console.log(l+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,n);this.stream.end>o.pos?(f==o.pos&&(f++,u=0),o.recoverByDelete(u,f),ft&&console.log(l+this.stackID(o)+` (via recover-delete ${this.parser.getName(u)})`),Sg(o,n)):(!s||s.scorei;class Dg{constructor(e){this.start=e.start,this.shift=e.shift||s1,this.reduce=e.reduce||s1,this.reuse=e.reuse||s1,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Fs extends ng{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (${14})`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let o=0;oe.topRules[o][1]),s=[];for(let o=0;o=0)r(l,u,o[f++]);else{let d=o[f+-l];for(let c=-l;c>0;c--)r(o[f++],u,d);f++}}}this.nodeSet=new Wd(t.map((o,u)=>Ci.define({name:u>=this.minRepeatTerm?void 0:o,id:u,props:s[u],top:n.indexOf(u)>-1,error:u==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(u)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=KF;let a=xu(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new Cu(a,o):o),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let s=new s9(this,e,t,n);for(let r of this.wrappers)s=r(s,e,t,n);return s}getGoto(e,t,n=!1){let s=this.goto;if(t>=s[0])return-1;for(let r=s[t+1];;){let a=s[r++],o=a&1,u=s[r++];if(o&&n)return u;for(let f=r+(a>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Xt(this.data,n+2);else return!1;if(t==Xt(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Xt(this.data,n+2);else break;if((this.data[n+2]&1)==0){let s=this.data[n+1];t.some((r,a)=>a&1&&r==s)||t.push(this.data[n],s)}}return t}overrides(e,t){let n=Eg(this.data,this.tokenPrecTable,t);return n<0||Eg(this.data,this.tokenPrecTable,e){let s=e.tokenizers.find(r=>r.from==n);return s?s.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,s)=>{let r=e.specializers.find(o=>o.from==n.external);if(!r)return n;let a=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[s]=Cg(a),a})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(" ")){let a=t.indexOf(r);a>=0&&(n[a]=!0)}let s=null;for(let r=0;rn)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scorei.external(t,n)<<1|e}return i.get}const o9=54,u9=1,f9=55,l9=2,d9=56,c9=3,Qu=4,xg=5,Qg=6,$g=7,Tg=8,h9=9,m9=10,p9=11,r1=57,F9=12,Pg=58,g9=18,v9=27,O9=30,y9=33,k9=35,w9=0,b9={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},_9={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Ag={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function S9(i){return i==45||i==46||i==58||i>=65&&i<=90||i==95||i>=97&&i<=122||i>=161}function Mg(i){return i==9||i==10||i==13||i==32}let Bg=null,Rg=null,jg=0;function a1(i,e){let t=i.pos+e;if(jg==t&&Rg==i)return Bg;let n=i.peek(e);for(;Mg(n);)n=i.peek(++e);let s="";for(;S9(n);)s+=String.fromCharCode(n),n=i.peek(++e);return Rg=i,jg=t,Bg=s?s.toLowerCase():n==D9||n==E9?void 0:null}const Ig=60,Ng=62,Lg=47,D9=63,E9=33,C9=45;function zg(i,e){this.name=i,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new zg(a1(n,1)||"",i):i},reduce(i,e){return e==g9&&i?i.parent:i},reuse(i,e,t,n){let s=e.type.id;return s==Qu||s==k9?new zg(a1(n,1)||"",i):i},hash(i){return i?i.hash:0},strict:!1}),$9=new ut((i,e)=>{if(i.next!=Ig){i.next<0&&e.context&&i.acceptToken(r1);return}i.advance();let t=i.next==Lg;t&&i.advance();let n=a1(i,0);if(n===void 0)return;if(!n)return i.acceptToken(t?F9:Qu);let s=e.context?e.context.name:null;if(t){if(n==s)return i.acceptToken(h9);if(s&&_9[s])return i.acceptToken(r1,-2);if(e.dialectEnabled(w9))return i.acceptToken(m9);for(let r=e.context;r;r=r.parent)if(r.name==n)return;i.acceptToken(p9)}else{if(n=="script")return i.acceptToken(xg);if(n=="style")return i.acceptToken(Qg);if(n=="textarea")return i.acceptToken($g);if(b9.hasOwnProperty(n))return i.acceptToken(Tg);s&&Ag[s]&&Ag[s][n]?i.acceptToken(r1,-1):i.acceptToken(Qu)}},{contextual:!0}),T9=new ut(i=>{for(let e=0,t=0;;t++){if(i.next<0){t&&i.acceptToken(Pg);break}if(i.next==C9)e++;else if(i.next==Ng&&e>=2){t>3&&i.acceptToken(Pg,-2);break}else e=0;i.advance()}});function o1(i,e,t){let n=2+i.length;return new ut(s=>{for(let r=0,a=0,o=0;;o++){if(s.next<0){o&&s.acceptToken(e);break}if(r==0&&s.next==Ig||r==1&&s.next==Lg||r>=2&&ra?s.acceptToken(e,-a):s.acceptToken(t,-(a-2));break}else if((s.next==10||s.next==13)&&o){s.acceptToken(e,1);break}else r=a=0;s.advance()}})}const P9=o1("script",o9,u9),A9=o1("style",f9,l9),M9=o1("textarea",d9,c9),B9=Oa({"Text RawText":_.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":_.angleBracket,TagName:_.tagName,"MismatchedCloseTag/TagName":[_.tagName,_.invalid],AttributeName:_.attributeName,"AttributeValue UnquotedAttributeValue":_.attributeValue,Is:_.definitionOperator,"EntityReference CharacterReference":_.character,Comment:_.blockComment,ProcessingInst:_.processingInstruction,DoctypeDecl:_.documentMeta}),R9=Fs.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/POOOY1G/P1G/PO(fQ#tO1G/SOOO[1G/S1G/SO(nQ#tO1G/VOOOW1G/V1G/VOOOW1G/X1G/XO(yQ#tO1G/XOOOX-E7[-E7[O)RQ!bO'#CxOOOW1G.t1G.tOOOY-E7]-E7]O)WQ!bO'#C{OOO[-E7^-E7^O)]Q!bO'#DOOOOW-E7_-E7_O)bQ!bO,59lOOO`-E7`-E7`OOOW1G/Z1G/ZOOOW1G/]1G/]OOOW1G/^1G/^O)gQ&jO,59]OOQO-E7X-E7XOOOX7+$a7+$aOOOY7+$k7+$kOOO[7+$n7+$nOOOW7+$q7+$q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Q}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Q9,nodeProps:[["closedBy",-10,1,2,3,5,6,7,8,9,10,11,"EndTag",4,"EndTag SelfClosingEndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,39,40,41,42,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag",38,"StartTag"]],propSources:[B9],skippedNodes:[0],repeatNodeCount:9,tokenData:"#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U-_4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!Z$|c^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!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,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],W9=58,q9=40,Xg=95,V9=91,$u=45,X9=46,Z9=35,U9=37;function Tu(i){return i>=65&&i<=90||i>=97&&i<=122||i>=161}function G9(i){return i>=48&&i<=57}const H9=new ut((i,e)=>{for(let t=!1,n=0,s=0;;s++){let{next:r}=i;if(Tu(r)||r==$u||r==Xg||t&&G9(r))!t&&(r!=$u||s>0)&&(t=!0),n===s&&r==$u&&n++,i.advance();else{t&&i.acceptToken(r==q9?L9:n==2&&e.canShift(qg)?qg:z9);break}}}),Y9=new ut(i=>{if(Vg.includes(i.peek(-1))){let{next:e}=i;(Tu(e)||e==Xg||e==Z9||e==X9||e==V9||e==W9||e==$u)&&i.acceptToken(N9)}}),K9=new ut(i=>{if(!Vg.includes(i.peek(-1))){let{next:e}=i;if(e==U9&&(i.advance(),i.acceptToken(Wg)),Tu(e)){do i.advance();while(Tu(i.next));i.acceptToken(Wg)}}}),J9=Oa({"AtKeyword import charset namespace keyframes media supports":_.definitionKeyword,"from to selector":_.keyword,NamespaceName:_.namespace,KeyframeName:_.labelName,TagName:_.tagName,ClassName:_.className,PseudoClassName:_.constant(_.className),IdName:_.labelName,"FeatureName PropertyName":_.propertyName,AttributeName:_.attributeName,NumberLiteral:_.number,KeywordQuery:_.keyword,UnaryQueryOp:_.operatorKeyword,"CallTag ValueName":_.atom,VariableName:_.variableName,Callee:_.operatorKeyword,Unit:_.unit,"UniversalSelector NestingSelector":_.definitionOperator,MatchOp:_.compareOperator,"ChildOp SiblingOp, LogicOp":_.logicOperator,BinOp:_.arithmeticOperator,Important:_.modifier,Comment:_.blockComment,ParenthesizedContent:_.special(_.name),ColorLiteral:_.color,StringLiteral:_.string,":":_.punctuation,"PseudoOp #":_.derefOperator,"; ,":_.separator,"( )":_.paren,"[ ]":_.squareBracket,"{ }":_.brace}),e5={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},i5={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},t5={__proto__:null,not:128,only:128,from:158,to:160},n5=Fs.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O,59oO%_Q[O,59sO%_Q[O,59uO%_Q[O,59vO'bQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'iQWO,59SO'nQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO'sQ`O,59oOOQS'#Cp'#CpO#kQdO'#CqO'{QvO'#CsO)VQtO,5:POOQO'#Cx'#CxO'nQWO'#CwO)kQWO'#CyOOQS'#Ef'#EfOOQO'#Dh'#DhO)pQ[O'#DoO*OQWO'#EiO$xQ[O'#DmO*^QWO'#DpOOQO'#Ej'#EjO%|QWO,5:^O*cQpO,5:`OOQS'#Dx'#DxO*kQWO,5:bO*pQ[O,5:bOOQO'#D{'#D{O*xQWO,5:eO*}QWO,5:kO+VQWO,5:mOOQS-E8Q-E8QOOQP1G.l1G.lO+yQXO,5:qOOQO-E8T-E8TOOQS1G.g1G.gOOQP1G.n1G.nO'iQWO1G.nO'nQWO1G.nOOQP1G/V1G/VO,WQ`O1G/ZO,qQXO1G/_O-XQXO1G/aO-oQXO1G/bO.VQXO'#CdO.zQWO'#DaOOQS,59z,59zO/PQWO,59zO/XQ[O,59zO/`Q[O'#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_!`2e!`~%Q",tokenizers:[Y9,K9,H9,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:i=>e5[i]||-1},{term:56,get:i=>i5[i]||-1},{term:95,get:i=>t5[i]||-1}],tokenPrec:1078}),s5=ir.define({name:"css",parser:n5.configure({props:[e1.add({Declaration:_u()}),i1.add({Block:pg})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),r5=1,Zg=281,Ug=2,a5=3,Pu=282,o5=4,u5=283,Gg=284,f5=286,l5=287,d5=5,c5=6,h5=1,m5=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Hg=125,p5=123,F5=59,Yg=47,g5=42,v5=43,O5=45,y5=36,k5=96,w5=92,b5=new Dg({start:!1,shift(i,e){return e==d5||e==c5||e==f5?i:e==l5},strict:!1}),_5=new ut((i,e)=>{let{next:t}=i;(t==Hg||t==-1||e.context)&&e.canShift(Gg)&&i.acceptToken(Gg)},{contextual:!0,fallback:!0}),S5=new ut((i,e)=>{let{next:t}=i,n;m5.indexOf(t)>-1||t==Yg&&((n=i.peek(1))==Yg||n==g5)||t!=Hg&&t!=F5&&t!=-1&&!e.context&&e.canShift(Zg)&&i.acceptToken(Zg)},{contextual:!0}),D5=new ut((i,e)=>{let{next:t}=i;if((t==v5||t==O5)&&(i.advance(),t==i.next)){i.advance();let n=!e.context&&e.canShift(Ug);i.acceptToken(n?Ug:a5)}},{contextual:!0}),E5=new ut(i=>{for(let e=!1,t=0;;t++){let{next:n}=i;if(n<0){t&&i.acceptToken(Pu);break}else if(n==k5){t?i.acceptToken(Pu):i.acceptToken(u5,1);break}else if(n==p5&&e){t==1?i.acceptToken(o5,1):i.acceptToken(Pu,-1);break}else if(n==10&&t){i.advance(),i.acceptToken(Pu);break}else n==w5&&i.advance();e=n==y5,i.advance()}}),C5=new ut((i,e)=>{if(!(i.next!=101||!e.dialectEnabled(h5))){i.advance();for(let t=0;t<6;t++){if(i.next!="xtends".charCodeAt(t))return;i.advance()}i.next>=57&&i.next<=65||i.next>=48&&i.next<=90||i.next==95||i.next>=97&&i.next<=122||i.next>160||i.acceptToken(r5)}}),x5=Oa({"get set async static":_.modifier,"for while do if else switch try catch finally return throw break continue default case":_.controlKeyword,"in of await yield void typeof delete instanceof":_.operatorKeyword,"let var const function class extends":_.definitionKeyword,"import export from":_.moduleKeyword,"with debugger as new":_.keyword,TemplateString:_.special(_.string),super:_.atom,BooleanLiteral:_.bool,this:_.self,null:_.null,Star:_.modifier,VariableName:_.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":_.function(_.variableName),VariableDefinition:_.definition(_.variableName),Label:_.labelName,PropertyName:_.propertyName,PrivatePropertyName:_.special(_.propertyName),"CallExpression/MemberExpression/PropertyName":_.function(_.propertyName),"FunctionDeclaration/VariableDefinition":_.function(_.definition(_.variableName)),"ClassDeclaration/VariableDefinition":_.definition(_.className),PropertyDefinition:_.definition(_.propertyName),PrivatePropertyDefinition:_.definition(_.special(_.propertyName)),UpdateOp:_.updateOperator,LineComment:_.lineComment,BlockComment:_.blockComment,Number:_.number,String:_.string,ArithOp:_.arithmeticOperator,LogicOp:_.logicOperator,BitOp:_.bitwiseOperator,CompareOp:_.compareOperator,RegExp:_.regexp,Equals:_.definitionOperator,Arrow:_.function(_.punctuation),": Spread":_.punctuation,"( )":_.paren,"[ ]":_.squareBracket,"{ }":_.brace,"InterpolationStart InterpolationEnd":_.special(_.brace),".":_.derefOperator,", ;":_.separator,TypeName:_.typeName,TypeDefinition:_.definition(_.typeName),"type enum interface implements namespace module declare":_.definitionKeyword,"abstract global Privacy readonly override":_.modifier,"is keyof unique infer":_.operatorKeyword,JSXAttributeValue:_.attributeValue,JSXText:_.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":_.angleBracket,"JSXIdentifier JSXNameSpacedName":_.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":_.attributeName}),Q5={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},$5={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},T5={__proto__:null,"<":129},P5=Fs.deserialize({version:14,states:"$8SO`QdOOO'QQ(C|O'#ChO'XOWO'#DVO)dQdO'#D]O)tQdO'#DhO){QdO'#DrO-xQdO'#DxOOQO'#E]'#E]O.]Q`O'#E[O.bQ`O'#E[OOQ(C['#Ef'#EfO0aQ(C|O'#ItO2wQ(C|O'#IuO3eQ`O'#EzO3jQ!bO'#FaOOQ(C['#FS'#FSO3rO#tO'#FSO4QQ&jO'#FhO5bQ`O'#FgOOQ(C['#Iu'#IuOOQ(CW'#It'#ItOOQS'#J^'#J^O5gQ`O'#HpO5lQ(ChO'#HqOOQS'#Ih'#IhOOQS'#Hr'#HrQ`QdOOO){QdO'#DjO5tQ`O'#G[O5yQ&jO'#CmO6XQ`O'#EZO6dQ`O'#EgO6iQ,UO'#FRO7TQ`O'#G[O7YQ`O'#G`O7eQ`O'#G`O7sQ`O'#GcO7sQ`O'#GdO7sQ`O'#GfO5tQ`O'#GiO8dQ`O'#GlO9rQ`O'#CdO:SQ`O'#GyO:[Q`O'#HPO:[Q`O'#HRO`QdO'#HTO:[Q`O'#HVO:[Q`O'#HYO:aQ`O'#H`O:fQ(CjO'#HfO){QdO'#HhO:qQ(CjO'#HjO:|Q(CjO'#HlO5lQ(ChO'#HnO){QdO'#DWOOOW'#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6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"\u26A0 extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:b5,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[x5],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxyk|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a!b!U#R#S2`#S#T!>i#T#o2`#o#p!>y#p#q!?O#q#r!?f#r#s!?x#s$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$I|2`$I|$I}!Bq$I}$JO!Bq$JO$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?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g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[C5,S5,D5,E5,0,1,2,3,4,5,6,7,8,9,_5],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{149:1,176:1},specialized:[{term:289,get:i=>Q5[i]||-1},{term:299,get:i=>$5[i]||-1},{term:63,get:i=>T5[i]||-1}],tokenPrec:12130}),Au=ir.define({name:"javascript",parser:P5.configure({props:[e1.add({IfStatement:_u({except:/^\s*({|else\b)/}),TryStatement:_u({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:G6,SwitchBody:i=>{let e=i.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return i.baseIndent+(t?0:n?1:2)*i.unit},Block:Z6({closing:"}"}),ArrowFunction:i=>i.baseIndent+i.unit,"TemplateString BlockComment":()=>null,"Statement Property":_u({except:/^{/}),JSXElement(i){let e=/^\s*<\//.test(i.textAfter);return i.lineIndent(i.node.from)+(e?0:i.unit)},JSXEscape(i){let e=/\s*\}/.test(i.textAfter);return i.lineIndent(i.node.from)+(e?0:i.unit)},"JSXOpenTag JSXSelfClosingTag"(i){return i.column(i.node.from)+i.unit}}),i1.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":pg,BlockComment(i){return{from:i.from+2,to:i.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),A5=Au.configure({dialect:"ts"},"typescript"),M5=Au.configure({dialect:"jsx"}),B5=Au.configure({dialect:"jsx ts"},"typescript");A5.parser,M5.parser,B5.parser,Au.parser,s5.parser;const R5=Oa({String:_.string,Number:_.number,"True False":_.bool,PropertyName:_.propertyName,Null:_.null,",":_.separator,"[ ]":_.squareBracket,"{ }":_.brace});Fs.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[R5],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!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LDYuNDIyLDYuNDIyLDAsMCwxLTQuMTA3LDQuNjFBMTIuMDg4LDEyLjA4OCwwLDAsMSw1MTAuMiwyNS41MTZabS0yLjc2Mi0xMi44MzhhMTAuMDcyLDEwLjA3MiwwLDAsMC0zLjk2MS43NTcsNC41MDYsNC41MDYsMCwwLDAtMi45MywzLjEzNiw0LjUwNiw0LjUwNiwwLDAsMCwxLjYxOCwzLjk3NSwxMS45NjYsMTEuOTY2LDAsMCwwLDEyLDIuMjE1LDQuNTA2LDQuNTA2LDAsMCwwLDIuOTMtMy4xMzZoMGE0LjUsNC41LDAsMCwwLTEuNjE4LTMuOTc1LDExLjA4NCwxMS4wODQsMCwwLDAtNS43LTIuNzUzQTEyLjk1NywxMi45NTcsMCwwLDAsNTA3LjQ0MiwxMi42NzhaIgogICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNTA3LjY2OCAxMS42ODIgNTA1LjY1NyAyMy43NDggNTA4LjYyNCAyNC40MjQgNTExLjExMiAxMi4xNzUgNTA3LjY2OCAxMS42ODIiCiAgICAgICAgICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wb2x5Z29uPgogICAgICAgIDxjaXJjbGUgY3g9IjUxOS43MjMiIGN5PSIyMy42OTEiIHI9IjAuOTcyIiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1MjEuNDE3IiBjeT0iMTguNzE1IiByPSIwLjk3MiIgZmlsbD0iIzI5MmEyZSI+PC9jaXJjbGU+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=";const I5={class:"empty-wrapper"},N5={class:"empty-image h-32 w-32"},L5=["src"],z5={class:"empty-title"},W5={class:"empty-message"},q5={class:"empty-actions"};var Kg=wi({__name:"Empty",props:{title:null,message:null,image:null},setup(i){return(e,t)=>(Z(),re("div",I5,[R("div",N5,[bi(e.$slots,"image",{},()=>[R("img",{src:i.image||I(j5),alt:"Empty"},null,8,L5)])]),R("div",z5,Ne(i.title),1),R("div",W5,[bi(e.$slots,"message",{},()=>[et(Ne(i.message),1)])]),R("div",q5,[bi(e.$slots,"actions")])]))}});const V5={},X5={class:"flex items-center justify-center py-4"},Z5=R("svg",{class:"h-5 w-5 animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[R("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),R("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),U5=[Z5];function G5(i,e){return Z(),re("div",X5,U5)}var Jg=fb(V5,[["render",G5]]);let Mu;const H5=new Uint8Array(16);function Y5(){if(!Mu&&(Mu=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Mu))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Mu(H5)}const oi=[];for(let i=0;i<256;++i)oi.push((i+256).toString(16).slice(1));function K5(i,e=0){return(oi[i[e+0]]+oi[i[e+1]]+oi[i[e+2]]+oi[i[e+3]]+"-"+oi[i[e+4]]+oi[i[e+5]]+"-"+oi[i[e+6]]+oi[i[e+7]]+"-"+oi[i[e+8]]+oi[i[e+9]]+"-"+oi[i[e+10]]+oi[i[e+11]]+oi[i[e+12]]+oi[i[e+13]]+oi[i[e+14]]+oi[i[e+15]]).toLowerCase()}var ev={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function J5(i,e,t){if(ev.randomUUID&&!e&&!i)return ev.randomUUID();i=i||{};const n=i.random||(i.rng||Y5)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let s=0;s<16;++s)e[t+s]=n[s];return e}return K5(n)}function eS(i){if(i.__esModule)return i;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(i).forEach(function(t){var n=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return i[t]}})}),e}var iS=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var s=42;e[t]=s;for(t 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 r=Object.getOwnPropertySymbols(e);if(r.length!==1||r[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==s||a.enumerable!==!0)return!1}return!0},iv=typeof Symbol!="undefined"&&Symbol,tS=iS,nS=function(){return typeof iv!="function"||typeof Symbol!="function"||typeof iv("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:tS()},sS="Function.prototype.bind called on incompatible ",f1=Array.prototype.slice,rS=Object.prototype.toString,aS="[object Function]",oS=function(e){var t=this;if(typeof t!="function"||rS.call(t)!==aS)throw new TypeError(sS+t);for(var n=f1.call(arguments,1),s,r=function(){if(this instanceof s){var l=t.apply(this,n.concat(f1.call(arguments)));return Object(l)===l?l:this}else return t.apply(e,n.concat(f1.call(arguments)))},a=Math.max(0,t.length-n.length),o=[],u=0;u1&&typeof t!="boolean")throw new rr('"allowMissing" argument must be a boolean');if(FS(/^%?[^%]*%?$/g,e)===null)throw new sr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=OS(e),s=n.length>0?n[0]:"",r=yS("%"+s+"%",t),a=r.name,o=r.value,u=!1,f=r.alias;f&&(s=f[0],pS(n,mS([0,1],f)));for(var l=1,d=!0;l=n.length){var p=gs(o,c);d=!!p,d&&"get"in p&&!("originalValue"in p.get)?o=p.get:o=o[c]}else d=Bu(o,c),o=o[c];d&&!u&&(ur[a]=o)}}return o},rv={exports:{}};(function(i){var e=l1,t=h1,n=t("%Function.prototype.apply%"),s=t("%Function.prototype.call%"),r=t("%Reflect.apply%",!0)||e.call(s,n),a=t("%Object.getOwnPropertyDescriptor%",!0),o=t("%Object.defineProperty%",!0),u=t("%Math.max%");if(o)try{o({},"a",{value:1})}catch{o=null}i.exports=function(d){var c=r(e,s,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 r(e,n,arguments)};o?o(i.exports,"apply",{value:f}):i.exports.apply=f})(rv);var av=h1,ov=rv.exports,kS=ov(av("String.prototype.indexOf")),wS=function(e,t){var n=av(e,!!t);return typeof n=="function"&&kS(e,".prototype.")>-1?ov(n):n},bS={},_S=Object.freeze(Object.defineProperty({__proto__:null,default:bS},Symbol.toStringTag,{value:"Module"})),SS=eS(_S),m1=typeof Map=="function"&&Map.prototype,p1=Object.getOwnPropertyDescriptor&&m1?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ju=m1&&p1&&typeof p1.get=="function"?p1.get:null,DS=m1&&Map.prototype.forEach,F1=typeof Set=="function"&&Set.prototype,g1=Object.getOwnPropertyDescriptor&&F1?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Iu=F1&&g1&&typeof g1.get=="function"?g1.get:null,ES=F1&&Set.prototype.forEach,CS=typeof WeakMap=="function"&&WeakMap.prototype,ba=CS?WeakMap.prototype.has:null,xS=typeof WeakSet=="function"&&WeakSet.prototype,_a=xS?WeakSet.prototype.has:null,QS=typeof WeakRef=="function"&&WeakRef.prototype,uv=QS?WeakRef.prototype.deref:null,$S=Boolean.prototype.valueOf,TS=Object.prototype.toString,PS=Function.prototype.toString,AS=String.prototype.match,v1=String.prototype.slice,Tn=String.prototype.replace,MS=String.prototype.toUpperCase,fv=String.prototype.toLowerCase,lv=RegExp.prototype.test,dv=Array.prototype.concat,Ct=Array.prototype.join,BS=Array.prototype.slice,cv=Math.floor,O1=typeof BigInt=="function"?BigInt.prototype.valueOf:null,y1=Object.getOwnPropertySymbols,k1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,fr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Oi=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===fr?"object":"symbol")?Symbol.toStringTag:null,hv=Object.prototype.propertyIsEnumerable,mv=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(i){return i.__proto__}:null);function pv(i,e){if(i===1/0||i===-1/0||i!==i||i&&i>-1e3&&i<1e3||lv.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof i=="number"){var n=i<0?-cv(-i):cv(i);if(n!==i){var s=String(n),r=v1.call(e,s.length+1);return Tn.call(s,t,"$&_")+"."+Tn.call(Tn.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Tn.call(e,t,"$&_")}var w1=SS,Fv=w1.custom,gv=yv(Fv)?Fv:null,RS=function i(e,t,n,s){var r=t||{};if(Pn(r,"quoteStyle")&&r.quoteStyle!=="single"&&r.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Pn(r,"maxStringLength")&&(typeof r.maxStringLength=="number"?r.maxStringLength<0&&r.maxStringLength!==1/0:r.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=Pn(r,"customInspect")?r.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Pn(r,"indent")&&r.indent!==null&&r.indent!==" "&&!(parseInt(r.indent,10)===r.indent&&r.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Pn(r,"numericSeparator")&&typeof r.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=r.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 wv(e,r);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 r.depth=="undefined"?5:r.depth;if(typeof n=="undefined"&&(n=0),n>=l&&l>0&&typeof e=="object")return b1(e)?"[Array]":"[Object]";var d=iD(r,n);if(typeof s=="undefined")s=[];else if(kv(s,e)>=0)return"[Circular]";function c(N,j,ie){if(j&&(s=BS.call(s),s.push(j)),ie){var te={depth:r.depth};return Pn(r,"quoteStyle")&&(te.quoteStyle=r.quoteStyle),i(N,te,n+1,s)}return i(N,r,n+1,s)}if(typeof e=="function"&&!Ov(e)){var h=XS(e),m=Nu(e,c);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(m.length>0?" { "+Ct.call(m,", ")+" }":"")}if(yv(e)){var p=fr?Tn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):k1.call(e);return typeof e=="object"&&!fr?Sa(p):p}if(KS(e)){for(var g="<"+fv.call(String(e.nodeName)),F=e.attributes||[],v=0;v",g}if(b1(e)){if(e.length===0)return"[]";var O=Nu(e,c);return d&&!eD(O)?"["+S1(O,d)+"]":"[ "+Ct.call(O,", ")+" ]"}if(NS(e)){var b=Nu(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!hv.call(e,"cause")?"{ ["+String(e)+"] "+Ct.call(dv.call("[cause]: "+c(e.cause),b),", ")+" }":b.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Ct.call(b,", ")+" }"}if(typeof e=="object"&&a){if(gv&&typeof e[gv]=="function"&&w1)return w1(e,{depth:l-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ZS(e)){var E=[];return DS.call(e,function(N,j){E.push(c(j,e,!0)+" => "+c(N,e))}),bv("Map",ju.call(e),E,d)}if(HS(e)){var S=[];return ES.call(e,function(N){S.push(c(N,e))}),bv("Set",Iu.call(e),S,d)}if(US(e))return _1("WeakMap");if(YS(e))return _1("WeakSet");if(GS(e))return _1("WeakRef");if(zS(e))return Sa(c(Number(e)));if(qS(e))return Sa(c(O1.call(e)));if(WS(e))return Sa($S.call(e));if(LS(e))return Sa(c(String(e)));if(!IS(e)&&!Ov(e)){var C=Nu(e,c),k=mv?mv(e)===Object.prototype:e instanceof Object||e.constructor===Object,D=e instanceof Object?"":"null prototype",x=!k&&Oi&&Object(e)===e&&Oi in e?v1.call(An(e),8,-1):D?"Object":"",$=k||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",T=$+(x||D?"["+Ct.call(dv.call([],x||[],D||[]),": ")+"] ":"");return C.length===0?T+"{}":d?T+"{"+S1(C,d)+"}":T+"{ "+Ct.call(C,", ")+" }"}return String(e)};function vv(i,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+i+n}function jS(i){return Tn.call(String(i),/"/g,""")}function b1(i){return An(i)==="[object Array]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function IS(i){return An(i)==="[object Date]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function Ov(i){return An(i)==="[object RegExp]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function NS(i){return An(i)==="[object Error]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function LS(i){return An(i)==="[object String]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function zS(i){return An(i)==="[object Number]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function WS(i){return An(i)==="[object Boolean]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function yv(i){if(fr)return i&&typeof i=="object"&&i instanceof Symbol;if(typeof i=="symbol")return!0;if(!i||typeof i!="object"||!k1)return!1;try{return k1.call(i),!0}catch{}return!1}function qS(i){if(!i||typeof i!="object"||!O1)return!1;try{return O1.call(i),!0}catch{}return!1}var VS=Object.prototype.hasOwnProperty||function(i){return i in this};function Pn(i,e){return VS.call(i,e)}function An(i){return TS.call(i)}function XS(i){if(i.name)return i.name;var e=AS.call(PS.call(i),/^function\s*([\w$]+)/);return e?e[1]:null}function kv(i,e){if(i.indexOf)return i.indexOf(e);for(var t=0,n=i.length;te.maxStringLength){var t=i.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return wv(v1.call(i,0,e.maxStringLength),e)+n}var s=Tn.call(Tn.call(i,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,JS);return vv(s,"single",e)}function JS(i){var e=i.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+MS.call(e.toString(16))}function Sa(i){return"Object("+i+")"}function _1(i){return i+" { ? }"}function bv(i,e,t,n){var s=n?S1(t,n):Ct.call(t,", ");return i+" ("+e+") {"+s+"}"}function eD(i){for(var e=0;e",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Tp=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent);typeof navigator<"u"&&/Gecko\/\d+/.test(navigator.userAgent);var f_=typeof navigator<"u"&&/Mac/.test(navigator.platform);typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),f_||Tp&&+Tp[1]<57;for(var si=0;si<10;si++)Xs[48+si]=Xs[96+si]=String(si);for(var si=1;si<=24;si++)Xs[si+111]="F"+si;for(var si=65;si<=90;si++)Xs[si]=String.fromCharCode(si+32),cd[si]=String.fromCharCode(si);for(var hd in Xs)cd.hasOwnProperty(hd)||(cd[hd]=Xs[hd]);function Yo(i){let e;return i.nodeType==11?e=i.getSelection?i:i.ownerDocument:e=i,e.getSelection()}function Zs(i,e){return e?i==e||i.contains(e.nodeType!=1?e.parentNode:e):!1}function l_(i){let e=i.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Ko(i,e){if(!e.anchorNode)return!1;try{return Zs(i,e.anchorNode)}catch{return!1}}function la(i){return i.nodeType==3?Gs(i,0,i.nodeValue.length).getClientRects():i.nodeType==1?i.getClientRects():[]}function Jo(i,e,t,n){return t?Pp(i,e,t,n,-1)||Pp(i,e,t,n,1):!1}function eu(i){for(var e=0;;e++)if(i=i.previousSibling,!i)return e}function Pp(i,e,t,n,s){for(;;){if(i==t&&e==n)return!0;if(e==(s<0?0:da(i))){if(i.nodeName=="DIV")return!1;let r=i.parentNode;if(!r||r.nodeType!=1)return!1;e=eu(i)+(s<0?0:1),i=r}else if(i.nodeType==1){if(i=i.childNodes[e+(s<0?-1:0)],i.nodeType==1&&i.contentEditable=="false")return!1;e=s<0?da(i):0}else return!1}}function da(i){return i.nodeType==3?i.nodeValue.length:i.childNodes.length}const Ap={left:0,right:0,top:0,bottom:0};function md(i,e){let t=e?i.left:i.right;return{left:t,right:t,top:i.top,bottom:i.bottom}}function d_(i){return{left:0,right:i.innerWidth,top:0,bottom:i.innerHeight}}function c_(i,e,t,n,s,r,a,o){let u=i.ownerDocument,f=u.defaultView||window;for(let l=i;l;)if(l.nodeType==1){let d,c=l==u.body;if(c)d=d_(f);else{if(l.scrollHeight<=l.clientHeight&&l.scrollWidth<=l.clientWidth){l=l.assignedSlot||l.parentNode;continue}let F=l.getBoundingClientRect();d={left:F.left,right:F.left+l.clientWidth,top:F.top,bottom:F.top+l.clientHeight}}let h=0,m=0;if(s=="nearest")e.top0&&e.bottom>d.bottom+m&&(m=e.bottom-d.bottom+m+a)):e.bottom>d.bottom&&(m=e.bottom-d.bottom+a,t<0&&e.top-m0&&e.right>d.right+h&&(h=e.right-d.right+h+r)):e.right>d.right&&(h=e.right-d.right+r,t<0&&e.leftt)return d.domBoundsAround(e,t,f);if(c>=e&&s==-1&&(s=u,r=f),f>t&&d.dom.parentNode==this.dom){a=u,o=l;break}l=c,f=c+d.breakAfter}return{from:r,to:o<0?n+this.length:o,startDOM:(s?this.children[s-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a=0?this.children[a].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),t.dirty&1)return;t.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 t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=pd){this.markDirty();for(let s=e;sthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function Np(i,e,t,n,s,r,a,o,u){let{children:f}=i,l=f.length?f[e]:null,d=r.length?r[r.length-1]:null,c=d?d.breakAfter:a;if(!(e==n&&l&&!a&&!c&&r.length<2&&l.merge(t,s,r.length?d:null,t==0,o,u))){if(n0&&(!a&&r.length&&l.merge(t,l.length,r[0],!1,o,0)?l.breakAfter=r.shift().breakAfter:(t2);var G={mac:Xp||/Mac/.test(Gi.platform),windows:/Win/.test(Gi.platform),linux:/Linux|X11/.test(Gi.platform),ie:iu,ie_version:zp?Fd.documentMode||6:vd?+vd[1]:gd?+gd[1]:0,gecko:Wp,gecko_version:Wp?+(/Firefox\/(\d+)/.exec(Gi.userAgent)||[0,0])[1]:0,chrome:!!Od,chrome_version:Od?+Od[1]:0,ios:Xp,android:/Android\b/.test(Gi.userAgent),webkit:qp,safari:Vp,webkit_version:qp?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Fd.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const F_=256;class _n extends Ce{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,t,n){return n&&(!(n instanceof _n)||this.length-(t-e)+n.length>F_)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new _n(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new vi(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return yd(this.dom,e,t)}}class Ot extends Ce{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let s of t)s.setParent(this)}setAttrs(e){if(Rp(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);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,t,n,s,r,a){return n&&(!(n instanceof Ot&&n.mark.eq(this.mark))||e&&r<=0||te&&t.push(n=e&&(s=r),n=u,r++}let a=this.length-e;return this.length=e,s>-1&&(this.children.length=s,this.markDirty()),new Ot(this.mark,t,a)}domAtPos(e){return Gp(this,e)}coordsAt(e,t){return Yp(this,e,t)}}function yd(i,e,t){let n=i.nodeValue.length;e>n&&(e=n);let s=e,r=e,a=0;e==0&&t<0||e==n&&t>=0?G.chrome||G.gecko||(e?(s--,a=1):r=0)?0:o.length-1];return G.safari&&!a&&u.width==0&&(u=Array.prototype.find.call(o,f=>f.width)||u),a?md(u,a<0):u||null}class Sn extends Ce{constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}static create(e,t,n){return new(e.customView||Sn)(e,t,n)}split(e){let t=Sn.create(this.widget,this.length-e,this.side);return this.length-=e,t}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,t,n,s,r,a){return n&&(!(n instanceof Sn)||!this.widget.compare(n.widget)||e>0&&r<=0||t0?n.length-1:0;s=n[r],!(e>0?r==0:r==n.length-1||s.top0?-1:1);return this.length?s:md(s,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Zp extends Sn{domAtPos(e){let{topView:t,text:n}=this.widget;return t?kd(e,0,t,n,(s,r)=>s.domAtPos(r),s=>new vi(n,Math.min(s,n.nodeValue.length))):new vi(n,Math.min(e,n.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,t){let{topView:n,text:s}=this.widget;return n?Up(e,t,n,s):Math.min(t,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,t){let{topView:n,text:s}=this.widget;return n?kd(e,t,n,s,(r,a,o)=>r.coordsAt(a,o),(r,a)=>yd(s,r,a)):yd(s,e,t)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function kd(i,e,t,n,s,r){if(t instanceof Ot){for(let a=t.dom.firstChild;a;a=a.nextSibling){let o=Ce.get(a);if(!o)return r(i,e);let u=Zs(a,n),f=o.length+(u?n.nodeValue.length:0);if(i0?-1:1);return n&&n.topt.top?{left:t.left,right:t.right,top:n.top,bottom:n.bottom}:t}get overrideDOMText(){return ke.empty}}_n.prototype.children=Sn.prototype.children=Ys.prototype.children=pd;function g_(i,e){let t=i.parent,n=t?t.children.indexOf(i):-1;for(;t&&n>=0;)if(e<0?n>0:nr&&e0;r--){let a=n[r-1];if(a.dom.parentNode==t)return a.domAtPos(a.length)}for(let r=s;r0&&e instanceof Ot&&s.length&&(n=s[s.length-1])instanceof Ot&&n.mark.eq(e.mark)?Hp(n,e.children[0],t-1):(s.push(e),e.setParent(i)),i.length+=e.length}function Yp(i,e,t){let n=null,s=-1,r=null,a=-1;function o(f,l){for(let d=0,c=0;d=l&&(h.children.length?o(h,l-c):!r&&(m>l||c==m&&h.getSide()>0)?(r=h,a=l-c):(c0?3e8:-4e8:t>0?1e8:-1e8,new hs(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,s;if(e.isBlockGap)n=-5e8,s=4e8;else{let{start:r,end:a}=Kp(e,t);n=(r?t?-3e8:-1:5e8)-1,s=(a?t?2e8:1:-6e8)+1}return new hs(e,n,s,t,e.widget||null,!0)}static line(e){return new ca(e)}static set(e,t=!1){return We.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}ri.none=We.empty;class nu extends ri{constructor(e){let{start:t,end:n}=Kp(e);super(t?-1:5e8,n?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 nu&&this.tagName==e.tagName&&this.class==e.class&&bd(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}nu.prototype.point=!1;class ca extends ri{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof ca&&bd(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}ca.prototype.mapMode=Ui.TrackBefore,ca.prototype.point=!0;class hs extends ri{constructor(e,t,n,s,r,a){super(t,n,r,e),this.block=s,this.isReplace=a,this.mapMode=s?t<=0?Ui.TrackBefore:Ui.TrackAfter:Ui.TrackDel}get type(){return this.startSide=5}eq(e){return e instanceof hs&&O_(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}hs.prototype.point=!0;function Kp(i,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=i;return t==null&&(t=i.inclusive),n==null&&(n=i.inclusive),{start:t!=null?t:e,end:n!=null?n:e}}function O_(i,e){return i==e||!!(i&&e&&i.compare(e))}function Sd(i,e,t,n=0){let s=t.length-1;s>=0&&t[s]+n>=i?t[s]=Math.max(t[s],e):t.push(i,e)}class Si extends Ce{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,s,r,a){if(n){if(!(n instanceof Si))return!1;this.dom||n.transferDOM(this)}return s&&this.setDeco(n?n.attrs:null),Lp(this,e,t,n?n.children:[],r,a),!0}split(e){let t=new Si;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i:n,off:s}=this.childPos(e);s&&(t.append(this.children[n].split(s),0),this.children[n].merge(s,this.children[n].length,null,!1,0,0),n++);for(let r=n;r0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}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){bd(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){Hp(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=wd(t,this.attrs||{})),n&&(this.attrs=wd({class:n},this.attrs||{}))}domAtPos(e){return Gp(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var t;this.dom?this.dirty&4&&(Rp(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&&(_d(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let n=this.dom.lastChild;for(;n&&Ce.get(n)instanceof Ot;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((t=Ce.get(n))===null||t===void 0?void 0:t.isEditable)==!1&&(!G.ios||!this.children.some(s=>s instanceof _n))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let t of this.children){if(!(t instanceof _n)||/[^ -~]/.test(t.text))return null;let n=la(t.dom);if(n.length!=1)return null;e+=n[0].width}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}:null}coordsAt(e,t){return Yp(this,e,t)}become(e){return!1}get type(){return Ze.Text}static find(e,t){for(let n=0,s=0;n=t){if(r instanceof Si)return r;if(a>t)break}s=a+r.breakAfter}return null}}class ms extends Ce{constructor(e,t,n){super(),this.widget=e,this.length=t,this.type=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,s,r,a){return n&&(!(n instanceof ms)||!this.widget.compare(n.widget)||e>0&&r<=0||t0;){if(this.textOff==this.text.length){let{value:r,lineBreak:a,done:o}=this.cursor.next(this.skip);if(this.skip=0,o)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,e--;continue}else this.text=r,this.textOff=0}let s=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(su(new _n(this.text.slice(this.textOff,this.textOff+s)),t),n),this.atCursorPos=!0,this.textOff+=s,e-=s,n=0}}span(e,t,n,s){this.buildText(t-e,n,s),this.pos=t,this.openStart<0&&(this.openStart=s)}point(e,t,n,s,r,a){if(this.disallowBlockEffectsFor[a]&&n instanceof hs){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=t-e;if(n instanceof hs)if(n.block){let{type:u}=n;u==Ze.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new ms(n.widget||new Jp("div"),o,u))}else{let u=Sn.create(n.widget||new Jp("span"),o,o?0:n.startSide),f=this.atCursorPos&&!u.isEditable&&r<=s.length&&(e0),l=!u.isEditable&&(ei.some(e=>e)}),y_=me.define({combine:i=>i.some(e=>e)});class ru{constructor(e,t="nearest",n="nearest",s=5,r=5){this.range=e,this.y=t,this.x=n,this.yMargin=s,this.xMargin=r}map(e){return e.empty?this:new ru(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const aF=He.define({map:(i,e)=>i.map(e)});function Dn(i,e,t){let n=i.facet(nF);n.length?n[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const au=me.define({combine:i=>i.length?i[0]:!0});let k_=0;const ha=me.define();class ma{constructor(e,t,n,s){this.id=e,this.create=t,this.domEventHandlers=n,this.extension=s(this)}static define(e,t){const{eventHandlers:n,provide:s,decorations:r}=t||{};return new ma(k_++,e,n,a=>{let o=[ha.of(a)];return r&&o.push(pa.of(u=>{let f=u.plugin(a);return f?r(f):ri.none})),s&&o.push(s(a)),o})}static fromClass(e,t){return ma.define(n=>new e(n),t)}}class Cd{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(Dn(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Dn(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){Dn(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const oF=me.define(),xd=me.define(),pa=me.define(),uF=me.define(),fF=me.define(),Fa=me.define();class yt{constructor(e,t,n,s){this.fromA=e,this.toA=t,this.fromB=n,this.toB=s}join(e){return new yt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let s=e[t-1];if(!(s.fromA>n.toA)){if(s.toAl)break;r+=2}if(!u)return n;new yt(u.fromA,u.toA,u.fromB,u.toB).addToSet(n),a=u.toA,o=u.toB}}}class ou{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Ge.empty(this.startState.doc.length);for(let a of n)this.changes=this.changes.compose(a.changes);let s=[];this.changes.iterChangedRanges((a,o,u,f)=>s.push(new yt(a,o,u,f))),this.changedRanges=s;let r=e.hasFocus;r!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=r,this.flags|=1)}static create(e,t,n){return new ou(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var Di=function(i){return i[i.LTR=0]="LTR",i[i.RTL=1]="RTL",i}(Di||(Di={}));const Qd=Di.LTR,w_=Di.RTL;function lF(i){let e=[];for(let t=0;t=t){if(o.level==n)return a;(r<0||(s!=0?s<0?o.fromt:e[r].level>o.level))&&(r=a)}}if(r<0)throw new RangeError("Index out of range");return r}}const Pe=[];function E_(i,e){let t=i.length,n=e==Qd?1:2,s=e==Qd?2:1;if(!i||n==1&&!D_.test(i))return dF(t);for(let a=0,o=n,u=n;a=0;c-=3)if(kt[c+1]==-l){let h=kt[c+2],m=h&2?n:h&4?h&1?s:n:0;m&&(Pe[a]=Pe[kt[c]]=m),o=c;break}}else{if(kt.length==189)break;kt[o++]=a,kt[o++]=f,kt[o++]=u}else if((d=Pe[a])==2||d==1){let c=d==n;u=c?0:1;for(let h=o-3;h>=0;h-=3){let m=kt[h+2];if(m&2)break;if(c)kt[h+2]|=2;else{if(m&4)break;kt[h+2]|=4}}}for(let a=0;ao;){let l=f,d=Pe[--f]!=2;for(;f>o&&d==(Pe[f-1]!=2);)f--;r.push(new Ks(f,l,d?2:1))}else r.push(new Ks(o,a,0))}else for(let a=0;a1)for(let u of this.points)u.node==e&&u.pos>this.text.length&&(u.pos-=a-1);n=r+a}}readNode(e){if(e.cmIgnore)return;let t=Ce.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let s=n.iter();!s.next().done;)s.lineBreak?this.lineBreak():this.append(s.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}}function mF(i){return i.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(i.nodeName)}class pF{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class FF extends Ce{constructor(e){super(),this.view=e,this.compositionDeco=ri.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Si],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new yt(0,0,0,e.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:a,toA:o})=>othis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=ri.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=Q_(this.view,e.changes)),(G.ie||G.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let n=this.decorations,s=this.updateDeco(),r=A_(n,s,e.changes);return t=yt.extendWithRanges(t,r),this.dirty==0&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let r=G.chrome||G.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(r),this.dirty=0,r&&(r.written||n.selectionRange.focusNode!=r.node)&&(this.forceSelection=!0),this.dom.style.height=""});let s=[];if(this.view.viewport.from||this.view.viewport.to=0?e[s]:null;if(!r)break;let{fromA:a,toA:o,fromB:u,toB:f}=r,{content:l,breakAtStart:d,openStart:c,openEnd:h}=Dd.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap),{i:m,off:F}=n.findPos(o,1),{i:g,off:p}=n.findPos(a,-1);Np(this,g,p,m,F,l,d,c,h)}}updateSelection(e=!1,t=!1){if((e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(t||this.mayControlSelection()))return;let n=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,r=this.domAtPos(s.anchor),a=s.empty?r:this.domAtPos(s.head);if(G.gecko&&s.empty&&x_(r)){let u=document.createTextNode("");this.view.observer.ignore(()=>r.node.insertBefore(u,r.node.childNodes[r.offset]||null)),r=a=new vi(u,0),n=!0}let o=this.view.observer.selectionRange;(n||!o.focusNode||!Jo(r.node,r.offset,o.anchorNode,o.anchorOffset)||!Jo(a.node,a.offset,o.focusNode,o.focusOffset))&&(this.view.observer.ignore(()=>{G.android&&G.chrome&&this.dom.contains(o.focusNode)&&M_(o.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let u=Yo(this.view.root);if(u)if(s.empty){if(G.gecko){let f=T_(r.node,r.offset);if(f&&f!=3){let l=OF(r.node,r.offset,f==1?1:-1);l&&(r=new vi(l,f==1?0:l.nodeValue.length))}}u.collapse(r.node,r.offset),s.bidiLevel!=null&&o.cursorBidiLevel!=null&&(o.cursorBidiLevel=s.bidiLevel)}else if(u.extend){u.collapse(r.node,r.offset);try{u.extend(a.node,a.offset)}catch{}}else{let f=document.createRange();s.anchor>s.head&&([r,a]=[a,r]),f.setEnd(a.node,a.offset),f.setStart(r.node,r.offset),u.removeAllRanges(),u.addRange(f)}}),this.view.observer.setSelectionRange(r,a)),this.impreciseAnchor=r.precise?null:new vi(o.anchorNode,o.anchorOffset),this.impreciseHead=a.precise?null:new vi(o.focusNode,o.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,t=e.state.selection.main,n=Yo(e.root),{anchorNode:s,anchorOffset:r}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let a=Si.find(this,t.head);if(!a)return;let o=a.posAtStart;if(t.head==o||t.head==o+a.length)return;let u=this.coordsAt(t.head,-1),f=this.coordsAt(t.head,1);if(!u||!f||u.bottom>f.top)return;let l=this.domAtPos(t.head+t.assoc);n.collapse(l.node,l.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let d=e.observer.selectionRange;e.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=t.from&&n.collapse(s,r)}mayControlSelection(){let e=this.view.root.activeElement;return e==this.dom||Ko(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}nearest(e){for(let t=e;t;){let n=Ce.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;ta||e==a&&r.type!=Ze.WidgetBefore&&r.type!=Ze.WidgetAfter&&(!s||t==2||this.children[s-1].breakAfter||this.children[s-1].type==Ze.WidgetBefore&&t>-2))return r.coordsAt(e-a,t);n=a}}measureVisibleLineHeights(e){let t=[],{from:n,to:s}=e,r=this.view.contentDOM.clientWidth,a=r>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,u=this.view.textDirection==Di.LTR;for(let f=0,l=0;ls)break;if(f>=n){let h=d.dom.getBoundingClientRect();if(t.push(h.height),a){let m=d.dom.lastChild,F=m?la(m):[];if(F.length){let g=F[F.length-1],p=u?g.right-h.left:h.right-g.left;p>o&&(o=p,this.minWidth=r,this.minWidthFrom=f,this.minWidthTo=c)}}}f=c+d.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?Di.RTL:Di.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Si){let r=s.measureTextSize();if(r)return r}let e=document.createElement("div"),t,n;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=la(e.firstChild)[0];t=e.getBoundingClientRect().height,n=s?s.width/27:7,e.remove()}),{lineHeight:t,charWidth:n}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new Ip(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,s=0;;s++){let r=s==t.viewports.length?null:t.viewports[s],a=r?r.from-1:this.length;if(a>n){let o=t.lineBlockAt(a).bottom-t.lineBlockAt(n).top;e.push(ri.replace({widget:new gF(o),block:!0,inclusive:!0,isBlockGap:!0}).range(n,a))}if(!r)break;n=r.to+1}return ri.set(e)}updateDeco(){let e=this.view.state.facet(pa).map((t,n)=>(this.dynamicDecorationMap[n]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),s;if(!n)return;!t.empty&&(s=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,s.left),top:Math.min(n.top,s.top),right:Math.max(n.right,s.right),bottom:Math.max(n.bottom,s.bottom)});let r=0,a=0,o=0,u=0;for(let l of this.view.state.facet(fF).map(d=>d(this.view)))if(l){let{left:d,right:c,top:h,bottom:m}=l;d!=null&&(r=Math.max(r,d)),c!=null&&(a=Math.max(a,c)),h!=null&&(o=Math.max(o,h)),m!=null&&(u=Math.max(u,m))}let f={left:n.left-r,top:n.top-o,right:n.right+a,bottom:n.bottom+u};c_(this.view.scrollDOM,f,t.head0&&t<=0)i=i.childNodes[e-1],e=da(i);else if(i.nodeType==1&&e=0)i=i.childNodes[e],e=0;else return null}}function T_(i,e){return i.nodeType!=1?0:(e&&i.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let f=wn(s.text,a,!1);if(n(s.text.slice(f,a))!=u)break;a=f}for(;oi?e.left-i:Math.max(0,i-e.right)}function j_(i,e){return e.top>i?e.top-i:Math.max(0,i-e.bottom)}function Td(i,e){return i.tope.top+1}function yF(i,e){return ei.bottom?{top:i.top,left:i.left,right:i.right,bottom:e}:i}function Pd(i,e,t){let n,s,r,a,o=!1,u,f,l,d;for(let m=i.firstChild;m;m=m.nextSibling){let F=la(m);for(let g=0;gO||a==O&&r>v)&&(n=m,s=p,r=v,a=O,o=!v||(v>0?g0)),v==0?t>p.bottom&&(!l||l.bottomp.top)&&(f=m,d=p):l&&Td(l,p)?l=kF(l,p.bottom):d&&Td(d,p)&&(d=yF(d,p.top))}}if(l&&l.bottom>=t?(n=u,s=l):d&&d.top<=t&&(n=f,s=d),!n)return{node:i,offset:0};let c=Math.max(s.left,Math.min(s.right,e));if(n.nodeType==3)return wF(n,c,t);if(o&&n.contentEditable!="false")return Pd(n,c,t);let h=Array.prototype.indexOf.call(i.childNodes,n)+(e>=(s.left+s.right)/2?1:0);return{node:i,offset:h}}function wF(i,e,t){let n=i.nodeValue.length,s=-1,r=1e9,a=0;for(let o=0;ot?l.top-t:t-l.bottom)-1;if(l.left-1<=e&&l.right+1>=e&&d=(l.left+l.right)/2,h=c;if((G.chrome||G.gecko)&&Gs(i,o).getBoundingClientRect().left==l.right&&(h=!c),d<=0)return{node:i,offset:o+(h?1:0)};s=o+(h?1:0),r=d}}}return{node:i,offset:s>-1?s:a>0?i.nodeValue.length:0}}function bF(i,{x:e,y:t},n,s=-1){var r;let a=i.contentDOM.getBoundingClientRect(),o=a.top+i.viewState.paddingTop,u,{docHeight:f}=i.viewState,l=t-o;if(l<0)return 0;if(l>f)return i.state.doc.length;for(let p=i.defaultLineHeight/2,v=!1;u=i.elementAtHeight(l),u.type!=Ze.Text;)for(;l=s>0?u.bottom+p:u.top-p,!(l>=0&&l<=f);){if(v)return n?null:0;v=!0,s=-s}t=o+l;let d=u.from;if(di.viewport.to)return i.viewport.to==i.state.doc.length?i.state.doc.length:n?null:_F(i,a,u,e,t);let c=i.dom.ownerDocument,h=i.root.elementFromPoint?i.root:c,m=h.elementFromPoint(e,t);m&&!i.contentDOM.contains(m)&&(m=null),m||(e=Math.max(a.left+1,Math.min(a.right-1,e)),m=h.elementFromPoint(e,t),m&&!i.contentDOM.contains(m)&&(m=null));let F,g=-1;if(m&&((r=i.docView.nearest(m))===null||r===void 0?void 0:r.isEditable)!=!1){if(c.caretPositionFromPoint){let p=c.caretPositionFromPoint(e,t);p&&({offsetNode:F,offset:g}=p)}else if(c.caretRangeFromPoint){let p=c.caretRangeFromPoint(e,t);p&&({startContainer:F,startOffset:g}=p,(!i.contentDOM.contains(F)||G.safari&&I_(F,g,e)||G.chrome&&N_(F,g,e))&&(F=void 0))}}if(!F||!i.docView.dom.contains(F)){let p=Si.find(i.docView,d);if(!p)return l>u.top+u.height/2?u.to:u.from;({node:F,offset:g}=Pd(p.dom,e,t))}return i.docView.posFromDOM(F,g)}function _F(i,e,t,n,s){let r=Math.round((n-e.left)*i.defaultCharacterWidth);i.lineWrapping&&t.height>i.defaultLineHeight*1.5&&(r+=Math.floor((s-t.top)/i.defaultLineHeight)*i.viewState.heightOracle.lineLength);let a=i.state.sliceDoc(t.from,t.to);return t.from+o_(a,r,i.state.tabSize)}function I_(i,e,t){let n;if(i.nodeType!=3||e!=(n=i.nodeValue.length))return!1;for(let s=i.nextSibling;s;s=s.nextSibling)if(s.nodeType!=1||s.nodeName!="BR")return!1;return Gs(i,n-1,n).getBoundingClientRect().left>t}function N_(i,e,t){if(e!=0)return!1;for(let s=i;;){let r=s.parentNode;if(!r||r.nodeType!=1||r.firstChild!=s)return!1;if(r.classList.contains("cm-line"))break;s=r}let n=i.nodeType==1?i.getBoundingClientRect():Gs(i,0,Math.max(i.nodeValue.length,1)).getBoundingClientRect();return t-n.left>5}function L_(i,e,t,n){let s=i.state.doc.lineAt(e.head),r=!n||!i.lineWrapping?null:i.coordsAtPos(e.assoc<0&&e.head>s.from?e.head-1:e.head);if(r){let u=i.dom.getBoundingClientRect(),f=i.textDirectionAt(s.from),l=i.posAtCoords({x:t==(f==Di.LTR)?u.right-1:u.left+1,y:(r.top+r.bottom)/2});if(l!=null)return H.cursor(l,t?-1:1)}let a=Si.find(i.docView,e.head),o=a?t?a.posAtEnd:a.posAtStart:t?s.to:s.from;return H.cursor(o,t?-1:1)}function SF(i,e,t,n){let s=i.state.doc.lineAt(e.head),r=i.bidiSpans(s),a=i.textDirectionAt(s.from);for(let o=e,u=null;;){let f=C_(s,r,a,o,t),l=cF;if(!f){if(s.number==(t?i.state.doc.lines:1))return o;l=` +`,s=i.state.doc.line(s.number+(t?1:-1)),r=i.bidiSpans(s),f=H.cursor(t?s.from:s.to)}if(u){if(!u(l))return o}else{if(!n)return f;u=n(l)}o=f}}function z_(i,e,t){let n=i.state.charCategorizer(e),s=n(t);return r=>{let a=n(r);return s==Vt.Space&&(s=a),s==a}}function W_(i,e,t,n){let s=e.head,r=t?1:-1;if(s==(t?i.state.doc.length:0))return H.cursor(s,e.assoc);let a=e.goalColumn,o,u=i.contentDOM.getBoundingClientRect(),f=i.coordsAtPos(s),l=i.documentTop;if(f)a==null&&(a=f.left-u.left),o=r<0?f.top:f.bottom;else{let h=i.viewState.lineBlockAt(s);a==null&&(a=Math.min(u.right-u.left,i.defaultCharacterWidth*(s-h.from))),o=(r<0?h.top:h.bottom)+l}let d=u.left+a,c=n!=null?n:i.defaultLineHeight>>1;for(let h=0;;h+=10){let m=o+(c+h)*r,F=bF(i,{x:d,y:m},!1,r);if(mu.bottom||(r<0?Fs))return H.cursor(F,e.assoc,void 0,a)}}function Ad(i,e,t){let n=i.state.facet(uF).map(s=>s(i));for(;;){let s=!1;for(let r of n)r.between(t.from-1,t.from+1,(a,o,u)=>{t.from>a&&t.fromt.from?H.cursor(a,1):H.cursor(o,-1),s=!0)});if(!s)return t}}class q_{constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;for(let t in Ye){let n=Ye[t];e.contentDOM.addEventListener(t,s=>{!EF(e,s)||this.ignoreDuringComposition(s)||t=="keydown"&&this.keydown(e,s)||(this.mustFlushObserver(s)&&e.observer.forceFlush(),this.runCustomHandlers(t,e,s)?s.preventDefault():n(e,s))},Md[t]),this.registeredEvents.push(t)}G.chrome&&G.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,G.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var n;let s;this.customHandlers=[];for(let r of t)if(s=(n=r.update(e).spec)===null||n===void 0?void 0:n.domEventHandlers){this.customHandlers.push({plugin:r.value,handlers:s});for(let a in s)this.registeredEvents.indexOf(a)<0&&a!="scroll"&&(this.registeredEvents.push(a),e.contentDOM.addEventListener(a,o=>{!EF(e,o)||this.runCustomHandlers(a,e,o)&&o.preventDefault()}))}}runCustomHandlers(e,t,n){for(let s of this.customHandlers){let r=s.handlers[e];if(r)try{if(r.call(s.plugin,n,t)||n.defaultPrevented)return!0}catch(a){Dn(t.state,a)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let n of this.customHandlers){let s=n.handlers.scroll;if(s)try{s.call(n.plugin,t,e)}catch(r){Dn(e.state,r)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()s.keyCode==t.keyCode))&&!t.ctrlKey||V_.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,Hs(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:G.safari&&!G.ios&&Date.now()-this.compositionEndedAt<100?(this.compositionEndedAt=0,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const DF=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],V_="dthko",X_=[16,17,18,20,91,92,224,225];class Z_{constructor(e,t,n,s){this.view=e,this.style=n,this.mustSelect=s,this.lastEvent=t;let r=e.contentDOM.ownerDocument;r.addEventListener("mousemove",this.move=this.move.bind(this)),r.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(be.allowMultipleSelections)&&U_(e,t),this.dragMove=G_(e,t),this.dragging=H_(e,t)&&RF(t)==1?null:!1,this.dragging===!1&&(t.preventDefault(),this.select(t))}move(e){if(e.buttons==0)return this.destroy();this.dragging===!1&&this.select(this.lastEvent=e)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}select(e){let t=this.style.get(e,this.extend,this.multiple);(this.mustSelect||!t.eq(this.view.state.selection)||t.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:t,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function U_(i,e){let t=i.state.facet(eF);return t.length?t[0](e):G.mac?e.metaKey:e.ctrlKey}function G_(i,e){let t=i.state.facet(iF);return t.length?t[0](e):G.mac?!e.altKey:!e.ctrlKey}function H_(i,e){let{main:t}=i.state.selection;if(t.empty)return!1;let n=Yo(i.root);if(!n||n.rangeCount==0)return!0;let s=n.getRangeAt(0).getClientRects();for(let r=0;r=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function EF(i,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=i.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Ce.get(t))&&n.ignoreEvent(e))return!1;return!0}const Ye=Object.create(null),Md=Object.create(null),CF=G.ie&&G.ie_version<15||G.ios&&G.webkit_version<604;function Y_(i){let e=i.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{i.focus(),t.remove(),xF(i,t.value)},50)}function xF(i,e){let{state:t}=i,n,s=1,r=t.toText(e),a=r.lines==t.selection.ranges.length;if(Bd!=null&&t.selection.ranges.every(o=>o.empty)&&Bd==r.toString()){let o=-1;n=t.changeByRange(u=>{let f=t.doc.lineAt(u.from);if(f.from==o)return{range:u};o=f.from;let l=t.toText((a?r.line(s++).text:e)+t.lineBreak);return{changes:{from:f.from,insert:l},range:H.cursor(u.from+l.length)}})}else a?n=t.changeByRange(o=>{let u=r.line(s++);return{changes:{from:o.from,to:o.to,insert:u.text},range:H.cursor(o.from+u.length)}}):n=t.replaceSelection(r);i.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}Ye.keydown=(i,e)=>{i.inputState.setSelectionOrigin("select"),e.keyCode==27?i.inputState.lastEscPress=Date.now():X_.indexOf(e.keyCode)<0&&(i.inputState.lastEscPress=0)},Ye.touchstart=(i,e)=>{i.inputState.lastTouchTime=Date.now(),i.inputState.setSelectionOrigin("select.pointer")},Ye.touchmove=i=>{i.inputState.setSelectionOrigin("select.pointer")},Md.touchstart=Md.touchmove={passive:!0},Ye.mousedown=(i,e)=>{if(i.observer.flush(),i.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let n of i.state.facet(tF))if(t=n(i,e),t)break;if(!t&&e.button==0&&(t=e6(i,e)),t){let n=i.root.activeElement!=i.contentDOM;n&&i.observer.ignore(()=>Mp(i.contentDOM)),i.inputState.startMouseSelection(new Z_(i,e,t,n))}};function QF(i,e,t,n){if(n==1)return H.cursor(e,t);if(n==2)return B_(i.state,e,t);{let s=Si.find(i.docView,e),r=i.state.doc.lineAt(s?s.posAtEnd:e),a=s?s.posAtStart:r.from,o=s?s.posAtEnd:r.to;return oi>=e.top&&i<=e.bottom,TF=(i,e,t)=>$F(e,t)&&i>=t.left&&i<=t.right;function K_(i,e,t,n){let s=Si.find(i.docView,e);if(!s)return 1;let r=e-s.posAtStart;if(r==0)return 1;if(r==s.length)return-1;let a=s.coordsAt(r,-1);if(a&&TF(t,n,a))return-1;let o=s.coordsAt(r,1);return o&&TF(t,n,o)?1:a&&$F(n,a)?-1:1}function PF(i,e){let t=i.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:K_(i,t,e.clientX,e.clientY)}}const J_=G.ie&&G.ie_version<=11;let AF=null,MF=0,BF=0;function RF(i){if(!J_)return i.detail;let e=AF,t=BF;return AF=i,BF=Date.now(),MF=!e||t>Date.now()-400&&Math.abs(e.clientX-i.clientX)<2&&Math.abs(e.clientY-i.clientY)<2?(MF+1)%3:1}function e6(i,e){let t=PF(i,e),n=RF(e),s=i.state.selection,r=t,a=e;return{update(o){o.docChanged&&(t.pos=o.changes.mapPos(t.pos),s=s.map(o.changes),a=null)},get(o,u,f){let l;a&&o.clientX==a.clientX&&o.clientY==a.clientY?l=r:(l=r=PF(i,o),a=o);let d=QF(i,l.pos,l.bias,n);if(t.pos!=l.pos&&!u){let c=QF(i,t.pos,t.bias,n),h=Math.min(c.from,d.from),m=Math.max(c.to,d.to);d=h1&&s.ranges.some(c=>c.eq(d))?i6(s,d):f?s.addRange(d):H.create([d])}}}function i6(i,e){for(let t=0;;t++)if(i.ranges[t].eq(e))return H.create(i.ranges.slice(0,t).concat(i.ranges.slice(t+1)),i.mainIndex==t?0:i.mainIndex-(i.mainIndex>t?1:0))}Ye.dragstart=(i,e)=>{let{selection:{main:t}}=i.state,{mouseSelection:n}=i.inputState;n&&(n.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",i.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function jF(i,e,t,n){if(!t)return;let s=i.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:r}=i.inputState,a=n&&r&&r.dragging&&r.dragMove?{from:r.dragging.from,to:r.dragging.to}:null,o={from:s,insert:t},u=i.state.changes(a?[a,o]:o);i.focus(),i.dispatch({changes:u,selection:{anchor:u.mapPos(s,-1),head:u.mapPos(s,1)},userEvent:a?"move.drop":"input.drop"})}Ye.drop=(i,e)=>{if(!e.dataTransfer)return;if(i.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let n=Array(t.length),s=0,r=()=>{++s==t.length&&jF(i,e,n.filter(a=>a!=null).join(i.state.lineBreak),!1)};for(let a=0;a{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(n[a]=o.result),r()},o.readAsText(t[a])}}else jF(i,e,e.dataTransfer.getData("Text"),!0)},Ye.paste=(i,e)=>{if(i.state.readOnly)return e.preventDefault();i.observer.flush();let t=CF?null:e.clipboardData;t?(xF(i,t.getData("text/plain")),e.preventDefault()):Y_(i)};function t6(i,e){let t=i.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),i.focus()},50)}function n6(i){let e=[],t=[],n=!1;for(let s of i.selection.ranges)s.empty||(e.push(i.sliceDoc(s.from,s.to)),t.push(s));if(!e.length){let s=-1;for(let{from:r}of i.selection.ranges){let a=i.doc.lineAt(r);a.number>s&&(e.push(a.text),t.push({from:a.from,to:Math.min(i.doc.length,a.to+1)})),s=a.number}n=!0}return{text:e.join(i.lineBreak),ranges:t,linewise:n}}let Bd=null;Ye.copy=Ye.cut=(i,e)=>{let{text:t,ranges:n,linewise:s}=n6(i.state);if(!t&&!s)return;Bd=s?t:null;let r=CF?null:e.clipboardData;r?(e.preventDefault(),r.clearData(),r.setData("text/plain",t)):t6(i,t),e.type=="cut"&&!i.state.readOnly&&i.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"})};function IF(i){setTimeout(()=>{i.hasFocus!=i.inputState.notifiedFocused&&i.update([])},10)}Ye.focus=i=>{i.inputState.lastFocusTime=Date.now(),!i.scrollDOM.scrollTop&&(i.inputState.lastScrollTop||i.inputState.lastScrollLeft)&&(i.scrollDOM.scrollTop=i.inputState.lastScrollTop,i.scrollDOM.scrollLeft=i.inputState.lastScrollLeft),IF(i)},Ye.blur=i=>{i.observer.clearSelectionRange(),IF(i)},Ye.compositionstart=Ye.compositionupdate=i=>{i.inputState.compositionFirstChange==null&&(i.inputState.compositionFirstChange=!0),i.inputState.composing<0&&(i.inputState.composing=0)},Ye.compositionend=i=>{i.inputState.composing=-1,i.inputState.compositionEndedAt=Date.now(),i.inputState.compositionFirstChange=null,G.chrome&&G.android&&i.observer.flushSoon(),setTimeout(()=>{i.inputState.composing<0&&i.docView.compositionDeco.size&&i.update([])},50)},Ye.contextmenu=i=>{i.inputState.lastContextMenu=Date.now()},Ye.beforeinput=(i,e)=>{var t;let n;if(G.chrome&&G.android&&(n=DF.find(s=>s.inputType==e.inputType))&&(i.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let s=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var r;(((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0)>s+10&&i.hasFocus&&(i.contentDOM.blur(),i.focus())},100)}};const NF=["pre-wrap","normal","pre-line","break-spaces"];class s6{constructor(e){this.lineWrapping=e,this.doc=ke.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength)),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return NF.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n-1,o=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=n,this.lineLength=s,o){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>uu&&(e.heightChanged=!0),this.height=t)}replace(e,t,n){return Ei.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,s){let r=this;for(let a=s.length-1;a>=0;a--){let{fromA:o,toA:u,fromB:f,toB:l}=s[a],d=r.lineAt(o,xe.ByPosNoHeight,t,0,0),c=d.to>=u?d:r.lineAt(u,xe.ByPosNoHeight,t,0,0);for(l+=c.to-u,u=c.to;a>0&&d.from<=s[a-1].toA;)o=s[a-1].fromA,f=s[a-1].fromB,a--,or*2){let o=e[t-1];o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),n+=1+o.break,s-=o.size}else if(r>s*2){let o=e[n];o.break?e.splice(n,1,o.left,null,o.right):e.splice(n,1,o.left,o.right),n+=2+o.break,r-=o.size}else break;else if(s=r&&a(this.blockAt(0,n,s,r))}updateHeight(e,t=0,n=!1,s){return s&&s.from<=t&&s.more&&this.setHeight(e,s.heights[s.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Hi extends LF{constructor(e,t){super(e,t,Ze.Text),this.collapsed=0,this.widgetHeight=0}replace(e,t,n){let s=n[0];return n.length==1&&(s instanceof Hi||s instanceof ai&&s.flags&4)&&Math.abs(this.length-s.length)<10?(s instanceof ai?s=new Hi(s.length,this.height):s.height=this.height,this.outdated||(s.outdated=!1),s):Ei.of(n)}updateHeight(e,t=0,n=!1,s){return s&&s.from<=t&&s.more?this.setHeight(e,s.heights[s.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class ai extends Ei{constructor(e){super(e,0)}lines(e,t){let n=e.lineAt(t).number,s=e.lineAt(t+this.length).number;return{firstLine:n,lastLine:s,lineHeight:this.height/(s-n+1)}}blockAt(e,t,n,s){let{firstLine:r,lastLine:a,lineHeight:o}=this.lines(t,s),u=Math.max(0,Math.min(a-r,Math.floor((e-n)/o))),{from:f,length:l}=t.line(r+u);return new Cn(f,l,n+o*u,o,Ze.Text)}lineAt(e,t,n,s,r){if(t==xe.ByHeight)return this.blockAt(e,n,s,r);if(t==xe.ByPosNoHeight){let{from:d,to:c}=n.lineAt(e);return new Cn(d,c-d,0,0,Ze.Text)}let{firstLine:a,lineHeight:o}=this.lines(n,r),{from:u,length:f,number:l}=n.lineAt(e);return new Cn(u,f,s+o*(l-a),o,Ze.Text)}forEachLine(e,t,n,s,r,a){let{firstLine:o,lineHeight:u}=this.lines(n,r);for(let f=Math.max(e,r),l=Math.min(r+this.length,t);f<=l;){let d=n.lineAt(f);f==e&&(s+=u*(d.number-o)),a(new Cn(d.from,d.length,s,u,Ze.Text)),s+=u,f=d.to+1}}replace(e,t,n){let s=this.length-t;if(s>0){let r=n[n.length-1];r instanceof ai?n[n.length-1]=new ai(r.length+s):n.push(null,new ai(s-1))}if(e>0){let r=n[0];r instanceof ai?n[0]=new ai(e+r.length):n.unshift(new ai(e-1),null)}return Ei.of(n)}decomposeLeft(e,t){t.push(new ai(e-1),null)}decomposeRight(e,t){t.push(null,new ai(this.length-e-1))}updateHeight(e,t=0,n=!1,s){let r=t+this.length;if(s&&s.from<=t+this.length&&s.more){let a=[],o=Math.max(t,s.from),u=-1,f=e.heightChanged;for(s.from>t&&a.push(new ai(s.from-t-1).updateHeight(e,t));o<=r&&s.more;){let d=e.doc.lineAt(o).length;a.length&&a.push(null);let c=s.heights[s.index++];u==-1?u=c:Math.abs(c-u)>=uu&&(u=-2);let h=new Hi(d,c);h.outdated=!1,a.push(h),o+=d+1}o<=r&&a.push(null,new ai(r-o).updateHeight(e,o));let l=Ei.of(a);return e.heightChanged=f||u<0||Math.abs(l.height-this.height)>=uu||Math.abs(u-this.lines(e.doc,t).lineHeight)>=uu,l}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class a6 extends Ei{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,s){let r=n+this.left.height;return eo))return f;let l=t==xe.ByPosNoHeight?xe.ByPosNoHeight:xe.ByPos;return u?f.join(this.right.lineAt(o,l,n,a,o)):this.left.lineAt(o,l,n,s,r).join(f)}forEachLine(e,t,n,s,r,a){let o=s+this.left.height,u=r+this.left.length+this.break;if(this.break)e=u&&this.right.forEachLine(e,t,n,o,u,a);else{let f=this.lineAt(u,xe.ByPos,n,s,r);e=e&&f.from<=t&&a(f),t>f.to&&this.right.forEachLine(f.to+1,t,n,o,u,a)}}replace(e,t,n){let s=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-s,t-s,n));let r=[];e>0&&this.decomposeLeft(e,r);let a=r.length;for(let o of n)r.push(o);if(e>0&&zF(r,a-1),t=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,s=n+this.break;if(e>=s)return this.right.decomposeRight(e-s,t);e2*t.size||t.size>2*e.size?Ei.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,s){let{left:r,right:a}=this,o=t+r.length+this.break,u=null;return s&&s.from<=t+r.length&&s.more?u=r=r.updateHeight(e,t,n,s):r.updateHeight(e,t,n),s&&s.from<=o+a.length&&s.more?u=a=a.updateHeight(e,o,n,s):a.updateHeight(e,o,n),u?this.balanced(r,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function zF(i,e){let t,n;i[e]==null&&(t=i[e-1])instanceof ai&&(n=i[e+1])instanceof ai&&i.splice(e-1,3,new ai(t.length+1+n.length))}const o6=5;class Rd{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),s=this.nodes[this.nodes.length-1];s instanceof Hi?s.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Hi(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e=o6)&&this.addLineDeco(s,r)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new Hi(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new ai(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Hi)return e;let t=new Hi(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine(),e.type==Ze.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=Ze.WidgetBefore&&(this.covering=e)}addLineDeco(e,t){let n=this.ensureLine();n.length+=t,n.collapsed+=t,n.widgetHeight=Math.max(n.widgetHeight,e),this.writtenTo=this.pos=this.pos+t}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof Hi)&&!this.isCovered?this.nodes.push(new Hi(0,-1)):(this.writtenTol.clientHeight||l.scrollWidth>l.clientWidth)&&d.overflow!="visible"){let c=l.getBoundingClientRect();r=Math.max(r,c.left),a=Math.min(a,c.right),o=Math.max(o,c.top),u=f==i.parentNode?c.bottom:Math.min(u,c.bottom)}f=d.position=="absolute"||d.position=="fixed"?l.offsetParent:l.parentNode}else if(f.nodeType==11)f=f.host;else break;return{left:r-t.left,right:Math.max(r,a)-t.left,top:o-(t.top+e),bottom:Math.max(o,u)-(t.top+e)}}function d6(i,e){let t=i.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class jd{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new s6(t),this.stateDeco=e.facet(pa).filter(n=>typeof n!="function"),this.heightMap=Ei.empty().applyChanges(this.stateDeco,ke.empty,this.heightOracle.setDoc(e.doc),[new yt(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ri.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let s=n?t.head:t.anchor;if(!e.some(({from:r,to:a})=>s>=r&&s<=a)){let{from:r,to:a}=this.lineBlockAt(s);e.push(new fu(r,a))}}this.viewports=e.sort((n,s)=>n.from-s.from),this.scaler=this.heightMap.height<=7e6?qF:new p6(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:ga(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(pa).filter(f=>typeof f!="function");let s=e.changedRanges,r=yt.extendWithRanges(s,u6(n,this.stateDeco,e?e.changes:Ge.empty(this.state.doc.length))),a=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),r),this.heightMap.height!=a&&(e.flags|=2);let o=r.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.heado.to)||!this.viewportIsAppropriate(o))&&(o=this.getViewport(0,t));let u=!e.changes.empty||e.flags&2||o.from!=this.viewport.from||o.to!=this.viewport.to;this.viewport=o,this.updateForViewport(),u&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(y_)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),s=this.heightOracle,r=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Di.RTL:Di.LTR;let a=this.heightOracle.mustRefreshForWrapping(r),o=a||this.mustMeasureContent||this.contentDOMHeight!=t.clientHeight;this.contentDOMHeight=t.clientHeight,this.mustMeasureContent=!1;let u=0,f=0,l=parseInt(n.paddingTop)||0,d=parseInt(n.paddingBottom)||0;(this.paddingTop!=l||this.paddingBottom!=d)&&(this.paddingTop=l,this.paddingBottom=d,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(s.lineWrapping&&(o=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8);let c=(this.printing?d6:l6)(t,this.paddingTop),h=c.top-this.pixelViewport.top,m=c.bottom-this.pixelViewport.bottom;this.pixelViewport=c;let F=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(F!=this.inView&&(this.inView=F,F&&(o=!0)),!this.inView&&!this.scrollTarget)return 0;let g=t.clientWidth;if((this.contentDOMWidth!=g||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=g,this.editorHeight=e.scrollDOM.clientHeight,u|=8),o){let v=e.docView.measureVisibleLineHeights(this.viewport);if(s.mustRefreshForHeights(v)&&(a=!0),a||s.lineWrapping&&Math.abs(g-this.contentDOMWidth)>s.charWidth){let{lineHeight:O,charWidth:w}=e.docView.measureTextSize();a=O>0&&s.refresh(r,O,w,g/w,v),a&&(e.docView.minWidth=0,u|=8)}h>0&&m>0?f=Math.max(h,m):h<0&&m<0&&(f=Math.min(h,m)),s.heightChanged=!1;for(let O of this.viewports){let w=O.from==this.viewport.from?v:e.docView.measureVisibleLineHeights(O);this.heightMap=(a?Ei.empty().applyChanges(this.stateDeco,ke.empty,this.heightOracle,[new yt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(s,0,a,new r6(O.from,w))}s.heightChanged&&(u|=2)}let p=!this.viewportIsAppropriate(this.viewport,f)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return p&&(this.viewport=this.getViewport(f,this.scrollTarget)),this.updateForViewport(),(u&2||p)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),s=this.heightMap,r=this.state.doc,{visibleTop:a,visibleBottom:o}=this,u=new fu(s.lineAt(a-n*1e3,xe.ByHeight,r,0,0).from,s.lineAt(o+(1-n)*1e3,xe.ByHeight,r,0,0).to);if(t){let{head:f}=t.range;if(fu.to){let l=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),d=s.lineAt(f,xe.ByPos,r,0,0),c;t.y=="center"?c=(d.top+d.bottom)/2-l/2:t.y=="start"||t.y=="nearest"&&f=o+Math.max(10,Math.min(n,250)))&&s>a-2e3&&r>1,a=s<<1;if(this.defaultTextDirection!=Di.LTR&&!n)return[];let o=[],u=(f,l,d,c)=>{if(l-ff&&gg.from>=d.from&&g.to<=d.to&&Math.abs(g.from-f)g.fromp));if(!F){if(lg.from<=l&&g.to>=l)){let g=t.moveToLineBoundary(H.cursor(l),!1,!0).head;g>f&&(l=g)}F=new jd(f,l,this.gapSize(d,f,l,c))}o.push(F)};for(let f of this.viewportLines){if(f.lengthf.from&&u(f.from,c,f,l),ht.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];We.spans(e,this.viewport.from,this.viewport.to,{span(s,r){t.push({from:s,to:r})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((s,r)=>s.from!=t[r].from||s.to!=t[r].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||ga(this.heightMap.lineAt(e,xe.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(e){return ga(this.heightMap.lineAt(this.scaler.fromDOM(e),xe.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(e){return ga(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class fu{constructor(e,t){this.from=e,this.to=t}}function h6(i,e,t){let n=[],s=i,r=0;return We.spans(t,i,e,{span(){},point(a,o){a>s&&(n.push({from:s,to:a}),r+=a-s),s=o}},20),s=1)return e[e.length-1].to;let n=Math.floor(i*t);for(let s=0;;s++){let{from:r,to:a}=e[s],o=a-r;if(n<=o)return r+n;n-=o}}function du(i,e){let t=0;for(let{from:n,to:s}of i.ranges){if(e<=s){t+=e-n;break}t+=s-n}return t/i.total}function m6(i,e){for(let t of i)if(e(t))return t}const qF={toDOM(i){return i},fromDOM(i){return i},scale:1};class p6{constructor(e,t,n){let s=0,r=0,a=0;this.viewports=n.map(({from:o,to:u})=>{let f=t.lineAt(o,xe.ByPos,e,0,0).top,l=t.lineAt(u,xe.ByPos,e,0,0).bottom;return s+=l-f,{from:o,to:u,top:f,bottom:l,domTop:0,domBottom:0}}),this.scale=(7e6-s)/(t.height-s);for(let o of this.viewports)o.domTop=a+(o.top-r)*this.scale,a=o.domBottom=o.domTop+(o.bottom-o.top),r=o.bottom}toDOM(e){for(let t=0,n=0,s=0;;t++){let r=tga(s,e)):i.type)}const cu=me.define({combine:i=>i.join(" ")}),Id=me.define({combine:i=>i.indexOf(!0)>-1}),Nd=Vs.newName(),VF=Vs.newName(),XF=Vs.newName(),ZF={"&light":"."+VF,"&dark":"."+XF};function Ld(i,e,t){return new Vs(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,s=>{if(s=="&")return i;if(!t||!t[s])throw new RangeError(`Unsupported selector: ${s}`);return t[s]}):i+" "+n}})}const F6=Ld("."+Nd,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},ZF);class g6{constructor(e,t,n,s){this.typeOver=s,this.bounds=null,this.text="";let{impreciseHead:r,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let o=r||a?[]:O6(e),u=new hF(o,e.state);u.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=u.text,this.newSel=y6(o,this.bounds.from)}else{let o=e.observer.selectionRange,u=r&&r.node==o.focusNode&&r.offset==o.focusOffset||!Zs(e.contentDOM,o.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(o.focusNode,o.focusOffset),f=a&&a.node==o.anchorNode&&a.offset==o.anchorOffset||!Zs(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset);this.newSel=H.single(f,u)}}}function UF(i,e){let t,{newSel:n}=e,s=i.state.selection.main;if(e.bounds){let{from:r,to:a}=e.bounds,o=s.from,u=null;(i.inputState.lastKeyCode===8&&i.inputState.lastKeyTime>Date.now()-100||G.android&&e.text.length=s.from&&t.to<=s.to&&(t.from!=s.from||t.to!=s.to)&&s.to-s.from-(t.to-t.from)<=4?t={from:s.from,to:s.to,insert:i.state.doc.slice(s.from,t.from).append(t.insert).append(i.state.doc.slice(t.to,s.to))}:(G.mac||G.android)&&t&&t.from==t.to&&t.from==s.head-1&&/^\. ?$/.test(t.insert.toString())?(n&&t.insert.length==2&&(n=H.single(n.main.anchor-1,n.main.head-1)),t={from:s.from,to:s.to,insert:ke.of([" "])}):G.chrome&&t&&t.from==t.to&&t.from==s.head&&t.insert.toString()==` + `&&i.lineWrapping&&(n&&(n=H.single(n.main.anchor-1,n.main.head-1)),t={from:s.from,to:s.to,insert:ke.of([" "])}),t){let r=i.state;if(G.ios&&i.inputState.flushIOSKey(i)||G.android&&(t.from==s.from&&t.to==s.to&&t.insert.length==1&&t.insert.lines==2&&Hs(i.contentDOM,"Enter",13)||t.from==s.from-1&&t.to==s.to&&t.insert.length==0&&Hs(i.contentDOM,"Backspace",8)||t.from==s.from&&t.to==s.to+1&&t.insert.length==0&&Hs(i.contentDOM,"Delete",46)))return!0;let a=t.insert.toString();if(i.state.facet(sF).some(f=>f(i,t.from,t.to,a)))return!0;i.inputState.composing>=0&&i.inputState.composing++;let o;if(t.from>=s.from&&t.to<=s.to&&t.to-t.from>=(s.to-s.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&i.inputState.composing<0){let f=s.fromt.to?r.sliceDoc(t.to,s.to):"";o=r.replaceSelection(i.state.toText(f+t.insert.sliceString(0,void 0,i.state.lineBreak)+l))}else{let f=r.changes(t),l=n&&!r.selection.main.eq(n.main)&&n.main.to<=f.newLength?n.main:void 0;if(r.selection.ranges.length>1&&i.inputState.composing>=0&&t.to<=s.to&&t.to>=s.to-10){let d=i.state.sliceDoc(t.from,t.to),c=vF(i)||i.state.doc.lineAt(s.head),h=s.to-t.to,m=s.to-s.from;o=r.changeByRange(F=>{if(F.from==s.from&&F.to==s.to)return{changes:f,range:l||F.map(f)};let g=F.to-h,p=g-d.length;if(F.to-F.from!=m||i.state.sliceDoc(p,g)!=d||c&&F.to>=c.from&&F.from<=c.to)return{range:F};let v=r.changes({from:p,to:g,insert:t.insert}),O=F.to-s.to;return{changes:v,range:l?H.range(Math.max(0,l.anchor+O),Math.max(0,l.head+O)):F.map(v)}})}else o={changes:f,selection:l&&r.selection.replaceRange(l)}}let u="input.type";return i.composing&&(u+=".compose",i.inputState.compositionFirstChange&&(u+=".start",i.inputState.compositionFirstChange=!1)),i.dispatch(o,{scrollIntoView:!0,userEvent:u}),!0}else if(n&&!n.main.eq(s)){let r=!1,a="select";return i.inputState.lastSelectionTime>Date.now()-50&&(i.inputState.lastSelectionOrigin=="select"&&(r=!0),a=i.inputState.lastSelectionOrigin),i.dispatch({selection:n,scrollIntoView:r,userEvent:a}),!0}else return!1}function v6(i,e,t,n){let s=Math.min(i.length,e.length),r=0;for(;r0&&o>0&&i.charCodeAt(a-1)==e.charCodeAt(o-1);)a--,o--;if(n=="end"){let u=Math.max(0,r-Math.min(a,o));t-=a+u-r}return a=a?r-t:0,o=r+(o-a),a=r):o=o?r-t:0,a=r+(a-o),o=r),{from:r,toA:a,toB:o}}function O6(i){let e=[];if(i.root.activeElement!=i.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:s,focusOffset:r}=i.observer.selectionRange;return t&&(e.push(new pF(t,n)),(s!=t||r!=n)&&e.push(new pF(s,r))),e}function y6(i,e){if(i.length==0)return null;let t=i[0].pos,n=i.length==2?i[1].pos:t;return t>-1&&n>-1?H.single(t+e,n+e):null}const k6={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},zd=G.ie&&G.ie_version<=11;class w6{constructor(e){this.view=e,this.active=!1,this.selectionRange=new h_,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(G.ie&&G.ie_version<=11||G.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),zd&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resize=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,s=this.selectionRange;if(n.state.facet(au)?n.root.activeElement!=this.dom:!Ko(n.dom,s))return;let r=s.anchorNode&&n.docView.nearest(s.anchorNode);if(r&&r.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(G.ie&&G.ie_version<=11||G.android&&G.chrome)&&!n.state.selection.main.empty&&s.focusNode&&Jo(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=G.safari&&e.root.nodeType==11&&l_(this.dom.ownerDocument)==this.dom&&b6(this.view)||Yo(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=Ko(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let r=this.delayedAndroidKey;r&&(this.clearDelayedAndroidKey(),!this.flush()&&r.force&&Hs(this.dom,r.key,r.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(s)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}processRecords(){let e=this.queue;for(let r of this.observer.takeRecords())e.push(r);e.length&&(this.queue=[]);let t=-1,n=-1,s=!1;for(let r of e){let a=this.readMutation(r);!a||(a.typeOver&&(s=!0),t==-1?{from:t,to:n}=a:(t=Math.min(a.from,t),n=Math.max(a.to,n)))}return{from:t,to:n,typeOver:s}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),s=this.selectionChanged&&Ko(this.dom,this.selectionRange);return e<0&&!s?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new g6(this.view,e,t,n))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,s=UF(this.view,t);return this.view.state==n&&this.view.update([]),s}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.dirty|=4),e.type=="childList"){let n=GF(t,e.previousSibling||e.target.previousSibling,-1),s=GF(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:s?t.posBefore(s):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resize)===null||n===void 0||n.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function GF(i,e,t){for(;e;){let n=Ce.get(e);if(n&&n.parent==i)return n;let s=e.parentNode;e=s!=i.dom?s:t>0?e.nextSibling:e.previousSibling}return null}function b6(i){let e=null;function t(u){u.preventDefault(),u.stopImmediatePropagation(),e=u.getTargetRanges()[0]}if(i.contentDOM.addEventListener("beforeinput",t,!0),i.dom.ownerDocument.execCommand("indent"),i.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,s=e.startOffset,r=e.endContainer,a=e.endOffset,o=i.docView.domAtPos(i.state.selection.main.anchor);return Jo(o.node,o.offset,r,a)&&([n,s,r,a]=[r,a,n,s]),{anchorNode:n,anchorOffset:s,focusNode:r,focusOffset:a}}class Le{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||m_(e.parent)||document,this.viewState=new WF(e.state||be.create(e)),this.plugins=this.state.facet(ha).map(t=>new Cd(t));for(let t of this.plugins)t.update(this);this.observer=new w6(this),this.inputState=new q_(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new FF(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){this._dispatch(e.length==1&&e[0]instanceof gi?e[0]:this.state.update(...e))}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,s,r=this.state;for(let f of e){if(f.startState!=r)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");r=f.state}if(this.destroyed){this.viewState.state=r;return}let a=this.observer.delayedAndroidKey,o=null;if(a?(this.observer.clearDelayedAndroidKey(),o=this.observer.readChange(),(o&&!this.state.doc.eq(r.doc)||!this.state.selection.eq(r.selection))&&(o=null)):this.observer.clear(),r.facet(be.phrases)!=this.state.facet(be.phrases))return this.setState(r);s=ou.create(this,r,e);let u=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(u&&(u=u.map(f.changes)),f.scrollIntoView){let{main:l}=f.state.selection;u=new ru(l.empty?l:H.cursor(l.head,l.head>l.anchor?-1:1))}for(let l of f.effects)l.is(aF)&&(u=l.value)}this.viewState.update(s,u),this.bidiCache=hu.update(this.bidiCache,s.changes),s.empty||(this.updatePlugins(s),this.inputState.update(s)),t=this.docView.update(s),this.state.facet(Fa)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(s.startState.facet(cu)!=s.state.facet(cu)&&(this.viewState.mustMeasureContent=!0),(t||n||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!s.empty)for(let f of this.state.facet(Ed))f(s);o&&!UF(this,o)&&a.force&&Hs(this.contentDOM,a.key,a.keyCode)}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new WF(e),this.plugins=e.facet(ha).map(n=>new Cd(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new FF(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(ha),n=e.state.facet(ha);if(t!=n){let s=[];for(let r of n){let a=t.indexOf(r);if(a<0)s.push(new Cd(r));else{let o=this.plugins[a];o.mustUpdate=e,s.push(o)}}for(let r of this.plugins)r.mustUpdate!=e&&r.destroy(this);this.plugins=s,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let s of this.plugins)s.mustUpdate=e;for(let s=0;s-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,{scrollHeight:n,scrollTop:s,clientHeight:r}=this.scrollDOM,a=s>n-r-4?n:s;try{for(let o=0;;o++){this.updateState=1;let u=this.viewport,f=this.viewState.lineBlockAtHeight(a),l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let d=[];l&4||([this.measureRequests,d]=[d,this.measureRequests]);let c=d.map(g=>{try{return g.read(this)}catch(p){return Dn(this.state,p),HF}}),h=ou.create(this,this.state,[]),m=!1,F=!1;h.flags|=l,t?t.flags|=l:t=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),m=this.docView.update(h));for(let g=0;g1||g<-1)&&(this.scrollDOM.scrollTop+=g,F=!0)}if(m&&this.docView.updateSelection(!0),this.viewport.from==u.from&&this.viewport.to==u.to&&!F&&this.measureRequests.length==0)break}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let o of this.state.facet(Ed))o(t)}get themeClasses(){return Nd+" "+(this.state.facet(Id)?XF:VF)+" "+this.state.facet(cu)}updateAttrs(){let e=YF(this,oF,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(au)?"true":"false",class:"cm-content",style:`${G.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),YF(this,xd,t);let n=this.observer.ignore(()=>{let s=_d(this.contentDOM,this.contentAttrs,t),r=_d(this.dom,this.editorAttrs,e);return s||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let s of n.effects)if(s.is(Le.announce)){t&&(this.announceDOM.textContent=""),t=!1;let r=this.announceDOM.appendChild(document.createElement("div"));r.textContent=s.value}}mountStyles(){this.styleModules=this.state.facet(Fa),Vs.mount(this.root,this.styleModules.concat(F6).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(e.key!=null){for(let t=0;tn.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return Ad(this,e,SF(this,e,t,n))}moveByGroup(e,t){return Ad(this,e,SF(this,e,t,n=>z_(this,e.head,n)))}moveToLineBoundary(e,t,n=!0){return L_(this,e,t,n)}moveVertically(e,t,n){return Ad(this,e,W_(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),bF(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let s=this.state.doc.lineAt(e),r=this.bidiSpans(s),a=r[Ks.find(r,e-s.from,-1,t)];return md(n,a.dir==Di.LTR==t>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(rF)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>_6)return dF(e.length);let t=this.textDirectionAt(e.from);for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t)return s.order;let n=E_(e.text,t);return this.bidiCache.push(new hu(e.from,e.to,t,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||G.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Mp(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return aF.of(new ru(typeof e=="number"?H.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return ma.define(()=>({}),{eventHandlers:e})}static theme(e,t){let n=Vs.newName(),s=[cu.of(n),Fa.of(Ld(`.${n}`,e))];return t&&t.dark&&s.push(Id.of(!0)),s}static baseTheme(e){return Gb.lowest(Fa.of(Ld("."+Nd,e,ZF)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),s=n&&Ce.get(n)||Ce.get(e);return((t=s==null?void 0:s.rootView)===null||t===void 0?void 0:t.view)||null}}Le.styleModule=Fa,Le.inputHandler=sF,Le.perLineTextDirection=rF,Le.exceptionSink=nF,Le.updateListener=Ed,Le.editable=au,Le.mouseSelectionStyle=tF,Le.dragMovesSelection=iF,Le.clickAddsSelectionRange=eF,Le.decorations=pa,Le.atomicRanges=uF,Le.scrollMargins=fF,Le.darkTheme=Id,Le.contentAttributes=xd,Le.editorAttributes=oF,Le.lineWrapping=Le.contentAttributes.of({class:"cm-lineWrapping"}),Le.announce=He.define();const _6=4096,HF={};class hu{constructor(e,t,n,s){this.from=e,this.to=t,this.dir=n,this.order=s}static update(e,t){if(t.empty)return e;let n=[],s=e.length?e[e.length-1].dir:Di.LTR;for(let r=Math.max(0,e.length-10);r=0;s--){let r=n[s],a=typeof r=="function"?r(i):r;a&&wd(a,t)}return t}class Js extends cs{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Js.prototype.elementClass="",Js.prototype.toDOM=void 0,Js.prototype.mapMode=Ui.TrackBefore,Js.prototype.startSide=Js.prototype.endSide=-1,Js.prototype.point=!0;const KF=1024;let S6=0;class rt{constructor(e,t){this.from=e,this.to=t}}class ge{constructor(e={}){this.id=S6++,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=Ci.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}ge.closedBy=new ge({deserialize:i=>i.split(" ")}),ge.openedBy=new ge({deserialize:i=>i.split(" ")}),ge.group=new ge({deserialize:i=>i.split(" ")}),ge.contextHash=new ge({perNode:!0}),ge.lookAhead=new ge({perNode:!0}),ge.mounted=new ge({perNode:!0});class D6{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const E6=Object.create(null);class Ci{constructor(e,t,n,s=0){this.name=e,this.props=t,this.id=n,this.flags=s}static define(e){let t=e.props&&e.props.length?Object.create(null):E6,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),s=new Ci(e.name||"",t,e.id,n);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(s)),r){if(r[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return s}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 t=this.prop(ge.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let s of n.split(" "))t[s]=e[n];return n=>{for(let s=n.prop(ge.group),r=-1;r<(s?s.length:0);r++){let a=t[r<0?n.name:s[r]];if(a)return a}}}}Ci.none=new Ci("",Object.create(null),0,8);class Wd{constructor(e){this.types=e;for(let t=0;t=s&&(a.type.isAnonymous||t(a)!==!1)){if(a.firstChild())continue;o=!0}for(;o&&n&&!a.type.isAnonymous&&n(a),!a.nextSibling();){if(!a.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 t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:Xd(Ci.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,s)=>new Me(this.type,t,n,s,this.propValues),e.makeTree||((t,n,s)=>new Me(Ci.none,t,n,s)))}static build(e){return x6(e)}}Me.empty=new Me(Ci.none,[],[],0);class qd{constructor(e,t){this.buffer=e,this.index=t}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 qd(this.buffer,this.index)}}class ps{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return Ci.none}toString(){let e=[];for(let t=0;t0));u=a[u+3]);return o}slice(e,t,n,s){let r=this.buffer,a=new Uint16Array(t-e);for(let o=e,u=0;o=e&&te;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function ig(i,e){let t=i.childBefore(e);for(;t;){let n=t.lastChild;if(!n||n.to!=t.to)break;n.type.isError&&n.from==n.to?(i=t,t=n.prevSibling):t=n}return i}function er(i,e,t,n){for(var s;i.from==i.to||(t<1?i.from>=e:i.from>e)||(t>-1?i.to<=e:i.to0?o.length:-1;e!=f;e+=t){let l=o[e],d=u[e]+a.from;if(eg(s,n,d,d+l.length)){if(l instanceof ps){if(r&Ae.ExcludeBuffers)continue;let c=l.findChild(0,l.buffer.length,t,n-d,s);if(c>-1)return new xn(new C6(a,l,e,d),null,c)}else if(r&Ae.IncludeAnonymous||!l.type.isAnonymous||Vd(l)){let c;if(!(r&Ae.IgnoreMounts)&&l.props&&(c=l.prop(ge.mounted))&&!c.overlay)return new wt(c.tree,d,e,a);let h=new wt(l,d,e,a);return r&Ae.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(t<0?l.children.length-1:0,t,n,s)}}}if(r&Ae.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+t:e=t<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(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let s;if(!(n&Ae.IgnoreOverlays)&&(s=this._tree.prop(ge.mounted))&&s.overlay){let r=e-this.from;for(let{from:a,to:o}of s.overlay)if((t>0?a<=r:a=r:o>r))return new wt(s.tree,s.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}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 va(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return er(this,e,t,!1)}resolveInner(e,t=0){return er(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ig(this,e)}getChild(e,t=null,n=null){let s=pu(this,e,t,n);return s.length?s[0]:null}getChildren(e,t=null,n=null){return pu(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Fu(this,e)}}function pu(i,e,t,n){let s=i.cursor(),r=[];if(!s.firstChild())return r;if(t!=null){for(;!s.type.is(t);)if(!s.nextSibling())return r}for(;;){if(n!=null&&s.type.is(n))return r;if(s.type.is(e)&&r.push(s.node),!s.nextSibling())return n==null?r:[]}}function Fu(i,e,t=e.length-1){for(let n=i.parent;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class C6{constructor(e,t,n,s){this.parent=e,this.buffer=t,this.index=n,this.start=s}}class xn{constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}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,t,n){let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new xn(this.context,this,r)}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,t,n=0){if(n&Ae.ExcludeBuffers)return null;let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return r<0?null:new xn(this.context,this,r)}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,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new xn(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new xn(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new va(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,s=this.index+4,r=n.buffer[this.index+3];if(r>s){let a=n.buffer[this.index+1],o=n.buffer[this.index+2];e.push(n.slice(s,r,a,o)),t.push(0)}return new Me(this.type,e,t,this.to-this.from)}resolve(e,t=0){return er(this,e,t,!1)}resolveInner(e,t=0){return er(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ig(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let s=pu(this,e,t,n);return s.length?s[0]:null}getChildren(e,t=null,n=null){return pu(this,e,t,n)}get node(){return this}matchContext(e){return Fu(this,e)}}class va{constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof wt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.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,t){this.index=e;let{start:n,buffer:s}=this.buffer;return this.type=t||s.set.types[s.buffer[e]],this.from=n+s.buffer[e+1],this.to=n+s.buffer[e+2],!0}yield(e){return e?e instanceof wt?(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,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:s}=this.buffer,r=s.findChild(this.index+4,s.buffer[this.index+3],e,t-this.buffer.start,n);return r<0?!1:(this.stack.push(this.index),this.yieldBuf(r))}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,t,n=this.mode){return this.buffer?n&Ae.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ae.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Ae.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:t}=this.buffer,n=this.stack.length-1;if(e<0){let s=n<0?0:this.stack[n]+4;if(this.index!=s)return this.yieldBuf(t.findChild(s,this.index,-1,0,4))}else{let s=t.buffer[this.index+3];if(s<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(s)}return n<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 t,n,{buffer:s}=this;if(s){if(e>0){if(this.index-1)for(let r=t+e,a=e<0?-1:n._tree.children.length;r!=a;r+=e){let o=n._tree.children[r];if(this.mode&Ae.IncludeAnonymous||o instanceof ps||!o.type.isAnonymous||Vd(o))return!1}return!0}move(e,t){if(t&&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,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let a=e;a;a=a._parent)if(a.index==s){if(s==this.index)return a;t=a,n=r+1;break e}s=this.stack[--r]}}for(let s=n;s=0;r--){if(r<0)return Fu(this.node,e,s);let a=n[t.buffer[this.stack[r]]];if(!a.isAnonymous){if(e[s]&&e[s]!=a.name)return!1;s--}}return!0}}function Vd(i){return i.children.some(e=>e instanceof ps||!e.type.isAnonymous||Vd(e))}function x6(i){var e;let{buffer:t,nodeSet:n,maxBufferLength:s=KF,reused:r=[],minRepeatType:a=n.types.length}=i,o=Array.isArray(t)?new qd(t,t.length):t,u=n.types,f=0,l=0;function d(w,E,D,x,b){let{id:C,start:S,end:Q,size:T}=o,N=l;for(;T<0;)if(o.next(),T==-1){let ae=r[C];D.push(ae),x.push(S-w);return}else if(T==-3){f=C;return}else if(T==-4){l=C;return}else throw new RangeError(`Unrecognized record size: ${T}`);let I=u[C],ie,te,ve=S-w;if(Q-S<=s&&(te=F(o.pos-E,b))){let ae=new Uint16Array(te.size-te.skip),Se=o.pos-te.size,Ri=ae.length;for(;o.pos>Se;)Ri=g(te.start,ae,Ri);ie=new ps(ae,Q-te.start,n),ve=te.start-w}else{let ae=o.pos-T;o.next();let Se=[],Ri=[],xi=C>=a?C:-1,di=0,ks=Q;for(;o.pos>ae;)xi>=0&&o.id==xi&&o.size>=0?(o.end<=ks-s&&(h(Se,Ri,S,di,o.end,ks,xi,N),di=Se.length,ks=o.end),o.next()):d(S,ae,Se,Ri,xi);if(xi>=0&&di>0&&di-1&&di>0){let cf=c(I);ie=Xd(I,Se,Ri,0,Se.length,0,Q-S,cf,cf)}else ie=m(I,Se,Ri,Q-S,N-Q)}D.push(ie),x.push(ve)}function c(w){return(E,D,x)=>{let b=0,C=E.length-1,S,Q;if(C>=0&&(S=E[C])instanceof Me){if(!C&&S.type==w&&S.length==x)return S;(Q=S.prop(ge.lookAhead))&&(b=D[C]+S.length+Q)}return m(w,E,D,x,b)}}function h(w,E,D,x,b,C,S,Q){let T=[],N=[];for(;w.length>x;)T.push(w.pop()),N.push(E.pop()+D-b);w.push(m(n.types[S],T,N,C-b,Q-C)),E.push(b-D)}function m(w,E,D,x,b=0,C){if(f){let S=[ge.contextHash,f];C=C?[S].concat(C):[S]}if(b>25){let S=[ge.lookAhead,b];C=C?[S].concat(C):[S]}return new Me(w,E,D,x,C)}function F(w,E){let D=o.fork(),x=0,b=0,C=0,S=D.end-s,Q={size:0,start:0,skip:0};e:for(let T=D.pos-w;D.pos>T;){let N=D.size;if(D.id==E&&N>=0){Q.size=x,Q.start=b,Q.skip=C,C+=4,x+=4,D.next();continue}let I=D.pos-N;if(N<0||I=a?4:0,te=D.start;for(D.next();D.pos>I;){if(D.size<0)if(D.size==-3)ie+=4;else break e;else D.id>=a&&(ie+=4);D.next()}b=te,x+=N,C+=ie}return(E<0||x==w)&&(Q.size=x,Q.start=b,Q.skip=C),Q.size>4?Q:void 0}function g(w,E,D){let{id:x,start:b,end:C,size:S}=o;if(o.next(),S>=0&&x4){let T=o.pos-(S-4);for(;o.pos>T;)D=g(w,E,D)}E[--D]=Q,E[--D]=C-w,E[--D]=b-w,E[--D]=x}else S==-3?f=x:S==-4&&(l=x);return D}let p=[],v=[];for(;o.pos>0;)d(i.start||0,i.bufferStart||0,p,v,-1);let O=(e=i.length)!==null&&e!==void 0?e:p.length?v[0]+p[0].length:0;return new Me(u[i.topID],p.reverse(),v.reverse(),O)}const tg=new WeakMap;function gu(i,e){if(!i.isAnonymous||e instanceof ps||e.type!=i)return 1;let t=tg.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=i||!(n instanceof Me)){t=1;break}t+=gu(i,n)}tg.set(e,t)}return t}function Xd(i,e,t,n,s,r,a,o,u){let f=0;for(let m=n;m=l)break;D+=x}if(O==w+1){if(D>l){let x=m[w];h(x.children,x.positions,0,x.children.length,F[w]+v);continue}d.push(m[w])}else{let x=F[O-1]+m[O-1].length-E;d.push(Xd(i,m,F,w,O,E,x,null,u))}c.push(E+v-r)}}return h(e,t,n,s,0),(o||u)(d,c,a)}class Xt{constructor(e,t,n,s,r=!1,a=!1){this.from=e,this.to=t,this.tree=n,this.offset=s,this.open=(r?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let s=[new Xt(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&s.push(r);return s}static applyChanges(e,t,n=128){if(!t.length)return e;let s=[],r=1,a=e.length?e[0]:null;for(let o=0,u=0,f=0;;o++){let l=o=n)for(;a&&a.from=c.from||d<=c.to||f){let h=Math.max(c.from,u)-f,m=Math.min(c.to,d)-f;c=h>=m?null:new Xt(h,m,c.tree,c.offset+f,o>0,!!l)}if(c&&s.push(c),a.to>d)break;a=rnew rt(s.from,s.to)):[new rt(0,0)]:[new rt(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let s=this.startParse(e,t,n);for(;;){let r=s.advance();if(r)return r}}}class Q6{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function $6(i){return(e,t,n,s)=>new P6(e,i,t,n,s)}class sg{constructor(e,t,n,s,r){this.parser=e,this.parse=t,this.overlay=n,this.target=s,this.ranges=r}}class T6{constructor(e,t,n,s,r,a,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=s,this.start=r,this.target=a,this.prev=o,this.depth=0,this.ranges=[]}}const Zd=new ge({perNode:!0});class P6{constructor(e,t,n,s,r){this.nest=t,this.input=n,this.fragments=s,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let s of this.inner)s.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new Me(n.type,n.children,n.positions,n.length,n.propValues.concat([[Zd,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[ge.mounted.id]=new D6(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;tl.frag.from<=s.from&&l.frag.to>=s.to&&l.mount.overlay);if(f)for(let l of f.mount.overlay){let d=l.from+f.pos,c=l.to+f.pos;d>=s.from&&c<=s.to&&!t.ranges.some(h=>h.fromd)&&t.ranges.push({from:d,to:c})}}o=!1}else if(n&&(a=A6(n.ranges,s.from,s.to)))o=a!=2;else if(!s.type.isAnonymous&&s.fromnew rt(d.from-s.from,d.to-s.from)):null,s.tree,l)),r.overlay?l.length&&(n={ranges:l,depth:0,prev:n}):o=!1}}else t&&(u=t.predicate(s))&&(u===!0&&(u=new rt(s.from,s.to)),u.fromnew rt(l.from-t.start,l.to-t.start)),t.target,f)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function A6(i,e,t){for(let n of i){if(n.from>=t)break;if(n.to>e)return n.from<=e&&n.to>=t?2:1}return 0}function rg(i,e,t,n,s,r){if(e=e.to);n++);let a=s.children[n],o=a.buffer;function u(f,l,d,c,h){let m=f;for(;o[m+2]+r<=e.from;)m=o[m+3];let F=[],g=[];rg(a,f,m,F,g,c);let p=o[m+1],v=o[m+2],O=p+r==e.from&&v+r==e.to&&o[m]==e.type.id;return F.push(O?e.toTree():u(m+4,o[m+3],a.set.types[o[m]],p,v-p)),g.push(p-c),rg(a,o[m+3],l,F,g,c),new Me(d,F,g,h)}s.children[n]=u(0,o.length,Ci.none,0,a.length);for(let f=0;f<=t;f++)i.childAfter(e.from)}class ag{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Ae.IncludeAnonymous|Ae.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from=e&&t.enter(n,1,Ae.IgnoreOverlays|Ae.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof Me)t=t.children[0];else break}return!1}}class B6{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(t=n.tree.prop(Zd))!==null&&t!==void 0?t:n.to,this.inner=new ag(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(Zd))!==null&&e!==void 0?e:t.to,this.inner=new ag(t.tree,-t.offset)}}findMounts(e,t){var n;let s=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let r=this.inner.cursor.node;r;r=r.parent){let a=(n=r.tree)===null||n===void 0?void 0:n.prop(ge.mounted);if(a&&a.parser==t)for(let o=this.fragI;o=r.to)break;u.tree==this.curFrag.tree&&s.push({frag:u,pos:r.from-u.offset,mount:a})}}}return s}}function og(i,e){let t=null,n=e;for(let s=1,r=0;s=o)break;u.to<=a||(t||(n=t=e.slice()),u.fromo&&t.splice(r+1,0,new rt(o,u.to))):u.to>o?t[r--]=new rt(o,u.to):t.splice(r--,1))}}return n}function R6(i,e,t,n){let s=0,r=0,a=!1,o=!1,u=-1e9,f=[];for(;;){let l=s==i.length?1e9:a?i[s].to:i[s].from,d=r==e.length?1e9:o?e[r].to:e[r].from;if(a!=o){let c=Math.max(u,t),h=Math.min(l,d,n);cnew rt(c.from+n,c.to+n)),d=R6(e,l,u,f);for(let c=0,h=u;;c++){let m=c==d.length,F=m?f:d[c].from;if(F>h&&t.push(new Xt(h,F,s.tree,-a,r.from>=h||r.openStart,r.to<=F||r.openEnd)),m)break;h=d[c].to}}else t.push(new Xt(u,f,s.tree,-a,r.from>=a||r.openStart,r.to<=o||r.openEnd))}return t}let j6=0;class bt{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=j6++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new bt([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new vu;return t=>t.modified.indexOf(e)>-1?t:vu.get(t.base||t,t.modified.concat(e).sort((n,s)=>n.id-s.id))}}let I6=0;class vu{constructor(){this.instances=[],this.id=I6++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(o=>o.base==e&&N6(t,o.modified));if(n)return n;let s=[],r=new bt(s,e,t);for(let o of t)o.instances.push(r);let a=fg(t);for(let o of e.set)for(let u of a)s.push(vu.get(o,u));return r}}function N6(i,e){return i.length==e.length&&i.every((t,n)=>t==e[n])}function fg(i){let e=[i];for(let t=0;t0&&d+3==s.length){a=1;break}let c=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!c)throw new RangeError("Invalid path: "+s);if(r.push(c[0]=="*"?"":c[0][0]=='"'?JSON.parse(c[0]):c[0]),d+=c[0].length,d==s.length)break;let h=s[d++];if(d==s.length&&h=="!"){a=0;break}if(h!="/")throw new RangeError("Invalid path: "+s);o=s.slice(d)}let u=r.length-1,f=r[u];if(!f)throw new RangeError("Invalid path: "+s);let l=new Ud(n,a,u>0?r.slice(0,u):null);e[f]=l.sort(e[f])}}return L6.add(e)}const L6=new ge;class Ud{constructor(e,t,n,s){this.tags=e,this.mode=t,this.context=n,this.next=s}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let a=s;for(let o of r)for(let u of o.set){let f=t[u.id];if(f){a=a?a+" "+f:f;break}}return a},scope:n}}const W=bt.define,Ou=W(),Qn=W(),lg=W(Qn),dg=W(Qn),$n=W(),yu=W($n),Gd=W($n),_t=W(),Fs=W(_t),St=W(),Dt=W(),Hd=W(),ya=W(Hd),ku=W(),_={comment:Ou,lineComment:W(Ou),blockComment:W(Ou),docComment:W(Ou),name:Qn,variableName:W(Qn),typeName:lg,tagName:W(lg),propertyName:dg,attributeName:W(dg),className:W(Qn),labelName:W(Qn),namespace:W(Qn),macroName:W(Qn),literal:$n,string:yu,docString:W(yu),character:W(yu),attributeValue:W(yu),number:Gd,integer:W(Gd),float:W(Gd),bool:W($n),regexp:W($n),escape:W($n),color:W($n),url:W($n),keyword:St,self:W(St),null:W(St),atom:W(St),unit:W(St),modifier:W(St),operatorKeyword:W(St),controlKeyword:W(St),definitionKeyword:W(St),moduleKeyword:W(St),operator:Dt,derefOperator:W(Dt),arithmeticOperator:W(Dt),logicOperator:W(Dt),bitwiseOperator:W(Dt),compareOperator:W(Dt),updateOperator:W(Dt),definitionOperator:W(Dt),typeOperator:W(Dt),controlOperator:W(Dt),punctuation:Hd,separator:W(Hd),bracket:ya,angleBracket:W(ya),squareBracket:W(ya),paren:W(ya),brace:W(ya),content:_t,heading:Fs,heading1:W(Fs),heading2:W(Fs),heading3:W(Fs),heading4:W(Fs),heading5:W(Fs),heading6:W(Fs),contentSeparator:W(_t),list:W(_t),quote:W(_t),emphasis:W(_t),strong:W(_t),link:W(_t),monospace:W(_t),strikethrough:W(_t),inserted:W(),deleted:W(),changed:W(),invalid:W(),meta:ku,documentMeta:W(ku),annotation:W(ku),processingInstruction:W(ku),definition:bt.defineModifier(),constant:bt.defineModifier(),function:bt.defineModifier(),standard:bt.defineModifier(),local:bt.defineModifier(),special:bt.defineModifier()};z6([{tag:_.link,class:"tok-link"},{tag:_.heading,class:"tok-heading"},{tag:_.emphasis,class:"tok-emphasis"},{tag:_.strong,class:"tok-strong"},{tag:_.keyword,class:"tok-keyword"},{tag:_.atom,class:"tok-atom"},{tag:_.bool,class:"tok-bool"},{tag:_.url,class:"tok-url"},{tag:_.labelName,class:"tok-labelName"},{tag:_.inserted,class:"tok-inserted"},{tag:_.deleted,class:"tok-deleted"},{tag:_.literal,class:"tok-literal"},{tag:_.string,class:"tok-string"},{tag:_.number,class:"tok-number"},{tag:[_.regexp,_.escape,_.special(_.string)],class:"tok-string2"},{tag:_.variableName,class:"tok-variableName"},{tag:_.local(_.variableName),class:"tok-variableName tok-local"},{tag:_.definition(_.variableName),class:"tok-variableName tok-definition"},{tag:_.special(_.variableName),class:"tok-variableName2"},{tag:_.definition(_.propertyName),class:"tok-propertyName tok-definition"},{tag:_.typeName,class:"tok-typeName"},{tag:_.namespace,class:"tok-namespace"},{tag:_.className,class:"tok-className"},{tag:_.macroName,class:"tok-macroName"},{tag:_.propertyName,class:"tok-propertyName"},{tag:_.operator,class:"tok-operator"},{tag:_.comment,class:"tok-comment"},{tag:_.meta,class:"tok-meta"},{tag:_.invalid,class:"tok-invalid"},{tag:_.punctuation,class:"tok-punctuation"}]);var Yd;const wu=new ge;function W6(i){return me.define({combine:i?e=>e.concat(i):void 0})}class Et{constructor(e,t,n=[],s=""){this.data=e,this.name=s,be.prototype.hasOwnProperty("tree")||Object.defineProperty(be.prototype,"tree",{get(){return Kd(this)}}),this.parser=t,this.extension=[nr.of(this),be.languageData.of((r,a,o)=>r.facet(cg(r,a,o)))].concat(n)}isActiveAt(e,t,n=-1){return cg(e,t,n)==this.data}findRegions(e){let t=e.facet(nr);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],s=(r,a)=>{if(r.prop(wu)==this.data){n.push({from:a,to:a+r.length});return}let o=r.prop(ge.mounted);if(o){if(o.tree.prop(wu)==this.data){if(o.overlay)for(let u of o.overlay)n.push({from:u.from+a,to:u.to+a});else n.push({from:a,to:a+r.length});return}else if(o.overlay){let u=n.length;if(s(o.tree,o.overlay[0].from+a),n.length>u)return}}for(let u=0;un.isTop?t:void 0)]}),e.name)}configure(e,t){return new ir(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Kd(i){let e=i.field(Et.state,!1);return e?e.tree:Me.empty}class q6{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let ka=null;class bu{constructor(e,t,n=[],s,r,a,o,u){this.parser=e,this.state=t,this.fragments=n,this.tree=s,this.treeLen=r,this.viewport=a,this.skipped=o,this.scheduleOn=u,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new bu(e,t,[],Me.empty,0,n,[],null)}startParse(){return this.parser.startParse(new q6(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=Me.empty&&this.isDone(t!=null?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let s=Date.now()+e;e=()=>Date.now()>s}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Xt.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=ka;ka=this;try{return e()}finally{ka=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=hg(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:s,treeLen:r,viewport:a,skipped:o}=this;if(this.takeTree(),!e.empty){let u=[];if(e.iterChangedRanges((f,l,d,c)=>u.push({fromA:f,toA:l,fromB:d,toB:c})),n=Xt.applyChanges(n,u),s=Me.empty,r=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){o=[];for(let f of this.skipped){let l=e.mapPos(f.from,1),d=e.mapPos(f.to,-1);le.from&&(this.fragments=hg(this.fragments,s,r),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends ng{createParse(t,n,s){let r=s[0].from,a=s[s.length-1].to;return{parsedPos:r,advance(){let o=ka;if(o){for(let u of s)o.tempSkipped.push(u);e&&(o.scheduleOn=o.scheduleOn?Promise.all([o.scheduleOn,e]):e)}return this.parsedPos=a,new Me(Ci.none,[],[],a-r)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return ka}}function hg(i,e,t){return Xt.applyChanges(i,[{fromA:e,toA:t,fromB:e,toB:t}])}class tr{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new tr(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=bu.create(e.facet(nr).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new tr(n)}}Et.state=ls.define({create:tr.init,update(i,e){for(let t of e.effects)if(t.is(Et.setState))return t.value;return e.startState.facet(nr)!=e.state.facet(nr)?tr.init(e.state):i.apply(e)}});let mg=i=>{let e=setTimeout(()=>i(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(mg=i=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(i,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Jd=typeof navigator<"u"&&((Yd=navigator.scheduling)===null||Yd===void 0?void 0:Yd.isInputPending)?()=>navigator.scheduling.isInputPending():null,V6=ma.fromClass(class{constructor(i){this.view=i,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(i){let e=this.view.state.field(Et.state).context;(e.updateViewport(i.view.viewport)||this.view.viewport.to>e.treeLen)&&this.scheduleWork(),i.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:i}=this.view,e=i.field(Et.state);(e.tree!=e.context.tree||!e.context.isDone(i.doc.length))&&(this.working=mg(this.work))}work(i){this.working=null;let e=Date.now();if(this.chunkEndn+1e3,o=s.context.work(()=>Jd&&Jd()||Date.now()>r,n+(a?0:1e5));this.chunkBudget-=Date.now()-e,(o||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Et.setState.of(new tr(s.context))})),this.chunkBudget>0&&!(o&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(i){i.scheduleOn&&(this.workScheduled++,i.scheduleOn.then(()=>this.scheduleWork()).catch(e=>Dn(this.view.state,e)).then(()=>this.workScheduled--),i.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),nr=me.define({combine(i){return i.length?i[0]:null},enables:i=>[Et.state,V6,Le.contentAttributes.compute([i],e=>{let t=e.facet(i);return t&&t.name?{"data-language":t.name}:{}})]}),e1=new ge;function X6(i){let e=i.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let s=i.options.simulateBreak,r=i.state.doc.lineAt(t.from),a=s==null||s<=r.from?r.to:Math.min(r.to,s);for(let o=t.to;;){let u=e.childAfter(o);if(!u||u==n)return null;if(!u.type.isSkipped)return u.fromU6(n,e,t,i)}function U6(i,e,t,n,s){let r=i.textAfter,a=r.match(/^\s*/)[0].length,o=n&&r.slice(a,a+n.length)==n||s==i.pos+a,u=e?X6(i):null;return u?o?i.column(u.from):i.column(u.to):i.baseIndent+(o?0:i.unit*t)}const G6=i=>i.baseIndent;function _u({except:i,units:e=1}={}){return t=>{let n=i&&i.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const i1=new ge;function pg(i){let e=i.firstChild,t=i.lastChild;return e&&e.to-1||(gg.push(i),console.warn(e))}function K6(i,e){let t=null;for(let r of e.split(".")){let a=i[r]||_[r];a?typeof a=="function"?t?t=a(t):t1(r,`Modifier ${r} used at start of tag`):t?t1(r,`Tag ${r} used as modifier`):t=a:t1(r,`Unknown highlighting tag ${r}`)}if(!t)return 0;let n=e.replace(/ /g,"_"),s=Ci.define({id:Fg.length,name:n,props:[Oa({[n]:t})]});return Fg.push(s),s.id}const vg=new class extends cs{};vg.startSide=1,vg.endSide=-1;class Su{constructor(e,t,n,s,r,a,o,u,f,l=0,d){this.p=e,this.stack=t,this.state=n,this.reducePos=s,this.pos=r,this.score=a,this.buffer=o,this.bufferBase=u,this.curContext=f,this.lookAhead=l,this.parent=d}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let s=e.parser.context;return new Su(e,[],t,n,n,0,[],0,s?new Og(s,s.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=e&65535,{parser:s}=this.p,r=s.dynamicPrecedence(n);if(r&&(this.score+=r),t==0){this.pushState(s.getGoto(this.state,n,!0),this.reducePos),na;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,s=4,r=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&a.buffer[o-4]==0&&a.buffer[o-1]>-1){if(t==n)return;if(a.buffer[o-2]>=t){a.buffer[o-2]=n;return}}}if(!r||this.pos==n)this.buffer.push(e,t,n,s);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0)for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,s>4&&(s-=4);this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=s}}shift(e,t,n){let s=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let r=e,{parser:a}=this.p;(n>this.pos||t<=a.maxNode)&&(this.pos=n,a.stateFlag(r,1)||(this.reducePos=n)),this.pushState(r,s),this.shiftContext(t,s),t<=a.maxNode&&this.buffer.push(t,s,n,4)}else this.pos=n,this.shiftContext(t,s),t<=this.p.parser.maxNode&&this.buffer.push(t,s,n,4)}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let s=this.pos;this.reducePos=this.pos=s+e.length,this.pushState(t,s),this.buffer.push(n,s,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),s=e.bufferBase+t;for(;e&&s==e.bufferBase;)e=e.parent;return new Su(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,s,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new J6(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if((n&65536)==0)return!0;if(n==0)return!1;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let s=[];for(let r=0,a;ru&1&&o==a)||s.push(t[r],a)}t=s}let n=[];for(let s=0;s>19,s=e&65535,r=this.stack.length-n*3;if(r<0||t.getGoto(this.stack[r],s,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Og{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var yg;(function(i){i[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth"})(yg||(yg={}));class J6{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let s=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=s}}class Du{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new Du(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}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]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Du(this.stack,this.pos,this.index)}}class Eu{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const kg=new Eu;class e9{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=kg,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,s=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(s==this.ranges.length-1)return null;let a=this.ranges[++s];r+=a.from-n.to,n=a}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,s;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),s=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),s}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=kg,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let s of this.ranges){if(s.from>=t)break;s.to>e&&(n+=this.input.read(Math.max(s.from,e),Math.min(s.to,t)))}return n}}class Cu{constructor(e,t){this.data=e,this.id=t}token(e,t){i9(this.data,e,t,this.id)}}Cu.prototype.contextual=Cu.prototype.fallback=Cu.prototype.extend=!1;class ut{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function i9(i,e,t,n){let s=0,r=1<0){let h=i[c];if(o.allows(h)&&(e.token.value==-1||e.token.value==h||a.overrides(h,e.token.value))){e.acceptToken(h);break}}let f=e.next,l=0,d=i[s+2];if(e.next<0&&d>l&&i[u+d*3-3]==65535){s=i[u+d*3-1];continue e}for(;l>1,h=u+c+(c<<1),m=i[h],F=i[h+1];if(f=F)l=c+1;else{s=i[h+2],e.advance();continue e}}break}}function xu(i,e=Uint16Array){if(typeof i!="string")return i;let t=null;for(let n=0,s=0;n=92&&a--,a>=34&&a--;let u=a-32;if(u>=46&&(u-=46,o=!0),r+=u,o)break;r*=46}t?t[s++]=r:t=new e(r)}return t}const ft=typeof process<"u"&&process.env&&/\bparse\b/.test({}.LOG);let n1=null;var wg;(function(i){i[i.Margin=25]="Margin"})(wg||(wg={}));function bg(i,e,t){let n=i.cursor(Ae.IncludeAnonymous);for(n.moveTo(e);;)if(!(t<0?n.childBefore(e):n.childAfter(e)))for(;;){if((t<0?n.toe)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(i.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:i.length}}class t9{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?bg(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?bg(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=a,null;if(r instanceof Me){if(a==e){if(a=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+r.length}}}class n9{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Eu)}getActions(e){let t=0,n=null,{parser:s}=e.p,{tokenizers:r}=s,a=s.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,u=0;for(let f=0;fd.end+25&&(u=Math.max(d.lookAhead,u)),d.value!=0)){let c=t;if(d.extended>-1&&(t=this.addActions(e,d.extended,d.end,t)),t=this.addActions(e,d.value,d.end,t),!l.extend&&(n=d,t>c))break}}for(;this.actions.length>t;)this.actions.pop();return u&&e.setLookAhead(u),!n&&e.pos==this.stream.end&&(n=new Eu,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Eu,{pos:n,p:s}=e;return t.start=n,t.end=Math.min(n+1,s.stream.end),t.value=n==s.stream.end?s.parser.eofTerm:0,t}updateCachedToken(e,t,n){let s=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(s,e),n),e.value>-1){let{parser:r}=n.p;for(let a=0;a=0&&n.p.parser.dialect.allows(o>>1)){(o&1)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(s+1)}putAction(e,t,n,s){for(let r=0;re.bufferLength*4?new t9(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],s,r;for(let a=0;at)n.push(o);else{if(this.advanceStack(o,n,e))continue;{s||(s=[],r=[]),s.push(o);let u=this.tokens.getMainToken(o);r.push(u.value,u.end)}}break}}if(!n.length){let a=s&&a9(s);if(a)return this.stackToTree(a);if(this.parser.strict)throw ft&&s&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&s){let a=this.stoppedAt!=null&&s[0].pos>this.stoppedAt?s[0]:this.runRecovery(s,r,n);if(a)return this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(n.length>a)for(n.sort((o,u)=>u.score-o.score);n.length>a;)n.pop();n.some(o=>o.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let a=0;a500&&f.buffer.length>500)if((o.score-f.score||o.buffer.length-f.buffer.length)>0)n.splice(u--,1);else{n.splice(a--,1);continue e}}}}this.minStackPos=n[0].pos;for(let a=1;a ":"";if(this.stoppedAt!=null&&s>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let f=e.curContext&&e.curContext.tracker.strict,l=f?e.curContext.hash:0;for(let d=this.fragments.nodeAt(s);d;){let c=this.parser.nodeSet.types[d.type.id]==d.type?r.getGoto(e.state,d.type.id):-1;if(c>-1&&d.length&&(!f||(d.prop(ge.contextHash)||0)==l))return e.useNode(d,c),ft&&console.log(a+this.stackID(e)+` (via reuse of ${r.getName(d.type.id)})`),!0;if(!(d instanceof Me)||d.children.length==0||d.positions[0]>0)break;let h=d.children[0];if(h instanceof Me&&d.positions[0]==0)d=h;else break}}let o=r.stateSlot(e.state,4);if(o>0)return e.reduce(o),ft&&console.log(a+this.stackID(e)+` (via always-reduce ${r.getName(o&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let u=this.tokens.getActions(e);for(let f=0;fs?t.push(m):n.push(m)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Sg(e,t),!0}}runRecovery(e,t,n){let s=null,r=!1;for(let a=0;a ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),ft&&console.log(l+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let d=o.split(),c=l;for(let h=0;d.forceReduce()&&h<10&&(ft&&console.log(c+this.stackID(d)+" (via force-reduce)"),!this.advanceFully(d,n));h++)ft&&(c=this.stackID(d)+" -> ");for(let h of o.recoverByInsert(u))ft&&console.log(l+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,n);this.stream.end>o.pos?(f==o.pos&&(f++,u=0),o.recoverByDelete(u,f),ft&&console.log(l+this.stackID(o)+` (via recover-delete ${this.parser.getName(u)})`),Sg(o,n)):(!s||s.scorei;class Dg{constructor(e){this.start=e.start,this.shift=e.shift||s1,this.reduce=e.reduce||s1,this.reuse=e.reuse||s1,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class gs extends ng{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (${14})`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let o=0;oe.topRules[o][1]),s=[];for(let o=0;o=0)r(l,u,o[f++]);else{let d=o[f+-l];for(let c=-l;c>0;c--)r(o[f++],u,d);f++}}}this.nodeSet=new Wd(t.map((o,u)=>Ci.define({name:u>=this.minRepeatTerm?void 0:o,id:u,props:s[u],top:n.indexOf(u)>-1,error:u==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(u)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=KF;let a=xu(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new Cu(a,o):o),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let s=new s9(this,e,t,n);for(let r of this.wrappers)s=r(s,e,t,n);return s}getGoto(e,t,n=!1){let s=this.goto;if(t>=s[0])return-1;for(let r=s[t+1];;){let a=s[r++],o=a&1,u=s[r++];if(o&&n)return u;for(let f=r+(a>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Zt(this.data,n+2);else return!1;if(t==Zt(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Zt(this.data,n+2);else break;if((this.data[n+2]&1)==0){let s=this.data[n+1];t.some((r,a)=>a&1&&r==s)||t.push(this.data[n],s)}}return t}overrides(e,t){let n=Eg(this.data,this.tokenPrecTable,t);return n<0||Eg(this.data,this.tokenPrecTable,e){let s=e.tokenizers.find(r=>r.from==n);return s?s.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,s)=>{let r=e.specializers.find(o=>o.from==n.external);if(!r)return n;let a=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[s]=Cg(a),a})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(" ")){let a=t.indexOf(r);a>=0&&(n[a]=!0)}let s=null;for(let r=0;rn)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scorei.external(t,n)<<1|e}return i.get}const o9=54,u9=1,f9=55,l9=2,d9=56,c9=3,Qu=4,xg=5,Qg=6,$g=7,Tg=8,h9=9,m9=10,p9=11,r1=57,F9=12,Pg=58,g9=18,v9=27,O9=30,y9=33,k9=35,w9=0,b9={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},_9={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Ag={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function S9(i){return i==45||i==46||i==58||i>=65&&i<=90||i==95||i>=97&&i<=122||i>=161}function Mg(i){return i==9||i==10||i==13||i==32}let Bg=null,Rg=null,jg=0;function a1(i,e){let t=i.pos+e;if(jg==t&&Rg==i)return Bg;let n=i.peek(e);for(;Mg(n);)n=i.peek(++e);let s="";for(;S9(n);)s+=String.fromCharCode(n),n=i.peek(++e);return Rg=i,jg=t,Bg=s?s.toLowerCase():n==D9||n==E9?void 0:null}const Ig=60,Ng=62,Lg=47,D9=63,E9=33,C9=45;function zg(i,e){this.name=i,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t-1?new zg(a1(n,1)||"",i):i},reduce(i,e){return e==g9&&i?i.parent:i},reuse(i,e,t,n){let s=e.type.id;return s==Qu||s==k9?new zg(a1(n,1)||"",i):i},hash(i){return i?i.hash:0},strict:!1}),$9=new ut((i,e)=>{if(i.next!=Ig){i.next<0&&e.context&&i.acceptToken(r1);return}i.advance();let t=i.next==Lg;t&&i.advance();let n=a1(i,0);if(n===void 0)return;if(!n)return i.acceptToken(t?F9:Qu);let s=e.context?e.context.name:null;if(t){if(n==s)return i.acceptToken(h9);if(s&&_9[s])return i.acceptToken(r1,-2);if(e.dialectEnabled(w9))return i.acceptToken(m9);for(let r=e.context;r;r=r.parent)if(r.name==n)return;i.acceptToken(p9)}else{if(n=="script")return i.acceptToken(xg);if(n=="style")return i.acceptToken(Qg);if(n=="textarea")return i.acceptToken($g);if(b9.hasOwnProperty(n))return i.acceptToken(Tg);s&&Ag[s]&&Ag[s][n]?i.acceptToken(r1,-1):i.acceptToken(Qu)}},{contextual:!0}),T9=new ut(i=>{for(let e=0,t=0;;t++){if(i.next<0){t&&i.acceptToken(Pg);break}if(i.next==C9)e++;else if(i.next==Ng&&e>=2){t>3&&i.acceptToken(Pg,-2);break}else e=0;i.advance()}});function o1(i,e,t){let n=2+i.length;return new ut(s=>{for(let r=0,a=0,o=0;;o++){if(s.next<0){o&&s.acceptToken(e);break}if(r==0&&s.next==Ig||r==1&&s.next==Lg||r>=2&&ra?s.acceptToken(e,-a):s.acceptToken(t,-(a-2));break}else if((s.next==10||s.next==13)&&o){s.acceptToken(e,1);break}else r=a=0;s.advance()}})}const P9=o1("script",o9,u9),A9=o1("style",f9,l9),M9=o1("textarea",d9,c9),B9=Oa({"Text RawText":_.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":_.angleBracket,TagName:_.tagName,"MismatchedCloseTag/TagName":[_.tagName,_.invalid],AttributeName:_.attributeName,"AttributeValue UnquotedAttributeValue":_.attributeValue,Is:_.definitionOperator,"EntityReference CharacterReference":_.character,Comment:_.blockComment,ProcessingInst:_.processingInstruction,DoctypeDecl:_.documentMeta}),R9=gs.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/POOOY1G/P1G/PO(fQ#tO1G/SOOO[1G/S1G/SO(nQ#tO1G/VOOOW1G/V1G/VOOOW1G/X1G/XO(yQ#tO1G/XOOOX-E7[-E7[O)RQ!bO'#CxOOOW1G.t1G.tOOOY-E7]-E7]O)WQ!bO'#C{OOO[-E7^-E7^O)]Q!bO'#DOOOOW-E7_-E7_O)bQ!bO,59lOOO`-E7`-E7`OOOW1G/Z1G/ZOOOW1G/]1G/]OOOW1G/^1G/^O)gQ&jO,59]OOQO-E7X-E7X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VR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Q9,nodeProps:[["closedBy",-10,1,2,3,5,6,7,8,9,10,11,"EndTag",4,"EndTag SelfClosingEndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,39,40,41,42,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag",38,"StartTag"]],propSources:[B9],skippedNodes:[0],repeatNodeCount:9,tokenData:"#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U-_4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!Z$|c^PiW!a`!cpOX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,L9=94,z9=95,qg=2,Vg=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],W9=58,q9=40,Xg=95,V9=91,$u=45,X9=46,Z9=35,U9=37;function Tu(i){return i>=65&&i<=90||i>=97&&i<=122||i>=161}function G9(i){return i>=48&&i<=57}const H9=new ut((i,e)=>{for(let t=!1,n=0,s=0;;s++){let{next:r}=i;if(Tu(r)||r==$u||r==Xg||t&&G9(r))!t&&(r!=$u||s>0)&&(t=!0),n===s&&r==$u&&n++,i.advance();else{t&&i.acceptToken(r==q9?L9:n==2&&e.canShift(qg)?qg:z9);break}}}),Y9=new ut(i=>{if(Vg.includes(i.peek(-1))){let{next:e}=i;(Tu(e)||e==Xg||e==Z9||e==X9||e==V9||e==W9||e==$u)&&i.acceptToken(N9)}}),K9=new ut(i=>{if(!Vg.includes(i.peek(-1))){let{next:e}=i;if(e==U9&&(i.advance(),i.acceptToken(Wg)),Tu(e)){do i.advance();while(Tu(i.next));i.acceptToken(Wg)}}}),J9=Oa({"AtKeyword import charset namespace keyframes media supports":_.definitionKeyword,"from to selector":_.keyword,NamespaceName:_.namespace,KeyframeName:_.labelName,TagName:_.tagName,ClassName:_.className,PseudoClassName:_.constant(_.className),IdName:_.labelName,"FeatureName PropertyName":_.propertyName,AttributeName:_.attributeName,NumberLiteral:_.number,KeywordQuery:_.keyword,UnaryQueryOp:_.operatorKeyword,"CallTag ValueName":_.atom,VariableName:_.variableName,Callee:_.operatorKeyword,Unit:_.unit,"UniversalSelector NestingSelector":_.definitionOperator,MatchOp:_.compareOperator,"ChildOp SiblingOp, LogicOp":_.logicOperator,BinOp:_.arithmeticOperator,Important:_.modifier,Comment:_.blockComment,ParenthesizedContent:_.special(_.name),ColorLiteral:_.color,StringLiteral:_.string,":":_.punctuation,"PseudoOp #":_.derefOperator,"; ,":_.separator,"( )":_.paren,"[ ]":_.squareBracket,"{ }":_.brace}),e5={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},i5={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},t5={__proto__:null,not:128,only:128,from:158,to:160},n5=gs.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O,59oO%_Q[O,59sO%_Q[O,59uO%_Q[O,59vO'bQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'iQWO,59SO'nQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO'sQ`O,59oOOQS'#Cp'#CpO#kQdO'#CqO'{QvO'#CsO)VQtO,5:POOQO'#Cx'#CxO'nQWO'#CwO)kQWO'#CyOOQS'#Ef'#EfOOQO'#Dh'#DhO)pQ[O'#DoO*OQWO'#EiO$xQ[O'#DmO*^QWO'#DpOOQO'#Ej'#EjO%|QWO,5:^O*cQpO,5:`OOQS'#Dx'#DxO*kQWO,5:bO*pQ[O,5:bOOQO'#D{'#D{O*xQWO,5:eO*}QWO,5:kO+VQWO,5:mOOQS-E8Q-E8QOOQP1G.l1G.lO+yQXO,5:qOOQO-E8T-E8TOOQS1G.g1G.gOOQP1G.n1G.nO'iQWO1G.nO'nQWO1G.nOOQP1G/V1G/VO,WQ`O1G/ZO,qQXO1G/_O-XQXO1G/aO-oQXO1G/bO.VQXO'#CdO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POy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[Y9,K9,H9,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:i=>e5[i]||-1},{term:56,get:i=>i5[i]||-1},{term:95,get:i=>t5[i]||-1}],tokenPrec:1078}),s5=ir.define({name:"css",parser:n5.configure({props:[e1.add({Declaration:_u()}),i1.add({Block:pg})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),r5=1,Zg=281,Ug=2,a5=3,Pu=282,o5=4,u5=283,Gg=284,f5=286,l5=287,d5=5,c5=6,h5=1,m5=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Hg=125,p5=123,F5=59,Yg=47,g5=42,v5=43,O5=45,y5=36,k5=96,w5=92,b5=new Dg({start:!1,shift(i,e){return e==d5||e==c5||e==f5?i:e==l5},strict:!1}),_5=new ut((i,e)=>{let{next:t}=i;(t==Hg||t==-1||e.context)&&e.canShift(Gg)&&i.acceptToken(Gg)},{contextual:!0,fallback:!0}),S5=new ut((i,e)=>{let{next:t}=i,n;m5.indexOf(t)>-1||t==Yg&&((n=i.peek(1))==Yg||n==g5)||t!=Hg&&t!=F5&&t!=-1&&!e.context&&e.canShift(Zg)&&i.acceptToken(Zg)},{contextual:!0}),D5=new ut((i,e)=>{let{next:t}=i;if((t==v5||t==O5)&&(i.advance(),t==i.next)){i.advance();let n=!e.context&&e.canShift(Ug);i.acceptToken(n?Ug:a5)}},{contextual:!0}),E5=new ut(i=>{for(let e=!1,t=0;;t++){let{next:n}=i;if(n<0){t&&i.acceptToken(Pu);break}else if(n==k5){t?i.acceptToken(Pu):i.acceptToken(u5,1);break}else if(n==p5&&e){t==1?i.acceptToken(o5,1):i.acceptToken(Pu,-1);break}else if(n==10&&t){i.advance(),i.acceptToken(Pu);break}else n==w5&&i.advance();e=n==y5,i.advance()}}),C5=new ut((i,e)=>{if(!(i.next!=101||!e.dialectEnabled(h5))){i.advance();for(let t=0;t<6;t++){if(i.next!="xtends".charCodeAt(t))return;i.advance()}i.next>=57&&i.next<=65||i.next>=48&&i.next<=90||i.next==95||i.next>=97&&i.next<=122||i.next>160||i.acceptToken(r5)}}),x5=Oa({"get set async static":_.modifier,"for while do if else switch try catch finally return throw break continue default case":_.controlKeyword,"in of await yield void typeof delete instanceof":_.operatorKeyword,"let var const function class extends":_.definitionKeyword,"import export from":_.moduleKeyword,"with debugger as new":_.keyword,TemplateString:_.special(_.string),super:_.atom,BooleanLiteral:_.bool,this:_.self,null:_.null,Star:_.modifier,VariableName:_.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":_.function(_.variableName),VariableDefinition:_.definition(_.variableName),Label:_.labelName,PropertyName:_.propertyName,PrivatePropertyName:_.special(_.propertyName),"CallExpression/MemberExpression/PropertyName":_.function(_.propertyName),"FunctionDeclaration/VariableDefinition":_.function(_.definition(_.variableName)),"ClassDeclaration/VariableDefinition":_.definition(_.className),PropertyDefinition:_.definition(_.propertyName),PrivatePropertyDefinition:_.definition(_.special(_.propertyName)),UpdateOp:_.updateOperator,LineComment:_.lineComment,BlockComment:_.blockComment,Number:_.number,String:_.string,ArithOp:_.arithmeticOperator,LogicOp:_.logicOperator,BitOp:_.bitwiseOperator,CompareOp:_.compareOperator,RegExp:_.regexp,Equals:_.definitionOperator,Arrow:_.function(_.punctuation),": Spread":_.punctuation,"( )":_.paren,"[ ]":_.squareBracket,"{ }":_.brace,"InterpolationStart InterpolationEnd":_.special(_.brace),".":_.derefOperator,", ;":_.separator,TypeName:_.typeName,TypeDefinition:_.definition(_.typeName),"type enum interface implements namespace module declare":_.definitionKeyword,"abstract global Privacy readonly override":_.modifier,"is keyof unique infer":_.operatorKeyword,JSXAttributeValue:_.attributeValue,JSXText:_.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":_.angleBracket,"JSXIdentifier JSXNameSpacedName":_.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":_.attributeName}),Q5={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},$5={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},T5={__proto__:null,"<":129},P5=gs.deserialize({version:14,states:"$8SO`QdOOO'QQ(C|O'#ChO'XOWO'#DVO)dQdO'#D]O)tQdO'#DhO){QdO'#DrO-xQdO'#DxOOQO'#E]'#E]O.]Q`O'#E[O.bQ`O'#E[OOQ(C['#Ef'#EfO0aQ(C|O'#ItO2wQ(C|O'#IuO3eQ`O'#EzO3jQ!bO'#FaOOQ(C['#FS'#FSO3rO#tO'#FSO4QQ&jO'#FhO5bQ`O'#FgOOQ(C['#Iu'#IuOOQ(CW'#It'#ItOOQS'#J^'#J^O5gQ`O'#HpO5lQ(ChO'#HqOOQS'#Ih'#IhOOQS'#Hr'#HrQ`QdOOO){QdO'#DjO5tQ`O'#G[O5yQ&jO'#CmO6XQ`O'#EZO6dQ`O'#EgO6iQ,UO'#FRO7TQ`O'#G[O7YQ`O'#G`O7eQ`O'#G`O7sQ`O'#GcO7sQ`O'#GdO7sQ`O'#GfO5tQ`O'#GiO8dQ`O'#GlO9rQ`O'#CdO:SQ`O'#GyO:[Q`O'#HPO:[Q`O'#HRO`QdO'#HTO:[Q`O'#HVO:[Q`O'#HYO:aQ`O'#H`O:fQ(CjO'#HfO){QdO'#HhO:qQ(Cj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Z,lT(a#v(cR(i#yQ-})]Q2U.RQ2|.{Q4{2TQ5l3QQ6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"\u26A0 extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:b5,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[x5],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxyk|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a!b!U#R#S2`#S#T!>i#T#o2`#o#p!>y#p#q!?O#q#r!?f#r#s!?x#s$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$I|2`$I|$I}!Bq$I}$JO!Bq$JO$JT2`$JT$JU!@Y$JU$KV2`$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&FV?HT2`?HT?HU!@Y?HU~2`7Z!CO_$UW'Z7R#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[C5,S5,D5,E5,0,1,2,3,4,5,6,7,8,9,_5],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{149:1,176:1},specialized:[{term:289,get:i=>Q5[i]||-1},{term:299,get:i=>$5[i]||-1},{term:63,get:i=>T5[i]||-1}],tokenPrec:12130}),Au=ir.define({name:"javascript",parser:P5.configure({props:[e1.add({IfStatement:_u({except:/^\s*({|else\b)/}),TryStatement:_u({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:G6,SwitchBody:i=>{let e=i.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return i.baseIndent+(t?0:n?1:2)*i.unit},Block:Z6({closing:"}"}),ArrowFunction:i=>i.baseIndent+i.unit,"TemplateString BlockComment":()=>null,"Statement Property":_u({except:/^{/}),JSXElement(i){let e=/^\s*<\//.test(i.textAfter);return i.lineIndent(i.node.from)+(e?0:i.unit)},JSXEscape(i){let e=/\s*\}/.test(i.textAfter);return i.lineIndent(i.node.from)+(e?0:i.unit)},"JSXOpenTag JSXSelfClosingTag"(i){return i.column(i.node.from)+i.unit}}),i1.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":pg,BlockComment(i){return{from:i.from+2,to:i.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),A5=Au.configure({dialect:"ts"},"typescript"),M5=Au.configure({dialect:"jsx"}),B5=Au.configure({dialect:"jsx ts"},"typescript");A5.parser,M5.parser,B5.parser,Au.parser,s5.parser;const R5=Oa({String:_.string,Number:_.number,"True False":_.bool,PropertyName:_.propertyName,Null:_.null,",":_.separator,"[ ]":_.squareBracket,"{ }":_.brace});gs.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[R5],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!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uNjE4LDYuNDE5LDYuNDE5LDAsMCwxLDIuMTkxLDUuNzcyLDYuNDIyLDYuNDIyLDAsMCwxLTQuMTA3LDQuNjFBMTIuMDg4LDEyLjA4OCwwLDAsMSw1MTAuMiwyNS41MTZabS0yLjc2Mi0xMi44MzhhMTAuMDcyLDEwLjA3MiwwLDAsMC0zLjk2MS43NTcsNC41MDYsNC41MDYsMCwwLDAtMi45MywzLjEzNiw0LjUwNiw0LjUwNiwwLDAsMCwxLjYxOCwzLjk3NSwxMS45NjYsMTEuOTY2LDAsMCwwLDEyLDIuMjE1LDQuNTA2LDQuNTA2LDAsMCwwLDIuOTMtMy4xMzZoMGE0LjUsNC41LDAsMCwwLTEuNjE4LTMuOTc1LDExLjA4NCwxMS4wODQsMCwwLDAtNS43LTIuNzUzQTEyLjk1NywxMi45NTcsMCwwLDAsNTA3LjQ0MiwxMi42NzhaIgogICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wYXRoPgogICAgICAgIDxwb2x5Z29uIHBvaW50cz0iNTA3LjY2OCAxMS42ODIgNTA1LjY1NyAyMy43NDggNTA4LjYyNCAyNC40MjQgNTExLjExMiAxMi4xNzUgNTA3LjY2OCAxMS42ODIiCiAgICAgICAgICAgICAgICAgZmlsbD0iIzI5MmEyZSI+PC9wb2x5Z29uPgogICAgICAgIDxjaXJjbGUgY3g9IjUxOS43MjMiIGN5PSIyMy42OTEiIHI9IjAuOTcyIiBmaWxsPSIjMjkyYTJlIj48L2NpcmNsZT4KICAgICAgICA8Y2lyY2xlIGN4PSI1MjEuNDE3IiBjeT0iMTguNzE1IiByPSIwLjk3MiIgZmlsbD0iIzI5MmEyZSI+PC9jaXJjbGU+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=";const I5={class:"empty-wrapper"},N5={class:"empty-image h-32 w-32"},L5=["src"],z5={class:"empty-title"},W5={class:"empty-message"},q5={class:"empty-actions"};var Kg=wi({__name:"Empty",props:{title:null,message:null,image:null},setup(i){return(e,t)=>(Z(),ne("div",I5,[j("div",N5,[bi(e.$slots,"image",{},()=>[j("img",{src:i.image||M(j5),alt:"Empty"},null,8,L5)])]),j("div",z5,Be(i.title),1),j("div",W5,[bi(e.$slots,"message",{},()=>[qi(Be(i.message),1)])]),j("div",q5,[bi(e.$slots,"actions")])]))}});const V5={},X5={class:"flex items-center justify-center py-4"},Z5=j("svg",{class:"h-5 w-5 animate-spin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[j("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),j("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),U5=[Z5];function G5(i,e){return Z(),ne("div",X5,U5)}var Jg=fb(V5,[["render",G5]]);let Mu;const H5=new Uint8Array(16);function Y5(){if(!Mu&&(Mu=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Mu))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Mu(H5)}const oi=[];for(let i=0;i<256;++i)oi.push((i+256).toString(16).slice(1));function K5(i,e=0){return(oi[i[e+0]]+oi[i[e+1]]+oi[i[e+2]]+oi[i[e+3]]+"-"+oi[i[e+4]]+oi[i[e+5]]+"-"+oi[i[e+6]]+oi[i[e+7]]+"-"+oi[i[e+8]]+oi[i[e+9]]+"-"+oi[i[e+10]]+oi[i[e+11]]+oi[i[e+12]]+oi[i[e+13]]+oi[i[e+14]]+oi[i[e+15]]).toLowerCase()}var ev={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function J5(i,e,t){if(ev.randomUUID&&!e&&!i)return ev.randomUUID();i=i||{};const n=i.random||(i.rng||Y5)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let s=0;s<16;++s)e[t+s]=n[s];return e}return K5(n)}function eS(i){if(i.__esModule)return i;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(i).forEach(function(t){var n=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return i[t]}})}),e}var iS=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var s=42;e[t]=s;for(t 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 r=Object.getOwnPropertySymbols(e);if(r.length!==1||r[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==s||a.enumerable!==!0)return!1}return!0},iv=typeof Symbol!="undefined"&&Symbol,tS=iS,nS=function(){return typeof iv!="function"||typeof Symbol!="function"||typeof iv("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:tS()},sS="Function.prototype.bind called on incompatible ",f1=Array.prototype.slice,rS=Object.prototype.toString,aS="[object Function]",oS=function(e){var t=this;if(typeof t!="function"||rS.call(t)!==aS)throw new TypeError(sS+t);for(var n=f1.call(arguments,1),s,r=function(){if(this instanceof s){var l=t.apply(this,n.concat(f1.call(arguments)));return Object(l)===l?l:this}else return t.apply(e,n.concat(f1.call(arguments)))},a=Math.max(0,t.length-n.length),o=[],u=0;u1&&typeof t!="boolean")throw new rr('"allowMissing" argument must be a boolean');if(FS(/^%?[^%]*%?$/g,e)===null)throw new sr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=OS(e),s=n.length>0?n[0]:"",r=yS("%"+s+"%",t),a=r.name,o=r.value,u=!1,f=r.alias;f&&(s=f[0],pS(n,mS([0,1],f)));for(var l=1,d=!0;l=n.length){var F=vs(o,c);d=!!F,d&&"get"in F&&!("originalValue"in F.get)?o=F.get:o=o[c]}else d=Bu(o,c),o=o[c];d&&!u&&(ur[a]=o)}}return o},rv={exports:{}};(function(i){var e=l1,t=h1,n=t("%Function.prototype.apply%"),s=t("%Function.prototype.call%"),r=t("%Reflect.apply%",!0)||e.call(s,n),a=t("%Object.getOwnPropertyDescriptor%",!0),o=t("%Object.defineProperty%",!0),u=t("%Math.max%");if(o)try{o({},"a",{value:1})}catch{o=null}i.exports=function(d){var c=r(e,s,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 r(e,n,arguments)};o?o(i.exports,"apply",{value:f}):i.exports.apply=f})(rv);var av=h1,ov=rv.exports,kS=ov(av("String.prototype.indexOf")),wS=function(e,t){var n=av(e,!!t);return typeof n=="function"&&kS(e,".prototype.")>-1?ov(n):n},bS={},_S=Object.freeze(Object.defineProperty({__proto__:null,default:bS},Symbol.toStringTag,{value:"Module"})),SS=eS(_S),m1=typeof Map=="function"&&Map.prototype,p1=Object.getOwnPropertyDescriptor&&m1?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ju=m1&&p1&&typeof p1.get=="function"?p1.get:null,DS=m1&&Map.prototype.forEach,F1=typeof Set=="function"&&Set.prototype,g1=Object.getOwnPropertyDescriptor&&F1?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Iu=F1&&g1&&typeof g1.get=="function"?g1.get:null,ES=F1&&Set.prototype.forEach,CS=typeof WeakMap=="function"&&WeakMap.prototype,ba=CS?WeakMap.prototype.has:null,xS=typeof WeakSet=="function"&&WeakSet.prototype,_a=xS?WeakSet.prototype.has:null,QS=typeof WeakRef=="function"&&WeakRef.prototype,uv=QS?WeakRef.prototype.deref:null,$S=Boolean.prototype.valueOf,TS=Object.prototype.toString,PS=Function.prototype.toString,AS=String.prototype.match,v1=String.prototype.slice,Pn=String.prototype.replace,MS=String.prototype.toUpperCase,fv=String.prototype.toLowerCase,lv=RegExp.prototype.test,dv=Array.prototype.concat,Ct=Array.prototype.join,BS=Array.prototype.slice,cv=Math.floor,O1=typeof BigInt=="function"?BigInt.prototype.valueOf:null,y1=Object.getOwnPropertySymbols,k1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,fr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Oi=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===fr?"object":"symbol")?Symbol.toStringTag:null,hv=Object.prototype.propertyIsEnumerable,mv=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(i){return i.__proto__}:null);function pv(i,e){if(i===1/0||i===-1/0||i!==i||i&&i>-1e3&&i<1e3||lv.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof i=="number"){var n=i<0?-cv(-i):cv(i);if(n!==i){var s=String(n),r=v1.call(e,s.length+1);return Pn.call(s,t,"$&_")+"."+Pn.call(Pn.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Pn.call(e,t,"$&_")}var w1=SS,Fv=w1.custom,gv=yv(Fv)?Fv:null,RS=function i(e,t,n,s){var r=t||{};if(An(r,"quoteStyle")&&r.quoteStyle!=="single"&&r.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(An(r,"maxStringLength")&&(typeof r.maxStringLength=="number"?r.maxStringLength<0&&r.maxStringLength!==1/0:r.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=An(r,"customInspect")?r.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(An(r,"indent")&&r.indent!==null&&r.indent!==" "&&!(parseInt(r.indent,10)===r.indent&&r.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(An(r,"numericSeparator")&&typeof r.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=r.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 wv(e,r);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 r.depth=="undefined"?5:r.depth;if(typeof n=="undefined"&&(n=0),n>=l&&l>0&&typeof e=="object")return b1(e)?"[Array]":"[Object]";var d=iD(r,n);if(typeof s=="undefined")s=[];else if(kv(s,e)>=0)return"[Circular]";function c(N,I,ie){if(I&&(s=BS.call(s),s.push(I)),ie){var te={depth:r.depth};return An(r,"quoteStyle")&&(te.quoteStyle=r.quoteStyle),i(N,te,n+1,s)}return i(N,r,n+1,s)}if(typeof e=="function"&&!Ov(e)){var h=XS(e),m=Nu(e,c);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(m.length>0?" { "+Ct.call(m,", ")+" }":"")}if(yv(e)){var F=fr?Pn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):k1.call(e);return typeof e=="object"&&!fr?Sa(F):F}if(KS(e)){for(var g="<"+fv.call(String(e.nodeName)),p=e.attributes||[],v=0;v",g}if(b1(e)){if(e.length===0)return"[]";var O=Nu(e,c);return d&&!eD(O)?"["+S1(O,d)+"]":"[ "+Ct.call(O,", ")+" ]"}if(NS(e)){var w=Nu(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!hv.call(e,"cause")?"{ ["+String(e)+"] "+Ct.call(dv.call("[cause]: "+c(e.cause),w),", ")+" }":w.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Ct.call(w,", ")+" }"}if(typeof e=="object"&&a){if(gv&&typeof e[gv]=="function"&&w1)return w1(e,{depth:l-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ZS(e)){var E=[];return DS.call(e,function(N,I){E.push(c(I,e,!0)+" => "+c(N,e))}),bv("Map",ju.call(e),E,d)}if(HS(e)){var D=[];return ES.call(e,function(N){D.push(c(N,e))}),bv("Set",Iu.call(e),D,d)}if(US(e))return _1("WeakMap");if(YS(e))return _1("WeakSet");if(GS(e))return _1("WeakRef");if(zS(e))return Sa(c(Number(e)));if(qS(e))return Sa(c(O1.call(e)));if(WS(e))return Sa($S.call(e));if(LS(e))return Sa(c(String(e)));if(!IS(e)&&!Ov(e)){var x=Nu(e,c),b=mv?mv(e)===Object.prototype:e instanceof Object||e.constructor===Object,C=e instanceof Object?"":"null prototype",S=!b&&Oi&&Object(e)===e&&Oi in e?v1.call(Mn(e),8,-1):C?"Object":"",Q=b||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",T=Q+(S||C?"["+Ct.call(dv.call([],S||[],C||[]),": ")+"] ":"");return x.length===0?T+"{}":d?T+"{"+S1(x,d)+"}":T+"{ "+Ct.call(x,", ")+" }"}return String(e)};function vv(i,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+i+n}function jS(i){return Pn.call(String(i),/"/g,""")}function b1(i){return Mn(i)==="[object Array]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function IS(i){return Mn(i)==="[object Date]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function Ov(i){return Mn(i)==="[object RegExp]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function NS(i){return Mn(i)==="[object Error]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function LS(i){return Mn(i)==="[object String]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function zS(i){return Mn(i)==="[object Number]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function WS(i){return Mn(i)==="[object Boolean]"&&(!Oi||!(typeof i=="object"&&Oi in i))}function yv(i){if(fr)return i&&typeof i=="object"&&i instanceof Symbol;if(typeof i=="symbol")return!0;if(!i||typeof i!="object"||!k1)return!1;try{return k1.call(i),!0}catch{}return!1}function qS(i){if(!i||typeof i!="object"||!O1)return!1;try{return O1.call(i),!0}catch{}return!1}var VS=Object.prototype.hasOwnProperty||function(i){return i in this};function An(i,e){return VS.call(i,e)}function Mn(i){return TS.call(i)}function XS(i){if(i.name)return i.name;var e=AS.call(PS.call(i),/^function\s*([\w$]+)/);return e?e[1]:null}function kv(i,e){if(i.indexOf)return i.indexOf(e);for(var t=0,n=i.length;te.maxStringLength){var t=i.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return wv(v1.call(i,0,e.maxStringLength),e)+n}var s=Pn.call(Pn.call(i,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,JS);return vv(s,"single",e)}function JS(i){var e=i.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+MS.call(e.toString(16))}function Sa(i){return"Object("+i+")"}function _1(i){return i+" { ? }"}function bv(i,e,t,n){var s=n?S1(t,n):Ct.call(t,", ");return i+" ("+e+") {"+s+"}"}function eD(i){for(var e=0;e=0)return!1;return!0}function iD(i,e){var t;if(i.indent===" ")t=" ";else if(typeof i.indent=="number"&&i.indent>0)t=Ct.call(Array(i.indent+1)," ");else return null;return{base:t,prev:Ct.call(Array(e+1),t)}}function S1(i,e){if(i.length===0)return"";var t=` `+e.prev+e.base;return t+Ct.call(i,","+t)+` -`+e.prev}function Nu(i,e){var t=b1(i),n=[];if(t){n.length=i.length;for(var s=0;s1;){var t=e.pop(),n=t.obj[t.prop];if(vs(n)){for(var s=[],r=0;r=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||r===FD.RFC1738&&(f===40||f===41)){o+=a.charAt(u);continue}if(f<128){o=o+xt[f];continue}if(f<2048){o=o+(xt[192|f>>6]+xt[128|f&63]);continue}if(f<55296||f>=57344){o=o+(xt[224|f>>12]+xt[128|f>>6&63]+xt[128|f&63]);continue}u+=1,f=65536+((f&1023)<<10|a.charCodeAt(u)&1023),o+=xt[240|f>>18]+xt[128|f>>12&63]+xt[128|f>>6&63]+xt[128|f&63]}return o},wD=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],s=0;s0?F.join(",")||null:void 0}];else if(Zt(u))$=u;else{var T=Object.keys(F);$=f?T.sort(f):T}for(var N=s&&Zt(F)&&F.length===1?t+"[]":t,j=0;j<$.length;++j){var ie=$[j],te=typeof ie=="object"&&typeof ie.value!="undefined"?ie.value:F[ie];if(!(a&&te===null)){var ve=Zt(F)?typeof n=="function"?n(N,ie):N:N+(l?"."+ie:"["+ie+"]");g.set(e,O);var ae=Dv();ae.set(T1,g),Cv(x,i(te,ve,n,s,r,a,o,u,f,l,d,c,h,m,p,ae))}}return x},PD=function(e){if(!e)return ui;if(e.encoder!==null&&typeof e.encoder!="undefined"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||ui.charset;if(typeof e.charset!="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Da.default;if(typeof e.format!="undefined"){if(!ED.call(Da.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var s=Da.formatters[n],r=ui.filter;return(typeof e.filter=="function"||Zt(e.filter))&&(r=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ui.addQueryPrefix,allowDots:typeof e.allowDots=="undefined"?ui.allowDots:!!e.allowDots,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ui.charsetSentinel,delimiter:typeof e.delimiter=="undefined"?ui.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ui.encode,encoder:typeof e.encoder=="function"?e.encoder:ui.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ui.encodeValuesOnly,filter:r,format:n,formatter:s,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ui.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ui.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ui.strictNullHandling}},AD=function(i,e){var t=i,n=PD(e),s,r;typeof n.filter=="function"?(r=n.filter,t=r("",t)):Zt(n.filter)&&(r=n.filter,s=r);var a=[];if(typeof t!="object"||t===null)return"";var o;e&&e.arrayFormat in Ev?o=e.arrayFormat:e&&"indices"in e?o=e.indices?"indices":"repeat":o="indices";var u=Ev[o];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=u==="comma"&&e&&e.commaRoundTrip;s||(s=Object.keys(t)),n.sort&&s.sort(n.sort);for(var l=Dv(),d=0;d0?m+h:""},dr=Sv,P1=Object.prototype.hasOwnProperty,MD=Array.isArray,Ye={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:dr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},BD=function(i){return i.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},Qv=function(i,e){return i&&typeof i=="string"&&e.comma&&i.indexOf(",")>-1?i.split(","):i},RD="utf8=%26%2310003%3B",jD="utf8=%E2%9C%93",ID=function(e,t){var n={},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,r=t.parameterLimit===1/0?void 0:t.parameterLimit,a=s.split(t.delimiter,r),o=-1,u,f=t.charset;if(t.charsetSentinel)for(u=0;u-1&&(m=MD(m)?[m]:m),P1.call(n,h)?n[h]=dr.combine(n[h],m):n[h]=m}return n},ND=function(i,e,t,n){for(var s=n?e:Qv(e,t),r=i.length-1;r>=0;--r){var a,o=i[r];if(o==="[]"&&t.parseArrays)a=[].concat(s);else{a=t.plainObjects?Object.create(null):{};var u=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,f=parseInt(u,10);!t.parseArrays&&u===""?a={0:s}:!isNaN(f)&&o!==u&&String(f)===u&&f>=0&&t.parseArrays&&f<=t.arrayLimit?(a=[],a[f]=s):u!=="__proto__"&&(a[u]=s)}s=a}return s},LD=function(e,t,n,s){if(!!e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,u=n.depth>0&&a.exec(r),f=u?r.slice(0,u.index):r,l=[];if(f){if(!n.plainObjects&&P1.call(Object.prototype,f)&&!n.allowPrototypes)return;l.push(f)}for(var d=0;n.depth>0&&(u=o.exec(r))!==null&&d0;)r=n[s],a[r]||(e[r]=i[r],a[r]=!0);i=Object.getPrototypeOf(i)}while(i&&(!t||t(i,e))&&i!==Object.prototype);return e}function cE(i,e,t){i=String(i),(t===void 0||t>i.length)&&(t=i.length),t-=e.length;var n=i.indexOf(e,t);return n!==-1&&n===t}function hE(i){if(!i)return null;var e=i.length;if(Wu(e))return null;for(var t=new Array(e);e-- >0;)t[e]=i[e];return t}var mE=function(i){return function(e){return i&&e instanceof i}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),fi={isArray:R1,isArrayBuffer:Tv,isBuffer:GD,isFormData:sE,isArrayBufferView:HD,isString:YD,isNumber:KD,isObject:Pv,isPlainObject:qu,isUndefined:Wu,isDate:JD,isFile:eE,isBlob:iE,isFunction:j1,isStream:nE,isURLSearchParams:rE,isStandardBrowserEnv:oE,forEach:I1,merge:N1,extend:uE,trim:aE,stripBOM:fE,inherits:lE,toFlatObject:dE,kindOf:B1,kindOfTest:Os,endsWith:cE,toArray:hE,isTypedArray:mE,isFileList:tE},cr=fi;function Av(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Mv=function(e,t,n){if(!t)return e;var s;if(n)s=n(t);else if(cr.isURLSearchParams(t))s=t.toString();else{var r=[];cr.forEach(t,function(u,f){u===null||typeof u=="undefined"||(cr.isArray(u)?f=f+"[]":u=[u],cr.forEach(u,function(d){cr.isDate(d)?d=d.toISOString():cr.isObject(d)&&(d=JSON.stringify(d)),r.push(Av(f)+"="+Av(d))}))}),s=r.join("&")}if(s){var a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e},pE=fi;function Vu(){this.handlers=[]}Vu.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1},Vu.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Vu.prototype.forEach=function(e){pE.forEach(this.handlers,function(n){n!==null&&e(n)})};var FE=Vu,gE=fi,vE=function(e,t){gE.forEach(e,function(s,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=s,delete e[r])})},Bv=fi;function hr(i,e,t,n,s){Error.call(this),this.message=i,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),n&&(this.request=n),s&&(this.response=s)}Bv.inherits(hr,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 Rv=hr.prototype,jv={};["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(i){jv[i]={value:i}}),Object.defineProperties(hr,jv),Object.defineProperty(Rv,"isAxiosError",{value:!0}),hr.from=function(i,e,t,n,s,r){var a=Object.create(Rv);return Bv.toFlatObject(i,a,function(u){return u!==Error.prototype}),hr.call(a,i.message,e,t,n,s),a.name=i.name,r&&Object.assign(a,r),a};var mr=hr,Iv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lt=fi;function OE(i,e){e=e||new FormData;var t=[];function n(r){return r===null?"":lt.isDate(r)?r.toISOString():lt.isArrayBuffer(r)||lt.isTypedArray(r)?typeof Blob=="function"?new Blob([r]):Buffer.from(r):r}function s(r,a){if(lt.isPlainObject(r)||lt.isArray(r)){if(t.indexOf(r)!==-1)throw Error("Circular reference detected in "+a);t.push(r),lt.forEach(r,function(u,f){if(!lt.isUndefined(u)){var l=a?a+"."+f:f,d;if(u&&!a&&typeof u=="object"){if(lt.endsWith(f,"{}"))u=JSON.stringify(u);else if(lt.endsWith(f,"[]")&&(d=lt.toArray(u))){d.forEach(function(c){!lt.isUndefined(c)&&e.append(l,n(c))});return}}s(u,l)}}),t.pop()}else e.append(a,n(r))}return s(i),e}var Nv=OE,L1=mr,yE=function(e,t,n){var s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new L1("Request failed with status code "+n.status,[L1.ERR_BAD_REQUEST,L1.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))},Xu=fi,kE=Xu.isStandardBrowserEnv()?function(){return{write:function(t,n,s,r,a,o){var u=[];u.push(t+"="+encodeURIComponent(n)),Xu.isNumber(s)&&u.push("expires="+new Date(s).toGMTString()),Xu.isString(r)&&u.push("path="+r),Xu.isString(a)&&u.push("domain="+a),o===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),wE=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},bE=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},_E=wE,SE=bE,Lv=function(e,t){return e&&!_E(t)?SE(e,t):t},z1=fi,DE=["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"],EE=function(e){var t={},n,s,r;return e&&z1.forEach(e.split(` -`),function(o){if(r=o.indexOf(":"),n=z1.trim(o.substr(0,r)).toLowerCase(),s=z1.trim(o.substr(r+1)),n){if(t[n]&&DE.indexOf(n)>=0)return;n==="set-cookie"?t[n]=(t[n]?t[n]:[]).concat([s]):t[n]=t[n]?t[n]+", "+s:s}}),t},zv=fi,CE=zv.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a"),n;function s(r){var a=r;return e&&(t.setAttribute("href",a),a=t.href),t.setAttribute("href",a),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=s(window.location.href),function(a){var o=zv.isString(a)?s(a):a;return o.protocol===n.protocol&&o.host===n.host}}():function(){return function(){return!0}}(),W1=mr,xE=fi;function Wv(i){W1.call(this,i==null?"canceled":i,W1.ERR_CANCELED),this.name="CanceledError"}xE.inherits(Wv,W1,{__CANCEL__:!0});var Zu=Wv,QE=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""},Ea=fi,$E=yE,TE=kE,PE=Mv,AE=Lv,ME=EE,BE=CE,RE=Iv,Ut=mr,jE=Zu,IE=QE,qv=function(e){return new Promise(function(n,s){var r=e.data,a=e.headers,o=e.responseType,u;function f(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}Ea.isFormData(r)&&Ea.isStandardBrowserEnv()&&delete a["Content-Type"];var l=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.Authorization="Basic "+btoa(d+":"+c)}var h=AE(e.baseURL,e.url);l.open(e.method.toUpperCase(),PE(h,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function m(){if(!!l){var F="getAllResponseHeaders"in l?ME(l.getAllResponseHeaders()):null,v=!o||o==="text"||o==="json"?l.responseText:l.response,O={data:v,status:l.status,statusText:l.statusText,headers:F,config:e,request:l};$E(function(E){n(E),f()},function(E){s(E),f()},O),l=null}}if("onloadend"in l?l.onloadend=m:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(m)},l.onabort=function(){!l||(s(new Ut("Request aborted",Ut.ECONNABORTED,e,l)),l=null)},l.onerror=function(){s(new Ut("Network Error",Ut.ERR_NETWORK,e,l,l)),l=null},l.ontimeout=function(){var v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",O=e.transitional||RE;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),s(new Ut(v,O.clarifyTimeoutError?Ut.ETIMEDOUT:Ut.ECONNABORTED,e,l)),l=null},Ea.isStandardBrowserEnv()){var p=(e.withCredentials||BE(h))&&e.xsrfCookieName?TE.read(e.xsrfCookieName):void 0;p&&(a[e.xsrfHeaderName]=p)}"setRequestHeader"in l&&Ea.forEach(a,function(v,O){typeof r=="undefined"&&O.toLowerCase()==="content-type"?delete a[O]:l.setRequestHeader(O,v)}),Ea.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(F){!l||(s(!F||F&&F.type?new jE:F),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u))),r||(r=null);var g=IE(h);if(g&&["http","https","file"].indexOf(g)===-1){s(new Ut("Unsupported protocol "+g+":",Ut.ERR_BAD_REQUEST,e));return}l.send(r)})},NE=null,Ke=fi,Vv=vE,Xv=mr,LE=Iv,zE=Nv,WE={"Content-Type":"application/x-www-form-urlencoded"};function Zv(i,e){!Ke.isUndefined(i)&&Ke.isUndefined(i["Content-Type"])&&(i["Content-Type"]=e)}function qE(){var i;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(i=qv),i}function VE(i,e,t){if(Ke.isString(i))try{return(e||JSON.parse)(i),Ke.trim(i)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(i)}var Uu={transitional:LE,adapter:qE(),transformRequest:[function(e,t){if(Vv(t,"Accept"),Vv(t,"Content-Type"),Ke.isFormData(e)||Ke.isArrayBuffer(e)||Ke.isBuffer(e)||Ke.isStream(e)||Ke.isFile(e)||Ke.isBlob(e))return e;if(Ke.isArrayBufferView(e))return e.buffer;if(Ke.isURLSearchParams(e))return Zv(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n=Ke.isObject(e),s=t&&t["Content-Type"],r;if((r=Ke.isFileList(e))||n&&s==="multipart/form-data"){var a=this.env&&this.env.FormData;return zE(r?{"files[]":e}:e,a&&new a)}else if(n||s==="application/json")return Zv(t,"application/json"),VE(e);return e}],transformResponse:[function(e){var t=this.transitional||Uu.transitional,n=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,r=!n&&this.responseType==="json";if(r||s&&Ke.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(r)throw a.name==="SyntaxError"?Xv.from(a,Xv.ERR_BAD_RESPONSE,this,null,this.response):a}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:NE},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ke.forEach(["delete","get","head"],function(e){Uu.headers[e]={}}),Ke.forEach(["post","put","patch"],function(e){Uu.headers[e]=Ke.merge(WE)});var q1=Uu,XE=fi,ZE=q1,UE=function(e,t,n){var s=this||ZE;return XE.forEach(n,function(a){e=a.call(s,e,t)}),e},Uv=function(e){return!!(e&&e.__CANCEL__)},Gv=fi,V1=UE,GE=Uv,HE=q1,YE=Zu;function X1(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new YE}var KE=function(e){X1(e),e.headers=e.headers||{},e.data=V1.call(e,e.data,e.headers,e.transformRequest),e.headers=Gv.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Gv.forEach(["delete","get","head","post","put","patch","common"],function(s){delete e.headers[s]});var t=e.adapter||HE.adapter;return t(e).then(function(s){return X1(e),s.data=V1.call(e,s.data,s.headers,e.transformResponse),s},function(s){return GE(s)||(X1(e),s&&s.response&&(s.response.data=V1.call(e,s.response.data,s.response.headers,e.transformResponse))),Promise.reject(s)})},Ui=fi,Hv=function(e,t){t=t||{};var n={};function s(l,d){return Ui.isPlainObject(l)&&Ui.isPlainObject(d)?Ui.merge(l,d):Ui.isPlainObject(d)?Ui.merge({},d):Ui.isArray(d)?d.slice():d}function r(l){if(Ui.isUndefined(t[l])){if(!Ui.isUndefined(e[l]))return s(void 0,e[l])}else return s(e[l],t[l])}function a(l){if(!Ui.isUndefined(t[l]))return s(void 0,t[l])}function o(l){if(Ui.isUndefined(t[l])){if(!Ui.isUndefined(e[l]))return s(void 0,e[l])}else return s(void 0,t[l])}function u(l){if(l in t)return s(e[l],t[l]);if(l in e)return s(void 0,e[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 Ui.forEach(Object.keys(e).concat(Object.keys(t)),function(d){var c=f[d]||r,h=c(d);Ui.isUndefined(h)&&c!==u||(n[d]=h)}),n},Yv={version:"0.27.2"},JE=Yv.version,Mn=mr,Z1={};["object","boolean","number","function","string","symbol"].forEach(function(i,e){Z1[i]=function(n){return typeof n===i||"a"+(e<1?"n ":" ")+i}});var Kv={};Z1.transitional=function(e,t,n){function s(r,a){return"[Axios v"+JE+"] Transitional option '"+r+"'"+a+(n?". "+n:"")}return function(r,a,o){if(e===!1)throw new Mn(s(a," has been removed"+(t?" in "+t:"")),Mn.ERR_DEPRECATED);return t&&!Kv[a]&&(Kv[a]=!0,console.warn(s(a," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(r,a,o):!0}};function eC(i,e,t){if(typeof i!="object")throw new Mn("options must be an object",Mn.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(i),s=n.length;s-- >0;){var r=n[s],a=e[r];if(a){var o=i[r],u=o===void 0||a(o,r,i);if(u!==!0)throw new Mn("option "+r+" must be "+u,Mn.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new Mn("Unknown option "+r,Mn.ERR_BAD_OPTION)}}var iC={assertOptions:eC,validators:Z1},Jv=fi,tC=Mv,e2=FE,i2=KE,Gu=Hv,nC=Lv,t2=iC,pr=t2.validators;function Fr(i){this.defaults=i,this.interceptors={request:new e2,response:new e2}}Fr.prototype.request=function(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Gu(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&t2.assertOptions(n,{silentJSONParsing:pr.transitional(pr.boolean),forcedJSONParsing:pr.transitional(pr.boolean),clarifyTimeoutError:pr.transitional(pr.boolean)},!1);var s=[],r=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(t)===!1||(r=r&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});var a=[];this.interceptors.response.forEach(function(h){a.push(h.fulfilled,h.rejected)});var o;if(!r){var u=[i2,void 0];for(Array.prototype.unshift.apply(u,s),u=u.concat(a),o=Promise.resolve(t);u.length;)o=o.then(u.shift(),u.shift());return o}for(var f=t;s.length;){var l=s.shift(),d=s.shift();try{f=l(f)}catch(c){d(c);break}}try{o=i2(f)}catch(c){return Promise.reject(c)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},Fr.prototype.getUri=function(e){e=Gu(this.defaults,e);var t=nC(e.baseURL,e.url);return tC(t,e.params,e.paramsSerializer)},Jv.forEach(["delete","get","head","options"],function(e){Fr.prototype[e]=function(t,n){return this.request(Gu(n||{},{method:e,url:t,data:(n||{}).data}))}}),Jv.forEach(["post","put","patch"],function(e){function t(n){return function(r,a,o){return this.request(Gu(o||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:a}))}}Fr.prototype[e]=t(),Fr.prototype[e+"Form"]=t(!0)});var sC=Fr,rC=Zu;function gr(i){if(typeof i!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(s){e=s});var t=this;this.promise.then(function(n){if(!!t._listeners){var s,r=t._listeners.length;for(s=0;s{e("update:visible",u),u||e("close")},a=async()=>{const u=J5();n.value._csrf=u,document.cookie=`XSRF-TOKEN=${u}; Path=/;`},o=async()=>{try{s.value=!0,await Gi.post("/login",ZD.stringify(n.value),{withCredentials:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"}}),window.location.reload()}catch(u){console.error("Failed to login",u),alert("\u767B\u5F55\u5931\u8D25\uFF0C\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF")}finally{s.value=!1}};return ii(()=>t.visible,u=>{u&&a()}),(u,f)=>(Z(),ni(I(wb),{title:"\u767B\u5F55",visible:i.visible,width:400,"onUpdate:visible":r},{footer:xe(()=>[J(I(zs),{loading:s.value,type:"default",onClick:o},{default:xe(()=>[et(" \u767B\u5F55 ")]),_:1},8,["loading"])]),default:xe(()=>[R("div",hC,[Li(R("input",{"onUpdate:modelValue":f[0]||(f[0]=l=>n.value.username=l),class:"rounded-base block h-9 w-full resize-none appearance-none border border-gray-300 bg-white px-3 text-sm text-black antialiased outline-0 transition-all",placeholder:"\u7528\u6237\u540D",type:"text"},null,512),[[gt,n.value.username]]),Li(R("input",{"onUpdate:modelValue":f[1]||(f[1]=l=>n.value.password=l),class:"rounded-base block h-9 w-full resize-none appearance-none border border-gray-300 bg-white px-3 text-sm text-black antialiased outline-0 transition-all",placeholder:"\u5BC6\u7801",type:"password"},null,512),[[gt,n.value.password]])])]),_:1},8,["visible"]))}});var pC={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?Yu.call(arguments,2):t),typeof i=="function"&&i.defaultProps!=null)for(r in i.defaultProps)a[r]===void 0&&(a[r]=i.defaultProps[r]);return Ju(i,a,n,s,null)}function Ju(i,e,t,n,s){var r={type:i,props:e,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:s==null?++a2:s};return s==null&&ee.vnode!=null&&ee.vnode(r),r}function Gt(){return{current:null}}function vr(i){return i.children}function Qt(i,e){this.props=i,this.context=e}function Or(i,e){if(e==null)return i.__?Or(i.__,i.__.__k.indexOf(i)+1):null;for(var t;e0?Ju(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=t,h.__b=t.__b+1,(c=F[l])===null||c&&h.key==c.key&&h.type===c.type)F[l]=void 0;else for(d=0;d{let i=null;try{navigator.userAgent.includes("jsdom")||(i=document.createElement("canvas").getContext("2d",{willReadFrequently:!0}))}catch{}if(!i)return()=>!1;const e=25,t=20,n=Math.floor(e/2);return i.font=n+"px Arial, Sans-Serif",i.textBaseline="top",i.canvas.width=t*2,i.canvas.height=e,s=>{i.clearRect(0,0,t*2,e),i.fillStyle="#FF0000",i.fillText(s,0,22),i.fillStyle="#0000FF",i.fillText(s,t,22);const r=i.getImageData(0,0,t,e).data,a=r.length;let o=0;for(;o=a)return!1;const u=t+o/4%t,f=Math.floor(o/4/t),l=i.getImageData(u,f,1,1).data;return!(r[o]!==l[0]||r[o+2]!==l[2]||i.measureText(s).width>=t)}})();var _2={latestVersion:PC,noCountryFlags:AC};const S2=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let li=null;function BC(i){li||(li=Rn.get("frequently")||{});const e=i.id||i;!e||(li[e]||(li[e]=0),li[e]+=1,Rn.set("last",e),Rn.set("frequently",li))}function RC({maxFrequentRows:i,perLine:e}){if(!i)return[];li||(li=Rn.get("frequently"));let t=[];if(!li){li={};for(let r in S2.slice(0,e)){const a=S2[r];li[a]=e-r,t.push(a)}return t}const n=i*e,s=Rn.get("last");for(let r in li)t.push(r);if(t.sort((r,a)=>{const o=li[a],u=li[r];return o==u?r.localeCompare(a):o-u}),t.length>n){const r=t.slice(n);t=t.slice(0,n);for(let a of r)a!=s&&delete li[a];s&&t.indexOf(s)==-1&&(delete li[t[t.length-1]],t.splice(-1,1,s)),Rn.set("frequently",li)}return t}var D2={add:BC,get:RC},E2={};E2=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 Ht={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","be","cs","de","es","fa","fi","fr","hi","it","ja","nl","pl","pt","ru","sa","tr","uk","vi","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 yi=null,fe=null;const Y1={};async function C2(i){if(Y1[i])return Y1[i];const t=await(await fetch(i)).json();return Y1[i]=t,t}let K1=null,x2=null,Q2=!1;function sf(i,{caller:e}={}){return K1||(K1=new Promise(t=>{x2=t})),i?jC(i):e&&!Q2&&console.warn(`\`${e}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),K1}async function jC(i){Q2=!0;let{emojiVersion:e,set:t,locale:n}=i;if(e||(e=Ht.emojiVersion.value),t||(t=Ht.set.value),n||(n=Ht.locale.value),fe)fe.categories=fe.categories.filter(u=>!u.name);else{fe=(typeof i.data=="function"?await i.data():i.data)||await C2(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${t}.json`),fe.emoticons={},fe.natives={},fe.categories.unshift({id:"frequent",emojis:[]});for(const u in fe.aliases){const f=fe.aliases[u],l=fe.emojis[f];!l||(l.aliases||(l.aliases=[]),l.aliases.push(u))}fe.originalCategories=fe.categories}if(yi=(typeof i.i18n=="function"?await i.i18n():i.i18n)||(n=="en"?r2(E2):await C2(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${n}.json`)),i.custom)for(let u in i.custom){u=parseInt(u);const f=i.custom[u],l=i.custom[u-1];if(!(!f.emojis||!f.emojis.length)){f.id||(f.id=`custom_${u+1}`),f.name||(f.name=yi.categories.custom),l&&!f.icon&&(f.target=l.target||l),fe.categories.push(f);for(const d of f.emojis)fe.emojis[d.id]=d}}i.categories&&(fe.categories=fe.originalCategories.filter(u=>i.categories.indexOf(u.id)!=-1).sort((u,f)=>{const l=i.categories.indexOf(u.id),d=i.categories.indexOf(f.id);return l-d}));let s=null,r=null;t=="native"&&(s=_2.latestVersion(),r=i.noCountryFlags||_2.noCountryFlags());let a=fe.categories.length,o=!1;for(;a--;){const u=fe.categories[a];if(u.id=="frequent"){let{maxFrequentRows:d,perLine:c}=i;d=d>=0?d:Ht.maxFrequentRows.value,c||(c=Ht.perLine.value),u.emojis=D2.get({maxFrequentRows:d,perLine:c})}if(!u.emojis||!u.emojis.length){fe.categories.splice(a,1);continue}const{categoryIcons:f}=i;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:fe.emojis[d],h=()=>{u.emojis.splice(l,1)};if(!c){h();continue}if(s&&c.version>s){h();continue}if(r&&u.id=="flags"&&!WC.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(([p,g])=>{if(!!p)return(Array.isArray(p)?p:[p]).map(F=>(g?F.split(/[-|_|\s]+/):[F]).map(v=>v.toLowerCase())).flat()}).flat().filter(p=>p&&p.trim()).join(","),c.emoticons)for(const p of c.emoticons)fe.emoticons[p]||(fe.emoticons[p]=c.id);let m=0;for(const p of c.skins){if(!p)continue;m++;const{native:g}=p;g&&(fe.natives[g]=c.id,c.search+=`,${g}`);const F=m==1?"":`:skin-tone-${m}:`;p.shortcodes=`:${c.id}:${F}`}}}}o&&yr.reset(),x2()}function $2(i,e,t){i||(i={});const n={};for(let s in e)n[s]=T2(s,i,e,t);return n}function T2(i,e,t,n){const s=t[i];let r=n&&n.getAttribute(i)||(e[i]!=null&&e[i]!=null?e[i]:null);return s&&(r!=null&&s.value&&typeof s.value!=typeof r&&(typeof s.value=="boolean"?r=r!="false":r=s.value.constructor(r)),s.transform&&r&&(r=s.transform(r)),(r==null||s.choices&&s.choices.indexOf(r)==-1)&&(r=s.value)),r}const IC=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;let J1=null;function NC(i){return i.id?i:fe.emojis[i]||fe.emojis[fe.aliases[i]]||fe.emojis[fe.natives[i]]}function LC(){J1=null}async function zC(i,{maxResults:e,caller:t}={}){if(!i||!i.trim().length)return null;e||(e=90),await sf(null,{caller:t||"SearchIndex.search"});const n=i.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((o,u,f)=>o.trim()&&f.indexOf(o)==u);if(!n.length)return;let s=J1||(J1=Object.values(fe.emojis)),r,a;for(const o of n){if(!s.length)break;r=[],a={};for(const u of s){if(!u.search)continue;const f=u.search.indexOf(`,${o}`);f!=-1&&(r.push(u),a[u.id]||(a[u.id]=0),a[u.id]+=u.id==o?0:f+1)}s=r}return r.length<2||(r.sort((o,u)=>{const f=a[o.id],l=a[u.id];return f==l?o.id.localeCompare(u.id):f-l}),r.length>e&&(r=r.slice(0,e))),r}var yr={search:zC,get:NC,reset:LC,SHORTCODES_REGEX:IC};const WC=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];function qC(i,e){return Array.isArray(i)&&Array.isArray(e)&&i.length===e.length&&i.every((t,n)=>t==e[n])}async function VC(i=1){for(let e in[...Array(i).keys()])await new Promise(requestAnimationFrame)}function XC(i,{skinIndex:e=0}={}){const t=i.skins[e]||(()=>(e=0,i.skins[e]))(),n={id:i.id,name:i.name,native:t.native,unified:t.unified,keywords:i.keywords,shortcodes:t.shortcodes||i.shortcodes};return i.skins.length>1&&(n.skin=e+1),t.src&&(n.src=t.src),i.aliases&&i.aliases.length&&(n.aliases=i.aliases),i.emoticons&&i.emoticons.length&&(n.emoticons=i.emoticons),n}var rf={categories:{activity:{outline:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("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"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("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"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("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"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("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"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:P("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 ec(i){let{id:e,skin:t,emoji:n}=i;if(i.shortcodes){const o=i.shortcodes.match(yr.SHORTCODES_REGEX);o&&(e=o[1],o[2]&&(t=o[2]))}if(n||(n=yr.get(e||i.native)),!n)return i.fallback;const s=n.skins[t-1]||n.skins[0],r=s.src||(i.set!="native"&&!i.spritesheet?typeof i.getImageURL=="function"?i.getImageURL(i.set,s.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${i.set}@14.0.0/img/${i.set}/64/${s.unified}.png`:void 0),a=typeof i.getSpritesheetURL=="function"?i.getSpritesheetURL(i.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${i.set}@14.0.0/img/${i.set}/sheets-256/64.png`;return P("span",{class:"emoji-mart-emoji","data-emoji-set":i.set,children:r?P("img",{style:{maxWidth:i.size||"1em",maxHeight:i.size||"1em",display:"inline-block"},alt:s.native||s.shortcodes,src:r}):i.set=="native"?P("span",{style:{fontSize:i.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:s.native}):P("span",{style:{display:"block",width:i.size,height:i.size,backgroundImage:`url(${a})`,backgroundSize:`${100*fe.sheet.cols}% ${100*fe.sheet.rows}%`,backgroundPosition:`${100/(fe.sheet.cols-1)*s.x}% ${100/(fe.sheet.rows-1)*s.y}%`}})})}const ZC=typeof window!="undefined"&&window.HTMLElement?window.HTMLElement:Object;class P2 extends ZC{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let t in e)this.attributeChangedCallback(t,null,e[t])}attributeChangedCallback(e,t,n){if(!this.component)return;const s=T2(e,{[e]:n},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:s}):(this.component.props[e]=s,this.component.forceUpdate())}disconnectedCallback(){this.disconnected=!0,this.component&&this.component.unregister&&this.component.unregister()}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let t=null;const n=e.parent||(t=e.ref&&e.ref.current);t&&(t.innerHTML=""),n&&n.appendChild(this)}}}class UC extends P2{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const t=document.createElement("style");t.textContent=e,this.shadowRoot.insertBefore(t,this.shadowRoot.firstChild)}constructor(e,{styles:t}={}){super(e),this.setShadow(),this.injectStyles(t)}}var A2={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:i=>/\D/.test(i)?i:`${i}px`},set:Ht.set,skin:Ht.skin};class M2 extends P2{async connectedCallback(){const e=$2(this.props,A2,this);e.element=this,e.ref=t=>{this.component=t},await sf(),!this.disconnected&&w2(P(ec,{...e}),this)}constructor(e){super(e)}}dt(M2,"Props",A2),typeof customElements!="undefined"&&!customElements.get("em-emoji")&&customElements.define("em-emoji",M2);var B2,ic=[],R2=ee.__b,j2=ee.__r,I2=ee.diffed,N2=ee.__c,L2=ee.unmount;function GC(){var i;for(ic.sort(function(e,t){return e.__v.__b-t.__v.__b});i=ic.pop();)if(i.__P)try{i.__H.__h.forEach(af),i.__H.__h.forEach(tc),i.__H.__h=[]}catch(e){i.__H.__h=[],ee.__e(e,i.__v)}}ee.__b=function(i){R2&&R2(i)},ee.__r=function(i){j2&&j2(i);var e=i.__c.__H;e&&(e.__h.forEach(af),e.__h.forEach(tc),e.__h=[])},ee.diffed=function(i){I2&&I2(i);var e=i.__c;e&&e.__H&&e.__H.__h.length&&(ic.push(e)!==1&&B2===ee.requestAnimationFrame||((B2=ee.requestAnimationFrame)||function(t){var n,s=function(){clearTimeout(r),z2&&cancelAnimationFrame(n),setTimeout(t)},r=setTimeout(s,100);z2&&(n=requestAnimationFrame(s))})(GC))},ee.__c=function(i,e){e.some(function(t){try{t.__h.forEach(af),t.__h=t.__h.filter(function(n){return!n.__||tc(n)})}catch(n){e.some(function(s){s.__h&&(s.__h=[])}),e=[],ee.__e(n,t.__v)}}),N2&&N2(i,e)},ee.unmount=function(i){L2&&L2(i);var e,t=i.__c;t&&t.__H&&(t.__H.__.forEach(function(n){try{af(n)}catch(s){e=s}}),e&&ee.__e(e,t.__v))};var z2=typeof requestAnimationFrame=="function";function af(i){var e=i.__c;typeof e=="function"&&(i.__c=void 0,e())}function tc(i){i.__c=i.__()}function HC(i,e){for(var t in e)i[t]=e[t];return i}function W2(i,e){for(var t in i)if(t!=="__source"&&!(t in e))return!0;for(var n in e)if(n!=="__source"&&i[n]!==e[n])return!0;return!1}function of(i){this.props=i}(of.prototype=new Qt).isPureReactComponent=!0,of.prototype.shouldComponentUpdate=function(i,e){return W2(this.props,i)||W2(this.state,e)};var q2=ee.__b;ee.__b=function(i){i.type&&i.type.__f&&i.ref&&(i.props.ref=i.ref,i.ref=null),q2&&q2(i)};var YC=ee.__e;ee.__e=function(i,e,t){if(i.then){for(var n,s=e;s=s.__;)if((n=s.__c)&&n.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),n.__c(i,e)}YC(i,e,t)};var V2=ee.unmount;function nc(){this.__u=0,this.t=null,this.__b=null}function X2(i){var e=i.__.__c;return e&&e.__e&&e.__e(i)}function uf(){this.u=null,this.o=null}ee.unmount=function(i){var e=i.__c;e&&e.__R&&e.__R(),e&&i.__h===!0&&(i.type=null),V2&&V2(i)},(nc.prototype=new Qt).__c=function(i,e){var t=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(t);var s=X2(n.__v),r=!1,a=function(){r||(r=!0,t.__R=null,s?s(o):o())};t.__R=a;var o=function(){if(!--n.__u){if(n.state.__e){var f=n.state.__e;n.__v.__k[0]=function d(c,h,m){return c&&(c.__v=null,c.__k=c.__k&&c.__k.map(function(p){return d(p,h,m)}),c.__c&&c.__c.__P===h&&(c.__e&&m.insertBefore(c.__e,c.__d),c.__c.__e=!0,c.__c.__P=m)),c}(f,f.__c.__P,f.__c.__O)}var l;for(n.setState({__e:n.__b=null});l=n.t.pop();)l.forceUpdate()}},u=e.__h===!0;n.__u++||u||n.setState({__e:n.__b=n.__v.__k[0]}),i.then(a,a)},nc.prototype.componentWillUnmount=function(){this.t=[]},nc.prototype.render=function(i,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=function r(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=HC({},a)).__c!=null&&(a.__c.__P===u&&(a.__c.__P=o),a.__c=null),a.__k=a.__k&&a.__k.map(function(f){return r(f,o,u)})),a}(this.__b,t,n.__O=n.__P)}this.__b=null}var s=e.__e&&U1(vr,null,i.fallback);return s&&(s.__h=null),[U1(vr,null,e.__e?null:i.children),s]};var Z2=function(i,e,t){if(++t[1]===t[0]&&i.o.delete(e),i.props.revealOrder&&(i.props.revealOrder[0]!=="t"||!i.o.size))for(t=i.u;t;){for(;t.length>3;)t.pop()();if(t[1]{const s=t.name||yi.categories[t.id],r=!this.props.unfocused&&t.id==this.state.categoryId;return r&&(e=n),P("button",{"aria-label":s,"aria-selected":r||void 0,title:s,type:"button",class:"flex flex-grow flex-center",onMouseDown:a=>a.preventDefault(),onClick:()=>{this.props.onClick({category:t,i:n})},children:this.renderIcon(t)})}),P("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:e==null?0:1,transform:`translateX(${e*100}%)`}})]})})}constructor(){super(),this.categories=fe.categories.filter(e=>!e.target),this.state={categoryId:this.categories[0].id}}}class o7 extends of{shouldComponentUpdate(e){for(let t in e)if(t!="children"&&e[t]!=this.props[t])return!0;return!1}render(){return this.props.children}}const ff={rowsPerRender:10};class u7 extends Qt{getInitialState(e=this.props){return{skin:Rn.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.observers=[],this.dir=yi.rtl?"rtl":"ltr",this.refs={menu:Gt(),navigation:Gt(),scroll:Gt(),search:Gt(),searchInput:Gt(),skinToneButton:Gt(),skinToneRadio:Gt()},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 t in e)this.nextState[t]=e[t];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let t=!1;for(const s in this.nextState)this.props[s]=this.nextState[s],(s==="custom"||s==="categories")&&(t=!0);delete this.nextState;const n=this.getInitialState();if(t)return this.reset(n);this.setState(n)})}componentWillUnmount(){this.unregister()}async reset(e={}){await sf(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}=fe;this.refs.categories=new Map;const t=fe.categories.map(s=>s.id).join(",");this.navKey&&this.navKey!=t&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=t,this.grid=[],this.grid.setsize=0;const n=(s,r)=>{const a=[];a.__categoryId=r.id,a.__index=s.length,this.grid.push(a);const o=this.grid.length-1,u=o%ff.rowsPerRender?{}:Gt();return u.index=o,u.posinset=this.grid.setsize+1,s.push(u),a};for(let s of e){const r=[];let a=n(r,s);for(let o of s.emojis)a.length==this.props.perLine&&(a=n(r,s)),this.grid.setsize+=1,a.push(o);this.refs.categories.set(s.id,{root:Gt(),rows:r})}}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,t]){const n=this.state.searchResults||this.grid,s=n[e]&&n[e][t];if(!!s)return yr.get(s)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const t=new Map,n=a=>{a!=e.state.categoryId&&e.setState({categoryId:a})},s={root:this.refs.scroll.current,threshold:[0,1]},r=new IntersectionObserver(a=>{for(const u of a){const f=u.target.dataset.id;t.set(f,u.intersectionRatio)}const o=[...t];for(const[u,f]of o)if(f){n(u);break}},s);for(const{root:a}of this.refs.categories.values())r.observe(a.current);this.observers.push(r)}observeRows(){const e={...this.state.visibleRows},t=new IntersectionObserver(n=>{for(const s of n){const r=parseInt(s.target.dataset.index);s.isIntersecting?e[r]=!0:delete e[r]}this.setState({visibleRows:e})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(ff.rowsPerRender+5)}px 0px ${this.props.emojiButtonSize*ff.rowsPerRender}px`});for(const{rows:n}of this.refs.categories.values())for(const s of n)s.current&&t.observe(s.current);this.observers.push(t)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;!e||e.blur()}navigate({e,input:t,left:n,right:s,up:r,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&&!e.repeat&&(n||r))return null;if(u==-1)return!e.repeat&&(s||a)&&t.selectionStart==t.value.length?[0,0]:null;if(n||s){let d=o[u];const c=n?-1:1;if(f+=c,!d[f]){if(u+=c,d=o[u],!d)return u=n?0:o.length-1,f=n?0:o[u].length-1,[u,f];f=n?d.length-1:0}return[u,f]}if(r||a){u+=r?-1:1;const d=o[u];return d?(d[f]||(f=d.length-1),[u,f]):(u=r?0:o.length-1,f=r?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:t}){const n=this.state.searchResults||this.grid;if(!n.length)return;const s=this.refs.scroll.current,r=s.getBoundingClientRect();let a=0;if(t>=0&&(e=n[t].__categoryId),e&&(a=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(r.top-s.scrollTop)+1),t>=0)if(!t)a=0;else{const o=n[t].__index,u=a+o*this.props.emojiButtonSize,f=u+this.props.emojiButtonSize+this.props.emojiButtonSize*.88;if(us.scrollTop+r.height)a=f-r.height;else return}this.ignoreMouse(),s.scrollTop=a}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({e,emoji:t,pos:n}){if(!!this.props.onEmojiSelect&&(!t&&n&&(t=this.getEmojiByPos(n)),t)){const s=XC(t,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&D2.add(s,this.props),this.props.onEmojiSelect(s,e)}}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}),Rn.set("skin",e)}renderNav(){return P(a7,{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),t=this.state.searchResults&&!this.state.searchResults.length;return P("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[P("div",{class:"flex flex-middle flex-grow",children:[P("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:P(ec,{emoji:e,id:t?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})}),P("div",{class:`margin-${this.dir[0]}`,children:e?P("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[P("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:e.name}),P("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:e.skins[0].shortcodes})]}):t?P("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[P("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:yi.search_no_results_1}),P("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:yi.search_no_results_2})]}):P("div",{class:"color-c",style:{fontSize:21},children:yi.pick})})]}),!e&&this.props.skinTonePosition=="preview"&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:t,posinset:n,grid:s}){const r=this.props.emojiButtonSize,a=this.state.tempSkin||this.state.skin,u=(e.skins[a-1]||e.skins[0]).native,f=qC(this.state.pos,t),l=t.concat(e.id).join("");return P(o7,{selected:f,skin:a,size:r,children:P("button",{"aria-label":u,"aria-selected":f||void 0,"aria-posinset":n,"aria-setsize":s.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:d=>this.handleEmojiClick({e:d,emoji:e}),onMouseEnter:()=>this.handleEmojiOver(t),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[P("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(n-1)%this.props.emojiButtonColors.length]:void 0}}),P(ec,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:a,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},l)}renderSearch(){const e=this.props.previewPosition=="none"||this.props.skinTonePosition=="search";return P("div",{children:[P("div",{class:"spacer"}),P("div",{class:"flex flex-middle",children:[e&&this.dir=="rtl"&&this.renderSkinToneButton(),P("div",{class:"search relative flex-grow",children:[P("input",{type:"search",ref:this.refs.searchInput,placeholder:yi.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),P("span",{class:"icon loupe flex",children:rf.search.loupe}),this.state.searchResults&&P("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:rf.search.delete})]}),e&&this.dir=="ltr"&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?P("div",{class:"category",ref:this.refs.search,children:[P("div",{class:`sticky padding-small align-${this.dir[0]}`,children:yi.categories.search}),P("div",{children:e.length?e.map((t,n)=>P("div",{class:"flex",children:t.map((s,r)=>this.renderEmojiButton(s,{pos:[n,r],posinset:n*this.props.perLine+r+1,grid:e}))})):P("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&P("a",{onClick:this.props.onAddCustomEmoji,children:yi.add_custom})})})]}):null}renderCategories(){const{categories:e}=fe,t=!!this.state.searchResults;return P("div",{style:{visibility:t?"hidden":void 0,display:t?"none":void 0,height:"100%"},children:e.map(n=>{const{root:s,rows:r}=this.refs.categories.get(n.id);return P("div",{"data-id":n.target?n.target.id:n.id,class:"category",ref:s,children:[P("div",{class:`sticky padding-small align-${this.dir[0]}`,children:n.name||yi.categories[n.id]}),P("div",{class:"relative",style:{height:r.length*this.props.emojiButtonSize},children:r.map((a,o)=>{const u=a.index-a.index%ff.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=n.emojis.slice(d,c);return P("div",{"data-index":a.index,ref:l,class:"flex row",style:{top:o*this.props.emojiButtonSize},children:f&&h.map((m,p)=>{const g=yr.get(m);return this.renderEmojiButton(g,{pos:[a.index,p],posinset:a.posinset+p,grid:this.grid})})},a.index)})})]})})})}renderSkinToneButton(){return this.props.skinTonePosition=="none"?null:P("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:P("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":yi.skins.choose,title:yi.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:P("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos),t=e?e.name:"";return P("div",{"aria-live":"polite",class:"sr-only",children:t})}renderSkins(){const t=this.refs.skinToneButton.current.getBoundingClientRect(),n=this.base.getBoundingClientRect(),s={};return this.dir=="ltr"?s.right=n.right-t.right-3:s.left=t.left-n.left-3,this.props.previewPosition=="bottom"&&this.props.skinTonePosition=="preview"?s.bottom=n.bottom-t.top+6:(s.top=t.bottom-n.top+3,s.bottom="auto"),P("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":yi.skins.choose,class:"menu hidden","data-position":s.top?"top":"bottom",style:s,children:[...Array(6).keys()].map(r=>{const a=r+1,o=this.state.skin==a;return P("div",{children:[P("input",{type:"radio",name:"skin-tone",value:a,"aria-label":yi.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))}}),P("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:[P("span",{class:`skin-tone skin-tone-${a}`}),P("span",{class:"margin-small-lr",children:yi.skins[a]})]})]})})})}render(){return P("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"&&P("div",{class:"padding-lr",children:this.renderSearch()}),P("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:P("div",{style:{width:this.props.perLine*this.props.emojiButtonSize,height:"100%"},children:[this.props.searchPosition=="static"&&this.renderSearch(),this.renderSearchResults(),this.renderCategories()]})}),this.props.navPosition=="bottom"&&this.renderNav(),this.props.previewPosition=="bottom"&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),dt(this,"handleClickOutside",t=>{const{element:n}=this.props;t.target!=n&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside())}),dt(this,"handleBaseClick",t=>{!this.state.showSkins||t.target.closest(".menu")||(t.preventDefault(),t.stopImmediatePropagation(),this.closeSkins())}),dt(this,"handleBaseKeydown",t=>{!this.state.showSkins||t.key=="Escape"&&(t.preventDefault(),t.stopImmediatePropagation(),this.closeSkins())}),dt(this,"handleSearchClick",()=>{!this.getEmojiByPos(this.state.pos)||this.setState({pos:[-1,-1]})}),dt(this,"handleSearchInput",async()=>{const t=this.refs.searchInput.current;if(!t)return;const{value:n}=t,s=await yr.search(n),r=()=>{!this.refs.scroll.current||(this.refs.scroll.current.scrollTop=0)};if(!s)return this.setState({searchResults:s,pos:[-1,-1]},r);const a=t.selectionStart==t.value.length?[0,0]:[-1,-1],o=[];o.setsize=s.length;let u=null;for(let f of s)(!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},r)}),dt(this,"handleSearchKeyDown",t=>{const n=t.currentTarget;switch(t.stopImmediatePropagation(),t.key){case"ArrowLeft":this.navigate({e:t,input:n,left:!0});break;case"ArrowRight":this.navigate({e:t,input:n,right:!0});break;case"ArrowUp":this.navigate({e:t,input:n,up:!0});break;case"ArrowDown":this.navigate({e:t,input:n,down:!0});break;case"Enter":t.preventDefault(),this.handleEmojiClick({e:t,pos:this.state.pos});break;case"Escape":t.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch();break}}),dt(this,"clearSearch",()=>{const t=this.refs.searchInput.current;!t||(t.value="",t.focus(),this.handleSearchInput())}),dt(this,"handleCategoryClick",({category:t,i:n})=>{this.scrollTo(n==0?{row:-1}:{categoryId:t.id})}),dt(this,"openSkins",t=>{const{currentTarget:n}=t,s=n.getBoundingClientRect();this.setState({showSkins:s},async()=>{await VC(2);const r=this.refs.menu.current;!r||(r.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 sc extends UC{async connectedCallback(){const e=$2(this.props,Ht,this);e.element=this,e.ref=t=>{this.component=t},await sf(e),!this.disconnected&&w2(P(u7,{...e}),this.shadowRoot)}constructor(e){super(e,{styles:r2(K2)})}}dt(sc,"Props",Ht),typeof customElements!="undefined"&&!customElements.get("em-emoji-picker")&&customElements.define("em-emoji-picker",sc);var K2={};K2=`:host { +`+e.prev}function Nu(i,e){var t=b1(i),n=[];if(t){n.length=i.length;for(var s=0;s1;){var t=e.pop(),n=t.obj[t.prop];if(Os(n)){for(var s=[],r=0;r=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||r===FD.RFC1738&&(f===40||f===41)){o+=a.charAt(u);continue}if(f<128){o=o+xt[f];continue}if(f<2048){o=o+(xt[192|f>>6]+xt[128|f&63]);continue}if(f<55296||f>=57344){o=o+(xt[224|f>>12]+xt[128|f>>6&63]+xt[128|f&63]);continue}u+=1,f=65536+((f&1023)<<10|a.charCodeAt(u)&1023),o+=xt[240|f>>18]+xt[128|f>>12&63]+xt[128|f>>6&63]+xt[128|f&63]}return o},wD=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],s=0;s0?p.join(",")||null:void 0}];else if(Ut(u))Q=u;else{var T=Object.keys(p);Q=f?T.sort(f):T}for(var N=s&&Ut(p)&&p.length===1?t+"[]":t,I=0;I0?m+h:""},dr=Sv,P1=Object.prototype.hasOwnProperty,MD=Array.isArray,Ke={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:dr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},BD=function(i){return i.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},Qv=function(i,e){return i&&typeof i=="string"&&e.comma&&i.indexOf(",")>-1?i.split(","):i},RD="utf8=%26%2310003%3B",jD="utf8=%E2%9C%93",ID=function(e,t){var n={},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,r=t.parameterLimit===1/0?void 0:t.parameterLimit,a=s.split(t.delimiter,r),o=-1,u,f=t.charset;if(t.charsetSentinel)for(u=0;u-1&&(m=MD(m)?[m]:m),P1.call(n,h)?n[h]=dr.combine(n[h],m):n[h]=m}return n},ND=function(i,e,t,n){for(var s=n?e:Qv(e,t),r=i.length-1;r>=0;--r){var a,o=i[r];if(o==="[]"&&t.parseArrays)a=[].concat(s);else{a=t.plainObjects?Object.create(null):{};var u=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,f=parseInt(u,10);!t.parseArrays&&u===""?a={0:s}:!isNaN(f)&&o!==u&&String(f)===u&&f>=0&&t.parseArrays&&f<=t.arrayLimit?(a=[],a[f]=s):u!=="__proto__"&&(a[u]=s)}s=a}return s},LD=function(e,t,n,s){if(!!e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,u=n.depth>0&&a.exec(r),f=u?r.slice(0,u.index):r,l=[];if(f){if(!n.plainObjects&&P1.call(Object.prototype,f)&&!n.allowPrototypes)return;l.push(f)}for(var d=0;n.depth>0&&(u=o.exec(r))!==null&&d0;)r=n[s],a[r]||(e[r]=i[r],a[r]=!0);i=Object.getPrototypeOf(i)}while(i&&(!t||t(i,e))&&i!==Object.prototype);return e}function cE(i,e,t){i=String(i),(t===void 0||t>i.length)&&(t=i.length),t-=e.length;var n=i.indexOf(e,t);return n!==-1&&n===t}function hE(i){if(!i)return null;var e=i.length;if(Wu(e))return null;for(var t=new Array(e);e-- >0;)t[e]=i[e];return t}var mE=function(i){return function(e){return i&&e instanceof i}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),fi={isArray:R1,isArrayBuffer:Tv,isBuffer:GD,isFormData:sE,isArrayBufferView:HD,isString:YD,isNumber:KD,isObject:Pv,isPlainObject:qu,isUndefined:Wu,isDate:JD,isFile:eE,isBlob:iE,isFunction:j1,isStream:nE,isURLSearchParams:rE,isStandardBrowserEnv:oE,forEach:I1,merge:N1,extend:uE,trim:aE,stripBOM:fE,inherits:lE,toFlatObject:dE,kindOf:B1,kindOfTest:ys,endsWith:cE,toArray:hE,isTypedArray:mE,isFileList:tE},cr=fi;function Av(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Mv=function(e,t,n){if(!t)return e;var s;if(n)s=n(t);else if(cr.isURLSearchParams(t))s=t.toString();else{var r=[];cr.forEach(t,function(u,f){u===null||typeof u=="undefined"||(cr.isArray(u)?f=f+"[]":u=[u],cr.forEach(u,function(d){cr.isDate(d)?d=d.toISOString():cr.isObject(d)&&(d=JSON.stringify(d)),r.push(Av(f)+"="+Av(d))}))}),s=r.join("&")}if(s){var a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e},pE=fi;function Vu(){this.handlers=[]}Vu.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1},Vu.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Vu.prototype.forEach=function(e){pE.forEach(this.handlers,function(n){n!==null&&e(n)})};var FE=Vu,gE=fi,vE=function(e,t){gE.forEach(e,function(s,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=s,delete e[r])})},Bv=fi;function hr(i,e,t,n,s){Error.call(this),this.message=i,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),n&&(this.request=n),s&&(this.response=s)}Bv.inherits(hr,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 Rv=hr.prototype,jv={};["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(i){jv[i]={value:i}}),Object.defineProperties(hr,jv),Object.defineProperty(Rv,"isAxiosError",{value:!0}),hr.from=function(i,e,t,n,s,r){var a=Object.create(Rv);return Bv.toFlatObject(i,a,function(u){return u!==Error.prototype}),hr.call(a,i.message,e,t,n,s),a.name=i.name,r&&Object.assign(a,r),a};var mr=hr,Iv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lt=fi;function OE(i,e){e=e||new FormData;var t=[];function n(r){return r===null?"":lt.isDate(r)?r.toISOString():lt.isArrayBuffer(r)||lt.isTypedArray(r)?typeof Blob=="function"?new Blob([r]):Buffer.from(r):r}function s(r,a){if(lt.isPlainObject(r)||lt.isArray(r)){if(t.indexOf(r)!==-1)throw Error("Circular reference detected in "+a);t.push(r),lt.forEach(r,function(u,f){if(!lt.isUndefined(u)){var l=a?a+"."+f:f,d;if(u&&!a&&typeof u=="object"){if(lt.endsWith(f,"{}"))u=JSON.stringify(u);else if(lt.endsWith(f,"[]")&&(d=lt.toArray(u))){d.forEach(function(c){!lt.isUndefined(c)&&e.append(l,n(c))});return}}s(u,l)}}),t.pop()}else e.append(a,n(r))}return s(i),e}var Nv=OE,L1=mr,yE=function(e,t,n){var s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new L1("Request failed with status code "+n.status,[L1.ERR_BAD_REQUEST,L1.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))},Xu=fi,kE=Xu.isStandardBrowserEnv()?function(){return{write:function(t,n,s,r,a,o){var u=[];u.push(t+"="+encodeURIComponent(n)),Xu.isNumber(s)&&u.push("expires="+new Date(s).toGMTString()),Xu.isString(r)&&u.push("path="+r),Xu.isString(a)&&u.push("domain="+a),o===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),wE=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},bE=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},_E=wE,SE=bE,Lv=function(e,t){return e&&!_E(t)?SE(e,t):t},z1=fi,DE=["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"],EE=function(e){var t={},n,s,r;return e&&z1.forEach(e.split(` +`),function(o){if(r=o.indexOf(":"),n=z1.trim(o.substr(0,r)).toLowerCase(),s=z1.trim(o.substr(r+1)),n){if(t[n]&&DE.indexOf(n)>=0)return;n==="set-cookie"?t[n]=(t[n]?t[n]:[]).concat([s]):t[n]=t[n]?t[n]+", "+s:s}}),t},zv=fi,CE=zv.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a"),n;function s(r){var a=r;return e&&(t.setAttribute("href",a),a=t.href),t.setAttribute("href",a),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=s(window.location.href),function(a){var o=zv.isString(a)?s(a):a;return o.protocol===n.protocol&&o.host===n.host}}():function(){return function(){return!0}}(),W1=mr,xE=fi;function Wv(i){W1.call(this,i==null?"canceled":i,W1.ERR_CANCELED),this.name="CanceledError"}xE.inherits(Wv,W1,{__CANCEL__:!0});var Zu=Wv,QE=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""},Ea=fi,$E=yE,TE=kE,PE=Mv,AE=Lv,ME=EE,BE=CE,RE=Iv,Gt=mr,jE=Zu,IE=QE,qv=function(e){return new Promise(function(n,s){var r=e.data,a=e.headers,o=e.responseType,u;function f(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}Ea.isFormData(r)&&Ea.isStandardBrowserEnv()&&delete a["Content-Type"];var l=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.Authorization="Basic "+btoa(d+":"+c)}var h=AE(e.baseURL,e.url);l.open(e.method.toUpperCase(),PE(h,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function m(){if(!!l){var p="getAllResponseHeaders"in l?ME(l.getAllResponseHeaders()):null,v=!o||o==="text"||o==="json"?l.responseText:l.response,O={data:v,status:l.status,statusText:l.statusText,headers:p,config:e,request:l};$E(function(E){n(E),f()},function(E){s(E),f()},O),l=null}}if("onloadend"in l?l.onloadend=m:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(m)},l.onabort=function(){!l||(s(new Gt("Request aborted",Gt.ECONNABORTED,e,l)),l=null)},l.onerror=function(){s(new Gt("Network Error",Gt.ERR_NETWORK,e,l,l)),l=null},l.ontimeout=function(){var v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",O=e.transitional||RE;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),s(new Gt(v,O.clarifyTimeoutError?Gt.ETIMEDOUT:Gt.ECONNABORTED,e,l)),l=null},Ea.isStandardBrowserEnv()){var F=(e.withCredentials||BE(h))&&e.xsrfCookieName?TE.read(e.xsrfCookieName):void 0;F&&(a[e.xsrfHeaderName]=F)}"setRequestHeader"in l&&Ea.forEach(a,function(v,O){typeof r=="undefined"&&O.toLowerCase()==="content-type"?delete a[O]:l.setRequestHeader(O,v)}),Ea.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(p){!l||(s(!p||p&&p.type?new jE:p),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u))),r||(r=null);var g=IE(h);if(g&&["http","https","file"].indexOf(g)===-1){s(new Gt("Unsupported protocol "+g+":",Gt.ERR_BAD_REQUEST,e));return}l.send(r)})},NE=null,Je=fi,Vv=vE,Xv=mr,LE=Iv,zE=Nv,WE={"Content-Type":"application/x-www-form-urlencoded"};function Zv(i,e){!Je.isUndefined(i)&&Je.isUndefined(i["Content-Type"])&&(i["Content-Type"]=e)}function qE(){var i;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(i=qv),i}function VE(i,e,t){if(Je.isString(i))try{return(e||JSON.parse)(i),Je.trim(i)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(i)}var Uu={transitional:LE,adapter:qE(),transformRequest:[function(e,t){if(Vv(t,"Accept"),Vv(t,"Content-Type"),Je.isFormData(e)||Je.isArrayBuffer(e)||Je.isBuffer(e)||Je.isStream(e)||Je.isFile(e)||Je.isBlob(e))return e;if(Je.isArrayBufferView(e))return e.buffer;if(Je.isURLSearchParams(e))return Zv(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n=Je.isObject(e),s=t&&t["Content-Type"],r;if((r=Je.isFileList(e))||n&&s==="multipart/form-data"){var a=this.env&&this.env.FormData;return zE(r?{"files[]":e}:e,a&&new a)}else if(n||s==="application/json")return Zv(t,"application/json"),VE(e);return e}],transformResponse:[function(e){var t=this.transitional||Uu.transitional,n=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,r=!n&&this.responseType==="json";if(r||s&&Je.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(r)throw a.name==="SyntaxError"?Xv.from(a,Xv.ERR_BAD_RESPONSE,this,null,this.response):a}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:NE},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Je.forEach(["delete","get","head"],function(e){Uu.headers[e]={}}),Je.forEach(["post","put","patch"],function(e){Uu.headers[e]=Je.merge(WE)});var q1=Uu,XE=fi,ZE=q1,UE=function(e,t,n){var s=this||ZE;return XE.forEach(n,function(a){e=a.call(s,e,t)}),e},Uv=function(e){return!!(e&&e.__CANCEL__)},Gv=fi,V1=UE,GE=Uv,HE=q1,YE=Zu;function X1(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new YE}var KE=function(e){X1(e),e.headers=e.headers||{},e.data=V1.call(e,e.data,e.headers,e.transformRequest),e.headers=Gv.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Gv.forEach(["delete","get","head","post","put","patch","common"],function(s){delete e.headers[s]});var t=e.adapter||HE.adapter;return t(e).then(function(s){return X1(e),s.data=V1.call(e,s.data,s.headers,e.transformResponse),s},function(s){return GE(s)||(X1(e),s&&s.response&&(s.response.data=V1.call(e,s.response.data,s.response.headers,e.transformResponse))),Promise.reject(s)})},Yi=fi,Hv=function(e,t){t=t||{};var n={};function s(l,d){return Yi.isPlainObject(l)&&Yi.isPlainObject(d)?Yi.merge(l,d):Yi.isPlainObject(d)?Yi.merge({},d):Yi.isArray(d)?d.slice():d}function r(l){if(Yi.isUndefined(t[l])){if(!Yi.isUndefined(e[l]))return s(void 0,e[l])}else return s(e[l],t[l])}function a(l){if(!Yi.isUndefined(t[l]))return s(void 0,t[l])}function o(l){if(Yi.isUndefined(t[l])){if(!Yi.isUndefined(e[l]))return s(void 0,e[l])}else return s(void 0,t[l])}function u(l){if(l in t)return s(e[l],t[l]);if(l in e)return s(void 0,e[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 Yi.forEach(Object.keys(e).concat(Object.keys(t)),function(d){var c=f[d]||r,h=c(d);Yi.isUndefined(h)&&c!==u||(n[d]=h)}),n},Yv={version:"0.27.2"},JE=Yv.version,Bn=mr,Z1={};["object","boolean","number","function","string","symbol"].forEach(function(i,e){Z1[i]=function(n){return typeof n===i||"a"+(e<1?"n ":" ")+i}});var Kv={};Z1.transitional=function(e,t,n){function s(r,a){return"[Axios v"+JE+"] Transitional option '"+r+"'"+a+(n?". "+n:"")}return function(r,a,o){if(e===!1)throw new Bn(s(a," has been removed"+(t?" in "+t:"")),Bn.ERR_DEPRECATED);return t&&!Kv[a]&&(Kv[a]=!0,console.warn(s(a," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(r,a,o):!0}};function eC(i,e,t){if(typeof i!="object")throw new Bn("options must be an object",Bn.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(i),s=n.length;s-- >0;){var r=n[s],a=e[r];if(a){var o=i[r],u=o===void 0||a(o,r,i);if(u!==!0)throw new Bn("option "+r+" must be "+u,Bn.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new Bn("Unknown option "+r,Bn.ERR_BAD_OPTION)}}var iC={assertOptions:eC,validators:Z1},Jv=fi,tC=Mv,e2=FE,i2=KE,Gu=Hv,nC=Lv,t2=iC,pr=t2.validators;function Fr(i){this.defaults=i,this.interceptors={request:new e2,response:new e2}}Fr.prototype.request=function(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Gu(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&t2.assertOptions(n,{silentJSONParsing:pr.transitional(pr.boolean),forcedJSONParsing:pr.transitional(pr.boolean),clarifyTimeoutError:pr.transitional(pr.boolean)},!1);var s=[],r=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(t)===!1||(r=r&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});var a=[];this.interceptors.response.forEach(function(h){a.push(h.fulfilled,h.rejected)});var o;if(!r){var u=[i2,void 0];for(Array.prototype.unshift.apply(u,s),u=u.concat(a),o=Promise.resolve(t);u.length;)o=o.then(u.shift(),u.shift());return o}for(var f=t;s.length;){var l=s.shift(),d=s.shift();try{f=l(f)}catch(c){d(c);break}}try{o=i2(f)}catch(c){return Promise.reject(c)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},Fr.prototype.getUri=function(e){e=Gu(this.defaults,e);var t=nC(e.baseURL,e.url);return tC(t,e.params,e.paramsSerializer)},Jv.forEach(["delete","get","head","options"],function(e){Fr.prototype[e]=function(t,n){return this.request(Gu(n||{},{method:e,url:t,data:(n||{}).data}))}}),Jv.forEach(["post","put","patch"],function(e){function t(n){return function(r,a,o){return this.request(Gu(o||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:a}))}}Fr.prototype[e]=t(),Fr.prototype[e+"Form"]=t(!0)});var sC=Fr,rC=Zu;function gr(i){if(typeof i!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(s){e=s});var t=this;this.promise.then(function(n){if(!!t._listeners){var s,r=t._listeners.length;for(s=0;s{e("update:visible",u),u||e("close")},a=async()=>{const u=J5();n.value._csrf=u,document.cookie=`XSRF-TOKEN=${u}; Path=/;`},o=async()=>{try{s.value=!0,await Bi.post("/login",ZD.stringify(n.value),{withCredentials:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"}}),window.location.reload()}catch(u){console.error("Failed to login",u),alert("\u767B\u5F55\u5931\u8D25\uFF0C\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF")}finally{s.value=!1}};return ti(()=>t.visible,u=>{u&&a()}),(u,f)=>(Z(),Ue(M(wb),{title:"\u767B\u5F55",visible:i.visible,width:400,"onUpdate:visible":r},{footer:Ee(()=>[J(M(us),{loading:s.value,type:"default",onClick:o},{default:Ee(()=>[qi(" \u767B\u5F55 ")]),_:1},8,["loading"])]),default:Ee(()=>[j("div",hC,[Wi(j("input",{"onUpdate:modelValue":f[0]||(f[0]=l=>n.value.username=l),class:"rounded-base block h-9 w-full resize-none appearance-none border border-gray-300 bg-white px-3 text-sm text-black antialiased outline-0 transition-all",placeholder:"\u7528\u6237\u540D",type:"text"},null,512),[[gt,n.value.username]]),Wi(j("input",{"onUpdate:modelValue":f[1]||(f[1]=l=>n.value.password=l),class:"rounded-base block h-9 w-full resize-none appearance-none border border-gray-300 bg-white px-3 text-sm text-black antialiased outline-0 transition-all",placeholder:"\u5BC6\u7801",type:"password"},null,512),[[gt,n.value.password]])])]),_:1},8,["visible"]))}});var pC={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?Yu.call(arguments,2):t),typeof i=="function"&&i.defaultProps!=null)for(r in i.defaultProps)a[r]===void 0&&(a[r]=i.defaultProps[r]);return Ju(i,a,n,s,null)}function Ju(i,e,t,n,s){var r={type:i,props:e,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:s==null?++a2:s};return s==null&&ee.vnode!=null&&ee.vnode(r),r}function Ht(){return{current:null}}function vr(i){return i.children}function Qt(i,e){this.props=i,this.context=e}function Or(i,e){if(e==null)return i.__?Or(i.__,i.__.__k.indexOf(i)+1):null;for(var t;e0?Ju(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=t,h.__b=t.__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 i=null;try{navigator.userAgent.includes("jsdom")||(i=document.createElement("canvas").getContext("2d",{willReadFrequently:!0}))}catch{}if(!i)return()=>!1;const e=25,t=20,n=Math.floor(e/2);return i.font=n+"px Arial, Sans-Serif",i.textBaseline="top",i.canvas.width=t*2,i.canvas.height=e,s=>{i.clearRect(0,0,t*2,e),i.fillStyle="#FF0000",i.fillText(s,0,22),i.fillStyle="#0000FF",i.fillText(s,t,22);const r=i.getImageData(0,0,t,e).data,a=r.length;let o=0;for(;o=a)return!1;const u=t+o/4%t,f=Math.floor(o/4/t),l=i.getImageData(u,f,1,1).data;return!(r[o]!==l[0]||r[o+2]!==l[2]||i.measureText(s).width>=t)}})();var _2={latestVersion:PC,noCountryFlags:AC};const S2=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let li=null;function BC(i){li||(li=jn.get("frequently")||{});const e=i.id||i;!e||(li[e]||(li[e]=0),li[e]+=1,jn.set("last",e),jn.set("frequently",li))}function RC({maxFrequentRows:i,perLine:e}){if(!i)return[];li||(li=jn.get("frequently"));let t=[];if(!li){li={};for(let r in S2.slice(0,e)){const a=S2[r];li[a]=e-r,t.push(a)}return t}const n=i*e,s=jn.get("last");for(let r in li)t.push(r);if(t.sort((r,a)=>{const o=li[a],u=li[r];return o==u?r.localeCompare(a):o-u}),t.length>n){const r=t.slice(n);t=t.slice(0,n);for(let a of r)a!=s&&delete li[a];s&&t.indexOf(s)==-1&&(delete li[t[t.length-1]],t.splice(-1,1,s)),jn.set("frequently",li)}return t}var D2={add:BC,get:RC},E2={};E2=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 Yt={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","be","cs","de","es","fa","fi","fr","hi","it","ja","nl","pl","pt","ru","sa","tr","uk","vi","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 yi=null,le=null;const Y1={};async function C2(i){if(Y1[i])return Y1[i];const t=await(await fetch(i)).json();return Y1[i]=t,t}let K1=null,x2=null,Q2=!1;function sf(i,{caller:e}={}){return K1||(K1=new Promise(t=>{x2=t})),i?jC(i):e&&!Q2&&console.warn(`\`${e}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),K1}async function jC(i){Q2=!0;let{emojiVersion:e,set:t,locale:n}=i;if(e||(e=Yt.emojiVersion.value),t||(t=Yt.set.value),n||(n=Yt.locale.value),le)le.categories=le.categories.filter(u=>!u.name);else{le=(typeof i.data=="function"?await i.data():i.data)||await C2(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${t}.json`),le.emoticons={},le.natives={},le.categories.unshift({id:"frequent",emojis:[]});for(const u in le.aliases){const f=le.aliases[u],l=le.emojis[f];!l||(l.aliases||(l.aliases=[]),l.aliases.push(u))}le.originalCategories=le.categories}if(yi=(typeof i.i18n=="function"?await i.i18n():i.i18n)||(n=="en"?r2(E2):await C2(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${n}.json`)),i.custom)for(let u in i.custom){u=parseInt(u);const f=i.custom[u],l=i.custom[u-1];if(!(!f.emojis||!f.emojis.length)){f.id||(f.id=`custom_${u+1}`),f.name||(f.name=yi.categories.custom),l&&!f.icon&&(f.target=l.target||l),le.categories.push(f);for(const d of f.emojis)le.emojis[d.id]=d}}i.categories&&(le.categories=le.originalCategories.filter(u=>i.categories.indexOf(u.id)!=-1).sort((u,f)=>{const l=i.categories.indexOf(u.id),d=i.categories.indexOf(f.id);return l-d}));let s=null,r=null;t=="native"&&(s=_2.latestVersion(),r=i.noCountryFlags||_2.noCountryFlags());let a=le.categories.length,o=!1;for(;a--;){const u=le.categories[a];if(u.id=="frequent"){let{maxFrequentRows:d,perLine:c}=i;d=d>=0?d:Yt.maxFrequentRows.value,c||(c=Yt.perLine.value),u.emojis=D2.get({maxFrequentRows:d,perLine:c})}if(!u.emojis||!u.emojis.length){le.categories.splice(a,1);continue}const{categoryIcons:f}=i;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:le.emojis[d],h=()=>{u.emojis.splice(l,1)};if(!c){h();continue}if(s&&c.version>s){h();continue}if(r&&u.id=="flags"&&!WC.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(([F,g])=>{if(!!F)return(Array.isArray(F)?F:[F]).map(p=>(g?p.split(/[-|_|\s]+/):[p]).map(v=>v.toLowerCase())).flat()}).flat().filter(F=>F&&F.trim()).join(","),c.emoticons)for(const F of c.emoticons)le.emoticons[F]||(le.emoticons[F]=c.id);let m=0;for(const F of c.skins){if(!F)continue;m++;const{native:g}=F;g&&(le.natives[g]=c.id,c.search+=`,${g}`);const p=m==1?"":`:skin-tone-${m}:`;F.shortcodes=`:${c.id}:${p}`}}}}o&&yr.reset(),x2()}function $2(i,e,t){i||(i={});const n={};for(let s in e)n[s]=T2(s,i,e,t);return n}function T2(i,e,t,n){const s=t[i];let r=n&&n.getAttribute(i)||(e[i]!=null&&e[i]!=null?e[i]:null);return s&&(r!=null&&s.value&&typeof s.value!=typeof r&&(typeof s.value=="boolean"?r=r!="false":r=s.value.constructor(r)),s.transform&&r&&(r=s.transform(r)),(r==null||s.choices&&s.choices.indexOf(r)==-1)&&(r=s.value)),r}const IC=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;let J1=null;function NC(i){return i.id?i:le.emojis[i]||le.emojis[le.aliases[i]]||le.emojis[le.natives[i]]}function LC(){J1=null}async function zC(i,{maxResults:e,caller:t}={}){if(!i||!i.trim().length)return null;e||(e=90),await sf(null,{caller:t||"SearchIndex.search"});const n=i.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((o,u,f)=>o.trim()&&f.indexOf(o)==u);if(!n.length)return;let s=J1||(J1=Object.values(le.emojis)),r,a;for(const o of n){if(!s.length)break;r=[],a={};for(const u of s){if(!u.search)continue;const f=u.search.indexOf(`,${o}`);f!=-1&&(r.push(u),a[u.id]||(a[u.id]=0),a[u.id]+=u.id==o?0:f+1)}s=r}return r.length<2||(r.sort((o,u)=>{const f=a[o.id],l=a[u.id];return f==l?o.id.localeCompare(u.id):f-l}),r.length>e&&(r=r.slice(0,e))),r}var yr={search:zC,get:NC,reset:LC,SHORTCODES_REGEX:IC};const WC=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];function qC(i,e){return Array.isArray(i)&&Array.isArray(e)&&i.length===e.length&&i.every((t,n)=>t==e[n])}async function VC(i=1){for(let e in[...Array(i).keys()])await new Promise(requestAnimationFrame)}function XC(i,{skinIndex:e=0}={}){const t=i.skins[e]||(()=>(e=0,i.skins[e]))(),n={id:i.id,name:i.name,native:t.native,unified:t.unified,keywords:i.keywords,shortcodes:t.shortcodes||i.shortcodes};return i.skins.length>1&&(n.skin=e+1),t.src&&(n.src=t.src),i.aliases&&i.aliases.length&&(n.aliases=i.aliases),i.emoticons&&i.emoticons.length&&(n.emoticons=i.emoticons),n}var rf={categories:{activity:{outline:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("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"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("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"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("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"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[P("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"}),P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:P("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:P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:P("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 ec(i){let{id:e,skin:t,emoji:n}=i;if(i.shortcodes){const o=i.shortcodes.match(yr.SHORTCODES_REGEX);o&&(e=o[1],o[2]&&(t=o[2]))}if(n||(n=yr.get(e||i.native)),!n)return i.fallback;const s=n.skins[t-1]||n.skins[0],r=s.src||(i.set!="native"&&!i.spritesheet?typeof i.getImageURL=="function"?i.getImageURL(i.set,s.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${i.set}@14.0.0/img/${i.set}/64/${s.unified}.png`:void 0),a=typeof i.getSpritesheetURL=="function"?i.getSpritesheetURL(i.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${i.set}@14.0.0/img/${i.set}/sheets-256/64.png`;return P("span",{class:"emoji-mart-emoji","data-emoji-set":i.set,children:r?P("img",{style:{maxWidth:i.size||"1em",maxHeight:i.size||"1em",display:"inline-block"},alt:s.native||s.shortcodes,src:r}):i.set=="native"?P("span",{style:{fontSize:i.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:s.native}):P("span",{style:{display:"block",width:i.size,height:i.size,backgroundImage:`url(${a})`,backgroundSize:`${100*le.sheet.cols}% ${100*le.sheet.rows}%`,backgroundPosition:`${100/(le.sheet.cols-1)*s.x}% ${100/(le.sheet.rows-1)*s.y}%`}})})}const ZC=typeof window!="undefined"&&window.HTMLElement?window.HTMLElement:Object;class P2 extends ZC{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let t in e)this.attributeChangedCallback(t,null,e[t])}attributeChangedCallback(e,t,n){if(!this.component)return;const s=T2(e,{[e]:n},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:s}):(this.component.props[e]=s,this.component.forceUpdate())}disconnectedCallback(){this.disconnected=!0,this.component&&this.component.unregister&&this.component.unregister()}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let t=null;const n=e.parent||(t=e.ref&&e.ref.current);t&&(t.innerHTML=""),n&&n.appendChild(this)}}}class UC extends P2{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const t=document.createElement("style");t.textContent=e,this.shadowRoot.insertBefore(t,this.shadowRoot.firstChild)}constructor(e,{styles:t}={}){super(e),this.setShadow(),this.injectStyles(t)}}var A2={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:i=>/\D/.test(i)?i:`${i}px`},set:Yt.set,skin:Yt.skin};class M2 extends P2{async connectedCallback(){const e=$2(this.props,A2,this);e.element=this,e.ref=t=>{this.component=t},await sf(),!this.disconnected&&w2(P(ec,{...e}),this)}constructor(e){super(e)}}dt(M2,"Props",A2),typeof customElements!="undefined"&&!customElements.get("em-emoji")&&customElements.define("em-emoji",M2);var B2,ic=[],R2=ee.__b,j2=ee.__r,I2=ee.diffed,N2=ee.__c,L2=ee.unmount;function GC(){var i;for(ic.sort(function(e,t){return e.__v.__b-t.__v.__b});i=ic.pop();)if(i.__P)try{i.__H.__h.forEach(af),i.__H.__h.forEach(tc),i.__H.__h=[]}catch(e){i.__H.__h=[],ee.__e(e,i.__v)}}ee.__b=function(i){R2&&R2(i)},ee.__r=function(i){j2&&j2(i);var e=i.__c.__H;e&&(e.__h.forEach(af),e.__h.forEach(tc),e.__h=[])},ee.diffed=function(i){I2&&I2(i);var e=i.__c;e&&e.__H&&e.__H.__h.length&&(ic.push(e)!==1&&B2===ee.requestAnimationFrame||((B2=ee.requestAnimationFrame)||function(t){var n,s=function(){clearTimeout(r),z2&&cancelAnimationFrame(n),setTimeout(t)},r=setTimeout(s,100);z2&&(n=requestAnimationFrame(s))})(GC))},ee.__c=function(i,e){e.some(function(t){try{t.__h.forEach(af),t.__h=t.__h.filter(function(n){return!n.__||tc(n)})}catch(n){e.some(function(s){s.__h&&(s.__h=[])}),e=[],ee.__e(n,t.__v)}}),N2&&N2(i,e)},ee.unmount=function(i){L2&&L2(i);var e,t=i.__c;t&&t.__H&&(t.__H.__.forEach(function(n){try{af(n)}catch(s){e=s}}),e&&ee.__e(e,t.__v))};var z2=typeof requestAnimationFrame=="function";function af(i){var e=i.__c;typeof e=="function"&&(i.__c=void 0,e())}function tc(i){i.__c=i.__()}function HC(i,e){for(var t in e)i[t]=e[t];return i}function W2(i,e){for(var t in i)if(t!=="__source"&&!(t in e))return!0;for(var n in e)if(n!=="__source"&&i[n]!==e[n])return!0;return!1}function of(i){this.props=i}(of.prototype=new Qt).isPureReactComponent=!0,of.prototype.shouldComponentUpdate=function(i,e){return W2(this.props,i)||W2(this.state,e)};var q2=ee.__b;ee.__b=function(i){i.type&&i.type.__f&&i.ref&&(i.props.ref=i.ref,i.ref=null),q2&&q2(i)};var YC=ee.__e;ee.__e=function(i,e,t){if(i.then){for(var n,s=e;s=s.__;)if((n=s.__c)&&n.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),n.__c(i,e)}YC(i,e,t)};var V2=ee.unmount;function nc(){this.__u=0,this.t=null,this.__b=null}function X2(i){var e=i.__.__c;return e&&e.__e&&e.__e(i)}function uf(){this.u=null,this.o=null}ee.unmount=function(i){var e=i.__c;e&&e.__R&&e.__R(),e&&i.__h===!0&&(i.type=null),V2&&V2(i)},(nc.prototype=new Qt).__c=function(i,e){var t=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(t);var s=X2(n.__v),r=!1,a=function(){r||(r=!0,t.__R=null,s?s(o):o())};t.__R=a;var o=function(){if(!--n.__u){if(n.state.__e){var f=n.state.__e;n.__v.__k[0]=function d(c,h,m){return c&&(c.__v=null,c.__k=c.__k&&c.__k.map(function(F){return d(F,h,m)}),c.__c&&c.__c.__P===h&&(c.__e&&m.insertBefore(c.__e,c.__d),c.__c.__e=!0,c.__c.__P=m)),c}(f,f.__c.__P,f.__c.__O)}var l;for(n.setState({__e:n.__b=null});l=n.t.pop();)l.forceUpdate()}},u=e.__h===!0;n.__u++||u||n.setState({__e:n.__b=n.__v.__k[0]}),i.then(a,a)},nc.prototype.componentWillUnmount=function(){this.t=[]},nc.prototype.render=function(i,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=function r(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=HC({},a)).__c!=null&&(a.__c.__P===u&&(a.__c.__P=o),a.__c=null),a.__k=a.__k&&a.__k.map(function(f){return r(f,o,u)})),a}(this.__b,t,n.__O=n.__P)}this.__b=null}var s=e.__e&&U1(vr,null,i.fallback);return s&&(s.__h=null),[U1(vr,null,e.__e?null:i.children),s]};var Z2=function(i,e,t){if(++t[1]===t[0]&&i.o.delete(e),i.props.revealOrder&&(i.props.revealOrder[0]!=="t"||!i.o.size))for(t=i.u;t;){for(;t.length>3;)t.pop()();if(t[1]{const s=t.name||yi.categories[t.id],r=!this.props.unfocused&&t.id==this.state.categoryId;return r&&(e=n),P("button",{"aria-label":s,"aria-selected":r||void 0,title:s,type:"button",class:"flex flex-grow flex-center",onMouseDown:a=>a.preventDefault(),onClick:()=>{this.props.onClick({category:t,i:n})},children:this.renderIcon(t)})}),P("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:e==null?0:1,transform:`translateX(${e*100}%)`}})]})})}constructor(){super(),this.categories=le.categories.filter(e=>!e.target),this.state={categoryId:this.categories[0].id}}}class o7 extends of{shouldComponentUpdate(e){for(let t in e)if(t!="children"&&e[t]!=this.props[t])return!0;return!1}render(){return this.props.children}}const ff={rowsPerRender:10};class u7 extends Qt{getInitialState(e=this.props){return{skin:jn.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.observers=[],this.dir=yi.rtl?"rtl":"ltr",this.refs={menu:Ht(),navigation:Ht(),scroll:Ht(),search:Ht(),searchInput:Ht(),skinToneButton:Ht(),skinToneRadio:Ht()},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 t in e)this.nextState[t]=e[t];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let t=!1;for(const s in this.nextState)this.props[s]=this.nextState[s],(s==="custom"||s==="categories")&&(t=!0);delete this.nextState;const n=this.getInitialState();if(t)return this.reset(n);this.setState(n)})}componentWillUnmount(){this.unregister()}async reset(e={}){await sf(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}=le;this.refs.categories=new Map;const t=le.categories.map(s=>s.id).join(",");this.navKey&&this.navKey!=t&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=t,this.grid=[],this.grid.setsize=0;const n=(s,r)=>{const a=[];a.__categoryId=r.id,a.__index=s.length,this.grid.push(a);const o=this.grid.length-1,u=o%ff.rowsPerRender?{}:Ht();return u.index=o,u.posinset=this.grid.setsize+1,s.push(u),a};for(let s of e){const r=[];let a=n(r,s);for(let o of s.emojis)a.length==this.props.perLine&&(a=n(r,s)),this.grid.setsize+=1,a.push(o);this.refs.categories.set(s.id,{root:Ht(),rows:r})}}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,t]){const n=this.state.searchResults||this.grid,s=n[e]&&n[e][t];if(!!s)return yr.get(s)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const t=new Map,n=a=>{a!=e.state.categoryId&&e.setState({categoryId:a})},s={root:this.refs.scroll.current,threshold:[0,1]},r=new IntersectionObserver(a=>{for(const u of a){const f=u.target.dataset.id;t.set(f,u.intersectionRatio)}const o=[...t];for(const[u,f]of o)if(f){n(u);break}},s);for(const{root:a}of this.refs.categories.values())r.observe(a.current);this.observers.push(r)}observeRows(){const e={...this.state.visibleRows},t=new IntersectionObserver(n=>{for(const s of n){const r=parseInt(s.target.dataset.index);s.isIntersecting?e[r]=!0:delete e[r]}this.setState({visibleRows:e})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(ff.rowsPerRender+5)}px 0px ${this.props.emojiButtonSize*ff.rowsPerRender}px`});for(const{rows:n}of this.refs.categories.values())for(const s of n)s.current&&t.observe(s.current);this.observers.push(t)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;!e||e.blur()}navigate({e,input:t,left:n,right:s,up:r,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&&!e.repeat&&(n||r))return null;if(u==-1)return!e.repeat&&(s||a)&&t.selectionStart==t.value.length?[0,0]:null;if(n||s){let d=o[u];const c=n?-1:1;if(f+=c,!d[f]){if(u+=c,d=o[u],!d)return u=n?0:o.length-1,f=n?0:o[u].length-1,[u,f];f=n?d.length-1:0}return[u,f]}if(r||a){u+=r?-1:1;const d=o[u];return d?(d[f]||(f=d.length-1),[u,f]):(u=r?0:o.length-1,f=r?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:t}){const n=this.state.searchResults||this.grid;if(!n.length)return;const s=this.refs.scroll.current,r=s.getBoundingClientRect();let a=0;if(t>=0&&(e=n[t].__categoryId),e&&(a=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(r.top-s.scrollTop)+1),t>=0)if(!t)a=0;else{const o=n[t].__index,u=a+o*this.props.emojiButtonSize,f=u+this.props.emojiButtonSize+this.props.emojiButtonSize*.88;if(us.scrollTop+r.height)a=f-r.height;else return}this.ignoreMouse(),s.scrollTop=a}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({e,emoji:t,pos:n}){if(!!this.props.onEmojiSelect&&(!t&&n&&(t=this.getEmojiByPos(n)),t)){const s=XC(t,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&D2.add(s,this.props),this.props.onEmojiSelect(s,e)}}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}),jn.set("skin",e)}renderNav(){return P(a7,{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),t=this.state.searchResults&&!this.state.searchResults.length;return P("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[P("div",{class:"flex flex-middle flex-grow",children:[P("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:P(ec,{emoji:e,id:t?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})}),P("div",{class:`margin-${this.dir[0]}`,children:e?P("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[P("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:e.name}),P("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:e.skins[0].shortcodes})]}):t?P("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[P("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:yi.search_no_results_1}),P("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:yi.search_no_results_2})]}):P("div",{class:"color-c",style:{fontSize:21},children:yi.pick})})]}),!e&&this.props.skinTonePosition=="preview"&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:t,posinset:n,grid:s}){const r=this.props.emojiButtonSize,a=this.state.tempSkin||this.state.skin,u=(e.skins[a-1]||e.skins[0]).native,f=qC(this.state.pos,t),l=t.concat(e.id).join("");return P(o7,{selected:f,skin:a,size:r,children:P("button",{"aria-label":u,"aria-selected":f||void 0,"aria-posinset":n,"aria-setsize":s.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:d=>this.handleEmojiClick({e:d,emoji:e}),onMouseEnter:()=>this.handleEmojiOver(t),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[P("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(n-1)%this.props.emojiButtonColors.length]:void 0}}),P(ec,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:a,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},l)}renderSearch(){const e=this.props.previewPosition=="none"||this.props.skinTonePosition=="search";return P("div",{children:[P("div",{class:"spacer"}),P("div",{class:"flex flex-middle",children:[e&&this.dir=="rtl"&&this.renderSkinToneButton(),P("div",{class:"search relative flex-grow",children:[P("input",{type:"search",ref:this.refs.searchInput,placeholder:yi.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),P("span",{class:"icon loupe flex",children:rf.search.loupe}),this.state.searchResults&&P("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:rf.search.delete})]}),e&&this.dir=="ltr"&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?P("div",{class:"category",ref:this.refs.search,children:[P("div",{class:`sticky padding-small align-${this.dir[0]}`,children:yi.categories.search}),P("div",{children:e.length?e.map((t,n)=>P("div",{class:"flex",children:t.map((s,r)=>this.renderEmojiButton(s,{pos:[n,r],posinset:n*this.props.perLine+r+1,grid:e}))})):P("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&P("a",{onClick:this.props.onAddCustomEmoji,children:yi.add_custom})})})]}):null}renderCategories(){const{categories:e}=le,t=!!this.state.searchResults;return P("div",{style:{visibility:t?"hidden":void 0,display:t?"none":void 0,height:"100%"},children:e.map(n=>{const{root:s,rows:r}=this.refs.categories.get(n.id);return P("div",{"data-id":n.target?n.target.id:n.id,class:"category",ref:s,children:[P("div",{class:`sticky padding-small align-${this.dir[0]}`,children:n.name||yi.categories[n.id]}),P("div",{class:"relative",style:{height:r.length*this.props.emojiButtonSize},children:r.map((a,o)=>{const u=a.index-a.index%ff.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=n.emojis.slice(d,c);return P("div",{"data-index":a.index,ref:l,class:"flex row",style:{top:o*this.props.emojiButtonSize},children:f&&h.map((m,F)=>{const g=yr.get(m);return this.renderEmojiButton(g,{pos:[a.index,F],posinset:a.posinset+F,grid:this.grid})})},a.index)})})]})})})}renderSkinToneButton(){return this.props.skinTonePosition=="none"?null:P("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:P("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":yi.skins.choose,title:yi.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:P("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos),t=e?e.name:"";return P("div",{"aria-live":"polite",class:"sr-only",children:t})}renderSkins(){const t=this.refs.skinToneButton.current.getBoundingClientRect(),n=this.base.getBoundingClientRect(),s={};return this.dir=="ltr"?s.right=n.right-t.right-3:s.left=t.left-n.left-3,this.props.previewPosition=="bottom"&&this.props.skinTonePosition=="preview"?s.bottom=n.bottom-t.top+6:(s.top=t.bottom-n.top+3,s.bottom="auto"),P("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":yi.skins.choose,class:"menu hidden","data-position":s.top?"top":"bottom",style:s,children:[...Array(6).keys()].map(r=>{const a=r+1,o=this.state.skin==a;return P("div",{children:[P("input",{type:"radio",name:"skin-tone",value:a,"aria-label":yi.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))}}),P("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:[P("span",{class:`skin-tone skin-tone-${a}`}),P("span",{class:"margin-small-lr",children:yi.skins[a]})]})]})})})}render(){return P("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"&&P("div",{class:"padding-lr",children:this.renderSearch()}),P("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:P("div",{style:{width:this.props.perLine*this.props.emojiButtonSize,height:"100%"},children:[this.props.searchPosition=="static"&&this.renderSearch(),this.renderSearchResults(),this.renderCategories()]})}),this.props.navPosition=="bottom"&&this.renderNav(),this.props.previewPosition=="bottom"&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),dt(this,"handleClickOutside",t=>{const{element:n}=this.props;t.target!=n&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside())}),dt(this,"handleBaseClick",t=>{!this.state.showSkins||t.target.closest(".menu")||(t.preventDefault(),t.stopImmediatePropagation(),this.closeSkins())}),dt(this,"handleBaseKeydown",t=>{!this.state.showSkins||t.key=="Escape"&&(t.preventDefault(),t.stopImmediatePropagation(),this.closeSkins())}),dt(this,"handleSearchClick",()=>{!this.getEmojiByPos(this.state.pos)||this.setState({pos:[-1,-1]})}),dt(this,"handleSearchInput",async()=>{const t=this.refs.searchInput.current;if(!t)return;const{value:n}=t,s=await yr.search(n),r=()=>{!this.refs.scroll.current||(this.refs.scroll.current.scrollTop=0)};if(!s)return this.setState({searchResults:s,pos:[-1,-1]},r);const a=t.selectionStart==t.value.length?[0,0]:[-1,-1],o=[];o.setsize=s.length;let u=null;for(let f of s)(!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},r)}),dt(this,"handleSearchKeyDown",t=>{const n=t.currentTarget;switch(t.stopImmediatePropagation(),t.key){case"ArrowLeft":this.navigate({e:t,input:n,left:!0});break;case"ArrowRight":this.navigate({e:t,input:n,right:!0});break;case"ArrowUp":this.navigate({e:t,input:n,up:!0});break;case"ArrowDown":this.navigate({e:t,input:n,down:!0});break;case"Enter":t.preventDefault(),this.handleEmojiClick({e:t,pos:this.state.pos});break;case"Escape":t.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch();break}}),dt(this,"clearSearch",()=>{const t=this.refs.searchInput.current;!t||(t.value="",t.focus(),this.handleSearchInput())}),dt(this,"handleCategoryClick",({category:t,i:n})=>{this.scrollTo(n==0?{row:-1}:{categoryId:t.id})}),dt(this,"openSkins",t=>{const{currentTarget:n}=t,s=n.getBoundingClientRect();this.setState({showSkins:s},async()=>{await VC(2);const r=this.refs.menu.current;!r||(r.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 sc extends UC{async connectedCallback(){const e=$2(this.props,Yt,this);e.element=this,e.ref=t=>{this.component=t},await sf(e),!this.disconnected&&w2(P(u7,{...e}),this.shadowRoot)}constructor(e){super(e,{styles:r2(K2)})}}dt(sc,"Props",Yt),typeof customElements!="undefined"&&!customElements.get("em-emoji-picker")&&customElements.define("em-emoji-picker",sc);var K2={};K2=`:host { width: min-content; height: 435px; min-height: 230px; @@ -692,4 +692,4 @@ button { background-color: #61493f; } -`;const $t="http://localhost:8090".replace(/\/+$/,"");class J2{constructor(e,t=$t,n=Gi){this.basePath=t,this.axios=n,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}}class f7 extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}const Yt="https://example.com",Hi=function(i,e,t){if(t==null)throw new f7(e,`Required parameter ${e} was null or undefined when calling ${i}.`)},Kt=function(i,e){e&&(e.username||e.password)&&(i.auth={username:e.username,password:e.password})},Jt=async function(i,e){if(e&&e.accessToken){const t=typeof e.accessToken=="function"?await e.accessToken():await e.accessToken;i.Authorization="Bearer "+t}},en=function(i,...e){const t=new URLSearchParams(i.search);for(const n of e)for(const s in n)if(Array.isArray(n[s])){t.delete(s);for(const r of n[s])t.append(s,r)}else t.set(s,n[s]);i.search=t.toString()},lf=function(i,e,t){const n=typeof i!="string";return(n&&t&&t.isJsonMime?t.isJsonMime(e.headers["Content-Type"]):n)?JSON.stringify(i!==void 0?i:{}):i||""},tn=function(i){return i.pathname+i.search+i.hash},nn=function(i,e,t,n){return(s=e,r=t)=>{const a={...i.options,url:((n==null?void 0:n.basePath)||r)+i.url};return s.request(a)}},l7=function(i){return{changePassword:async(e,t,n={})=>{Hi("changePassword","name",e),Hi("changePassword","changePasswordRequest",t);const s="/apis/api.console.halo.run/v1alpha1/users/{name}/password".replace("{name}",encodeURIComponent(String(e))),r=new URL(s,Yt);let a;i&&(a=i.baseOptions);const o={method:"PUT",...a,...n},u={},f={};Kt(o,i),await Jt(u,i),u["Content-Type"]="application/json",en(r,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...n.headers},o.data=lf(t,o,i),{url:tn(r),options:o}},getCurrentUserDetail:async(e={})=>{const t="/apis/api.console.halo.run/v1alpha1/users/-",n=new URL(t,Yt);let s;i&&(s=i.baseOptions);const r={method:"GET",...s,...e},a={},o={};Kt(r,i),await Jt(a,i),en(n,o);let u=s&&s.headers?s.headers:{};return r.headers={...a,...u,...e.headers},{url:tn(n),options:r}},getPermissions:async(e,t={})=>{Hi("getPermissions","name",e);const n="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(e))),s=new URL(n,Yt);let r;i&&(r=i.baseOptions);const a={method:"GET",...r,...t},o={},u={};Kt(a,i),await Jt(o,i),en(s,u);let f=r&&r.headers?r.headers:{};return a.headers={...o,...f,...t.headers},{url:tn(s),options:a}},grantPermission:async(e,t,n={})=>{Hi("grantPermission","name",e),Hi("grantPermission","grantRequest",t);const s="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(e))),r=new URL(s,Yt);let a;i&&(a=i.baseOptions);const o={method:"POST",...a,...n},u={},f={};Kt(o,i),await Jt(u,i),u["Content-Type"]="application/json",en(r,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...n.headers},o.data=lf(t,o,i),{url:tn(r),options:o}}}},df=function(i){const e=l7(i);return{async changePassword(t,n,s){const r=await e.changePassword(t,n,s);return nn(r,Gi,$t,i)},async getCurrentUserDetail(t){const n=await e.getCurrentUserDetail(t);return nn(n,Gi,$t,i)},async getPermissions(t,n){const s=await e.getPermissions(t,n);return nn(s,Gi,$t,i)},async grantPermission(t,n,s){const r=await e.grantPermission(t,n,s);return nn(r,Gi,$t,i)}}};class d7 extends J2{changePassword(e,t){return df(this.configuration).changePassword(e.name,e.changePasswordRequest,t).then(n=>n(this.axios,this.basePath))}getCurrentUserDetail(e){return df(this.configuration).getCurrentUserDetail(e).then(t=>t(this.axios,this.basePath))}getPermissions(e,t){return df(this.configuration).getPermissions(e.name,t).then(n=>n(this.axios,this.basePath))}grantPermission(e,t){return df(this.configuration).grantPermission(e.name,e.grantRequest,t).then(n=>n(this.axios,this.basePath))}}const c7=function(i){return{createComment1:async(e,t={})=>{Hi("createComment1","commentRequest",e);const n="/apis/api.halo.run/v1alpha1/comments",s=new URL(n,Yt);let r;i&&(r=i.baseOptions);const a={method:"POST",...r,...t},o={},u={};Kt(a,i),await Jt(o,i),o["Content-Type"]="application/json",en(s,u);let f=r&&r.headers?r.headers:{};return a.headers={...o,...f,...t.headers},a.data=lf(e,a,i),{url:tn(s),options:a}},createReply1:async(e,t,n={})=>{Hi("createReply1","name",e),Hi("createReply1","replyRequest",t);const s="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(e))),r=new URL(s,Yt);let a;i&&(a=i.baseOptions);const o={method:"POST",...a,...n},u={},f={};Kt(o,i),await Jt(u,i),u["Content-Type"]="application/json",en(r,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...n.headers},o.data=lf(t,o,i),{url:tn(r),options:o}},getComment:async(e,t={})=>{Hi("getComment","name",e);const n="/apis/api.halo.run/v1alpha1/comments/{name}".replace("{name}",encodeURIComponent(String(e))),s=new URL(n,Yt);let r;i&&(r=i.baseOptions);const a={method:"GET",...r,...t},o={},u={};Kt(a,i),await Jt(o,i),en(s,u);let f=r&&r.headers?r.headers:{};return a.headers={...o,...f,...t.headers},{url:tn(s),options:a}},listCommentReplies:async(e,t,n,s={})=>{Hi("listCommentReplies","name",e);const r="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(e))),a=new URL(r,Yt);let o;i&&(o=i.baseOptions);const u={method:"GET",...o,...s},f={},l={};Kt(u,i),await Jt(f,i),t!==void 0&&(l.size=t),n!==void 0&&(l.page=n),en(a,l);let d=o&&o.headers?o.headers:{};return u.headers={...f,...d,...s.headers},{url:tn(a),options:u}},listComments1:async(e,t,n,s,r,a,o={})=>{Hi("listComments1","name",e),Hi("listComments1","version",t),Hi("listComments1","kind",n);const u="/apis/api.halo.run/v1alpha1/comments",f=new URL(u,Yt);let l;i&&(l=i.baseOptions);const d={method:"GET",...l,...o},c={},h={};Kt(d,i),await Jt(c,i),e!==void 0&&(h.name=e),t!==void 0&&(h.version=t),s!==void 0&&(h.group=s),n!==void 0&&(h.kind=n),r!==void 0&&(h.size=r),a!==void 0&&(h.page=a),en(f,h);let m=l&&l.headers?l.headers:{};return d.headers={...c,...m,...o.headers},{url:tn(f),options:d}}}},xa=function(i){const e=c7(i);return{async createComment1(t,n){const s=await e.createComment1(t,n);return nn(s,Gi,$t,i)},async createReply1(t,n,s){const r=await e.createReply1(t,n,s);return nn(r,Gi,$t,i)},async getComment(t,n){const s=await e.getComment(t,n);return nn(s,Gi,$t,i)},async listCommentReplies(t,n,s,r){const a=await e.listCommentReplies(t,n,s,r);return nn(a,Gi,$t,i)},async listComments1(t,n,s,r,a,o,u){const f=await e.listComments1(t,n,s,r,a,o,u);return nn(f,Gi,$t,i)}}};class h7 extends J2{createComment1(e,t){return xa(this.configuration).createComment1(e.commentRequest,t).then(n=>n(this.axios,this.basePath))}createReply1(e,t){return xa(this.configuration).createReply1(e.name,e.replyRequest,t).then(n=>n(this.axios,this.basePath))}getComment(e,t){return xa(this.configuration).getComment(e.name,t).then(n=>n(this.axios,this.basePath))}listCommentReplies(e,t){return xa(this.configuration).listCommentReplies(e.name,e.size,e.page,t).then(n=>n(this.axios,this.basePath))}listComments1(e,t){return xa(this.configuration).listComments1(e.name,e.version,e.kind,e.group,e.size,e.page,t).then(n=>n(this.axios,this.basePath))}}const rc="",ac=Gi.create({baseURL:rc,withCredentials:!0});ac.interceptors.response.use(i=>i,async i=>{if(/Network Error/.test(i.message))return alert("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"),Promise.reject(i);const e=i.response;if(!e)return alert("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"),Promise.reject(i);const{title:t,detail:n}=e.data;return t&&n&&alert([t,n].join(": ")),Promise.reject(i)});const Qa={user:new d7(void 0,rc,ac),comment:new h7(void 0,rc,ac)},m7={class:"comment-form flex gap-4"},p7={class:"flex flex-1 flex-col gap-y-4"},F7={key:0,class:"grid grid-cols-1 items-center gap-2 sm:grid-cols-4"},g7={class:"flex items-center justify-between"},v7={class:"flex items-center gap-3"},O7={class:"text-sm font-medium dark:text-slate-50"},y7={class:"flex flex-row items-center gap-3"},k7={class:"relative"},w7={class:"absolute right-0 z-10 mt-3 transform px-4 sm:px-0"},oc=wi({__name:"Form",props:{comment:{default:void 0},reply:{default:void 0}},emits:["created"],setup(i,{emit:e}){const t=i,n=Ki("currentUser"),s=Ki("kind"),r=Ki("name"),a=Ki("group"),o=Ki("colorScheme"),u=le(!1),f=le(""),l=le(!0),d=le(!1),c=_4("halo-comment-custom-account",{displayName:"",email:"",website:""}),h=async()=>{if(!t.comment){m();return}p()},m=async()=>{if(!s||!r){console.error("Please provide kind and name");return}try{d.value=!0;const k={raw:f.value,content:f.value,allowNotification:l.value,subjectRef:{group:a,kind:s,name:r,version:"v1alpha1"}};if(!(n!=null&&n.value)){if(!c.value.displayName){alert("\u8BF7\u586B\u5199\u6635\u79F0");return}if(!c.value.email){alert("\u8BF7\u586B\u5199\u7535\u5B50\u90AE\u4EF6");return}k.owner={displayName:c.value.displayName,email:c.value.email,website:c.value.website}}await Qa.comment.createComment1({commentRequest:k}),f.value="",e("created")}catch(k){console.error("Failed to create comment",k)}finally{d.value=!1}},p=async()=>{var k;if(!s||!r){console.error("Please provide kind and name");return}try{d.value=!0;const D={raw:f.value,content:f.value,allowNotification:l.value};if(t.reply&&(D.quoteReply=t.reply.metadata.name),!(n!=null&&n.value)){if(!c.value.displayName){alert("\u8BF7\u586B\u5199\u6635\u79F0");return}if(!c.value.email){alert("\u8BF7\u586B\u5199\u7535\u5B50\u90AE\u4EF6");return}D.owner={displayName:c.value.displayName,email:c.value.email,website:c.value.website}}await Qa.comment.createReply1({name:(k=t.comment)==null?void 0:k.metadata.name,replyRequest:D}),f.value="",e("created")}catch(D){console.error("Failed to create comment reply",D)}finally{d.value=!1}},g=async()=>{if(window.confirm("\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417\uFF1F"))try{await Gi.post("/logout",void 0,{withCredentials:!0}),window.location.reload()}catch(k){console.error("Failed to logout",k)}},F=Re(()=>o==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":o),v=le(null),O=le(),b=le(!1),E=new sc({data:pC,theme:F.value,autoFocus:!0,i18n:FC,onEmojiSelect:S});function S(k){f.value+=k.native,O.value.focus()}Rf(()=>{var k;v.value&&((k=v.value)==null||k.appendChild(E))});const{Command_Enter:C}=D4();return Rf(()=>{C.value&&h()}),(k,D)=>(Z(),re("div",m7,[R("div",p7,[Li(R("textarea",{ref_key:"contentInputRef",ref:O,"onUpdate:modelValue":D[0]||(D[0]=x=>f.value=x),required:"",rows:"4",class:"rounded-base block h-full w-full resize-y appearance-none bg-white px-3 py-2 text-sm text-black antialiased outline-0 ring-1 ring-gray-300 transition-all dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",placeholder:"\u7F16\u5199\u8BC4\u8BBA"},null,512),[[gt,f.value]]),I(n)?Le("",!0):(Z(),re("div",F7,[Li(R("input",{"onUpdate:modelValue":D[1]||(D[1]=x=>I(c).displayName=x),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"text",placeholder:"\u6635\u79F0"},null,512),[[gt,I(c).displayName]]),Li(R("input",{"onUpdate:modelValue":D[2]||(D[2]=x=>I(c).email=x),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"email",placeholder:"\u7535\u5B50\u90AE\u4EF6"},null,512),[[gt,I(c).email]]),Li(R("input",{"onUpdate:modelValue":D[3]||(D[3]=x=>I(c).website=x),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"url",placeholder:"\u7F51\u7AD9"},null,512),[[gt,I(c).website]]),R("div",{class:"cursor-pointer select-none text-xs text-gray-600 transition-all hover:text-gray-900 dark:text-slate-200 dark:hover:text-slate-400",onClick:D[4]||(D[4]=x=>u.value=!0)}," \uFF08\u5DF2\u6709\u8BE5\u7AD9\u70B9\u7684\u8D26\u53F7\uFF09 ")])),R("div",g7,[R("div",v7,[I(n)?(Z(),re(Me,{key:0},[J(I(Gl),{src:I(n).spec.avatar,alt:I(n).spec.displayName,size:"sm",circle:""},null,8,["src","alt"]),R("span",O7,Ne(I(n).spec.displayName),1),J(I(zs),{size:"sm",onClick:g},{default:xe(()=>[et("\u6CE8\u9500")]),_:1})],64)):Le("",!0)]),R("div",y7,[R("div",k7,[J(I(yC),{class:"h-5 w-5 cursor-pointer text-gray-500 transition-all hover:text-gray-900 dark:text-slate-300 dark:hover:text-slate-50",onClick:D[5]||(D[5]=x=>b.value=!b.value)}),J(vn,{"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:xe(()=>[Li(R("div",w7,[R("div",{ref_key:"emojiPickerRef",ref:v},null,512)],512),[[As,b.value]])]),_:1})]),J(I(zs),{disabled:!f.value,type:"secondary",loading:d.value,onClick:h},{icon:xe(()=>[J(I(_C),{class:"h-full w-full"})]),default:xe(()=>[et(" \u63D0\u4EA4\u8BC4\u8BBA ")]),_:1},8,["disabled","loading"])])])]),J(mC,{visible:u.value,"onUpdate:visible":D[6]||(D[6]=x=>u.value=x)},null,8,["visible"])]))}}),b7={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},_7=[R("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 S7(i,e){return Z(),re("svg",b7,_7)}var D7={name:"mdi-reply",render:S7};const E7=["id"],C7={class:"flex flex-row gap-3"},x7={class:"reply-avatar"},Q7={class:"flex-1"},$7={class:"reply-informations flex items-center"},T7={class:"flex flex-auto items-center gap-3"},P7={class:"text-sm font-medium dark:text-slate-50"},A7=["href"],M7={class:"reply-content mt-2"},B7={class:"text-sm text-gray-800 dark:text-slate-200"},R7=["href"],j7={key:1},I7={class:"reply-actions mt-2 flex flex-auto items-center gap-1"},N7=wi({__name:"ReplyItem",props:{comment:null,reply:null,replies:null},emits:["reload"],setup(i,{emit:e}){const t=i,n=le(!1),s=Jm(new Date(t.reply.spec.approvedTime||new Date)),r=Re(()=>{const{quoteReply:l}=t.reply.spec;if(!!l)return t.replies.find(d=>d.metadata.name===l)}),a=()=>{e("reload"),n.value=!1},o=Ki("hoveredReply"),u=l=>{o&&(o.value=l?r.value:void 0)},f=Re(()=>{var l;return((l=o==null?void 0:o.value)==null?void 0:l.metadata.name)===t.reply.metadata.name});return(l,d)=>{var c,h,m,p;return Z(),re("div",{id:`reply-${i.reply.metadata.name}`,class:$i(["reply-item py-3",{"animate-breath":I(f)}])},[R("div",C7,[R("div",x7,[J(I(Gl),{src:(h=(c=i.reply)==null?void 0:c.owner)==null?void 0:h.avatar,alt:(p=(m=i.reply)==null?void 0:m.owner)==null?void 0:p.displayName,size:"sm",circle:""},null,8,["src","alt"])]),R("div",Q7,[R("div",$7,[R("div",T7,[R("div",P7,Ne(i.reply.owner.displayName),1),R("a",{href:`#reply-${i.reply.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline dark:text-slate-400 dark:hover:text-slate-300"},Ne(I(s)),9,A7),Le("",!0)])]),R("div",M7,[R("p",B7,[I(r)?(Z(),re("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 dark:bg-slate-700 dark:text-slate-200 dark:hover:text-slate-100",href:`#reply-${I(r).metadata.name}`,onMouseenter:d[0]||(d[0]=g=>u(!0)),onMouseleave:d[1]||(d[1]=g=>u(!1))},[J(I(D7)),R("span",null,Ne(I(r).owner.displayName),1)],40,R7)):Le("",!0),I(r)?(Z(),re("br",j7)):Le("",!0),et(" "+Ne(i.reply.spec.content),1)])]),R("div",I7,[R("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:d[2]||(d[2]=g=>n.value=!n.value)}," \u56DE\u590D ")]),n.value?(Z(),ni(oc,{key:0,class:"mt-2",comment:i.comment,reply:i.reply,onCreated:a},null,8,["comment","reply"])):Le("",!0)])])],10,E7)}}}),L7=["id"],z7={class:"flex flex-row gap-3"},W7={class:"comment-avatar"},q7={class:"flex-1"},V7={class:"comment-informations flex items-center"},X7={class:"flex flex-auto items-center gap-3"},Z7={class:"text-sm font-medium dark:text-slate-50"},U7=["href"],G7={class:"comment-content mt-2"},H7={class:"text-sm text-gray-800 dark:text-slate-200"},Y7={class:"comment-actions mt-2 flex flex-auto items-center gap-1"},K7=R("span",{class:"text-gray-600"},"\xB7",-1),J7={key:1,class:"comment-replies mt-2"},e8={class:"flex flex-col divide-y divide-gray-100 dark:divide-slate-700"},i8=wi({__name:"CommentItem",props:{comment:{default:void 0}},setup(i){var e;const t=i,n=le(!1),s=le(!1),r=le([]),a=le(!1),o=le();ln("hoveredReply",o);const u=Jm(new Date(((e=t.comment)==null?void 0:e.spec.approvedTime)||new Date)),f=Re(()=>(t.comment,!1)),l=async()=>{var c;try{a.value=!0;const{data:h}=await Qa.comment.listCommentReplies({name:(c=t.comment)==null?void 0:c.metadata.name});r.value=h.items}catch(h){console.error("Failed to fetch comment replies",h)}finally{a.value=!1}};ii(()=>n.value,()=>{n.value?l():r.value.length=0});const d=()=>{s.value=!1,n.value=!0,l()};return(c,h)=>{var m,p,g,F,v,O,b,E,S,C,k;return Z(),re("div",{id:`comment-${(m=i.comment)==null?void 0:m.metadata.name}`,class:"comment-item py-4"},[R("div",z7,[R("div",W7,[J(I(Gl),{src:(g=(p=i.comment)==null?void 0:p.owner)==null?void 0:g.avatar,alt:(v=(F=i.comment)==null?void 0:F.owner)==null?void 0:v.displayName,size:"sm",circle:""},null,8,["src","alt"])]),R("div",q7,[R("div",V7,[R("div",X7,[R("div",Z7,Ne((b=(O=i.comment)==null?void 0:O.owner)==null?void 0:b.displayName),1),R("a",{href:`#comment-${(E=i.comment)==null?void 0:E.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline dark:text-slate-400 dark:hover:text-slate-300"},Ne(I(u)),9,U7),I(f)?(Z(),ni(I(Eb),{key:0,rounded:"",class:"dark:!border-slate-600 dark:!bg-slate-700 dark:!text-slate-50"},{default:xe(()=>[et(" Author ")]),_:1})):Le("",!0)])]),R("div",G7,[R("p",H7,Ne((S=i.comment)==null?void 0:S.spec.content),1)]),R("div",Y7,[R("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:h[0]||(h[0]=D=>n.value=!n.value)},Ne(((k=(C=i.comment)==null?void 0:C.status)==null?void 0:k.replyCount)||0)+" \u6761\u56DE\u590D ",1),K7,R("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:h[1]||(h[1]=D=>s.value=!s.value)}," \u52A0\u5165\u56DE\u590D ")]),s.value?(Z(),ni(oc,{key:0,class:"mt-2",comment:i.comment,onCreated:d},null,8,["comment"])):Le("",!0),n.value?(Z(),re("div",J7,[R("div",e8,[a.value?(Z(),ni(I(Jg),{key:0,class:"dark:text-slate-100"})):!r.value.length&&!s.value?(Z(),ni(vn,{key:1,appear:"",name:"fade"},{default:xe(()=>[J(I(Kg),{title:"\u6682\u65E0\u56DE\u590D",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u56DE\u590D"},{actions:xe(()=>[J(I(tp),null,{default:xe(()=>[J(I(zs),{type:"default",onClick:l},{default:xe(()=>[et(" \u5237\u65B0 ")]),_:1}),J(I(zs),{type:"primary",onClick:h[2]||(h[2]=D=>s.value=!0)},{default:xe(()=>[et(" \u56DE\u590D ")]),_:1})]),_:1})]),_:1})]),_:1})):(Z(),ni(hl,{key:2,appear:"",name:"fade",tag:"div"},{default:xe(()=>[(Z(!0),re(Me,null,Mr(r.value,(D,x)=>(Z(),ni(N7,{key:x,class:$i({"!pt-2":x===1}),comment:i.comment,reply:D,replies:r.value,onReload:l},null,8,["class","comment","reply","replies"]))),128))]),_:1}))])])):Le("",!0)])])],8,L7)}}}),t8={class:"comment-timeline mt-6"},n8={class:"flex items-center"},s8={class:"flex flex-auto items-center gap-1"},r8={class:"text-sm font-medium text-gray-900 dark:text-slate-50"},a8=R("div",null,null,-1),o8={class:"mt-4 flex flex-col divide-y divide-gray-100 dark:divide-slate-700"},u8={key:0,class:"my-4 sm:flex sm:items-center sm:justify-center"},f8=wi({__name:"Comment",props:{kind:{default:void 0},name:{default:void 0},group:{default:void 0},colorScheme:{default:"light"}},setup(i){const e=i;ln("kind",e.kind),ln("name",e.name),ln("group",e.group),ln("colorScheme",e.colorScheme);const t=le(),n=le({page:1,size:20,total:0,items:[],first:!0,last:!1,hasNext:!1,hasPrevious:!1,totalPages:0}),s=le(!1);ln("currentUser",t);const r=async()=>{try{const{data:l}=await Qa.user.getCurrentUserDetail();t.value=l.metadata.name==="anonymousUser"?void 0:l}catch(l){console.error("Fetch logined user failed",l)}},a=async()=>{try{s.value=!0;const{data:l}=await Qa.comment.listComments1({page:n.value.page,size:n.value.size,kind:e.kind,name:e.name,group:e.group,version:"v1alpha1"});n.value=l}catch(l){console.error("Failed to fetch comments",l)}finally{s.value=!1}},o=({page:l,size:d})=>{n.value.page=l,n.value.size=d,a()};Hn(()=>{r(),a()});const u=()=>{a()},f=Re(()=>e.colorScheme==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e.colorScheme);return(l,d)=>{var c;return Z(),re("div",{class:$i(["halo-comment-widget",I(f)])},[J(oc,{onCreated:u}),R("div",t8,[R("div",n8,[R("div",s8,[R("span",r8,Ne(((c=n.value)==null?void 0:c.total)||0)+" \u6761\u8BC4\u8BBA ",1),Le("",!0),Le("",!0)]),a8]),R("div",o8,[s.value?(Z(),ni(I(Jg),{key:0,class:"dark:text-slate-100"})):n.value.items.length?(Z(),ni(hl,{key:2,appear:"",name:"fade",tag:"div"},{default:xe(()=>[(Z(!0),re(Me,null,Mr(n.value.items,(h,m)=>(Z(),ni(i8,{key:m,comment:h},null,8,["comment"]))),128))]),_:1})):(Z(),ni(vn,{key:1,appear:"",name:"fade"},{default:xe(()=>[J(I(Kg),{title:"\u6682\u65E0\u8BC4\u8BBA",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u8BC4\u8BBA"},{actions:xe(()=>[J(I(tp),null,{default:xe(()=>[J(I(zs),{type:"default",onClick:a},{default:xe(()=>[et(" \u5237\u65B0 ")]),_:1})]),_:1})]),_:1})]),_:1}))])]),n.value.hasPrevious||n.value.hasNext?(Z(),re("div",u8,[J(I(Wb),{page:n.value.page,size:n.value.size,total:n.value.total,class:"bg-transparent",onChange:o},null,8,["page","size","total"])])):Le("",!0)],2)}}});var I8="",N8="";function l8(i,e,t){var u;const n=document.querySelector(i);n||console.error("Element not found",i);const s=document.createElement("div"),r=document.createElement("div"),a=document.createElement("link"),o=((u=s.attachShadow)==null?void 0:u.call(s,{mode:"open"}))||s;a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),o.appendChild(a),o.appendChild(r),n==null||n.appendChild(s),a.addEventListener("load",function(){C0(f8,t).mount(r)})}return mf.init=l8,Object.defineProperties(mf,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),mf}({}); +`;const $t="http://localhost:8090".replace(/\/+$/,"");class J2{constructor(e,t=$t,n=Bi){this.basePath=t,this.axios=n,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}}class f7 extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}const Kt="https://example.com",Ki=function(i,e,t){if(t==null)throw new f7(e,`Required parameter ${e} was null or undefined when calling ${i}.`)},Jt=function(i,e){e&&(e.username||e.password)&&(i.auth={username:e.username,password:e.password})},en=async function(i,e){if(e&&e.accessToken){const t=typeof e.accessToken=="function"?await e.accessToken():await e.accessToken;i.Authorization="Bearer "+t}},tn=function(i,...e){const t=new URLSearchParams(i.search);for(const n of e)for(const s in n)if(Array.isArray(n[s])){t.delete(s);for(const r of n[s])t.append(s,r)}else t.set(s,n[s]);i.search=t.toString()},lf=function(i,e,t){const n=typeof i!="string";return(n&&t&&t.isJsonMime?t.isJsonMime(e.headers["Content-Type"]):n)?JSON.stringify(i!==void 0?i:{}):i||""},nn=function(i){return i.pathname+i.search+i.hash},sn=function(i,e,t,n){return(s=e,r=t)=>{const a={...i.options,url:((n==null?void 0:n.basePath)||r)+i.url};return s.request(a)}},l7=function(i){return{changePassword:async(e,t,n={})=>{Ki("changePassword","name",e),Ki("changePassword","changePasswordRequest",t);const s="/apis/api.console.halo.run/v1alpha1/users/{name}/password".replace("{name}",encodeURIComponent(String(e))),r=new URL(s,Kt);let a;i&&(a=i.baseOptions);const o={method:"PUT",...a,...n},u={},f={};Jt(o,i),await en(u,i),u["Content-Type"]="application/json",tn(r,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...n.headers},o.data=lf(t,o,i),{url:nn(r),options:o}},getCurrentUserDetail:async(e={})=>{const t="/apis/api.console.halo.run/v1alpha1/users/-",n=new URL(t,Kt);let s;i&&(s=i.baseOptions);const r={method:"GET",...s,...e},a={},o={};Jt(r,i),await en(a,i),tn(n,o);let u=s&&s.headers?s.headers:{};return r.headers={...a,...u,...e.headers},{url:nn(n),options:r}},getPermissions:async(e,t={})=>{Ki("getPermissions","name",e);const n="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(e))),s=new URL(n,Kt);let r;i&&(r=i.baseOptions);const a={method:"GET",...r,...t},o={},u={};Jt(a,i),await en(o,i),tn(s,u);let f=r&&r.headers?r.headers:{};return a.headers={...o,...f,...t.headers},{url:nn(s),options:a}},grantPermission:async(e,t,n={})=>{Ki("grantPermission","name",e),Ki("grantPermission","grantRequest",t);const s="/apis/api.console.halo.run/v1alpha1/users/{name}/permissions".replace("{name}",encodeURIComponent(String(e))),r=new URL(s,Kt);let a;i&&(a=i.baseOptions);const o={method:"POST",...a,...n},u={},f={};Jt(o,i),await en(u,i),u["Content-Type"]="application/json",tn(r,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...n.headers},o.data=lf(t,o,i),{url:nn(r),options:o}}}},df=function(i){const e=l7(i);return{async changePassword(t,n,s){const r=await e.changePassword(t,n,s);return sn(r,Bi,$t,i)},async getCurrentUserDetail(t){const n=await e.getCurrentUserDetail(t);return sn(n,Bi,$t,i)},async getPermissions(t,n){const s=await e.getPermissions(t,n);return sn(s,Bi,$t,i)},async grantPermission(t,n,s){const r=await e.grantPermission(t,n,s);return sn(r,Bi,$t,i)}}};class d7 extends J2{changePassword(e,t){return df(this.configuration).changePassword(e.name,e.changePasswordRequest,t).then(n=>n(this.axios,this.basePath))}getCurrentUserDetail(e){return df(this.configuration).getCurrentUserDetail(e).then(t=>t(this.axios,this.basePath))}getPermissions(e,t){return df(this.configuration).getPermissions(e.name,t).then(n=>n(this.axios,this.basePath))}grantPermission(e,t){return df(this.configuration).grantPermission(e.name,e.grantRequest,t).then(n=>n(this.axios,this.basePath))}}const c7=function(i){return{createComment1:async(e,t={})=>{Ki("createComment1","commentRequest",e);const n="/apis/api.halo.run/v1alpha1/comments",s=new URL(n,Kt);let r;i&&(r=i.baseOptions);const a={method:"POST",...r,...t},o={},u={};Jt(a,i),await en(o,i),o["Content-Type"]="application/json",tn(s,u);let f=r&&r.headers?r.headers:{};return a.headers={...o,...f,...t.headers},a.data=lf(e,a,i),{url:nn(s),options:a}},createReply1:async(e,t,n={})=>{Ki("createReply1","name",e),Ki("createReply1","replyRequest",t);const s="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(e))),r=new URL(s,Kt);let a;i&&(a=i.baseOptions);const o={method:"POST",...a,...n},u={},f={};Jt(o,i),await en(u,i),u["Content-Type"]="application/json",tn(r,f);let l=a&&a.headers?a.headers:{};return o.headers={...u,...l,...n.headers},o.data=lf(t,o,i),{url:nn(r),options:o}},getComment:async(e,t={})=>{Ki("getComment","name",e);const n="/apis/api.halo.run/v1alpha1/comments/{name}".replace("{name}",encodeURIComponent(String(e))),s=new URL(n,Kt);let r;i&&(r=i.baseOptions);const a={method:"GET",...r,...t},o={},u={};Jt(a,i),await en(o,i),tn(s,u);let f=r&&r.headers?r.headers:{};return a.headers={...o,...f,...t.headers},{url:nn(s),options:a}},listCommentReplies:async(e,t,n,s={})=>{Ki("listCommentReplies","name",e);const r="/apis/api.halo.run/v1alpha1/comments/{name}/reply".replace("{name}",encodeURIComponent(String(e))),a=new URL(r,Kt);let o;i&&(o=i.baseOptions);const u={method:"GET",...o,...s},f={},l={};Jt(u,i),await en(f,i),t!==void 0&&(l.size=t),n!==void 0&&(l.page=n),tn(a,l);let d=o&&o.headers?o.headers:{};return u.headers={...f,...d,...s.headers},{url:nn(a),options:u}},listComments1:async(e,t,n,s,r,a,o={})=>{Ki("listComments1","name",e),Ki("listComments1","version",t),Ki("listComments1","kind",n);const u="/apis/api.halo.run/v1alpha1/comments",f=new URL(u,Kt);let l;i&&(l=i.baseOptions);const d={method:"GET",...l,...o},c={},h={};Jt(d,i),await en(c,i),e!==void 0&&(h.name=e),t!==void 0&&(h.version=t),s!==void 0&&(h.group=s),n!==void 0&&(h.kind=n),r!==void 0&&(h.size=r),a!==void 0&&(h.page=a),tn(f,h);let m=l&&l.headers?l.headers:{};return d.headers={...c,...m,...o.headers},{url:nn(f),options:d}}}},xa=function(i){const e=c7(i);return{async createComment1(t,n){const s=await e.createComment1(t,n);return sn(s,Bi,$t,i)},async createReply1(t,n,s){const r=await e.createReply1(t,n,s);return sn(r,Bi,$t,i)},async getComment(t,n){const s=await e.getComment(t,n);return sn(s,Bi,$t,i)},async listCommentReplies(t,n,s,r){const a=await e.listCommentReplies(t,n,s,r);return sn(a,Bi,$t,i)},async listComments1(t,n,s,r,a,o,u){const f=await e.listComments1(t,n,s,r,a,o,u);return sn(f,Bi,$t,i)}}};class h7 extends J2{createComment1(e,t){return xa(this.configuration).createComment1(e.commentRequest,t).then(n=>n(this.axios,this.basePath))}createReply1(e,t){return xa(this.configuration).createReply1(e.name,e.replyRequest,t).then(n=>n(this.axios,this.basePath))}getComment(e,t){return xa(this.configuration).getComment(e.name,t).then(n=>n(this.axios,this.basePath))}listCommentReplies(e,t){return xa(this.configuration).listCommentReplies(e.name,e.size,e.page,t).then(n=>n(this.axios,this.basePath))}listComments1(e,t){return xa(this.configuration).listComments1(e.name,e.version,e.kind,e.group,e.size,e.page,t).then(n=>n(this.axios,this.basePath))}}const rc="",ac=Bi.create({baseURL:rc,withCredentials:!0});ac.interceptors.response.use(i=>i,async i=>{if(/Network Error/.test(i.message))return alert("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"),Promise.reject(i);const e=i.response;if(!e)return alert("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"),Promise.reject(i);const{title:t,detail:n}=e.data;return t&&n&&alert([t,n].join(": ")),Promise.reject(i)});const Qa={user:new d7(void 0,rc,ac),comment:new h7(void 0,rc,ac)},m7={class:"comment-form flex gap-4"},p7={class:"flex flex-1 flex-col gap-y-4"},F7={key:0,class:"grid grid-cols-1 items-center gap-2 sm:grid-cols-4"},g7={class:"flex items-center justify-between"},v7={class:"flex items-center gap-3"},O7={class:"text-sm font-medium dark:text-slate-50"},y7={class:"flex flex-row items-center gap-3"},k7={class:"relative"},w7={class:"absolute right-0 z-10 mt-3 transform px-4 sm:px-0"},oc=wi({__name:"Form",props:{comment:{default:void 0},reply:{default:void 0}},emits:["created"],setup(i,{emit:e}){const t=i,n=zi("currentUser"),s=zi("kind"),r=zi("name"),a=zi("group"),o=zi("colorScheme"),u=zi("allowAnonymousComments"),f=fe(!1),l=fe(""),d=fe(!0),c=fe(!1),h=_4("halo-comment-custom-account",{displayName:"",email:"",website:""}),m=async()=>{if(!t.comment){F();return}g()},F=async()=>{if(!s||!r){console.error("Please provide kind and name");return}try{c.value=!0;const C={raw:l.value,content:l.value,allowNotification:d.value,subjectRef:{group:a,kind:s,name:r,version:"v1alpha1"}},{displayName:S,email:Q,website:T}=h.value;if(!(n!=null&&n.value)&&!(u!=null&&u.value)){alert("\u8BF7\u5148\u767B\u5F55");return}if(!(n!=null&&n.value)&&(u==null?void 0:u.value))if(!S||!Q){alert("\u8BF7\u5148\u767B\u5F55\u6216\u8005\u5B8C\u5584\u4FE1\u606F");return}else C.owner={displayName:S,email:Q,website:T};await Qa.comment.createComment1({commentRequest:C}),l.value="",e("created")}catch(C){console.error("Failed to create comment",C)}finally{c.value=!1}},g=async()=>{var C;if(!s||!r){console.error("Please provide kind and name");return}try{c.value=!0;const S={raw:l.value,content:l.value,allowNotification:d.value};t.reply&&(S.quoteReply=t.reply.metadata.name);const{displayName:Q,email:T,website:N}=h.value;if(!(n!=null&&n.value)&&!(u!=null&&u.value)){alert("\u8BF7\u5148\u767B\u5F55");return}if(!(n!=null&&n.value)&&(u==null?void 0:u.value))if(!Q||!T){alert("\u8BF7\u5148\u767B\u5F55\u6216\u8005\u5B8C\u5584\u4FE1\u606F");return}else S.owner={displayName:Q,email:T,website:N};await Qa.comment.createReply1({name:(C=t.comment)==null?void 0:C.metadata.name,replyRequest:S}),l.value="",e("created")}catch(S){console.error("Failed to create comment reply",S)}finally{c.value=!1}},p=async()=>{if(window.confirm("\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417\uFF1F"))try{await Bi.post("/logout",void 0,{withCredentials:!0}),window.location.reload()}catch(C){console.error("Failed to logout",C)}},v=Te(()=>o==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":o),O=fe(null),w=fe(),E=fe(!1),D=new sc({data:pC,theme:v.value,autoFocus:!0,i18n:FC,onEmojiSelect:x});function x(C){l.value+=C.native,w.value.focus()}Rf(()=>{var C;O.value&&((C=O.value)==null||C.appendChild(D))});const{Command_Enter:b}=D4();return Rf(()=>{b.value&&m()}),(C,S)=>(Z(),ne("div",m7,[j("div",p7,[Wi(j("textarea",{ref_key:"contentInputRef",ref:w,"onUpdate:modelValue":S[0]||(S[0]=Q=>l.value=Q),required:"",rows:"4",class:"rounded-base block h-full w-full resize-y appearance-none bg-white px-3 py-2 text-sm text-black antialiased outline-0 ring-1 ring-gray-300 transition-all dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",placeholder:"\u7F16\u5199\u8BC4\u8BBA"},null,512),[[gt,l.value]]),!M(n)&&M(u)?(Z(),ne("div",F7,[Wi(j("input",{"onUpdate:modelValue":S[1]||(S[1]=Q=>M(h).displayName=Q),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"text",placeholder:"\u6635\u79F0"},null,512),[[gt,M(h).displayName]]),Wi(j("input",{"onUpdate:modelValue":S[2]||(S[2]=Q=>M(h).email=Q),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"email",placeholder:"\u7535\u5B50\u90AE\u4EF6"},null,512),[[gt,M(h).email]]),Wi(j("input",{"onUpdate:modelValue":S[3]||(S[3]=Q=>M(h).website=Q),class:"rounded-base h-9 px-2 py-0.5 text-sm outline-none ring-1 ring-gray-300 dark:bg-slate-700 dark:text-slate-50 dark:ring-slate-600",type:"url",placeholder:"\u7F51\u7AD9"},null,512),[[gt,M(h).website]]),j("div",{class:"cursor-pointer select-none text-xs text-gray-600 transition-all hover:text-gray-900 dark:text-slate-200 dark:hover:text-slate-400",onClick:S[4]||(S[4]=Q=>f.value=!0)}," \uFF08\u5DF2\u6709\u8BE5\u7AD9\u70B9\u7684\u8D26\u53F7\uFF09 ")])):Ie("",!0),j("div",g7,[j("div",v7,[M(n)?(Z(),ne(Re,{key:0},[J(M(Gl),{src:M(n).spec.avatar,alt:M(n).spec.displayName,size:"sm",circle:""},null,8,["src","alt"]),j("span",O7,Be(M(n).spec.displayName),1),J(M(us),{size:"sm",onClick:p},{default:Ee(()=>[qi("\u6CE8\u9500")]),_:1})],64)):Ie("",!0),!M(n)&&!M(u)?(Z(),Ue(M(us),{key:1,size:"sm",onClick:S[5]||(S[5]=Q=>f.value=!0)},{default:Ee(()=>[qi("\u767B\u5F55")]),_:1})):Ie("",!0)]),j("div",y7,[j("div",k7,[J(M(yC),{class:"h-5 w-5 cursor-pointer text-gray-500 transition-all hover:text-gray-900 dark:text-slate-300 dark:hover:text-slate-50",onClick:S[6]||(S[6]=Q=>E.value=!E.value)}),J(On,{"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:Ee(()=>[Wi(j("div",w7,[j("div",{ref_key:"emojiPickerRef",ref:O},null,512)],512),[[Ms,E.value]])]),_:1})]),J(M(us),{disabled:!l.value,type:"secondary",loading:c.value,onClick:m},{icon:Ee(()=>[J(M(_C),{class:"h-full w-full"})]),default:Ee(()=>[qi(" \u63D0\u4EA4\u8BC4\u8BBA ")]),_:1},8,["disabled","loading"])])])]),J(mC,{visible:f.value,"onUpdate:visible":S[7]||(S[7]=Q=>f.value=Q)},null,8,["visible"])]))}}),b7={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},_7=[j("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 S7(i,e){return Z(),ne("svg",b7,_7)}var D7={name:"mdi-reply",render:S7};const E7=["id"],C7={class:"flex flex-row gap-3"},x7={class:"reply-avatar"},Q7={class:"flex-1"},$7={class:"reply-informations flex items-center"},T7={class:"flex flex-auto items-center gap-3"},P7={class:"text-sm font-medium dark:text-slate-50"},A7=["href"],M7={key:1},B7=["href"],R7={class:"reply-content mt-2"},j7={class:"text-sm text-gray-800 dark:text-slate-200"},I7=["href"],N7={key:1},L7={class:"reply-actions mt-2 flex flex-auto items-center gap-1"},z7=wi({__name:"ReplyItem",props:{comment:null,reply:null,replies:null},emits:["reload"],setup(i,{emit:e}){const t=i,n=fe(!1),s=Jm(new Date(t.reply.spec.approvedTime||new Date)),r=Te(()=>{if(!t.reply)return"";const{annotations:d}=t.reply.spec.owner;return d==null?void 0:d.website}),a=Te(()=>{const{quoteReply:d}=t.reply.spec;if(!!d)return t.replies.find(c=>c.metadata.name===d)}),o=()=>{e("reload"),n.value=!1},u=zi("hoveredReply"),f=d=>{u&&(u.value=d?a.value:void 0)},l=Te(()=>{var d;return((d=u==null?void 0:u.value)==null?void 0:d.metadata.name)===t.reply.metadata.name});return(d,c)=>{var h,m,F,g,p,v;return Z(),ne("div",{id:`reply-${i.reply.metadata.name}`,class:$i(["reply-item py-3",{"animate-breath":M(l)}])},[j("div",C7,[j("div",x7,[J(M(Gl),{src:(m=(h=i.reply)==null?void 0:h.owner)==null?void 0:m.avatar,alt:(g=(F=i.reply)==null?void 0:F.owner)==null?void 0:g.displayName,size:"sm",circle:""},null,8,["src","alt"])]),j("div",Q7,[j("div",$7,[j("div",T7,[j("div",P7,[M(r)?(Z(),ne("a",{key:0,class:"hover:text-gray-600 dark:hover:text-slate-300",href:M(r),target:"_blank"},Be((p=i.reply)==null?void 0:p.owner.displayName),9,A7)):(Z(),ne("span",M7,Be((v=i.reply)==null?void 0:v.owner.displayName),1))]),j("a",{href:`#reply-${i.reply.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline dark:text-slate-400 dark:hover:text-slate-300"},Be(M(s)),9,B7),Ie("",!0)])]),j("div",R7,[j("p",j7,[M(a)?(Z(),ne("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 dark:bg-slate-700 dark:text-slate-200 dark:hover:text-slate-100",href:`#reply-${M(a).metadata.name}`,onMouseenter:c[0]||(c[0]=O=>f(!0)),onMouseleave:c[1]||(c[1]=O=>f(!1))},[J(M(D7)),j("span",null,Be(M(a).owner.displayName),1)],40,I7)):Ie("",!0),M(a)?(Z(),ne("br",N7)):Ie("",!0),qi(" "+Be(i.reply.spec.content),1)])]),j("div",L7,[j("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:c[2]||(c[2]=O=>n.value=!n.value)}," \u56DE\u590D ")]),n.value?(Z(),Ue(oc,{key:0,class:"mt-2",comment:i.comment,reply:i.reply,onCreated:o},null,8,["comment","reply"])):Ie("",!0)])])],10,E7)}}}),W7=["id"],q7={class:"flex flex-row gap-3"},V7={class:"comment-avatar"},X7={class:"flex-1"},Z7={class:"comment-informations flex items-center"},U7={class:"flex flex-auto items-center gap-3"},G7={class:"text-sm font-medium dark:text-slate-50"},H7=["href"],Y7={key:1},K7=["href"],J7={class:"comment-content mt-2"},e8={class:"text-sm text-gray-800 dark:text-slate-200"},i8={class:"comment-actions mt-2 flex flex-auto items-center gap-1"},t8=j("span",{class:"text-gray-600"},"\xB7",-1),n8={key:1,class:"comment-replies mt-2"},s8={class:"flex flex-col divide-y divide-gray-100 dark:divide-slate-700"},r8=wi({__name:"CommentItem",props:{comment:{default:void 0}},setup(i){var e;const t=i,n=fe(!1),s=fe(!1),r=fe([]),a=fe(!1),o=fe();It("hoveredReply",o);const u=Jm(new Date(((e=t.comment)==null?void 0:e.spec.approvedTime)||new Date)),f=Te(()=>(t.comment,!1)),l=Te(()=>{if(!t.comment)return"";const{annotations:h}=t.comment.spec.owner;return h==null?void 0:h.website}),d=async()=>{var h;try{a.value=!0;const{data:m}=await Qa.comment.listCommentReplies({name:(h=t.comment)==null?void 0:h.metadata.name});r.value=m.items}catch(m){console.error("Failed to fetch comment replies",m)}finally{a.value=!1}};ti(()=>n.value,()=>{n.value?d():r.value.length=0});const c=()=>{s.value=!1,n.value=!0,d()};return(h,m)=>{var F,g,p,v,O,w,E,D,x,b,C;return Z(),ne("div",{id:`comment-${(F=i.comment)==null?void 0:F.metadata.name}`,class:"comment-item py-4"},[j("div",q7,[j("div",V7,[J(M(Gl),{src:(p=(g=i.comment)==null?void 0:g.owner)==null?void 0:p.avatar,alt:(O=(v=i.comment)==null?void 0:v.owner)==null?void 0:O.displayName,size:"sm",circle:""},null,8,["src","alt"])]),j("div",X7,[j("div",Z7,[j("div",U7,[j("div",G7,[M(l)?(Z(),ne("a",{key:0,class:"hover:text-gray-600 dark:hover:text-slate-300",href:M(l),target:"_blank"},Be((w=i.comment)==null?void 0:w.owner.displayName),9,H7)):(Z(),ne("span",Y7,Be((E=i.comment)==null?void 0:E.owner.displayName),1))]),j("a",{href:`#comment-${(D=i.comment)==null?void 0:D.metadata.name}`,class:"cursor-pointer text-xs text-gray-500 hover:text-blue-600 hover:underline dark:text-slate-400 dark:hover:text-slate-300"},Be(M(u)),9,K7),M(f)?(Z(),Ue(M(Eb),{key:0,rounded:"",class:"dark:!border-slate-600 dark:!bg-slate-700 dark:!text-slate-50"},{default:Ee(()=>[qi(" Author ")]),_:1})):Ie("",!0)])]),j("div",J7,[j("p",e8,Be((x=i.comment)==null?void 0:x.spec.content),1)]),j("div",i8,[j("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:m[0]||(m[0]=S=>n.value=!n.value)},Be(((C=(b=i.comment)==null?void 0:b.status)==null?void 0:C.replyCount)||0)+" \u6761\u56DE\u590D ",1),t8,j("span",{class:"cursor-pointer select-none text-xs text-gray-600 hover:text-gray-900 dark:text-slate-500 dark:hover:text-slate-400",onClick:m[1]||(m[1]=S=>s.value=!s.value)}," \u52A0\u5165\u56DE\u590D ")]),s.value?(Z(),Ue(oc,{key:0,class:"mt-2",comment:i.comment,onCreated:c},null,8,["comment"])):Ie("",!0),n.value?(Z(),ne("div",n8,[j("div",s8,[a.value?(Z(),Ue(M(Jg),{key:0,class:"dark:text-slate-100"})):!r.value.length&&!s.value?(Z(),Ue(On,{key:1,appear:"",name:"fade"},{default:Ee(()=>[J(M(Kg),{title:"\u6682\u65E0\u56DE\u590D",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u56DE\u590D"},{actions:Ee(()=>[J(M(tp),null,{default:Ee(()=>[J(M(us),{type:"default",onClick:d},{default:Ee(()=>[qi(" \u5237\u65B0 ")]),_:1}),J(M(us),{type:"primary",onClick:m[2]||(m[2]=S=>s.value=!0)},{default:Ee(()=>[qi(" \u56DE\u590D ")]),_:1})]),_:1})]),_:1})]),_:1})):(Z(),Ue(hl,{key:2,appear:"",name:"fade",tag:"div"},{default:Ee(()=>[(Z(!0),ne(Re,null,Mr(r.value,(S,Q)=>(Z(),Ue(z7,{key:Q,class:$i({"!pt-2":Q===1}),comment:i.comment,reply:S,replies:r.value,onReload:d},null,8,["class","comment","reply","replies"]))),128))]),_:1}))])])):Ie("",!0)])])],8,W7)}}}),a8={class:"comment-timeline mt-6"},o8={class:"flex items-center"},u8={class:"flex flex-auto items-center gap-1"},f8={class:"text-sm font-medium text-gray-900 dark:text-slate-50"},l8=j("div",null,null,-1),d8={class:"mt-4 flex flex-col divide-y divide-gray-100 dark:divide-slate-700"},c8={key:0,class:"my-4 sm:flex sm:items-center sm:justify-center"},h8=wi({__name:"Comment",props:{kind:{default:void 0},name:{default:void 0},group:{default:void 0},colorScheme:{default:"light"}},setup(i){const e=i;It("kind",e.kind),It("name",e.name),It("group",e.group),It("colorScheme",e.colorScheme);const t=fe(),n=fe({page:1,size:20,total:0,items:[],first:!0,last:!1,hasNext:!1,hasPrevious:!1,totalPages:0}),s=fe(!1);It("currentUser",t);const r=async()=>{try{const{data:c}=await Qa.user.getCurrentUserDetail();t.value=c.metadata.name==="anonymousUser"?void 0:c}catch(c){console.error("Fetch logined user failed",c)}},a=async()=>{try{s.value=!0;const{data:c}=await Qa.comment.listComments1({page:n.value.page,size:n.value.size,kind:e.kind,name:e.name,group:e.group,version:"v1alpha1"});n.value=c}catch(c){console.error("Failed to fetch comments",c)}finally{s.value=!1}},o=({page:c,size:h})=>{n.value.page=c,n.value.size=h,a()};dn(()=>{r(),a()});const u=()=>{a()},f=Te(()=>e.colorScheme==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e.colorScheme),l=fe(!1);return It("allowAnonymousComments",l),dn(async()=>{const{data:c}=await Bi.get("/actuator/globalinfo",{withCredentials:!0});l.value=c.allowAnonymousComments}),(c,h)=>{var m;return Z(),ne("div",{class:$i(["halo-comment-widget",M(f)])},[J(oc,{onCreated:u}),j("div",a8,[j("div",o8,[j("div",u8,[j("span",f8,Be(((m=n.value)==null?void 0:m.total)||0)+" \u6761\u8BC4\u8BBA ",1),Ie("",!0),Ie("",!0)]),l8]),j("div",d8,[s.value?(Z(),Ue(M(Jg),{key:0,class:"dark:text-slate-100"})):n.value.items.length?(Z(),Ue(hl,{key:2,appear:"",name:"fade",tag:"div"},{default:Ee(()=>[(Z(!0),ne(Re,null,Mr(n.value.items,(F,g)=>(Z(),Ue(r8,{key:g,comment:F},null,8,["comment"]))),128))]),_:1})):(Z(),Ue(On,{key:1,appear:"",name:"fade"},{default:Ee(()=>[J(M(Kg),{title:"\u6682\u65E0\u8BC4\u8BBA",message:"\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u70B9\u51FB\u5237\u65B0\u6216\u8005\u6DFB\u52A0\u65B0\u8BC4\u8BBA"},{actions:Ee(()=>[J(M(tp),null,{default:Ee(()=>[J(M(us),{type:"default",onClick:a},{default:Ee(()=>[qi(" \u5237\u65B0 ")]),_:1})]),_:1})]),_:1})]),_:1}))])]),n.value.hasPrevious||n.value.hasNext?(Z(),ne("div",c8,[J(M(Wb),{page:n.value.page,size:n.value.size,total:n.value.total,class:"bg-transparent",onChange:o},null,8,["page","size","total"])])):Ie("",!0)],2)}}});var W8="",q8="";function m8(i,e,t){var u;const n=document.querySelector(i);n||console.error("Element not found",i);const s=document.createElement("div"),r=document.createElement("div"),a=document.createElement("link"),o=((u=s.attachShadow)==null?void 0:u.call(s,{mode:"open"}))||s;a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),o.appendChild(a),o.appendChild(r),n==null||n.appendChild(s),a.addEventListener("load",function(){C0(h8,t).mount(r)})}return mf.init=m8,Object.defineProperties(mf,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),mf}({}); diff --git a/widget/package.json b/widget/package.json index a50ccac..4418205 100644 --- a/widget/package.json +++ b/widget/package.json @@ -11,7 +11,7 @@ "author": "@halo-dev", "license": "GPL-3.0", "dependencies": { - "@halo-dev/comment-widget": "1.2.0", + "@halo-dev/comment-widget": "1.3.0", "pinia": "^2.0.27", "vue": "^3.2.45", "vue-router": "^4.1.6" diff --git a/widget/pnpm-lock.yaml b/widget/pnpm-lock.yaml index 893cc34..d4aab9e 100644 --- a/widget/pnpm-lock.yaml +++ b/widget/pnpm-lock.yaml @@ -1,7 +1,7 @@ lockfileVersion: 5.4 specifiers: - '@halo-dev/comment-widget': 1.2.0 + '@halo-dev/comment-widget': 1.3.0 '@rushstack/eslint-patch': ^1.2.0 '@types/jsdom': ^16.2.15 '@types/node': ^16.18.4 @@ -24,7 +24,7 @@ specifiers: vue-tsc: ^0.40.13 dependencies: - '@halo-dev/comment-widget': 1.2.0 + '@halo-dev/comment-widget': 1.3.0 pinia: 2.0.27_e7lp6ggkpgyi5vqd44m2kxvk6i vue: 3.2.45 vue-router: 4.1.6_vue@3.2.45 @@ -218,8 +218,8 @@ packages: resolution: {integrity: sha512-HAmJ1BDZxHj2Xp41oNOqZG/1vaR6r4EbBAUQ7ayvUY8SGJMHtJD9dyhCn7k23q6G7FmzFKFNGxajovsjBEM+yg==} dev: false - /@halo-dev/comment-widget/1.2.0: - resolution: {integrity: sha512-LX3rVEEHDR02Co1SXx60NtFMg2KQ2SH4X3oqzRz8CmBKvpFStHE19hjnbvKm9jKoBhhVl0CaMsvPXhDSk+5uVw==} + /@halo-dev/comment-widget/1.3.0: + resolution: {integrity: sha512-Bnb+YnbYeWCJh0RgpoMMKAONinnEIVe5K4BBKgiy9cGGRK14+k243cCDKdFCd+sjmJTFUagKXFv9bP0sfJ7qQA==} dependencies: '@emoji-mart/data': 1.0.8 '@halo-dev/api-client': 0.0.60