This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var L7=Object.defineProperty;var R7=(oi,bi,wi)=>bi in oi?L7(oi,bi,{enumerable:!0,configurable:!0,writable:!0,value:wi}):oi[bi]=wi;var vl=(oi,bi,wi)=>(R7(oi,typeof bi!="symbol"?bi+"":bi,wi),wi),ev=(oi,bi,wi)=>{if(!bi.has(oi))throw TypeError("Cannot "+wi)};var Wr=(oi,bi,wi)=>(ev(oi,bi,"read from private field"),wi?wi.call(oi):bi.get(oi)),Vl=(oi,bi,wi)=>{if(bi.has(oi))throw TypeError("Cannot add the same private member more than once");bi instanceof WeakSet?bi.add(oi):bi.set(oi,wi)},Qa=(oi,bi,wi,vi)=>(ev(oi,bi,"write to private field"),vi?vi.call(oi,wi):bi.set(oi,wi),wi);var qf=(oi,bi,wi)=>(ev(oi,bi,"access private method"),wi);(function(){var __webpack_modules__={"./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":function(oi,bi,wi){"use strict";wi.d(bi,{C4:function(){return fs},EW:function(){return bc},Gc:function(){return su},IG:function(){return Rc},IJ:function(){return ma},KR:function(){return mo},Kh:function(){return ec},Pr:function(){return Oc},QW:function(){return jd},X2:function(){return bn},bl:function(){return mn},fE:function(){return Da},g8:function(){return Ya},hZ:function(){return Wi},i9:function(){return Us},ju:function(){return ru},lW:function(){return cf},o5:function(){return _n},u4:function(){return ki},ux:function(){return Go},yC:function(){return Li}});var vi=wi("./node_modules/@vue/shared/dist/shared.esm-bundler.js");function ri(ln,...Tn){console.warn(`[Vue warn] ${ln}`,...Tn)}let yi;class Li{constructor(Tn=!1){this.detached=Tn,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yi,!Tn&&yi&&(this.index=(yi.scopes||(yi.scopes=[])).push(this)-1)}get active(){return this._active}run(Tn){if(this._active){const ts=yi;try{return yi=this,Tn()}finally{yi=ts}}}on(){yi=this}off(){yi=this.parent}stop(Tn){if(this._active){let ts,xs;for(ts=0,xs=this.effects.length;ts<xs;ts++)this.effects[ts].stop();for(ts=0,xs=this.cleanups.length;ts<xs;ts++)this.cleanups[ts]();if(this.scopes)for(ts=0,xs=this.scopes.length;ts<xs;ts++)this.scopes[ts].stop(!0);if(!this.detached&&this.parent&&!Tn){const As=this.parent.scopes.pop();As&&As!==this&&(this.parent.scopes[this.index]=As,As.index=this.index)}this.parent=void 0,this._active=!1}}}function Ji(ln){return new Li(ln)}function tn(ln,Tn=yi){Tn&&Tn.active&&Tn.effects.push(ln)}function _n(){return yi}function In(ln){yi&&yi.cleanups.push(ln)}let Vn;class bn{constructor(Tn,ts,xs,As){this.fn=Tn,this.trigger=ts,this.scheduler=xs,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,tn(this,As)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,fs();for(let Tn=0;Tn<this._depsLength;Tn++){const ts=this.deps[Tn];if(ts.computed&&(Zi(ts.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),mn()}return this._dirtyLevel>=4}set dirty(Tn){this._dirtyLevel=Tn?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let Tn=sn,ts=Vn;try{return sn=!0,Vn=this,this._runnings++,un(this),this.fn()}finally{ls(this),this._runnings--,Vn=ts,sn=Tn}}stop(){var Tn;this.active&&(un(this),ls(this),(Tn=this.onStop)==null||Tn.call(this),this.active=!1)}}function Zi(ln){return ln.value}function un(ln){ln._trackId++,ln._depsLength=0}function ls(ln){if(ln.deps.length>ln._depsLength){for(let Tn=ln._depsLength;Tn<ln.deps.length;Tn++)ks(ln.deps[Tn],ln);ln.deps.length=ln._depsLength}}function ks(ln,Tn){const ts=ln.get(Tn);ts!==void 0&&Tn._trackId!==ts&&(ln.delete(Tn),ln.size===0&&ln.cleanup())}function En(ln,Tn){ln.effect instanceof bn&&(ln=ln.effect.fn);const ts=new bn(ln,NOOP,()=>{ts.dirty&&ts.run()});Tn&&(extend(ts,Tn),Tn.scope&&tn(ts,Tn.scope)),(!Tn||!Tn.lazy)&&ts.run();const xs=ts.run.bind(ts);return xs.effect=ts,xs}function qi(ln){ln.effect.stop()}let sn=!0,rs=0;const hs=[];function fs(){hs.push(sn),sn=!1}function yn(){hs.push(sn),sn=!0}function mn(){const ln=hs.pop();sn=ln===void 0?!0:ln}function Mn(){rs++}function pi(){for(rs--;!rs&&dn.length;)dn.shift()()}function rn(ln,Tn,ts){var xs;if(Tn.get(ln)!==ln._trackId){Tn.set(ln,ln._trackId);const As=ln.deps[ln._depsLength];As!==Tn?(As&&ks(As,ln),ln.deps[ln._depsLength++]=Tn):ln._depsLength++}}const dn=[];function pn(ln,Tn,ts){var xs;Mn();for(const As of ln.keys()){let Bs;As._dirtyLevel<Tn&&(Bs??(Bs=ln.get(As)===As._trackId))&&(As._shouldSchedule||(As._shouldSchedule=As._dirtyLevel===0),As._dirtyLevel=Tn),As._shouldSchedule&&(Bs??(Bs=ln.get(As)===As._trackId))&&(As.trigger(),(!As._runnings||As.allowRecurse)&&As._dirtyLevel!==2&&(As._shouldSchedule=!1,As.scheduler&&dn.push(As.scheduler)))}pi()}const Pn=(ln,Tn)=>{const ts=new Map;return ts.cleanup=ln,ts.computed=Tn,ts},nn=new WeakMap,Ai=Symbol(""),Ri=Symbol("");function ki(ln,Tn,ts){if(sn&&Vn){let xs=nn.get(ln);xs||nn.set(ln,xs=new Map);let As=xs.get(ts);As||xs.set(ts,As=Pn(()=>xs.delete(ts))),rn(Vn,As,void 0)}}function Wi(ln,Tn,ts,xs,As,Bs){const Eo=nn.get(ln);if(!Eo)return;let qo=[];if(Tn==="clear")qo=[...Eo.values()];else if(ts==="length"&&(0,vi.cy)(ln)){const Wa=Number(xs);Eo.forEach((_c,ba)=>{(ba==="length"||!(0,vi.Bm)(ba)&&ba>=Wa)&&qo.push(_c)})}else switch(ts!==void 0&&qo.push(Eo.get(ts)),Tn){case"add":(0,vi.cy)(ln)?(0,vi.yI)(ts)&&qo.push(Eo.get("length")):(qo.push(Eo.get(Ai)),(0,vi.CE)(ln)&&qo.push(Eo.get(Ri)));break;case"delete":(0,vi.cy)(ln)||(qo.push(Eo.get(Ai)),(0,vi.CE)(ln)&&qo.push(Eo.get(Ri)));break;case"set":(0,vi.CE)(ln)&&qo.push(Eo.get(Ai));break}Mn();for(const Wa of qo)Wa&&pn(Wa,4,void 0);pi()}function an(ln,Tn){var ts;return(ts=nn.get(ln))==null?void 0:ts.get(Tn)}const Fn=(0,vi.pD)("__proto__,__v_isRef,__isVue"),en=new Set(Object.getOwnPropertyNames(Symbol).filter(ln=>ln!=="arguments"&&ln!=="caller").map(ln=>Symbol[ln]).filter(vi.Bm)),Fi=Oi();function Oi(){const ln={};return["includes","indexOf","lastIndexOf"].forEach(Tn=>{ln[Tn]=function(...ts){const xs=Go(this);for(let Bs=0,Eo=this.length;Bs<Eo;Bs++)ki(xs,"get",Bs+"");const As=xs[Tn](...ts);return As===-1||As===!1?xs[Tn](...ts.map(Go)):As}}),["push","pop","shift","unshift","splice"].forEach(Tn=>{ln[Tn]=function(...ts){fs(),Mn();const xs=Go(this)[Tn].apply(this,ts);return pi(),mn(),xs}}),ln}function zi(ln){(0,vi.Bm)(ln)||(ln=String(ln));const Tn=Go(this);return ki(Tn,"has",ln),Tn.hasOwnProperty(ln)}class Ti{constructor(Tn=!1,ts=!1){this._isReadonly=Tn,this._isShallow=ts}get(Tn,ts,xs){const As=this._isReadonly,Bs=this._isShallow;if(ts==="__v_isReactive")return!As;if(ts==="__v_isReadonly")return As;if(ts==="__v_isShallow")return Bs;if(ts==="__v_raw")return xs===(As?Bs?rl:ra:Bs?Do:sa).get(Tn)||Object.getPrototypeOf(Tn)===Object.getPrototypeOf(xs)?Tn:void 0;const Eo=(0,vi.cy)(Tn);if(!As){if(Eo&&(0,vi.$3)(Fi,ts))return Reflect.get(Fi,ts,xs);if(ts==="hasOwnProperty")return zi}const qo=Reflect.get(Tn,ts,xs);return((0,vi.Bm)(ts)?en.has(ts):Fn(ts))||(As||ki(Tn,"get",ts),Bs)?qo:Us(qo)?Eo&&(0,vi.yI)(ts)?qo:qo.value:(0,vi.Gv)(qo)?As?Ta(qo):ec(qo):qo}}class Yi extends Ti{constructor(Tn=!1){super(!1,Tn)}set(Tn,ts,xs,As){let Bs=Tn[ts];if(!this._isShallow){const Wa=Zo(Bs);if(!Da(xs)&&!Zo(xs)&&(Bs=Go(Bs),xs=Go(xs)),!(0,vi.cy)(Tn)&&Us(Bs)&&!Us(xs))return Wa?!1:(Bs.value=xs,!0)}const Eo=(0,vi.cy)(Tn)&&(0,vi.yI)(ts)?Number(ts)<Tn.length:(0,vi.$3)(Tn,ts),qo=Reflect.set(Tn,ts,xs,As);return Tn===Go(As)&&(Eo?(0,vi.$H)(xs,Bs)&&Wi(Tn,"set",ts,xs,Bs):Wi(Tn,"add",ts,xs)),qo}deleteProperty(Tn,ts){const xs=(0,vi.$3)(Tn,ts),As=Tn[ts],Bs=Reflect.deleteProperty(Tn,ts);return Bs&&xs&&Wi(Tn,"delete",ts,void 0,As),Bs}has(Tn,ts){const xs=Reflect.has(Tn,ts);return(!(0,vi.Bm)(ts)||!en.has(ts))&&ki(Tn,"has",ts),xs}ownKeys(Tn){return ki(Tn,"iterate",(0,vi.cy)(Tn)?"length":Ai),Reflect.ownKeys(Tn)}}class wn extends Ti{constructor(Tn=!1){super(!0,Tn)}set(Tn,ts){return!0}deleteProperty(Tn,ts){return!0}}const Bi=new Yi,Qi=new wn,Gi=new Yi(!0),On=new wn(!0),Xn=ln=>ln,cs=ln=>Reflect.getPrototypeOf(ln);function Vs(ln,Tn,ts=!1,xs=!1){ln=ln.__v_raw;const As=Go(ln),Bs=Go(Tn);ts||((0,vi.$H)(Tn,Bs)&&ki(As,"get",Tn),ki(As,"get",Bs));const{has:Eo}=cs(As),qo=xs?Xn:ts?kl:El;if(Eo.call(As,Tn))return qo(ln.get(Tn));if(Eo.call(As,Bs))return qo(ln.get(Bs));ln!==As&&ln.get(Tn)}function uo(ln,Tn=!1){const ts=this.__v_raw,xs=Go(ts),As=Go(ln);return Tn||((0,vi.$H)(ln,As)&&ki(xs,"has",ln),ki(xs,"has",As)),ln===As?ts.has(ln):ts.has(ln)||ts.has(As)}function fo(ln,Tn=!1){return ln=ln.__v_raw,!Tn&&ki(Go(ln),"iterate",Ai),Reflect.get(ln,"size",ln)}function go(ln){ln=Go(ln);const Tn=Go(this);return cs(Tn).has.call(Tn,ln)||(Tn.add(ln),Wi(Tn,"add",ln,ln)),this}function Po(ln,Tn){Tn=Go(Tn);const ts=Go(this),{has:xs,get:As}=cs(ts);let Bs=xs.call(ts,ln);Bs||(ln=Go(ln),Bs=xs.call(ts,ln));const Eo=As.call(ts,ln);return ts.set(ln,Tn),Bs?(0,vi.$H)(Tn,Eo)&&Wi(ts,"set",ln,Tn,Eo):Wi(ts,"add",ln,Tn),this}function Jo(ln){const Tn=Go(this),{has:ts,get:xs}=cs(Tn);let As=ts.call(Tn,ln);As||(ln=Go(ln),As=ts.call(Tn,ln));const Bs=xs?xs.call(Tn,ln):void 0,Eo=Tn.delete(ln);return As&&Wi(Tn,"delete",ln,void 0,Bs),Eo}function ca(){const ln=Go(this),Tn=ln.size!==0,ts=void 0,xs=ln.clear();return Tn&&Wi(ln,"clear",void 0,void 0,ts),xs}function gi(ln,Tn){return function(xs,As){const Bs=this,Eo=Bs.__v_raw,qo=Go(Eo),Wa=Tn?Xn:ln?kl:El;return!ln&&ki(qo,"iterate",Ai),Eo.forEach((_c,ba)=>xs.call(As,Wa(_c),Wa(ba),Bs))}}function Si(ln,Tn,ts){return function(...xs){const As=this.__v_raw,Bs=Go(As),Eo=(0,vi.CE)(Bs),qo=ln==="entries"||ln===Symbol.iterator&&Eo,Wa=ln==="keys"&&Eo,_c=As[ln](...xs),ba=ts?Xn:Tn?kl:El;return!Tn&&ki(Bs,"iterate",Wa?Ri:Ai),{next(){const{value:ol,done:Al}=_c.next();return Al?{value:ol,done:Al}:{value:qo?[ba(ol[0]),ba(ol[1])]:ba(ol),done:Al}},[Symbol.iterator](){return this}}}}function $i(ln){return function(...Tn){return ln==="delete"?!1:ln==="clear"?void 0:this}}function kn(){const ln={get(Bs){return Vs(this,Bs)},get size(){return fo(this)},has:uo,add:go,set:Po,delete:Jo,clear:ca,forEach:gi(!1,!1)},Tn={get(Bs){return Vs(this,Bs,!1,!0)},get size(){return fo(this)},has:uo,add:go,set:Po,delete:Jo,clear:ca,forEach:gi(!1,!0)},ts={get(Bs){return Vs(this,Bs,!0)},get size(){return fo(this,!0)},has(Bs){return uo.call(this,Bs,!0)},add:$i("add"),set:$i("set"),delete:$i("delete"),clear:$i("clear"),forEach:gi(!0,!1)},xs={get(Bs){return Vs(this,Bs,!0,!0)},get size(){return fo(this,!0)},has(Bs){return uo.call(this,Bs,!0)},add:$i("add"),set:$i("set"),delete:$i("delete"),clear:$i("clear"),forEach:gi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(Bs=>{ln[Bs]=Si(Bs,!1,!1),ts[Bs]=Si(Bs,!0,!1),Tn[Bs]=Si(Bs,!1,!0),xs[Bs]=Si(Bs,!0,!0)}),[ln,ts,Tn,xs]}const[Ln,Un,Jn,Ys]=kn();function bo(ln,Tn){const ts=Tn?ln?Ys:Jn:ln?Un:Ln;return(xs,As,Bs)=>As==="__v_isReactive"?!ln:As==="__v_isReadonly"?ln:As==="__v_raw"?xs:Reflect.get((0,vi.$3)(ts,As)&&As in xs?ts:xs,As,Bs)}const _o={get:bo(!1,!1)},pa={get:bo(!1,!0)},ka={get:bo(!0,!1)},Aa={get:bo(!0,!0)};function ha(ln,Tn,ts){const xs=Go(ts);if(xs!==ts&&Tn.call(ln,xs)){const As=toRawType(ln);ri(`Reactive ${As} contains both the raw and reactive versions of the same object${As==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const sa=new WeakMap,Do=new WeakMap,ra=new WeakMap,rl=new WeakMap;function bl(ln){switch(ln){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nu(ln){return ln.__v_skip||!Object.isExtensible(ln)?0:bl((0,vi.Zf)(ln))}function ec(ln){return Zo(ln)?ln:va(ln,!1,Bi,_o,sa)}function su(ln){return va(ln,!1,Gi,pa,Do)}function Ta(ln){return va(ln,!0,Qi,ka,ra)}function La(ln){return va(ln,!0,On,Aa,rl)}function va(ln,Tn,ts,xs,As){if(!(0,vi.Gv)(ln)||ln.__v_raw&&!(Tn&&ln.__v_isReactive))return ln;const Bs=As.get(ln);if(Bs)return Bs;const Eo=nu(ln);if(Eo===0)return ln;const qo=new Proxy(ln,Eo===2?xs:ts);return As.set(ln,qo),qo}function Ya(ln){return Zo(ln)?Ya(ln.__v_raw):!!(ln&&ln.__v_isReactive)}function Zo(ln){return!!(ln&&ln.__v_isReadonly)}function Da(ln){return!!(ln&&ln.__v_isShallow)}function ru(ln){return ln?!!ln.__v_raw:!1}function Go(ln){const Tn=ln&&ln.__v_raw;return Tn?Go(Tn):ln}function Rc(ln){return Object.isExtensible(ln)&&(0,vi.yQ)(ln,"__v_skip",!0),ln}const El=ln=>(0,vi.Gv)(ln)?ec(ln):ln,kl=ln=>(0,vi.Gv)(ln)?Ta(ln):ln,tc=null;class Mc{constructor(Tn,ts,xs,As){this.getter=Tn,this._setter=ts,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new bn(()=>Tn(this._value),()=>Ts(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!As,this.__v_isReadonly=xs}get value(){const Tn=Go(this);return(!Tn._cacheable||Tn.effect.dirty)&&(0,vi.$H)(Tn._value,Tn._value=Tn.effect.run())&&Ts(Tn,4),Yn(Tn),Tn.effect._dirtyLevel>=2&&Ts(Tn,2),Tn._value}set value(Tn){this._setter(Tn)}get _dirty(){return this.effect.dirty}set _dirty(Tn){this.effect.dirty=Tn}}function bc(ln,Tn,ts=!1){let xs,As;const Bs=(0,vi.Tn)(ln);return Bs?(xs=ln,As=vi.tE):(xs=ln.get,As=ln.set),new Mc(xs,As,Bs||!As,ts)}function Yn(ln){var Tn;sn&&Vn&&(ln=Go(ln),rn(Vn,(Tn=ln.dep)!=null?Tn:ln.dep=Pn(()=>ln.dep=void 0,ln instanceof Mc?ln:void 0),void 0))}function Ts(ln,Tn=4,ts){ln=Go(ln);const xs=ln.dep;xs&&pn(xs,Tn,void 0)}function Us(ln){return!!(ln&&ln.__v_isRef===!0)}function mo(ln){return ea(ln,!1)}function ma(ln){return ea(ln,!0)}function ea(ln,Tn){return Us(ln)?ln:new Ra(ln,Tn)}class Ra{constructor(Tn,ts){this.__v_isShallow=ts,this.dep=void 0,this.__v_isRef=!0,this._rawValue=ts?Tn:Go(Tn),this._value=ts?Tn:El(Tn)}get value(){return Yn(this),this._value}set value(Tn){const ts=this.__v_isShallow||Da(Tn)||Zo(Tn);Tn=ts?Tn:Go(Tn),(0,vi.$H)(Tn,this._rawValue)&&(this._rawValue=Tn,this._value=ts?Tn:El(Tn),Ts(this,4,Tn))}}function Ka(ln){Ts(ln,4,void 0)}function ia(ln){return Us(ln)?ln.value:ln}function Ul(ln){return isFunction(ln)?ln():ia(ln)}const Ml={get:(ln,Tn,ts)=>ia(Reflect.get(ln,Tn,ts)),set:(ln,Tn,ts,xs)=>{const As=ln[Tn];return Us(As)&&!Us(ts)?(As.value=ts,!0):Reflect.set(ln,Tn,ts,xs)}};function Oc(ln){return Ya(ln)?ln:new Proxy(ln,Ml)}class xa{constructor(Tn){this.dep=void 0,this.__v_isRef=!0;const{get:ts,set:xs}=Tn(()=>Yn(this),()=>Ts(this));this._get=ts,this._set=xs}get value(){return this._get()}set value(Tn){this._set(Tn)}}function Dc(ln){return new xa(ln)}function jd(ln){const Tn=(0,vi.cy)(ln)?new Array(ln.length):{};for(const ts in ln)Tn[ts]=Ja(ln,ts);return Tn}class Fc{constructor(Tn,ts,xs){this._object=Tn,this._key=ts,this._defaultValue=xs,this.__v_isRef=!0}get value(){const Tn=this._object[this._key];return Tn===void 0?this._defaultValue:Tn}set value(Tn){this._object[this._key]=Tn}get dep(){return an(Go(this._object),this._key)}}class Iu{constructor(Tn){this._getter=Tn,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function cf(ln,Tn,ts){return Us(ln)?ln:(0,vi.Tn)(ln)?new Iu(ln):(0,vi.Gv)(ln)&&arguments.length>1?Ja(ln,Tn,ts):mo(ln)}function Ja(ln,Tn,ts){const xs=ln[Tn];return Us(xs)?xs:new Fc(ln,Tn,ts)}const vu=null,Sd={GET:"get",HAS:"has",ITERATE:"iterate"},Pu={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Cd={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"}},"./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":function(oi,bi,wi){"use strict";wi.d(bi,{$u:function(){return Pc},Bs:function(){return Lp},CE:function(){return lc},Df:function(){return bu},FK:function(){return $a},Gy:function(){return uf},K9:function(){return sv},Lk:function(){return Gu},MZ:function(){return Ol},OW:function(){return Wl},Q3:function(){return lv},QP:function(){return qu},Qi:function(){return bl},RG:function(){return Vu},Wv:function(){return _h},bF:function(){return Ca},bU:function(){return fv},bo:function(){return _c},dY:function(){return nn},eW:function(){return Yu},g2:function(){return bc},h:function(){return Tp},hi:function(){return $u},jt:function(){return nu},k6:function(){return su},nI:function(){return _f},pI:function(){return hf},pM:function(){return Ed},pR:function(){return ff},qL:function(){return qi},rE:function(){return Rp},sV:function(){return Bu},uX:function(){return bh},v6:function(){return xh},wB:function(){return xs},xo:function(){return Dl}});var vi=wi("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js"),ri=wi("./node_modules/@vue/shared/dist/shared.esm-bundler.js");const yi=[];function Li(ui){yi.push(ui)}function Ji(){yi.pop()}function tn(ui,...mi){(0,vi.C4)();const Ei=yi.length?yi[yi.length-1].component:null,Di=Ei&&Ei.appContext.config.warnHandler,Ni=_n();if(Di)En(Di,Ei,11,[ui+mi.map(Vi=>{var cn,An;return(An=(cn=Vi.toString)==null?void 0:cn.call(Vi))!=null?An:JSON.stringify(Vi)}).join(""),Ei&&Ei.proxy,Ni.map(({vnode:Vi})=>`at <${uu(Ei,Vi.type)}>`).join(`
`),Ni]);else{const Vi=[`[Vue warn]: ${ui}`,...mi];Ni.length&&Vi.push(`
`,...In(Ni)),console.warn(...Vi)}(0,vi.bl)()}function _n(){let ui=yi[yi.length-1];if(!ui)return[];const mi=[];for(;ui;){const Ei=mi[0];Ei&&Ei.vnode===ui?Ei.recurseCount++:mi.push({vnode:ui,recurseCount:0});const Di=ui.component&&ui.component.parent;ui=Di&&Di.vnode}return mi}function In(ui){const mi=[];return ui.forEach((Ei,Di)=>{mi.push(...Di===0?[]:[`
`],...Vn(Ei))}),mi}function Vn({vnode:ui,recurseCount:mi}){const Ei=mi>0?`... (${mi} recursive calls)`:"",Di=ui.component?ui.component.parent==null:!1,Ni=` at <${uu(ui.component,ui.type,Di)}`,Vi=">"+Ei;return ui.props?[Ni,...bn(ui.props),Vi]:[Ni+Vi]}function bn(ui){const mi=[],Ei=Object.keys(ui);return Ei.slice(0,3).forEach(Di=>{mi.push(...Zi(Di,ui[Di]))}),Ei.length>3&&mi.push(" ..."),mi}function Zi(ui,mi,Ei){return(0,ri.Kg)(mi)?(mi=JSON.stringify(mi),Ei?mi:[`${ui}=${mi}`]):typeof mi=="number"||typeof mi=="boolean"||mi==null?Ei?mi:[`${ui}=${mi}`]:(0,vi.i9)(mi)?(mi=Zi(ui,(0,vi.ux)(mi.value),!0),Ei?mi:[`${ui}=Ref<`,mi,">"]):(0,ri.Tn)(mi)?[`${ui}=fn${mi.name?`<${mi.name}>`:""}`]:(mi=(0,vi.ux)(mi),Ei?mi:[`${ui}=`,mi])}function un(ui,mi){}const ls={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ks={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function En(ui,mi,Ei,Di){try{return Di?ui(...Di):ui()}catch(Ni){sn(Ni,mi,Ei)}}function qi(ui,mi,Ei,Di){if((0,ri.Tn)(ui)){const Ni=En(ui,mi,Ei,Di);return Ni&&(0,ri.yL)(Ni)&&Ni.catch(Vi=>{sn(Vi,mi,Ei)}),Ni}if((0,ri.cy)(ui)){const Ni=[];for(let Vi=0;Vi<ui.length;Vi++)Ni.push(qi(ui[Vi],mi,Ei,Di));return Ni}}function sn(ui,mi,Ei,Di=!0){const Ni=mi?mi.vnode:null;if(mi){let Vi=mi.parent;const cn=mi.proxy,An=`https://vuejs.org/error-reference/#runtime-${Ei}`;for(;Vi;){const Qn=Vi.ec;if(Qn){for(let ds=0;ds<Qn.length;ds++)if(Qn[ds](ui,cn,An)===!1)return}Vi=Vi.parent}const qn=mi.appContext.config.errorHandler;if(qn){(0,vi.C4)(),En(qn,null,10,[ui,cn,An]),(0,vi.bl)();return}}rs(ui,Ei,Ni,Di)}function rs(ui,mi,Ei,Di=!0){console.error(ui)}let hs=!1,fs=!1;const yn=[];let mn=0;const Mn=[];let pi=null,rn=0;const dn=Promise.resolve();let pn=null;const Pn=100;function nn(ui){const mi=pn||dn;return ui?mi.then(this?ui.bind(this):ui):mi}function Ai(ui){let mi=mn+1,Ei=yn.length;for(;mi<Ei;){const Di=mi+Ei>>>1,Ni=yn[Di],Vi=Fi(Ni);Vi<ui||Vi===ui&&Ni.pre?mi=Di+1:Ei=Di}return mi}function Ri(ui){(!yn.length||!yn.includes(ui,hs&&ui.allowRecurse?mn+1:mn))&&(ui.id==null?yn.push(ui):yn.splice(Ai(ui.id),0,ui),ki())}function ki(){!hs&&!fs&&(fs=!0,pn=dn.then(zi))}function Wi(ui){const mi=yn.indexOf(ui);mi>mn&&yn.splice(mi,1)}function an(ui){(0,ri.cy)(ui)?Mn.push(...ui):(!pi||!pi.includes(ui,ui.allowRecurse?rn+1:rn))&&Mn.push(ui),ki()}function Fn(ui,mi,Ei=hs?mn+1:0){for(;Ei<yn.length;Ei++){const Di=yn[Ei];if(Di&&Di.pre){if(ui&&Di.id!==ui.uid)continue;yn.splice(Ei,1),Ei--,Di()}}}function en(ui){if(Mn.length){const mi=[...new Set(Mn)].sort((Ei,Di)=>Fi(Ei)-Fi(Di));if(Mn.length=0,pi){pi.push(...mi);return}for(pi=mi,rn=0;rn<pi.length;rn++)pi[rn]();pi=null,rn=0}}const Fi=ui=>ui.id==null?1/0:ui.id,Oi=(ui,mi)=>{const Ei=Fi(ui)-Fi(mi);if(Ei===0){if(ui.pre&&!mi.pre)return-1;if(mi.pre&&!ui.pre)return 1}return Ei};function zi(ui){fs=!1,hs=!0,yn.sort(Oi);const mi=ri.tE;try{for(mn=0;mn<yn.length;mn++){const Ei=yn[mn];Ei&&Ei.active!==!1&&En(Ei,null,14)}}finally{mn=0,yn.length=0,en(ui),hs=!1,pn=null,(yn.length||Mn.length)&&zi(ui)}}function Ti(ui,mi){if(!ui.has(mi))ui.set(mi,1);else{const Ei=ui.get(mi);if(Ei>Pn){const Di=mi.ownerInstance,Ni=Di&&Ju(Di.type);return sn(`Maximum recursive updates exceeded${Ni?` in component <${Ni}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else ui.set(mi,Ei+1)}}let Yi=!1;const wn=new Set,Bi=new Map;function Qi(ui){const mi=ui.type.__hmrId;let Ei=Bi.get(mi);Ei||(On(mi,ui.type),Ei=Bi.get(mi)),Ei.instances.add(ui)}function Gi(ui){Bi.get(ui.type.__hmrId).instances.delete(ui)}function On(ui,mi){return Bi.has(ui)?!1:(Bi.set(ui,{initialDef:Xn(mi),instances:new Set}),!0)}function Xn(ui){return Cm(ui)?ui.__vccOpts:ui}function cs(ui,mi){const Ei=Bi.get(ui);Ei&&(Ei.initialDef.render=mi,[...Ei.instances].forEach(Di=>{mi&&(Di.render=mi,Xn(Di.type).render=mi),Di.renderCache=[],Yi=!0,Di.effect.dirty=!0,Di.update(),Yi=!1}))}function Vs(ui,mi){const Ei=Bi.get(ui);if(!Ei)return;mi=Xn(mi),uo(Ei.initialDef,mi);const Di=[...Ei.instances];for(const Ni of Di){const Vi=Xn(Ni.type);wn.has(Vi)||(Vi!==Ei.initialDef&&uo(Vi,mi),wn.add(Vi)),Ni.appContext.propsCache.delete(Ni.type),Ni.appContext.emitsCache.delete(Ni.type),Ni.appContext.optionsCache.delete(Ni.type),Ni.ceReload?(wn.add(Vi),Ni.ceReload(mi.styles),wn.delete(Vi)):Ni.parent?(Ni.parent.effect.dirty=!0,Ri(Ni.parent.update)):Ni.appContext.reload?Ni.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}an(()=>{for(const Ni of Di)wn.delete(Xn(Ni.type))})}function uo(ui,mi){extend(ui,mi);for(const Ei in ui)Ei!=="__file"&&!(Ei in mi)&&delete ui[Ei]}function fo(ui){return(mi,Ei)=>{try{return ui(mi,Ei)}catch(Di){console.error(Di),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let go,Po=null,Jo=!1;function ca(ui,...mi){go?go.emit(ui,...mi):Jo||Po.push({event:ui,args:mi})}function gi(ui,mi){var Ei,Di;go=ui,go?(go.enabled=!0,Po.forEach(({event:Ni,args:Vi})=>go.emit(Ni,...Vi)),Po=[]):typeof window<"u"&&window.HTMLElement&&!((Di=(Ei=window.navigator)==null?void 0:Ei.userAgent)!=null&&Di.includes("jsdom"))?((mi.__VUE_DEVTOOLS_HOOK_REPLAY__=mi.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(Vi=>{gi(Vi,mi)}),setTimeout(()=>{go||(mi.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Jo=!0,Po=[])},3e3)):(Jo=!0,Po=[])}function Si(ui,mi){ca("app:init",ui,mi,{Fragment:$a,Text:vf,Comment:yl,Static:Yf})}function $i(ui){ca("app:unmount",ui)}const kn=null,Ln=null,Un=null,Jn=ui=>{go&&typeof go.cleanupBuffer=="function"&&!go.cleanupBuffer(ui)&&Un(ui)};function Ys(ui){return mi=>{ca(ui,mi.appContext.app,mi.uid,mi.parent?mi.parent.uid:void 0,mi)}}const bo=null,_o=null;function pa(ui){return(mi,Ei,Di)=>{ca(ui,mi.appContext.app,mi.uid,mi,Ei,Di)}}function ka(ui,mi,Ei){ca("component:emit",ui.appContext.app,ui,mi,Ei)}function Aa(ui,mi,...Ei){if(ui.isUnmounted)return;const Di=ui.vnode.props||ri.MZ;let Ni=Ei;const Vi=mi.startsWith("update:"),cn=Vi&&mi.slice(7);if(cn&&cn in Di){const ds=`${cn==="modelValue"?"model":cn}Modifiers`,{number:Cn,trim:is}=Di[ds]||ri.MZ;is&&(Ni=Ei.map(Ss=>(0,ri.Kg)(Ss)?Ss.trim():Ss)),Cn&&(Ni=Ei.map(ri.bB))}let An,qn=Di[An=(0,ri.rU)(mi)]||Di[An=(0,ri.rU)((0,ri.PT)(mi))];!qn&&Vi&&(qn=Di[An=(0,ri.rU)((0,ri.Tg)(mi))]),qn&&qi(qn,ui,6,Ni);const Qn=Di[An+"Once"];if(Qn){if(!ui.emitted)ui.emitted={};else if(ui.emitted[An])return;ui.emitted[An]=!0,qi(Qn,ui,6,Ni)}}function ha(ui,mi,Ei=!1){const Di=mi.emitsCache,Ni=Di.get(ui);if(Ni!==void 0)return Ni;const Vi=ui.emits;let cn={},An=!1;if(!(0,ri.Tn)(ui)){const qn=Qn=>{const ds=ha(Qn,mi,!0);ds&&(An=!0,(0,ri.X$)(cn,ds))};!Ei&&mi.mixins.length&&mi.mixins.forEach(qn),ui.extends&&qn(ui.extends),ui.mixins&&ui.mixins.forEach(qn)}return!Vi&&!An?((0,ri.Gv)(ui)&&Di.set(ui,null),null):((0,ri.cy)(Vi)?Vi.forEach(qn=>cn[qn]=null):(0,ri.X$)(cn,Vi),(0,ri.Gv)(ui)&&Di.set(ui,cn),cn)}function sa(ui,mi){return!ui||!(0,ri.Mp)(mi)?!1:(mi=mi.slice(2).replace(/Once$/,""),(0,ri.$3)(ui,mi[0].toLowerCase()+mi.slice(1))||(0,ri.$3)(ui,(0,ri.Tg)(mi))||(0,ri.$3)(ui,mi))}let Do=null,ra=null;function rl(ui){const mi=Do;return Do=ui,ra=ui&&ui.type.__scopeId||null,mi}function bl(ui){ra=ui}function nu(){ra=null}const ec=ui=>su;function su(ui,mi=Do,Ei){if(!mi||ui._n)return ui;const Di=(...Ni)=>{Di._d&&Jf(-1);const Vi=rl(mi);let cn;try{cn=ui(...Ni)}finally{rl(Vi),Di._d&&Jf(1)}return cn};return Di._n=!0,Di._c=!0,Di._d=!0,Di}let Ta=!1;function La(){Ta=!0}function va(ui){const{type:mi,vnode:Ei,proxy:Di,withProxy:Ni,propsOptions:[Vi],slots:cn,attrs:An,emit:qn,render:Qn,renderCache:ds,props:Cn,data:is,setupState:Ss,ctx:qs,inheritAttrs:oo}=ui,Qo=rl(ui);let Vo,Os;try{if(Ei.shapeFlag&4){const js=Ni||Di,Ks=js;Vo=tl(Qn.call(Ks,js,ds,Cn,Ss,is,qs)),Os=An}else{const js=mi;Vo=tl(js.length>1?js(Cn,{attrs:An,slots:cn,emit:qn}):js(Cn,null)),Os=mi.props?An:Da(An)}}catch(js){bf.length=0,sn(js,ui,1),Vo=Ca(yl)}let os=Vo,bs;if(Os&&oo!==!1){const js=Object.keys(Os),{shapeFlag:Ks}=os;js.length&&Ks&7&&(Vi&&js.some(ri.CP)&&(Os=ru(Os,Vi)),os=cu(os,Os))}return Ei.dirs&&(os=cu(os),os.dirs=os.dirs?os.dirs.concat(Ei.dirs):Ei.dirs),Ei.transition&&(os.transition=Ei.transition),Vo=os,rl(Qo),Vo}const Ya=ui=>{const mi=ui.children,Ei=ui.dynamicChildren,Di=Zo(mi,!1);if(!Di)return[ui,void 0];const Ni=mi.indexOf(Di),Vi=Ei?Ei.indexOf(Di):-1,cn=An=>{mi[Ni]=An,Ei&&(Vi>-1?Ei[Vi]=An:An.patchFlag>0&&(ui.dynamicChildren=[...Ei,An]))};return[tl(Di),cn]};function Zo(ui,mi=!0){let Ei;for(let Di=0;Di<ui.length;Di++){const Ni=ui[Di];if(ku(Ni)){if(Ni.type!==yl||Ni.children==="v-if"){if(Ei)return;Ei=Ni}}else return}return Ei}const Da=ui=>{let mi;for(const Ei in ui)(Ei==="class"||Ei==="style"||(0,ri.Mp)(Ei))&&((mi||(mi={}))[Ei]=ui[Ei]);return mi},ru=(ui,mi)=>{const Ei={};for(const Di in ui)(!(0,ri.CP)(Di)||!(Di.slice(9)in mi))&&(Ei[Di]=ui[Di]);return Ei},Go=ui=>ui.shapeFlag&7||ui.type===yl;function Rc(ui,mi,Ei){const{props:Di,children:Ni,component:Vi}=ui,{props:cn,children:An,patchFlag:qn}=mi,Qn=Vi.emitsOptions;if(mi.dirs||mi.transition)return!0;if(Ei&&qn>=0){if(qn&1024)return!0;if(qn&16)return Di?El(Di,cn,Qn):!!cn;if(qn&8){const ds=mi.dynamicProps;for(let Cn=0;Cn<ds.length;Cn++){const is=ds[Cn];if(cn[is]!==Di[is]&&!sa(Qn,is))return!0}}}else return(Ni||An)&&(!An||!An.$stable)?!0:Di===cn?!1:Di?cn?El(Di,cn,Qn):!0:!!cn;return!1}function El(ui,mi,Ei){const Di=Object.keys(mi);if(Di.length!==Object.keys(ui).length)return!0;for(let Ni=0;Ni<Di.length;Ni++){const Vi=Di[Ni];if(mi[Vi]!==ui[Vi]&&!sa(Ei,Vi))return!0}return!1}function kl({vnode:ui,parent:mi},Ei){for(;mi;){const Di=mi.subTree;if(Di.suspense&&Di.suspense.activeBranch===ui&&(Di.el=ui.el),Di===ui)(ui=mi.vnode).el=Ei,mi=mi.parent;else break}}const tc="components",Mc="directives";function bc(ui,mi){return mo(tc,ui,!0,mi)||ui}const Yn=Symbol.for("v-ndc");function Ts(ui){return isString(ui)?mo(tc,ui,!1)||ui:ui||Yn}function Us(ui){return mo(Mc,ui)}function mo(ui,mi,Ei=!0,Di=!1){const Ni=Do||ga;if(Ni){const Vi=Ni.type;if(ui===tc){const An=Ju(Vi,!1);if(An&&(An===mi||An===(0,ri.PT)(mi)||An===(0,ri.ZH)((0,ri.PT)(mi))))return Vi}const cn=ma(Ni[ui]||Vi[ui],mi)||ma(Ni.appContext[ui],mi);return!cn&&Di?Vi:cn}}function ma(ui,mi){return ui&&(ui[mi]||ui[(0,ri.PT)(mi)]||ui[(0,ri.ZH)((0,ri.PT)(mi))])}const ea=ui=>ui.__isSuspense;let Ra=0;const Ka={name:"Suspense",__isSuspense:!0,process(ui,mi,Ei,Di,Ni,Vi,cn,An,qn,Qn){if(ui==null)Ml(mi,Ei,Di,Ni,Vi,cn,An,qn,Qn);else{if(Vi&&Vi.deps>0&&!ui.suspense.isInFallback){mi.suspense=ui.suspense,mi.suspense.vnode=mi,mi.el=ui.el;return}Oc(ui,mi,Ei,Di,Ni,cn,An,qn,Qn)}},hydrate:jd,create:Dc,normalize:Fc},ia=null;function Ul(ui,mi){const Ei=ui.props&&ui.props[mi];(0,ri.Tn)(Ei)&&Ei()}function Ml(ui,mi,Ei,Di,Ni,Vi,cn,An,qn){const{p:Qn,o:{createElement:ds}}=qn,Cn=ds("div"),is=ui.suspense=Dc(ui,Ni,Di,mi,Cn,Ei,Vi,cn,An,qn);Qn(null,is.pendingBranch=ui.ssContent,Cn,null,Di,is,Vi,cn),is.deps>0?(Ul(ui,"onPending"),Ul(ui,"onFallback"),Qn(null,ui.ssFallback,mi,Ei,Di,null,Vi,cn),Ja(is,ui.ssFallback)):is.resolve(!1,!0)}function Oc(ui,mi,Ei,Di,Ni,Vi,cn,An,{p:qn,um:Qn,o:{createElement:ds}}){const Cn=mi.suspense=ui.suspense;Cn.vnode=mi,mi.el=ui.el;const is=mi.ssContent,Ss=mi.ssFallback,{activeBranch:qs,pendingBranch:oo,isInFallback:Qo,isHydrating:Vo}=Cn;if(oo)Cn.pendingBranch=is,Vc(is,oo)?(qn(oo,is,Cn.hiddenContainer,null,Ni,Cn,Vi,cn,An),Cn.deps<=0?Cn.resolve():Qo&&(Vo||(qn(qs,Ss,Ei,Di,Ni,null,Vi,cn,An),Ja(Cn,Ss)))):(Cn.pendingId=Ra++,Vo?(Cn.isHydrating=!1,Cn.activeBranch=oo):Qn(oo,Ni,Cn),Cn.deps=0,Cn.effects.length=0,Cn.hiddenContainer=ds("div"),Qo?(qn(null,is,Cn.hiddenContainer,null,Ni,Cn,Vi,cn,An),Cn.deps<=0?Cn.resolve():(qn(qs,Ss,Ei,Di,Ni,null,Vi,cn,An),Ja(Cn,Ss))):qs&&Vc(is,qs)?(qn(qs,is,Ei,Di,Ni,Cn,Vi,cn,An),Cn.resolve(!0)):(qn(null,is,Cn.hiddenContainer,null,Ni,Cn,Vi,cn,An),Cn.deps<=0&&Cn.resolve()));else if(qs&&Vc(is,qs))qn(qs,is,Ei,Di,Ni,Cn,Vi,cn,An),Ja(Cn,is);else if(Ul(mi,"onPending"),Cn.pendingBranch=is,is.shapeFlag&512?Cn.pendingId=is.component.suspenseId:Cn.pendingId=Ra++,qn(null,is,Cn.hiddenContainer,null,Ni,Cn,Vi,cn,An),Cn.deps<=0)Cn.resolve();else{const{timeout:Os,pendingId:os}=Cn;Os>0?setTimeout(()=>{Cn.pendingId===os&&Cn.fallback(Ss)},Os):Os===0&&Cn.fallback(Ss)}}let xa=!1;function Dc(ui,mi,Ei,Di,Ni,Vi,cn,An,qn,Qn,ds=!1){const{p:Cn,m:is,um:Ss,n:qs,o:{parentNode:oo,remove:Qo}}=Qn;let Vo;const Os=vu(ui);Os&&mi?.pendingBranch&&(Vo=mi.pendingId,mi.deps++);const os=ui.props?(0,ri.Ro)(ui.props.timeout):void 0,bs=Vi,js={vnode:ui,parent:mi,parentComponent:Ei,namespace:cn,container:Di,hiddenContainer:Ni,deps:0,pendingId:Ra++,timeout:typeof os=="number"?os:-1,activeBranch:null,pendingBranch:null,isInFallback:!ds,isHydrating:ds,isUnmounted:!1,effects:[],resolve(Ks=!1,Ns=!1){const{vnode:Gs,activeBranch:Gr,pendingBranch:eo,pendingId:To,effects:fa,parentComponent:aa,container:Pa}=js;let Va=!1;js.isHydrating?js.isHydrating=!1:Ks||(Va=Gr&&eo.transition&&eo.transition.mode==="out-in",Va&&(Gr.transition.afterLeave=()=>{To===js.pendingId&&(is(eo,Pa,Vi===bs?qs(Gr):Vi,0),an(fa))}),Gr&&(oo(Gr.el)!==js.hiddenContainer&&(Vi=qs(Gr)),Ss(Gr,aa,js,!0)),Va||is(eo,Pa,Vi,0)),Ja(js,eo),js.pendingBranch=null,js.isInFallback=!1;let wo=js.parent,Yo=!1;for(;wo;){if(wo.pendingBranch){wo.effects.push(...fa),Yo=!0;break}wo=wo.parent}!Yo&&!Va&&an(fa),js.effects=[],Os&&mi&&mi.pendingBranch&&Vo===mi.pendingId&&(mi.deps--,mi.deps===0&&!Ns&&mi.resolve()),Ul(Gs,"onResolve")},fallback(Ks){if(!js.pendingBranch)return;const{vnode:Ns,activeBranch:Gs,parentComponent:Gr,container:eo,namespace:To}=js;Ul(Ns,"onFallback");const fa=qs(Gs),aa=()=>{js.isInFallback&&(Cn(null,Ks,eo,fa,Gr,null,To,An,qn),Ja(js,Ks))},Pa=Ks.transition&&Ks.transition.mode==="out-in";Pa&&(Gs.transition.afterLeave=aa),js.isInFallback=!0,Ss(Gs,Gr,null,!0),Pa||aa()},move(Ks,Ns,Gs){js.activeBranch&&is(js.activeBranch,Ks,Ns,Gs),js.container=Ks},next(){return js.activeBranch&&qs(js.activeBranch)},registerDep(Ks,Ns){const Gs=!!js.pendingBranch;Gs&&js.deps++;const Gr=Ks.vnode.el;Ks.asyncDep.catch(eo=>{sn(eo,Ks,0)}).then(eo=>{if(Ks.isUnmounted||js.isUnmounted||js.pendingId!==Ks.suspenseId)return;Ks.asyncResolved=!0;const{vnode:To}=Ks;Eh(Ks,eo,!1),Gr&&(To.el=Gr);const fa=!Gr&&Ks.subTree.el;Ns(Ks,To,oo(Gr||Ks.subTree.el),Gr?null:qs(Ks.subTree),js,cn,qn),fa&&Qo(fa),kl(Ks,To.el),Gs&&--js.deps===0&&js.resolve()})},unmount(Ks,Ns){js.isUnmounted=!0,js.activeBranch&&Ss(js.activeBranch,Ei,Ks,Ns),js.pendingBranch&&Ss(js.pendingBranch,Ei,Ks,Ns)}};return js}function jd(ui,mi,Ei,Di,Ni,Vi,cn,An,qn){const Qn=mi.suspense=Dc(mi,Di,Ei,ui.parentNode,document.createElement("div"),null,Ni,Vi,cn,An,!0),ds=qn(ui,Qn.pendingBranch=mi.ssContent,Ei,Qn,Vi,cn);return Qn.deps===0&&Qn.resolve(!1,!0),ds}function Fc(ui){const{shapeFlag:mi,children:Ei}=ui,Di=mi&32;ui.ssContent=Iu(Di?Ei.default:Ei),ui.ssFallback=Di?Iu(Ei.fallback):Ca(yl)}function Iu(ui){let mi;if((0,ri.Tn)(ui)){const Ei=ql&&ui._c;Ei&&(ui._d=!1,bh()),ui=ui(),Ei&&(ui._d=!0,mi=Xl,xc())}return(0,ri.cy)(ui)&&(ui=Zo(ui)),ui=tl(ui),mi&&!ui.dynamicChildren&&(ui.dynamicChildren=mi.filter(Ei=>Ei!==ui)),ui}function cf(ui,mi){mi&&mi.pendingBranch?(0,ri.cy)(ui)?mi.effects.push(...ui):mi.effects.push(ui):an(ui)}function Ja(ui,mi){ui.activeBranch=mi;const{vnode:Ei,parentComponent:Di}=ui;let Ni=mi.el;for(;!Ni&&mi.component;)mi=mi.component.subTree,Ni=mi.el;Ei.el=Ni,Di&&Di.subTree===Ei&&(Di.vnode.el=Ni,kl(Di,Ni))}function vu(ui){var mi;return((mi=ui.props)==null?void 0:mi.suspensible)!=null&&ui.props.suspensible!==!1}const Sd=Symbol.for("v-scx"),Pu=()=>{{const ui=rc(Sd);return ui}};function Cd(ui,mi){return As(ui,null,mi)}function ln(ui,mi){return As(ui,null,{flush:"post"})}function Tn(ui,mi){return As(ui,null,{flush:"sync"})}const ts={};function xs(ui,mi,Ei){return As(ui,mi,Ei)}function As(ui,mi,{immediate:Ei,deep:Di,flush:Ni,once:Vi,onTrack:cn,onTrigger:An}=ri.MZ){if(mi&&Vi){const Ns=mi;mi=(...Gs)=>{Ns(...Gs),Ks()}}const qn=Ns=>{tn("Invalid watch source: ",Ns,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},Qn=ga,ds=Ns=>Di===!0?Ns:qo(Ns,Di===!1?1:void 0);let Cn,is=!1,Ss=!1;if((0,vi.i9)(ui)?(Cn=()=>ui.value,is=(0,vi.fE)(ui)):(0,vi.g8)(ui)?(Cn=()=>ds(ui),is=!0):(0,ri.cy)(ui)?(Ss=!0,is=ui.some(Ns=>(0,vi.g8)(Ns)||(0,vi.fE)(Ns)),Cn=()=>ui.map(Ns=>{if((0,vi.i9)(Ns))return Ns.value;if((0,vi.g8)(Ns))return ds(Ns);if((0,ri.Tn)(Ns))return En(Ns,Qn,2)})):(0,ri.Tn)(ui)?mi?Cn=()=>En(ui,Qn,2):Cn=()=>(qs&&qs(),qi(ui,Qn,3,[oo])):Cn=ri.tE,mi&&Di){const Ns=Cn;Cn=()=>qo(Ns())}let qs,oo=Ns=>{qs=bs.onStop=()=>{En(Ns,Qn,4),qs=bs.onStop=void 0}},Qo;if(id)if(oo=ri.tE,mi?Ei&&qi(mi,Qn,3,[Cn(),Ss?[]:void 0,oo]):Cn(),Ni==="sync"){const Ns=Pu();Qo=Ns.__watcherHandles||(Ns.__watcherHandles=[])}else return ri.tE;let Vo=Ss?new Array(ui.length).fill(ts):ts;const Os=()=>{if(!(!bs.active||!bs.dirty))if(mi){const Ns=bs.run();(Di||is||(Ss?Ns.some((Gs,Gr)=>(0,ri.$H)(Gs,Vo[Gr])):(0,ri.$H)(Ns,Vo)))&&(qs&&qs(),qi(mi,Qn,3,[Ns,Vo===ts?void 0:Ss&&Vo[0]===ts?[]:Vo,oo]),Vo=Ns)}else bs.run()};Os.allowRecurse=!!mi;let os;Ni==="sync"?os=Os:Ni==="post"?os=()=>el(Os,Qn&&Qn.suspense):(Os.pre=!0,Qn&&(Os.id=Qn.uid),os=()=>Ri(Os));const bs=new vi.X2(Cn,ri.tE,os),js=(0,vi.o5)(),Ks=()=>{bs.stop(),js&&(0,ri.TF)(js.effects,bs)};return mi?Ei?Os():Vo=bs.run():Ni==="post"?el(bs.run.bind(bs),Qn&&Qn.suspense):bs.run(),Qo&&Qo.push(Ks),Ks}function Bs(ui,mi,Ei){const Di=this.proxy,Ni=(0,ri.Kg)(ui)?ui.includes(".")?Eo(Di,ui):()=>Di[ui]:ui.bind(Di,Di);let Vi;(0,ri.Tn)(mi)?Vi=mi:(Vi=mi.handler,Ei=mi);const cn=Tu(this),An=As(Ni,Vi.bind(Di),Ei);return cn(),An}function Eo(ui,mi){const Ei=mi.split(".");return()=>{let Di=ui;for(let Ni=0;Ni<Ei.length&&Di;Ni++)Di=Di[Ei[Ni]];return Di}}function qo(ui,mi,Ei=0,Di){if(!(0,ri.Gv)(ui)||ui.__v_skip)return ui;if(mi&&mi>0){if(Ei>=mi)return ui;Ei++}if(Di=Di||new Set,Di.has(ui))return ui;if(Di.add(ui),(0,vi.i9)(ui))qo(ui.value,mi,Ei,Di);else if((0,ri.cy)(ui))for(let Ni=0;Ni<ui.length;Ni++)qo(ui[Ni],mi,Ei,Di);else if((0,ri.vM)(ui)||(0,ri.CE)(ui))ui.forEach(Ni=>{qo(Ni,mi,Ei,Di)});else if((0,ri.Qd)(ui))for(const Ni in ui)qo(ui[Ni],mi,Ei,Di);return ui}function Wa(ui){isBuiltInDirective(ui)&&tn("Do not use built-in directive ids as custom directive id: "+ui)}function _c(ui,mi){if(Do===null)return ui;const Ei=nd(Do)||Do.proxy,Di=ui.dirs||(ui.dirs=[]);for(let Ni=0;Ni<mi.length;Ni++){let[Vi,cn,An,qn=ri.MZ]=mi[Ni];Vi&&((0,ri.Tn)(Vi)&&(Vi={mounted:Vi,updated:Vi}),Vi.deep&&qo(cn),Di.push({dir:Vi,instance:Ei,value:cn,oldValue:void 0,arg:An,modifiers:qn}))}return ui}function ba(ui,mi,Ei,Di){const Ni=ui.dirs,Vi=mi&&mi.dirs;for(let cn=0;cn<Ni.length;cn++){const An=Ni[cn];Vi&&(An.oldValue=Vi[cn].value);let qn=An.dir[Di];qn&&((0,vi.C4)(),qi(qn,Ei,8,[ui.el,An,ui,mi]),(0,vi.bl)())}}const ol=Symbol("_leaveCb"),Al=Symbol("_enterCb");function uf(){const ui={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bu(()=>{ui.isMounted=!0}),Dl(()=>{ui.isUnmounting=!0}),ui}const Tl=[Function,Array],qu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Tl,onEnter:Tl,onAfterEnter:Tl,onEnterCancelled:Tl,onBeforeLeave:Tl,onLeave:Tl,onAfterLeave:Tl,onLeaveCancelled:Tl,onBeforeAppear:Tl,onAppear:Tl,onAfterAppear:Tl,onAppearCancelled:Tl},ff={name:"BaseTransition",props:qu,setup(ui,{slots:mi}){const Ei=_f(),Di=uf();return()=>{const Ni=mi.default&&bu(mi.default(),!0);if(!Ni||!Ni.length)return;let Vi=Ni[0];if(Ni.length>1){let is=!1;for(const Ss of Ni)if(Ss.type!==yl){Vi=Ss,is=!0;break}}const cn=(0,vi.ux)(ui),{mode:An}=cn;if(Di.isLeaving)return Nf(Vi);const qn=Ic(Vi);if(!qn)return Nf(Vi);const Qn=Wl(qn,cn,Di,Ei);Ol(qn,Qn);const ds=Ei.subTree,Cn=ds&&Ic(ds);if(Cn&&Cn.type!==yl&&!Vc(qn,Cn)){const is=Wl(Cn,cn,Di,Ei);if(Ol(Cn,is),An==="out-in")return Di.isLeaving=!0,is.afterLeave=()=>{Di.isLeaving=!1,Ei.update.active!==!1&&(Ei.effect.dirty=!0,Ei.update())},Nf(Vi);An==="in-out"&&qn.type!==yl&&(is.delayLeave=(Ss,qs,oo)=>{const Qo=Na(Di,Cn);Qo[String(Cn.key)]=Cn,Ss[ol]=()=>{qs(),Ss[ol]=void 0,delete Qn.delayedLeave},Qn.delayedLeave=oo})}return Vi}}};function Na(ui,mi){const{leavingVNodes:Ei}=ui;let Di=Ei.get(mi.type);return Di||(Di=Object.create(null),Ei.set(mi.type,Di)),Di}function Wl(ui,mi,Ei,Di){const{appear:Ni,mode:Vi,persisted:cn=!1,onBeforeEnter:An,onEnter:qn,onAfterEnter:Qn,onEnterCancelled:ds,onBeforeLeave:Cn,onLeave:is,onAfterLeave:Ss,onLeaveCancelled:qs,onBeforeAppear:oo,onAppear:Qo,onAfterAppear:Vo,onAppearCancelled:Os}=mi,os=String(ui.key),bs=Na(Ei,ui),js=(Gs,Gr)=>{Gs&&qi(Gs,Di,9,Gr)},Ks=(Gs,Gr)=>{const eo=Gr[1];js(Gs,Gr),(0,ri.cy)(Gs)?Gs.every(To=>To.length<=1)&&eo():Gs.length<=1&&eo()},Ns={mode:Vi,persisted:cn,beforeEnter(Gs){let Gr=An;if(!Ei.isMounted)if(Ni)Gr=oo||An;else return;Gs[ol]&&Gs[ol](!0);const eo=bs[os];eo&&Vc(ui,eo)&&eo.el[ol]&&eo.el[ol](),js(Gr,[Gs])},enter(Gs){let Gr=qn,eo=Qn,To=ds;if(!Ei.isMounted)if(Ni)Gr=Qo||qn,eo=Vo||Qn,To=Os||ds;else return;let fa=!1;const aa=Gs[Al]=Pa=>{fa||(fa=!0,Pa?js(To,[Gs]):js(eo,[Gs]),Ns.delayedLeave&&Ns.delayedLeave(),Gs[Al]=void 0)};Gr?Ks(Gr,[Gs,aa]):aa()},leave(Gs,Gr){const eo=String(ui.key);if(Gs[Al]&&Gs[Al](!0),Ei.isUnmounting)return Gr();js(Cn,[Gs]);let To=!1;const fa=Gs[ol]=aa=>{To||(To=!0,Gr(),aa?js(qs,[Gs]):js(Ss,[Gs]),Gs[ol]=void 0,bs[eo]===ui&&delete bs[eo])};bs[eo]=ui,is?Ks(is,[Gs,fa]):fa()},clone(Gs){return Wl(Gs,mi,Ei,Di)}};return Ns}function Nf(ui){if(ou(ui))return ui=cu(ui),ui.children=null,ui}function Ic(ui){if(!ou(ui))return ui;const{shapeFlag:mi,children:Ei}=ui;if(Ei){if(mi&16)return Ei[0];if(mi&32&&(0,ri.Tn)(Ei.default))return Ei.default()}}function Ol(ui,mi){ui.shapeFlag&6&&ui.component?Ol(ui.component.subTree,mi):ui.shapeFlag&128?(ui.ssContent.transition=mi.clone(ui.ssContent),ui.ssFallback.transition=mi.clone(ui.ssFallback)):ui.transition=mi}function bu(ui,mi=!1,Ei){let Di=[],Ni=0;for(let Vi=0;Vi<ui.length;Vi++){let cn=ui[Vi];const An=Ei==null?cn.key:String(Ei)+String(cn.key!=null?cn.key:Vi);cn.type===$a?(cn.patchFlag&128&&Ni++,Di=Di.concat(bu(cn.children,mi,An))):(mi||cn.type!==yl)&&Di.push(An!=null?cu(cn,{key:An}):cn)}if(Ni>1)for(let Vi=0;Vi<Di.length;Vi++)Di[Vi].patchFlag=-2;return Di}function Ed(ui,mi){return(0,ri.Tn)(ui)?(0,ri.X$)({name:ui.name},mi,{setup:ui}):ui}const zl=ui=>!!ui.type.__asyncLoader;function kd(ui){isFunction(ui)&&(ui={loader:ui});const{loader:mi,loadingComponent:Ei,errorComponent:Di,delay:Ni=200,timeout:Vi,suspensible:cn=!0,onError:An}=ui;let qn=null,Qn,ds=0;const Cn=()=>(ds++,qn=null,is()),is=()=>{let Ss;return qn||(Ss=qn=mi().catch(qs=>{if(qs=qs instanceof Error?qs:new Error(String(qs)),An)return new Promise((oo,Qo)=>{An(qs,()=>oo(Cn()),()=>Qo(qs),ds+1)});throw qs}).then(qs=>Ss!==qn&&qn?qn:(qs&&(qs.__esModule||qs[Symbol.toStringTag]==="Module")&&(qs=qs.default),Qn=qs,qs)))};return Ed({name:"AsyncComponentWrapper",__asyncLoader:is,get __asyncResolved(){return Qn},setup(){const Ss=ga;if(Qn)return()=>_u(Qn,Ss);const qs=Os=>{qn=null,sn(Os,Ss,13,!Di)};if(cn&&Ss.suspense||id)return is().then(Os=>()=>_u(Os,Ss)).catch(Os=>(qs(Os),()=>Di?Ca(Di,{error:Os}):null));const oo=ref(!1),Qo=ref(),Vo=ref(!!Ni);return Ni&&setTimeout(()=>{Vo.value=!1},Ni),Vi!=null&&setTimeout(()=>{if(!oo.value&&!Qo.value){const Os=new Error(`Async component timed out after ${Vi}ms.`);qs(Os),Qo.value=Os}},Vi),is().then(()=>{oo.value=!0,Ss.parent&&ou(Ss.parent.vnode)&&(Ss.parent.effect.dirty=!0,Ri(Ss.parent.update))}).catch(Os=>{qs(Os),Qo.value=Os}),()=>{if(oo.value&&Qn)return _u(Qn,Ss);if(Qo.value&&Di)return Ca(Di,{error:Qo.value});if(Ei&&!Vo.value)return Ca(Ei)}}})}function _u(ui,mi){const{ref:Ei,props:Di,children:Ni,ce:Vi}=mi.vnode,cn=Ca(ui,Di,Ni);return cn.ref=Ei,cn.ce=Vi,delete mi.vnode.ce,cn}const ou=ui=>ui.type.__isKeepAlive,fh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(ui,{slots:mi}){const Ei=_f(),Di=Ei.ctx;if(!Di.renderer)return()=>{const Os=mi.default&&mi.default();return Os&&Os.length===1?Os[0]:Os};const Ni=new Map,Vi=new Set;let cn=null;const An=Ei.suspense,{renderer:{p:qn,m:Qn,um:ds,o:{createElement:Cn}}}=Di,is=Cn("div");Di.activate=(Os,os,bs,js,Ks)=>{const Ns=Os.component;Qn(Os,os,bs,0,An),qn(Ns.vnode,Os,os,bs,Ns,An,js,Os.slotScopeIds,Ks),el(()=>{Ns.isDeactivated=!1,Ns.a&&(0,ri.DY)(Ns.a);const Gs=Os.props&&Os.props.onVnodeMounted;Gs&&Nl(Gs,Ns.parent,Os)},An)},Di.deactivate=Os=>{const os=Os.component;Qn(Os,is,null,1,An),el(()=>{os.da&&(0,ri.DY)(os.da);const bs=Os.props&&Os.props.onVnodeUnmounted;bs&&Nl(bs,os.parent,Os),os.isDeactivated=!0},An)};function Ss(Os){wu(Os),ds(Os,Ei,An,!0)}function qs(Os){Ni.forEach((os,bs)=>{const js=Ju(os.type);js&&(!Os||!Os(js))&&oo(bs)})}function oo(Os){const os=Ni.get(Os);!cn||!Vc(os,cn)?Ss(os):cn&&wu(cn),Ni.delete(Os),Vi.delete(Os)}xs(()=>[ui.include,ui.exclude],([Os,os])=>{Os&&qs(bs=>yu(Os,bs)),os&&qs(bs=>!yu(os,bs))},{flush:"post",deep:!0});let Qo=null;const Vo=()=>{Qo!=null&&Ni.set(Qo,xu(Ei.subTree))};return Bu(Vo),Pc(Vo),Dl(()=>{Ni.forEach(Os=>{const{subTree:os,suspense:bs}=Ei,js=xu(os);if(Os.type===js.type&&Os.key===js.key){wu(js);const Ks=js.component.da;Ks&&el(Ks,bs);return}Ss(Os)})}),()=>{if(Qo=null,!mi.default)return cn=null;const Os=mi.default(),os=Os[0];if(Os.length>1)return cn=null,Os;if(!ku(os)||!(os.shapeFlag&4)&&!(os.shapeFlag&128))return cn=null,os;let bs=xu(os);const js=bs.type,Ks=Ju(zl(bs)?bs.type.__asyncResolved||{}:js),{include:Ns,exclude:Gs,max:Gr}=ui;if(Ns&&(!Ks||!yu(Ns,Ks))||Gs&&Ks&&yu(Gs,Ks))return cn=bs,os;const eo=bs.key==null?js:bs.key,To=Ni.get(eo);return bs.el&&(bs=cu(bs),os.shapeFlag&128&&(os.ssContent=bs)),Qo=eo,To?(bs.el=To.el,bs.component=To.component,bs.transition&&Ol(bs,bs.transition),bs.shapeFlag|=512,Vi.delete(eo),Vi.add(eo)):(Vi.add(eo),Gr&&Vi.size>parseInt(Gr,10)&&oo(Vi.values().next().value)),bs.shapeFlag|=256,cn=bs,ea(os.type)?os:bs}}},cm=null;function yu(ui,mi){return(0,ri.cy)(ui)?ui.some(Ei=>yu(Ei,mi)):(0,ri.Kg)(ui)?ui.split(",").includes(mi):(0,ri.gd)(ui)?ui.test(mi):!1}function dh(ui,mi){au(ui,"a",mi)}function Bf(ui,mi){au(ui,"da",mi)}function au(ui,mi,Ei=ga){const Di=ui.__wdc||(ui.__wdc=()=>{let Ni=Ei;for(;Ni;){if(Ni.isDeactivated)return;Ni=Ni.parent}return ui()});if(Nu(mi,Di,Ei),Ei){let Ni=Ei.parent;for(;Ni&&Ni.parent;)ou(Ni.parent.vnode)&&df(Di,mi,Ei,Ni),Ni=Ni.parent}}function df(ui,mi,Ei,Di){const Ni=Nu(mi,ui,Di,!0);$u(()=>{(0,ri.TF)(Di[mi],Ni)},Ei)}function wu(ui){ui.shapeFlag&=-257,ui.shapeFlag&=-513}function xu(ui){return ui.shapeFlag&128?ui.ssContent:ui}function Nu(ui,mi,Ei=ga,Di=!1){if(Ei){const Ni=Ei[ui]||(Ei[ui]=[]),Vi=mi.__weh||(mi.__weh=(...cn)=>{if(Ei.isUnmounted)return;(0,vi.C4)();const An=Tu(Ei),qn=qi(mi,Ei,ui,cn);return An(),(0,vi.bl)(),qn});return Di?Ni.unshift(Vi):Ni.push(Vi),Vi}}const ic=ui=>(mi,Ei=ga)=>(!id||ui==="sp")&&Nu(ui,(...Di)=>mi(...Di),Ei),Ad=ic("bm"),Bu=ic("m"),Hu=ic("bu"),Pc=ic("u"),Dl=ic("bum"),$u=ic("um"),Td=ic("sp"),Ld=ic("rtg"),Hf=ic("rtc");function hh(ui,mi=ga){Nu("ec",ui,mi)}function hf(ui,mi,Ei,Di){let Ni;const Vi=Ei&&Ei[Di];if((0,ri.cy)(ui)||(0,ri.Kg)(ui)){Ni=new Array(ui.length);for(let cn=0,An=ui.length;cn<An;cn++)Ni[cn]=mi(ui[cn],cn,void 0,Vi&&Vi[cn])}else if(typeof ui=="number"){Ni=new Array(ui);for(let cn=0;cn<ui;cn++)Ni[cn]=mi(cn+1,cn,void 0,Vi&&Vi[cn])}else if((0,ri.Gv)(ui))if(ui[Symbol.iterator])Ni=Array.from(ui,(cn,An)=>mi(cn,An,void 0,Vi&&Vi[An]));else{const cn=Object.keys(ui);Ni=new Array(cn.length);for(let An=0,qn=cn.length;An<qn;An++){const Qn=cn[An];Ni[An]=mi(ui[Qn],Qn,An,Vi&&Vi[An])}}else Ni=[];return Ei&&(Ei[Di]=Ni),Ni}function um(ui,mi){for(let Ei=0;Ei<mi.length;Ei++){const Di=mi[Ei];if(isArray(Di))for(let Ni=0;Ni<Di.length;Ni++)ui[Di[Ni].name]=Di[Ni].fn;else Di&&(ui[Di.name]=Di.key?(...Ni)=>{const Vi=Di.fn(...Ni);return Vi&&(Vi.key=Di.key),Vi}:Di.fn)}return ui}function Vu(ui,mi,Ei={},Di,Ni){if(Do.isCE||Do.parent&&zl(Do.parent)&&Do.parent.isCE)return mi!=="default"&&(Ei.name=mi),Ca("slot",Ei,Di&&Di());let Vi=ui[mi];Vi&&Vi._c&&(Vi._d=!1),bh();const cn=Vi&&$f(Vi(Ei)),An=_h($a,{key:Ei.key||cn&&cn.key||`_${mi}`},cn||(Di?Di():[]),cn&&ui._===1?64:-2);return!Ni&&An.scopeId&&(An.slotScopeIds=[An.scopeId+"-s"]),Vi&&Vi._c&&(Vi._d=!0),An}function $f(ui){return ui.some(mi=>ku(mi)?!(mi.type===yl||mi.type===$a&&!$f(mi.children)):!0)?ui:null}function Rd(ui,mi){const Ei={};for(const Di in ui)Ei[mi&&/[A-Z]/.test(Di)?`on:${Di}`:toHandlerKey(Di)]=ui[Di];return Ei}const Md=ui=>ui?wm(ui)?nd(ui)||ui.proxy:Md(ui.parent):null,qc=(0,ri.X$)(Object.create(null),{$:ui=>ui,$el:ui=>ui.vnode.el,$data:ui=>ui.data,$props:ui=>ui.props,$attrs:ui=>ui.attrs,$slots:ui=>ui.slots,$refs:ui=>ui.refs,$parent:ui=>Md(ui.parent),$root:ui=>Md(ui.root),$emit:ui=>ui.emit,$options:ui=>Nc(ui),$forceUpdate:ui=>ui.f||(ui.f=()=>{ui.effect.dirty=!0,Ri(ui.update)}),$nextTick:ui=>ui.n||(ui.n=nn.bind(ui.proxy)),$watch:ui=>Bs.bind(ui)}),Od=ui=>ui==="_"||ui==="$",ci=(ui,mi)=>ui!==ri.MZ&&!ui.__isScriptSetup&&(0,ri.$3)(ui,mi),di={get({_:ui},mi){if(mi==="__v_skip")return!0;const{ctx:Ei,setupState:Di,data:Ni,props:Vi,accessCache:cn,type:An,appContext:qn}=ui;let Qn;if(mi[0]!=="$"){const Ss=cn[mi];if(Ss!==void 0)switch(Ss){case 1:return Di[mi];case 2:return Ni[mi];case 4:return Ei[mi];case 3:return Vi[mi]}else{if(ci(Di,mi))return cn[mi]=1,Di[mi];if(Ni!==ri.MZ&&(0,ri.$3)(Ni,mi))return cn[mi]=2,Ni[mi];if((Qn=ui.propsOptions[0])&&(0,ri.$3)(Qn,mi))return cn[mi]=3,Vi[mi];if(Ei!==ri.MZ&&(0,ri.$3)(Ei,mi))return cn[mi]=4,Ei[mi];Xo&&(cn[mi]=0)}}const ds=qc[mi];let Cn,is;if(ds)return mi==="$attrs"&&(0,vi.u4)(ui.attrs,"get",""),ds(ui);if((Cn=An.__cssModules)&&(Cn=Cn[mi]))return Cn;if(Ei!==ri.MZ&&(0,ri.$3)(Ei,mi))return cn[mi]=4,Ei[mi];if(is=qn.config.globalProperties,(0,ri.$3)(is,mi))return is[mi]},set({_:ui},mi,Ei){const{data:Di,setupState:Ni,ctx:Vi}=ui;return ci(Ni,mi)?(Ni[mi]=Ei,!0):Di!==ri.MZ&&(0,ri.$3)(Di,mi)?(Di[mi]=Ei,!0):(0,ri.$3)(ui.props,mi)||mi[0]==="$"&&mi.slice(1)in ui?!1:(Vi[mi]=Ei,!0)},has({_:{data:ui,setupState:mi,accessCache:Ei,ctx:Di,appContext:Ni,propsOptions:Vi}},cn){let An;return!!Ei[cn]||ui!==ri.MZ&&(0,ri.$3)(ui,cn)||ci(mi,cn)||(An=Vi[0])&&(0,ri.$3)(An,cn)||(0,ri.$3)(Di,cn)||(0,ri.$3)(qc,cn)||(0,ri.$3)(Ni.config.globalProperties,cn)},defineProperty(ui,mi,Ei){return Ei.get!=null?ui._.accessCache[mi]=0:(0,ri.$3)(Ei,"value")&&this.set(ui,mi,Ei.value,null),Reflect.defineProperty(ui,mi,Ei)}},xi=(0,ri.X$)({},di,{get(ui,mi){if(mi!==Symbol.unscopables)return di.get(ui,mi,ui)},has(ui,mi){return mi[0]!=="_"&&!(0,ri.BH)(mi)}});function Ci(ui){const mi={};return Object.defineProperty(mi,"_",{configurable:!0,enumerable:!1,get:()=>ui}),Object.keys(qc).forEach(Ei=>{Object.defineProperty(mi,Ei,{configurable:!0,enumerable:!1,get:()=>qc[Ei](ui),set:NOOP})}),mi}function Ii(ui){const{ctx:mi,propsOptions:[Ei]}=ui;Ei&&Object.keys(Ei).forEach(Di=>{Object.defineProperty(mi,Di,{enumerable:!0,configurable:!0,get:()=>ui.props[Di],set:NOOP})})}function Pi(ui){const{ctx:mi,setupState:Ei}=ui;Object.keys(toRaw(Ei)).forEach(Di=>{if(!Ei.__isScriptSetup){if(Od(Di[0])){tn(`setup() return property ${JSON.stringify(Di)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(mi,Di,{enumerable:!0,configurable:!0,get:()=>Ei[Di],set:NOOP})}})}const Ui=ui=>tn(`${ui}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function Sn(){return null}function vn(){return null}function Hn(ui){}function as(ui){}function vs(){return null}function ns(){}function gs(ui,mi){return null}function Lo(){return Fo().slots}function Ko(){return Fo().attrs}function Fo(){const ui=_f();return ui.setupContext||(ui.setupContext=Ap(ui))}function Fa(ui){return(0,ri.cy)(ui)?ui.reduce((mi,Ei)=>(mi[Ei]=null,mi),{}):ui}function Ba(ui,mi){const Ei=Fa(ui);for(const Di in mi){if(Di.startsWith("__skip"))continue;let Ni=Ei[Di];Ni?isArray(Ni)||isFunction(Ni)?Ni=Ei[Di]={type:Ni,default:mi[Di]}:Ni.default=mi[Di]:Ni===null&&(Ni=Ei[Di]={default:mi[Di]}),Ni&&mi[`__skip_${Di}`]&&(Ni.skipFactory=!0)}return Ei}function yc(ui,mi){return!ui||!mi?ui||mi:isArray(ui)&&isArray(mi)?ui.concat(mi):extend({},Fa(ui),Fa(mi))}function Kl(ui,mi){const Ei={};for(const Di in ui)mi.includes(Di)||Object.defineProperty(Ei,Di,{enumerable:!0,get:()=>ui[Di]});return Ei}function Bo(ui){const mi=_f();let Ei=ui();return td(),isPromise(Ei)&&(Ei=Ei.catch(Di=>{throw Tu(mi),Di})),[Ei,()=>Tu(mi)]}function Ia(){const ui=Object.create(null);return(mi,Ei)=>{ui[Ei]?tn(`${mi} property "${Ei}" is already defined in ${ui[Ei]}.`):ui[Ei]=mi}}let Xo=!0;function Ma(ui){const mi=Nc(ui),Ei=ui.proxy,Di=ui.ctx;Xo=!1,mi.beforeCreate&&mf(mi.beforeCreate,ui,"bc");const{data:Ni,computed:Vi,methods:cn,watch:An,provide:qn,inject:Qn,created:ds,beforeMount:Cn,mounted:is,beforeUpdate:Ss,updated:qs,activated:oo,deactivated:Qo,beforeDestroy:Vo,beforeUnmount:Os,destroyed:os,unmounted:bs,render:js,renderTracked:Ks,renderTriggered:Ns,errorCaptured:Gs,serverPrefetch:Gr,expose:eo,inheritAttrs:To,components:fa,directives:aa,filters:Pa}=mi;if(Qn&&ju(Qn,Di,null),cn)for(const Yo in cn){const jo=cn[Yo];(0,ri.Tn)(jo)&&(Di[Yo]=jo.bind(Ei))}if(Ni){const Yo=Ni.call(Ei,Ei);(0,ri.Gv)(Yo)&&(ui.data=(0,vi.Kh)(Yo))}if(Xo=!0,Vi)for(const Yo in Vi){const jo=Vi[Yo],jc=(0,ri.Tn)(jo)?jo.bind(Ei,Ei):(0,ri.Tn)(jo.get)?jo.get.bind(Ei,Ei):ri.tE,Zu=!(0,ri.Tn)(jo)&&(0,ri.Tn)(jo.set)?jo.set.bind(Ei):ri.tE,sd=Ah({get:jc,set:Zu});Object.defineProperty(Di,Yo,{enumerable:!0,configurable:!0,get:()=>sd.value,set:ef=>sd.value=ef})}if(An)for(const Yo in An)nc(An[Yo],Di,Ei,Yo);if(qn){const Yo=(0,ri.Tn)(qn)?qn.call(Ei):qn;Reflect.ownKeys(Yo).forEach(jo=>{Uu(jo,Yo[jo])})}ds&&mf(ds,ui,"c");function wo(Yo,jo){(0,ri.cy)(jo)?jo.forEach(jc=>Yo(jc.bind(Ei))):jo&&Yo(jo.bind(Ei))}if(wo(Ad,Cn),wo(Bu,is),wo(Hu,Ss),wo(Pc,qs),wo(dh,oo),wo(Bf,Qo),wo(hh,Gs),wo(Hf,Ks),wo(Ld,Ns),wo(Dl,Os),wo($u,bs),wo(Td,Gr),(0,ri.cy)(eo))if(eo.length){const Yo=ui.exposed||(ui.exposed={});eo.forEach(jo=>{Object.defineProperty(Yo,jo,{get:()=>Ei[jo],set:jc=>Ei[jo]=jc})})}else ui.exposed||(ui.exposed={});js&&ui.render===ri.tE&&(ui.render=js),To!=null&&(ui.inheritAttrs=To),fa&&(ui.components=fa),aa&&(ui.directives=aa)}function ju(ui,mi,Ei=ri.tE){(0,ri.cy)(ui)&&(ui=pf(ui));for(const Di in ui){const Ni=ui[Di];let Vi;(0,ri.Gv)(Ni)?"default"in Ni?Vi=rc(Ni.from||Di,Ni.default,!0):Vi=rc(Ni.from||Di):Vi=rc(Ni),(0,vi.i9)(Vi)?Object.defineProperty(mi,Di,{enumerable:!0,configurable:!0,get:()=>Vi.value,set:cn=>Vi.value=cn}):mi[Di]=Vi}}function mf(ui,mi,Ei){qi((0,ri.cy)(ui)?ui.map(Di=>Di.bind(mi.proxy)):ui.bind(mi.proxy),mi,Ei)}function nc(ui,mi,Ei,Di){const Ni=Di.includes(".")?Eo(Ei,Di):()=>Ei[Di];if((0,ri.Kg)(ui)){const Vi=mi[ui];(0,ri.Tn)(Vi)&&xs(Ni,Vi)}else if((0,ri.Tn)(ui))xs(Ni,ui.bind(Ei));else if((0,ri.Gv)(ui))if((0,ri.cy)(ui))ui.forEach(Vi=>nc(Vi,mi,Ei,Di));else{const Vi=(0,ri.Tn)(ui.handler)?ui.handler.bind(Ei):mi[ui.handler];(0,ri.Tn)(Vi)&&xs(Ni,Vi,ui)}}function Nc(ui){const mi=ui.type,{mixins:Ei,extends:Di}=mi,{mixins:Ni,optionsCache:Vi,config:{optionMergeStrategies:cn}}=ui.appContext,An=Vi.get(mi);let qn;return An?qn=An:!Ni.length&&!Ei&&!Di?qn=mi:(qn={},Ni.length&&Ni.forEach(Qn=>Fl(qn,Qn,cn,!0)),Fl(qn,mi,cn)),(0,ri.Gv)(mi)&&Vi.set(mi,qn),qn}function Fl(ui,mi,Ei,Di=!1){const{mixins:Ni,extends:Vi}=mi;Vi&&Fl(ui,Vi,Ei,!0),Ni&&Ni.forEach(cn=>Fl(ui,cn,Ei,!0));for(const cn in mi)if(!(Di&&cn==="expose")){const An=Bc[cn]||Ei&&Ei[cn];ui[cn]=An?An(ui[cn],mi[cn]):mi[cn]}return ui}const Bc={data:sc,props:Dd,emits:Dd,methods:Ll,computed:Ll,beforeCreate:ja,created:ja,beforeMount:ja,mounted:ja,beforeUpdate:ja,updated:ja,beforeDestroy:ja,beforeUnmount:ja,destroyed:ja,unmounted:ja,activated:ja,deactivated:ja,errorCaptured:ja,serverPrefetch:ja,components:Ll,directives:Ll,watch:fm,provide:sc,inject:Il};function sc(ui,mi){return mi?ui?function(){return(0,ri.X$)((0,ri.Tn)(ui)?ui.call(this,this):ui,(0,ri.Tn)(mi)?mi.call(this,this):mi)}:mi:ui}function Il(ui,mi){return Ll(pf(ui),pf(mi))}function pf(ui){if((0,ri.cy)(ui)){const mi={};for(let Ei=0;Ei<ui.length;Ei++)mi[ui[Ei]]=ui[Ei];return mi}return ui}function ja(ui,mi){return ui?[...new Set([].concat(ui,mi))]:mi}function Ll(ui,mi){return ui?(0,ri.X$)(Object.create(null),ui,mi):mi}function Dd(ui,mi){return ui?(0,ri.cy)(ui)&&(0,ri.cy)(mi)?[...new Set([...ui,...mi])]:(0,ri.X$)(Object.create(null),Fa(ui),Fa(mi??{})):mi}function fm(ui,mi){if(!ui)return mi;if(!mi)return ui;const Ei=(0,ri.X$)(Object.create(null),ui);for(const Di in mi)Ei[Di]=ja(ui[Di],mi[Di]);return Ei}function Vf(){return{app:null,config:{isNativeTag:ri.NO,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 ua=0;function Uf(ui,mi){return function(Di,Ni=null){(0,ri.Tn)(Di)||(Di=(0,ri.X$)({},Di)),Ni!=null&&!(0,ri.Gv)(Ni)&&(Ni=null);const Vi=Vf(),cn=new WeakSet;let An=!1;const qn=Vi.app={_uid:ua++,_component:Di,_props:Ni,_container:null,_context:Vi,_instance:null,version:Rp,get config(){return Vi.config},set config(Qn){},use(Qn,...ds){return cn.has(Qn)||(Qn&&(0,ri.Tn)(Qn.install)?(cn.add(Qn),Qn.install(qn,...ds)):(0,ri.Tn)(Qn)&&(cn.add(Qn),Qn(qn,...ds))),qn},mixin(Qn){return Vi.mixins.includes(Qn)||Vi.mixins.push(Qn),qn},component(Qn,ds){return ds?(Vi.components[Qn]=ds,qn):Vi.components[Qn]},directive(Qn,ds){return ds?(Vi.directives[Qn]=ds,qn):Vi.directives[Qn]},mount(Qn,ds,Cn){if(!An){const is=Ca(Di,Ni);return is.appContext=Vi,Cn===!0?Cn="svg":Cn===!1&&(Cn=void 0),ds&&mi?mi(is,Qn):ui(is,Qn,Cn),An=!0,qn._container=Qn,Qn.__vue_app__=qn,nd(is.component)||is.component.proxy}},unmount(){An&&(ui(null,qn._container),delete qn._container.__vue_app__)},provide(Qn,ds){return Vi.provides[Qn]=ds,qn},runWithContext(Qn){const ds=al;al=qn;try{return Qn()}finally{al=ds}}};return qn}}let al=null;function Uu(ui,mi){if(ga){let Ei=ga.provides;const Di=ga.parent&&ga.parent.provides;Di===Ei&&(Ei=ga.provides=Object.create(Di)),Ei[ui]=mi}}function rc(ui,mi,Ei=!1){const Di=ga||Do;if(Di||al){const Ni=Di?Di.parent==null?Di.vnode.appContext&&Di.vnode.appContext.provides:Di.parent.provides:al._context.provides;if(Ni&&ui in Ni)return Ni[ui];if(arguments.length>1)return Ei&&(0,ri.Tn)(mi)?mi.call(Di&&Di.proxy):mi}}function wp(){return!!(ga||Do||al)}const Fd={},oc=()=>Object.create(Fd),ll=ui=>Object.getPrototypeOf(ui)===Fd;function Hc(ui,mi,Ei,Di=!1){const Ni={},Vi=oc();ui.propsDefaults=Object.create(null),zu(ui,mi,Ni,Vi);for(const cn in ui.propsOptions[0])cn in Ni||(Ni[cn]=void 0);Ei?ui.props=Di?Ni:(0,vi.Gc)(Ni):ui.type.props?ui.props=Ni:ui.props=Vi,ui.attrs=Vi}function mh(ui){for(;ui;){if(ui.type.__hmrId)return!0;ui=ui.parent}}function Wu(ui,mi,Ei,Di){const{props:Ni,attrs:Vi,vnode:{patchFlag:cn}}=ui,An=(0,vi.ux)(Ni),[qn]=ui.propsOptions;let Qn=!1;if((Di||cn>0)&&!(cn&16)){if(cn&8){const ds=ui.vnode.dynamicProps;for(let Cn=0;Cn<ds.length;Cn++){let is=ds[Cn];if(sa(ui.emitsOptions,is))continue;const Ss=mi[is];if(qn)if((0,ri.$3)(Vi,is))Ss!==Vi[is]&&(Vi[is]=Ss,Qn=!0);else{const qs=(0,ri.PT)(is);Ni[qs]=lu(qn,An,qs,Ss,ui,!1)}else Ss!==Vi[is]&&(Vi[is]=Ss,Qn=!0)}}}else{zu(ui,mi,Ni,Vi)&&(Qn=!0);let ds;for(const Cn in An)(!mi||!(0,ri.$3)(mi,Cn)&&((ds=(0,ri.Tg)(Cn))===Cn||!(0,ri.$3)(mi,ds)))&&(qn?Ei&&(Ei[Cn]!==void 0||Ei[ds]!==void 0)&&(Ni[Cn]=lu(qn,An,Cn,void 0,ui,!0)):delete Ni[Cn]);if(Vi!==An)for(const Cn in Vi)(!mi||!(0,ri.$3)(mi,Cn))&&(delete Vi[Cn],Qn=!0)}Qn&&(0,vi.hZ)(ui.attrs,"set","")}function zu(ui,mi,Ei,Di){const[Ni,Vi]=ui.propsOptions;let cn=!1,An;if(mi)for(let qn in mi){if((0,ri.SU)(qn))continue;const Qn=mi[qn];let ds;Ni&&(0,ri.$3)(Ni,ds=(0,ri.PT)(qn))?!Vi||!Vi.includes(ds)?Ei[ds]=Qn:(An||(An={}))[ds]=Qn:sa(ui.emitsOptions,qn)||(!(qn in Di)||Qn!==Di[qn])&&(Di[qn]=Qn,cn=!0)}if(Vi){const qn=(0,vi.ux)(Ei),Qn=An||ri.MZ;for(let ds=0;ds<Vi.length;ds++){const Cn=Vi[ds];Ei[Cn]=lu(Ni,qn,Cn,Qn[Cn],ui,!(0,ri.$3)(Qn,Cn))}}return cn}function lu(ui,mi,Ei,Di,Ni,Vi){const cn=ui[Ei];if(cn!=null){const An=(0,ri.$3)(cn,"default");if(An&&Di===void 0){const qn=cn.default;if(cn.type!==Function&&!cn.skipFactory&&(0,ri.Tn)(qn)){const{propsDefaults:Qn}=Ni;if(Ei in Qn)Di=Qn[Ei];else{const ds=Tu(Ni);Di=Qn[Ei]=qn.call(null,mi),ds()}}else Di=qn}cn[0]&&(Vi&&!An?Di=!1:cn[1]&&(Di===""||Di===(0,ri.Tg)(Ei))&&(Di=!0))}return Di}function Wf(ui,mi,Ei=!1){const Di=mi.propsCache,Ni=Di.get(ui);if(Ni)return Ni;const Vi=ui.props,cn={},An=[];let qn=!1;if(!(0,ri.Tn)(ui)){const ds=Cn=>{qn=!0;const[is,Ss]=Wf(Cn,mi,!0);(0,ri.X$)(cn,is),Ss&&An.push(...Ss)};!Ei&&mi.mixins.length&&mi.mixins.forEach(ds),ui.extends&&ds(ui.extends),ui.mixins&&ui.mixins.forEach(ds)}if(!Vi&&!qn)return(0,ri.Gv)(ui)&&Di.set(ui,ri.Oj),ri.Oj;if((0,ri.cy)(Vi))for(let ds=0;ds<Vi.length;ds++){const Cn=(0,ri.PT)(Vi[ds]);ph(Cn)&&(cn[Cn]=ri.MZ)}else if(Vi)for(const ds in Vi){const Cn=(0,ri.PT)(ds);if(ph(Cn)){const is=Vi[ds],Ss=cn[Cn]=(0,ri.cy)(is)||(0,ri.Tn)(is)?{type:is}:(0,ri.X$)({},is);if(Ss){const qs=_l(Boolean,Ss.type),oo=_l(String,Ss.type);Ss[0]=qs>-1,Ss[1]=oo<0||qs<oo,(qs>-1||(0,ri.$3)(Ss,"default"))&&An.push(Cn)}}}const Qn=[cn,An];return(0,ri.Gv)(ui)&&Di.set(ui,Qn),Qn}function ph(ui){return ui[0]!=="$"&&!(0,ri.SU)(ui)}function Ku(ui){return ui===null?"null":typeof ui=="function"?ui.name||"":typeof ui=="object"&&ui.constructor&&ui.constructor.name||""}function Pl(ui,mi){return Ku(ui)===Ku(mi)}function _l(ui,mi){return(0,ri.cy)(mi)?mi.findIndex(Ei=>Pl(Ei,ui)):(0,ri.Tn)(mi)&&Pl(mi,ui)?0:-1}function Su(ui,mi,Ei){const Di=toRaw(mi),Ni=Ei.propsOptions[0];for(const Vi in Ni){let cn=Ni[Vi];cn!=null&&zf(Vi,Di[Vi],cn,Di,!hasOwn(ui,Vi)&&!hasOwn(ui,hyphenate(Vi)))}}function zf(ui,mi,Ei,Di,Ni){const{type:Vi,required:cn,validator:An,skipCheck:qn}=Ei;if(cn&&Ni){tn('Missing required prop: "'+ui+'"');return}if(!(mi==null&&!cn)){if(Vi!=null&&Vi!==!0&&!qn){let Qn=!1;const ds=isArray(Vi)?Vi:[Vi],Cn=[];for(let is=0;is<ds.length&&!Qn;is++){const{valid:Ss,expectedType:qs}=fn(mi,ds[is]);Cn.push(qs||""),Qn=Ss}if(!Qn){tn(Rn(ui,mi,Cn));return}}An&&!An(mi,Di)&&tn('Invalid prop: custom validator check failed for prop "'+ui+'".')}}const Cu=null;function fn(ui,mi){let Ei;const Di=Ku(mi);if(Cu(Di)){const Ni=typeof ui;Ei=Ni===Di.toLowerCase(),!Ei&&Ni==="object"&&(Ei=ui instanceof mi)}else Di==="Object"?Ei=isObject(ui):Di==="Array"?Ei=isArray(ui):Di==="null"?Ei=ui===null:Ei=ui instanceof mi;return{valid:Ei,expectedType:Di}}function Rn(ui,mi,Ei){if(Ei.length===0)return`Prop type [] for prop "${ui}" won't match anything. Did you mean to use type Array instead?`;let Di=`Invalid prop: type check failed for prop "${ui}". Expected ${Ei.map(capitalize).join(" | ")}`;const Ni=Ei[0],Vi=toRawType(mi),cn=Zn(mi,Ni),An=Zn(mi,Vi);return Ei.length===1&&ss(Ni)&&!ps(Ni,Vi)&&(Di+=` with value ${cn}`),Di+=`, got ${Vi} `,ss(Vi)&&(Di+=`with value ${An}.`),Di}function Zn(ui,mi){return mi==="String"?`"${ui}"`:mi==="Number"?`${Number(ui)}`:`${ui}`}function ss(ui){return["string","number","boolean"].some(Ei=>ui.toLowerCase()===Ei)}function ps(...ui){return ui.some(mi=>mi.toLowerCase()==="boolean")}const Hs=ui=>ui[0]==="_"||ui==="$stable",Jr=ui=>(0,ri.cy)(ui)?ui.map(tl):[tl(ui)],lo=(ui,mi,Ei)=>{if(mi._n)return mi;const Di=su((...Ni)=>Jr(mi(...Ni)),Ei);return Di._c=!1,Di},Zr=(ui,mi,Ei)=>{const Di=ui._ctx;for(const Ni in ui){if(Hs(Ni))continue;const Vi=ui[Ni];if((0,ri.Tn)(Vi))mi[Ni]=lo(Ni,Vi,Di);else if(Vi!=null){const cn=Jr(Vi);mi[Ni]=()=>cn}}},Wo=(ui,mi)=>{const Ei=Jr(mi);ui.slots.default=()=>Ei},Ao=(ui,mi)=>{const Ei=ui.slots=oc();if(ui.vnode.shapeFlag&32){const Di=mi._;Di?((0,ri.X$)(Ei,mi),(0,ri.yQ)(Ei,"_",Di)):Zr(mi,Ei)}else mi&&Wo(ui,mi)},ko=(ui,mi,Ei)=>{const{vnode:Di,slots:Ni}=ui;let Vi=!0,cn=ri.MZ;if(Di.shapeFlag&32){const An=mi._;An?Ei&&An===1?Vi=!1:((0,ri.X$)(Ni,mi),!Ei&&An===1&&delete Ni._):(Vi=!mi.$stable,Zr(mi,Ni)),cn=mi}else mi&&(Wo(ui,mi),cn={default:1});if(Vi)for(const An in Ni)!Hs(An)&&cn[An]==null&&delete Ni[An]};function No(ui,mi,Ei,Di,Ni=!1){if((0,ri.cy)(ui)){ui.forEach((is,Ss)=>No(is,mi&&((0,ri.cy)(mi)?mi[Ss]:mi),Ei,Di,Ni));return}if(zl(Di)&&!Ni)return;const Vi=Di.shapeFlag&4?nd(Di.component)||Di.component.proxy:Di.el,cn=Ni?null:Vi,{i:An,r:qn}=ui,Qn=mi&&mi.r,ds=An.refs===ri.MZ?An.refs={}:An.refs,Cn=An.setupState;if(Qn!=null&&Qn!==qn&&((0,ri.Kg)(Qn)?(ds[Qn]=null,(0,ri.$3)(Cn,Qn)&&(Cn[Qn]=null)):(0,vi.i9)(Qn)&&(Qn.value=null)),(0,ri.Tn)(qn))En(qn,An,12,[cn,ds]);else{const is=(0,ri.Kg)(qn),Ss=(0,vi.i9)(qn);if(is||Ss){const qs=()=>{if(ui.f){const oo=is?(0,ri.$3)(Cn,qn)?Cn[qn]:ds[qn]:qn.value;Ni?(0,ri.cy)(oo)&&(0,ri.TF)(oo,Vi):(0,ri.cy)(oo)?oo.includes(Vi)||oo.push(Vi):is?(ds[qn]=[Vi],(0,ri.$3)(Cn,qn)&&(Cn[qn]=ds[qn])):(qn.value=[Vi],ui.k&&(ds[ui.k]=qn.value))}else is?(ds[qn]=cn,(0,ri.$3)(Cn,qn)&&(Cn[qn]=cn)):Ss&&(qn.value=cn,ui.k&&(ds[ui.k]=cn))};cn?(qs.id=-1,el(qs,Ei)):qs()}}}let ho=!1;const oa=ui=>ui.namespaceURI.includes("svg")&&ui.tagName!=="foreignObject",cl=ui=>ui.namespaceURI.includes("MathML"),Sa=ui=>{if(oa(ui))return"svg";if(cl(ui))return"mathml"},Ha=ui=>ui.nodeType===8;function ac(ui){const{mt:mi,p:Ei,o:{patchProp:Di,createText:Ni,nextSibling:Vi,parentNode:cn,remove:An,insert:qn,createComment:Qn}}=ui,ds=(os,bs)=>{if(!bs.hasChildNodes()){Ei(null,os,bs),en(),bs._vnode=os;return}ho=!1,Cn(bs.firstChild,os,null,null,null),en(),bs._vnode=os,ho&&console.error("Hydration completed but contains mismatches.")},Cn=(os,bs,js,Ks,Ns,Gs=!1)=>{Gs=Gs||!!bs.dynamicChildren;const Gr=Ha(os)&&os.data==="[",eo=()=>oo(os,bs,js,Ks,Ns,Gr),{type:To,ref:fa,shapeFlag:aa,patchFlag:Pa}=bs;let Va=os.nodeType;bs.el=os,Pa===-2&&(Gs=!1,bs.dynamicChildren=null);let wo=null;switch(To){case vf:Va!==3?bs.children===""?(qn(bs.el=Ni(""),cn(os),os),wo=os):wo=eo():(os.data!==bs.children&&(ho=!0,os.data=bs.children),wo=Vi(os));break;case yl:Os(os)?(wo=Vi(os),Vo(bs.el=os.content.firstChild,os,js)):Va!==8||Gr?wo=eo():wo=Vi(os);break;case Yf:if(Gr&&(os=Vi(os),Va=os.nodeType),Va===1||Va===3){wo=os;const Yo=!bs.children.length;for(let jo=0;jo<bs.staticCount;jo++)Yo&&(bs.children+=wo.nodeType===1?wo.outerHTML:wo.data),jo===bs.staticCount-1&&(bs.anchor=wo),wo=Vi(wo);return Gr?Vi(wo):wo}else eo();break;case $a:Gr?wo=qs(os,bs,js,Ks,Ns,Gs):wo=eo();break;default:if(aa&1)(Va!==1||bs.type.toLowerCase()!==os.tagName.toLowerCase())&&!Os(os)?wo=eo():wo=is(os,bs,js,Ks,Ns,Gs);else if(aa&6){bs.slotScopeIds=Ns;const Yo=cn(os);if(Gr?wo=Qo(os):Ha(os)&&os.data==="teleport start"?wo=Qo(os,os.data,"teleport end"):wo=Vi(os),mi(bs,Yo,null,js,Ks,Sa(Yo),Gs),zl(bs)){let jo;Gr?(jo=Ca($a),jo.anchor=wo?wo.previousSibling:Yo.lastChild):jo=os.nodeType===3?Yu(""):Ca("div"),jo.el=os,bs.component.subTree=jo}}else aa&64?Va!==8?wo=eo():wo=bs.type.hydrate(os,bs,js,Ks,Ns,Gs,ui,Ss):aa&128&&(wo=bs.type.hydrate(os,bs,js,Ks,Sa(cn(os)),Ns,Gs,ui,Cn))}return fa!=null&&No(fa,null,Ks,bs),wo},is=(os,bs,js,Ks,Ns,Gs)=>{Gs=Gs||!!bs.dynamicChildren;const{type:Gr,props:eo,patchFlag:To,shapeFlag:fa,dirs:aa,transition:Pa}=bs,Va=Gr==="input"||Gr==="option";if(Va||To!==-1){aa&&ba(bs,null,js,"created");let wo=!1;if(Os(os)){wo=hm(Ks,Pa)&&js&&js.vnode.props&&js.vnode.props.appear;const jo=os.content.firstChild;wo&&Pa.beforeEnter(jo),Vo(jo,os,js),bs.el=os=jo}if(fa&16&&!(eo&&(eo.innerHTML||eo.textContent))){let jo=Ss(os.firstChild,bs,os,js,Ks,Ns,Gs),jc=!1;for(;jo;){ho=!0;const Zu=jo;jo=jo.nextSibling,An(Zu)}}else fa&8&&os.textContent!==bs.children&&(ho=!0,os.textContent=bs.children);if(eo)if(Va||!Gs||To&48)for(const jo in eo)(Va&&(jo.endsWith("value")||jo==="indeterminate")||isOn(jo)&&!isReservedProp(jo)||jo[0]===".")&&Di(os,jo,null,eo[jo],void 0,void 0,js);else eo.onClick&&Di(os,"onClick",null,eo.onClick,void 0,void 0,js);let Yo;(Yo=eo&&eo.onVnodeBeforeMount)&&Nl(Yo,js,bs),aa&&ba(bs,null,js,"beforeMount"),((Yo=eo&&eo.onVnodeMounted)||aa||wo)&&cf(()=>{Yo&&Nl(Yo,js,bs),wo&&Pa.enter(os),aa&&ba(bs,null,js,"mounted")},Ks)}return os.nextSibling},Ss=(os,bs,js,Ks,Ns,Gs,Gr)=>{Gr=Gr||!!bs.dynamicChildren;const eo=bs.children,To=eo.length;let fa=!1;for(let aa=0;aa<To;aa++){const Pa=Gr?eo[aa]:eo[aa]=tl(eo[aa]);if(os)os=Cn(os,Pa,Ks,Ns,Gs,Gr);else{if(Pa.type===vf&&!Pa.children)continue;ho=!0,Ei(null,Pa,js,null,Ks,Ns,Sa(js),Gs)}}return os},qs=(os,bs,js,Ks,Ns,Gs)=>{const{slotScopeIds:Gr}=bs;Gr&&(Ns=Ns?Ns.concat(Gr):Gr);const eo=cn(os),To=Ss(Vi(os),bs,eo,js,Ks,Ns,Gs);return To&&Ha(To)&&To.data==="]"?Vi(bs.anchor=To):(ho=!0,qn(bs.anchor=Qn("]"),eo,To),To)},oo=(os,bs,js,Ks,Ns,Gs)=>{if(ho=!0,bs.el=null,Gs){const To=Qo(os);for(;;){const fa=Vi(os);if(fa&&fa!==To)An(fa);else break}}const Gr=Vi(os),eo=cn(os);return An(os),Ei(null,bs,eo,Gr,js,Ks,Sa(eo),Ns),Gr},Qo=(os,bs="[",js="]")=>{let Ks=0;for(;os;)if(os=Vi(os),os&&Ha(os)&&(os.data===bs&&Ks++,os.data===js)){if(Ks===0)return Vi(os);Ks--}return os},Vo=(os,bs,js)=>{const Ks=bs.parentNode;Ks&&Ks.replaceChild(os,bs);let Ns=js;for(;Ns;)Ns.vnode.el===bs&&(Ns.vnode.el=Ns.subTree.el=os),Ns=Ns.parent},Os=os=>os.nodeType===1&&os.tagName.toLowerCase()==="template";return[ds,Cn]}function Eu(ui,mi,Ei,Di,Ni){var Vi;let cn,An,qn,Qn;if(mi==="class")qn=ui.getAttribute("class"),Qn=normalizeClass(Ei),dm(ul(qn||""),ul(Qn))||(cn=An="class");else if(mi==="style"){qn=ui.getAttribute("style"),Qn=isString(Ei)?Ei:stringifyStyle(normalizeStyle(Ei));const ds=Id(qn),Cn=Id(Qn);if(Di.dirs)for(const{dir:Ss,value:qs}of Di.dirs)Ss.name==="show"&&!qs&&Cn.set("display","none");const is=Ni?.subTree;if(Di===is||is?.type===$a&&is.children.includes(Di)){const Ss=(Vi=Ni?.getCssVars)==null?void 0:Vi.call(Ni);for(const qs in Ss)Cn.set(`--${qs}`,String(Ss[qs]))}Xu(ds,Cn)||(cn=An="style")}else(ui instanceof SVGElement&&isKnownSvgAttr(mi)||ui instanceof HTMLElement&&(isBooleanAttr(mi)||isKnownHtmlAttr(mi)))&&(isBooleanAttr(mi)?(qn=ui.hasAttribute(mi),Qn=includeBooleanAttr(Ei)):Ei==null?(qn=ui.hasAttribute(mi),Qn=!1):(ui.hasAttribute(mi)?qn=ui.getAttribute(mi):mi==="value"&&ui.tagName==="TEXTAREA"?qn=ui.value:qn=!1,Qn=isRenderableAttrValue(Ei)?String(Ei):!1),qn!==Qn&&(cn="attribute",An=mi));if(cn){const ds=Ss=>Ss===!1?"(not rendered)":`${An}="${Ss}"`,Cn=`Hydration ${cn} mismatch on`,is=`
- rendered on server: ${ds(qn)}
- expected on client: ${ds(Qn)}
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
You should fix the source of the mismatch.`;return tn(Cn,ui,is),!0}return!1}function ul(ui){return new Set(ui.trim().split(/\s+/))}function dm(ui,mi){if(ui.size!==mi.size)return!1;for(const Ei of ui)if(!mi.has(Ei))return!1;return!0}function Id(ui){const mi=new Map;for(const Ei of ui.split(";")){let[Di,Ni]=Ei.split(":");Di=Di?.trim(),Ni=Ni?.trim(),Di&&Ni&&mi.set(Di,Ni)}return mi}function Xu(ui,mi){if(ui.size!==mi.size)return!1;for(const[Ei,Di]of ui)if(Di!==mi.get(Ei))return!1;return!0}let Pd,Kf;function iv(ui,mi){ui.appContext.config.performance&&xp()&&Kf.mark(`vue-${mi}-${ui.uid}`)}function gh(ui,mi){if(ui.appContext.config.performance&&xp()){const Ei=`vue-${mi}-${ui.uid}`,Di=Ei+":end";Kf.mark(Di),Kf.measure(`<${uu(ui,ui.type)}> ${mi}`,Ei,Di),Kf.clearMarks(Ei),Kf.clearMarks(Di)}}function xp(){return Pd!==void 0||(typeof window<"u"&&window.performance?(Pd=!0,Kf=window.performance):Pd=!1),Pd}function nv(){const ui=[]}const el=cf;function sv(ui){return gf(ui)}function $c(ui){return gf(ui,ac)}function gf(ui,mi){nv();const Ei=(0,ri.We)();Ei.__VUE__=!0;const{insert:Di,remove:Ni,patchProp:Vi,createElement:cn,createText:An,createComment:qn,setText:Qn,setElementText:ds,parentNode:Cn,nextSibling:is,setScopeId:Ss=ri.tE,insertStaticContent:qs}=ui,oo=(xn,$n,_s,Rs=null,Ms=null,Qs=null,io=void 0,Ws=null,Kr=!!$n.dynamicChildren)=>{if(xn===$n)return;xn&&!Vc(xn,$n)&&(Rs=$d(xn),fu(xn,Ms,Qs,!0),xn=null),$n.patchFlag===-2&&(Kr=!1,$n.dynamicChildren=null);const{type:Is,ref:no,shapeFlag:So}=$n;switch(Is){case vf:Qo(xn,$n,_s,Rs);break;case yl:Vo(xn,$n,_s,Rs);break;case Yf:xn==null&&Os($n,_s,Rs,io);break;case $a:aa(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr);break;default:So&1?Ks(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr):So&6?Pa(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr):(So&64||So&128)&&Is.process(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr,tf)}no!=null&&Ms&&No(no,xn&&xn.ref,Qs,$n||xn,!$n)},Qo=(xn,$n,_s,Rs)=>{if(xn==null)Di($n.el=An($n.children),_s,Rs);else{const Ms=$n.el=xn.el;$n.children!==xn.children&&Qn(Ms,$n.children)}},Vo=(xn,$n,_s,Rs)=>{xn==null?Di($n.el=qn($n.children||""),_s,Rs):$n.el=xn.el},Os=(xn,$n,_s,Rs)=>{[xn.el,xn.anchor]=qs(xn.children,$n,_s,Rs,xn.el,xn.anchor)},os=(xn,$n,_s,Rs)=>{if($n.children!==xn.children){const Ms=is(xn.anchor);js(xn),[$n.el,$n.anchor]=qs($n.children,_s,Ms,Rs)}else $n.el=xn.el,$n.anchor=xn.anchor},bs=({el:xn,anchor:$n},_s,Rs)=>{let Ms;for(;xn&&xn!==$n;)Ms=is(xn),Di(xn,_s,Rs),xn=Ms;Di($n,_s,Rs)},js=({el:xn,anchor:$n})=>{let _s;for(;xn&&xn!==$n;)_s=is(xn),Ni(xn),xn=_s;Ni($n)},Ks=(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr)=>{$n.type==="svg"?io="svg":$n.type==="math"&&(io="mathml"),xn==null?Ns($n,_s,Rs,Ms,Qs,io,Ws,Kr):eo(xn,$n,Ms,Qs,io,Ws,Kr)},Ns=(xn,$n,_s,Rs,Ms,Qs,io,Ws)=>{let Kr,Is;const{props:no,shapeFlag:So,transition:yo,dirs:Mo}=xn;if(Kr=xn.el=cn(xn.type,Qs,no&&no.is,no),So&8?ds(Kr,xn.children):So&16&&Gr(xn.children,Kr,null,Rs,Ms,Xf(xn,Qs),io,Ws),Mo&&ba(xn,null,Rs,"created"),Gs(Kr,xn,xn.scopeId,io,Rs),no){for(const la in no)la!=="value"&&!(0,ri.SU)(la)&&Vi(Kr,la,null,no[la],Qs,xn.children,Rs,Ms,du);"value"in no&&Vi(Kr,"value",null,no.value,Qs),(Is=no.onVnodeBeforeMount)&&Nl(Is,Rs,xn)}Mo&&ba(xn,null,Rs,"beforeMount");const ta=hm(Ms,yo);ta&&yo.beforeEnter(Kr),Di(Kr,$n,_s),((Is=no&&no.onVnodeMounted)||ta||Mo)&&el(()=>{Is&&Nl(Is,Rs,xn),ta&&yo.enter(Kr),Mo&&ba(xn,null,Rs,"mounted")},Ms)},Gs=(xn,$n,_s,Rs,Ms)=>{if(_s&&Ss(xn,_s),Rs)for(let Qs=0;Qs<Rs.length;Qs++)Ss(xn,Rs[Qs]);if(Ms){let Qs=Ms.subTree;if($n===Qs){const io=Ms.vnode;Gs(xn,io,io.scopeId,io.slotScopeIds,Ms.parent)}}},Gr=(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr=0)=>{for(let Is=Kr;Is<xn.length;Is++){const no=xn[Is]=Ws?Au(xn[Is]):tl(xn[Is]);oo(null,no,$n,_s,Rs,Ms,Qs,io,Ws)}},eo=(xn,$n,_s,Rs,Ms,Qs,io)=>{const Ws=$n.el=xn.el;let{patchFlag:Kr,dynamicChildren:Is,dirs:no}=$n;Kr|=xn.patchFlag&16;const So=xn.props||ri.MZ,yo=$n.props||ri.MZ;let Mo;if(_s&&wc(_s,!1),(Mo=yo.onVnodeBeforeUpdate)&&Nl(Mo,_s,$n,xn),no&&ba($n,xn,_s,"beforeUpdate"),_s&&wc(_s,!0),Is?To(xn.dynamicChildren,Is,Ws,_s,Rs,Xf($n,Ms),Qs):io||jc(xn,$n,Ws,null,_s,Rs,Xf($n,Ms),Qs,!1),Kr>0){if(Kr&16)fa(Ws,$n,So,yo,_s,Rs,Ms);else if(Kr&2&&So.class!==yo.class&&Vi(Ws,"class",null,yo.class,Ms),Kr&4&&Vi(Ws,"style",So.style,yo.style,Ms),Kr&8){const ta=$n.dynamicProps;for(let la=0;la<ta.length;la++){const Ea=ta[la],fl=So[Ea],cc=yo[Ea];(cc!==fl||Ea==="value")&&Vi(Ws,Ea,fl,cc,Ms,xn.children,_s,Rs,du)}}Kr&1&&xn.children!==$n.children&&ds(Ws,$n.children)}else!io&&Is==null&&fa(Ws,$n,So,yo,_s,Rs,Ms);((Mo=yo.onVnodeUpdated)||no)&&el(()=>{Mo&&Nl(Mo,_s,$n,xn),no&&ba($n,xn,_s,"updated")},Rs)},To=(xn,$n,_s,Rs,Ms,Qs,io)=>{for(let Ws=0;Ws<$n.length;Ws++){const Kr=xn[Ws],Is=$n[Ws],no=Kr.el&&(Kr.type===$a||!Vc(Kr,Is)||Kr.shapeFlag&70)?Cn(Kr.el):_s;oo(Kr,Is,no,null,Rs,Ms,Qs,io,!0)}},fa=(xn,$n,_s,Rs,Ms,Qs,io)=>{if(_s!==Rs){if(_s!==ri.MZ)for(const Ws in _s)!(0,ri.SU)(Ws)&&!(Ws in Rs)&&Vi(xn,Ws,_s[Ws],null,io,$n.children,Ms,Qs,du);for(const Ws in Rs){if((0,ri.SU)(Ws))continue;const Kr=Rs[Ws],Is=_s[Ws];Kr!==Is&&Ws!=="value"&&Vi(xn,Ws,Is,Kr,io,$n.children,Ms,Qs,du)}"value"in Rs&&Vi(xn,"value",_s.value,Rs.value,io)}},aa=(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr)=>{const Is=$n.el=xn?xn.el:An(""),no=$n.anchor=xn?xn.anchor:An("");let{patchFlag:So,dynamicChildren:yo,slotScopeIds:Mo}=$n;Mo&&(Ws=Ws?Ws.concat(Mo):Mo),xn==null?(Di(Is,_s,Rs),Di(no,_s,Rs),Gr($n.children||[],_s,no,Ms,Qs,io,Ws,Kr)):So>0&&So&64&&yo&&xn.dynamicChildren?(To(xn.dynamicChildren,yo,_s,Ms,Qs,io,Ws),($n.key!=null||Ms&&$n===Ms.subTree)&&mm(xn,$n,!0)):jc(xn,$n,_s,no,Ms,Qs,io,Ws,Kr)},Pa=(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr)=>{$n.slotScopeIds=Ws,xn==null?$n.shapeFlag&512?Ms.ctx.activate($n,_s,Rs,io,Kr):Va($n,_s,Rs,Ms,Qs,io,Kr):wo(xn,$n,Kr)},Va=(xn,$n,_s,Rs,Ms,Qs,io)=>{const Ws=xn.component=ed(xn,Rs,Ms);if(ou(xn)&&(Ws.ctx.renderer=tf),xm(Ws),Ws.asyncDep){if(Ms&&Ms.registerDep(Ws,Yo),!xn.el){const Kr=Ws.subTree=Ca(yl);Vo(null,Kr,$n,_s)}}else Yo(Ws,xn,$n,_s,Ms,Qs,io)},wo=(xn,$n,_s)=>{const Rs=$n.component=xn.component;if(Rc(xn,$n,_s))if(Rs.asyncDep&&!Rs.asyncResolved){jo(Rs,$n,_s);return}else Rs.next=$n,Wi(Rs.update),Rs.effect.dirty=!0,Rs.update();else $n.el=xn.el,Rs.vnode=$n},Yo=(xn,$n,_s,Rs,Ms,Qs,io)=>{const Ws=()=>{if(xn.isMounted){let{next:no,bu:So,u:yo,parent:Mo,vnode:ta}=xn;{const nf=jp(xn);if(nf){no&&(no.el=ta.el,jo(xn,no,io)),nf.asyncDep.then(()=>{xn.isUnmounted||Ws()});return}}let la=no,Ea;wc(xn,!1),no?(no.el=ta.el,jo(xn,no,io)):no=ta,So&&(0,ri.DY)(So),(Ea=no.props&&no.props.onVnodeBeforeUpdate)&&Nl(Ea,Mo,no,ta),wc(xn,!0);const fl=va(xn),cc=xn.subTree;xn.subTree=fl,oo(cc,fl,Cn(cc.el),$d(cc),xn,Ms,Qs),no.el=fl.el,la===null&&kl(xn,fl.el),yo&&el(yo,Ms),(Ea=no.props&&no.props.onVnodeUpdated)&&el(()=>Nl(Ea,Mo,no,ta),Ms)}else{let no;const{el:So,props:yo}=$n,{bm:Mo,m:ta,parent:la}=xn,Ea=zl($n);if(wc(xn,!1),Mo&&(0,ri.DY)(Mo),!Ea&&(no=yo&&yo.onVnodeBeforeMount)&&Nl(no,la,$n),wc(xn,!0),So&&Vd){const fl=()=>{xn.subTree=va(xn),Vd(So,xn.subTree,xn,Ms,null)};Ea?$n.type.__asyncLoader().then(()=>!xn.isUnmounted&&fl()):fl()}else{const fl=xn.subTree=va(xn);oo(null,fl,_s,Rs,xn,Ms,Qs),$n.el=fl.el}if(ta&&el(ta,Ms),!Ea&&(no=yo&&yo.onVnodeMounted)){const fl=$n;el(()=>Nl(no,la,fl),Ms)}($n.shapeFlag&256||la&&zl(la.vnode)&&la.vnode.shapeFlag&256)&&xn.a&&el(xn.a,Ms),xn.isMounted=!0,$n=_s=Rs=null}},Kr=xn.effect=new vi.X2(Ws,ri.tE,()=>Ri(Is),xn.scope),Is=xn.update=()=>{Kr.dirty&&Kr.run()};Is.id=xn.uid,wc(xn,!0),Is()},jo=(xn,$n,_s)=>{$n.component=xn;const Rs=xn.vnode.props;xn.vnode=$n,xn.next=null,Wu(xn,$n.props,Rs,_s),ko(xn,$n.children,_s),(0,vi.C4)(),Fn(xn),(0,vi.bl)()},jc=(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr=!1)=>{const Is=xn&&xn.children,no=xn?xn.shapeFlag:0,So=$n.children,{patchFlag:yo,shapeFlag:Mo}=$n;if(yo>0){if(yo&128){sd(Is,So,_s,Rs,Ms,Qs,io,Ws,Kr);return}else if(yo&256){Zu(Is,So,_s,Rs,Ms,Qs,io,Ws,Kr);return}}Mo&8?(no&16&&du(Is,Ms,Qs),So!==Is&&ds(_s,So)):no&16?Mo&16?sd(Is,So,_s,Rs,Ms,Qs,io,Ws,Kr):du(Is,Ms,Qs,!0):(no&8&&ds(_s,""),Mo&16&&Gr(So,_s,Rs,Ms,Qs,io,Ws,Kr))},Zu=(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr)=>{xn=xn||ri.Oj,$n=$n||ri.Oj;const Is=xn.length,no=$n.length,So=Math.min(Is,no);let yo;for(yo=0;yo<So;yo++){const Mo=$n[yo]=Kr?Au($n[yo]):tl($n[yo]);oo(xn[yo],Mo,_s,null,Ms,Qs,io,Ws,Kr)}Is>no?du(xn,Ms,Qs,!0,!1,So):Gr($n,_s,Rs,Ms,Qs,io,Ws,Kr,So)},sd=(xn,$n,_s,Rs,Ms,Qs,io,Ws,Kr)=>{let Is=0;const no=$n.length;let So=xn.length-1,yo=no-1;for(;Is<=So&&Is<=yo;){const Mo=xn[Is],ta=$n[Is]=Kr?Au($n[Is]):tl($n[Is]);if(Vc(Mo,ta))oo(Mo,ta,_s,null,Ms,Qs,io,Ws,Kr);else break;Is++}for(;Is<=So&&Is<=yo;){const Mo=xn[So],ta=$n[yo]=Kr?Au($n[yo]):tl($n[yo]);if(Vc(Mo,ta))oo(Mo,ta,_s,null,Ms,Qs,io,Ws,Kr);else break;So--,yo--}if(Is>So){if(Is<=yo){const Mo=yo+1,ta=Mo<no?$n[Mo].el:Rs;for(;Is<=yo;)oo(null,$n[Is]=Kr?Au($n[Is]):tl($n[Is]),_s,ta,Ms,Qs,io,Ws,Kr),Is++}}else if(Is>yo)for(;Is<=So;)fu(xn[Is],Ms,Qs,!0),Is++;else{const Mo=Is,ta=Is,la=new Map;for(Is=ta;Is<=yo;Is++){const Gl=$n[Is]=Kr?Au($n[Is]):tl($n[Is]);Gl.key!=null&&la.set(Gl.key,Is)}let Ea,fl=0;const cc=yo-ta+1;let nf=!1,Mh=0;const Uc=new Array(cc);for(Is=0;Is<cc;Is++)Uc[Is]=0;for(Is=Mo;Is<=So;Is++){const Gl=xn[Is];if(fl>=cc){fu(Gl,Ms,Qs,!0);continue}let Ql;if(Gl.key!=null)Ql=la.get(Gl.key);else for(Ea=ta;Ea<=yo;Ea++)if(Uc[Ea-ta]===0&&Vc(Gl,$n[Ea])){Ql=Ea;break}Ql===void 0?fu(Gl,Ms,Qs,!0):(Uc[Ql-ta]=Is+1,Ql>=Mh?Mh=Ql:nf=!0,oo(Gl,$n[Ql],_s,null,Ms,Qs,io,Ws,Kr),fl++)}const Am=nf?rv(Uc):ri.Oj;for(Ea=Am.length-1,Is=cc-1;Is>=0;Is--){const Gl=ta+Is,Ql=$n[Gl],rd=Gl+1<no?$n[Gl+1].el:Rs;Uc[Is]===0?oo(null,Ql,_s,rd,Ms,Qs,io,Ws,Kr):nf&&(Ea<0||Is!==Am[Ea]?ef(Ql,_s,rd,2):Ea--)}}},ef=(xn,$n,_s,Rs,Ms=null)=>{const{el:Qs,type:io,transition:Ws,children:Kr,shapeFlag:Is}=xn;if(Is&6){ef(xn.component.subTree,$n,_s,Rs);return}if(Is&128){xn.suspense.move($n,_s,Rs);return}if(Is&64){io.move(xn,$n,_s,tf);return}if(io===$a){Di(Qs,$n,_s);for(let So=0;So<Kr.length;So++)ef(Kr[So],$n,_s,Rs);Di(xn.anchor,$n,_s);return}if(io===Yf){bs(xn,$n,_s);return}if(Rs!==2&&Is&1&&Ws)if(Rs===0)Ws.beforeEnter(Qs),Di(Qs,$n,_s),el(()=>Ws.enter(Qs),Ms);else{const{leave:So,delayLeave:yo,afterLeave:Mo}=Ws,ta=()=>Di(Qs,$n,_s),la=()=>{So(Qs,()=>{ta(),Mo&&Mo()})};yo?yo(Qs,ta,la):la()}else Di(Qs,$n,_s)},fu=(xn,$n,_s,Rs=!1,Ms=!1)=>{const{type:Qs,props:io,ref:Ws,children:Kr,dynamicChildren:Is,shapeFlag:no,patchFlag:So,dirs:yo}=xn;if(Ws!=null&&No(Ws,null,_s,xn,!0),no&256){$n.ctx.deactivate(xn);return}const Mo=no&1&&yo,ta=!zl(xn);let la;if(ta&&(la=io&&io.onVnodeBeforeUnmount)&&Nl(la,$n,xn),no&6)Mp(xn.component,_s,Rs);else{if(no&128){xn.suspense.unmount(_s,Rs);return}Mo&&ba(xn,null,$n,"beforeUnmount"),no&64?xn.type.remove(xn,$n,_s,Ms,tf,Rs):Is&&(Qs!==$a||So>0&&So&64)?du(Is,$n,_s,!1,!0):(Qs===$a&&So&384||!Ms&&no&16)&&du(Kr,$n,_s),Rs&&km(xn)}(ta&&(la=io&&io.onVnodeUnmounted)||Mo)&&el(()=>{la&&Nl(la,$n,xn),Mo&&ba(xn,null,$n,"unmounted")},_s)},km=xn=>{const{type:$n,el:_s,anchor:Rs,transition:Ms}=xn;if($n===$a){dv(_s,Rs);return}if($n===Yf){js(xn);return}const Qs=()=>{Ni(_s),Ms&&!Ms.persisted&&Ms.afterLeave&&Ms.afterLeave()};if(xn.shapeFlag&1&&Ms&&!Ms.persisted){const{leave:io,delayLeave:Ws}=Ms,Kr=()=>io(_s,Qs);Ws?Ws(xn.el,Qs,Kr):Kr()}else Qs()},dv=(xn,$n)=>{let _s;for(;xn!==$n;)_s=is(xn),Ni(xn),xn=_s;Ni($n)},Mp=(xn,$n,_s)=>{const{bum:Rs,scope:Ms,update:Qs,subTree:io,um:Ws}=xn;Rs&&(0,ri.DY)(Rs),Ms.stop(),Qs&&(Qs.active=!1,fu(io,xn,$n,_s)),Ws&&el(Ws,$n),el(()=>{xn.isUnmounted=!0},$n),$n&&$n.pendingBranch&&!$n.isUnmounted&&xn.asyncDep&&!xn.asyncResolved&&xn.suspenseId===$n.pendingId&&($n.deps--,$n.deps===0&&$n.resolve())},du=(xn,$n,_s,Rs=!1,Ms=!1,Qs=0)=>{for(let io=Qs;io<xn.length;io++)fu(xn[io],$n,_s,Rs,Ms)},$d=xn=>xn.shapeFlag&6?$d(xn.component.subTree):xn.shapeFlag&128?xn.suspense.next():is(xn.anchor||xn.el);let Th=!1;const Lh=(xn,$n,_s)=>{xn==null?$n._vnode&&fu($n._vnode,null,null,!0):oo($n._vnode||null,xn,$n,null,null,null,_s),Th||(Th=!0,Fn(),en(),Th=!1),$n._vnode=xn},tf={p:oo,um:fu,m:ef,r:km,mt:Va,mc:Gr,pc:jc,pbc:To,n:$d,o:ui};let Rh,Vd;return mi&&([Rh,Vd]=mi(tf)),{render:Lh,hydrate:Rh,createApp:Uf(Lh,Rh)}}function Xf({type:ui,props:mi},Ei){return Ei==="svg"&&ui==="foreignObject"||Ei==="mathml"&&ui==="annotation-xml"&&mi&&mi.encoding&&mi.encoding.includes("html")?void 0:Ei}function wc({effect:ui,update:mi},Ei){ui.allowRecurse=mi.allowRecurse=Ei}function hm(ui,mi){return(!ui||ui&&!ui.pendingBranch)&&mi&&!mi.persisted}function mm(ui,mi,Ei=!1){const Di=ui.children,Ni=mi.children;if((0,ri.cy)(Di)&&(0,ri.cy)(Ni))for(let Vi=0;Vi<Di.length;Vi++){const cn=Di[Vi];let An=Ni[Vi];An.shapeFlag&1&&!An.dynamicChildren&&((An.patchFlag<=0||An.patchFlag===32)&&(An=Ni[Vi]=Au(Ni[Vi]),An.el=cn.el),Ei||mm(cn,An)),An.type===vf&&(An.el=cn.el)}}function rv(ui){const mi=ui.slice(),Ei=[0];let Di,Ni,Vi,cn,An;const qn=ui.length;for(Di=0;Di<qn;Di++){const Qn=ui[Di];if(Qn!==0){if(Ni=Ei[Ei.length-1],ui[Ni]<Qn){mi[Di]=Ni,Ei.push(Di);continue}for(Vi=0,cn=Ei.length-1;Vi<cn;)An=Vi+cn>>1,ui[Ei[An]]<Qn?Vi=An+1:cn=An;Qn<ui[Ei[Vi]]&&(Vi>0&&(mi[Di]=Ei[Vi-1]),Ei[Vi]=Di)}}for(Vi=Ei.length,cn=Ei[Vi-1];Vi-- >0;)Ei[Vi]=cn,cn=mi[cn];return Ei}function jp(ui){const mi=ui.subTree.component;if(mi)return mi.asyncDep&&!mi.asyncResolved?mi:jp(mi)}const ov=ui=>ui.__isTeleport,Gf=ui=>ui&&(ui.disabled||ui.disabled===""),Sp=ui=>typeof SVGElement<"u"&&ui instanceof SVGElement,Cp=ui=>typeof MathMLElement=="function"&&ui instanceof MathMLElement,pm=(ui,mi)=>{const Ei=ui&&ui.to;if((0,ri.Kg)(Ei))if(mi){const Di=mi(Ei);return Di}else return null;else return Ei},Wy={name:"Teleport",__isTeleport:!0,process(ui,mi,Ei,Di,Ni,Vi,cn,An,qn,Qn){const{mc:ds,pc:Cn,pbc:is,o:{insert:Ss,querySelector:qs,createText:oo,createComment:Qo}}=Qn,Vo=Gf(mi.props);let{shapeFlag:Os,children:os,dynamicChildren:bs}=mi;if(ui==null){const js=mi.el=oo(""),Ks=mi.anchor=oo("");Ss(js,Ei,Di),Ss(Ks,Ei,Di);const Ns=mi.target=pm(mi.props,qs),Gs=mi.targetAnchor=oo("");Ns&&(Ss(Gs,Ns),cn==="svg"||Sp(Ns)?cn="svg":(cn==="mathml"||Cp(Ns))&&(cn="mathml"));const Gr=(eo,To)=>{Os&16&&ds(os,eo,To,Ni,Vi,cn,An,qn)};Vo?Gr(Ei,Ks):Ns&&Gr(Ns,Gs)}else{mi.el=ui.el;const js=mi.anchor=ui.anchor,Ks=mi.target=ui.target,Ns=mi.targetAnchor=ui.targetAnchor,Gs=Gf(ui.props),Gr=Gs?Ei:Ks,eo=Gs?js:Ns;if(cn==="svg"||Sp(Ks)?cn="svg":(cn==="mathml"||Cp(Ks))&&(cn="mathml"),bs?(is(ui.dynamicChildren,bs,Gr,Ni,Vi,cn,An),mm(ui,mi,!0)):qn||Cn(ui,mi,Gr,eo,Ni,Vi,cn,An,!1),Vo)Gs?mi.props&&ui.props&&mi.props.to!==ui.props.to&&(mi.props.to=ui.props.to):vh(mi,Ei,js,Qn,1);else if((mi.props&&mi.props.to)!==(ui.props&&ui.props.to)){const To=mi.target=pm(mi.props,qs);To&&vh(mi,To,null,Qn,0)}else Gs&&vh(mi,Ks,Ns,Qn,1)}Qf(mi)},remove(ui,mi,Ei,Di,{um:Ni,o:{remove:Vi}},cn){const{shapeFlag:An,children:qn,anchor:Qn,targetAnchor:ds,target:Cn,props:is}=ui;if(Cn&&Vi(ds),cn&&Vi(Qn),An&16){const Ss=cn||!Gf(is);for(let qs=0;qs<qn.length;qs++){const oo=qn[qs];Ni(oo,mi,Ei,Ss,!!oo.dynamicChildren)}}},move:vh,hydrate:av};function vh(ui,mi,Ei,{o:{insert:Di},m:Ni},Vi=2){Vi===0&&Di(ui.targetAnchor,mi,Ei);const{el:cn,anchor:An,shapeFlag:qn,children:Qn,props:ds}=ui,Cn=Vi===2;if(Cn&&Di(cn,mi,Ei),(!Cn||Gf(ds))&&qn&16)for(let is=0;is<Qn.length;is++)Ni(Qn[is],mi,Ei,2);Cn&&Di(An,mi,Ei)}function av(ui,mi,Ei,Di,Ni,Vi,{o:{nextSibling:cn,parentNode:An,querySelector:qn}},Qn){const ds=mi.target=pm(mi.props,qn);if(ds){const Cn=ds._lpa||ds.firstChild;if(mi.shapeFlag&16)if(Gf(mi.props))mi.anchor=Qn(cn(ui),mi,An(ui),Ei,Di,Ni,Vi),mi.targetAnchor=Cn;else{mi.anchor=cn(ui);let is=Cn;for(;is;)if(is=cn(is),is&&is.nodeType===8&&is.data==="teleport anchor"){mi.targetAnchor=is,ds._lpa=mi.targetAnchor&&cn(mi.targetAnchor);break}Qn(Cn,mi,ds,Ei,Di,Ni,Vi)}Qf(mi)}return mi.anchor&&cn(mi.anchor)}const Xa=null;function Qf(ui){const mi=ui.ctx;if(mi&&mi.ut){let Ei=ui.children[0].el;for(;Ei&&Ei!==ui.targetAnchor;)Ei.nodeType===1&&Ei.setAttribute("data-v-owner",mi.uid),Ei=Ei.nextSibling;mi.ut()}}const $a=Symbol.for("v-fgt"),vf=Symbol.for("v-txt"),yl=Symbol.for("v-cmt"),Yf=Symbol.for("v-stc"),bf=[];let Xl=null;function bh(ui=!1){bf.push(Xl=ui?null:[])}function xc(){bf.pop(),Xl=bf[bf.length-1]||null}let ql=1;function Jf(ui){ql+=ui}function gm(ui){return ui.dynamicChildren=ql>0?Xl||ri.Oj:null,xc(),ql>0&&Xl&&Xl.push(ui),ui}function lc(ui,mi,Ei,Di,Ni,Vi){return gm(Gu(ui,mi,Ei,Di,Ni,Vi,!0))}function _h(ui,mi,Ei,Di,Ni){return gm(Ca(ui,mi,Ei,Di,Ni,!0))}function ku(ui){return ui?ui.__v_isVNode===!0:!1}function Vc(ui,mi){return ui.type===mi.type&&ui.key===mi.key}let vm;function Ep(ui){vm=ui}const bm=(...ui)=>_m(...vm?vm(ui,Do):ui),qd=({key:ui})=>ui??null,Zf=({ref:ui,ref_key:mi,ref_for:Ei})=>(typeof ui=="number"&&(ui=""+ui),ui!=null?(0,ri.Kg)(ui)||(0,vi.i9)(ui)||(0,ri.Tn)(ui)?{i:Do,r:ui,k:mi,f:!!Ei}:ui:null);function Gu(ui,mi=null,Ei=null,Di=0,Ni=null,Vi=ui===$a?0:1,cn=!1,An=!1){const qn={__v_isVNode:!0,__v_skip:!0,type:ui,props:mi,key:mi&&qd(mi),ref:mi&&Zf(mi),scopeId:ra,slotScopeIds:null,children:Ei,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:Vi,patchFlag:Di,dynamicProps:Ni,dynamicChildren:null,appContext:null,ctx:Do};return An?(wh(qn,Ei),Vi&128&&ui.normalize(qn)):Ei&&(qn.shapeFlag|=(0,ri.Kg)(Ei)?8:16),ql>0&&!cn&&Xl&&(qn.patchFlag>0||Vi&6)&&qn.patchFlag!==32&&Xl.push(qn),qn}const Ca=_m;function _m(ui,mi=null,Ei=null,Di=0,Ni=null,Vi=!1){if((!ui||ui===Yn)&&(ui=yl),ku(ui)){const An=cu(ui,mi,!0);return Ei&&wh(An,Ei),ql>0&&!Vi&&Xl&&(An.shapeFlag&6?Xl[Xl.indexOf(ui)]=An:Xl.push(An)),An.patchFlag|=-2,An}if(Cm(ui)&&(ui=ui.__vccOpts),mi){mi=Qu(mi);let{class:An,style:qn}=mi;An&&!(0,ri.Kg)(An)&&(mi.class=(0,ri.C4)(An)),(0,ri.Gv)(qn)&&((0,vi.ju)(qn)&&!(0,ri.cy)(qn)&&(qn=(0,ri.X$)({},qn)),mi.style=(0,ri.Tr)(qn))}const cn=(0,ri.Kg)(ui)?1:ea(ui)?128:ov(ui)?64:(0,ri.Gv)(ui)?4:(0,ri.Tn)(ui)?2:0;return Gu(ui,mi,Ei,Di,Ni,cn,Vi,!0)}function Qu(ui){return ui?(0,vi.ju)(ui)||ll(ui)?(0,ri.X$)({},ui):ui:null}function cu(ui,mi,Ei=!1){const{props:Di,ref:Ni,patchFlag:Vi,children:cn}=ui,An=mi?xh(Di||{},mi):Di;return{__v_isVNode:!0,__v_skip:!0,type:ui.type,props:An,key:An&&qd(An),ref:mi&&mi.ref?Ei&&Ni?(0,ri.cy)(Ni)?Ni.concat(Zf(mi)):[Ni,Zf(mi)]:Zf(mi):Ni,scopeId:ui.scopeId,slotScopeIds:ui.slotScopeIds,children:cn,target:ui.target,targetAnchor:ui.targetAnchor,staticCount:ui.staticCount,shapeFlag:ui.shapeFlag,patchFlag:mi&&ui.type!==$a?Vi===-1?16:Vi|16:Vi,dynamicProps:ui.dynamicProps,dynamicChildren:ui.dynamicChildren,appContext:ui.appContext,dirs:ui.dirs,transition:ui.transition,component:ui.component,suspense:ui.suspense,ssContent:ui.ssContent&&cu(ui.ssContent),ssFallback:ui.ssFallback&&cu(ui.ssFallback),el:ui.el,anchor:ui.anchor,ctx:ui.ctx,ce:ui.ce}}function yh(ui){const mi=cu(ui);return isArray(ui.children)&&(mi.children=ui.children.map(yh)),mi}function Yu(ui=" ",mi=0){return Ca(vf,null,ui,mi)}function zy(ui,mi){const Ei=Ca(Yf,null,ui);return Ei.staticCount=mi,Ei}function lv(ui="",mi=!1){return mi?(bh(),_h(yl,null,ui)):Ca(yl,null,ui)}function tl(ui){return ui==null||typeof ui=="boolean"?Ca(yl):(0,ri.cy)(ui)?Ca($a,null,ui.slice()):typeof ui=="object"?Au(ui):Ca(vf,null,String(ui))}function Au(ui){return ui.el===null&&ui.patchFlag!==-1||ui.memo?ui:cu(ui)}function wh(ui,mi){let Ei=0;const{shapeFlag:Di}=ui;if(mi==null)mi=null;else if((0,ri.cy)(mi))Ei=16;else if(typeof mi=="object")if(Di&65){const Ni=mi.default;Ni&&(Ni._c&&(Ni._d=!1),wh(ui,Ni()),Ni._c&&(Ni._d=!0));return}else{Ei=32;const Ni=mi._;!Ni&&!ll(mi)?mi._ctx=Do:Ni===3&&Do&&(Do.slots._===1?mi._=1:(mi._=2,ui.patchFlag|=1024))}else(0,ri.Tn)(mi)?(mi={default:mi,_ctx:Do},Ei=32):(mi=String(mi),Di&64?(Ei=16,mi=[Yu(mi)]):Ei=8);ui.children=mi,ui.shapeFlag|=Ei}function xh(...ui){const mi={};for(let Ei=0;Ei<ui.length;Ei++){const Di=ui[Ei];for(const Ni in Di)if(Ni==="class")mi.class!==Di.class&&(mi.class=(0,ri.C4)([mi.class,Di.class]));else if(Ni==="style")mi.style=(0,ri.Tr)([mi.style,Di.style]);else if((0,ri.Mp)(Ni)){const Vi=mi[Ni],cn=Di[Ni];cn&&Vi!==cn&&!((0,ri.cy)(Vi)&&Vi.includes(cn))&&(mi[Ni]=Vi?[].concat(Vi,cn):cn)}else Ni!==""&&(mi[Ni]=Di[Ni])}return mi}function Nl(ui,mi,Ei,Di=null){qi(ui,mi,7,[Ei,Di])}const jh=Vf();let Nd=0;function ed(ui,mi,Ei){const Di=ui.type,Ni=(mi?mi.appContext:ui.appContext)||jh,Vi={uid:Nd++,vnode:ui,type:Di,parent:mi,appContext:Ni,root:null,next:null,subTree:null,effect:null,update:null,scope:new vi.yC(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:mi?mi.provides:Object.create(Ni.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wf(Di,Ni),emitsOptions:ha(Di,Ni),emit:null,emitted:null,propsDefaults:ri.MZ,inheritAttrs:Di.inheritAttrs,ctx:ri.MZ,data:ri.MZ,props:ri.MZ,attrs:ri.MZ,slots:ri.MZ,refs:ri.MZ,setupState:ri.MZ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:Ei,suspenseId:Ei?Ei.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return Vi.ctx={_:Vi},Vi.root=mi?mi.root:Vi,Vi.emit=Aa.bind(null,Vi),ui.ce&&ui.ce(Vi),Vi}let ga=null;const _f=()=>ga||Do;let yf,Sh;{const ui=(0,ri.We)(),mi=(Ei,Di)=>{let Ni;return(Ni=ui[Ei])||(Ni=ui[Ei]=[]),Ni.push(Di),Vi=>{Ni.length>1?Ni.forEach(cn=>cn(Vi)):Ni[0](Vi)}};yf=mi("__VUE_INSTANCE_SETTERS__",Ei=>ga=Ei),Sh=mi("__VUE_SSR_SETTERS__",Ei=>id=Ei)}const Tu=ui=>{const mi=ga;return yf(ui),ui.scope.on(),()=>{ui.scope.off(),yf(mi)}},td=()=>{ga&&ga.scope.off(),yf(null)},ym=null;function cv(ui,{isNativeTag:mi}){(ym(ui)||mi(ui))&&tn("Do not use built-in or reserved HTML elements as component id: "+ui)}function wm(ui){return ui.vnode.shapeFlag&4}let id=!1;function xm(ui,mi=!1){mi&&Sh(mi);const{props:Ei,children:Di}=ui.vnode,Ni=wm(ui);Hc(ui,Ei,Ni,mi),Ao(ui,Di);const Vi=Ni?Ch(ui,mi):void 0;return mi&&Sh(!1),Vi}function Ch(ui,mi){var Ei;const Di=ui.type;ui.accessCache=Object.create(null),ui.proxy=new Proxy(ui.ctx,di);const{setup:Ni}=Di;if(Ni){const Vi=ui.setupContext=Ni.length>1?Ap(ui):null,cn=Tu(ui);(0,vi.C4)();const An=En(Ni,ui,0,[ui.props,Vi]);if((0,vi.bl)(),cn(),(0,ri.yL)(An)){if(An.then(td,td),mi)return An.then(qn=>{Eh(ui,qn,mi)}).catch(qn=>{sn(qn,ui,0)});ui.asyncDep=An}else Eh(ui,An,mi)}else Hd(ui,mi)}function Eh(ui,mi,Ei){(0,ri.Tn)(mi)?ui.type.__ssrInlineRender?ui.ssrRender=mi:ui.render=mi:(0,ri.Gv)(mi)&&(ui.setupState=(0,vi.Pr)(mi)),Hd(ui,Ei)}let kh,Bd;function Ky(ui){kh=ui,Bd=mi=>{mi.render._rc&&(mi.withProxy=new Proxy(mi.ctx,xi))}}const Xy=()=>!kh;function Hd(ui,mi,Ei){const Di=ui.type;if(!ui.render){if(!mi&&kh&&!Di.render){const Ni=Di.template||Nc(ui).template;if(Ni){const{isCustomElement:Vi,compilerOptions:cn}=ui.appContext.config,{delimiters:An,compilerOptions:qn}=Di,Qn=(0,ri.X$)((0,ri.X$)({isCustomElement:Vi,delimiters:An},cn),qn);Di.render=kh(Ni,Qn)}}ui.render=Di.render||ri.tE,Bd&&Bd(ui)}{const Ni=Tu(ui);(0,vi.C4)();try{Ma(ui)}finally{(0,vi.bl)(),Ni()}}}const jm={get(ui,mi){return(0,vi.u4)(ui,"get",""),ui[mi]}};function kp(ui){return ui.slotsProxy||(ui.slotsProxy=new Proxy(ui.slots,{get(mi,Ei){return track(ui,"get","$slots"),mi[Ei]}}))}function Ap(ui){const mi=Ei=>{ui.exposed=Ei||{}};return{attrs:new Proxy(ui.attrs,jm),slots:ui.slots,emit:ui.emit,expose:mi}}function nd(ui){if(ui.exposed)return ui.exposeProxy||(ui.exposeProxy=new Proxy((0,vi.Pr)((0,vi.IG)(ui.exposed)),{get(mi,Ei){if(Ei in mi)return mi[Ei];if(Ei in qc)return qc[Ei](ui)},has(mi,Ei){return Ei in mi||Ei in qc}}))}const Sm=/(?:^|[-_])(\w)/g,uv=ui=>ui.replace(Sm,mi=>mi.toUpperCase()).replace(/[-_]/g,"");function Ju(ui,mi=!0){return(0,ri.Tn)(ui)?ui.displayName||ui.name:ui.name||mi&&ui.__name}function uu(ui,mi,Ei=!1){let Di=Ju(mi);if(!Di&&mi.__file){const Ni=mi.__file.match(/([^/\\]+)\.\w+$/);Ni&&(Di=Ni[1])}if(!Di&&ui&&ui.parent){const Ni=Vi=>{for(const cn in Vi)if(Vi[cn]===mi)return cn};Di=Ni(ui.components||ui.parent.type.components)||Ni(ui.appContext.components)}return Di?uv(Di):Ei?"App":"Anonymous"}function Cm(ui){return(0,ri.Tn)(ui)&&"__vccOpts"in ui}const Ah=(ui,mi)=>(0,vi.EW)(ui,mi,id);function Em(ui,mi,Ei=EMPTY_OBJ){const Di=_f(),Ni=camelize(mi),Vi=hyphenate(mi),cn=customRef((qn,Qn)=>{let ds;return Tn(()=>{const Cn=ui[mi];hasChanged(ds,Cn)&&(ds=Cn,Qn())}),{get(){return qn(),Ei.get?Ei.get(ds):ds},set(Cn){const is=Di.vnode.props;!(is&&(mi in is||Ni in is||Vi in is)&&(`onUpdate:${mi}`in is||`onUpdate:${Ni}`in is||`onUpdate:${Vi}`in is))&&hasChanged(Cn,ds)&&(ds=Cn,Qn()),Di.emit(`update:${mi}`,Ei.set?Ei.set(Cn):Cn)}}}),An=mi==="modelValue"?"modelModifiers":`${mi}Modifiers`;return cn[Symbol.iterator]=()=>{let qn=0;return{next(){return qn<2?{value:qn++?ui[An]||{}:cn,done:!1}:{done:!0}}}},cn}function Tp(ui,mi,Ei){const Di=arguments.length;return Di===2?(0,ri.Gv)(mi)&&!(0,ri.cy)(mi)?ku(mi)?Ca(ui,null,[mi]):Ca(ui,mi):Ca(ui,null,mi):(Di>3?Ei=Array.prototype.slice.call(arguments,2):Di===3&&ku(Ei)&&(Ei=[Ei]),Ca(ui,mi,Ei))}function Gy(){return;function Vi(Cn){const is=[];Cn.type.props&&Cn.props&&is.push(cn("props",toRaw(Cn.props))),Cn.setupState!==EMPTY_OBJ&&is.push(cn("setup",Cn.setupState)),Cn.data!==EMPTY_OBJ&&is.push(cn("data",toRaw(Cn.data)));const Ss=qn(Cn,"computed");Ss&&is.push(cn("computed",Ss));const qs=qn(Cn,"inject");return qs&&is.push(cn("injected",qs)),is.push(["div",{},["span",{style:Di.style+";opacity:0.66"},"$ (internal): "],["object",{object:Cn}]]),is}function cn(Cn,is){return is=extend({},is),Object.keys(is).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},Cn],["div",{style:"padding-left:1.25em"},...Object.keys(is).map(Ss=>["div",{},["span",Di,Ss+": "],An(is[Ss],!1)])]]:["span",{}]}function An(Cn,is=!0){return typeof Cn=="number"?["span",mi,Cn]:typeof Cn=="string"?["span",Ei,JSON.stringify(Cn)]:typeof Cn=="boolean"?["span",Di,Cn]:isObject(Cn)?["object",{object:is?toRaw(Cn):Cn}]:["span",Ei,String(Cn)]}function qn(Cn,is){const Ss=Cn.type;if(isFunction(Ss))return;const qs={};for(const oo in Cn.ctx)Qn(Ss,oo,is)&&(qs[oo]=Cn.ctx[oo]);return qs}function Qn(Cn,is,Ss){const qs=Cn[Ss];if(isArray(qs)&&qs.includes(is)||isObject(qs)&&is in qs||Cn.extends&&Qn(Cn.extends,is,Ss)||Cn.mixins&&Cn.mixins.some(oo=>Qn(oo,is,Ss)))return!0}function ds(Cn){return isShallow(Cn)?"ShallowRef":Cn.effect?"ComputedRef":"Ref"}}function fv(ui,mi,Ei,Di){const Ni=Ei[Di];if(Ni&&Lp(Ni,ui))return Ni;const Vi=mi();return Vi.memo=ui.slice(),Ei[Di]=Vi}function Lp(ui,mi){const Ei=ui.memo;if(Ei.length!=mi.length)return!1;for(let Di=0;Di<Ei.length;Di++)if((0,ri.$H)(Ei[Di],mi[Di]))return!1;return ql>0&&Xl&&Xl.push(ui),!0}const Rp="3.4.25",Qy=null,Yy=null,Jy=go,Zy=null,ew={createComponentInstance:ed,setupComponent:xm,renderComponentRoot:va,setCurrentRenderingInstance:rl,isVNode:ku,normalizeVNode:tl},tw=null,iw=null,nw=null,sw=null},"./node_modules/@vue/shared/dist/shared.esm-bundler.js":function(oi,bi,wi){"use strict";wi.d(bi,{$3:function(){return Zi},$H:function(){return en},BH:function(){return fo},BX:function(){return El},Bm:function(){return hs},C4:function(){return Un},CE:function(){return ls},CP:function(){return _n},DY:function(){return Fi},Gv:function(){return fs},J$:function(){return ra},Kg:function(){return rs},MZ:function(){return ri},Mp:function(){return tn},NO:function(){return Ji},Oj:function(){return yi},PT:function(){return Ri},Qd:function(){return rn},Ro:function(){return Ti},SU:function(){return pn},TF:function(){return Vn},Tg:function(){return Wi},Tn:function(){return sn},Tr:function(){return ca},We:function(){return wn},X$:function(){return In},Y2:function(){return bl},ZH:function(){return an},Zf:function(){return pi},bB:function(){return zi},cy:function(){return un},gd:function(){return qi},pD:function(){return vi},rU:function(){return Fn},tE:function(){return Li},u3:function(){return kl},vM:function(){return ks},v_:function(){return tc},yI:function(){return dn},yL:function(){return yn},yQ:function(){return Oi}});function vi(Yn,Ts){const Us=new Set(Yn.split(","));return Ts?mo=>Us.has(mo.toLowerCase()):mo=>Us.has(mo)}const ri={},yi=[],Li=()=>{},Ji=()=>!1,tn=Yn=>Yn.charCodeAt(0)===111&&Yn.charCodeAt(1)===110&&(Yn.charCodeAt(2)>122||Yn.charCodeAt(2)<97),_n=Yn=>Yn.startsWith("onUpdate:"),In=Object.assign,Vn=(Yn,Ts)=>{const Us=Yn.indexOf(Ts);Us>-1&&Yn.splice(Us,1)},bn=Object.prototype.hasOwnProperty,Zi=(Yn,Ts)=>bn.call(Yn,Ts),un=Array.isArray,ls=Yn=>Mn(Yn)==="[object Map]",ks=Yn=>Mn(Yn)==="[object Set]",En=Yn=>Mn(Yn)==="[object Date]",qi=Yn=>Mn(Yn)==="[object RegExp]",sn=Yn=>typeof Yn=="function",rs=Yn=>typeof Yn=="string",hs=Yn=>typeof Yn=="symbol",fs=Yn=>Yn!==null&&typeof Yn=="object",yn=Yn=>(fs(Yn)||sn(Yn))&&sn(Yn.then)&&sn(Yn.catch),mn=Object.prototype.toString,Mn=Yn=>mn.call(Yn),pi=Yn=>Mn(Yn).slice(8,-1),rn=Yn=>Mn(Yn)==="[object Object]",dn=Yn=>rs(Yn)&&Yn!=="NaN"&&Yn[0]!=="-"&&""+parseInt(Yn,10)===Yn,pn=vi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pn=null,nn=Yn=>{const Ts=Object.create(null);return Us=>Ts[Us]||(Ts[Us]=Yn(Us))},Ai=/-(\w)/g,Ri=nn(Yn=>Yn.replace(Ai,(Ts,Us)=>Us?Us.toUpperCase():"")),ki=/\B([A-Z])/g,Wi=nn(Yn=>Yn.replace(ki,"-$1").toLowerCase()),an=nn(Yn=>Yn.charAt(0).toUpperCase()+Yn.slice(1)),Fn=nn(Yn=>Yn?`on${an(Yn)}`:""),en=(Yn,Ts)=>!Object.is(Yn,Ts),Fi=(Yn,Ts)=>{for(let Us=0;Us<Yn.length;Us++)Yn[Us](Ts)},Oi=(Yn,Ts,Us)=>{Object.defineProperty(Yn,Ts,{configurable:!0,enumerable:!1,value:Us})},zi=Yn=>{const Ts=parseFloat(Yn);return isNaN(Ts)?Yn:Ts},Ti=Yn=>{const Ts=rs(Yn)?Number(Yn):NaN;return isNaN(Ts)?Yn:Ts};let Yi;const wn=()=>Yi||(Yi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof wi.g<"u"?wi.g:{}),Bi=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Qi(Yn){return Bi.test(Yn)?`__props.${Yn}`:`__props[${JSON.stringify(Yn)}]`}const Gi={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},On={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},Xn={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},cs={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},Vs={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},fo=vi("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error"),go=null,Po=2;function Jo(Yn,Ts=0,Us=Yn.length){let mo=Yn.split(/(\r?\n)/);const ma=mo.filter((Ka,ia)=>ia%2===1);mo=mo.filter((Ka,ia)=>ia%2===0);let ea=0;const Ra=[];for(let Ka=0;Ka<mo.length;Ka++)if(ea+=mo[Ka].length+(ma[Ka]&&ma[Ka].length||0),ea>=Ts){for(let ia=Ka-Po;ia<=Ka+Po||Us>ea;ia++){if(ia<0||ia>=mo.length)continue;const Ul=ia+1;Ra.push(`${Ul}${" ".repeat(Math.max(3-String(Ul).length,0))}| ${mo[ia]}`);const Ml=mo[ia].length,Oc=ma[ia]&&ma[ia].length||0;if(ia===Ka){const xa=Ts-(ea-(Ml+Oc)),Dc=Math.max(1,Us>ea?Ml-xa:Us-Ts);Ra.push(" | "+" ".repeat(xa)+"^".repeat(Dc))}else if(ia>Ka){if(Us>ea){const xa=Math.max(Math.min(Us-ea,Ml),1);Ra.push(" | "+"^".repeat(xa))}ea+=Ml+Oc}}break}return Ra.join(`
`)}function ca(Yn){if(un(Yn)){const Ts={};for(let Us=0;Us<Yn.length;Us++){const mo=Yn[Us],ma=rs(mo)?kn(mo):ca(mo);if(ma)for(const ea in ma)Ts[ea]=ma[ea]}return Ts}else if(rs(Yn)||fs(Yn))return Yn}const gi=/;(?![^(]*\))/g,Si=/:([^]+)/,$i=/\/\*[^]*?\*\//g;function kn(Yn){const Ts={};return Yn.replace($i,"").split(gi).forEach(Us=>{if(Us){const mo=Us.split(Si);mo.length>1&&(Ts[mo[0].trim()]=mo[1].trim())}}),Ts}function Ln(Yn){let Ts="";if(!Yn||rs(Yn))return Ts;for(const Us in Yn){const mo=Yn[Us],ma=Us.startsWith("--")?Us:Wi(Us);(rs(mo)||typeof mo=="number")&&(Ts+=`${ma}:${mo};`)}return Ts}function Un(Yn){let Ts="";if(rs(Yn))Ts=Yn;else if(un(Yn))for(let Us=0;Us<Yn.length;Us++){const mo=Un(Yn[Us]);mo&&(Ts+=mo+" ")}else if(fs(Yn))for(const Us in Yn)Yn[Us]&&(Ts+=Us+" ");return Ts.trim()}function Jn(Yn){if(!Yn)return null;let{class:Ts,style:Us}=Yn;return Ts&&!rs(Ts)&&(Yn.class=Un(Ts)),Us&&(Yn.style=ca(Us)),Yn}const Ys="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",bo="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",_o="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",pa="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",ka=null,Aa=null,ha=null,sa=null,Do="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ra=vi(Do),rl=vi(Do+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function bl(Yn){return!!Yn||Yn===""}const nu=/[>/="'\u0009\u000a\u000c\u0020]/,ec={};function su(Yn){if(ec.hasOwnProperty(Yn))return ec[Yn];const Ts=nu.test(Yn);return Ts&&console.error(`unsafe attribute name: ${Yn}`),ec[Yn]=!Ts}const Ta={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},La=null,va=null;function Ya(Yn){if(Yn==null)return!1;const Ts=typeof Yn;return Ts==="string"||Ts==="number"||Ts==="boolean"}const Zo=/["'&<>]/;function Da(Yn){const Ts=""+Yn,Us=Zo.exec(Ts);if(!Us)return Ts;let mo="",ma,ea,Ra=0;for(ea=Us.index;ea<Ts.length;ea++){switch(Ts.charCodeAt(ea)){case 34:ma="&quot;";break;case 38:ma="&amp;";break;case 39:ma="&#39;";break;case 60:ma="&lt;";break;case 62:ma="&gt;";break;default:continue}Ra!==ea&&(mo+=Ts.slice(Ra,ea)),Ra=ea+1,mo+=ma}return Ra!==ea?mo+Ts.slice(Ra,ea):mo}const ru=/^-?>|<!--|-->|--!>|<!-$/g;function Go(Yn){return Yn.replace(ru,"")}function Rc(Yn,Ts){if(Yn.length!==Ts.length)return!1;let Us=!0;for(let mo=0;Us&&mo<Yn.length;mo++)Us=El(Yn[mo],Ts[mo]);return Us}function El(Yn,Ts){if(Yn===Ts)return!0;let Us=En(Yn),mo=En(Ts);if(Us||mo)return Us&&mo?Yn.getTime()===Ts.getTime():!1;if(Us=hs(Yn),mo=hs(Ts),Us||mo)return Yn===Ts;if(Us=un(Yn),mo=un(Ts),Us||mo)return Us&&mo?Rc(Yn,Ts):!1;if(Us=fs(Yn),mo=fs(Ts),Us||mo){if(!Us||!mo)return!1;const ma=Object.keys(Yn).length,ea=Object.keys(Ts).length;if(ma!==ea)return!1;for(const Ra in Yn){const Ka=Yn.hasOwnProperty(Ra),ia=Ts.hasOwnProperty(Ra);if(Ka&&!ia||!Ka&&ia||!El(Yn[Ra],Ts[Ra]))return!1}}return String(Yn)===String(Ts)}function kl(Yn,Ts){return Yn.findIndex(Us=>El(Us,Ts))}const tc=Yn=>rs(Yn)?Yn:Yn==null?"":un(Yn)||fs(Yn)&&(Yn.toString===mn||!sn(Yn.toString))?JSON.stringify(Yn,Mc,2):String(Yn),Mc=(Yn,Ts)=>Ts&&Ts.__v_isRef?Mc(Yn,Ts.value):ls(Ts)?{[`Map(${Ts.size})`]:[...Ts.entries()].reduce((Us,[mo,ma],ea)=>(Us[bc(mo,ea)+" =>"]=ma,Us),{})}:ks(Ts)?{[`Set(${Ts.size})`]:[...Ts.values()].map(Us=>bc(Us))}:hs(Ts)?bc(Ts):fs(Ts)&&!un(Ts)&&!rn(Ts)?String(Ts):Ts,bc=(Yn,Ts="")=>{var Us;return hs(Yn)?`Symbol(${(Us=Yn.description)!=null?Us:Ts})`:Yn}},"./node_modules/balanced-match/index.js":function(oi){"use strict";oi.exports=bi;function bi(ri,yi,Li){ri instanceof RegExp&&(ri=wi(ri,Li)),yi instanceof RegExp&&(yi=wi(yi,Li));var Ji=vi(ri,yi,Li);return Ji&&{start:Ji[0],end:Ji[1],pre:Li.slice(0,Ji[0]),body:Li.slice(Ji[0]+ri.length,Ji[1]),post:Li.slice(Ji[1]+yi.length)}}function wi(ri,yi){var Li=yi.match(ri);return Li?Li[0]:null}bi.range=vi;function vi(ri,yi,Li){var Ji,tn,_n,In,Vn,bn=Li.indexOf(ri),Zi=Li.indexOf(yi,bn+1),un=bn;if(bn>=0&&Zi>0){if(ri===yi)return[bn,Zi];for(Ji=[],_n=Li.length;un>=0&&!Vn;)un==bn?(Ji.push(un),bn=Li.indexOf(ri,un+1)):Ji.length==1?Vn=[Ji.pop(),Zi]:(tn=Ji.pop(),tn<_n&&(_n=tn,In=Zi),Zi=Li.indexOf(yi,un+1)),un=bn<Zi&&bn>=0?bn:Zi;Ji.length&&(Vn=[_n,In])}return Vn}},"./node_modules/brace-expansion/index.js":function(oi,bi,wi){var vi=wi("./node_modules/balanced-match/index.js");oi.exports=Zi;var ri="\0SLASH"+Math.random()+"\0",yi="\0OPEN"+Math.random()+"\0",Li="\0CLOSE"+Math.random()+"\0",Ji="\0COMMA"+Math.random()+"\0",tn="\0PERIOD"+Math.random()+"\0";function _n(sn){return parseInt(sn,10)==sn?parseInt(sn,10):sn.charCodeAt(0)}function In(sn){return sn.split("\\\\").join(ri).split("\\{").join(yi).split("\\}").join(Li).split("\\,").join(Ji).split("\\.").join(tn)}function Vn(sn){return sn.split(ri).join("\\").split(yi).join("{").split(Li).join("}").split(Ji).join(",").split(tn).join(".")}function bn(sn){if(!sn)return[""];var rs=[],hs=vi("{","}",sn);if(!hs)return sn.split(",");var fs=hs.pre,yn=hs.body,mn=hs.post,Mn=fs.split(",");Mn[Mn.length-1]+="{"+yn+"}";var pi=bn(mn);return mn.length&&(Mn[Mn.length-1]+=pi.shift(),Mn.push.apply(Mn,pi)),rs.push.apply(rs,Mn),rs}function Zi(sn){return sn?(sn.substr(0,2)==="{}"&&(sn="\\{\\}"+sn.substr(2)),qi(In(sn),!0).map(Vn)):[]}function un(sn){return"{"+sn+"}"}function ls(sn){return/^-?0\d/.test(sn)}function ks(sn,rs){return sn<=rs}function En(sn,rs){return sn>=rs}function qi(sn,rs){var hs=[],fs=vi("{","}",sn);if(!fs)return[sn];var yn=fs.pre,mn=fs.post.length?qi(fs.post,!1):[""];if(/\$$/.test(fs.pre))for(var Mn=0;Mn<mn.length;Mn++){var pi=yn+"{"+fs.body+"}"+mn[Mn];hs.push(pi)}else{var rn=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(fs.body),dn=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(fs.body),pn=rn||dn,Pn=fs.body.indexOf(",")>=0;if(!pn&&!Pn)return fs.post.match(/,.*\}/)?(sn=fs.pre+"{"+fs.body+Li+fs.post,qi(sn)):[sn];var nn;if(pn)nn=fs.body.split(/\.\./);else if(nn=bn(fs.body),nn.length===1&&(nn=qi(nn[0],!1).map(un),nn.length===1))return mn.map(function(Bi){return fs.pre+nn[0]+Bi});var Ai;if(pn){var Ri=_n(nn[0]),ki=_n(nn[1]),Wi=Math.max(nn[0].length,nn[1].length),an=nn.length==3?Math.abs(_n(nn[2])):1,Fn=ks,en=ki<Ri;en&&(an*=-1,Fn=En);var Fi=nn.some(ls);Ai=[];for(var Oi=Ri;Fn(Oi,ki);Oi+=an){var zi;if(dn)zi=String.fromCharCode(Oi),zi==="\\"&&(zi="");else if(zi=String(Oi),Fi){var Ti=Wi-zi.length;if(Ti>0){var Yi=new Array(Ti+1).join("0");Oi<0?zi="-"+Yi+zi.slice(1):zi=Yi+zi}}Ai.push(zi)}}else{Ai=[];for(var wn=0;wn<nn.length;wn++)Ai.push.apply(Ai,qi(nn[wn],!1))}for(var wn=0;wn<Ai.length;wn++)for(var Mn=0;Mn<mn.length;Mn++){var pi=yn+Ai[wn]+mn[Mn];(!rs||pn||pi)&&hs.push(pi)}}return hs}},"./node_modules/dayjs/dayjs.min.js":function(oi){(function(bi,wi){oi.exports=wi()})(this,function(){"use strict";var bi=1e3,wi=6e4,vi=36e5,ri="millisecond",yi="second",Li="minute",Ji="hour",tn="day",_n="week",In="month",Vn="quarter",bn="year",Zi="date",un="Invalid Date",ls=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ks=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,En={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(pn){var Pn=["th","st","nd","rd"],nn=pn%100;return"["+pn+(Pn[(nn-20)%10]||Pn[nn]||Pn[0])+"]"}},qi=function(pn,Pn,nn){var Ai=String(pn);return!Ai||Ai.length>=Pn?pn:""+Array(Pn+1-Ai.length).join(nn)+pn},sn={s:qi,z:function(pn){var Pn=-pn.utcOffset(),nn=Math.abs(Pn),Ai=Math.floor(nn/60),Ri=nn%60;return(Pn<=0?"+":"-")+qi(Ai,2,"0")+":"+qi(Ri,2,"0")},m:function pn(Pn,nn){if(Pn.date()<nn.date())return-pn(nn,Pn);var Ai=12*(nn.year()-Pn.year())+(nn.month()-Pn.month()),Ri=Pn.clone().add(Ai,In),ki=nn-Ri<0,Wi=Pn.clone().add(Ai+(ki?-1:1),In);return+(-(Ai+(nn-Ri)/(ki?Ri-Wi:Wi-Ri))||0)},a:function(pn){return pn<0?Math.ceil(pn)||0:Math.floor(pn)},p:function(pn){return{M:In,y:bn,w:_n,d:tn,D:Zi,h:Ji,m:Li,s:yi,ms:ri,Q:Vn}[pn]||String(pn||"").toLowerCase().replace(/s$/,"")},u:function(pn){return pn===void 0}},rs="en",hs={};hs[rs]=En;var fs="$isDayjsObject",yn=function(pn){return pn instanceof rn||!(!pn||!pn[fs])},mn=function pn(Pn,nn,Ai){var Ri;if(!Pn)return rs;if(typeof Pn=="string"){var ki=Pn.toLowerCase();hs[ki]&&(Ri=ki),nn&&(hs[ki]=nn,Ri=ki);var Wi=Pn.split("-");if(!Ri&&Wi.length>1)return pn(Wi[0])}else{var an=Pn.name;hs[an]=Pn,Ri=an}return!Ai&&Ri&&(rs=Ri),Ri||!Ai&&rs},Mn=function(pn,Pn){if(yn(pn))return pn.clone();var nn=typeof Pn=="object"?Pn:{};return nn.date=pn,nn.args=arguments,new rn(nn)},pi=sn;pi.l=mn,pi.i=yn,pi.w=function(pn,Pn){return Mn(pn,{locale:Pn.$L,utc:Pn.$u,x:Pn.$x,$offset:Pn.$offset})};var rn=function(){function pn(nn){this.$L=mn(nn.locale,null,!0),this.parse(nn),this.$x=this.$x||nn.x||{},this[fs]=!0}var Pn=pn.prototype;return Pn.parse=function(nn){this.$d=function(Ai){var Ri=Ai.date,ki=Ai.utc;if(Ri===null)return new Date(NaN);if(pi.u(Ri))return new Date;if(Ri instanceof Date)return new Date(Ri);if(typeof Ri=="string"&&!/Z$/i.test(Ri)){var Wi=Ri.match(ls);if(Wi){var an=Wi[2]-1||0,Fn=(Wi[7]||"0").substring(0,3);return ki?new Date(Date.UTC(Wi[1],an,Wi[3]||1,Wi[4]||0,Wi[5]||0,Wi[6]||0,Fn)):new Date(Wi[1],an,Wi[3]||1,Wi[4]||0,Wi[5]||0,Wi[6]||0,Fn)}}return new Date(Ri)}(nn),this.init()},Pn.init=function(){var nn=this.$d;this.$y=nn.getFullYear(),this.$M=nn.getMonth(),this.$D=nn.getDate(),this.$W=nn.getDay(),this.$H=nn.getHours(),this.$m=nn.getMinutes(),this.$s=nn.getSeconds(),this.$ms=nn.getMilliseconds()},Pn.$utils=function(){return pi},Pn.isValid=function(){return this.$d.toString()!==un},Pn.isSame=function(nn,Ai){var Ri=Mn(nn);return this.startOf(Ai)<=Ri&&Ri<=this.endOf(Ai)},Pn.isAfter=function(nn,Ai){return Mn(nn)<this.startOf(Ai)},Pn.isBefore=function(nn,Ai){return this.endOf(Ai)<Mn(nn)},Pn.$g=function(nn,Ai,Ri){return pi.u(nn)?this[Ai]:this.set(Ri,nn)},Pn.unix=function(){return Math.floor(this.valueOf()/1e3)},Pn.valueOf=function(){return this.$d.getTime()},Pn.startOf=function(nn,Ai){var Ri=this,ki=!!pi.u(Ai)||Ai,Wi=pi.p(nn),an=function(wn,Bi){var Qi=pi.w(Ri.$u?Date.UTC(Ri.$y,Bi,wn):new Date(Ri.$y,Bi,wn),Ri);return ki?Qi:Qi.endOf(tn)},Fn=function(wn,Bi){return pi.w(Ri.toDate()[wn].apply(Ri.toDate("s"),(ki?[0,0,0,0]:[23,59,59,999]).slice(Bi)),Ri)},en=this.$W,Fi=this.$M,Oi=this.$D,zi="set"+(this.$u?"UTC":"");switch(Wi){case bn:return ki?an(1,0):an(31,11);case In:return ki?an(1,Fi):an(0,Fi+1);case _n:var Ti=this.$locale().weekStart||0,Yi=(en<Ti?en+7:en)-Ti;return an(ki?Oi-Yi:Oi+(6-Yi),Fi);case tn:case Zi:return Fn(zi+"Hours",0);case Ji:return Fn(zi+"Minutes",1);case Li:return Fn(zi+"Seconds",2);case yi:return Fn(zi+"Milliseconds",3);default:return this.clone()}},Pn.endOf=function(nn){return this.startOf(nn,!1)},Pn.$set=function(nn,Ai){var Ri,ki=pi.p(nn),Wi="set"+(this.$u?"UTC":""),an=(Ri={},Ri[tn]=Wi+"Date",Ri[Zi]=Wi+"Date",Ri[In]=Wi+"Month",Ri[bn]=Wi+"FullYear",Ri[Ji]=Wi+"Hours",Ri[Li]=Wi+"Minutes",Ri[yi]=Wi+"Seconds",Ri[ri]=Wi+"Milliseconds",Ri)[ki],Fn=ki===tn?this.$D+(Ai-this.$W):Ai;if(ki===In||ki===bn){var en=this.clone().set(Zi,1);en.$d[an](Fn),en.init(),this.$d=en.set(Zi,Math.min(this.$D,en.daysInMonth())).$d}else an&&this.$d[an](Fn);return this.init(),this},Pn.set=function(nn,Ai){return this.clone().$set(nn,Ai)},Pn.get=function(nn){return this[pi.p(nn)]()},Pn.add=function(nn,Ai){var Ri,ki=this;nn=Number(nn);var Wi=pi.p(Ai),an=function(Fi){var Oi=Mn(ki);return pi.w(Oi.date(Oi.date()+Math.round(Fi*nn)),ki)};if(Wi===In)return this.set(In,this.$M+nn);if(Wi===bn)return this.set(bn,this.$y+nn);if(Wi===tn)return an(1);if(Wi===_n)return an(7);var Fn=(Ri={},Ri[Li]=wi,Ri[Ji]=vi,Ri[yi]=bi,Ri)[Wi]||1,en=this.$d.getTime()+nn*Fn;return pi.w(en,this)},Pn.subtract=function(nn,Ai){return this.add(-1*nn,Ai)},Pn.format=function(nn){var Ai=this,Ri=this.$locale();if(!this.isValid())return Ri.invalidDate||un;var ki=nn||"YYYY-MM-DDTHH:mm:ssZ",Wi=pi.z(this),an=this.$H,Fn=this.$m,en=this.$M,Fi=Ri.weekdays,Oi=Ri.months,zi=Ri.meridiem,Ti=function(Bi,Qi,Gi,On){return Bi&&(Bi[Qi]||Bi(Ai,ki))||Gi[Qi].slice(0,On)},Yi=function(Bi){return pi.s(an%12||12,Bi,"0")},wn=zi||function(Bi,Qi,Gi){var On=Bi<12?"AM":"PM";return Gi?On.toLowerCase():On};return ki.replace(ks,function(Bi,Qi){return Qi||function(Gi){switch(Gi){case"YY":return String(Ai.$y).slice(-2);case"YYYY":return pi.s(Ai.$y,4,"0");case"M":return en+1;case"MM":return pi.s(en+1,2,"0");case"MMM":return Ti(Ri.monthsShort,en,Oi,3);case"MMMM":return Ti(Oi,en);case"D":return Ai.$D;case"DD":return pi.s(Ai.$D,2,"0");case"d":return String(Ai.$W);case"dd":return Ti(Ri.weekdaysMin,Ai.$W,Fi,2);case"ddd":return Ti(Ri.weekdaysShort,Ai.$W,Fi,3);case"dddd":return Fi[Ai.$W];case"H":return String(an);case"HH":return pi.s(an,2,"0");case"h":return Yi(1);case"hh":return Yi(2);case"a":return wn(an,Fn,!0);case"A":return wn(an,Fn,!1);case"m":return String(Fn);case"mm":return pi.s(Fn,2,"0");case"s":return String(Ai.$s);case"ss":return pi.s(Ai.$s,2,"0");case"SSS":return pi.s(Ai.$ms,3,"0");case"Z":return Wi}return null}(Bi)||Wi.replace(":","")})},Pn.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Pn.diff=function(nn,Ai,Ri){var ki,Wi=this,an=pi.p(Ai),Fn=Mn(nn),en=(Fn.utcOffset()-this.utcOffset())*wi,Fi=this-Fn,Oi=function(){return pi.m(Wi,Fn)};switch(an){case bn:ki=Oi()/12;break;case In:ki=Oi();break;case Vn:ki=Oi()/3;break;case _n:ki=(Fi-en)/6048e5;break;case tn:ki=(Fi-en)/864e5;break;case Ji:ki=Fi/vi;break;case Li:ki=Fi/wi;break;case yi:ki=Fi/bi;break;default:ki=Fi}return Ri?ki:pi.a(ki)},Pn.daysInMonth=function(){return this.endOf(In).$D},Pn.$locale=function(){return hs[this.$L]},Pn.locale=function(nn,Ai){if(!nn)return this.$L;var Ri=this.clone(),ki=mn(nn,Ai,!0);return ki&&(Ri.$L=ki),Ri},Pn.clone=function(){return pi.w(this.$d,this)},Pn.toDate=function(){return new Date(this.valueOf())},Pn.toJSON=function(){return this.isValid()?this.toISOString():null},Pn.toISOString=function(){return this.$d.toISOString()},Pn.toString=function(){return this.$d.toUTCString()},pn}(),dn=rn.prototype;return Mn.prototype=dn,[["$ms",ri],["$s",yi],["$m",Li],["$H",Ji],["$W",tn],["$M",In],["$y",bn],["$D",Zi]].forEach(function(pn){dn[pn[1]]=function(Pn){return this.$g(Pn,pn[0],pn[1])}}),Mn.extend=function(pn,Pn){return pn.$i||(pn(Pn,rn,Mn),pn.$i=!0),Mn},Mn.locale=mn,Mn.isDayjs=yn,Mn.unix=function(pn){return Mn(1e3*pn)},Mn.en=hs[rs],Mn.Ls=hs,Mn.p={},Mn})},"./node_modules/dayjs/plugin/utc.js":function(oi){(function(bi,wi){oi.exports=wi()})(this,function(){"use strict";var bi="minute",wi=/[+-]\d\d(?::?\d\d)?/g,vi=/([+-]|\d\d)/g;return function(ri,yi,Li){var Ji=yi.prototype;Li.utc=function(un){var ls={date:un,utc:!0,args:arguments};return new yi(ls)},Ji.utc=function(un){var ls=Li(this.toDate(),{locale:this.$L,utc:!0});return un?ls.add(this.utcOffset(),bi):ls},Ji.local=function(){return Li(this.toDate(),{locale:this.$L,utc:!1})};var tn=Ji.parse;Ji.parse=function(un){un.utc&&(this.$u=!0),this.$utils().u(un.$offset)||(this.$offset=un.$offset),tn.call(this,un)};var _n=Ji.init;Ji.init=function(){if(this.$u){var un=this.$d;this.$y=un.getUTCFullYear(),this.$M=un.getUTCMonth(),this.$D=un.getUTCDate(),this.$W=un.getUTCDay(),this.$H=un.getUTCHours(),this.$m=un.getUTCMinutes(),this.$s=un.getUTCSeconds(),this.$ms=un.getUTCMilliseconds()}else _n.call(this)};var In=Ji.utcOffset;Ji.utcOffset=function(un,ls){var ks=this.$utils().u;if(ks(un))return this.$u?0:ks(this.$offset)?In.call(this):this.$offset;if(typeof un=="string"&&(un=function(rs){rs===void 0&&(rs="");var hs=rs.match(wi);if(!hs)return null;var fs=(""+hs[0]).match(vi)||["-",0,0],yn=fs[0],mn=60*+fs[1]+ +fs[2];return mn===0?0:yn==="+"?mn:-mn}(un),un===null))return this;var En=Math.abs(un)<=16?60*un:un,qi=this;if(ls)return qi.$offset=En,qi.$u=un===0,qi;if(un!==0){var sn=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(qi=this.local().add(En+sn,bi)).$offset=En,qi.$x.$localOffset=sn}else qi=this.utc();return qi};var Vn=Ji.format;Ji.format=function(un){var ls=un||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return Vn.call(this,ls)},Ji.valueOf=function(){var un=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*un},Ji.isUTC=function(){return!!this.$u},Ji.toISOString=function(){return this.toDate().toISOString()},Ji.toString=function(){return this.toDate().toUTCString()};var bn=Ji.toDate;Ji.toDate=function(un){return un==="s"&&this.$offset?Li(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():bn.call(this)};var Zi=Ji.diff;Ji.diff=function(un,ls,ks){if(un&&this.$u===un.$u)return Zi.call(this,un,ls,ks);var En=this.local(),qi=Li(un).local();return Zi.call(En,qi,ls,ks)}}})},"./node_modules/htmx.org/dist/htmx.min.js":function(module,exports){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(oi,bi){__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=bi,__WEBPACK_AMD_DEFINE_RESULT__=typeof __WEBPACK_AMD_DEFINE_FACTORY__=="function"?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)})(typeof self<"u"?self:this,function(){return function(){"use strict";var Q={onLoad:F,process:zt,on:de,off:ge,trigger:ce,ajax:Nr,find:C,findAll:f,closest:v,values:function(oi,bi){var wi=dr(oi,bi||"post");return wi.values},remove:_,addClass:z,removeClass:n,toggleClass:$,takeClass:W,defineExtension:Ur,removeExtension:Br,logAll:V,logNone:j,logger:null,config:{historyEnabled:!0,historyCacheSize:10,refreshOnHistoryMiss:!1,defaultSwapStyle:"innerHTML",defaultSwapDelay:0,defaultSettleDelay:20,includeIndicatorStyles:!0,indicatorClass:"htmx-indicator",requestClass:"htmx-request",addedClass:"htmx-added",settlingClass:"htmx-settling",swappingClass:"htmx-swapping",allowEval:!0,allowScriptTags:!0,inlineScriptNonce:"",attributesToSettle:["class","style","width","height"],withCredentials:!1,timeout:0,wsReconnectDelay:"full-jitter",wsBinaryType:"blob",disableSelector:"[hx-disable], [data-hx-disable]",useTemplateFragments:!1,scrollBehavior:"smooth",defaultFocusScroll:!1,getCacheBusterParam:!1,globalViewTransitions:!1,methodsThatUseUrlParams:["get"],selfRequestsOnly:!1,ignoreTitle:!1,scrollIntoViewOnBoost:!0,triggerSpecsCache:null},parseInterval:d,_:t,createEventSource:function(oi){return new EventSource(oi,{withCredentials:!0})},createWebSocket:function(oi){var bi=new WebSocket(oi,[]);return bi.binaryType=Q.config.wsBinaryType,bi},version:"1.9.12"},r={addTriggerHandler:Lt,bodyContains:se,canAccessLocalStorage:U,findThisElement:xe,filterValues:yr,hasAttribute:o,getAttributeValue:te,getClosestAttributeValue:ne,getClosestMatch:c,getExpressionVars:Hr,getHeaders:xr,getInputValues:dr,getInternalData:ae,getSwapSpecification:wr,getTriggerSpecs:it,getTarget:ye,makeFragment:l,mergeObjects:le,makeSettleInfo:T,oobSwap:Ee,querySelectorExt:ue,selectAndSwap:je,settleImmediately:nr,shouldCancel:ut,triggerEvent:ce,triggerErrorEvent:fe,withExtensions:R},w=["get","post","put","delete","patch"],i=w.map(function(oi){return"[hx-"+oi+"], [data-hx-"+oi+"]"}).join(", "),S=e("head"),q=e("title"),H=e("svg",!0);function e(oi,bi){return new RegExp("<"+oi+"(\\s[^>]*>|>)([\\s\\S]*?)<\\/"+oi+">",bi?"gim":"im")}function d(oi){if(oi==null)return;let bi=NaN;return oi.slice(-2)=="ms"?bi=parseFloat(oi.slice(0,-2)):oi.slice(-1)=="s"?bi=parseFloat(oi.slice(0,-1))*1e3:oi.slice(-1)=="m"?bi=parseFloat(oi.slice(0,-1))*1e3*60:bi=parseFloat(oi),isNaN(bi)?void 0:bi}function ee(oi,bi){return oi.getAttribute&&oi.getAttribute(bi)}function o(oi,bi){return oi.hasAttribute&&(oi.hasAttribute(bi)||oi.hasAttribute("data-"+bi))}function te(oi,bi){return ee(oi,bi)||ee(oi,"data-"+bi)}function u(oi){return oi.parentElement}function re(){return document}function c(oi,bi){for(;oi&&!bi(oi);)oi=u(oi);return oi||null}function L(oi,bi,wi){var vi=te(bi,wi),ri=te(bi,"hx-disinherit");return oi!==bi&&ri&&(ri==="*"||ri.split(" ").indexOf(wi)>=0)?"unset":vi}function ne(oi,bi){var wi=null;if(c(oi,function(vi){return wi=L(oi,vi,bi)}),wi!=="unset")return wi}function h(oi,bi){var wi=oi.matches||oi.matchesSelector||oi.msMatchesSelector||oi.mozMatchesSelector||oi.webkitMatchesSelector||oi.oMatchesSelector;return wi&&wi.call(oi,bi)}function A(oi){var bi=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,wi=bi.exec(oi);return wi?wi[1].toLowerCase():""}function s(oi,bi){for(var wi=new DOMParser,vi=wi.parseFromString(oi,"text/html"),ri=vi.body;bi>0;)bi--,ri=ri.firstChild;return ri==null&&(ri=re().createDocumentFragment()),ri}function N(oi){return/<body/.test(oi)}function l(oi){var bi=!N(oi),wi=A(oi),vi=oi;if(wi==="head"&&(vi=vi.replace(S,"")),Q.config.useTemplateFragments&&bi){var ri=s("<body><template>"+vi+"</template></body>",0),yi=ri.querySelector("template").content;return Q.config.allowScriptTags?oe(yi.querySelectorAll("script"),function(Li){Q.config.inlineScriptNonce&&(Li.nonce=Q.config.inlineScriptNonce),Li.htmxExecuted=navigator.userAgent.indexOf("Firefox")===-1}):oe(yi.querySelectorAll("script"),function(Li){_(Li)}),yi}switch(wi){case"thead":case"tbody":case"tfoot":case"colgroup":case"caption":return s("<table>"+vi+"</table>",1);case"col":return s("<table><colgroup>"+vi+"</colgroup></table>",2);case"tr":return s("<table><tbody>"+vi+"</tbody></table>",2);case"td":case"th":return s("<table><tbody><tr>"+vi+"</tr></tbody></table>",3);case"script":case"style":return s("<div>"+vi+"</div>",1);default:return s(vi,0)}}function ie(oi){oi&&oi()}function I(oi,bi){return Object.prototype.toString.call(oi)==="[object "+bi+"]"}function k(oi){return I(oi,"Function")}function P(oi){return I(oi,"Object")}function ae(oi){var bi="htmx-internal-data",wi=oi[bi];return wi||(wi=oi[bi]={}),wi}function M(oi){var bi=[];if(oi)for(var wi=0;wi<oi.length;wi++)bi.push(oi[wi]);return bi}function oe(oi,bi){if(oi)for(var wi=0;wi<oi.length;wi++)bi(oi[wi])}function X(oi){var bi=oi.getBoundingClientRect(),wi=bi.top,vi=bi.bottom;return wi<window.innerHeight&&vi>=0}function se(oi){return oi.getRootNode&&oi.getRootNode()instanceof window.ShadowRoot?re().body.contains(oi.getRootNode().host):re().body.contains(oi)}function D(oi){return oi.trim().split(/\s+/)}function le(oi,bi){for(var wi in bi)bi.hasOwnProperty(wi)&&(oi[wi]=bi[wi]);return oi}function E(oi){try{return JSON.parse(oi)}catch(bi){return b(bi),null}}function U(){var oi="htmx:localStorageTest";try{return localStorage.setItem(oi,oi),localStorage.removeItem(oi),!0}catch{return!1}}function B(oi){try{var bi=new URL(oi);return bi&&(oi=bi.pathname+bi.search),/^\/$/.test(oi)||(oi=oi.replace(/\/+$/,"")),oi}catch{return oi}}function t(e){return Tr(re().body,function(){return eval(e)})}function F(oi){var bi=Q.on("htmx:load",function(wi){oi(wi.detail.elt)});return bi}function V(){Q.logger=function(oi,bi,wi){console&&console.log(bi,oi,wi)}}function j(){Q.logger=null}function C(oi,bi){return bi?oi.querySelector(bi):C(re(),oi)}function f(oi,bi){return bi?oi.querySelectorAll(bi):f(re(),oi)}function _(oi,bi){oi=p(oi),bi?setTimeout(function(){_(oi),oi=null},bi):oi.parentElement.removeChild(oi)}function z(oi,bi,wi){oi=p(oi),wi?setTimeout(function(){z(oi,bi),oi=null},wi):oi.classList&&oi.classList.add(bi)}function n(oi,bi,wi){oi=p(oi),wi?setTimeout(function(){n(oi,bi),oi=null},wi):oi.classList&&(oi.classList.remove(bi),oi.classList.length===0&&oi.removeAttribute("class"))}function $(oi,bi){oi=p(oi),oi.classList.toggle(bi)}function W(oi,bi){oi=p(oi),oe(oi.parentElement.children,function(wi){n(wi,bi)}),z(oi,bi)}function v(oi,bi){if(oi=p(oi),oi.closest)return oi.closest(bi);do if(oi==null||h(oi,bi))return oi;while(oi=oi&&u(oi));return null}function g(oi,bi){return oi.substring(0,bi.length)===bi}function G(oi,bi){return oi.substring(oi.length-bi.length)===bi}function J(oi){var bi=oi.trim();return g(bi,"<")&&G(bi,"/>")?bi.substring(1,bi.length-2):bi}function Z(oi,bi){return bi.indexOf("closest ")===0?[v(oi,J(bi.substr(8)))]:bi.indexOf("find ")===0?[C(oi,J(bi.substr(5)))]:bi==="next"?[oi.nextElementSibling]:bi.indexOf("next ")===0?[K(oi,J(bi.substr(5)))]:bi==="previous"?[oi.previousElementSibling]:bi.indexOf("previous ")===0?[Y(oi,J(bi.substr(9)))]:bi==="document"?[document]:bi==="window"?[window]:bi==="body"?[document.body]:re().querySelectorAll(J(bi))}var K=function(oi,bi){for(var wi=re().querySelectorAll(bi),vi=0;vi<wi.length;vi++){var ri=wi[vi];if(ri.compareDocumentPosition(oi)===Node.DOCUMENT_POSITION_PRECEDING)return ri}},Y=function(oi,bi){for(var wi=re().querySelectorAll(bi),vi=wi.length-1;vi>=0;vi--){var ri=wi[vi];if(ri.compareDocumentPosition(oi)===Node.DOCUMENT_POSITION_FOLLOWING)return ri}};function ue(oi,bi){return bi?Z(oi,bi)[0]:Z(re().body,oi)[0]}function p(oi){return I(oi,"String")?C(oi):oi}function ve(oi,bi,wi){return k(bi)?{target:re().body,event:oi,listener:bi}:{target:p(oi),event:bi,listener:wi}}function de(oi,bi,wi){jr(function(){var ri=ve(oi,bi,wi);ri.target.addEventListener(ri.event,ri.listener)});var vi=k(bi);return vi?bi:wi}function ge(oi,bi,wi){return jr(function(){var vi=ve(oi,bi,wi);vi.target.removeEventListener(vi.event,vi.listener)}),k(bi)?bi:wi}var pe=re().createElement("output");function me(oi,bi){var wi=ne(oi,bi);if(wi){if(wi==="this")return[xe(oi,bi)];var vi=Z(oi,wi);return vi.length===0?(b('The selector "'+wi+'" on '+bi+" returned no matches!"),[pe]):vi}}function xe(oi,bi){return c(oi,function(wi){return te(wi,bi)!=null})}function ye(oi){var bi=ne(oi,"hx-target");if(bi)return bi==="this"?xe(oi,"hx-target"):ue(oi,bi);var wi=ae(oi);return wi.boosted?re().body:oi}function be(oi){for(var bi=Q.config.attributesToSettle,wi=0;wi<bi.length;wi++)if(oi===bi[wi])return!0;return!1}function we(oi,bi){oe(oi.attributes,function(wi){!bi.hasAttribute(wi.name)&&be(wi.name)&&oi.removeAttribute(wi.name)}),oe(bi.attributes,function(wi){be(wi.name)&&oi.setAttribute(wi.name,wi.value)})}function Se(oi,bi){for(var wi=Fr(bi),vi=0;vi<wi.length;vi++){var ri=wi[vi];try{if(ri.isInlineSwap(oi))return!0}catch(yi){b(yi)}}return oi==="outerHTML"}function Ee(oi,bi,wi){var vi="#"+ee(bi,"id"),ri="outerHTML";oi==="true"||(oi.indexOf(":")>0?(ri=oi.substr(0,oi.indexOf(":")),vi=oi.substr(oi.indexOf(":")+1,oi.length)):ri=oi);var yi=re().querySelectorAll(vi);return yi?(oe(yi,function(Li){var Ji,tn=bi.cloneNode(!0);Ji=re().createDocumentFragment(),Ji.appendChild(tn),Se(ri,Li)||(Ji=tn);var _n={shouldSwap:!0,target:Li,fragment:Ji};ce(Li,"htmx:oobBeforeSwap",_n)&&(Li=_n.target,_n.shouldSwap&&Fe(ri,Li,Li,Ji,wi),oe(wi.elts,function(In){ce(In,"htmx:oobAfterSwap",_n)}))}),bi.parentNode.removeChild(bi)):(bi.parentNode.removeChild(bi),fe(re().body,"htmx:oobErrorNoTarget",{content:bi})),oi}function Ce(oi,bi,wi){var vi=ne(oi,"hx-select-oob");if(vi)for(var ri=vi.split(","),yi=0;yi<ri.length;yi++){var Li=ri[yi].split(":",2),Ji=Li[0].trim();Ji.indexOf("#")===0&&(Ji=Ji.substring(1));var tn=Li[1]||"true",_n=bi.querySelector("#"+Ji);_n&&Ee(tn,_n,wi)}oe(f(bi,"[hx-swap-oob], [data-hx-swap-oob]"),function(In){var Vn=te(In,"hx-swap-oob");Vn!=null&&Ee(Vn,In,wi)})}function Re(oi){oe(f(oi,"[hx-preserve], [data-hx-preserve]"),function(bi){var wi=te(bi,"id"),vi=re().getElementById(wi);vi!=null&&bi.parentNode.replaceChild(vi,bi)})}function Te(oi,bi,wi){oe(bi.querySelectorAll("[id]"),function(vi){var ri=ee(vi,"id");if(ri&&ri.length>0){var yi=ri.replace("'","\\'"),Li=vi.tagName.replace(":","\\:"),Ji=oi.querySelector(Li+"[id='"+yi+"']");if(Ji&&Ji!==oi){var tn=vi.cloneNode();we(vi,Ji),wi.tasks.push(function(){we(vi,tn)})}}})}function Oe(oi){return function(){n(oi,Q.config.addedClass),zt(oi),Nt(oi),qe(oi),ce(oi,"htmx:load")}}function qe(oi){var bi="[autofocus]",wi=h(oi,bi)?oi:oi.querySelector(bi);wi?.focus()}function a(oi,bi,wi,vi){for(Te(oi,wi,vi);wi.childNodes.length>0;){var ri=wi.firstChild;z(ri,Q.config.addedClass),oi.insertBefore(ri,bi),ri.nodeType!==Node.TEXT_NODE&&ri.nodeType!==Node.COMMENT_NODE&&vi.tasks.push(Oe(ri))}}function He(oi,bi){for(var wi=0;wi<oi.length;)bi=(bi<<5)-bi+oi.charCodeAt(wi++)|0;return bi}function Le(oi){var bi=0;if(oi.attributes)for(var wi=0;wi<oi.attributes.length;wi++){var vi=oi.attributes[wi];vi.value&&(bi=He(vi.name,bi),bi=He(vi.value,bi))}return bi}function Ae(oi){var bi=ae(oi);if(bi.onHandlers){for(var wi=0;wi<bi.onHandlers.length;wi++){const vi=bi.onHandlers[wi];oi.removeEventListener(vi.event,vi.listener)}delete bi.onHandlers}}function Ne(oi){var bi=ae(oi);bi.timeout&&clearTimeout(bi.timeout),bi.webSocket&&bi.webSocket.close(),bi.sseEventSource&&bi.sseEventSource.close(),bi.listenerInfos&&oe(bi.listenerInfos,function(wi){wi.on&&wi.on.removeEventListener(wi.trigger,wi.listener)}),Ae(oi),oe(Object.keys(bi),function(wi){delete bi[wi]})}function m(oi){ce(oi,"htmx:beforeCleanupElement"),Ne(oi),oi.children&&oe(oi.children,function(bi){m(bi)})}function Ie(oi,bi,wi){if(oi.tagName==="BODY")return Ue(oi,bi,wi);var vi,ri=oi.previousSibling;for(a(u(oi),oi,bi,wi),ri==null?vi=u(oi).firstChild:vi=ri.nextSibling,wi.elts=wi.elts.filter(function(yi){return yi!=oi});vi&&vi!==oi;)vi.nodeType===Node.ELEMENT_NODE&&wi.elts.push(vi),vi=vi.nextElementSibling;m(oi),u(oi).removeChild(oi)}function ke(oi,bi,wi){return a(oi,oi.firstChild,bi,wi)}function Pe(oi,bi,wi){return a(u(oi),oi,bi,wi)}function Me(oi,bi,wi){return a(oi,null,bi,wi)}function Xe(oi,bi,wi){return a(u(oi),oi.nextSibling,bi,wi)}function De(oi,bi,wi){return m(oi),u(oi).removeChild(oi)}function Ue(oi,bi,wi){var vi=oi.firstChild;if(a(oi,vi,bi,wi),vi){for(;vi.nextSibling;)m(vi.nextSibling),oi.removeChild(vi.nextSibling);m(vi),oi.removeChild(vi)}}function Be(oi,bi,wi){var vi=wi||ne(oi,"hx-select");if(vi){var ri=re().createDocumentFragment();oe(bi.querySelectorAll(vi),function(yi){ri.appendChild(yi)}),bi=ri}return bi}function Fe(oi,bi,wi,vi,ri){switch(oi){case"none":return;case"outerHTML":Ie(wi,vi,ri);return;case"afterbegin":ke(wi,vi,ri);return;case"beforebegin":Pe(wi,vi,ri);return;case"beforeend":Me(wi,vi,ri);return;case"afterend":Xe(wi,vi,ri);return;case"delete":De(wi,vi,ri);return;default:for(var yi=Fr(bi),Li=0;Li<yi.length;Li++){var Ji=yi[Li];try{var tn=Ji.handleSwap(oi,wi,vi,ri);if(tn){if(typeof tn.length<"u")for(var _n=0;_n<tn.length;_n++){var In=tn[_n];In.nodeType!==Node.TEXT_NODE&&In.nodeType!==Node.COMMENT_NODE&&ri.tasks.push(Oe(In))}return}}catch(Vn){b(Vn)}}oi==="innerHTML"?Ue(wi,vi,ri):Fe(Q.config.defaultSwapStyle,bi,wi,vi,ri)}}function Ve(oi){if(oi.indexOf("<title")>-1){var bi=oi.replace(H,""),wi=bi.match(q);if(wi)return wi[2]}}function je(oi,bi,wi,vi,ri,yi){ri.title=Ve(vi);var Li=l(vi);if(Li)return Ce(wi,Li,ri),Li=Be(wi,Li,yi),Re(Li),Fe(oi,wi,bi,Li,ri)}function _e(oi,bi,wi){var vi=oi.getResponseHeader(bi);if(vi.indexOf("{")===0){var ri=E(vi);for(var yi in ri)if(ri.hasOwnProperty(yi)){var Li=ri[yi];P(Li)||(Li={value:Li}),ce(wi,yi,Li)}}else for(var Ji=vi.split(","),tn=0;tn<Ji.length;tn++)ce(wi,Ji[tn].trim(),[])}var ze=/\s/,x=/[\s,]/,$e=/[_$a-zA-Z]/,We=/[_$a-zA-Z0-9]/,Ge=['"',"'","/"],Je=/[^\s]/,Ze=/[{(]/,Ke=/[})]/;function Ye(oi){for(var bi=[],wi=0;wi<oi.length;){if($e.exec(oi.charAt(wi))){for(var vi=wi;We.exec(oi.charAt(wi+1));)wi++;bi.push(oi.substr(vi,wi-vi+1))}else if(Ge.indexOf(oi.charAt(wi))!==-1){var ri=oi.charAt(wi),vi=wi;for(wi++;wi<oi.length&&oi.charAt(wi)!==ri;)oi.charAt(wi)==="\\"&&wi++,wi++;bi.push(oi.substr(vi,wi-vi+1))}else{var yi=oi.charAt(wi);bi.push(yi)}wi++}return bi}function Qe(oi,bi,wi){return $e.exec(oi.charAt(0))&&oi!=="true"&&oi!=="false"&&oi!=="this"&&oi!==wi&&bi!=="."}function et(oi,bi,wi){if(bi[0]==="["){bi.shift();for(var vi=1,ri=" return (function("+wi+"){ return (",yi=null;bi.length>0;){var Li=bi[0];if(Li==="]"){if(vi--,vi===0){yi===null&&(ri=ri+"true"),bi.shift(),ri+=")})";try{var Ji=Tr(oi,function(){return Function(ri)()},function(){return!0});return Ji.source=ri,Ji}catch(tn){return fe(re().body,"htmx:syntax:error",{error:tn,source:ri}),null}}}else Li==="["&&vi++;Qe(Li,yi,wi)?ri+="(("+wi+"."+Li+") ? ("+wi+"."+Li+") : (window."+Li+"))":ri=ri+Li,yi=bi.shift()}}}function y(oi,bi){for(var wi="";oi.length>0&&!bi.test(oi[0]);)wi+=oi.shift();return wi}function tt(oi){var bi;return oi.length>0&&Ze.test(oi[0])?(oi.shift(),bi=y(oi,Ke).trim(),oi.shift()):bi=y(oi,x),bi}var rt="input, textarea, select";function nt(oi,bi,wi){var vi=[],ri=Ye(bi);do{y(ri,Je);var yi=ri.length,Li=y(ri,/[,\[\s]/);if(Li!=="")if(Li==="every"){var Ji={trigger:"every"};y(ri,Je),Ji.pollInterval=d(y(ri,/[,\[\s]/)),y(ri,Je);var tn=et(oi,ri,"event");tn&&(Ji.eventFilter=tn),vi.push(Ji)}else if(Li.indexOf("sse:")===0)vi.push({trigger:"sse",sseEvent:Li.substr(4)});else{var _n={trigger:Li},tn=et(oi,ri,"event");for(tn&&(_n.eventFilter=tn);ri.length>0&&ri[0]!==",";){y(ri,Je);var In=ri.shift();if(In==="changed")_n.changed=!0;else if(In==="once")_n.once=!0;else if(In==="consume")_n.consume=!0;else if(In==="delay"&&ri[0]===":")ri.shift(),_n.delay=d(y(ri,x));else if(In==="from"&&ri[0]===":"){if(ri.shift(),Ze.test(ri[0]))var Vn=tt(ri);else{var Vn=y(ri,x);if(Vn==="closest"||Vn==="find"||Vn==="next"||Vn==="previous"){ri.shift();var bn=tt(ri);bn.length>0&&(Vn+=" "+bn)}}_n.from=Vn}else In==="target"&&ri[0]===":"?(ri.shift(),_n.target=tt(ri)):In==="throttle"&&ri[0]===":"?(ri.shift(),_n.throttle=d(y(ri,x))):In==="queue"&&ri[0]===":"?(ri.shift(),_n.queue=y(ri,x)):In==="root"&&ri[0]===":"?(ri.shift(),_n[In]=tt(ri)):In==="threshold"&&ri[0]===":"?(ri.shift(),_n[In]=y(ri,x)):fe(oi,"htmx:syntax:error",{token:ri.shift()})}vi.push(_n)}ri.length===yi&&fe(oi,"htmx:syntax:error",{token:ri.shift()}),y(ri,Je)}while(ri[0]===","&&ri.shift());return wi&&(wi[bi]=vi),vi}function it(oi){var bi=te(oi,"hx-trigger"),wi=[];if(bi){var vi=Q.config.triggerSpecsCache;wi=vi&&vi[bi]||nt(oi,bi,vi)}return wi.length>0?wi:h(oi,"form")?[{trigger:"submit"}]:h(oi,'input[type="button"], input[type="submit"]')?[{trigger:"click"}]:h(oi,rt)?[{trigger:"change"}]:[{trigger:"click"}]}function at(oi){ae(oi).cancelled=!0}function ot(oi,bi,wi){var vi=ae(oi);vi.timeout=setTimeout(function(){se(oi)&&vi.cancelled!==!0&&(ct(wi,oi,Wt("hx:poll:trigger",{triggerSpec:wi,target:oi}))||bi(oi),ot(oi,bi,wi))},wi.pollInterval)}function st(oi){return location.hostname===oi.hostname&&ee(oi,"href")&&ee(oi,"href").indexOf("#")!==0}function lt(oi,bi,wi){if(oi.tagName==="A"&&st(oi)&&(oi.target===""||oi.target==="_self")||oi.tagName==="FORM"){bi.boosted=!0;var vi,ri;if(oi.tagName==="A")vi="get",ri=ee(oi,"href");else{var yi=ee(oi,"method");vi=yi?yi.toLowerCase():"get",ri=ee(oi,"action")}wi.forEach(function(Li){ht(oi,function(Ji,tn){if(v(Ji,Q.config.disableSelector)){m(Ji);return}he(vi,ri,Ji,tn)},bi,Li,!0)})}}function ut(oi,bi){return!!((oi.type==="submit"||oi.type==="click")&&(bi.tagName==="FORM"||h(bi,'input[type="submit"], button')&&v(bi,"form")!==null||bi.tagName==="A"&&bi.href&&(bi.getAttribute("href")==="#"||bi.getAttribute("href").indexOf("#")!==0)))}function ft(oi,bi){return ae(oi).boosted&&oi.tagName==="A"&&bi.type==="click"&&(bi.ctrlKey||bi.metaKey)}function ct(oi,bi,wi){var vi=oi.eventFilter;if(vi)try{return vi.call(bi,wi)!==!0}catch(ri){return fe(re().body,"htmx:eventFilter:error",{error:ri,source:vi.source}),!0}return!1}function ht(oi,bi,wi,vi,ri){var yi=ae(oi),Li;vi.from?Li=Z(oi,vi.from):Li=[oi],vi.changed&&Li.forEach(function(Ji){var tn=ae(Ji);tn.lastValue=Ji.value}),oe(Li,function(Ji){var tn=function(_n){if(!se(oi)){Ji.removeEventListener(vi.trigger,tn);return}if(!ft(oi,_n)&&((ri||ut(_n,oi))&&_n.preventDefault(),!ct(vi,oi,_n))){var In=ae(_n);if(In.triggerSpec=vi,In.handledFor==null&&(In.handledFor=[]),In.handledFor.indexOf(oi)<0){if(In.handledFor.push(oi),vi.consume&&_n.stopPropagation(),vi.target&&_n.target&&!h(_n.target,vi.target))return;if(vi.once){if(yi.triggeredOnce)return;yi.triggeredOnce=!0}if(vi.changed){var Vn=ae(Ji);if(Vn.lastValue===Ji.value)return;Vn.lastValue=Ji.value}if(yi.delayed&&clearTimeout(yi.delayed),yi.throttle)return;vi.throttle>0?yi.throttle||(bi(oi,_n),yi.throttle=setTimeout(function(){yi.throttle=null},vi.throttle)):vi.delay>0?yi.delayed=setTimeout(function(){bi(oi,_n)},vi.delay):(ce(oi,"htmx:trigger"),bi(oi,_n))}}};wi.listenerInfos==null&&(wi.listenerInfos=[]),wi.listenerInfos.push({trigger:vi.trigger,listener:tn,on:Ji}),Ji.addEventListener(vi.trigger,tn)})}var vt=!1,dt=null;function gt(){dt||(dt=function(){vt=!0},window.addEventListener("scroll",dt),setInterval(function(){vt&&(vt=!1,oe(re().querySelectorAll("[hx-trigger='revealed'],[data-hx-trigger='revealed']"),function(oi){pt(oi)}))},200))}function pt(oi){if(!o(oi,"data-hx-revealed")&&X(oi)){oi.setAttribute("data-hx-revealed","true");var bi=ae(oi);bi.initHash?ce(oi,"revealed"):oi.addEventListener("htmx:afterProcessNode",function(wi){ce(oi,"revealed")},{once:!0})}}function mt(oi,bi,wi){for(var vi=D(wi),ri=0;ri<vi.length;ri++){var yi=vi[ri].split(/:(.+)/);yi[0]==="connect"&&xt(oi,yi[1],0),yi[0]==="send"&&bt(oi)}}function xt(oi,bi,wi){if(se(oi)){if(bi.indexOf("/")==0){var vi=location.hostname+(location.port?":"+location.port:"");location.protocol=="https:"?bi="wss://"+vi+bi:location.protocol=="http:"&&(bi="ws://"+vi+bi)}var ri=Q.createWebSocket(bi);ri.onerror=function(yi){fe(oi,"htmx:wsError",{error:yi,socket:ri}),yt(oi)},ri.onclose=function(yi){if([1006,1012,1013].indexOf(yi.code)>=0){var Li=wt(wi);setTimeout(function(){xt(oi,bi,wi+1)},Li)}},ri.onopen=function(yi){wi=0},ae(oi).webSocket=ri,ri.addEventListener("message",function(yi){if(!yt(oi)){var Li=yi.data;R(oi,function(bn){Li=bn.transformResponse(Li,null,oi)});for(var Ji=T(oi),tn=l(Li),_n=M(tn.children),In=0;In<_n.length;In++){var Vn=_n[In];Ee(te(Vn,"hx-swap-oob")||"true",Vn,Ji)}nr(Ji.tasks)}})}}function yt(oi){if(!se(oi))return ae(oi).webSocket.close(),!0}function bt(oi){var bi=c(oi,function(wi){return ae(wi).webSocket!=null});bi?oi.addEventListener(it(oi)[0].trigger,function(wi){var vi=ae(bi).webSocket,ri=xr(oi,bi),yi=dr(oi,"post"),Li=yi.errors,Ji=yi.values,tn=Hr(oi),_n=le(Ji,tn),In=yr(_n,oi);if(In.HEADERS=ri,Li&&Li.length>0){ce(oi,"htmx:validation:halted",Li);return}vi.send(JSON.stringify(In)),ut(wi,oi)&&wi.preventDefault()}):fe(oi,"htmx:noWebSocketSourceError")}function wt(oi){var bi=Q.config.wsReconnectDelay;if(typeof bi=="function")return bi(oi);if(bi==="full-jitter"){var wi=Math.min(oi,6),vi=1e3*Math.pow(2,wi);return vi*Math.random()}b('htmx.config.wsReconnectDelay must either be a function or the string "full-jitter"')}function St(oi,bi,wi){for(var vi=D(wi),ri=0;ri<vi.length;ri++){var yi=vi[ri].split(/:(.+)/);yi[0]==="connect"&&Et(oi,yi[1]),yi[0]==="swap"&&Ct(oi,yi[1])}}function Et(oi,bi){var wi=Q.createEventSource(bi);wi.onerror=function(vi){fe(oi,"htmx:sseError",{error:vi,source:wi}),Tt(oi)},ae(oi).sseEventSource=wi}function Ct(oi,bi){var wi=c(oi,Ot);if(wi){var vi=ae(wi).sseEventSource,ri=function(yi){if(!Tt(wi)){if(!se(oi)){vi.removeEventListener(bi,ri);return}var Li=yi.data;R(oi,function(In){Li=In.transformResponse(Li,null,oi)});var Ji=wr(oi),tn=ye(oi),_n=T(oi);je(Ji.swapStyle,tn,oi,Li,_n),nr(_n.tasks),ce(oi,"htmx:sseMessage",yi)}};ae(oi).sseListener=ri,vi.addEventListener(bi,ri)}else fe(oi,"htmx:noSSESourceError")}function Rt(oi,bi,wi){var vi=c(oi,Ot);if(vi){var ri=ae(vi).sseEventSource,yi=function(){Tt(vi)||(se(oi)?bi(oi):ri.removeEventListener(wi,yi))};ae(oi).sseListener=yi,ri.addEventListener(wi,yi)}else fe(oi,"htmx:noSSESourceError")}function Tt(oi){if(!se(oi))return ae(oi).sseEventSource.close(),!0}function Ot(oi){return ae(oi).sseEventSource!=null}function qt(oi,bi,wi,vi){var ri=function(){wi.loaded||(wi.loaded=!0,bi(oi))};vi>0?setTimeout(ri,vi):ri()}function Ht(oi,bi,wi){var vi=!1;return oe(w,function(ri){if(o(oi,"hx-"+ri)){var yi=te(oi,"hx-"+ri);vi=!0,bi.path=yi,bi.verb=ri,wi.forEach(function(Li){Lt(oi,Li,bi,function(Ji,tn){if(v(Ji,Q.config.disableSelector)){m(Ji);return}he(ri,yi,Ji,tn)})})}}),vi}function Lt(oi,bi,wi,vi){if(bi.sseEvent)Rt(oi,vi,bi.sseEvent);else if(bi.trigger==="revealed")gt(),ht(oi,vi,wi,bi),pt(oi);else if(bi.trigger==="intersect"){var ri={};bi.root&&(ri.root=ue(oi,bi.root)),bi.threshold&&(ri.threshold=parseFloat(bi.threshold));var yi=new IntersectionObserver(function(Li){for(var Ji=0;Ji<Li.length;Ji++){var tn=Li[Ji];if(tn.isIntersecting){ce(oi,"intersect");break}}},ri);yi.observe(oi),ht(oi,vi,wi,bi)}else bi.trigger==="load"?ct(bi,oi,Wt("load",{elt:oi}))||qt(oi,vi,wi,bi.delay):bi.pollInterval>0?(wi.polling=!0,ot(oi,vi,bi)):ht(oi,vi,wi,bi)}function At(oi){if(!oi.htmxExecuted&&Q.config.allowScriptTags&&(oi.type==="text/javascript"||oi.type==="module"||oi.type==="")){var bi=re().createElement("script");oe(oi.attributes,function(vi){bi.setAttribute(vi.name,vi.value)}),bi.textContent=oi.textContent,bi.async=!1,Q.config.inlineScriptNonce&&(bi.nonce=Q.config.inlineScriptNonce);var wi=oi.parentElement;try{wi.insertBefore(bi,oi)}catch(vi){b(vi)}finally{oi.parentElement&&oi.parentElement.removeChild(oi)}}}function Nt(oi){h(oi,"script")&&At(oi),oe(f(oi,"script"),function(bi){At(bi)})}function It(oi){var bi=oi.attributes;if(!bi)return!1;for(var wi=0;wi<bi.length;wi++){var vi=bi[wi].name;if(g(vi,"hx-on:")||g(vi,"data-hx-on:")||g(vi,"hx-on-")||g(vi,"data-hx-on-"))return!0}return!1}function kt(oi){var bi=null,wi=[];if(It(oi)&&wi.push(oi),document.evaluate)for(var vi=document.evaluate('.//*[@*[ starts-with(name(), "hx-on:") or starts-with(name(), "data-hx-on:") or starts-with(name(), "hx-on-") or starts-with(name(), "data-hx-on-") ]]',oi);bi=vi.iterateNext();)wi.push(bi);else if(typeof oi.getElementsByTagName=="function")for(var ri=oi.getElementsByTagName("*"),yi=0;yi<ri.length;yi++)It(ri[yi])&&wi.push(ri[yi]);return wi}function Pt(oi){if(oi.querySelectorAll){var bi=", [hx-boost] a, [data-hx-boost] a, a[hx-boost], a[data-hx-boost]",wi=oi.querySelectorAll(i+bi+", form, [type='submit'], [hx-sse], [data-hx-sse], [hx-ws], [data-hx-ws], [hx-ext], [data-hx-ext], [hx-trigger], [data-hx-trigger], [hx-on], [data-hx-on]");return wi}else return[]}function Mt(oi){var bi=v(oi.target,"button, input[type='submit']"),wi=Dt(oi);wi&&(wi.lastButtonClicked=bi)}function Xt(oi){var bi=Dt(oi);bi&&(bi.lastButtonClicked=null)}function Dt(oi){var bi=v(oi.target,"button, input[type='submit']");if(bi){var wi=p("#"+ee(bi,"form"))||v(bi,"form");if(wi)return ae(wi)}}function Ut(oi){oi.addEventListener("click",Mt),oi.addEventListener("focusin",Mt),oi.addEventListener("focusout",Xt)}function Bt(oi){for(var bi=Ye(oi),wi=0,vi=0;vi<bi.length;vi++){const ri=bi[vi];ri==="{"?wi++:ri==="}"&&wi--}return wi}function Ft(oi,bi,wi){var vi=ae(oi);Array.isArray(vi.onHandlers)||(vi.onHandlers=[]);var ri,yi=function(Li){return Tr(oi,function(){ri||(ri=new Function("event",wi)),ri.call(oi,Li)})};oi.addEventListener(bi,yi),vi.onHandlers.push({event:bi,listener:yi})}function Vt(oi){var bi=te(oi,"hx-on");if(bi){for(var wi={},vi=bi.split(`
`),ri=null,yi=0;vi.length>0;){var Li=vi.shift(),Ji=Li.match(/^\s*([a-zA-Z:\-\.]+:)(.*)/);yi===0&&Ji?(Li.split(":"),ri=Ji[1].slice(0,-1),wi[ri]=Ji[2]):wi[ri]+=Li,yi+=Bt(Li)}for(var tn in wi)Ft(oi,tn,wi[tn])}}function jt(oi){Ae(oi);for(var bi=0;bi<oi.attributes.length;bi++){var wi=oi.attributes[bi].name,vi=oi.attributes[bi].value;if(g(wi,"hx-on")||g(wi,"data-hx-on")){var ri=wi.indexOf("-on")+3,yi=wi.slice(ri,ri+1);if(yi==="-"||yi===":"){var Li=wi.slice(ri+1);g(Li,":")?Li="htmx"+Li:g(Li,"-")?Li="htmx:"+Li.slice(1):g(Li,"htmx-")&&(Li="htmx:"+Li.slice(5)),Ft(oi,Li,vi)}}}}function _t(oi){if(v(oi,Q.config.disableSelector)){m(oi);return}var bi=ae(oi);if(bi.initHash!==Le(oi)){Ne(oi),bi.initHash=Le(oi),Vt(oi),ce(oi,"htmx:beforeProcessNode"),oi.value&&(bi.lastValue=oi.value);var wi=it(oi),vi=Ht(oi,bi,wi);vi||(ne(oi,"hx-boost")==="true"?lt(oi,bi,wi):o(oi,"hx-trigger")&&wi.forEach(function(Li){Lt(oi,Li,bi,function(){})})),(oi.tagName==="FORM"||ee(oi,"type")==="submit"&&o(oi,"form"))&&Ut(oi);var ri=te(oi,"hx-sse");ri&&St(oi,bi,ri);var yi=te(oi,"hx-ws");yi&&mt(oi,bi,yi),ce(oi,"htmx:afterProcessNode")}}function zt(oi){if(oi=p(oi),v(oi,Q.config.disableSelector)){m(oi);return}_t(oi),oe(Pt(oi),function(bi){_t(bi)}),oe(kt(oi),jt)}function $t(oi){return oi.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function Wt(oi,bi){var wi;return window.CustomEvent&&typeof window.CustomEvent=="function"?wi=new CustomEvent(oi,{bubbles:!0,cancelable:!0,detail:bi}):(wi=re().createEvent("CustomEvent"),wi.initCustomEvent(oi,!0,!0,bi)),wi}function fe(oi,bi,wi){ce(oi,bi,le({error:bi},wi))}function Gt(oi){return oi==="htmx:afterProcessNode"}function R(oi,bi){oe(Fr(oi),function(wi){try{bi(wi)}catch(vi){b(vi)}})}function b(oi){console.error?console.error(oi):console.log&&console.log("ERROR: ",oi)}function ce(oi,bi,wi){oi=p(oi),wi==null&&(wi={}),wi.elt=oi;var vi=Wt(bi,wi);Q.logger&&!Gt(bi)&&Q.logger(oi,bi,wi),wi.error&&(b(wi.error),ce(oi,"htmx:error",{errorInfo:wi}));var ri=oi.dispatchEvent(vi),yi=$t(bi);if(ri&&yi!==bi){var Li=Wt(yi,vi.detail);ri=ri&&oi.dispatchEvent(Li)}return R(oi,function(Ji){ri=ri&&Ji.onEvent(bi,vi)!==!1&&!vi.defaultPrevented}),ri}var Jt=location.pathname+location.search;function Zt(){var oi=re().querySelector("[hx-history-elt],[data-hx-history-elt]");return oi||re().body}function Kt(oi,bi,wi,vi){if(U()){if(Q.config.historyCacheSize<=0){localStorage.removeItem("htmx-history-cache");return}oi=B(oi);for(var ri=E(localStorage.getItem("htmx-history-cache"))||[],yi=0;yi<ri.length;yi++)if(ri[yi].url===oi){ri.splice(yi,1);break}var Li={url:oi,content:bi,title:wi,scroll:vi};for(ce(re().body,"htmx:historyItemCreated",{item:Li,cache:ri}),ri.push(Li);ri.length>Q.config.historyCacheSize;)ri.shift();for(;ri.length>0;)try{localStorage.setItem("htmx-history-cache",JSON.stringify(ri));break}catch(Ji){fe(re().body,"htmx:historyCacheError",{cause:Ji,cache:ri}),ri.shift()}}}function Yt(oi){if(!U())return null;oi=B(oi);for(var bi=E(localStorage.getItem("htmx-history-cache"))||[],wi=0;wi<bi.length;wi++)if(bi[wi].url===oi)return bi[wi];return null}function Qt(oi){var bi=Q.config.requestClass,wi=oi.cloneNode(!0);return oe(f(wi,"."+bi),function(vi){n(vi,bi)}),wi.innerHTML}function er(){var oi=Zt(),bi=Jt||location.pathname+location.search,wi;try{wi=re().querySelector('[hx-history="false" i],[data-hx-history="false" i]')}catch{wi=re().querySelector('[hx-history="false"],[data-hx-history="false"]')}wi||(ce(re().body,"htmx:beforeHistorySave",{path:bi,historyElt:oi}),Kt(bi,Qt(oi),re().title,window.scrollY)),Q.config.historyEnabled&&history.replaceState({htmx:!0},re().title,window.location.href)}function tr(oi){Q.config.getCacheBusterParam&&(oi=oi.replace(/org\.htmx\.cache-buster=[^&]*&?/,""),(G(oi,"&")||G(oi,"?"))&&(oi=oi.slice(0,-1))),Q.config.historyEnabled&&history.pushState({htmx:!0},"",oi),Jt=oi}function rr(oi){Q.config.historyEnabled&&history.replaceState({htmx:!0},"",oi),Jt=oi}function nr(oi){oe(oi,function(bi){bi.call()})}function ir(oi){var bi=new XMLHttpRequest,wi={path:oi,xhr:bi};ce(re().body,"htmx:historyCacheMiss",wi),bi.open("GET",oi,!0),bi.setRequestHeader("HX-Request","true"),bi.setRequestHeader("HX-History-Restore-Request","true"),bi.setRequestHeader("HX-Current-URL",re().location.href),bi.onload=function(){if(this.status>=200&&this.status<400){ce(re().body,"htmx:historyCacheMissLoad",wi);var vi=l(this.response);vi=vi.querySelector("[hx-history-elt],[data-hx-history-elt]")||vi;var ri=Zt(),yi=T(ri),Li=Ve(this.response);if(Li){var Ji=C("title");Ji?Ji.innerHTML=Li:window.document.title=Li}Ue(ri,vi,yi),nr(yi.tasks),Jt=oi,ce(re().body,"htmx:historyRestore",{path:oi,cacheMiss:!0,serverResponse:this.response})}else fe(re().body,"htmx:historyCacheMissLoadError",wi)},bi.send()}function ar(oi){er(),oi=oi||location.pathname+location.search;var bi=Yt(oi);if(bi){var wi=l(bi.content),vi=Zt(),ri=T(vi);Ue(vi,wi,ri),nr(ri.tasks),document.title=bi.title,setTimeout(function(){window.scrollTo(0,bi.scroll)},0),Jt=oi,ce(re().body,"htmx:historyRestore",{path:oi,item:bi})}else Q.config.refreshOnHistoryMiss?window.location.reload(!0):ir(oi)}function or(oi){var bi=me(oi,"hx-indicator");return bi==null&&(bi=[oi]),oe(bi,function(wi){var vi=ae(wi);vi.requestCount=(vi.requestCount||0)+1,wi.classList.add.call(wi.classList,Q.config.requestClass)}),bi}function sr(oi){var bi=me(oi,"hx-disabled-elt");return bi==null&&(bi=[]),oe(bi,function(wi){var vi=ae(wi);vi.requestCount=(vi.requestCount||0)+1,wi.setAttribute("disabled","")}),bi}function lr(oi,bi){oe(oi,function(wi){var vi=ae(wi);vi.requestCount=(vi.requestCount||0)-1,vi.requestCount===0&&wi.classList.remove.call(wi.classList,Q.config.requestClass)}),oe(bi,function(wi){var vi=ae(wi);vi.requestCount=(vi.requestCount||0)-1,vi.requestCount===0&&wi.removeAttribute("disabled")})}function ur(oi,bi){for(var wi=0;wi<oi.length;wi++){var vi=oi[wi];if(vi.isSameNode(bi))return!0}return!1}function fr(oi){return oi.name===""||oi.name==null||oi.disabled||v(oi,"fieldset[disabled]")||oi.type==="button"||oi.type==="submit"||oi.tagName==="image"||oi.tagName==="reset"||oi.tagName==="file"?!1:oi.type==="checkbox"||oi.type==="radio"?oi.checked:!0}function cr(oi,bi,wi){if(oi!=null&&bi!=null){var vi=wi[oi];vi===void 0?wi[oi]=bi:Array.isArray(vi)?Array.isArray(bi)?wi[oi]=vi.concat(bi):vi.push(bi):Array.isArray(bi)?wi[oi]=[vi].concat(bi):wi[oi]=[vi,bi]}}function hr(oi,bi,wi,vi,ri){if(!(vi==null||ur(oi,vi))){if(oi.push(vi),fr(vi)){var yi=ee(vi,"name"),Li=vi.value;vi.multiple&&vi.tagName==="SELECT"&&(Li=M(vi.querySelectorAll("option:checked")).map(function(tn){return tn.value})),vi.files&&(Li=M(vi.files)),cr(yi,Li,bi),ri&&vr(vi,wi)}if(h(vi,"form")){var Ji=vi.elements;oe(Ji,function(tn){hr(oi,bi,wi,tn,ri)})}}}function vr(oi,bi){oi.willValidate&&(ce(oi,"htmx:validation:validate"),oi.checkValidity()||(bi.push({elt:oi,message:oi.validationMessage,validity:oi.validity}),ce(oi,"htmx:validation:failed",{message:oi.validationMessage,validity:oi.validity})))}function dr(oi,bi){var wi=[],vi={},ri={},yi=[],Li=ae(oi);Li.lastButtonClicked&&!se(Li.lastButtonClicked)&&(Li.lastButtonClicked=null);var Ji=h(oi,"form")&&oi.noValidate!==!0||te(oi,"hx-validate")==="true";if(Li.lastButtonClicked&&(Ji=Ji&&Li.lastButtonClicked.formNoValidate!==!0),bi!=="get"&&hr(wi,ri,yi,v(oi,"form"),Ji),hr(wi,vi,yi,oi,Ji),Li.lastButtonClicked||oi.tagName==="BUTTON"||oi.tagName==="INPUT"&&ee(oi,"type")==="submit"){var tn=Li.lastButtonClicked||oi,_n=ee(tn,"name");cr(_n,tn.value,ri)}var In=me(oi,"hx-include");return oe(In,function(Vn){hr(wi,vi,yi,Vn,Ji),h(Vn,"form")||oe(Vn.querySelectorAll(rt),function(bn){hr(wi,vi,yi,bn,Ji)})}),vi=le(vi,ri),{errors:yi,values:vi}}function gr(oi,bi,wi){oi!==""&&(oi+="&"),String(wi)==="[object Object]"&&(wi=JSON.stringify(wi));var vi=encodeURIComponent(wi);return oi+=encodeURIComponent(bi)+"="+vi,oi}function pr(oi){var bi="";for(var wi in oi)if(oi.hasOwnProperty(wi)){var vi=oi[wi];Array.isArray(vi)?oe(vi,function(ri){bi=gr(bi,wi,ri)}):bi=gr(bi,wi,vi)}return bi}function mr(oi){var bi=new FormData;for(var wi in oi)if(oi.hasOwnProperty(wi)){var vi=oi[wi];Array.isArray(vi)?oe(vi,function(ri){bi.append(wi,ri)}):bi.append(wi,vi)}return bi}function xr(oi,bi,wi){var vi={"HX-Request":"true","HX-Trigger":ee(oi,"id"),"HX-Trigger-Name":ee(oi,"name"),"HX-Target":te(bi,"id"),"HX-Current-URL":re().location.href};return Rr(oi,"hx-headers",!1,vi),wi!==void 0&&(vi["HX-Prompt"]=wi),ae(oi).boosted&&(vi["HX-Boosted"]="true"),vi}function yr(oi,bi){var wi=ne(bi,"hx-params");if(wi){if(wi==="none")return{};if(wi==="*")return oi;if(wi.indexOf("not ")===0)return oe(wi.substr(4).split(","),function(ri){ri=ri.trim(),delete oi[ri]}),oi;var vi={};return oe(wi.split(","),function(ri){ri=ri.trim(),vi[ri]=oi[ri]}),vi}else return oi}function br(oi){return ee(oi,"href")&&ee(oi,"href").indexOf("#")>=0}function wr(oi,bi){var wi=bi||ne(oi,"hx-swap"),vi={swapStyle:ae(oi).boosted?"innerHTML":Q.config.defaultSwapStyle,swapDelay:Q.config.defaultSwapDelay,settleDelay:Q.config.defaultSettleDelay};if(Q.config.scrollIntoViewOnBoost&&ae(oi).boosted&&!br(oi)&&(vi.show="top"),wi){var ri=D(wi);if(ri.length>0)for(var yi=0;yi<ri.length;yi++){var Li=ri[yi];if(Li.indexOf("swap:")===0)vi.swapDelay=d(Li.substr(5));else if(Li.indexOf("settle:")===0)vi.settleDelay=d(Li.substr(7));else if(Li.indexOf("transition:")===0)vi.transition=Li.substr(11)==="true";else if(Li.indexOf("ignoreTitle:")===0)vi.ignoreTitle=Li.substr(12)==="true";else if(Li.indexOf("scroll:")===0){var Ji=Li.substr(7),tn=Ji.split(":"),_n=tn.pop(),In=tn.length>0?tn.join(":"):null;vi.scroll=_n,vi.scrollTarget=In}else if(Li.indexOf("show:")===0){var Vn=Li.substr(5),tn=Vn.split(":"),bn=tn.pop(),In=tn.length>0?tn.join(":"):null;vi.show=bn,vi.showTarget=In}else if(Li.indexOf("focus-scroll:")===0){var Zi=Li.substr(13);vi.focusScroll=Zi=="true"}else yi==0?vi.swapStyle=Li:b("Unknown modifier in hx-swap: "+Li)}}return vi}function Sr(oi){return ne(oi,"hx-encoding")==="multipart/form-data"||h(oi,"form")&&ee(oi,"enctype")==="multipart/form-data"}function Er(oi,bi,wi){var vi=null;return R(bi,function(ri){vi==null&&(vi=ri.encodeParameters(oi,wi,bi))}),vi??(Sr(bi)?mr(wi):pr(wi))}function T(oi){return{tasks:[],elts:[oi]}}function Cr(oi,bi){var wi=oi[0],vi=oi[oi.length-1];if(bi.scroll){var ri=null;bi.scrollTarget&&(ri=ue(wi,bi.scrollTarget)),bi.scroll==="top"&&(wi||ri)&&(ri=ri||wi,ri.scrollTop=0),bi.scroll==="bottom"&&(vi||ri)&&(ri=ri||vi,ri.scrollTop=ri.scrollHeight)}if(bi.show){var ri=null;if(bi.showTarget){var yi=bi.showTarget;bi.showTarget==="window"&&(yi="body"),ri=ue(wi,yi)}bi.show==="top"&&(wi||ri)&&(ri=ri||wi,ri.scrollIntoView({block:"start",behavior:Q.config.scrollBehavior})),bi.show==="bottom"&&(vi||ri)&&(ri=ri||vi,ri.scrollIntoView({block:"end",behavior:Q.config.scrollBehavior}))}}function Rr(oi,bi,wi,vi){if(vi==null&&(vi={}),oi==null)return vi;var ri=te(oi,bi);if(ri){var yi=ri.trim(),Li=wi;if(yi==="unset")return null;yi.indexOf("javascript:")===0?(yi=yi.substr(11),Li=!0):yi.indexOf("js:")===0&&(yi=yi.substr(3),Li=!0),yi.indexOf("{")!==0&&(yi="{"+yi+"}");var Ji;Li?Ji=Tr(oi,function(){return Function("return ("+yi+")")()},{}):Ji=E(yi);for(var tn in Ji)Ji.hasOwnProperty(tn)&&vi[tn]==null&&(vi[tn]=Ji[tn])}return Rr(u(oi),bi,wi,vi)}function Tr(oi,bi,wi){return Q.config.allowEval?bi():(fe(oi,"htmx:evalDisallowedError"),wi)}function Or(oi,bi){return Rr(oi,"hx-vars",!0,bi)}function qr(oi,bi){return Rr(oi,"hx-vals",!1,bi)}function Hr(oi){return le(Or(oi),qr(oi))}function Lr(oi,bi,wi){if(wi!==null)try{oi.setRequestHeader(bi,wi)}catch{oi.setRequestHeader(bi,encodeURIComponent(wi)),oi.setRequestHeader(bi+"-URI-AutoEncoded","true")}}function Ar(oi){if(oi.responseURL&&typeof URL<"u")try{var bi=new URL(oi.responseURL);return bi.pathname+bi.search}catch{fe(re().body,"htmx:badResponseUrl",{url:oi.responseURL})}}function O(oi,bi){return bi.test(oi.getAllResponseHeaders())}function Nr(oi,bi,wi){return oi=oi.toLowerCase(),wi?wi instanceof Element||I(wi,"String")?he(oi,bi,null,null,{targetOverride:p(wi),returnPromise:!0}):he(oi,bi,p(wi.source),wi.event,{handler:wi.handler,headers:wi.headers,values:wi.values,targetOverride:p(wi.target),swapOverride:wi.swap,select:wi.select,returnPromise:!0}):he(oi,bi,null,null,{returnPromise:!0})}function Ir(oi){for(var bi=[];oi;)bi.push(oi),oi=oi.parentElement;return bi}function kr(oi,bi,wi){var vi,ri;if(typeof URL=="function"){ri=new URL(bi,document.location.href);var yi=document.location.origin;vi=yi===ri.origin}else ri=bi,vi=g(bi,document.location.origin);return Q.config.selfRequestsOnly&&!vi?!1:ce(oi,"htmx:validateUrl",le({url:ri,sameHost:vi},wi))}function he(oi,bi,wi,vi,ri,yi){var Li=null,Ji=null;if(ri=ri??{},ri.returnPromise&&typeof Promise<"u")var tn=new Promise(function(fo,go){Li=fo,Ji=go});wi==null&&(wi=re().body);var _n=ri.handler||Mr,In=ri.select||null;if(!se(wi))return ie(Li),tn;var Vn=ri.targetOverride||ye(wi);if(Vn==null||Vn==pe)return fe(wi,"htmx:targetError",{target:te(wi,"hx-target")}),ie(Ji),tn;var bn=ae(wi),Zi=bn.lastButtonClicked;if(Zi){var un=ee(Zi,"formaction");un!=null&&(bi=un);var ls=ee(Zi,"formmethod");ls!=null&&ls.toLowerCase()!=="dialog"&&(oi=ls)}var ks=ne(wi,"hx-confirm");if(yi===void 0){var En=function(fo){return he(oi,bi,wi,vi,ri,!!fo)},qi={target:Vn,elt:wi,path:bi,verb:oi,triggeringEvent:vi,etc:ri,issueRequest:En,question:ks};if(ce(wi,"htmx:confirm",qi)===!1)return ie(Li),tn}var sn=wi,rs=ne(wi,"hx-sync"),hs=null,fs=!1;if(rs){var yn=rs.split(":"),mn=yn[0].trim();if(mn==="this"?sn=xe(wi,"hx-sync"):sn=ue(wi,mn),rs=(yn[1]||"drop").trim(),bn=ae(sn),rs==="drop"&&bn.xhr&&bn.abortable!==!0)return ie(Li),tn;if(rs==="abort"){if(bn.xhr)return ie(Li),tn;fs=!0}else if(rs==="replace")ce(sn,"htmx:abort");else if(rs.indexOf("queue")===0){var Mn=rs.split(" ");hs=(Mn[1]||"last").trim()}}if(bn.xhr)if(bn.abortable)ce(sn,"htmx:abort");else{if(hs==null){if(vi){var pi=ae(vi);pi&&pi.triggerSpec&&pi.triggerSpec.queue&&(hs=pi.triggerSpec.queue)}hs==null&&(hs="last")}return bn.queuedRequests==null&&(bn.queuedRequests=[]),hs==="first"&&bn.queuedRequests.length===0?bn.queuedRequests.push(function(){he(oi,bi,wi,vi,ri)}):hs==="all"?bn.queuedRequests.push(function(){he(oi,bi,wi,vi,ri)}):hs==="last"&&(bn.queuedRequests=[],bn.queuedRequests.push(function(){he(oi,bi,wi,vi,ri)})),ie(Li),tn}var rn=new XMLHttpRequest;bn.xhr=rn,bn.abortable=fs;var dn=function(){if(bn.xhr=null,bn.abortable=!1,bn.queuedRequests!=null&&bn.queuedRequests.length>0){var fo=bn.queuedRequests.shift();fo()}},pn=ne(wi,"hx-prompt");if(pn){var Pn=prompt(pn);if(Pn===null||!ce(wi,"htmx:prompt",{prompt:Pn,target:Vn}))return ie(Li),dn(),tn}if(ks&&!yi&&!confirm(ks))return ie(Li),dn(),tn;var nn=xr(wi,Vn,Pn);oi!=="get"&&!Sr(wi)&&(nn["Content-Type"]="application/x-www-form-urlencoded"),ri.headers&&(nn=le(nn,ri.headers));var Ai=dr(wi,oi),Ri=Ai.errors,ki=Ai.values;ri.values&&(ki=le(ki,ri.values));var Wi=Hr(wi),an=le(ki,Wi),Fn=yr(an,wi);Q.config.getCacheBusterParam&&oi==="get"&&(Fn["org.htmx.cache-buster"]=ee(Vn,"id")||"true"),(bi==null||bi==="")&&(bi=re().location.href);var en=Rr(wi,"hx-request"),Fi=ae(wi).boosted,Oi=Q.config.methodsThatUseUrlParams.indexOf(oi)>=0,zi={boosted:Fi,useUrlParams:Oi,parameters:Fn,unfilteredParameters:an,headers:nn,target:Vn,verb:oi,errors:Ri,withCredentials:ri.credentials||en.credentials||Q.config.withCredentials,timeout:ri.timeout||en.timeout||Q.config.timeout,path:bi,triggeringEvent:vi};if(!ce(wi,"htmx:configRequest",zi))return ie(Li),dn(),tn;if(bi=zi.path,oi=zi.verb,nn=zi.headers,Fn=zi.parameters,Ri=zi.errors,Oi=zi.useUrlParams,Ri&&Ri.length>0)return ce(wi,"htmx:validation:halted",zi),ie(Li),dn(),tn;var Ti=bi.split("#"),Yi=Ti[0],wn=Ti[1],Bi=bi;if(Oi){Bi=Yi;var Qi=Object.keys(Fn).length!==0;Qi&&(Bi.indexOf("?")<0?Bi+="?":Bi+="&",Bi+=pr(Fn),wn&&(Bi+="#"+wn))}if(!kr(wi,Bi,zi))return fe(wi,"htmx:invalidPath",zi),ie(Ji),tn;if(rn.open(oi.toUpperCase(),Bi,!0),rn.overrideMimeType("text/html"),rn.withCredentials=zi.withCredentials,rn.timeout=zi.timeout,!en.noHeaders){for(var Gi in nn)if(nn.hasOwnProperty(Gi)){var On=nn[Gi];Lr(rn,Gi,On)}}var Xn={xhr:rn,target:Vn,requestConfig:zi,etc:ri,boosted:Fi,select:In,pathInfo:{requestPath:bi,finalRequestPath:Bi,anchor:wn}};if(rn.onload=function(){try{var fo=Ir(wi);if(Xn.pathInfo.responsePath=Ar(rn),_n(wi,Xn),lr(cs,Vs),ce(wi,"htmx:afterRequest",Xn),ce(wi,"htmx:afterOnLoad",Xn),!se(wi)){for(var go=null;fo.length>0&&go==null;){var Po=fo.shift();se(Po)&&(go=Po)}go&&(ce(go,"htmx:afterRequest",Xn),ce(go,"htmx:afterOnLoad",Xn))}ie(Li),dn()}catch(Jo){throw fe(wi,"htmx:onLoadError",le({error:Jo},Xn)),Jo}},rn.onerror=function(){lr(cs,Vs),fe(wi,"htmx:afterRequest",Xn),fe(wi,"htmx:sendError",Xn),ie(Ji),dn()},rn.onabort=function(){lr(cs,Vs),fe(wi,"htmx:afterRequest",Xn),fe(wi,"htmx:sendAbort",Xn),ie(Ji),dn()},rn.ontimeout=function(){lr(cs,Vs),fe(wi,"htmx:afterRequest",Xn),fe(wi,"htmx:timeout",Xn),ie(Ji),dn()},!ce(wi,"htmx:beforeRequest",Xn))return ie(Li),dn(),tn;var cs=or(wi),Vs=sr(wi);oe(["loadstart","loadend","progress","abort"],function(fo){oe([rn,rn.upload],function(go){go.addEventListener(fo,function(Po){ce(wi,"htmx:xhr:"+fo,{lengthComputable:Po.lengthComputable,loaded:Po.loaded,total:Po.total})})})}),ce(wi,"htmx:beforeSend",Xn);var uo=Oi?null:Er(rn,wi,Fn);return rn.send(uo),tn}function Pr(oi,bi){var wi=bi.xhr,vi=null,ri=null;if(O(wi,/HX-Push:/i)?(vi=wi.getResponseHeader("HX-Push"),ri="push"):O(wi,/HX-Push-Url:/i)?(vi=wi.getResponseHeader("HX-Push-Url"),ri="push"):O(wi,/HX-Replace-Url:/i)&&(vi=wi.getResponseHeader("HX-Replace-Url"),ri="replace"),vi)return vi==="false"?{}:{type:ri,path:vi};var yi=bi.pathInfo.finalRequestPath,Li=bi.pathInfo.responsePath,Ji=ne(oi,"hx-push-url"),tn=ne(oi,"hx-replace-url"),_n=ae(oi).boosted,In=null,Vn=null;return Ji?(In="push",Vn=Ji):tn?(In="replace",Vn=tn):_n&&(In="push",Vn=Li||yi),Vn?Vn==="false"?{}:(Vn==="true"&&(Vn=Li||yi),bi.pathInfo.anchor&&Vn.indexOf("#")===-1&&(Vn=Vn+"#"+bi.pathInfo.anchor),{type:In,path:Vn}):{}}function Mr(oi,bi){var wi=bi.xhr,vi=bi.target,ri=bi.etc,yi=bi.requestConfig,Li=bi.select;if(ce(oi,"htmx:beforeOnLoad",bi)){if(O(wi,/HX-Trigger:/i)&&_e(wi,"HX-Trigger",oi),O(wi,/HX-Location:/i)){er();var Ji=wi.getResponseHeader("HX-Location"),tn;Ji.indexOf("{")===0&&(tn=E(Ji),Ji=tn.path,delete tn.path),Nr("GET",Ji,tn).then(function(){tr(Ji)});return}var _n=O(wi,/HX-Refresh:/i)&&wi.getResponseHeader("HX-Refresh")==="true";if(O(wi,/HX-Redirect:/i)){location.href=wi.getResponseHeader("HX-Redirect"),_n&&location.reload();return}if(_n){location.reload();return}O(wi,/HX-Retarget:/i)&&(wi.getResponseHeader("HX-Retarget")==="this"?bi.target=oi:bi.target=ue(oi,wi.getResponseHeader("HX-Retarget")));var In=Pr(oi,bi),Vn=wi.status>=200&&wi.status<400&&wi.status!==204,bn=wi.response,Zi=wi.status>=400,un=Q.config.ignoreTitle,ls=le({shouldSwap:Vn,serverResponse:bn,isError:Zi,ignoreTitle:un},bi);if(ce(vi,"htmx:beforeSwap",ls)){if(vi=ls.target,bn=ls.serverResponse,Zi=ls.isError,un=ls.ignoreTitle,bi.target=vi,bi.failed=Zi,bi.successful=!Zi,ls.shouldSwap){wi.status===286&&at(oi),R(oi,function(mn){bn=mn.transformResponse(bn,wi,oi)}),In.type&&er();var ks=ri.swapOverride;O(wi,/HX-Reswap:/i)&&(ks=wi.getResponseHeader("HX-Reswap"));var tn=wr(oi,ks);tn.hasOwnProperty("ignoreTitle")&&(un=tn.ignoreTitle),vi.classList.add(Q.config.swappingClass);var En=null,qi=null,sn=function(){try{var mn=document.activeElement,Mn={};try{Mn={elt:mn,start:mn?mn.selectionStart:null,end:mn?mn.selectionEnd:null}}catch{}var pi;Li&&(pi=Li),O(wi,/HX-Reselect:/i)&&(pi=wi.getResponseHeader("HX-Reselect")),In.type&&(ce(re().body,"htmx:beforeHistoryUpdate",le({history:In},bi)),In.type==="push"?(tr(In.path),ce(re().body,"htmx:pushedIntoHistory",{path:In.path})):(rr(In.path),ce(re().body,"htmx:replacedInHistory",{path:In.path})));var rn=T(vi);if(je(tn.swapStyle,vi,oi,bn,rn,pi),Mn.elt&&!se(Mn.elt)&&ee(Mn.elt,"id")){var dn=document.getElementById(ee(Mn.elt,"id")),pn={preventScroll:tn.focusScroll!==void 0?!tn.focusScroll:!Q.config.defaultFocusScroll};if(dn){if(Mn.start&&dn.setSelectionRange)try{dn.setSelectionRange(Mn.start,Mn.end)}catch{}dn.focus(pn)}}if(vi.classList.remove(Q.config.swappingClass),oe(rn.elts,function(Ai){Ai.classList&&Ai.classList.add(Q.config.settlingClass),ce(Ai,"htmx:afterSwap",bi)}),O(wi,/HX-Trigger-After-Swap:/i)){var Pn=oi;se(oi)||(Pn=re().body),_e(wi,"HX-Trigger-After-Swap",Pn)}var nn=function(){if(oe(rn.tasks,function(Wi){Wi.call()}),oe(rn.elts,function(Wi){Wi.classList&&Wi.classList.remove(Q.config.settlingClass),ce(Wi,"htmx:afterSettle",bi)}),bi.pathInfo.anchor){var Ai=re().getElementById(bi.pathInfo.anchor);Ai&&Ai.scrollIntoView({block:"start",behavior:"auto"})}if(rn.title&&!un){var Ri=C("title");Ri?Ri.innerHTML=rn.title:window.document.title=rn.title}if(Cr(rn.elts,tn),O(wi,/HX-Trigger-After-Settle:/i)){var ki=oi;se(oi)||(ki=re().body),_e(wi,"HX-Trigger-After-Settle",ki)}ie(En)};tn.settleDelay>0?setTimeout(nn,tn.settleDelay):nn()}catch(Ai){throw fe(oi,"htmx:swapError",bi),ie(qi),Ai}},rs=Q.config.globalViewTransitions;if(tn.hasOwnProperty("transition")&&(rs=tn.transition),rs&&ce(oi,"htmx:beforeTransition",bi)&&typeof Promise<"u"&&document.startViewTransition){var hs=new Promise(function(mn,Mn){En=mn,qi=Mn}),fs=sn;sn=function(){document.startViewTransition(function(){return fs(),hs})}}tn.swapDelay>0?setTimeout(sn,tn.swapDelay):sn()}Zi&&fe(oi,"htmx:responseError",le({error:"Response Status Error Code "+wi.status+" from "+bi.pathInfo.requestPath},bi))}}}var Xr={};function Dr(){return{init:function(oi){return null},onEvent:function(oi,bi){return!0},transformResponse:function(oi,bi,wi){return oi},isInlineSwap:function(oi){return!1},handleSwap:function(oi,bi,wi,vi){return!1},encodeParameters:function(oi,bi,wi){return null}}}function Ur(oi,bi){bi.init&&bi.init(r),Xr[oi]=le(Dr(),bi)}function Br(oi){delete Xr[oi]}function Fr(oi,bi,wi){if(oi==null)return bi;bi==null&&(bi=[]),wi==null&&(wi=[]);var vi=te(oi,"hx-ext");return vi&&oe(vi.split(","),function(ri){if(ri=ri.replace(/ /g,""),ri.slice(0,7)=="ignore:"){wi.push(ri.slice(7));return}if(wi.indexOf(ri)<0){var yi=Xr[ri];yi&&bi.indexOf(yi)<0&&bi.push(yi)}}),Fr(u(oi),bi,wi)}var Vr=!1;re().addEventListener("DOMContentLoaded",function(){Vr=!0});function jr(oi){Vr||re().readyState==="complete"?oi():re().addEventListener("DOMContentLoaded",oi)}function _r(){Q.config.includeIndicatorStyles!==!1&&re().head.insertAdjacentHTML("beforeend","<style> ."+Q.config.indicatorClass+"{opacity:0} ."+Q.config.requestClass+" ."+Q.config.indicatorClass+"{opacity:1; transition: opacity 200ms ease-in;} ."+Q.config.requestClass+"."+Q.config.indicatorClass+"{opacity:1; transition: opacity 200ms ease-in;} </style>")}function zr(){var oi=re().querySelector('meta[name="htmx-config"]');return oi?E(oi.content):null}function $r(){var oi=zr();oi&&(Q.config=le(Q.config,oi))}return jr(function(){$r(),_r();var oi=re().body;zt(oi);var bi=re().querySelectorAll("[hx-trigger='restored'],[data-hx-trigger='restored']");oi.addEventListener("htmx:abort",function(vi){var ri=vi.target,yi=ae(ri);yi&&yi.xhr&&yi.xhr.abort()});const wi=window.onpopstate?window.onpopstate.bind(window):null;window.onpopstate=function(vi){vi.state&&vi.state.htmx?(ar(),oe(bi,function(ri){ce(ri,"htmx:restored",{document:re(),triggerEvent:ce})})):wi&&wi(vi)},setTimeout(function(){ce(oi,"htmx:load",{}),oi=null},0)}),Q}()})},"./node_modules/idiomorph/dist/idiomorph-ext.js":function(oi,bi,wi){var vi=wi("./node_modules/htmx.org/dist/htmx.min.js"),ri=function(){"use strict";let yi=new Set,Li={morphStyle:"outerHTML",callbacks:{beforeNodeAdded:qi,afterNodeAdded:qi,beforeNodeMorphed:qi,afterNodeMorphed:qi,beforeNodeRemoved:qi,afterNodeRemoved:qi,beforeAttributeUpdated:qi},head:{style:"merge",shouldPreserve:function(en){return en.getAttribute("im-preserve")==="true"},shouldReAppend:function(en){return en.getAttribute("im-re-append")==="true"},shouldRemove:qi,afterHeadMorphed:qi}};function Ji(en,Fi,Oi={}){en instanceof Document&&(en=en.documentElement),typeof Fi=="string"&&(Fi=pi(Fi));let zi=rn(Fi),Ti=rs(en,zi,Oi);return tn(en,zi,Ti)}function tn(en,Fi,Oi){if(Oi.head.block){let zi=en.querySelector("head"),Ti=Fi.querySelector("head");if(zi&&Ti){let Yi=ks(Ti,zi,Oi);Promise.all(Yi).then(function(){tn(en,Fi,Object.assign(Oi,{head:{block:!1,ignore:!0}}))});return}}if(Oi.morphStyle==="innerHTML")return Vn(Fi,en,Oi),en.children;if(Oi.morphStyle==="outerHTML"||Oi.morphStyle==null){let zi=pn(Fi,en,Oi),Ti=zi?.previousSibling,Yi=zi?.nextSibling,wn=In(en,zi,Oi);return zi?dn(Ti,wn,Yi):[]}else throw"Do not understand how to morph style "+Oi.morphStyle}function _n(en,Fi){return Fi.ignoreActiveValue&&en===document.activeElement}function In(en,Fi,Oi){if(!(Oi.ignoreActive&&en===document.activeElement))return Fi==null?Oi.callbacks.beforeNodeRemoved(en)===!1?en:(en.remove(),Oi.callbacks.afterNodeRemoved(en),null):fs(en,Fi)?(Oi.callbacks.beforeNodeMorphed(en,Fi)===!1||(en instanceof HTMLHeadElement&&Oi.head.ignore||(en instanceof HTMLHeadElement&&Oi.head.style!=="morph"?ks(Fi,en,Oi):(Zi(Fi,en,Oi),_n(en,Oi)||Vn(Fi,en,Oi))),Oi.callbacks.afterNodeMorphed(en,Fi)),en):Oi.callbacks.beforeNodeRemoved(en)===!1||Oi.callbacks.beforeNodeAdded(Fi)===!1?en:(en.parentElement.replaceChild(Fi,en),Oi.callbacks.afterNodeAdded(Fi),Oi.callbacks.afterNodeRemoved(en),Fi)}function Vn(en,Fi,Oi){let zi=en.firstChild,Ti=Fi.firstChild,Yi;for(;zi;){if(Yi=zi,zi=Yi.nextSibling,Ti==null){if(Oi.callbacks.beforeNodeAdded(Yi)===!1)return;Fi.appendChild(Yi),Oi.callbacks.afterNodeAdded(Yi),ki(Oi,Yi);continue}if(hs(Yi,Ti,Oi)){In(Ti,Yi,Oi),Ti=Ti.nextSibling,ki(Oi,Yi);continue}let wn=mn(en,Fi,Yi,Ti,Oi);if(wn){Ti=yn(Ti,wn,Oi),In(wn,Yi,Oi),ki(Oi,Yi);continue}let Bi=Mn(en,Fi,Yi,Ti,Oi);if(Bi){Ti=yn(Ti,Bi,Oi),In(Bi,Yi,Oi),ki(Oi,Yi);continue}if(Oi.callbacks.beforeNodeAdded(Yi)===!1)return;Fi.insertBefore(Yi,Ti),Oi.callbacks.afterNodeAdded(Yi),ki(Oi,Yi)}for(;Ti!==null;){let wn=Ti;Ti=Ti.nextSibling,nn(wn,Oi)}}function bn(en,Fi,Oi,zi){return en==="value"&&zi.ignoreActiveValue&&Fi===document.activeElement?!0:zi.callbacks.beforeAttributeUpdated(en,Fi,Oi)===!1}function Zi(en,Fi,Oi){let zi=en.nodeType;if(zi===1){const Ti=en.attributes,Yi=Fi.attributes;for(const wn of Ti)bn(wn.name,Fi,"update",Oi)||Fi.getAttribute(wn.name)!==wn.value&&Fi.setAttribute(wn.name,wn.value);for(let wn=Yi.length-1;0<=wn;wn--){const Bi=Yi[wn];bn(Bi.name,Fi,"remove",Oi)||en.hasAttribute(Bi.name)||Fi.removeAttribute(Bi.name)}}(zi===8||zi===3)&&Fi.nodeValue!==en.nodeValue&&(Fi.nodeValue=en.nodeValue),_n(Fi,Oi)||ls(en,Fi,Oi)}function un(en,Fi,Oi,zi){if(en[Oi]!==Fi[Oi]){let Ti=bn(Oi,Fi,"update",zi);Ti||(Fi[Oi]=en[Oi]),en[Oi]?Ti||Fi.setAttribute(Oi,en[Oi]):bn(Oi,Fi,"remove",zi)||Fi.removeAttribute(Oi)}}function ls(en,Fi,Oi){if(en instanceof HTMLInputElement&&Fi instanceof HTMLInputElement&&en.type!=="file"){let zi=en.value,Ti=Fi.value;un(en,Fi,"checked",Oi),un(en,Fi,"disabled",Oi),en.hasAttribute("value")?zi!==Ti&&(bn("value",Fi,"update",Oi)||(Fi.setAttribute("value",zi),Fi.value=zi)):bn("value",Fi,"remove",Oi)||(Fi.value="",Fi.removeAttribute("value"))}else if(en instanceof HTMLOptionElement)un(en,Fi,"selected",Oi);else if(en instanceof HTMLTextAreaElement&&Fi instanceof HTMLTextAreaElement){let zi=en.value,Ti=Fi.value;if(bn("value",Fi,"update",Oi))return;zi!==Ti&&(Fi.value=zi),Fi.firstChild&&Fi.firstChild.nodeValue!==zi&&(Fi.firstChild.nodeValue=zi)}}function ks(en,Fi,Oi){let zi=[],Ti=[],Yi=[],wn=[],Bi=Oi.head.style,Qi=new Map;for(const On of en.children)Qi.set(On.outerHTML,On);for(const On of Fi.children){let Xn=Qi.has(On.outerHTML),cs=Oi.head.shouldReAppend(On),Vs=Oi.head.shouldPreserve(On);Xn||Vs?cs?Ti.push(On):(Qi.delete(On.outerHTML),Yi.push(On)):Bi==="append"?cs&&(Ti.push(On),wn.push(On)):Oi.head.shouldRemove(On)!==!1&&Ti.push(On)}wn.push(...Qi.values());let Gi=[];for(const On of wn){let Xn=document.createRange().createContextualFragment(On.outerHTML).firstChild;if(Oi.callbacks.beforeNodeAdded(Xn)!==!1){if(Xn.href||Xn.src){let cs=null,Vs=new Promise(function(uo){cs=uo});Xn.addEventListener("load",function(){cs()}),Gi.push(Vs)}Fi.appendChild(Xn),Oi.callbacks.afterNodeAdded(Xn),zi.push(Xn)}}for(const On of Ti)Oi.callbacks.beforeNodeRemoved(On)!==!1&&(Fi.removeChild(On),Oi.callbacks.afterNodeRemoved(On));return Oi.head.afterHeadMorphed(Fi,{added:zi,kept:Yi,removed:Ti}),Gi}function En(){}function qi(){}function sn(en){let Fi={};return Object.assign(Fi,Li),Object.assign(Fi,en),Fi.callbacks={},Object.assign(Fi.callbacks,Li.callbacks),Object.assign(Fi.callbacks,en.callbacks),Fi.head={},Object.assign(Fi.head,Li.head),Object.assign(Fi.head,en.head),Fi}function rs(en,Fi,Oi){return Oi=sn(Oi),{target:en,newContent:Fi,config:Oi,morphStyle:Oi.morphStyle,ignoreActive:Oi.ignoreActive,ignoreActiveValue:Oi.ignoreActiveValue,idMap:Fn(en,Fi),deadIds:new Set,callbacks:Oi.callbacks,head:Oi.head}}function hs(en,Fi,Oi){return en==null||Fi==null?!1:en.nodeType===Fi.nodeType&&en.tagName===Fi.tagName?en.id!==""&&en.id===Fi.id?!0:Wi(Oi,en,Fi)>0:!1}function fs(en,Fi){return en==null||Fi==null?!1:en.nodeType===Fi.nodeType&&en.tagName===Fi.tagName}function yn(en,Fi,Oi){for(;en!==Fi;){let zi=en;en=en.nextSibling,nn(zi,Oi)}return ki(Oi,Fi),Fi.nextSibling}function mn(en,Fi,Oi,zi,Ti){let Yi=Wi(Ti,Oi,Fi),wn=null;if(Yi>0){let Bi=zi,Qi=0;for(;Bi!=null;){if(hs(Oi,Bi,Ti))return Bi;if(Qi+=Wi(Ti,Bi,en),Qi>Yi)return null;Bi=Bi.nextSibling}}return wn}function Mn(en,Fi,Oi,zi,Ti){let Yi=zi,wn=Oi.nextSibling,Bi=0;for(;Yi!=null;){if(Wi(Ti,Yi,en)>0)return null;if(fs(Oi,Yi))return Yi;if(fs(wn,Yi)&&(Bi++,wn=wn.nextSibling,Bi>=2))return null;Yi=Yi.nextSibling}return Yi}function pi(en){let Fi=new DOMParser,Oi=en.replace(/<svg(\s[^>]*>|>)([\s\S]*?)<\/svg>/gim,"");if(Oi.match(/<\/html>/)||Oi.match(/<\/head>/)||Oi.match(/<\/body>/)){let zi=Fi.parseFromString(en,"text/html");if(Oi.match(/<\/html>/))return zi.generatedByIdiomorph=!0,zi;{let Ti=zi.firstChild;return Ti?(Ti.generatedByIdiomorph=!0,Ti):null}}else{let Ti=Fi.parseFromString("<body><template>"+en+"</template></body>","text/html").body.querySelector("template").content;return Ti.generatedByIdiomorph=!0,Ti}}function rn(en){if(en==null)return document.createElement("div");if(en.generatedByIdiomorph)return en;if(en instanceof Node){const Fi=document.createElement("div");return Fi.append(en),Fi}else{const Fi=document.createElement("div");for(const Oi of[...en])Fi.append(Oi);return Fi}}function dn(en,Fi,Oi){let zi=[],Ti=[];for(;en!=null;)zi.push(en),en=en.previousSibling;for(;zi.length>0;){let Yi=zi.pop();Ti.push(Yi),Fi.parentElement.insertBefore(Yi,Fi)}for(Ti.push(Fi);Oi!=null;)zi.push(Oi),Ti.push(Oi),Oi=Oi.nextSibling;for(;zi.length>0;)Fi.parentElement.insertBefore(zi.pop(),Fi.nextSibling);return Ti}function pn(en,Fi,Oi){let zi;zi=en.firstChild;let Ti=zi,Yi=0;for(;zi;){let wn=Pn(zi,Fi,Oi);wn>Yi&&(Ti=zi,Yi=wn),zi=zi.nextSibling}return Ti}function Pn(en,Fi,Oi){return fs(en,Fi)?.5+Wi(Oi,en,Fi):0}function nn(en,Fi){ki(Fi,en),Fi.callbacks.beforeNodeRemoved(en)!==!1&&(en.remove(),Fi.callbacks.afterNodeRemoved(en))}function Ai(en,Fi){return!en.deadIds.has(Fi)}function Ri(en,Fi,Oi){return(en.idMap.get(Oi)||yi).has(Fi)}function ki(en,Fi){let Oi=en.idMap.get(Fi)||yi;for(const zi of Oi)en.deadIds.add(zi)}function Wi(en,Fi,Oi){let zi=en.idMap.get(Fi)||yi,Ti=0;for(const Yi of zi)Ai(en,Yi)&&Ri(en,Yi,Oi)&&++Ti;return Ti}function an(en,Fi){let Oi=en.parentElement,zi=en.querySelectorAll("[id]");for(const Ti of zi){let Yi=Ti;for(;Yi!==Oi&&Yi!=null;){let wn=Fi.get(Yi);wn==null&&(wn=new Set,Fi.set(Yi,wn)),wn.add(Ti.id),Yi=Yi.parentElement}}}function Fn(en,Fi){let Oi=new Map;return an(en,Oi),an(Fi,Oi),Oi}return{morph:Ji,defaults:Li}}();(function(){function yi(Li){if(Li==="morph"||Li==="morph:outerHTML")return{morphStyle:"outerHTML"};if(Li==="morph:innerHTML")return{morphStyle:"innerHTML"};if(Li.startsWith("morph:"))return Function("return ("+Li.slice(6)+")")()}vi.defineExtension("morph",{isInlineSwap:function(Li){let Ji=yi(Li);return Ji.swapStyle==="outerHTML"||Ji.swapStyle==null},handleSwap:function(Li,Ji,tn){let _n=yi(Li);if(_n)return ri.morph(Ji,tn.children,_n)}})})()},"./node_modules/jquery/dist/jquery.js":function(oi,bi){var wi,vi;(function(ri,yi){"use strict";typeof oi.exports=="object"?oi.exports=ri.document?yi(ri,!0):function(Li){if(!Li.document)throw new Error("jQuery requires a window with a document");return yi(Li)}:yi(ri)})(typeof window<"u"?window:this,function(ri,yi){"use strict";var Li=[],Ji=Object.getPrototypeOf,tn=Li.slice,_n=Li.flat?function(ci){return Li.flat.call(ci)}:function(ci){return Li.concat.apply([],ci)},In=Li.push,Vn=Li.indexOf,bn={},Zi=bn.toString,un=bn.hasOwnProperty,ls=un.toString,ks=ls.call(Object),En={},qi=function(di){return typeof di=="function"&&typeof di.nodeType!="number"&&typeof di.item!="function"},sn=function(di){return di!=null&&di===di.window},rs=ri.document,hs={type:!0,src:!0,nonce:!0,noModule:!0};function fs(ci,di,xi){xi=xi||rs;var Ci,Ii,Pi=xi.createElement("script");if(Pi.text=ci,di)for(Ci in hs)Ii=di[Ci]||di.getAttribute&&di.getAttribute(Ci),Ii&&Pi.setAttribute(Ci,Ii);xi.head.appendChild(Pi).parentNode.removeChild(Pi)}function yn(ci){return ci==null?ci+"":typeof ci=="object"||typeof ci=="function"?bn[Zi.call(ci)]||"object":typeof ci}var mn="3.7.1",Mn=/HTML$/i,pi=function(ci,di){return new pi.fn.init(ci,di)};pi.fn=pi.prototype={jquery:mn,constructor:pi,length:0,toArray:function(){return tn.call(this)},get:function(ci){return ci==null?tn.call(this):ci<0?this[ci+this.length]:this[ci]},pushStack:function(ci){var di=pi.merge(this.constructor(),ci);return di.prevObject=this,di},each:function(ci){return pi.each(this,ci)},map:function(ci){return this.pushStack(pi.map(this,function(di,xi){return ci.call(di,xi,di)}))},slice:function(){return this.pushStack(tn.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(pi.grep(this,function(ci,di){return(di+1)%2}))},odd:function(){return this.pushStack(pi.grep(this,function(ci,di){return di%2}))},eq:function(ci){var di=this.length,xi=+ci+(ci<0?di:0);return this.pushStack(xi>=0&&xi<di?[this[xi]]:[])},end:function(){return this.prevObject||this.constructor()},push:In,sort:Li.sort,splice:Li.splice},pi.extend=pi.fn.extend=function(){var ci,di,xi,Ci,Ii,Pi,Ui=arguments[0]||{},Sn=1,vn=arguments.length,Hn=!1;for(typeof Ui=="boolean"&&(Hn=Ui,Ui=arguments[Sn]||{},Sn++),typeof Ui!="object"&&!qi(Ui)&&(Ui={}),Sn===vn&&(Ui=this,Sn--);Sn<vn;Sn++)if((ci=arguments[Sn])!=null)for(di in ci)Ci=ci[di],!(di==="__proto__"||Ui===Ci)&&(Hn&&Ci&&(pi.isPlainObject(Ci)||(Ii=Array.isArray(Ci)))?(xi=Ui[di],Ii&&!Array.isArray(xi)?Pi=[]:!Ii&&!pi.isPlainObject(xi)?Pi={}:Pi=xi,Ii=!1,Ui[di]=pi.extend(Hn,Pi,Ci)):Ci!==void 0&&(Ui[di]=Ci));return Ui},pi.extend({expando:"jQuery"+(mn+Math.random()).replace(/\D/g,""),isReady:!0,error:function(ci){throw new Error(ci)},noop:function(){},isPlainObject:function(ci){var di,xi;return!ci||Zi.call(ci)!=="[object Object]"?!1:(di=Ji(ci),di?(xi=un.call(di,"constructor")&&di.constructor,typeof xi=="function"&&ls.call(xi)===ks):!0)},isEmptyObject:function(ci){var di;for(di in ci)return!1;return!0},globalEval:function(ci,di,xi){fs(ci,{nonce:di&&di.nonce},xi)},each:function(ci,di){var xi,Ci=0;if(rn(ci))for(xi=ci.length;Ci<xi&&di.call(ci[Ci],Ci,ci[Ci])!==!1;Ci++);else for(Ci in ci)if(di.call(ci[Ci],Ci,ci[Ci])===!1)break;return ci},text:function(ci){var di,xi="",Ci=0,Ii=ci.nodeType;if(!Ii)for(;di=ci[Ci++];)xi+=pi.text(di);return Ii===1||Ii===11?ci.textContent:Ii===9?ci.documentElement.textContent:Ii===3||Ii===4?ci.nodeValue:xi},makeArray:function(ci,di){var xi=di||[];return ci!=null&&(rn(Object(ci))?pi.merge(xi,typeof ci=="string"?[ci]:ci):In.call(xi,ci)),xi},inArray:function(ci,di,xi){return di==null?-1:Vn.call(di,ci,xi)},isXMLDoc:function(ci){var di=ci&&ci.namespaceURI,xi=ci&&(ci.ownerDocument||ci).documentElement;return!Mn.test(di||xi&&xi.nodeName||"HTML")},merge:function(ci,di){for(var xi=+di.length,Ci=0,Ii=ci.length;Ci<xi;Ci++)ci[Ii++]=di[Ci];return ci.length=Ii,ci},grep:function(ci,di,xi){for(var Ci,Ii=[],Pi=0,Ui=ci.length,Sn=!xi;Pi<Ui;Pi++)Ci=!di(ci[Pi],Pi),Ci!==Sn&&Ii.push(ci[Pi]);return Ii},map:function(ci,di,xi){var Ci,Ii,Pi=0,Ui=[];if(rn(ci))for(Ci=ci.length;Pi<Ci;Pi++)Ii=di(ci[Pi],Pi,xi),Ii!=null&&Ui.push(Ii);else for(Pi in ci)Ii=di(ci[Pi],Pi,xi),Ii!=null&&Ui.push(Ii);return _n(Ui)},guid:1,support:En}),typeof Symbol=="function"&&(pi.fn[Symbol.iterator]=Li[Symbol.iterator]),pi.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(ci,di){bn["[object "+di+"]"]=di.toLowerCase()});function rn(ci){var di=!!ci&&"length"in ci&&ci.length,xi=yn(ci);return qi(ci)||sn(ci)?!1:xi==="array"||di===0||typeof di=="number"&&di>0&&di-1 in ci}function dn(ci,di){return ci.nodeName&&ci.nodeName.toLowerCase()===di.toLowerCase()}var pn=Li.pop,Pn=Li.sort,nn=Li.splice,Ai="[\\x20\\t\\r\\n\\f]",Ri=new RegExp("^"+Ai+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ai+"+$","g");pi.contains=function(ci,di){var xi=di&&di.parentNode;return ci===xi||!!(xi&&xi.nodeType===1&&(ci.contains?ci.contains(xi):ci.compareDocumentPosition&&ci.compareDocumentPosition(xi)&16))};var ki=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Wi(ci,di){return di?ci==="\0"?"\uFFFD":ci.slice(0,-1)+"\\"+ci.charCodeAt(ci.length-1).toString(16)+" ":"\\"+ci}pi.escapeSelector=function(ci){return(ci+"").replace(ki,Wi)};var an=rs,Fn=In;(function(){var ci,di,xi,Ci,Ii,Pi=Fn,Ui,Sn,vn,Hn,as,vs=pi.expando,ns=0,gs=0,Lo=Uf(),Ko=Uf(),Fo=Uf(),Fa=Uf(),Ba=function(fn,Rn){return fn===Rn&&(Ii=!0),0},yc="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Kl="(?:\\\\[\\da-fA-F]{1,6}"+Ai+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Bo="\\["+Ai+"*("+Kl+")(?:"+Ai+"*([*^$|!~]?=)"+Ai+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Kl+"))|)"+Ai+"*\\]",Ia=":("+Kl+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Bo+")*)|.*)\\)|)",Xo=new RegExp(Ai+"+","g"),Ma=new RegExp("^"+Ai+"*,"+Ai+"*"),ju=new RegExp("^"+Ai+"*([>+~]|"+Ai+")"+Ai+"*"),mf=new RegExp(Ai+"|>"),nc=new RegExp(Ia),Nc=new RegExp("^"+Kl+"$"),Fl={ID:new RegExp("^#("+Kl+")"),CLASS:new RegExp("^\\.("+Kl+")"),TAG:new RegExp("^("+Kl+"|[*])"),ATTR:new RegExp("^"+Bo),PSEUDO:new RegExp("^"+Ia),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ai+"*(even|odd|(([+-]|)(\\d*)n|)"+Ai+"*(?:([+-]|)"+Ai+"*(\\d+)|))"+Ai+"*\\)|)","i"),bool:new RegExp("^(?:"+yc+")$","i"),needsContext:new RegExp("^"+Ai+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ai+"*((?:-\\d)?\\d*)"+Ai+"*\\)|)(?=[^-]|$)","i")},Bc=/^(?:input|select|textarea|button)$/i,sc=/^h\d$/i,Il=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,pf=/[+~]/,ja=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ai+"?|\\\\([^\\r\\n\\f])","g"),Ll=function(fn,Rn){var Zn="0x"+fn.slice(1)-65536;return Rn||(Zn<0?String.fromCharCode(Zn+65536):String.fromCharCode(Zn>>10|55296,Zn&1023|56320))},Dd=function(){Hc()},fm=lu(function(fn){return fn.disabled===!0&&dn(fn,"fieldset")},{dir:"parentNode",next:"legend"});function Vf(){try{return Ui.activeElement}catch{}}try{Pi.apply(Li=tn.call(an.childNodes),an.childNodes),Li[an.childNodes.length].nodeType}catch{Pi={apply:function(Rn,Zn){Fn.apply(Rn,tn.call(Zn))},call:function(Rn){Fn.apply(Rn,tn.call(arguments,1))}}}function ua(fn,Rn,Zn,ss){var ps,Hs,Jr,lo,Zr,Wo,Ao,ko=Rn&&Rn.ownerDocument,No=Rn?Rn.nodeType:9;if(Zn=Zn||[],typeof fn!="string"||!fn||No!==1&&No!==9&&No!==11)return Zn;if(!ss&&(Hc(Rn),Rn=Rn||Ui,vn)){if(No!==11&&(Zr=Il.exec(fn)))if(ps=Zr[1]){if(No===9)if(Jr=Rn.getElementById(ps)){if(Jr.id===ps)return Pi.call(Zn,Jr),Zn}else return Zn;else if(ko&&(Jr=ko.getElementById(ps))&&ua.contains(Rn,Jr)&&Jr.id===ps)return Pi.call(Zn,Jr),Zn}else{if(Zr[2])return Pi.apply(Zn,Rn.getElementsByTagName(fn)),Zn;if((ps=Zr[3])&&Rn.getElementsByClassName)return Pi.apply(Zn,Rn.getElementsByClassName(ps)),Zn}if(!Fa[fn+" "]&&(!Hn||!Hn.test(fn))){if(Ao=fn,ko=Rn,No===1&&(mf.test(fn)||ju.test(fn))){for(ko=pf.test(fn)&&ll(Rn.parentNode)||Rn,(ko!=Rn||!En.scope)&&((lo=Rn.getAttribute("id"))?lo=pi.escapeSelector(lo):Rn.setAttribute("id",lo=vs)),Wo=Wu(fn),Hs=Wo.length;Hs--;)Wo[Hs]=(lo?"#"+lo:":scope")+" "+zu(Wo[Hs]);Ao=Wo.join(",")}try{return Pi.apply(Zn,ko.querySelectorAll(Ao)),Zn}catch{Fa(fn,!0)}finally{lo===vs&&Rn.removeAttribute("id")}}}return Cu(fn.replace(Ri,"$1"),Rn,Zn,ss)}function Uf(){var fn=[];function Rn(Zn,ss){return fn.push(Zn+" ")>di.cacheLength&&delete Rn[fn.shift()],Rn[Zn+" "]=ss}return Rn}function al(fn){return fn[vs]=!0,fn}function Uu(fn){var Rn=Ui.createElement("fieldset");try{return!!fn(Rn)}catch{return!1}finally{Rn.parentNode&&Rn.parentNode.removeChild(Rn),Rn=null}}function rc(fn){return function(Rn){return dn(Rn,"input")&&Rn.type===fn}}function wp(fn){return function(Rn){return(dn(Rn,"input")||dn(Rn,"button"))&&Rn.type===fn}}function Fd(fn){return function(Rn){return"form"in Rn?Rn.parentNode&&Rn.disabled===!1?"label"in Rn?"label"in Rn.parentNode?Rn.parentNode.disabled===fn:Rn.disabled===fn:Rn.isDisabled===fn||Rn.isDisabled!==!fn&&fm(Rn)===fn:Rn.disabled===fn:"label"in Rn?Rn.disabled===fn:!1}}function oc(fn){return al(function(Rn){return Rn=+Rn,al(function(Zn,ss){for(var ps,Hs=fn([],Zn.length,Rn),Jr=Hs.length;Jr--;)Zn[ps=Hs[Jr]]&&(Zn[ps]=!(ss[ps]=Zn[ps]))})})}function ll(fn){return fn&&typeof fn.getElementsByTagName<"u"&&fn}function Hc(fn){var Rn,Zn=fn?fn.ownerDocument||fn:an;return Zn==Ui||Zn.nodeType!==9||!Zn.documentElement||(Ui=Zn,Sn=Ui.documentElement,vn=!pi.isXMLDoc(Ui),as=Sn.matches||Sn.webkitMatchesSelector||Sn.msMatchesSelector,Sn.msMatchesSelector&&an!=Ui&&(Rn=Ui.defaultView)&&Rn.top!==Rn&&Rn.addEventListener("unload",Dd),En.getById=Uu(function(ss){return Sn.appendChild(ss).id=pi.expando,!Ui.getElementsByName||!Ui.getElementsByName(pi.expando).length}),En.disconnectedMatch=Uu(function(ss){return as.call(ss,"*")}),En.scope=Uu(function(){return Ui.querySelectorAll(":scope")}),En.cssHas=Uu(function(){try{return Ui.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),En.getById?(di.filter.ID=function(ss){var ps=ss.replace(ja,Ll);return function(Hs){return Hs.getAttribute("id")===ps}},di.find.ID=function(ss,ps){if(typeof ps.getElementById<"u"&&vn){var Hs=ps.getElementById(ss);return Hs?[Hs]:[]}}):(di.filter.ID=function(ss){var ps=ss.replace(ja,Ll);return function(Hs){var Jr=typeof Hs.getAttributeNode<"u"&&Hs.getAttributeNode("id");return Jr&&Jr.value===ps}},di.find.ID=function(ss,ps){if(typeof ps.getElementById<"u"&&vn){var Hs,Jr,lo,Zr=ps.getElementById(ss);if(Zr){if(Hs=Zr.getAttributeNode("id"),Hs&&Hs.value===ss)return[Zr];for(lo=ps.getElementsByName(ss),Jr=0;Zr=lo[Jr++];)if(Hs=Zr.getAttributeNode("id"),Hs&&Hs.value===ss)return[Zr]}return[]}}),di.find.TAG=function(ss,ps){return typeof ps.getElementsByTagName<"u"?ps.getElementsByTagName(ss):ps.querySelectorAll(ss)},di.find.CLASS=function(ss,ps){if(typeof ps.getElementsByClassName<"u"&&vn)return ps.getElementsByClassName(ss)},Hn=[],Uu(function(ss){var ps;Sn.appendChild(ss).innerHTML="<a id='"+vs+"' href='' disabled='disabled'></a><select id='"+vs+"-\r\\' disabled='disabled'><option selected=''></option></select>",ss.querySelectorAll("[selected]").length||Hn.push("\\["+Ai+"*(?:value|"+yc+")"),ss.querySelectorAll("[id~="+vs+"-]").length||Hn.push("~="),ss.querySelectorAll("a#"+vs+"+*").length||Hn.push(".#.+[+~]"),ss.querySelectorAll(":checked").length||Hn.push(":checked"),ps=Ui.createElement("input"),ps.setAttribute("type","hidden"),ss.appendChild(ps).setAttribute("name","D"),Sn.appendChild(ss).disabled=!0,ss.querySelectorAll(":disabled").length!==2&&Hn.push(":enabled",":disabled"),ps=Ui.createElement("input"),ps.setAttribute("name",""),ss.appendChild(ps),ss.querySelectorAll("[name='']").length||Hn.push("\\["+Ai+"*name"+Ai+"*="+Ai+`*(?:''|"")`)}),En.cssHas||Hn.push(":has"),Hn=Hn.length&&new RegExp(Hn.join("|")),Ba=function(ss,ps){if(ss===ps)return Ii=!0,0;var Hs=!ss.compareDocumentPosition-!ps.compareDocumentPosition;return Hs||(Hs=(ss.ownerDocument||ss)==(ps.ownerDocument||ps)?ss.compareDocumentPosition(ps):1,Hs&1||!En.sortDetached&&ps.compareDocumentPosition(ss)===Hs?ss===Ui||ss.ownerDocument==an&&ua.contains(an,ss)?-1:ps===Ui||ps.ownerDocument==an&&ua.contains(an,ps)?1:Ci?Vn.call(Ci,ss)-Vn.call(Ci,ps):0:Hs&4?-1:1)}),Ui}ua.matches=function(fn,Rn){return ua(fn,null,null,Rn)},ua.matchesSelector=function(fn,Rn){if(Hc(fn),vn&&!Fa[Rn+" "]&&(!Hn||!Hn.test(Rn)))try{var Zn=as.call(fn,Rn);if(Zn||En.disconnectedMatch||fn.document&&fn.document.nodeType!==11)return Zn}catch{Fa(Rn,!0)}return ua(Rn,Ui,null,[fn]).length>0},ua.contains=function(fn,Rn){return(fn.ownerDocument||fn)!=Ui&&Hc(fn),pi.contains(fn,Rn)},ua.attr=function(fn,Rn){(fn.ownerDocument||fn)!=Ui&&Hc(fn);var Zn=di.attrHandle[Rn.toLowerCase()],ss=Zn&&un.call(di.attrHandle,Rn.toLowerCase())?Zn(fn,Rn,!vn):void 0;return ss!==void 0?ss:fn.getAttribute(Rn)},ua.error=function(fn){throw new Error("Syntax error, unrecognized expression: "+fn)},pi.uniqueSort=function(fn){var Rn,Zn=[],ss=0,ps=0;if(Ii=!En.sortStable,Ci=!En.sortStable&&tn.call(fn,0),Pn.call(fn,Ba),Ii){for(;Rn=fn[ps++];)Rn===fn[ps]&&(ss=Zn.push(ps));for(;ss--;)nn.call(fn,Zn[ss],1)}return Ci=null,fn},pi.fn.uniqueSort=function(){return this.pushStack(pi.uniqueSort(tn.apply(this)))},di=pi.expr={cacheLength:50,createPseudo:al,match:Fl,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(fn){return fn[1]=fn[1].replace(ja,Ll),fn[3]=(fn[3]||fn[4]||fn[5]||"").replace(ja,Ll),fn[2]==="~="&&(fn[3]=" "+fn[3]+" "),fn.slice(0,4)},CHILD:function(fn){return fn[1]=fn[1].toLowerCase(),fn[1].slice(0,3)==="nth"?(fn[3]||ua.error(fn[0]),fn[4]=+(fn[4]?fn[5]+(fn[6]||1):2*(fn[3]==="even"||fn[3]==="odd")),fn[5]=+(fn[7]+fn[8]||fn[3]==="odd")):fn[3]&&ua.error(fn[0]),fn},PSEUDO:function(fn){var Rn,Zn=!fn[6]&&fn[2];return Fl.CHILD.test(fn[0])?null:(fn[3]?fn[2]=fn[4]||fn[5]||"":Zn&&nc.test(Zn)&&(Rn=Wu(Zn,!0))&&(Rn=Zn.indexOf(")",Zn.length-Rn)-Zn.length)&&(fn[0]=fn[0].slice(0,Rn),fn[2]=Zn.slice(0,Rn)),fn.slice(0,3))}},filter:{TAG:function(fn){var Rn=fn.replace(ja,Ll).toLowerCase();return fn==="*"?function(){return!0}:function(Zn){return dn(Zn,Rn)}},CLASS:function(fn){var Rn=Lo[fn+" "];return Rn||(Rn=new RegExp("(^|"+Ai+")"+fn+"("+Ai+"|$)"))&&Lo(fn,function(Zn){return Rn.test(typeof Zn.className=="string"&&Zn.className||typeof Zn.getAttribute<"u"&&Zn.getAttribute("class")||"")})},ATTR:function(fn,Rn,Zn){return function(ss){var ps=ua.attr(ss,fn);return ps==null?Rn==="!=":Rn?(ps+="",Rn==="="?ps===Zn:Rn==="!="?ps!==Zn:Rn==="^="?Zn&&ps.indexOf(Zn)===0:Rn==="*="?Zn&&ps.indexOf(Zn)>-1:Rn==="$="?Zn&&ps.slice(-Zn.length)===Zn:Rn==="~="?(" "+ps.replace(Xo," ")+" ").indexOf(Zn)>-1:Rn==="|="?ps===Zn||ps.slice(0,Zn.length+1)===Zn+"-":!1):!0}},CHILD:function(fn,Rn,Zn,ss,ps){var Hs=fn.slice(0,3)!=="nth",Jr=fn.slice(-4)!=="last",lo=Rn==="of-type";return ss===1&&ps===0?function(Zr){return!!Zr.parentNode}:function(Zr,Wo,Ao){var ko,No,ho,oa,cl,Sa=Hs!==Jr?"nextSibling":"previousSibling",Ha=Zr.parentNode,ac=lo&&Zr.nodeName.toLowerCase(),Eu=!Ao&&!lo,ul=!1;if(Ha){if(Hs){for(;Sa;){for(ho=Zr;ho=ho[Sa];)if(lo?dn(ho,ac):ho.nodeType===1)return!1;cl=Sa=fn==="only"&&!cl&&"nextSibling"}return!0}if(cl=[Jr?Ha.firstChild:Ha.lastChild],Jr&&Eu){for(No=Ha[vs]||(Ha[vs]={}),ko=No[fn]||[],oa=ko[0]===ns&&ko[1],ul=oa&&ko[2],ho=oa&&Ha.childNodes[oa];ho=++oa&&ho&&ho[Sa]||(ul=oa=0)||cl.pop();)if(ho.nodeType===1&&++ul&&ho===Zr){No[fn]=[ns,oa,ul];break}}else if(Eu&&(No=Zr[vs]||(Zr[vs]={}),ko=No[fn]||[],oa=ko[0]===ns&&ko[1],ul=oa),ul===!1)for(;(ho=++oa&&ho&&ho[Sa]||(ul=oa=0)||cl.pop())&&!((lo?dn(ho,ac):ho.nodeType===1)&&++ul&&(Eu&&(No=ho[vs]||(ho[vs]={}),No[fn]=[ns,ul]),ho===Zr)););return ul-=ps,ul===ss||ul%ss===0&&ul/ss>=0}}},PSEUDO:function(fn,Rn){var Zn,ss=di.pseudos[fn]||di.setFilters[fn.toLowerCase()]||ua.error("unsupported pseudo: "+fn);return ss[vs]?ss(Rn):ss.length>1?(Zn=[fn,fn,"",Rn],di.setFilters.hasOwnProperty(fn.toLowerCase())?al(function(ps,Hs){for(var Jr,lo=ss(ps,Rn),Zr=lo.length;Zr--;)Jr=Vn.call(ps,lo[Zr]),ps[Jr]=!(Hs[Jr]=lo[Zr])}):function(ps){return ss(ps,0,Zn)}):ss}},pseudos:{not:al(function(fn){var Rn=[],Zn=[],ss=zf(fn.replace(Ri,"$1"));return ss[vs]?al(function(ps,Hs,Jr,lo){for(var Zr,Wo=ss(ps,null,lo,[]),Ao=ps.length;Ao--;)(Zr=Wo[Ao])&&(ps[Ao]=!(Hs[Ao]=Zr))}):function(ps,Hs,Jr){return Rn[0]=ps,ss(Rn,null,Jr,Zn),Rn[0]=null,!Zn.pop()}}),has:al(function(fn){return function(Rn){return ua(fn,Rn).length>0}}),contains:al(function(fn){return fn=fn.replace(ja,Ll),function(Rn){return(Rn.textContent||pi.text(Rn)).indexOf(fn)>-1}}),lang:al(function(fn){return Nc.test(fn||"")||ua.error("unsupported lang: "+fn),fn=fn.replace(ja,Ll).toLowerCase(),function(Rn){var Zn;do if(Zn=vn?Rn.lang:Rn.getAttribute("xml:lang")||Rn.getAttribute("lang"))return Zn=Zn.toLowerCase(),Zn===fn||Zn.indexOf(fn+"-")===0;while((Rn=Rn.parentNode)&&Rn.nodeType===1);return!1}}),target:function(fn){var Rn=ri.location&&ri.location.hash;return Rn&&Rn.slice(1)===fn.id},root:function(fn){return fn===Sn},focus:function(fn){return fn===Vf()&&Ui.hasFocus()&&!!(fn.type||fn.href||~fn.tabIndex)},enabled:Fd(!1),disabled:Fd(!0),checked:function(fn){return dn(fn,"input")&&!!fn.checked||dn(fn,"option")&&!!fn.selected},selected:function(fn){return fn.parentNode&&fn.parentNode.selectedIndex,fn.selected===!0},empty:function(fn){for(fn=fn.firstChild;fn;fn=fn.nextSibling)if(fn.nodeType<6)return!1;return!0},parent:function(fn){return!di.pseudos.empty(fn)},header:function(fn){return sc.test(fn.nodeName)},input:function(fn){return Bc.test(fn.nodeName)},button:function(fn){return dn(fn,"input")&&fn.type==="button"||dn(fn,"button")},text:function(fn){var Rn;return dn(fn,"input")&&fn.type==="text"&&((Rn=fn.getAttribute("type"))==null||Rn.toLowerCase()==="text")},first:oc(function(){return[0]}),last:oc(function(fn,Rn){return[Rn-1]}),eq:oc(function(fn,Rn,Zn){return[Zn<0?Zn+Rn:Zn]}),even:oc(function(fn,Rn){for(var Zn=0;Zn<Rn;Zn+=2)fn.push(Zn);return fn}),odd:oc(function(fn,Rn){for(var Zn=1;Zn<Rn;Zn+=2)fn.push(Zn);return fn}),lt:oc(function(fn,Rn,Zn){var ss;for(Zn<0?ss=Zn+Rn:Zn>Rn?ss=Rn:ss=Zn;--ss>=0;)fn.push(ss);return fn}),gt:oc(function(fn,Rn,Zn){for(var ss=Zn<0?Zn+Rn:Zn;++ss<Rn;)fn.push(ss);return fn})}},di.pseudos.nth=di.pseudos.eq;for(ci in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})di.pseudos[ci]=rc(ci);for(ci in{submit:!0,reset:!0})di.pseudos[ci]=wp(ci);function mh(){}mh.prototype=di.filters=di.pseudos,di.setFilters=new mh;function Wu(fn,Rn){var Zn,ss,ps,Hs,Jr,lo,Zr,Wo=Ko[fn+" "];if(Wo)return Rn?0:Wo.slice(0);for(Jr=fn,lo=[],Zr=di.preFilter;Jr;){(!Zn||(ss=Ma.exec(Jr)))&&(ss&&(Jr=Jr.slice(ss[0].length)||Jr),lo.push(ps=[])),Zn=!1,(ss=ju.exec(Jr))&&(Zn=ss.shift(),ps.push({value:Zn,type:ss[0].replace(Ri," ")}),Jr=Jr.slice(Zn.length));for(Hs in di.filter)(ss=Fl[Hs].exec(Jr))&&(!Zr[Hs]||(ss=Zr[Hs](ss)))&&(Zn=ss.shift(),ps.push({value:Zn,type:Hs,matches:ss}),Jr=Jr.slice(Zn.length));if(!Zn)break}return Rn?Jr.length:Jr?ua.error(fn):Ko(fn,lo).slice(0)}function zu(fn){for(var Rn=0,Zn=fn.length,ss="";Rn<Zn;Rn++)ss+=fn[Rn].value;return ss}function lu(fn,Rn,Zn){var ss=Rn.dir,ps=Rn.next,Hs=ps||ss,Jr=Zn&&Hs==="parentNode",lo=gs++;return Rn.first?function(Zr,Wo,Ao){for(;Zr=Zr[ss];)if(Zr.nodeType===1||Jr)return fn(Zr,Wo,Ao);return!1}:function(Zr,Wo,Ao){var ko,No,ho=[ns,lo];if(Ao){for(;Zr=Zr[ss];)if((Zr.nodeType===1||Jr)&&fn(Zr,Wo,Ao))return!0}else for(;Zr=Zr[ss];)if(Zr.nodeType===1||Jr)if(No=Zr[vs]||(Zr[vs]={}),ps&&dn(Zr,ps))Zr=Zr[ss]||Zr;else{if((ko=No[Hs])&&ko[0]===ns&&ko[1]===lo)return ho[2]=ko[2];if(No[Hs]=ho,ho[2]=fn(Zr,Wo,Ao))return!0}return!1}}function Wf(fn){return fn.length>1?function(Rn,Zn,ss){for(var ps=fn.length;ps--;)if(!fn[ps](Rn,Zn,ss))return!1;return!0}:fn[0]}function ph(fn,Rn,Zn){for(var ss=0,ps=Rn.length;ss<ps;ss++)ua(fn,Rn[ss],Zn);return Zn}function Ku(fn,Rn,Zn,ss,ps){for(var Hs,Jr=[],lo=0,Zr=fn.length,Wo=Rn!=null;lo<Zr;lo++)(Hs=fn[lo])&&(!Zn||Zn(Hs,ss,ps))&&(Jr.push(Hs),Wo&&Rn.push(lo));return Jr}function Pl(fn,Rn,Zn,ss,ps,Hs){return ss&&!ss[vs]&&(ss=Pl(ss)),ps&&!ps[vs]&&(ps=Pl(ps,Hs)),al(function(Jr,lo,Zr,Wo){var Ao,ko,No,ho,oa=[],cl=[],Sa=lo.length,Ha=Jr||ph(Rn||"*",Zr.nodeType?[Zr]:Zr,[]),ac=fn&&(Jr||!Rn)?Ku(Ha,oa,fn,Zr,Wo):Ha;if(Zn?(ho=ps||(Jr?fn:Sa||ss)?[]:lo,Zn(ac,ho,Zr,Wo)):ho=ac,ss)for(Ao=Ku(ho,cl),ss(Ao,[],Zr,Wo),ko=Ao.length;ko--;)(No=Ao[ko])&&(ho[cl[ko]]=!(ac[cl[ko]]=No));if(Jr){if(ps||fn){if(ps){for(Ao=[],ko=ho.length;ko--;)(No=ho[ko])&&Ao.push(ac[ko]=No);ps(null,ho=[],Ao,Wo)}for(ko=ho.length;ko--;)(No=ho[ko])&&(Ao=ps?Vn.call(Jr,No):oa[ko])>-1&&(Jr[Ao]=!(lo[Ao]=No))}}else ho=Ku(ho===lo?ho.splice(Sa,ho.length):ho),ps?ps(null,lo,ho,Wo):Pi.apply(lo,ho)})}function _l(fn){for(var Rn,Zn,ss,ps=fn.length,Hs=di.relative[fn[0].type],Jr=Hs||di.relative[" "],lo=Hs?1:0,Zr=lu(function(ko){return ko===Rn},Jr,!0),Wo=lu(function(ko){return Vn.call(Rn,ko)>-1},Jr,!0),Ao=[function(ko,No,ho){var oa=!Hs&&(ho||No!=xi)||((Rn=No).nodeType?Zr(ko,No,ho):Wo(ko,No,ho));return Rn=null,oa}];lo<ps;lo++)if(Zn=di.relative[fn[lo].type])Ao=[lu(Wf(Ao),Zn)];else{if(Zn=di.filter[fn[lo].type].apply(null,fn[lo].matches),Zn[vs]){for(ss=++lo;ss<ps&&!di.relative[fn[ss].type];ss++);return Pl(lo>1&&Wf(Ao),lo>1&&zu(fn.slice(0,lo-1).concat({value:fn[lo-2].type===" "?"*":""})).replace(Ri,"$1"),Zn,lo<ss&&_l(fn.slice(lo,ss)),ss<ps&&_l(fn=fn.slice(ss)),ss<ps&&zu(fn))}Ao.push(Zn)}return Wf(Ao)}function Su(fn,Rn){var Zn=Rn.length>0,ss=fn.length>0,ps=function(Hs,Jr,lo,Zr,Wo){var Ao,ko,No,ho=0,oa="0",cl=Hs&&[],Sa=[],Ha=xi,ac=Hs||ss&&di.find.TAG("*",Wo),Eu=ns+=Ha==null?1:Math.random()||.1,ul=ac.length;for(Wo&&(xi=Jr==Ui||Jr||Wo);oa!==ul&&(Ao=ac[oa])!=null;oa++){if(ss&&Ao){for(ko=0,!Jr&&Ao.ownerDocument!=Ui&&(Hc(Ao),lo=!vn);No=fn[ko++];)if(No(Ao,Jr||Ui,lo)){Pi.call(Zr,Ao);break}Wo&&(ns=Eu)}Zn&&((Ao=!No&&Ao)&&ho--,Hs&&cl.push(Ao))}if(ho+=oa,Zn&&oa!==ho){for(ko=0;No=Rn[ko++];)No(cl,Sa,Jr,lo);if(Hs){if(ho>0)for(;oa--;)cl[oa]||Sa[oa]||(Sa[oa]=pn.call(Zr));Sa=Ku(Sa)}Pi.apply(Zr,Sa),Wo&&!Hs&&Sa.length>0&&ho+Rn.length>1&&pi.uniqueSort(Zr)}return Wo&&(ns=Eu,xi=Ha),cl};return Zn?al(ps):ps}function zf(fn,Rn){var Zn,ss=[],ps=[],Hs=Fo[fn+" "];if(!Hs){for(Rn||(Rn=Wu(fn)),Zn=Rn.length;Zn--;)Hs=_l(Rn[Zn]),Hs[vs]?ss.push(Hs):ps.push(Hs);Hs=Fo(fn,Su(ps,ss)),Hs.selector=fn}return Hs}function Cu(fn,Rn,Zn,ss){var ps,Hs,Jr,lo,Zr,Wo=typeof fn=="function"&&fn,Ao=!ss&&Wu(fn=Wo.selector||fn);if(Zn=Zn||[],Ao.length===1){if(Hs=Ao[0]=Ao[0].slice(0),Hs.length>2&&(Jr=Hs[0]).type==="ID"&&Rn.nodeType===9&&vn&&di.relative[Hs[1].type]){if(Rn=(di.find.ID(Jr.matches[0].replace(ja,Ll),Rn)||[])[0],Rn)Wo&&(Rn=Rn.parentNode);else return Zn;fn=fn.slice(Hs.shift().value.length)}for(ps=Fl.needsContext.test(fn)?0:Hs.length;ps--&&(Jr=Hs[ps],!di.relative[lo=Jr.type]);)if((Zr=di.find[lo])&&(ss=Zr(Jr.matches[0].replace(ja,Ll),pf.test(Hs[0].type)&&ll(Rn.parentNode)||Rn))){if(Hs.splice(ps,1),fn=ss.length&&zu(Hs),!fn)return Pi.apply(Zn,ss),Zn;break}}return(Wo||zf(fn,Ao))(ss,Rn,!vn,Zn,!Rn||pf.test(fn)&&ll(Rn.parentNode)||Rn),Zn}En.sortStable=vs.split("").sort(Ba).join("")===vs,Hc(),En.sortDetached=Uu(function(fn){return fn.compareDocumentPosition(Ui.createElement("fieldset"))&1}),pi.find=ua,pi.expr[":"]=pi.expr.pseudos,pi.unique=pi.uniqueSort,ua.compile=zf,ua.select=Cu,ua.setDocument=Hc,ua.tokenize=Wu,ua.escape=pi.escapeSelector,ua.getText=pi.text,ua.isXML=pi.isXMLDoc,ua.selectors=pi.expr,ua.support=pi.support,ua.uniqueSort=pi.uniqueSort})();var en=function(ci,di,xi){for(var Ci=[],Ii=xi!==void 0;(ci=ci[di])&&ci.nodeType!==9;)if(ci.nodeType===1){if(Ii&&pi(ci).is(xi))break;Ci.push(ci)}return Ci},Fi=function(ci,di){for(var xi=[];ci;ci=ci.nextSibling)ci.nodeType===1&&ci!==di&&xi.push(ci);return xi},Oi=pi.expr.match.needsContext,zi=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ti(ci,di,xi){return qi(di)?pi.grep(ci,function(Ci,Ii){return!!di.call(Ci,Ii,Ci)!==xi}):di.nodeType?pi.grep(ci,function(Ci){return Ci===di!==xi}):typeof di!="string"?pi.grep(ci,function(Ci){return Vn.call(di,Ci)>-1!==xi}):pi.filter(di,ci,xi)}pi.filter=function(ci,di,xi){var Ci=di[0];return xi&&(ci=":not("+ci+")"),di.length===1&&Ci.nodeType===1?pi.find.matchesSelector(Ci,ci)?[Ci]:[]:pi.find.matches(ci,pi.grep(di,function(Ii){return Ii.nodeType===1}))},pi.fn.extend({find:function(ci){var di,xi,Ci=this.length,Ii=this;if(typeof ci!="string")return this.pushStack(pi(ci).filter(function(){for(di=0;di<Ci;di++)if(pi.contains(Ii[di],this))return!0}));for(xi=this.pushStack([]),di=0;di<Ci;di++)pi.find(ci,Ii[di],xi);return Ci>1?pi.uniqueSort(xi):xi},filter:function(ci){return this.pushStack(Ti(this,ci||[],!1))},not:function(ci){return this.pushStack(Ti(this,ci||[],!0))},is:function(ci){return!!Ti(this,typeof ci=="string"&&Oi.test(ci)?pi(ci):ci||[],!1).length}});var Yi,wn=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Bi=pi.fn.init=function(ci,di,xi){var Ci,Ii;if(!ci)return this;if(xi=xi||Yi,typeof ci=="string")if(ci[0]==="<"&&ci[ci.length-1]===">"&&ci.length>=3?Ci=[null,ci,null]:Ci=wn.exec(ci),Ci&&(Ci[1]||!di))if(Ci[1]){if(di=di instanceof pi?di[0]:di,pi.merge(this,pi.parseHTML(Ci[1],di&&di.nodeType?di.ownerDocument||di:rs,!0)),zi.test(Ci[1])&&pi.isPlainObject(di))for(Ci in di)qi(this[Ci])?this[Ci](di[Ci]):this.attr(Ci,di[Ci]);return this}else return Ii=rs.getElementById(Ci[2]),Ii&&(this[0]=Ii,this.length=1),this;else return!di||di.jquery?(di||xi).find(ci):this.constructor(di).find(ci);else{if(ci.nodeType)return this[0]=ci,this.length=1,this;if(qi(ci))return xi.ready!==void 0?xi.ready(ci):ci(pi)}return pi.makeArray(ci,this)};Bi.prototype=pi.fn,Yi=pi(rs);var Qi=/^(?:parents|prev(?:Until|All))/,Gi={children:!0,contents:!0,next:!0,prev:!0};pi.fn.extend({has:function(ci){var di=pi(ci,this),xi=di.length;return this.filter(function(){for(var Ci=0;Ci<xi;Ci++)if(pi.contains(this,di[Ci]))return!0})},closest:function(ci,di){var xi,Ci=0,Ii=this.length,Pi=[],Ui=typeof ci!="string"&&pi(ci);if(!Oi.test(ci)){for(;Ci<Ii;Ci++)for(xi=this[Ci];xi&&xi!==di;xi=xi.parentNode)if(xi.nodeType<11&&(Ui?Ui.index(xi)>-1:xi.nodeType===1&&pi.find.matchesSelector(xi,ci))){Pi.push(xi);break}}return this.pushStack(Pi.length>1?pi.uniqueSort(Pi):Pi)},index:function(ci){return ci?typeof ci=="string"?Vn.call(pi(ci),this[0]):Vn.call(this,ci.jquery?ci[0]:ci):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(ci,di){return this.pushStack(pi.uniqueSort(pi.merge(this.get(),pi(ci,di))))},addBack:function(ci){return this.add(ci==null?this.prevObject:this.prevObject.filter(ci))}});function On(ci,di){for(;(ci=ci[di])&&ci.nodeType!==1;);return ci}pi.each({parent:function(ci){var di=ci.parentNode;return di&&di.nodeType!==11?di:null},parents:function(ci){return en(ci,"parentNode")},parentsUntil:function(ci,di,xi){return en(ci,"parentNode",xi)},next:function(ci){return On(ci,"nextSibling")},prev:function(ci){return On(ci,"previousSibling")},nextAll:function(ci){return en(ci,"nextSibling")},prevAll:function(ci){return en(ci,"previousSibling")},nextUntil:function(ci,di,xi){return en(ci,"nextSibling",xi)},prevUntil:function(ci,di,xi){return en(ci,"previousSibling",xi)},siblings:function(ci){return Fi((ci.parentNode||{}).firstChild,ci)},children:function(ci){return Fi(ci.firstChild)},contents:function(ci){return ci.contentDocument!=null&&Ji(ci.contentDocument)?ci.contentDocument:(dn(ci,"template")&&(ci=ci.content||ci),pi.merge([],ci.childNodes))}},function(ci,di){pi.fn[ci]=function(xi,Ci){var Ii=pi.map(this,di,xi);return ci.slice(-5)!=="Until"&&(Ci=xi),Ci&&typeof Ci=="string"&&(Ii=pi.filter(Ci,Ii)),this.length>1&&(Gi[ci]||pi.uniqueSort(Ii),Qi.test(ci)&&Ii.reverse()),this.pushStack(Ii)}});var Xn=/[^\x20\t\r\n\f]+/g;function cs(ci){var di={};return pi.each(ci.match(Xn)||[],function(xi,Ci){di[Ci]=!0}),di}pi.Callbacks=function(ci){ci=typeof ci=="string"?cs(ci):pi.extend({},ci);var di,xi,Ci,Ii,Pi=[],Ui=[],Sn=-1,vn=function(){for(Ii=Ii||ci.once,Ci=di=!0;Ui.length;Sn=-1)for(xi=Ui.shift();++Sn<Pi.length;)Pi[Sn].apply(xi[0],xi[1])===!1&&ci.stopOnFalse&&(Sn=Pi.length,xi=!1);ci.memory||(xi=!1),di=!1,Ii&&(xi?Pi=[]:Pi="")},Hn={add:function(){return Pi&&(xi&&!di&&(Sn=Pi.length-1,Ui.push(xi)),function as(vs){pi.each(vs,function(ns,gs){qi(gs)?(!ci.unique||!Hn.has(gs))&&Pi.push(gs):gs&&gs.length&&yn(gs)!=="string"&&as(gs)})}(arguments),xi&&!di&&vn()),this},remove:function(){return pi.each(arguments,function(as,vs){for(var ns;(ns=pi.inArray(vs,Pi,ns))>-1;)Pi.splice(ns,1),ns<=Sn&&Sn--}),this},has:function(as){return as?pi.inArray(as,Pi)>-1:Pi.length>0},empty:function(){return Pi&&(Pi=[]),this},disable:function(){return Ii=Ui=[],Pi=xi="",this},disabled:function(){return!Pi},lock:function(){return Ii=Ui=[],!xi&&!di&&(Pi=xi=""),this},locked:function(){return!!Ii},fireWith:function(as,vs){return Ii||(vs=vs||[],vs=[as,vs.slice?vs.slice():vs],Ui.push(vs),di||vn()),this},fire:function(){return Hn.fireWith(this,arguments),this},fired:function(){return!!Ci}};return Hn};function Vs(ci){return ci}function uo(ci){throw ci}function fo(ci,di,xi,Ci){var Ii;try{ci&&qi(Ii=ci.promise)?Ii.call(ci).done(di).fail(xi):ci&&qi(Ii=ci.then)?Ii.call(ci,di,xi):di.apply(void 0,[ci].slice(Ci))}catch(Pi){xi.apply(void 0,[Pi])}}pi.extend({Deferred:function(ci){var di=[["notify","progress",pi.Callbacks("memory"),pi.Callbacks("memory"),2],["resolve","done",pi.Callbacks("once memory"),pi.Callbacks("once memory"),0,"resolved"],["reject","fail",pi.Callbacks("once memory"),pi.Callbacks("once memory"),1,"rejected"]],xi="pending",Ci={state:function(){return xi},always:function(){return Ii.done(arguments).fail(arguments),this},catch:function(Pi){return Ci.then(null,Pi)},pipe:function(){var Pi=arguments;return pi.Deferred(function(Ui){pi.each(di,function(Sn,vn){var Hn=qi(Pi[vn[4]])&&Pi[vn[4]];Ii[vn[1]](function(){var as=Hn&&Hn.apply(this,arguments);as&&qi(as.promise)?as.promise().progress(Ui.notify).done(Ui.resolve).fail(Ui.reject):Ui[vn[0]+"With"](this,Hn?[as]:arguments)})}),Pi=null}).promise()},then:function(Pi,Ui,Sn){var vn=0;function Hn(as,vs,ns,gs){return function(){var Lo=this,Ko=arguments,Fo=function(){var Ba,yc;if(!(as<vn)){if(Ba=ns.apply(Lo,Ko),Ba===vs.promise())throw new TypeError("Thenable self-resolution");yc=Ba&&(typeof Ba=="object"||typeof Ba=="function")&&Ba.then,qi(yc)?gs?yc.call(Ba,Hn(vn,vs,Vs,gs),Hn(vn,vs,uo,gs)):(vn++,yc.call(Ba,Hn(vn,vs,Vs,gs),Hn(vn,vs,uo,gs),Hn(vn,vs,Vs,vs.notifyWith))):(ns!==Vs&&(Lo=void 0,Ko=[Ba]),(gs||vs.resolveWith)(Lo,Ko))}},Fa=gs?Fo:function(){try{Fo()}catch(Ba){pi.Deferred.exceptionHook&&pi.Deferred.exceptionHook(Ba,Fa.error),as+1>=vn&&(ns!==uo&&(Lo=void 0,Ko=[Ba]),vs.rejectWith(Lo,Ko))}};as?Fa():(pi.Deferred.getErrorHook?Fa.error=pi.Deferred.getErrorHook():pi.Deferred.getStackHook&&(Fa.error=pi.Deferred.getStackHook()),ri.setTimeout(Fa))}}return pi.Deferred(function(as){di[0][3].add(Hn(0,as,qi(Sn)?Sn:Vs,as.notifyWith)),di[1][3].add(Hn(0,as,qi(Pi)?Pi:Vs)),di[2][3].add(Hn(0,as,qi(Ui)?Ui:uo))}).promise()},promise:function(Pi){return Pi!=null?pi.extend(Pi,Ci):Ci}},Ii={};return pi.each(di,function(Pi,Ui){var Sn=Ui[2],vn=Ui[5];Ci[Ui[1]]=Sn.add,vn&&Sn.add(function(){xi=vn},di[3-Pi][2].disable,di[3-Pi][3].disable,di[0][2].lock,di[0][3].lock),Sn.add(Ui[3].fire),Ii[Ui[0]]=function(){return Ii[Ui[0]+"With"](this===Ii?void 0:this,arguments),this},Ii[Ui[0]+"With"]=Sn.fireWith}),Ci.promise(Ii),ci&&ci.call(Ii,Ii),Ii},when:function(ci){var di=arguments.length,xi=di,Ci=Array(xi),Ii=tn.call(arguments),Pi=pi.Deferred(),Ui=function(Sn){return function(vn){Ci[Sn]=this,Ii[Sn]=arguments.length>1?tn.call(arguments):vn,--di||Pi.resolveWith(Ci,Ii)}};if(di<=1&&(fo(ci,Pi.done(Ui(xi)).resolve,Pi.reject,!di),Pi.state()==="pending"||qi(Ii[xi]&&Ii[xi].then)))return Pi.then();for(;xi--;)fo(Ii[xi],Ui(xi),Pi.reject);return Pi.promise()}});var go=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;pi.Deferred.exceptionHook=function(ci,di){ri.console&&ri.console.warn&&ci&&go.test(ci.name)&&ri.console.warn("jQuery.Deferred exception: "+ci.message,ci.stack,di)},pi.readyException=function(ci){ri.setTimeout(function(){throw ci})};var Po=pi.Deferred();pi.fn.ready=function(ci){return Po.then(ci).catch(function(di){pi.readyException(di)}),this},pi.extend({isReady:!1,readyWait:1,ready:function(ci){(ci===!0?--pi.readyWait:pi.isReady)||(pi.isReady=!0,!(ci!==!0&&--pi.readyWait>0)&&Po.resolveWith(rs,[pi]))}}),pi.ready.then=Po.then;function Jo(){rs.removeEventListener("DOMContentLoaded",Jo),ri.removeEventListener("load",Jo),pi.ready()}rs.readyState==="complete"||rs.readyState!=="loading"&&!rs.documentElement.doScroll?ri.setTimeout(pi.ready):(rs.addEventListener("DOMContentLoaded",Jo),ri.addEventListener("load",Jo));var ca=function(ci,di,xi,Ci,Ii,Pi,Ui){var Sn=0,vn=ci.length,Hn=xi==null;if(yn(xi)==="object"){Ii=!0;for(Sn in xi)ca(ci,di,Sn,xi[Sn],!0,Pi,Ui)}else if(Ci!==void 0&&(Ii=!0,qi(Ci)||(Ui=!0),Hn&&(Ui?(di.call(ci,Ci),di=null):(Hn=di,di=function(as,vs,ns){return Hn.call(pi(as),ns)})),di))for(;Sn<vn;Sn++)di(ci[Sn],xi,Ui?Ci:Ci.call(ci[Sn],Sn,di(ci[Sn],xi)));return Ii?ci:Hn?di.call(ci):vn?di(ci[0],xi):Pi},gi=/^-ms-/,Si=/-([a-z])/g;function $i(ci,di){return di.toUpperCase()}function kn(ci){return ci.replace(gi,"ms-").replace(Si,$i)}var Ln=function(ci){return ci.nodeType===1||ci.nodeType===9||!+ci.nodeType};function Un(){this.expando=pi.expando+Un.uid++}Un.uid=1,Un.prototype={cache:function(ci){var di=ci[this.expando];return di||(di={},Ln(ci)&&(ci.nodeType?ci[this.expando]=di:Object.defineProperty(ci,this.expando,{value:di,configurable:!0}))),di},set:function(ci,di,xi){var Ci,Ii=this.cache(ci);if(typeof di=="string")Ii[kn(di)]=xi;else for(Ci in di)Ii[kn(Ci)]=di[Ci];return Ii},get:function(ci,di){return di===void 0?this.cache(ci):ci[this.expando]&&ci[this.expando][kn(di)]},access:function(ci,di,xi){return di===void 0||di&&typeof di=="string"&&xi===void 0?this.get(ci,di):(this.set(ci,di,xi),xi!==void 0?xi:di)},remove:function(ci,di){var xi,Ci=ci[this.expando];if(Ci!==void 0){if(di!==void 0)for(Array.isArray(di)?di=di.map(kn):(di=kn(di),di=di in Ci?[di]:di.match(Xn)||[]),xi=di.length;xi--;)delete Ci[di[xi]];(di===void 0||pi.isEmptyObject(Ci))&&(ci.nodeType?ci[this.expando]=void 0:delete ci[this.expando])}},hasData:function(ci){var di=ci[this.expando];return di!==void 0&&!pi.isEmptyObject(di)}};var Jn=new Un,Ys=new Un,bo=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_o=/[A-Z]/g;function pa(ci){return ci==="true"?!0:ci==="false"?!1:ci==="null"?null:ci===+ci+""?+ci:bo.test(ci)?JSON.parse(ci):ci}function ka(ci,di,xi){var Ci;if(xi===void 0&&ci.nodeType===1)if(Ci="data-"+di.replace(_o,"-$&").toLowerCase(),xi=ci.getAttribute(Ci),typeof xi=="string"){try{xi=pa(xi)}catch{}Ys.set(ci,di,xi)}else xi=void 0;return xi}pi.extend({hasData:function(ci){return Ys.hasData(ci)||Jn.hasData(ci)},data:function(ci,di,xi){return Ys.access(ci,di,xi)},removeData:function(ci,di){Ys.remove(ci,di)},_data:function(ci,di,xi){return Jn.access(ci,di,xi)},_removeData:function(ci,di){Jn.remove(ci,di)}}),pi.fn.extend({data:function(ci,di){var xi,Ci,Ii,Pi=this[0],Ui=Pi&&Pi.attributes;if(ci===void 0){if(this.length&&(Ii=Ys.get(Pi),Pi.nodeType===1&&!Jn.get(Pi,"hasDataAttrs"))){for(xi=Ui.length;xi--;)Ui[xi]&&(Ci=Ui[xi].name,Ci.indexOf("data-")===0&&(Ci=kn(Ci.slice(5)),ka(Pi,Ci,Ii[Ci])));Jn.set(Pi,"hasDataAttrs",!0)}return Ii}return typeof ci=="object"?this.each(function(){Ys.set(this,ci)}):ca(this,function(Sn){var vn;if(Pi&&Sn===void 0)return vn=Ys.get(Pi,ci),vn!==void 0||(vn=ka(Pi,ci),vn!==void 0)?vn:void 0;this.each(function(){Ys.set(this,ci,Sn)})},null,di,arguments.length>1,null,!0)},removeData:function(ci){return this.each(function(){Ys.remove(this,ci)})}}),pi.extend({queue:function(ci,di,xi){var Ci;if(ci)return di=(di||"fx")+"queue",Ci=Jn.get(ci,di),xi&&(!Ci||Array.isArray(xi)?Ci=Jn.access(ci,di,pi.makeArray(xi)):Ci.push(xi)),Ci||[]},dequeue:function(ci,di){di=di||"fx";var xi=pi.queue(ci,di),Ci=xi.length,Ii=xi.shift(),Pi=pi._queueHooks(ci,di),Ui=function(){pi.dequeue(ci,di)};Ii==="inprogress"&&(Ii=xi.shift(),Ci--),Ii&&(di==="fx"&&xi.unshift("inprogress"),delete Pi.stop,Ii.call(ci,Ui,Pi)),!Ci&&Pi&&Pi.empty.fire()},_queueHooks:function(ci,di){var xi=di+"queueHooks";return Jn.get(ci,xi)||Jn.access(ci,xi,{empty:pi.Callbacks("once memory").add(function(){Jn.remove(ci,[di+"queue",xi])})})}}),pi.fn.extend({queue:function(ci,di){var xi=2;return typeof ci!="string"&&(di=ci,ci="fx",xi--),arguments.length<xi?pi.queue(this[0],ci):di===void 0?this:this.each(function(){var Ci=pi.queue(this,ci,di);pi._queueHooks(this,ci),ci==="fx"&&Ci[0]!=="inprogress"&&pi.dequeue(this,ci)})},dequeue:function(ci){return this.each(function(){pi.dequeue(this,ci)})},clearQueue:function(ci){return this.queue(ci||"fx",[])},promise:function(ci,di){var xi,Ci=1,Ii=pi.Deferred(),Pi=this,Ui=this.length,Sn=function(){--Ci||Ii.resolveWith(Pi,[Pi])};for(typeof ci!="string"&&(di=ci,ci=void 0),ci=ci||"fx";Ui--;)xi=Jn.get(Pi[Ui],ci+"queueHooks"),xi&&xi.empty&&(Ci++,xi.empty.add(Sn));return Sn(),Ii.promise(di)}});var Aa=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ha=new RegExp("^(?:([+-])=|)("+Aa+")([a-z%]*)$","i"),sa=["Top","Right","Bottom","Left"],Do=rs.documentElement,ra=function(ci){return pi.contains(ci.ownerDocument,ci)},rl={composed:!0};Do.getRootNode&&(ra=function(ci){return pi.contains(ci.ownerDocument,ci)||ci.getRootNode(rl)===ci.ownerDocument});var bl=function(ci,di){return ci=di||ci,ci.style.display==="none"||ci.style.display===""&&ra(ci)&&pi.css(ci,"display")==="none"};function nu(ci,di,xi,Ci){var Ii,Pi,Ui=20,Sn=Ci?function(){return Ci.cur()}:function(){return pi.css(ci,di,"")},vn=Sn(),Hn=xi&&xi[3]||(pi.cssNumber[di]?"":"px"),as=ci.nodeType&&(pi.cssNumber[di]||Hn!=="px"&&+vn)&&ha.exec(pi.css(ci,di));if(as&&as[3]!==Hn){for(vn=vn/2,Hn=Hn||as[3],as=+vn||1;Ui--;)pi.style(ci,di,as+Hn),(1-Pi)*(1-(Pi=Sn()/vn||.5))<=0&&(Ui=0),as=as/Pi;as=as*2,pi.style(ci,di,as+Hn),xi=xi||[]}return xi&&(as=+as||+vn||0,Ii=xi[1]?as+(xi[1]+1)*xi[2]:+xi[2],Ci&&(Ci.unit=Hn,Ci.start=as,Ci.end=Ii)),Ii}var ec={};function su(ci){var di,xi=ci.ownerDocument,Ci=ci.nodeName,Ii=ec[Ci];return Ii||(di=xi.body.appendChild(xi.createElement(Ci)),Ii=pi.css(di,"display"),di.parentNode.removeChild(di),Ii==="none"&&(Ii="block"),ec[Ci]=Ii,Ii)}function Ta(ci,di){for(var xi,Ci,Ii=[],Pi=0,Ui=ci.length;Pi<Ui;Pi++)Ci=ci[Pi],Ci.style&&(xi=Ci.style.display,di?(xi==="none"&&(Ii[Pi]=Jn.get(Ci,"display")||null,Ii[Pi]||(Ci.style.display="")),Ci.style.display===""&&bl(Ci)&&(Ii[Pi]=su(Ci))):xi!=="none"&&(Ii[Pi]="none",Jn.set(Ci,"display",xi)));for(Pi=0;Pi<Ui;Pi++)Ii[Pi]!=null&&(ci[Pi].style.display=Ii[Pi]);return ci}pi.fn.extend({show:function(){return Ta(this,!0)},hide:function(){return Ta(this)},toggle:function(ci){return typeof ci=="boolean"?ci?this.show():this.hide():this.each(function(){bl(this)?pi(this).show():pi(this).hide()})}});var La=/^(?:checkbox|radio)$/i,va=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ya=/^$|^module$|\/(?:java|ecma)script/i;(function(){var ci=rs.createDocumentFragment(),di=ci.appendChild(rs.createElement("div")),xi=rs.createElement("input");xi.setAttribute("type","radio"),xi.setAttribute("checked","checked"),xi.setAttribute("name","t"),di.appendChild(xi),En.checkClone=di.cloneNode(!0).cloneNode(!0).lastChild.checked,di.innerHTML="<textarea>x</textarea>",En.noCloneChecked=!!di.cloneNode(!0).lastChild.defaultValue,di.innerHTML="<option></option>",En.option=!!di.lastChild})();var Zo={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Zo.tbody=Zo.tfoot=Zo.colgroup=Zo.caption=Zo.thead,Zo.th=Zo.td,En.option||(Zo.optgroup=Zo.option=[1,"<select multiple='multiple'>","</select>"]);function Da(ci,di){var xi;return typeof ci.getElementsByTagName<"u"?xi=ci.getElementsByTagName(di||"*"):typeof ci.querySelectorAll<"u"?xi=ci.querySelectorAll(di||"*"):xi=[],di===void 0||di&&dn(ci,di)?pi.merge([ci],xi):xi}function ru(ci,di){for(var xi=0,Ci=ci.length;xi<Ci;xi++)Jn.set(ci[xi],"globalEval",!di||Jn.get(di[xi],"globalEval"))}var Go=/<|&#?\w+;/;function Rc(ci,di,xi,Ci,Ii){for(var Pi,Ui,Sn,vn,Hn,as,vs=di.createDocumentFragment(),ns=[],gs=0,Lo=ci.length;gs<Lo;gs++)if(Pi=ci[gs],Pi||Pi===0)if(yn(Pi)==="object")pi.merge(ns,Pi.nodeType?[Pi]:Pi);else if(!Go.test(Pi))ns.push(di.createTextNode(Pi));else{for(Ui=Ui||vs.appendChild(di.createElement("div")),Sn=(va.exec(Pi)||["",""])[1].toLowerCase(),vn=Zo[Sn]||Zo._default,Ui.innerHTML=vn[1]+pi.htmlPrefilter(Pi)+vn[2],as=vn[0];as--;)Ui=Ui.lastChild;pi.merge(ns,Ui.childNodes),Ui=vs.firstChild,Ui.textContent=""}for(vs.textContent="",gs=0;Pi=ns[gs++];){if(Ci&&pi.inArray(Pi,Ci)>-1){Ii&&Ii.push(Pi);continue}if(Hn=ra(Pi),Ui=Da(vs.appendChild(Pi),"script"),Hn&&ru(Ui),xi)for(as=0;Pi=Ui[as++];)Ya.test(Pi.type||"")&&xi.push(Pi)}return vs}var El=/^([^.]*)(?:\.(.+)|)/;function kl(){return!0}function tc(){return!1}function Mc(ci,di,xi,Ci,Ii,Pi){var Ui,Sn;if(typeof di=="object"){typeof xi!="string"&&(Ci=Ci||xi,xi=void 0);for(Sn in di)Mc(ci,Sn,xi,Ci,di[Sn],Pi);return ci}if(Ci==null&&Ii==null?(Ii=xi,Ci=xi=void 0):Ii==null&&(typeof xi=="string"?(Ii=Ci,Ci=void 0):(Ii=Ci,Ci=xi,xi=void 0)),Ii===!1)Ii=tc;else if(!Ii)return ci;return Pi===1&&(Ui=Ii,Ii=function(vn){return pi().off(vn),Ui.apply(this,arguments)},Ii.guid=Ui.guid||(Ui.guid=pi.guid++)),ci.each(function(){pi.event.add(this,di,Ii,Ci,xi)})}pi.event={global:{},add:function(ci,di,xi,Ci,Ii){var Pi,Ui,Sn,vn,Hn,as,vs,ns,gs,Lo,Ko,Fo=Jn.get(ci);if(Ln(ci))for(xi.handler&&(Pi=xi,xi=Pi.handler,Ii=Pi.selector),Ii&&pi.find.matchesSelector(Do,Ii),xi.guid||(xi.guid=pi.guid++),(vn=Fo.events)||(vn=Fo.events=Object.create(null)),(Ui=Fo.handle)||(Ui=Fo.handle=function(Fa){return typeof pi<"u"&&pi.event.triggered!==Fa.type?pi.event.dispatch.apply(ci,arguments):void 0}),di=(di||"").match(Xn)||[""],Hn=di.length;Hn--;)Sn=El.exec(di[Hn])||[],gs=Ko=Sn[1],Lo=(Sn[2]||"").split(".").sort(),gs&&(vs=pi.event.special[gs]||{},gs=(Ii?vs.delegateType:vs.bindType)||gs,vs=pi.event.special[gs]||{},as=pi.extend({type:gs,origType:Ko,data:Ci,handler:xi,guid:xi.guid,selector:Ii,needsContext:Ii&&pi.expr.match.needsContext.test(Ii),namespace:Lo.join(".")},Pi),(ns=vn[gs])||(ns=vn[gs]=[],ns.delegateCount=0,(!vs.setup||vs.setup.call(ci,Ci,Lo,Ui)===!1)&&ci.addEventListener&&ci.addEventListener(gs,Ui)),vs.add&&(vs.add.call(ci,as),as.handler.guid||(as.handler.guid=xi.guid)),Ii?ns.splice(ns.delegateCount++,0,as):ns.push(as),pi.event.global[gs]=!0)},remove:function(ci,di,xi,Ci,Ii){var Pi,Ui,Sn,vn,Hn,as,vs,ns,gs,Lo,Ko,Fo=Jn.hasData(ci)&&Jn.get(ci);if(!(!Fo||!(vn=Fo.events))){for(di=(di||"").match(Xn)||[""],Hn=di.length;Hn--;){if(Sn=El.exec(di[Hn])||[],gs=Ko=Sn[1],Lo=(Sn[2]||"").split(".").sort(),!gs){for(gs in vn)pi.event.remove(ci,gs+di[Hn],xi,Ci,!0);continue}for(vs=pi.event.special[gs]||{},gs=(Ci?vs.delegateType:vs.bindType)||gs,ns=vn[gs]||[],Sn=Sn[2]&&new RegExp("(^|\\.)"+Lo.join("\\.(?:.*\\.|)")+"(\\.|$)"),Ui=Pi=ns.length;Pi--;)as=ns[Pi],(Ii||Ko===as.origType)&&(!xi||xi.guid===as.guid)&&(!Sn||Sn.test(as.namespace))&&(!Ci||Ci===as.selector||Ci==="**"&&as.selector)&&(ns.splice(Pi,1),as.selector&&ns.delegateCount--,vs.remove&&vs.remove.call(ci,as));Ui&&!ns.length&&((!vs.teardown||vs.teardown.call(ci,Lo,Fo.handle)===!1)&&pi.removeEvent(ci,gs,Fo.handle),delete vn[gs])}pi.isEmptyObject(vn)&&Jn.remove(ci,"handle events")}},dispatch:function(ci){var di,xi,Ci,Ii,Pi,Ui,Sn=new Array(arguments.length),vn=pi.event.fix(ci),Hn=(Jn.get(this,"events")||Object.create(null))[vn.type]||[],as=pi.event.special[vn.type]||{};for(Sn[0]=vn,di=1;di<arguments.length;di++)Sn[di]=arguments[di];if(vn.delegateTarget=this,!(as.preDispatch&&as.preDispatch.call(this,vn)===!1)){for(Ui=pi.event.handlers.call(this,vn,Hn),di=0;(Ii=Ui[di++])&&!vn.isPropagationStopped();)for(vn.currentTarget=Ii.elem,xi=0;(Pi=Ii.handlers[xi++])&&!vn.isImmediatePropagationStopped();)(!vn.rnamespace||Pi.namespace===!1||vn.rnamespace.test(Pi.namespace))&&(vn.handleObj=Pi,vn.data=Pi.data,Ci=((pi.event.special[Pi.origType]||{}).handle||Pi.handler).apply(Ii.elem,Sn),Ci!==void 0&&(vn.result=Ci)===!1&&(vn.preventDefault(),vn.stopPropagation()));return as.postDispatch&&as.postDispatch.call(this,vn),vn.result}},handlers:function(ci,di){var xi,Ci,Ii,Pi,Ui,Sn=[],vn=di.delegateCount,Hn=ci.target;if(vn&&Hn.nodeType&&!(ci.type==="click"&&ci.button>=1)){for(;Hn!==this;Hn=Hn.parentNode||this)if(Hn.nodeType===1&&!(ci.type==="click"&&Hn.disabled===!0)){for(Pi=[],Ui={},xi=0;xi<vn;xi++)Ci=di[xi],Ii=Ci.selector+" ",Ui[Ii]===void 0&&(Ui[Ii]=Ci.needsContext?pi(Ii,this).index(Hn)>-1:pi.find(Ii,this,null,[Hn]).length),Ui[Ii]&&Pi.push(Ci);Pi.length&&Sn.push({elem:Hn,handlers:Pi})}}return Hn=this,vn<di.length&&Sn.push({elem:Hn,handlers:di.slice(vn)}),Sn},addProp:function(ci,di){Object.defineProperty(pi.Event.prototype,ci,{enumerable:!0,configurable:!0,get:qi(di)?function(){if(this.originalEvent)return di(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[ci]},set:function(xi){Object.defineProperty(this,ci,{enumerable:!0,configurable:!0,writable:!0,value:xi})}})},fix:function(ci){return ci[pi.expando]?ci:new pi.Event(ci)},special:{load:{noBubble:!0},click:{setup:function(ci){var di=this||ci;return La.test(di.type)&&di.click&&dn(di,"input")&&bc(di,"click",!0),!1},trigger:function(ci){var di=this||ci;return La.test(di.type)&&di.click&&dn(di,"input")&&bc(di,"click"),!0},_default:function(ci){var di=ci.target;return La.test(di.type)&&di.click&&dn(di,"input")&&Jn.get(di,"click")||dn(di,"a")}},beforeunload:{postDispatch:function(ci){ci.result!==void 0&&ci.originalEvent&&(ci.originalEvent.returnValue=ci.result)}}}};function bc(ci,di,xi){if(!xi){Jn.get(ci,di)===void 0&&pi.event.add(ci,di,kl);return}Jn.set(ci,di,!1),pi.event.add(ci,di,{namespace:!1,handler:function(Ci){var Ii,Pi=Jn.get(this,di);if(Ci.isTrigger&1&&this[di]){if(Pi)(pi.event.special[di]||{}).delegateType&&Ci.stopPropagation();else if(Pi=tn.call(arguments),Jn.set(this,di,Pi),this[di](),Ii=Jn.get(this,di),Jn.set(this,di,!1),Pi!==Ii)return Ci.stopImmediatePropagation(),Ci.preventDefault(),Ii}else Pi&&(Jn.set(this,di,pi.event.trigger(Pi[0],Pi.slice(1),this)),Ci.stopPropagation(),Ci.isImmediatePropagationStopped=kl)}})}pi.removeEvent=function(ci,di,xi){ci.removeEventListener&&ci.removeEventListener(di,xi)},pi.Event=function(ci,di){if(!(this instanceof pi.Event))return new pi.Event(ci,di);ci&&ci.type?(this.originalEvent=ci,this.type=ci.type,this.isDefaultPrevented=ci.defaultPrevented||ci.defaultPrevented===void 0&&ci.returnValue===!1?kl:tc,this.target=ci.target&&ci.target.nodeType===3?ci.target.parentNode:ci.target,this.currentTarget=ci.currentTarget,this.relatedTarget=ci.relatedTarget):this.type=ci,di&&pi.extend(this,di),this.timeStamp=ci&&ci.timeStamp||Date.now(),this[pi.expando]=!0},pi.Event.prototype={constructor:pi.Event,isDefaultPrevented:tc,isPropagationStopped:tc,isImmediatePropagationStopped:tc,isSimulated:!1,preventDefault:function(){var ci=this.originalEvent;this.isDefaultPrevented=kl,ci&&!this.isSimulated&&ci.preventDefault()},stopPropagation:function(){var ci=this.originalEvent;this.isPropagationStopped=kl,ci&&!this.isSimulated&&ci.stopPropagation()},stopImmediatePropagation:function(){var ci=this.originalEvent;this.isImmediatePropagationStopped=kl,ci&&!this.isSimulated&&ci.stopImmediatePropagation(),this.stopPropagation()}},pi.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},pi.event.addProp),pi.each({focus:"focusin",blur:"focusout"},function(ci,di){function xi(Ci){if(rs.documentMode){var Ii=Jn.get(this,"handle"),Pi=pi.event.fix(Ci);Pi.type=Ci.type==="focusin"?"focus":"blur",Pi.isSimulated=!0,Ii(Ci),Pi.target===Pi.currentTarget&&Ii(Pi)}else pi.event.simulate(di,Ci.target,pi.event.fix(Ci))}pi.event.special[ci]={setup:function(){var Ci;if(bc(this,ci,!0),rs.documentMode)Ci=Jn.get(this,di),Ci||this.addEventListener(di,xi),Jn.set(this,di,(Ci||0)+1);else return!1},trigger:function(){return bc(this,ci),!0},teardown:function(){var Ci;if(rs.documentMode)Ci=Jn.get(this,di)-1,Ci?Jn.set(this,di,Ci):(this.removeEventListener(di,xi),Jn.remove(this,di));else return!1},_default:function(Ci){return Jn.get(Ci.target,ci)},delegateType:di},pi.event.special[di]={setup:function(){var Ci=this.ownerDocument||this.document||this,Ii=rs.documentMode?this:Ci,Pi=Jn.get(Ii,di);Pi||(rs.documentMode?this.addEventListener(di,xi):Ci.addEventListener(ci,xi,!0)),Jn.set(Ii,di,(Pi||0)+1)},teardown:function(){var Ci=this.ownerDocument||this.document||this,Ii=rs.documentMode?this:Ci,Pi=Jn.get(Ii,di)-1;Pi?Jn.set(Ii,di,Pi):(rs.documentMode?this.removeEventListener(di,xi):Ci.removeEventListener(ci,xi,!0),Jn.remove(Ii,di))}}}),pi.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(ci,di){pi.event.special[ci]={delegateType:di,bindType:di,handle:function(xi){var Ci,Ii=this,Pi=xi.relatedTarget,Ui=xi.handleObj;return(!Pi||Pi!==Ii&&!pi.contains(Ii,Pi))&&(xi.type=Ui.origType,Ci=Ui.handler.apply(this,arguments),xi.type=di),Ci}}}),pi.fn.extend({on:function(ci,di,xi,Ci){return Mc(this,ci,di,xi,Ci)},one:function(ci,di,xi,Ci){return Mc(this,ci,di,xi,Ci,1)},off:function(ci,di,xi){var Ci,Ii;if(ci&&ci.preventDefault&&ci.handleObj)return Ci=ci.handleObj,pi(ci.delegateTarget).off(Ci.namespace?Ci.origType+"."+Ci.namespace:Ci.origType,Ci.selector,Ci.handler),this;if(typeof ci=="object"){for(Ii in ci)this.off(Ii,di,ci[Ii]);return this}return(di===!1||typeof di=="function")&&(xi=di,di=void 0),xi===!1&&(xi=tc),this.each(function(){pi.event.remove(this,ci,xi,di)})}});var Yn=/<script|<style|<link/i,Ts=/checked\s*(?:[^=]|=\s*.checked.)/i,Us=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function mo(ci,di){return dn(ci,"table")&&dn(di.nodeType!==11?di:di.firstChild,"tr")&&pi(ci).children("tbody")[0]||ci}function ma(ci){return ci.type=(ci.getAttribute("type")!==null)+"/"+ci.type,ci}function ea(ci){return(ci.type||"").slice(0,5)==="true/"?ci.type=ci.type.slice(5):ci.removeAttribute("type"),ci}function Ra(ci,di){var xi,Ci,Ii,Pi,Ui,Sn,vn;if(di.nodeType===1){if(Jn.hasData(ci)&&(Pi=Jn.get(ci),vn=Pi.events,vn)){Jn.remove(di,"handle events");for(Ii in vn)for(xi=0,Ci=vn[Ii].length;xi<Ci;xi++)pi.event.add(di,Ii,vn[Ii][xi])}Ys.hasData(ci)&&(Ui=Ys.access(ci),Sn=pi.extend({},Ui),Ys.set(di,Sn))}}function Ka(ci,di){var xi=di.nodeName.toLowerCase();xi==="input"&&La.test(ci.type)?di.checked=ci.checked:(xi==="input"||xi==="textarea")&&(di.defaultValue=ci.defaultValue)}function ia(ci,di,xi,Ci){di=_n(di);var Ii,Pi,Ui,Sn,vn,Hn,as=0,vs=ci.length,ns=vs-1,gs=di[0],Lo=qi(gs);if(Lo||vs>1&&typeof gs=="string"&&!En.checkClone&&Ts.test(gs))return ci.each(function(Ko){var Fo=ci.eq(Ko);Lo&&(di[0]=gs.call(this,Ko,Fo.html())),ia(Fo,di,xi,Ci)});if(vs&&(Ii=Rc(di,ci[0].ownerDocument,!1,ci,Ci),Pi=Ii.firstChild,Ii.childNodes.length===1&&(Ii=Pi),Pi||Ci)){for(Ui=pi.map(Da(Ii,"script"),ma),Sn=Ui.length;as<vs;as++)vn=Ii,as!==ns&&(vn=pi.clone(vn,!0,!0),Sn&&pi.merge(Ui,Da(vn,"script"))),xi.call(ci[as],vn,as);if(Sn)for(Hn=Ui[Ui.length-1].ownerDocument,pi.map(Ui,ea),as=0;as<Sn;as++)vn=Ui[as],Ya.test(vn.type||"")&&!Jn.access(vn,"globalEval")&&pi.contains(Hn,vn)&&(vn.src&&(vn.type||"").toLowerCase()!=="module"?pi._evalUrl&&!vn.noModule&&pi._evalUrl(vn.src,{nonce:vn.nonce||vn.getAttribute("nonce")},Hn):fs(vn.textContent.replace(Us,""),vn,Hn))}return ci}function Ul(ci,di,xi){for(var Ci,Ii=di?pi.filter(di,ci):ci,Pi=0;(Ci=Ii[Pi])!=null;Pi++)!xi&&Ci.nodeType===1&&pi.cleanData(Da(Ci)),Ci.parentNode&&(xi&&ra(Ci)&&ru(Da(Ci,"script")),Ci.parentNode.removeChild(Ci));return ci}pi.extend({htmlPrefilter:function(ci){return ci},clone:function(ci,di,xi){var Ci,Ii,Pi,Ui,Sn=ci.cloneNode(!0),vn=ra(ci);if(!En.noCloneChecked&&(ci.nodeType===1||ci.nodeType===11)&&!pi.isXMLDoc(ci))for(Ui=Da(Sn),Pi=Da(ci),Ci=0,Ii=Pi.length;Ci<Ii;Ci++)Ka(Pi[Ci],Ui[Ci]);if(di)if(xi)for(Pi=Pi||Da(ci),Ui=Ui||Da(Sn),Ci=0,Ii=Pi.length;Ci<Ii;Ci++)Ra(Pi[Ci],Ui[Ci]);else Ra(ci,Sn);return Ui=Da(Sn,"script"),Ui.length>0&&ru(Ui,!vn&&Da(ci,"script")),Sn},cleanData:function(ci){for(var di,xi,Ci,Ii=pi.event.special,Pi=0;(xi=ci[Pi])!==void 0;Pi++)if(Ln(xi)){if(di=xi[Jn.expando]){if(di.events)for(Ci in di.events)Ii[Ci]?pi.event.remove(xi,Ci):pi.removeEvent(xi,Ci,di.handle);xi[Jn.expando]=void 0}xi[Ys.expando]&&(xi[Ys.expando]=void 0)}}}),pi.fn.extend({detach:function(ci){return Ul(this,ci,!0)},remove:function(ci){return Ul(this,ci)},text:function(ci){return ca(this,function(di){return di===void 0?pi.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=di)})},null,ci,arguments.length)},append:function(){return ia(this,arguments,function(ci){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var di=mo(this,ci);di.appendChild(ci)}})},prepend:function(){return ia(this,arguments,function(ci){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var di=mo(this,ci);di.insertBefore(ci,di.firstChild)}})},before:function(){return ia(this,arguments,function(ci){this.parentNode&&this.parentNode.insertBefore(ci,this)})},after:function(){return ia(this,arguments,function(ci){this.parentNode&&this.parentNode.insertBefore(ci,this.nextSibling)})},empty:function(){for(var ci,di=0;(ci=this[di])!=null;di++)ci.nodeType===1&&(pi.cleanData(Da(ci,!1)),ci.textContent="");return this},clone:function(ci,di){return ci=ci??!1,di=di??ci,this.map(function(){return pi.clone(this,ci,di)})},html:function(ci){return ca(this,function(di){var xi=this[0]||{},Ci=0,Ii=this.length;if(di===void 0&&xi.nodeType===1)return xi.innerHTML;if(typeof di=="string"&&!Yn.test(di)&&!Zo[(va.exec(di)||["",""])[1].toLowerCase()]){di=pi.htmlPrefilter(di);try{for(;Ci<Ii;Ci++)xi=this[Ci]||{},xi.nodeType===1&&(pi.cleanData(Da(xi,!1)),xi.innerHTML=di);xi=0}catch{}}xi&&this.empty().append(di)},null,ci,arguments.length)},replaceWith:function(){var ci=[];return ia(this,arguments,function(di){var xi=this.parentNode;pi.inArray(this,ci)<0&&(pi.cleanData(Da(this)),xi&&xi.replaceChild(di,this))},ci)}}),pi.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(ci,di){pi.fn[ci]=function(xi){for(var Ci,Ii=[],Pi=pi(xi),Ui=Pi.length-1,Sn=0;Sn<=Ui;Sn++)Ci=Sn===Ui?this:this.clone(!0),pi(Pi[Sn])[di](Ci),In.apply(Ii,Ci.get());return this.pushStack(Ii)}});var Ml=new RegExp("^("+Aa+")(?!px)[a-z%]+$","i"),Oc=/^--/,xa=function(ci){var di=ci.ownerDocument.defaultView;return(!di||!di.opener)&&(di=ri),di.getComputedStyle(ci)},Dc=function(ci,di,xi){var Ci,Ii,Pi={};for(Ii in di)Pi[Ii]=ci.style[Ii],ci.style[Ii]=di[Ii];Ci=xi.call(ci);for(Ii in di)ci.style[Ii]=Pi[Ii];return Ci},jd=new RegExp(sa.join("|"),"i");(function(){function ci(){if(Hn){vn.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Hn.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Do.appendChild(vn).appendChild(Hn);var as=ri.getComputedStyle(Hn);xi=as.top!=="1%",Sn=di(as.marginLeft)===12,Hn.style.right="60%",Pi=di(as.right)===36,Ci=di(as.width)===36,Hn.style.position="absolute",Ii=di(Hn.offsetWidth/3)===12,Do.removeChild(vn),Hn=null}}function di(as){return Math.round(parseFloat(as))}var xi,Ci,Ii,Pi,Ui,Sn,vn=rs.createElement("div"),Hn=rs.createElement("div");Hn.style&&(Hn.style.backgroundClip="content-box",Hn.cloneNode(!0).style.backgroundClip="",En.clearCloneStyle=Hn.style.backgroundClip==="content-box",pi.extend(En,{boxSizingReliable:function(){return ci(),Ci},pixelBoxStyles:function(){return ci(),Pi},pixelPosition:function(){return ci(),xi},reliableMarginLeft:function(){return ci(),Sn},scrollboxSize:function(){return ci(),Ii},reliableTrDimensions:function(){var as,vs,ns,gs;return Ui==null&&(as=rs.createElement("table"),vs=rs.createElement("tr"),ns=rs.createElement("div"),as.style.cssText="position:absolute;left:-11111px;border-collapse:separate",vs.style.cssText="box-sizing:content-box;border:1px solid",vs.style.height="1px",ns.style.height="9px",ns.style.display="block",Do.appendChild(as).appendChild(vs).appendChild(ns),gs=ri.getComputedStyle(vs),Ui=parseInt(gs.height,10)+parseInt(gs.borderTopWidth,10)+parseInt(gs.borderBottomWidth,10)===vs.offsetHeight,Do.removeChild(as)),Ui}}))})();function Fc(ci,di,xi){var Ci,Ii,Pi,Ui,Sn=Oc.test(di),vn=ci.style;return xi=xi||xa(ci),xi&&(Ui=xi.getPropertyValue(di)||xi[di],Sn&&Ui&&(Ui=Ui.replace(Ri,"$1")||void 0),Ui===""&&!ra(ci)&&(Ui=pi.style(ci,di)),!En.pixelBoxStyles()&&Ml.test(Ui)&&jd.test(di)&&(Ci=vn.width,Ii=vn.minWidth,Pi=vn.maxWidth,vn.minWidth=vn.maxWidth=vn.width=Ui,Ui=xi.width,vn.width=Ci,vn.minWidth=Ii,vn.maxWidth=Pi)),Ui!==void 0?Ui+"":Ui}function Iu(ci,di){return{get:function(){if(ci()){delete this.get;return}return(this.get=di).apply(this,arguments)}}}var cf=["Webkit","Moz","ms"],Ja=rs.createElement("div").style,vu={};function Sd(ci){for(var di=ci[0].toUpperCase()+ci.slice(1),xi=cf.length;xi--;)if(ci=cf[xi]+di,ci in Ja)return ci}function Pu(ci){var di=pi.cssProps[ci]||vu[ci];return di||(ci in Ja?ci:vu[ci]=Sd(ci)||ci)}var Cd=/^(none|table(?!-c[ea]).+)/,ln={position:"absolute",visibility:"hidden",display:"block"},Tn={letterSpacing:"0",fontWeight:"400"};function ts(ci,di,xi){var Ci=ha.exec(di);return Ci?Math.max(0,Ci[2]-(xi||0))+(Ci[3]||"px"):di}function xs(ci,di,xi,Ci,Ii,Pi){var Ui=di==="width"?1:0,Sn=0,vn=0,Hn=0;if(xi===(Ci?"border":"content"))return 0;for(;Ui<4;Ui+=2)xi==="margin"&&(Hn+=pi.css(ci,xi+sa[Ui],!0,Ii)),Ci?(xi==="content"&&(vn-=pi.css(ci,"padding"+sa[Ui],!0,Ii)),xi!=="margin"&&(vn-=pi.css(ci,"border"+sa[Ui]+"Width",!0,Ii))):(vn+=pi.css(ci,"padding"+sa[Ui],!0,Ii),xi!=="padding"?vn+=pi.css(ci,"border"+sa[Ui]+"Width",!0,Ii):Sn+=pi.css(ci,"border"+sa[Ui]+"Width",!0,Ii));return!Ci&&Pi>=0&&(vn+=Math.max(0,Math.ceil(ci["offset"+di[0].toUpperCase()+di.slice(1)]-Pi-vn-Sn-.5))||0),vn+Hn}function As(ci,di,xi){var Ci=xa(ci),Ii=!En.boxSizingReliable()||xi,Pi=Ii&&pi.css(ci,"boxSizing",!1,Ci)==="border-box",Ui=Pi,Sn=Fc(ci,di,Ci),vn="offset"+di[0].toUpperCase()+di.slice(1);if(Ml.test(Sn)){if(!xi)return Sn;Sn="auto"}return(!En.boxSizingReliable()&&Pi||!En.reliableTrDimensions()&&dn(ci,"tr")||Sn==="auto"||!parseFloat(Sn)&&pi.css(ci,"display",!1,Ci)==="inline")&&ci.getClientRects().length&&(Pi=pi.css(ci,"boxSizing",!1,Ci)==="border-box",Ui=vn in ci,Ui&&(Sn=ci[vn])),Sn=parseFloat(Sn)||0,Sn+xs(ci,di,xi||(Pi?"border":"content"),Ui,Ci,Sn)+"px"}pi.extend({cssHooks:{opacity:{get:function(ci,di){if(di){var xi=Fc(ci,"opacity");return xi===""?"1":xi}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(ci,di,xi,Ci){if(!(!ci||ci.nodeType===3||ci.nodeType===8||!ci.style)){var Ii,Pi,Ui,Sn=kn(di),vn=Oc.test(di),Hn=ci.style;if(vn||(di=Pu(Sn)),Ui=pi.cssHooks[di]||pi.cssHooks[Sn],xi!==void 0){if(Pi=typeof xi,Pi==="string"&&(Ii=ha.exec(xi))&&Ii[1]&&(xi=nu(ci,di,Ii),Pi="number"),xi==null||xi!==xi)return;Pi==="number"&&!vn&&(xi+=Ii&&Ii[3]||(pi.cssNumber[Sn]?"":"px")),!En.clearCloneStyle&&xi===""&&di.indexOf("background")===0&&(Hn[di]="inherit"),(!Ui||!("set"in Ui)||(xi=Ui.set(ci,xi,Ci))!==void 0)&&(vn?Hn.setProperty(di,xi):Hn[di]=xi)}else return Ui&&"get"in Ui&&(Ii=Ui.get(ci,!1,Ci))!==void 0?Ii:Hn[di]}},css:function(ci,di,xi,Ci){var Ii,Pi,Ui,Sn=kn(di),vn=Oc.test(di);return vn||(di=Pu(Sn)),Ui=pi.cssHooks[di]||pi.cssHooks[Sn],Ui&&"get"in Ui&&(Ii=Ui.get(ci,!0,xi)),Ii===void 0&&(Ii=Fc(ci,di,Ci)),Ii==="normal"&&di in Tn&&(Ii=Tn[di]),xi===""||xi?(Pi=parseFloat(Ii),xi===!0||isFinite(Pi)?Pi||0:Ii):Ii}}),pi.each(["height","width"],function(ci,di){pi.cssHooks[di]={get:function(xi,Ci,Ii){if(Ci)return Cd.test(pi.css(xi,"display"))&&(!xi.getClientRects().length||!xi.getBoundingClientRect().width)?Dc(xi,ln,function(){return As(xi,di,Ii)}):As(xi,di,Ii)},set:function(xi,Ci,Ii){var Pi,Ui=xa(xi),Sn=!En.scrollboxSize()&&Ui.position==="absolute",vn=Sn||Ii,Hn=vn&&pi.css(xi,"boxSizing",!1,Ui)==="border-box",as=Ii?xs(xi,di,Ii,Hn,Ui):0;return Hn&&Sn&&(as-=Math.ceil(xi["offset"+di[0].toUpperCase()+di.slice(1)]-parseFloat(Ui[di])-xs(xi,di,"border",!1,Ui)-.5)),as&&(Pi=ha.exec(Ci))&&(Pi[3]||"px")!=="px"&&(xi.style[di]=Ci,Ci=pi.css(xi,di)),ts(xi,Ci,as)}}}),pi.cssHooks.marginLeft=Iu(En.reliableMarginLeft,function(ci,di){if(di)return(parseFloat(Fc(ci,"marginLeft"))||ci.getBoundingClientRect().left-Dc(ci,{marginLeft:0},function(){return ci.getBoundingClientRect().left}))+"px"}),pi.each({margin:"",padding:"",border:"Width"},function(ci,di){pi.cssHooks[ci+di]={expand:function(xi){for(var Ci=0,Ii={},Pi=typeof xi=="string"?xi.split(" "):[xi];Ci<4;Ci++)Ii[ci+sa[Ci]+di]=Pi[Ci]||Pi[Ci-2]||Pi[0];return Ii}},ci!=="margin"&&(pi.cssHooks[ci+di].set=ts)}),pi.fn.extend({css:function(ci,di){return ca(this,function(xi,Ci,Ii){var Pi,Ui,Sn={},vn=0;if(Array.isArray(Ci)){for(Pi=xa(xi),Ui=Ci.length;vn<Ui;vn++)Sn[Ci[vn]]=pi.css(xi,Ci[vn],!1,Pi);return Sn}return Ii!==void 0?pi.style(xi,Ci,Ii):pi.css(xi,Ci)},ci,di,arguments.length>1)}});function Bs(ci,di,xi,Ci,Ii){return new Bs.prototype.init(ci,di,xi,Ci,Ii)}pi.Tween=Bs,Bs.prototype={constructor:Bs,init:function(ci,di,xi,Ci,Ii,Pi){this.elem=ci,this.prop=xi,this.easing=Ii||pi.easing._default,this.options=di,this.start=this.now=this.cur(),this.end=Ci,this.unit=Pi||(pi.cssNumber[xi]?"":"px")},cur:function(){var ci=Bs.propHooks[this.prop];return ci&&ci.get?ci.get(this):Bs.propHooks._default.get(this)},run:function(ci){var di,xi=Bs.propHooks[this.prop];return this.options.duration?this.pos=di=pi.easing[this.easing](ci,this.options.duration*ci,0,1,this.options.duration):this.pos=di=ci,this.now=(this.end-this.start)*di+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),xi&&xi.set?xi.set(this):Bs.propHooks._default.set(this),this}},Bs.prototype.init.prototype=Bs.prototype,Bs.propHooks={_default:{get:function(ci){var di;return ci.elem.nodeType!==1||ci.elem[ci.prop]!=null&&ci.elem.style[ci.prop]==null?ci.elem[ci.prop]:(di=pi.css(ci.elem,ci.prop,""),!di||di==="auto"?0:di)},set:function(ci){pi.fx.step[ci.prop]?pi.fx.step[ci.prop](ci):ci.elem.nodeType===1&&(pi.cssHooks[ci.prop]||ci.elem.style[Pu(ci.prop)]!=null)?pi.style(ci.elem,ci.prop,ci.now+ci.unit):ci.elem[ci.prop]=ci.now}}},Bs.propHooks.scrollTop=Bs.propHooks.scrollLeft={set:function(ci){ci.elem.nodeType&&ci.elem.parentNode&&(ci.elem[ci.prop]=ci.now)}},pi.easing={linear:function(ci){return ci},swing:function(ci){return .5-Math.cos(ci*Math.PI)/2},_default:"swing"},pi.fx=Bs.prototype.init,pi.fx.step={};var Eo,qo,Wa=/^(?:toggle|show|hide)$/,_c=/queueHooks$/;function ba(){qo&&(rs.hidden===!1&&ri.requestAnimationFrame?ri.requestAnimationFrame(ba):ri.setTimeout(ba,pi.fx.interval),pi.fx.tick())}function ol(){return ri.setTimeout(function(){Eo=void 0}),Eo=Date.now()}function Al(ci,di){var xi,Ci=0,Ii={height:ci};for(di=di?1:0;Ci<4;Ci+=2-di)xi=sa[Ci],Ii["margin"+xi]=Ii["padding"+xi]=ci;return di&&(Ii.opacity=Ii.width=ci),Ii}function uf(ci,di,xi){for(var Ci,Ii=(Za.tweeners[di]||[]).concat(Za.tweeners["*"]),Pi=0,Ui=Ii.length;Pi<Ui;Pi++)if(Ci=Ii[Pi].call(xi,di,ci))return Ci}function Tl(ci,di,xi){var Ci,Ii,Pi,Ui,Sn,vn,Hn,as,vs="width"in di||"height"in di,ns=this,gs={},Lo=ci.style,Ko=ci.nodeType&&bl(ci),Fo=Jn.get(ci,"fxshow");xi.queue||(Ui=pi._queueHooks(ci,"fx"),Ui.unqueued==null&&(Ui.unqueued=0,Sn=Ui.empty.fire,Ui.empty.fire=function(){Ui.unqueued||Sn()}),Ui.unqueued++,ns.always(function(){ns.always(function(){Ui.unqueued--,pi.queue(ci,"fx").length||Ui.empty.fire()})}));for(Ci in di)if(Ii=di[Ci],Wa.test(Ii)){if(delete di[Ci],Pi=Pi||Ii==="toggle",Ii===(Ko?"hide":"show"))if(Ii==="show"&&Fo&&Fo[Ci]!==void 0)Ko=!0;else continue;gs[Ci]=Fo&&Fo[Ci]||pi.style(ci,Ci)}if(vn=!pi.isEmptyObject(di),!(!vn&&pi.isEmptyObject(gs))){vs&&ci.nodeType===1&&(xi.overflow=[Lo.overflow,Lo.overflowX,Lo.overflowY],Hn=Fo&&Fo.display,Hn==null&&(Hn=Jn.get(ci,"display")),as=pi.css(ci,"display"),as==="none"&&(Hn?as=Hn:(Ta([ci],!0),Hn=ci.style.display||Hn,as=pi.css(ci,"display"),Ta([ci]))),(as==="inline"||as==="inline-block"&&Hn!=null)&&pi.css(ci,"float")==="none"&&(vn||(ns.done(function(){Lo.display=Hn}),Hn==null&&(as=Lo.display,Hn=as==="none"?"":as)),Lo.display="inline-block")),xi.overflow&&(Lo.overflow="hidden",ns.always(function(){Lo.overflow=xi.overflow[0],Lo.overflowX=xi.overflow[1],Lo.overflowY=xi.overflow[2]})),vn=!1;for(Ci in gs)vn||(Fo?"hidden"in Fo&&(Ko=Fo.hidden):Fo=Jn.access(ci,"fxshow",{display:Hn}),Pi&&(Fo.hidden=!Ko),Ko&&Ta([ci],!0),ns.done(function(){Ko||Ta([ci]),Jn.remove(ci,"fxshow");for(Ci in gs)pi.style(ci,Ci,gs[Ci])})),vn=uf(Ko?Fo[Ci]:0,Ci,ns),Ci in Fo||(Fo[Ci]=vn.start,Ko&&(vn.end=vn.start,vn.start=0))}}function qu(ci,di){var xi,Ci,Ii,Pi,Ui;for(xi in ci)if(Ci=kn(xi),Ii=di[Ci],Pi=ci[xi],Array.isArray(Pi)&&(Ii=Pi[1],Pi=ci[xi]=Pi[0]),xi!==Ci&&(ci[Ci]=Pi,delete ci[xi]),Ui=pi.cssHooks[Ci],Ui&&"expand"in Ui){Pi=Ui.expand(Pi),delete ci[Ci];for(xi in Pi)xi in ci||(ci[xi]=Pi[xi],di[xi]=Ii)}else di[Ci]=Ii}function Za(ci,di,xi){var Ci,Ii,Pi=0,Ui=Za.prefilters.length,Sn=pi.Deferred().always(function(){delete vn.elem}),vn=function(){if(Ii)return!1;for(var vs=Eo||ol(),ns=Math.max(0,Hn.startTime+Hn.duration-vs),gs=ns/Hn.duration||0,Lo=1-gs,Ko=0,Fo=Hn.tweens.length;Ko<Fo;Ko++)Hn.tweens[Ko].run(Lo);return Sn.notifyWith(ci,[Hn,Lo,ns]),Lo<1&&Fo?ns:(Fo||Sn.notifyWith(ci,[Hn,1,0]),Sn.resolveWith(ci,[Hn]),!1)},Hn=Sn.promise({elem:ci,props:pi.extend({},di),opts:pi.extend(!0,{specialEasing:{},easing:pi.easing._default},xi),originalProperties:di,originalOptions:xi,startTime:Eo||ol(),duration:xi.duration,tweens:[],createTween:function(vs,ns){var gs=pi.Tween(ci,Hn.opts,vs,ns,Hn.opts.specialEasing[vs]||Hn.opts.easing);return Hn.tweens.push(gs),gs},stop:function(vs){var ns=0,gs=vs?Hn.tweens.length:0;if(Ii)return this;for(Ii=!0;ns<gs;ns++)Hn.tweens[ns].run(1);return vs?(Sn.notifyWith(ci,[Hn,1,0]),Sn.resolveWith(ci,[Hn,vs])):Sn.rejectWith(ci,[Hn,vs]),this}}),as=Hn.props;for(qu(as,Hn.opts.specialEasing);Pi<Ui;Pi++)if(Ci=Za.prefilters[Pi].call(Hn,ci,as,Hn.opts),Ci)return qi(Ci.stop)&&(pi._queueHooks(Hn.elem,Hn.opts.queue).stop=Ci.stop.bind(Ci)),Ci;return pi.map(as,uf,Hn),qi(Hn.opts.start)&&Hn.opts.start.call(ci,Hn),Hn.progress(Hn.opts.progress).done(Hn.opts.done,Hn.opts.complete).fail(Hn.opts.fail).always(Hn.opts.always),pi.fx.timer(pi.extend(vn,{elem:ci,anim:Hn,queue:Hn.opts.queue})),Hn}pi.Animation=pi.extend(Za,{tweeners:{"*":[function(ci,di){var xi=this.createTween(ci,di);return nu(xi.elem,ci,ha.exec(di),xi),xi}]},tweener:function(ci,di){qi(ci)?(di=ci,ci=["*"]):ci=ci.match(Xn);for(var xi,Ci=0,Ii=ci.length;Ci<Ii;Ci++)xi=ci[Ci],Za.tweeners[xi]=Za.tweeners[xi]||[],Za.tweeners[xi].unshift(di)},prefilters:[Tl],prefilter:function(ci,di){di?Za.prefilters.unshift(ci):Za.prefilters.push(ci)}}),pi.speed=function(ci,di,xi){var Ci=ci&&typeof ci=="object"?pi.extend({},ci):{complete:xi||!xi&&di||qi(ci)&&ci,duration:ci,easing:xi&&di||di&&!qi(di)&&di};return pi.fx.off?Ci.duration=0:typeof Ci.duration!="number"&&(Ci.duration in pi.fx.speeds?Ci.duration=pi.fx.speeds[Ci.duration]:Ci.duration=pi.fx.speeds._default),(Ci.queue==null||Ci.queue===!0)&&(Ci.queue="fx"),Ci.old=Ci.complete,Ci.complete=function(){qi(Ci.old)&&Ci.old.call(this),Ci.queue&&pi.dequeue(this,Ci.queue)},Ci},pi.fn.extend({fadeTo:function(ci,di,xi,Ci){return this.filter(bl).css("opacity",0).show().end().animate({opacity:di},ci,xi,Ci)},animate:function(ci,di,xi,Ci){var Ii=pi.isEmptyObject(ci),Pi=pi.speed(di,xi,Ci),Ui=function(){var Sn=Za(this,pi.extend({},ci),Pi);(Ii||Jn.get(this,"finish"))&&Sn.stop(!0)};return Ui.finish=Ui,Ii||Pi.queue===!1?this.each(Ui):this.queue(Pi.queue,Ui)},stop:function(ci,di,xi){var Ci=function(Ii){var Pi=Ii.stop;delete Ii.stop,Pi(xi)};return typeof ci!="string"&&(xi=di,di=ci,ci=void 0),di&&this.queue(ci||"fx",[]),this.each(function(){var Ii=!0,Pi=ci!=null&&ci+"queueHooks",Ui=pi.timers,Sn=Jn.get(this);if(Pi)Sn[Pi]&&Sn[Pi].stop&&Ci(Sn[Pi]);else for(Pi in Sn)Sn[Pi]&&Sn[Pi].stop&&_c.test(Pi)&&Ci(Sn[Pi]);for(Pi=Ui.length;Pi--;)Ui[Pi].elem===this&&(ci==null||Ui[Pi].queue===ci)&&(Ui[Pi].anim.stop(xi),Ii=!1,Ui.splice(Pi,1));(Ii||!xi)&&pi.dequeue(this,ci)})},finish:function(ci){return ci!==!1&&(ci=ci||"fx"),this.each(function(){var di,xi=Jn.get(this),Ci=xi[ci+"queue"],Ii=xi[ci+"queueHooks"],Pi=pi.timers,Ui=Ci?Ci.length:0;for(xi.finish=!0,pi.queue(this,ci,[]),Ii&&Ii.stop&&Ii.stop.call(this,!0),di=Pi.length;di--;)Pi[di].elem===this&&Pi[di].queue===ci&&(Pi[di].anim.stop(!0),Pi.splice(di,1));for(di=0;di<Ui;di++)Ci[di]&&Ci[di].finish&&Ci[di].finish.call(this);delete xi.finish})}}),pi.each(["toggle","show","hide"],function(ci,di){var xi=pi.fn[di];pi.fn[di]=function(Ci,Ii,Pi){return Ci==null||typeof Ci=="boolean"?xi.apply(this,arguments):this.animate(Al(di,!0),Ci,Ii,Pi)}}),pi.each({slideDown:Al("show"),slideUp:Al("hide"),slideToggle:Al("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(ci,di){pi.fn[ci]=function(xi,Ci,Ii){return this.animate(di,xi,Ci,Ii)}}),pi.timers=[],pi.fx.tick=function(){var ci,di=0,xi=pi.timers;for(Eo=Date.now();di<xi.length;di++)ci=xi[di],!ci()&&xi[di]===ci&&xi.splice(di--,1);xi.length||pi.fx.stop(),Eo=void 0},pi.fx.timer=function(ci){pi.timers.push(ci),pi.fx.start()},pi.fx.interval=13,pi.fx.start=function(){qo||(qo=!0,ba())},pi.fx.stop=function(){qo=null},pi.fx.speeds={slow:600,fast:200,_default:400},pi.fn.delay=function(ci,di){return ci=pi.fx&&pi.fx.speeds[ci]||ci,di=di||"fx",this.queue(di,function(xi,Ci){var Ii=ri.setTimeout(xi,ci);Ci.stop=function(){ri.clearTimeout(Ii)}})},function(){var ci=rs.createElement("input"),di=rs.createElement("select"),xi=di.appendChild(rs.createElement("option"));ci.type="checkbox",En.checkOn=ci.value!=="",En.optSelected=xi.selected,ci=rs.createElement("input"),ci.value="t",ci.type="radio",En.radioValue=ci.value==="t"}();var ff,Na=pi.expr.attrHandle;pi.fn.extend({attr:function(ci,di){return ca(this,pi.attr,ci,di,arguments.length>1)},removeAttr:function(ci){return this.each(function(){pi.removeAttr(this,ci)})}}),pi.extend({attr:function(ci,di,xi){var Ci,Ii,Pi=ci.nodeType;if(!(Pi===3||Pi===8||Pi===2)){if(typeof ci.getAttribute>"u")return pi.prop(ci,di,xi);if((Pi!==1||!pi.isXMLDoc(ci))&&(Ii=pi.attrHooks[di.toLowerCase()]||(pi.expr.match.bool.test(di)?ff:void 0)),xi!==void 0){if(xi===null){pi.removeAttr(ci,di);return}return Ii&&"set"in Ii&&(Ci=Ii.set(ci,xi,di))!==void 0?Ci:(ci.setAttribute(di,xi+""),xi)}return Ii&&"get"in Ii&&(Ci=Ii.get(ci,di))!==null?Ci:(Ci=pi.find.attr(ci,di),Ci??void 0)}},attrHooks:{type:{set:function(ci,di){if(!En.radioValue&&di==="radio"&&dn(ci,"input")){var xi=ci.value;return ci.setAttribute("type",di),xi&&(ci.value=xi),di}}}},removeAttr:function(ci,di){var xi,Ci=0,Ii=di&&di.match(Xn);if(Ii&&ci.nodeType===1)for(;xi=Ii[Ci++];)ci.removeAttribute(xi)}}),ff={set:function(ci,di,xi){return di===!1?pi.removeAttr(ci,xi):ci.setAttribute(xi,xi),xi}},pi.each(pi.expr.match.bool.source.match(/\w+/g),function(ci,di){var xi=Na[di]||pi.find.attr;Na[di]=function(Ci,Ii,Pi){var Ui,Sn,vn=Ii.toLowerCase();return Pi||(Sn=Na[vn],Na[vn]=Ui,Ui=xi(Ci,Ii,Pi)!=null?vn:null,Na[vn]=Sn),Ui}});var Wl=/^(?:input|select|textarea|button)$/i,Nf=/^(?:a|area)$/i;pi.fn.extend({prop:function(ci,di){return ca(this,pi.prop,ci,di,arguments.length>1)},removeProp:function(ci){return this.each(function(){delete this[pi.propFix[ci]||ci]})}}),pi.extend({prop:function(ci,di,xi){var Ci,Ii,Pi=ci.nodeType;if(!(Pi===3||Pi===8||Pi===2))return(Pi!==1||!pi.isXMLDoc(ci))&&(di=pi.propFix[di]||di,Ii=pi.propHooks[di]),xi!==void 0?Ii&&"set"in Ii&&(Ci=Ii.set(ci,xi,di))!==void 0?Ci:ci[di]=xi:Ii&&"get"in Ii&&(Ci=Ii.get(ci,di))!==null?Ci:ci[di]},propHooks:{tabIndex:{get:function(ci){var di=pi.find.attr(ci,"tabindex");return di?parseInt(di,10):Wl.test(ci.nodeName)||Nf.test(ci.nodeName)&&ci.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),En.optSelected||(pi.propHooks.selected={get:function(ci){var di=ci.parentNode;return di&&di.parentNode&&di.parentNode.selectedIndex,null},set:function(ci){var di=ci.parentNode;di&&(di.selectedIndex,di.parentNode&&di.parentNode.selectedIndex)}}),pi.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pi.propFix[this.toLowerCase()]=this});function Ic(ci){var di=ci.match(Xn)||[];return di.join(" ")}function Ol(ci){return ci.getAttribute&&ci.getAttribute("class")||""}function bu(ci){return Array.isArray(ci)?ci:typeof ci=="string"?ci.match(Xn)||[]:[]}pi.fn.extend({addClass:function(ci){var di,xi,Ci,Ii,Pi,Ui;return qi(ci)?this.each(function(Sn){pi(this).addClass(ci.call(this,Sn,Ol(this)))}):(di=bu(ci),di.length?this.each(function(){if(Ci=Ol(this),xi=this.nodeType===1&&" "+Ic(Ci)+" ",xi){for(Pi=0;Pi<di.length;Pi++)Ii=di[Pi],xi.indexOf(" "+Ii+" ")<0&&(xi+=Ii+" ");Ui=Ic(xi),Ci!==Ui&&this.setAttribute("class",Ui)}}):this)},removeClass:function(ci){var di,xi,Ci,Ii,Pi,Ui;return qi(ci)?this.each(function(Sn){pi(this).removeClass(ci.call(this,Sn,Ol(this)))}):arguments.length?(di=bu(ci),di.length?this.each(function(){if(Ci=Ol(this),xi=this.nodeType===1&&" "+Ic(Ci)+" ",xi){for(Pi=0;Pi<di.length;Pi++)for(Ii=di[Pi];xi.indexOf(" "+Ii+" ")>-1;)xi=xi.replace(" "+Ii+" "," ");Ui=Ic(xi),Ci!==Ui&&this.setAttribute("class",Ui)}}):this):this.attr("class","")},toggleClass:function(ci,di){var xi,Ci,Ii,Pi,Ui=typeof ci,Sn=Ui==="string"||Array.isArray(ci);return qi(ci)?this.each(function(vn){pi(this).toggleClass(ci.call(this,vn,Ol(this),di),di)}):typeof di=="boolean"&&Sn?di?this.addClass(ci):this.removeClass(ci):(xi=bu(ci),this.each(function(){if(Sn)for(Pi=pi(this),Ii=0;Ii<xi.length;Ii++)Ci=xi[Ii],Pi.hasClass(Ci)?Pi.removeClass(Ci):Pi.addClass(Ci);else(ci===void 0||Ui==="boolean")&&(Ci=Ol(this),Ci&&Jn.set(this,"__className__",Ci),this.setAttribute&&this.setAttribute("class",Ci||ci===!1?"":Jn.get(this,"__className__")||""))}))},hasClass:function(ci){var di,xi,Ci=0;for(di=" "+ci+" ";xi=this[Ci++];)if(xi.nodeType===1&&(" "+Ic(Ol(xi))+" ").indexOf(di)>-1)return!0;return!1}});var Ed=/\r/g;pi.fn.extend({val:function(ci){var di,xi,Ci,Ii=this[0];return arguments.length?(Ci=qi(ci),this.each(function(Pi){var Ui;this.nodeType===1&&(Ci?Ui=ci.call(this,Pi,pi(this).val()):Ui=ci,Ui==null?Ui="":typeof Ui=="number"?Ui+="":Array.isArray(Ui)&&(Ui=pi.map(Ui,function(Sn){return Sn==null?"":Sn+""})),di=pi.valHooks[this.type]||pi.valHooks[this.nodeName.toLowerCase()],(!di||!("set"in di)||di.set(this,Ui,"value")===void 0)&&(this.value=Ui))})):Ii?(di=pi.valHooks[Ii.type]||pi.valHooks[Ii.nodeName.toLowerCase()],di&&"get"in di&&(xi=di.get(Ii,"value"))!==void 0?xi:(xi=Ii.value,typeof xi=="string"?xi.replace(Ed,""):xi??"")):void 0}}),pi.extend({valHooks:{option:{get:function(ci){var di=pi.find.attr(ci,"value");return di??Ic(pi.text(ci))}},select:{get:function(ci){var di,xi,Ci,Ii=ci.options,Pi=ci.selectedIndex,Ui=ci.type==="select-one",Sn=Ui?null:[],vn=Ui?Pi+1:Ii.length;for(Pi<0?Ci=vn:Ci=Ui?Pi:0;Ci<vn;Ci++)if(xi=Ii[Ci],(xi.selected||Ci===Pi)&&!xi.disabled&&(!xi.parentNode.disabled||!dn(xi.parentNode,"optgroup"))){if(di=pi(xi).val(),Ui)return di;Sn.push(di)}return Sn},set:function(ci,di){for(var xi,Ci,Ii=ci.options,Pi=pi.makeArray(di),Ui=Ii.length;Ui--;)Ci=Ii[Ui],(Ci.selected=pi.inArray(pi.valHooks.option.get(Ci),Pi)>-1)&&(xi=!0);return xi||(ci.selectedIndex=-1),Pi}}}}),pi.each(["radio","checkbox"],function(){pi.valHooks[this]={set:function(ci,di){if(Array.isArray(di))return ci.checked=pi.inArray(pi(ci).val(),di)>-1}},En.checkOn||(pi.valHooks[this].get=function(ci){return ci.getAttribute("value")===null?"on":ci.value})});var zl=ri.location,kd={guid:Date.now()},_u=/\?/;pi.parseXML=function(ci){var di,xi;if(!ci||typeof ci!="string")return null;try{di=new ri.DOMParser().parseFromString(ci,"text/xml")}catch{}return xi=di&&di.getElementsByTagName("parsererror")[0],(!di||xi)&&pi.error("Invalid XML: "+(xi?pi.map(xi.childNodes,function(Ci){return Ci.textContent}).join(`
`):ci)),di};var ou=/^(?:focusinfocus|focusoutblur)$/,fh=function(ci){ci.stopPropagation()};pi.extend(pi.event,{trigger:function(ci,di,xi,Ci){var Ii,Pi,Ui,Sn,vn,Hn,as,vs,ns=[xi||rs],gs=un.call(ci,"type")?ci.type:ci,Lo=un.call(ci,"namespace")?ci.namespace.split("."):[];if(Pi=vs=Ui=xi=xi||rs,!(xi.nodeType===3||xi.nodeType===8)&&!ou.test(gs+pi.event.triggered)&&(gs.indexOf(".")>-1&&(Lo=gs.split("."),gs=Lo.shift(),Lo.sort()),vn=gs.indexOf(":")<0&&"on"+gs,ci=ci[pi.expando]?ci:new pi.Event(gs,typeof ci=="object"&&ci),ci.isTrigger=Ci?2:3,ci.namespace=Lo.join("."),ci.rnamespace=ci.namespace?new RegExp("(^|\\.)"+Lo.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,ci.result=void 0,ci.target||(ci.target=xi),di=di==null?[ci]:pi.makeArray(di,[ci]),as=pi.event.special[gs]||{},!(!Ci&&as.trigger&&as.trigger.apply(xi,di)===!1))){if(!Ci&&!as.noBubble&&!sn(xi)){for(Sn=as.delegateType||gs,ou.test(Sn+gs)||(Pi=Pi.parentNode);Pi;Pi=Pi.parentNode)ns.push(Pi),Ui=Pi;Ui===(xi.ownerDocument||rs)&&ns.push(Ui.defaultView||Ui.parentWindow||ri)}for(Ii=0;(Pi=ns[Ii++])&&!ci.isPropagationStopped();)vs=Pi,ci.type=Ii>1?Sn:as.bindType||gs,Hn=(Jn.get(Pi,"events")||Object.create(null))[ci.type]&&Jn.get(Pi,"handle"),Hn&&Hn.apply(Pi,di),Hn=vn&&Pi[vn],Hn&&Hn.apply&&Ln(Pi)&&(ci.result=Hn.apply(Pi,di),ci.result===!1&&ci.preventDefault());return ci.type=gs,!Ci&&!ci.isDefaultPrevented()&&(!as._default||as._default.apply(ns.pop(),di)===!1)&&Ln(xi)&&vn&&qi(xi[gs])&&!sn(xi)&&(Ui=xi[vn],Ui&&(xi[vn]=null),pi.event.triggered=gs,ci.isPropagationStopped()&&vs.addEventListener(gs,fh),xi[gs](),ci.isPropagationStopped()&&vs.removeEventListener(gs,fh),pi.event.triggered=void 0,Ui&&(xi[vn]=Ui)),ci.result}},simulate:function(ci,di,xi){var Ci=pi.extend(new pi.Event,xi,{type:ci,isSimulated:!0});pi.event.trigger(Ci,null,di)}}),pi.fn.extend({trigger:function(ci,di){return this.each(function(){pi.event.trigger(ci,di,this)})},triggerHandler:function(ci,di){var xi=this[0];if(xi)return pi.event.trigger(ci,di,xi,!0)}});var cm=/\[\]$/,yu=/\r?\n/g,dh=/^(?:submit|button|image|reset|file)$/i,Bf=/^(?:input|select|textarea|keygen)/i;function au(ci,di,xi,Ci){var Ii;if(Array.isArray(di))pi.each(di,function(Pi,Ui){xi||cm.test(ci)?Ci(ci,Ui):au(ci+"["+(typeof Ui=="object"&&Ui!=null?Pi:"")+"]",Ui,xi,Ci)});else if(!xi&&yn(di)==="object")for(Ii in di)au(ci+"["+Ii+"]",di[Ii],xi,Ci);else Ci(ci,di)}pi.param=function(ci,di){var xi,Ci=[],Ii=function(Pi,Ui){var Sn=qi(Ui)?Ui():Ui;Ci[Ci.length]=encodeURIComponent(Pi)+"="+encodeURIComponent(Sn??"")};if(ci==null)return"";if(Array.isArray(ci)||ci.jquery&&!pi.isPlainObject(ci))pi.each(ci,function(){Ii(this.name,this.value)});else for(xi in ci)au(xi,ci[xi],di,Ii);return Ci.join("&")},pi.fn.extend({serialize:function(){return pi.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var ci=pi.prop(this,"elements");return ci?pi.makeArray(ci):this}).filter(function(){var ci=this.type;return this.name&&!pi(this).is(":disabled")&&Bf.test(this.nodeName)&&!dh.test(ci)&&(this.checked||!La.test(ci))}).map(function(ci,di){var xi=pi(this).val();return xi==null?null:Array.isArray(xi)?pi.map(xi,function(Ci){return{name:di.name,value:Ci.replace(yu,`\r
`)}}):{name:di.name,value:xi.replace(yu,`\r
`)}}).get()}});var df=/%20/g,wu=/#.*$/,xu=/([?&])_=[^&]*/,Nu=/^(.*?):[ \t]*([^\r\n]*)$/mg,ic=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ad=/^(?:GET|HEAD)$/,Bu=/^\/\//,Hu={},Pc={},Dl="*/".concat("*"),$u=rs.createElement("a");$u.href=zl.href;function Td(ci){return function(di,xi){typeof di!="string"&&(xi=di,di="*");var Ci,Ii=0,Pi=di.toLowerCase().match(Xn)||[];if(qi(xi))for(;Ci=Pi[Ii++];)Ci[0]==="+"?(Ci=Ci.slice(1)||"*",(ci[Ci]=ci[Ci]||[]).unshift(xi)):(ci[Ci]=ci[Ci]||[]).push(xi)}}function Ld(ci,di,xi,Ci){var Ii={},Pi=ci===Pc;function Ui(Sn){var vn;return Ii[Sn]=!0,pi.each(ci[Sn]||[],function(Hn,as){var vs=as(di,xi,Ci);if(typeof vs=="string"&&!Pi&&!Ii[vs])return di.dataTypes.unshift(vs),Ui(vs),!1;if(Pi)return!(vn=vs)}),vn}return Ui(di.dataTypes[0])||!Ii["*"]&&Ui("*")}function Hf(ci,di){var xi,Ci,Ii=pi.ajaxSettings.flatOptions||{};for(xi in di)di[xi]!==void 0&&((Ii[xi]?ci:Ci||(Ci={}))[xi]=di[xi]);return Ci&&pi.extend(!0,ci,Ci),ci}function hh(ci,di,xi){for(var Ci,Ii,Pi,Ui,Sn=ci.contents,vn=ci.dataTypes;vn[0]==="*";)vn.shift(),Ci===void 0&&(Ci=ci.mimeType||di.getResponseHeader("Content-Type"));if(Ci){for(Ii in Sn)if(Sn[Ii]&&Sn[Ii].test(Ci)){vn.unshift(Ii);break}}if(vn[0]in xi)Pi=vn[0];else{for(Ii in xi){if(!vn[0]||ci.converters[Ii+" "+vn[0]]){Pi=Ii;break}Ui||(Ui=Ii)}Pi=Pi||Ui}if(Pi)return Pi!==vn[0]&&vn.unshift(Pi),xi[Pi]}function hf(ci,di,xi,Ci){var Ii,Pi,Ui,Sn,vn,Hn={},as=ci.dataTypes.slice();if(as[1])for(Ui in ci.converters)Hn[Ui.toLowerCase()]=ci.converters[Ui];for(Pi=as.shift();Pi;)if(ci.responseFields[Pi]&&(xi[ci.responseFields[Pi]]=di),!vn&&Ci&&ci.dataFilter&&(di=ci.dataFilter(di,ci.dataType)),vn=Pi,Pi=as.shift(),Pi){if(Pi==="*")Pi=vn;else if(vn!=="*"&&vn!==Pi){if(Ui=Hn[vn+" "+Pi]||Hn["* "+Pi],!Ui){for(Ii in Hn)if(Sn=Ii.split(" "),Sn[1]===Pi&&(Ui=Hn[vn+" "+Sn[0]]||Hn["* "+Sn[0]],Ui)){Ui===!0?Ui=Hn[Ii]:Hn[Ii]!==!0&&(Pi=Sn[0],as.unshift(Sn[1]));break}}if(Ui!==!0)if(Ui&&ci.throws)di=Ui(di);else try{di=Ui(di)}catch(vs){return{state:"parsererror",error:Ui?vs:"No conversion from "+vn+" to "+Pi}}}}return{state:"success",data:di}}pi.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zl.href,type:"GET",isLocal:ic.test(zl.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dl,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":pi.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(ci,di){return di?Hf(Hf(ci,pi.ajaxSettings),di):Hf(pi.ajaxSettings,ci)},ajaxPrefilter:Td(Hu),ajaxTransport:Td(Pc),ajax:function(ci,di){typeof ci=="object"&&(di=ci,ci=void 0),di=di||{};var xi,Ci,Ii,Pi,Ui,Sn,vn,Hn,as,vs,ns=pi.ajaxSetup({},di),gs=ns.context||ns,Lo=ns.context&&(gs.nodeType||gs.jquery)?pi(gs):pi.event,Ko=pi.Deferred(),Fo=pi.Callbacks("once memory"),Fa=ns.statusCode||{},Ba={},yc={},Kl="canceled",Bo={readyState:0,getResponseHeader:function(Xo){var Ma;if(vn){if(!Pi)for(Pi={};Ma=Nu.exec(Ii);)Pi[Ma[1].toLowerCase()+" "]=(Pi[Ma[1].toLowerCase()+" "]||[]).concat(Ma[2]);Ma=Pi[Xo.toLowerCase()+" "]}return Ma==null?null:Ma.join(", ")},getAllResponseHeaders:function(){return vn?Ii:null},setRequestHeader:function(Xo,Ma){return vn==null&&(Xo=yc[Xo.toLowerCase()]=yc[Xo.toLowerCase()]||Xo,Ba[Xo]=Ma),this},overrideMimeType:function(Xo){return vn==null&&(ns.mimeType=Xo),this},statusCode:function(Xo){var Ma;if(Xo)if(vn)Bo.always(Xo[Bo.status]);else for(Ma in Xo)Fa[Ma]=[Fa[Ma],Xo[Ma]];return this},abort:function(Xo){var Ma=Xo||Kl;return xi&&xi.abort(Ma),Ia(0,Ma),this}};if(Ko.promise(Bo),ns.url=((ci||ns.url||zl.href)+"").replace(Bu,zl.protocol+"//"),ns.type=di.method||di.type||ns.method||ns.type,ns.dataTypes=(ns.dataType||"*").toLowerCase().match(Xn)||[""],ns.crossDomain==null){Sn=rs.createElement("a");try{Sn.href=ns.url,Sn.href=Sn.href,ns.crossDomain=$u.protocol+"//"+$u.host!=Sn.protocol+"//"+Sn.host}catch{ns.crossDomain=!0}}if(ns.data&&ns.processData&&typeof ns.data!="string"&&(ns.data=pi.param(ns.data,ns.traditional)),Ld(Hu,ns,di,Bo),vn)return Bo;Hn=pi.event&&ns.global,Hn&&pi.active++===0&&pi.event.trigger("ajaxStart"),ns.type=ns.type.toUpperCase(),ns.hasContent=!Ad.test(ns.type),Ci=ns.url.replace(wu,""),ns.hasContent?ns.data&&ns.processData&&(ns.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ns.data=ns.data.replace(df,"+")):(vs=ns.url.slice(Ci.length),ns.data&&(ns.processData||typeof ns.data=="string")&&(Ci+=(_u.test(Ci)?"&":"?")+ns.data,delete ns.data),ns.cache===!1&&(Ci=Ci.replace(xu,"$1"),vs=(_u.test(Ci)?"&":"?")+"_="+kd.guid+++vs),ns.url=Ci+vs),ns.ifModified&&(pi.lastModified[Ci]&&Bo.setRequestHeader("If-Modified-Since",pi.lastModified[Ci]),pi.etag[Ci]&&Bo.setRequestHeader("If-None-Match",pi.etag[Ci])),(ns.data&&ns.hasContent&&ns.contentType!==!1||di.contentType)&&Bo.setRequestHeader("Content-Type",ns.contentType),Bo.setRequestHeader("Accept",ns.dataTypes[0]&&ns.accepts[ns.dataTypes[0]]?ns.accepts[ns.dataTypes[0]]+(ns.dataTypes[0]!=="*"?", "+Dl+"; q=0.01":""):ns.accepts["*"]);for(as in ns.headers)Bo.setRequestHeader(as,ns.headers[as]);if(ns.beforeSend&&(ns.beforeSend.call(gs,Bo,ns)===!1||vn))return Bo.abort();if(Kl="abort",Fo.add(ns.complete),Bo.done(ns.success),Bo.fail(ns.error),xi=Ld(Pc,ns,di,Bo),!xi)Ia(-1,"No Transport");else{if(Bo.readyState=1,Hn&&Lo.trigger("ajaxSend",[Bo,ns]),vn)return Bo;ns.async&&ns.timeout>0&&(Ui=ri.setTimeout(function(){Bo.abort("timeout")},ns.timeout));try{vn=!1,xi.send(Ba,Ia)}catch(Xo){if(vn)throw Xo;Ia(-1,Xo)}}function Ia(Xo,Ma,ju,mf){var nc,Nc,Fl,Bc,sc,Il=Ma;vn||(vn=!0,Ui&&ri.clearTimeout(Ui),xi=void 0,Ii=mf||"",Bo.readyState=Xo>0?4:0,nc=Xo>=200&&Xo<300||Xo===304,ju&&(Bc=hh(ns,Bo,ju)),!nc&&pi.inArray("script",ns.dataTypes)>-1&&pi.inArray("json",ns.dataTypes)<0&&(ns.converters["text script"]=function(){}),Bc=hf(ns,Bc,Bo,nc),nc?(ns.ifModified&&(sc=Bo.getResponseHeader("Last-Modified"),sc&&(pi.lastModified[Ci]=sc),sc=Bo.getResponseHeader("etag"),sc&&(pi.etag[Ci]=sc)),Xo===204||ns.type==="HEAD"?Il="nocontent":Xo===304?Il="notmodified":(Il=Bc.state,Nc=Bc.data,Fl=Bc.error,nc=!Fl)):(Fl=Il,(Xo||!Il)&&(Il="error",Xo<0&&(Xo=0))),Bo.status=Xo,Bo.statusText=(Ma||Il)+"",nc?Ko.resolveWith(gs,[Nc,Il,Bo]):Ko.rejectWith(gs,[Bo,Il,Fl]),Bo.statusCode(Fa),Fa=void 0,Hn&&Lo.trigger(nc?"ajaxSuccess":"ajaxError",[Bo,ns,nc?Nc:Fl]),Fo.fireWith(gs,[Bo,Il]),Hn&&(Lo.trigger("ajaxComplete",[Bo,ns]),--pi.active||pi.event.trigger("ajaxStop")))}return Bo},getJSON:function(ci,di,xi){return pi.get(ci,di,xi,"json")},getScript:function(ci,di){return pi.get(ci,void 0,di,"script")}}),pi.each(["get","post"],function(ci,di){pi[di]=function(xi,Ci,Ii,Pi){return qi(Ci)&&(Pi=Pi||Ii,Ii=Ci,Ci=void 0),pi.ajax(pi.extend({url:xi,type:di,dataType:Pi,data:Ci,success:Ii},pi.isPlainObject(xi)&&xi))}}),pi.ajaxPrefilter(function(ci){var di;for(di in ci.headers)di.toLowerCase()==="content-type"&&(ci.contentType=ci.headers[di]||"")}),pi._evalUrl=function(ci,di,xi){return pi.ajax({url:ci,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(Ci){pi.globalEval(Ci,di,xi)}})},pi.fn.extend({wrapAll:function(ci){var di;return this[0]&&(qi(ci)&&(ci=ci.call(this[0])),di=pi(ci,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&di.insertBefore(this[0]),di.map(function(){for(var xi=this;xi.firstElementChild;)xi=xi.firstElementChild;return xi}).append(this)),this},wrapInner:function(ci){return qi(ci)?this.each(function(di){pi(this).wrapInner(ci.call(this,di))}):this.each(function(){var di=pi(this),xi=di.contents();xi.length?xi.wrapAll(ci):di.append(ci)})},wrap:function(ci){var di=qi(ci);return this.each(function(xi){pi(this).wrapAll(di?ci.call(this,xi):ci)})},unwrap:function(ci){return this.parent(ci).not("body").each(function(){pi(this).replaceWith(this.childNodes)}),this}}),pi.expr.pseudos.hidden=function(ci){return!pi.expr.pseudos.visible(ci)},pi.expr.pseudos.visible=function(ci){return!!(ci.offsetWidth||ci.offsetHeight||ci.getClientRects().length)},pi.ajaxSettings.xhr=function(){try{return new ri.XMLHttpRequest}catch{}};var um={0:200,1223:204},Vu=pi.ajaxSettings.xhr();En.cors=!!Vu&&"withCredentials"in Vu,En.ajax=Vu=!!Vu,pi.ajaxTransport(function(ci){var di,xi;if(En.cors||Vu&&!ci.crossDomain)return{send:function(Ci,Ii){var Pi,Ui=ci.xhr();if(Ui.open(ci.type,ci.url,ci.async,ci.username,ci.password),ci.xhrFields)for(Pi in ci.xhrFields)Ui[Pi]=ci.xhrFields[Pi];ci.mimeType&&Ui.overrideMimeType&&Ui.overrideMimeType(ci.mimeType),!ci.crossDomain&&!Ci["X-Requested-With"]&&(Ci["X-Requested-With"]="XMLHttpRequest");for(Pi in Ci)Ui.setRequestHeader(Pi,Ci[Pi]);di=function(Sn){return function(){di&&(di=xi=Ui.onload=Ui.onerror=Ui.onabort=Ui.ontimeout=Ui.onreadystatechange=null,Sn==="abort"?Ui.abort():Sn==="error"?typeof Ui.status!="number"?Ii(0,"error"):Ii(Ui.status,Ui.statusText):Ii(um[Ui.status]||Ui.status,Ui.statusText,(Ui.responseType||"text")!=="text"||typeof Ui.responseText!="string"?{binary:Ui.response}:{text:Ui.responseText},Ui.getAllResponseHeaders()))}},Ui.onload=di(),xi=Ui.onerror=Ui.ontimeout=di("error"),Ui.onabort!==void 0?Ui.onabort=xi:Ui.onreadystatechange=function(){Ui.readyState===4&&ri.setTimeout(function(){di&&xi()})},di=di("abort");try{Ui.send(ci.hasContent&&ci.data||null)}catch(Sn){if(di)throw Sn}},abort:function(){di&&di()}}}),pi.ajaxPrefilter(function(ci){ci.crossDomain&&(ci.contents.script=!1)}),pi.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(ci){return pi.globalEval(ci),ci}}}),pi.ajaxPrefilter("script",function(ci){ci.cache===void 0&&(ci.cache=!1),ci.crossDomain&&(ci.type="GET")}),pi.ajaxTransport("script",function(ci){if(ci.crossDomain||ci.scriptAttrs){var di,xi;return{send:function(Ci,Ii){di=pi("<script>").attr(ci.scriptAttrs||{}).prop({charset:ci.scriptCharset,src:ci.url}).on("load error",xi=function(Pi){di.remove(),xi=null,Pi&&Ii(Pi.type==="error"?404:200,Pi.type)}),rs.head.appendChild(di[0])},abort:function(){xi&&xi()}}}});var $f=[],Rd=/(=)\?(?=&|$)|\?\?/;pi.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var ci=$f.pop()||pi.expando+"_"+kd.guid++;return this[ci]=!0,ci}}),pi.ajaxPrefilter("json jsonp",function(ci,di,xi){var Ci,Ii,Pi,Ui=ci.jsonp!==!1&&(Rd.test(ci.url)?"url":typeof ci.data=="string"&&(ci.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Rd.test(ci.data)&&"data");if(Ui||ci.dataTypes[0]==="jsonp")return Ci=ci.jsonpCallback=qi(ci.jsonpCallback)?ci.jsonpCallback():ci.jsonpCallback,Ui?ci[Ui]=ci[Ui].replace(Rd,"$1"+Ci):ci.jsonp!==!1&&(ci.url+=(_u.test(ci.url)?"&":"?")+ci.jsonp+"="+Ci),ci.converters["script json"]=function(){return Pi||pi.error(Ci+" was not called"),Pi[0]},ci.dataTypes[0]="json",Ii=ri[Ci],ri[Ci]=function(){Pi=arguments},xi.always(function(){Ii===void 0?pi(ri).removeProp(Ci):ri[Ci]=Ii,ci[Ci]&&(ci.jsonpCallback=di.jsonpCallback,$f.push(Ci)),Pi&&qi(Ii)&&Ii(Pi[0]),Pi=Ii=void 0}),"script"}),En.createHTMLDocument=function(){var ci=rs.implementation.createHTMLDocument("").body;return ci.innerHTML="<form></form><form></form>",ci.childNodes.length===2}(),pi.parseHTML=function(ci,di,xi){if(typeof ci!="string")return[];typeof di=="boolean"&&(xi=di,di=!1);var Ci,Ii,Pi;return di||(En.createHTMLDocument?(di=rs.implementation.createHTMLDocument(""),Ci=di.createElement("base"),Ci.href=rs.location.href,di.head.appendChild(Ci)):di=rs),Ii=zi.exec(ci),Pi=!xi&&[],Ii?[di.createElement(Ii[1])]:(Ii=Rc([ci],di,Pi),Pi&&Pi.length&&pi(Pi).remove(),pi.merge([],Ii.childNodes))},pi.fn.load=function(ci,di,xi){var Ci,Ii,Pi,Ui=this,Sn=ci.indexOf(" ");return Sn>-1&&(Ci=Ic(ci.slice(Sn)),ci=ci.slice(0,Sn)),qi(di)?(xi=di,di=void 0):di&&typeof di=="object"&&(Ii="POST"),Ui.length>0&&pi.ajax({url:ci,type:Ii||"GET",dataType:"html",data:di}).done(function(vn){Pi=arguments,Ui.html(Ci?pi("<div>").append(pi.parseHTML(vn)).find(Ci):vn)}).always(xi&&function(vn,Hn){Ui.each(function(){xi.apply(this,Pi||[vn.responseText,Hn,vn])})}),this},pi.expr.pseudos.animated=function(ci){return pi.grep(pi.timers,function(di){return ci===di.elem}).length},pi.offset={setOffset:function(ci,di,xi){var Ci,Ii,Pi,Ui,Sn,vn,Hn,as=pi.css(ci,"position"),vs=pi(ci),ns={};as==="static"&&(ci.style.position="relative"),Sn=vs.offset(),Pi=pi.css(ci,"top"),vn=pi.css(ci,"left"),Hn=(as==="absolute"||as==="fixed")&&(Pi+vn).indexOf("auto")>-1,Hn?(Ci=vs.position(),Ui=Ci.top,Ii=Ci.left):(Ui=parseFloat(Pi)||0,Ii=parseFloat(vn)||0),qi(di)&&(di=di.call(ci,xi,pi.extend({},Sn))),di.top!=null&&(ns.top=di.top-Sn.top+Ui),di.left!=null&&(ns.left=di.left-Sn.left+Ii),"using"in di?di.using.call(ci,ns):vs.css(ns)}},pi.fn.extend({offset:function(ci){if(arguments.length)return ci===void 0?this:this.each(function(Ii){pi.offset.setOffset(this,ci,Ii)});var di,xi,Ci=this[0];if(Ci)return Ci.getClientRects().length?(di=Ci.getBoundingClientRect(),xi=Ci.ownerDocument.defaultView,{top:di.top+xi.pageYOffset,left:di.left+xi.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var ci,di,xi,Ci=this[0],Ii={top:0,left:0};if(pi.css(Ci,"position")==="fixed")di=Ci.getBoundingClientRect();else{for(di=this.offset(),xi=Ci.ownerDocument,ci=Ci.offsetParent||xi.documentElement;ci&&(ci===xi.body||ci===xi.documentElement)&&pi.css(ci,"position")==="static";)ci=ci.parentNode;ci&&ci!==Ci&&ci.nodeType===1&&(Ii=pi(ci).offset(),Ii.top+=pi.css(ci,"borderTopWidth",!0),Ii.left+=pi.css(ci,"borderLeftWidth",!0))}return{top:di.top-Ii.top-pi.css(Ci,"marginTop",!0),left:di.left-Ii.left-pi.css(Ci,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var ci=this.offsetParent;ci&&pi.css(ci,"position")==="static";)ci=ci.offsetParent;return ci||Do})}}),pi.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(ci,di){var xi=di==="pageYOffset";pi.fn[ci]=function(Ci){return ca(this,function(Ii,Pi,Ui){var Sn;if(sn(Ii)?Sn=Ii:Ii.nodeType===9&&(Sn=Ii.defaultView),Ui===void 0)return Sn?Sn[di]:Ii[Pi];Sn?Sn.scrollTo(xi?Sn.pageXOffset:Ui,xi?Ui:Sn.pageYOffset):Ii[Pi]=Ui},ci,Ci,arguments.length)}}),pi.each(["top","left"],function(ci,di){pi.cssHooks[di]=Iu(En.pixelPosition,function(xi,Ci){if(Ci)return Ci=Fc(xi,di),Ml.test(Ci)?pi(xi).position()[di]+"px":Ci})}),pi.each({Height:"height",Width:"width"},function(ci,di){pi.each({padding:"inner"+ci,content:di,"":"outer"+ci},function(xi,Ci){pi.fn[Ci]=function(Ii,Pi){var Ui=arguments.length&&(xi||typeof Ii!="boolean"),Sn=xi||(Ii===!0||Pi===!0?"margin":"border");return ca(this,function(vn,Hn,as){var vs;return sn(vn)?Ci.indexOf("outer")===0?vn["inner"+ci]:vn.document.documentElement["client"+ci]:vn.nodeType===9?(vs=vn.documentElement,Math.max(vn.body["scroll"+ci],vs["scroll"+ci],vn.body["offset"+ci],vs["offset"+ci],vs["client"+ci])):as===void 0?pi.css(vn,Hn,Sn):pi.style(vn,Hn,as,Sn)},di,Ui?Ii:void 0,Ui)}})}),pi.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(ci,di){pi.fn[di]=function(xi){return this.on(di,xi)}}),pi.fn.extend({bind:function(ci,di,xi){return this.on(ci,null,di,xi)},unbind:function(ci,di){return this.off(ci,null,di)},delegate:function(ci,di,xi,Ci){return this.on(di,ci,xi,Ci)},undelegate:function(ci,di,xi){return arguments.length===1?this.off(ci,"**"):this.off(di,ci||"**",xi)},hover:function(ci,di){return this.on("mouseenter",ci).on("mouseleave",di||ci)}}),pi.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(ci,di){pi.fn[di]=function(xi,Ci){return arguments.length>0?this.on(di,null,xi,Ci):this.trigger(di)}});var Md=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;pi.proxy=function(ci,di){var xi,Ci,Ii;if(typeof di=="string"&&(xi=ci[di],di=ci,ci=xi),!!qi(ci))return Ci=tn.call(arguments,2),Ii=function(){return ci.apply(di||this,Ci.concat(tn.call(arguments)))},Ii.guid=ci.guid=ci.guid||pi.guid++,Ii},pi.holdReady=function(ci){ci?pi.readyWait++:pi.ready(!0)},pi.isArray=Array.isArray,pi.parseJSON=JSON.parse,pi.nodeName=dn,pi.isFunction=qi,pi.isWindow=sn,pi.camelCase=kn,pi.type=yn,pi.now=Date.now,pi.isNumeric=function(ci){var di=pi.type(ci);return(di==="number"||di==="string")&&!isNaN(ci-parseFloat(ci))},pi.trim=function(ci){return ci==null?"":(ci+"").replace(Md,"$1")},wi=[],vi=function(){return pi}.apply(bi,wi),vi!==void 0&&(oi.exports=vi);var qc=ri.jQuery,Od=ri.$;return pi.noConflict=function(ci){return ri.$===pi&&(ri.$=Od),ci&&ri.jQuery===pi&&(ri.jQuery=qc),pi},typeof yi>"u"&&(ri.jQuery=ri.$=pi),pi})},"./node_modules/toastify-js/src/toastify.js":function(oi){(function(bi,wi){oi.exports?oi.exports=wi():bi.Toastify=wi()})(this,function(bi){var wi=function(Li){return new wi.lib.init(Li)},vi="1.12.0";wi.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},wi.lib=wi.prototype={toastify:vi,constructor:wi,init:function(Li){return Li||(Li={}),this.options={},this.toastElement=null,this.options.text=Li.text||wi.defaults.text,this.options.node=Li.node||wi.defaults.node,this.options.duration=Li.duration===0?0:Li.duration||wi.defaults.duration,this.options.selector=Li.selector||wi.defaults.selector,this.options.callback=Li.callback||wi.defaults.callback,this.options.destination=Li.destination||wi.defaults.destination,this.options.newWindow=Li.newWindow||wi.defaults.newWindow,this.options.close=Li.close||wi.defaults.close,this.options.gravity=Li.gravity==="bottom"?"toastify-bottom":wi.defaults.gravity,this.options.positionLeft=Li.positionLeft||wi.defaults.positionLeft,this.options.position=Li.position||wi.defaults.position,this.options.backgroundColor=Li.backgroundColor||wi.defaults.backgroundColor,this.options.avatar=Li.avatar||wi.defaults.avatar,this.options.className=Li.className||wi.defaults.className,this.options.stopOnFocus=Li.stopOnFocus===void 0?wi.defaults.stopOnFocus:Li.stopOnFocus,this.options.onClick=Li.onClick||wi.defaults.onClick,this.options.offset=Li.offset||wi.defaults.offset,this.options.escapeMarkup=Li.escapeMarkup!==void 0?Li.escapeMarkup:wi.defaults.escapeMarkup,this.options.ariaLive=Li.ariaLive||wi.defaults.ariaLive,this.options.style=Li.style||wi.defaults.style,Li.backgroundColor&&(this.options.style.background=Li.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var Li=document.createElement("div");Li.className="toastify on "+this.options.className,this.options.position?Li.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(Li.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):Li.className+=" toastify-right",Li.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var Ji in this.options.style)Li.style[Ji]=this.options.style[Ji];if(this.options.ariaLive&&Li.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)Li.appendChild(this.options.node);else if(this.options.escapeMarkup?Li.innerText=this.options.text:Li.innerHTML=this.options.text,this.options.avatar!==""){var tn=document.createElement("img");tn.src=this.options.avatar,tn.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?Li.appendChild(tn):Li.insertAdjacentElement("afterbegin",tn)}if(this.options.close===!0){var _n=document.createElement("button");_n.type="button",_n.setAttribute("aria-label","Close"),_n.className="toast-close",_n.innerHTML="&#10006;",_n.addEventListener("click",function(ks){ks.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var In=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&In>360?Li.insertAdjacentElement("afterbegin",_n):Li.appendChild(_n)}if(this.options.stopOnFocus&&this.options.duration>0){var Vn=this;Li.addEventListener("mouseover",function(ks){window.clearTimeout(Li.timeOutValue)}),Li.addEventListener("mouseleave",function(){Li.timeOutValue=window.setTimeout(function(){Vn.removeElement(Li)},Vn.options.duration)})}if(typeof this.options.destination<"u"&&Li.addEventListener("click",function(ks){ks.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&Li.addEventListener("click",function(ks){ks.stopPropagation(),this.options.onClick()}.bind(this)),typeof this.options.offset=="object"){var bn=ri("x",this.options),Zi=ri("y",this.options),un=this.options.position=="left"?bn:"-"+bn,ls=this.options.gravity=="toastify-top"?Zi:"-"+Zi;Li.style.transform="translate("+un+","+ls+")"}return Li},showToast:function(){this.toastElement=this.buildToast();var Li;if(typeof this.options.selector=="string"?Li=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?Li=this.options.selector:Li=document.body,!Li)throw"Root element is not defined";var Ji=wi.defaults.oldestFirst?Li.firstChild:Li.lastChild;return Li.insertBefore(this.toastElement,Ji),wi.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(Li){Li.className=Li.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),Li.parentNode&&Li.parentNode.removeChild(Li),this.options.callback.call(Li),wi.reposition()}.bind(this),400)}},wi.reposition=function(){for(var Li={top:15,bottom:15},Ji={top:15,bottom:15},tn={top:15,bottom:15},_n=document.getElementsByClassName("toastify"),In,Vn=0;Vn<_n.length;Vn++){yi(_n[Vn],"toastify-top")===!0?In="toastify-top":In="toastify-bottom";var bn=_n[Vn].offsetHeight;In=In.substr(9,In.length-1);var Zi=15,un=window.innerWidth>0?window.innerWidth:screen.width;un<=360?(_n[Vn].style[In]=tn[In]+"px",tn[In]+=bn+Zi):yi(_n[Vn],"toastify-left")===!0?(_n[Vn].style[In]=Li[In]+"px",Li[In]+=bn+Zi):(_n[Vn].style[In]=Ji[In]+"px",Ji[In]+=bn+Zi)}return this};function ri(Li,Ji){return Ji.offset[Li]?isNaN(Ji.offset[Li])?Ji.offset[Li]:Ji.offset[Li]+"px":"0px"}function yi(Li,Ji){return!Li||typeof Ji!="string"?!1:!!(Li.className&&Li.className.trim().split(/\s+/gi).indexOf(Ji)>-1)}return wi.lib.init.prototype=wi.lib,wi})},"./node_modules/uint8-to-base64/esm/index.js":function(oi,bi,wi){"use strict";wi.d(bi,{D:function(){return Li},l:function(){return ri}});const{fromCharCode:vi}=String,ri=Ji=>{const tn=[];for(let _n=0,{length:In}=Ji;_n<In;_n++)tn.push(vi(Ji[_n]));return btoa(tn.join(""))},yi=Ji=>Ji.charCodeAt(0),Li=Ji=>Uint8Array.from(atob(Ji),yi)},"./node_modules/vue-loader/dist/exportHelper.js":function(oi,bi){"use strict";var wi;wi={value:!0},bi.A=(vi,ri)=>{const yi=vi.__vccOpts||vi;for(const[Li,Ji]of ri)yi[Li]=Ji;return yi}},"./web_src/js/modules/fetch.js":function(oi,bi,wi){"use strict";wi.d(bi,{Em:function(){return Li},LO:function(){return tn},SJ:function(){return Vn},Uc:function(){return In},fG:function(){return Ji}});var vi=wi("./web_src/js/utils.js");const{csrfToken:ri}=window.config,yi=new Set(["GET","HEAD","OPTIONS","TRACE"]);function Li(bn,{method:Zi="GET",data:un,headers:ls={},...ks}={}){let En,qi;un instanceof FormData||un instanceof URLSearchParams?En=un:((0,vi.Gv)(un)||Array.isArray(un))&&(qi="application/json",En=JSON.stringify(un));const sn=new Headers({...!yi.has(Zi)&&{"x-csrf-token":ri},...qi&&{"content-type":qi}});for(const[rs,hs]of Object.entries(ls))sn.set(rs,hs);return fetch(bn,{method:Zi,headers:sn,...ks,...En&&{body:En}})}const Ji=(bn,Zi)=>Li(bn,{method:"GET",...Zi}),tn=(bn,Zi)=>Li(bn,{method:"POST",...Zi}),_n=(bn,Zi)=>Li(bn,{method:"PATCH",...Zi}),In=(bn,Zi)=>Li(bn,{method:"PUT",...Zi}),Vn=(bn,Zi)=>Li(bn,{method:"DELETE",...Zi})},"./web_src/js/svg.js":function(oi,bi,wi){"use strict";wi.d(bi,{Ah:function(){return su},JW:function(){return nu}});var vi=wi("./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),ri=wi("./web_src/js/utils.js"),yi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg gitea-double-chevron-left" width="16" height="16" aria-hidden="true"><g fill-rule="evenodd"><path d="M7.91 12.77a.75.75 0 0 1-1.06 0L2.61 8.52a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 1.06L4.2 8l3.72 3.72a.75.75 0 0 1 0 1.06z"/><path d="M13.39 12.77a.75.75 0 0 1-1.06 0L8.08 8.52a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 1.06L9.67 8l3.72 3.72a.75.75 0 0 1 0 1.06z"/></g></svg>',Li='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg gitea-double-chevron-right" width="16" height="16" aria-hidden="true"><g fill-rule="evenodd"><path d="M8.09 3.23a.75.75 0 0 1 1.06 0l4.24 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.8 8 8.08 4.28a.75.75 0 0 1 0-1.06z"/><path d="M2.61 3.23a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L6.33 8 2.61 4.28a.75.75 0 0 1 0-1.06z"/></g></svg>',Ji='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg gitea-empty-checkbox" width="16" height="16" aria-hidden="true"><path d="M2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1M2.5 2.75v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25H2.75a.25.25 0 0 0-.25.25"/></svg>',tn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 26 26" class="svg gitea-exclamation" width="16" height="16" aria-hidden="true"><path d="M12 15.99a2 2 0 0 0 2-2V2.03a2 2 0 0 0-4 0v11.96a2 2 0 0 0 2 2m0 7.98a2.5 2.5 0 1 0-2.5-2.5 2.5 2.5 0 0 0 2.5 2.5"/></svg>',_n='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-archive" width="16" height="16" aria-hidden="true"><path d="M0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v1.5A1.75 1.75 0 0 1 14.25 6H1.75A1.75 1.75 0 0 1 0 4.25ZM1.75 7a.75.75 0 0 1 .75.75v5.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-5.5a.75.75 0 0 1 1.5 0v5.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25v-5.5A.75.75 0 0 1 1.75 7m0-4.5a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25ZM6.25 8h3.5a.75.75 0 0 1 0 1.5h-3.5a.75.75 0 0 1 0-1.5"/></svg>',In='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-arrow-switch" width="16" height="16" aria-hidden="true"><path d="M5.22 14.78a.75.75 0 0 0 1.06-1.06L4.56 12h8.69a.75.75 0 0 0 0-1.5H4.56l1.72-1.72a.75.75 0 0 0-1.06-1.06l-3 3a.75.75 0 0 0 0 1.06zm5.56-6.5a.75.75 0 1 1-1.06-1.06l1.72-1.72H2.75a.75.75 0 0 1 0-1.5h8.69L9.72 2.28a.75.75 0 0 1 1.06-1.06l3 3a.75.75 0 0 1 0 1.06z"/></svg>',Vn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-blocked" width="16" height="16" aria-hidden="true"><path d="M4.467.22a.75.75 0 0 1 .53-.22h6.006c.199 0 .389.079.53.22l4.247 4.247c.141.14.22.331.22.53v6.006a.75.75 0 0 1-.22.53l-4.247 4.247a.75.75 0 0 1-.53.22H4.997a.75.75 0 0 1-.53-.22L.22 11.533a.75.75 0 0 1-.22-.53V4.997c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.308v5.384L5.308 14.5h5.384l3.808-3.808V5.308L10.692 1.5ZM4 7.75A.75.75 0 0 1 4.75 7h6.5a.75.75 0 0 1 0 1.5h-6.5A.75.75 0 0 1 4 7.75"/></svg>',bn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-bold" width="16" height="16" aria-hidden="true"><path d="M4 2h4.5a3.501 3.501 0 0 1 2.852 5.53A3.499 3.499 0 0 1 9.5 14H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1m1 7v3h4.5a1.5 1.5 0 0 0 0-3Zm3.5-2a1.5 1.5 0 0 0 0-3H5v3Z"/></svg>',Zi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-check" width="16" height="16" aria-hidden="true"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 .018-1.042.75.75 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0"/></svg>',un='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-checkbox" width="16" height="16" aria-hidden="true"><path d="M2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1M2.5 2.75v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25H2.75a.25.25 0 0 0-.25.25m9.28 3.53-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 0 1 .018-1.042.75.75 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.75.75 0 0 1 1.042.018.75.75 0 0 1 .018 1.042"/></svg>',ls='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-check-circle-fill" width="16" height="16" aria-hidden="true"><path d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16m3.78-9.72a.75.75 0 0 0-.018-1.042.75.75 0 0 0-1.042-.018L6.75 9.19 5.28 7.72a.75.75 0 0 0-1.042.018.75.75 0 0 0-.018 1.042l2 2a.75.75 0 0 0 1.06 0Z"/></svg>',ks='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-chevron-down" width="16" height="16" aria-hidden="true"><path d="M12.78 5.22a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.75.75 0 0 1 1.06 0"/></svg>',En='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-chevron-left" width="16" height="16" aria-hidden="true"><path d="M9.78 12.78a.75.75 0 0 1-1.06 0L4.47 8.53a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.042.018.75.75 0 0 1 .018 1.042L6.06 8l3.72 3.72a.75.75 0 0 1 0 1.06"/></svg>',qi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-chevron-right" width="16" height="16" aria-hidden="true"><path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.042-.018.75.75 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06"/></svg>',sn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-clock" width="16" height="16" aria-hidden="true"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0m7-3.25v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.75.75 0 0 1 7 8.25v-3.5a.75.75 0 0 1 1.5 0"/></svg>',rs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-code" width="16" height="16" aria-hidden="true"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.75.75 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215m-6.56 0a.75.75 0 0 1 1.042.018.75.75 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.75.75 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></svg>',hs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-columns" width="16" height="16" aria-hidden="true"><path d="M2.75 0h2.5C6.216 0 7 .784 7 1.75v12.5A1.75 1.75 0 0 1 5.25 16h-2.5A1.75 1.75 0 0 1 1 14.25V1.75C1 .784 1.784 0 2.75 0m8 0h2.5C14.216 0 15 .784 15 1.75v12.5A1.75 1.75 0 0 1 13.25 16h-2.5A1.75 1.75 0 0 1 9 14.25V1.75C9 .784 9.784 0 10.75 0M2.5 1.75v12.5c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25m8 0v12.5c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25"/></svg>',fs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-copy" width="16" height="16" aria-hidden="true"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"/><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"/></svg>',yn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-diff-added" width="16" height="16" aria-hidden="true"><path d="M2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1m10.5 1.5H2.75a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25M8 4a.75.75 0 0 1 .75.75v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5A.75.75 0 0 1 8 4"/></svg>',mn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-diff-modified" width="16" height="16" aria-hidden="true"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10"/></svg>',Mn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-diff-removed" width="16" height="16" aria-hidden="true"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25Zm8.5 6.25h-6.5a.75.75 0 0 1 0-1.5h6.5a.75.75 0 0 1 0 1.5"/></svg>',pi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-diff-renamed" width="16" height="16" aria-hidden="true"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25Zm9.03 6.03-3.25 3.25a.749.749 0 0 1-1.275-.326.75.75 0 0 1 .215-.734l1.97-1.97H4.75a.75.75 0 0 1 0-1.5h4.69L7.47 5.28a.75.75 0 0 1 .018-1.042.75.75 0 0 1 1.042-.018l3.25 3.25a.75.75 0 0 1 0 1.06"/></svg>',rn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-dot-fill" width="16" height="16" aria-hidden="true"><path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8"/></svg>',dn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-download" width="16" height="16" aria-hidden="true"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06z"/></svg>',pn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-eye" width="16" height="16" aria-hidden="true"><path d="M8 2c1.981 0 3.671.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.62 1.62 0 0 1 0 1.798c-.45.678-1.367 1.932-2.637 3.023C11.67 13.008 9.981 14 8 14s-3.671-.992-4.933-2.078C1.797 10.83.88 9.576.43 8.898a1.62 1.62 0 0 1 0-1.798c.45-.677 1.367-1.931 2.637-3.022C4.33 2.992 6.019 2 8 2M1.679 7.932a.12.12 0 0 0 0 .136c.411.622 1.241 1.75 2.366 2.717C5.176 11.758 6.527 12.5 8 12.5s2.825-.742 3.955-1.715c1.124-.967 1.954-2.096 2.366-2.717a.12.12 0 0 0 0-.136c-.412-.621-1.242-1.75-2.366-2.717C10.824 4.242 9.473 3.5 8 3.5s-2.825.742-3.955 1.715c-1.124.967-1.954 2.096-2.366 2.717M8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10"/></svg>',Pn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-file" width="16" height="16" aria-hidden="true"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914z"/></svg>',nn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-file-directory-fill" width="16" height="16" aria-hidden="true"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1z"/></svg>',Ai='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-filter" width="16" height="16" aria-hidden="true"><path d="M.75 3h14.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5M3 7.75A.75.75 0 0 1 3.75 7h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 3 7.75m3 4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75"/></svg>',Ri='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-gear" width="16" height="16" aria-hidden="true"><path d="M8 0a8 8 0 0 1 .701.031C9.444.095 9.99.645 10.16 1.29l.288 1.107c.018.066.079.158.212.224q.347.171.668.386c.123.082.233.09.299.071l1.103-.303c.644-.176 1.392.021 1.82.63q.406.578.704 1.218c.315.675.111 1.422-.364 1.891l-.814.806c-.049.048-.098.147-.088.294q.024.386 0 .772c-.01.147.038.246.088.294l.814.806c.475.469.679 1.216.364 1.891a8 8 0 0 1-.704 1.217c-.428.61-1.176.807-1.82.63l-1.102-.302c-.067-.019-.177-.011-.3.071a6 6 0 0 1-.668.386c-.133.066-.194.158-.211.224l-.29 1.106c-.168.646-.715 1.196-1.458 1.26a8 8 0 0 1-1.402 0c-.743-.064-1.289-.614-1.458-1.26l-.289-1.106c-.018-.066-.079-.158-.212-.224a6 6 0 0 1-.668-.386c-.123-.082-.233-.09-.299-.071l-1.103.303c-.644.176-1.392-.021-1.82-.63a8 8 0 0 1-.704-1.218c-.315-.675-.111-1.422.363-1.891l.815-.806c.05-.048.098-.147.088-.294a6 6 0 0 1 0-.772c.01-.147-.038-.246-.088-.294l-.815-.806C.635 6.045.431 5.298.746 4.623a8 8 0 0 1 .704-1.217c.428-.61 1.176-.807 1.82-.63l1.102.302c.067.019.177.011.3-.071q.321-.215.668-.386c.133-.066.194-.158.211-.224l.29-1.106C6.009.645 6.556.095 7.299.03Q7.646 0 8 0m-.571 1.525c-.036.003-.108.036-.137.146l-.289 1.105c-.147.561-.549.967-.998 1.189q-.26.13-.5.29c-.417.278-.97.423-1.529.27l-1.103-.303c-.109-.03-.175.016-.195.045q-.33.47-.573.99c-.014.031-.021.11.059.19l.815.806c.411.406.562.957.53 1.456a5 5 0 0 0 0 .582c.032.499-.119 1.05-.53 1.456l-.815.806c-.081.08-.073.159-.059.19q.243.52.573.989c.02.03.085.076.195.046l1.102-.303c.56-.153 1.113-.008 1.53.27q.242.16.501.29c.447.222.85.629.997 1.189l.289 1.105c.029.109.101.143.137.146a6.6 6.6 0 0 0 1.142 0c.036-.003.108-.036.137-.146l.289-1.105c.147-.561.549-.967.998-1.189q.26-.13.5-.29c.417-.278.97-.423 1.529-.27l1.103.303c.109.029.175-.016.195-.045q.33-.47.573-.99c.014-.031.021-.11-.059-.19l-.815-.806c-.411-.406-.562-.957-.53-1.456a5 5 0 0 0 0-.582c-.032-.499.119-1.05.53-1.456l.815-.806c.081-.08.073-.159.059-.19a6.5 6.5 0 0 0-.573-.989c-.02-.03-.085-.076-.195-.046l-1.102.303c-.56.153-1.113.008-1.53-.27a4.4 4.4 0 0 0-.501-.29c-.447-.222-.85-.629-.997-1.189l-.289-1.105c-.029-.11-.101-.143-.137-.146a6.6 6.6 0 0 0-1.142 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0M9.5 8a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 8"/></svg>',ki='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-branch" width="16" height="16" aria-hidden="true"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.5 2.5 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25m-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0m8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5M4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>',Wi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-commit" width="16" height="16" aria-hidden="true"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0"/></svg>',an='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-merge" width="16" height="16" aria-hidden="true"><path d="M5.45 5.154A4.25 4.25 0 0 0 9.25 7.5h1.378a2.251 2.251 0 1 1 0 1.5H9.25A5.73 5.73 0 0 1 5 7.123v3.505a2.25 2.25 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.95-.218M4.25 13.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5m8.5-4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M5 3.25a.75.75 0 1 0 0 .005z"/></svg>',Fn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-pull-request" width="16" height="16" aria-hidden="true"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25m5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354M3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0"/></svg>',en='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-pull-request-draft" width="16" height="16" aria-hidden="true"><path d="M3.25 1A2.25 2.25 0 0 1 4 5.372v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.251 2.251 0 0 1 3.25 1m9.5 14a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5M2.5 3.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0M3.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5m9.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5M14 7.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m0-4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0"/></svg>',Fi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-heading" width="16" height="16" aria-hidden="true"><path d="M3.75 2a.75.75 0 0 1 .75.75V7h7V2.75a.75.75 0 0 1 1.5 0v10.5a.75.75 0 0 1-1.5 0V8.5h-7v4.75a.75.75 0 0 1-1.5 0V2.75A.75.75 0 0 1 3.75 2"/></svg>',Oi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-horizontal-rule" width="16" height="16" aria-hidden="true"><path d="M0 7.75A.75.75 0 0 1 .75 7h14.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 7.75"/></svg>',zi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-image" width="16" height="16" aria-hidden="true"><path d="M16 13.25A1.75 1.75 0 0 1 14.25 15H1.75A1.75 1.75 0 0 1 0 13.25V2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75ZM1.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h.94l.03-.03 6.077-6.078a1.75 1.75 0 0 1 2.412-.06L14.5 10.31V2.75a.25.25 0 0 0-.25-.25Zm12.5 11a.25.25 0 0 0 .25-.25v-.917l-4.298-3.889a.25.25 0 0 0-.344.009L4.81 13.5ZM7 6a2 2 0 1 1-3.999.001A2 2 0 0 1 7 6M5.5 6a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0"/></svg>',Ti='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-issue-closed" width="16" height="16" aria-hidden="true"><path d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0z"/><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-1.5 0a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0"/></svg>',Yi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-issue-opened" width="16" height="16" aria-hidden="true"><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"/><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0"/></svg>',wn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-italic" width="16" height="16" aria-hidden="true"><path d="M6 2.75A.75.75 0 0 1 6.75 2h6.5a.75.75 0 0 1 0 1.5h-2.505l-3.858 9H9.25a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.505l3.858-9H6.75A.75.75 0 0 1 6 2.75"/></svg>',Bi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-kebab-horizontal" width="16" height="16" aria-hidden="true"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"/></svg>',Qi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-link" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .75.75 0 0 1 .018-1.042.75.75 0 0 1 1.042-.018 2 2 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.75.75 0 0 1-1.042-.018.75.75 0 0 1-.018-1.042m-4.69 9.64a2 2 0 0 0 2.83 0l1.25-1.25a.75.75 0 0 1 1.042.018.75.75 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .75.75 0 0 1-.018 1.042.75.75 0 0 1-1.042.018 2 2 0 0 0-2.83 0l-2.5 2.5a2 2 0 0 0 0 2.83"/></svg>',Gi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-list-ordered" width="16" height="16" aria-hidden="true"><path d="M5 3.25a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 3.25m0 5a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8.25m0 5a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1-.75-.75M.924 10.32a.5.5 0 0 1-.851-.525l.001-.001.001-.002.002-.004.007-.011q.147-.217.348-.384c.228-.19.588-.392 1.068-.392.468 0 .858.181 1.126.484.259.294.377.673.377 1.038 0 .987-.686 1.495-1.156 1.845l-.047.035c-.303.225-.522.4-.654.597h1.357a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5c0-1.005.692-1.52 1.167-1.875l.035-.025c.531-.396.8-.625.8-1.078a.57.57 0 0 0-.128-.376C1.806 10.068 1.695 10 1.5 10a.66.66 0 0 0-.429.163.8.8 0 0 0-.144.153ZM2.003 2.5V6h.503a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1h.503V3.308l-.28.14a.5.5 0 0 1-.446-.895l1.003-.5a.5.5 0 0 1 .723.447"/></svg>',On='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-list-unordered" width="16" height="16" aria-hidden="true"><path d="M5.75 2.5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5m0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5m0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5M2 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0M2 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2"/></svg>',Xn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-lock" width="16" height="16" aria-hidden="true"><path d="M4 4a4 4 0 0 1 8 0v2h.25c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 12.25 15h-8.5A1.75 1.75 0 0 1 2 13.25v-5.5C2 6.784 2.784 6 3.75 6H4Zm8.25 3.5h-8.5a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25M10.5 6V4a2.5 2.5 0 1 0-5 0v2Z"/></svg>',cs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-meter" width="16" height="16" aria-hidden="true"><path d="M8 1.5a6.5 6.5 0 1 0 6.016 4.035.75.75 0 0 1 1.388-.57 8 8 0 1 1-4.37-4.37.75.75 0 1 1-.569 1.389A6.5 6.5 0 0 0 8 1.5m6.28.22a.75.75 0 0 1 0 1.06l-4.063 4.064a2.5 2.5 0 1 1-1.06-1.06L13.22 1.72a.75.75 0 0 1 1.06 0M7 8a1 1 0 1 0 2 0 1 1 0 0 0-2 0"/></svg>',Vs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-milestone" width="16" height="16" aria-hidden="true"><path d="M7.75 0a.75.75 0 0 1 .75.75V3h3.634c.414 0 .814.147 1.13.414l2.07 1.75a1.75 1.75 0 0 1 0 2.672l-2.07 1.75a1.75 1.75 0 0 1-1.13.414H8.5v5.25a.75.75 0 0 1-1.5 0V10H2.75A1.75 1.75 0 0 1 1 8.25v-3.5C1 3.784 1.784 3 2.75 3H7V.75A.75.75 0 0 1 7.75 0m4.384 8.5a.25.25 0 0 0 .161-.06l2.07-1.75a.248.248 0 0 0 0-.38l-2.07-1.75a.25.25 0 0 0-.161-.06H2.75a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25z"/></svg>',uo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-mirror" width="16" height="16" aria-hidden="true"><path d="M15.547 3.061A.75.75 0 0 1 16 3.75v8.5a.751.751 0 0 1-1.265.545l-4.5-4.25a.75.75 0 0 1 0-1.09l4.5-4.25a.75.75 0 0 1 .812-.144M0 12.25v-8.5a.751.751 0 0 1 1.265-.545l4.5 4.25a.75.75 0 0 1 0 1.09l-4.5 4.25A.75.75 0 0 1 0 12.25m1.5-6.76v5.02L4.158 8ZM11.842 8l2.658 2.51V5.49ZM8 4a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 4m.75-2.25v.5a.75.75 0 0 1-1.5 0v-.5a.75.75 0 0 1 1.5 0m0 6v.5a.75.75 0 0 1-1.5 0v-.5a.75.75 0 0 1 1.5 0M8 10a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 10m0 3a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 13"/></svg>',fo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-organization" width="16" height="16" aria-hidden="true"><path d="M1.75 16A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0h8.5C11.216 0 12 .784 12 1.75v12.5q0 .127-.018.25h2.268a.25.25 0 0 0 .25-.25V8.285a.25.25 0 0 0-.111-.208l-1.055-.703a.749.749 0 1 1 .832-1.248l1.055.703c.487.325.779.871.779 1.456v5.965A1.75 1.75 0 0 1 14.25 16h-3.5a.8.8 0 0 1-.197-.026q-.148.026-.303.026h-3a.75.75 0 0 1-.75-.75V14h-1v1.25a.75.75 0 0 1-.75.75Zm-.25-1.75c0 .138.112.25.25.25H4v-1.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 .75.75v1.25h2.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM3.75 6h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5M3 3.75A.75.75 0 0 1 3.75 3h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 3.75m4 3A.75.75 0 0 1 7.75 6h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 7 6.75M7.75 3h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5M3 9.75A.75.75 0 0 1 3.75 9h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 9.75M7.75 9h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5"/></svg>',go='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-play" width="16" height="16" aria-hidden="true"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0m4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215"/></svg>',Po='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-plus" width="16" height="16" aria-hidden="true"><path d="M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2"/></svg>',Jo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-project" width="16" height="16" aria-hidden="true"><path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0M1.5 1.75v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25M11.75 3a.75.75 0 0 1 .75.75v7.5a.75.75 0 0 1-1.5 0v-7.5a.75.75 0 0 1 .75-.75m-8.25.75a.75.75 0 0 1 1.5 0v5.5a.75.75 0 0 1-1.5 0ZM8 3a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 3"/></svg>',ca='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-quote" width="16" height="16" aria-hidden="true"><path d="M1.75 2.5h10.5a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5m4 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5m0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5M2.5 7.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 1.5 0"/></svg>',gi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-repo" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg>',Si='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-repo-forked" width="16" height="16" aria-hidden="true"><path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0M5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0m6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5m-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0"/></svg>',$i='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-repo-template" width="16" height="16" aria-hidden="true"><path d="M13.25 8a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-.75a.75.75 0 0 1 0-1.5h.75v-.25a.75.75 0 0 1 .75-.75M5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2ZM2.75 8a.75.75 0 0 1 .75.75v.268Q3.624 9 3.75 9h.5a.75.75 0 0 1 0 1.5h-.5a.25.25 0 0 0-.25.25v.75c0 .28.114.532.3.714a.75.75 0 1 1-1.05 1.072A2.5 2.5 0 0 1 2 11.5V8.75A.75.75 0 0 1 2.75 8M11 .75a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0V1.5h-.75A.75.75 0 0 1 11 .75m-5 0A.75.75 0 0 1 6.75 0h2.5a.75.75 0 0 1 0 1.5h-2.5A.75.75 0 0 1 6 .75m0 9A.75.75 0 0 1 6.75 9h2.5a.75.75 0 0 1 0 1.5h-2.5A.75.75 0 0 1 6 9.75M4.992.662a.75.75 0 0 1-.636.848c-.436.063-.783.41-.846.846a.751.751 0 0 1-1.485-.212A2.5 2.5 0 0 1 4.144.025a.75.75 0 0 1 .848.637M2.75 4a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 2.75 4m10.5 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5a.75.75 0 0 1 .75-.75"/></svg>',kn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-rss" width="16" height="16" aria-hidden="true"><path d="M2.002 2.725a.75.75 0 0 1 .797-.699C8.79 2.42 13.58 7.21 13.974 13.201a.75.75 0 0 1-1.497.098 10.5 10.5 0 0 0-9.776-9.776.747.747 0 0 1-.7-.798ZM2.84 7.05h-.002a7 7 0 0 1 6.113 6.111.75.75 0 0 1-1.49.178 5.5 5.5 0 0 0-4.8-4.8.75.75 0 0 1 .179-1.489M2 13a1 1 0 1 1 2 0 1 1 0 0 1-2 0"/></svg>',Ln='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-screen-full" width="16" height="16" aria-hidden="true"><path d="M1.75 10a.75.75 0 0 1 .75.75v2.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 0 1.5h-2.5A1.75 1.75 0 0 1 1 13.25v-2.5a.75.75 0 0 1 .75-.75m12.5 0a.75.75 0 0 1 .75.75v2.5A1.75 1.75 0 0 1 13.25 15h-2.5a.75.75 0 0 1 0-1.5h2.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 .75-.75M2.75 2.5a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0v-2.5C1 1.784 1.784 1 2.75 1h2.5a.75.75 0 0 1 0 1.5ZM10 1.75a.75.75 0 0 1 .75-.75h2.5c.966 0 1.75.784 1.75 1.75v2.5a.75.75 0 0 1-1.5 0v-2.5a.25.25 0 0 0-.25-.25h-2.5a.75.75 0 0 1-.75-.75"/></svg>',Un='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-search" width="16" height="16" aria-hidden="true"><path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.75.75 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7"/></svg>',Jn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-sidebar-collapse" width="16" height="16" aria-hidden="true"><path d="M6.823 7.823a.25.25 0 0 1 0 .354l-2.396 2.396A.25.25 0 0 1 4 10.396V5.604a.25.25 0 0 1 .427-.177Z"/><path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0M1.5 1.75v12.5c0 .138.112.25.25.25H9.5v-13H1.75a.25.25 0 0 0-.25.25M11 14.5h3.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11Z"/></svg>',Ys='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-sidebar-expand" width="16" height="16" aria-hidden="true"><path d="m4.177 7.823 2.396-2.396A.25.25 0 0 1 7 5.604v4.792a.25.25 0 0 1-.427.177L4.177 8.177a.25.25 0 0 1 0-.354"/><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25H9.5v-13Zm12.5 13a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11v13Z"/></svg>',bo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-skip" width="16" height="16" aria-hidden="true"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0m9.78-2.22-5.5 5.5a.749.749 0 0 1-1.275-.326.75.75 0 0 1 .215-.734l5.5-5.5a.75.75 0 0 1 1.042.018.75.75 0 0 1 .018 1.042"/></svg>',_o='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-star" width="16" height="16" aria-hidden="true"><path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25m0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41z"/></svg>',pa='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-strikethrough" width="16" height="16" aria-hidden="true"><path d="M11.055 8.5c.524.536.815 1.257.811 2.007a3.13 3.13 0 0 1-1.12 2.408C9.948 13.597 8.748 14 7.096 14c-1.706 0-3.104-.607-3.902-1.377a.751.751 0 0 1 1.042-1.079c.48.463 1.487.956 2.86.956 1.422 0 2.232-.346 2.676-.726.435-.372.594-.839.594-1.267 0-.472-.208-.857-.647-1.197-.448-.346-1.116-.623-1.951-.81H1.75a.75.75 0 0 1 0-1.5h12.5a.75.75 0 0 1 0 1.5ZM7.581 3.25c-2.036 0-2.778 1.082-2.778 1.786q0 .082.006.157a.75.75 0 0 1-1.496.114 4 4 0 0 1-.01-.271c0-1.832 1.75-3.286 4.278-3.286 1.418 0 2.721.58 3.514 1.093a.75.75 0 1 1-.814 1.26c-.64-.414-1.662-.853-2.7-.853"/></svg>',ka='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-sync" width="16" height="16" aria-hidden="true"><path d="M1.705 8.005a.75.75 0 0 1 .834.656 5.5 5.5 0 0 0 9.592 2.97l-1.204-1.204a.25.25 0 0 1 .177-.427h3.646a.25.25 0 0 1 .25.25v3.646a.25.25 0 0 1-.427.177l-1.38-1.38A7.002 7.002 0 0 1 1.05 8.84a.75.75 0 0 1 .656-.834ZM8 2.5a5.49 5.49 0 0 0-4.131 1.869l1.204 1.204A.25.25 0 0 1 4.896 6H1.25A.25.25 0 0 1 1 5.75V2.104a.25.25 0 0 1 .427-.177l1.38 1.38A7.002 7.002 0 0 1 14.95 7.16a.75.75 0 0 1-1.49.178A5.5 5.5 0 0 0 8 2.5"/></svg>',Aa='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-table" width="16" height="16" aria-hidden="true"><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z"/></svg>',ha='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-tag" width="16" height="16" aria-hidden="true"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.75 1.75 0 0 1 1 7.775m1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"/></svg>',sa='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-trash" width="16" height="16" aria-hidden="true"><path d="M11 1.75V3h2.25a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75M4.496 6.675l.66 6.6a.25.25 0 0 0 .249.225h5.19a.25.25 0 0 0 .249-.225l.66-6.6a.75.75 0 0 1 1.492.149l-.66 6.6A1.75 1.75 0 0 1 10.595 15h-5.19a1.75 1.75 0 0 1-1.741-1.575l-.66-6.6a.75.75 0 1 1 1.492-.15M6.5 1.75V3h3V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25"/></svg>',Do='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-triangle-down" width="16" height="16" aria-hidden="true"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427"/></svg>',ra='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-x" width="16" height="16" aria-hidden="true"><path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.75.75 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.75.75 0 0 1-.734-.215L8 9.06l-3.22 3.22a.75.75 0 0 1-1.042-.018.75.75 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06"/></svg>',rl='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-x-circle-fill" width="16" height="16" aria-hidden="true"><path d="M2.343 13.657A8 8 0 1 1 13.658 2.343 8 8 0 0 1 2.343 13.657M6.03 4.97a.75.75 0 0 0-1.042.018.75.75 0 0 0-.018 1.042L6.94 8 4.97 9.97a.749.749 0 0 0 .326 1.275.75.75 0 0 0 .734-.215L8 9.06l1.97 1.97a.749.749 0 0 0 1.275-.326.75.75 0 0 0-.215-.734L9.06 8l1.97-1.97a.749.749 0 0 0-.326-1.275.75.75 0 0 0-.734.215L8 6.94Z"/></svg>';const bl={"gitea-double-chevron-left":yi,"gitea-double-chevron-right":Li,"gitea-empty-checkbox":Ji,"gitea-exclamation":tn,"octicon-archive":_n,"octicon-arrow-switch":In,"octicon-blocked":Vn,"octicon-bold":bn,"octicon-check":Zi,"octicon-check-circle-fill":ls,"octicon-checkbox":un,"octicon-chevron-down":ks,"octicon-chevron-left":En,"octicon-chevron-right":qi,"octicon-clock":sn,"octicon-code":rs,"octicon-columns":hs,"octicon-copy":fs,"octicon-diff-added":yn,"octicon-diff-modified":mn,"octicon-diff-removed":Mn,"octicon-diff-renamed":pi,"octicon-dot-fill":rn,"octicon-download":dn,"octicon-eye":pn,"octicon-file":Pn,"octicon-file-directory-fill":nn,"octicon-filter":Ai,"octicon-gear":Ri,"octicon-git-branch":ki,"octicon-git-commit":Wi,"octicon-git-merge":an,"octicon-git-pull-request":Fn,"octicon-git-pull-request-draft":en,"octicon-heading":Fi,"octicon-horizontal-rule":Oi,"octicon-image":zi,"octicon-issue-closed":Ti,"octicon-issue-opened":Yi,"octicon-italic":wn,"octicon-kebab-horizontal":Bi,"octicon-link":Qi,"octicon-list-ordered":Gi,"octicon-list-unordered":On,"octicon-lock":Xn,"octicon-meter":cs,"octicon-milestone":Vs,"octicon-mirror":uo,"octicon-organization":fo,"octicon-play":go,"octicon-plus":Po,"octicon-project":Jo,"octicon-quote":ca,"octicon-repo":gi,"octicon-repo-forked":Si,"octicon-repo-template":$i,"octicon-rss":kn,"octicon-screen-full":Ln,"octicon-search":Un,"octicon-sidebar-collapse":Jn,"octicon-sidebar-expand":Ys,"octicon-skip":bo,"octicon-star":_o,"octicon-strikethrough":pa,"octicon-sync":ka,"octicon-table":Aa,"octicon-tag":ha,"octicon-trash":sa,"octicon-triangle-down":Do,"octicon-x":ra,"octicon-x-circle-fill":rl};function nu(Ta,La=16,va=""){if(!(Ta in bl))throw new Error(`Unknown SVG icon: ${Ta}`);if(La===16&&!va)return bl[Ta];const Zo=(0,ri.a8)(bl[Ta],"image/svg+xml").firstChild;return La!==16&&(Zo.setAttribute("width",String(La)),Zo.setAttribute("height",String(La))),va&&Zo.classList.add(...va.split(/\s+/).filter(Boolean)),(0,ri.QM)(Zo)}function ec(Ta){const La=bl[Ta];if(!La)throw new Error(`Unknown SVG icon: ${Ta}`);const va=La.indexOf(">"),Ya=La.lastIndexOf("<");if(va===-1||Ya===-1)throw new Error(`Invalid SVG icon: ${Ta}`);const Zo=La.slice(va+1,Ya),Da=La.slice(0,va+1)+La.slice(Ya);return{svgOuter:(0,ri.a8)(Da,"image/svg+xml").firstChild,svgInnerHtml:Zo}}const su={name:"SvgIcon",props:{name:{type:String,required:!0},size:{type:Number,default:16},className:{type:String,default:""},symbolId:{type:String}},render(){let{svgOuter:Ta,svgInnerHtml:La}=ec(this.name);const va={};for(const Zo of Ta.attributes)Zo.name!=="class"&&(va[`^${Zo.name}`]=Zo.value);va["^width"]=this.size,va["^height"]=this.size;const Ya=[];for(const Zo of Ta.classList)Ya.push(Zo);return this.className&&Ya.push(...this.className.split(/\s+/).filter(Boolean)),this.symbolId&&(Ya.push("tw-hidden","svg-symbol-container"),La=`<symbol id="${this.symbolId}" viewBox="${va["^viewBox"]}">${La}</symbol>`),(0,vi.h)("svg",{...va,class:Ya,innerHTML:La})}}},"./web_src/js/utils.js":function(oi,bi,wi){"use strict";wi.d(bi,{FS:function(){return Zi},Gv:function(){return Li},Kq:function(){return tn},LC:function(){return yi},P8:function(){return ri},QM:function(){return fs},S3:function(){return _n},a8:function(){return hs},g4:function(){return Ji},hC:function(){return ls},kk:function(){return Vn},oK:function(){return ks},vd:function(){return qi},vh:function(){return En},yy:function(){return yn},z5:function(){return bn}});var vi=wi("./node_modules/uint8-to-base64/esm/index.js");function ri(mn=""){const Mn=mn.lastIndexOf("/");return Mn<0?mn:mn.substring(Mn+1)}function yi(mn=""){const Mn=mn.lastIndexOf(".");return Mn<0?"":mn.substring(Mn)}function Li(mn){return Object.prototype.toString.call(mn)==="[object Object]"}function Ji(){return window.getComputedStyle(document.documentElement).getPropertyValue("--is-dark-theme").trim().toLowerCase()==="true"}function tn(mn){return mn.replace(/<[^>]*>?/g,"")}function _n(mn){const Mn=(mn||"").replace(/[#?].*$/,""),[pi,rn,dn,pn,Pn]=/([^/]+)\/([^/]+)\/(issues|pulls)\/([0-9]+)/.exec(Mn)||[];return{owner:rn,repo:dn,type:pn,index:Pn}}function In(mn){return new URL(mn,mn.startsWith("http")?void 0:window.location.origin)}function Vn(){return document.documentElement.lang}function bn(mn){return new Date(Date.UTC(2022,mn,12)).toLocaleString(Vn(),{month:"short",timeZone:"UTC"})}function Zi(mn){return new Date(Date.UTC(2022,7,mn)).toLocaleString(Vn(),{weekday:"short",timeZone:"UTC"})}function un(mn){return new Promise((Mn,pi)=>{try{const rn=new FileReader;rn.addEventListener("load",dn=>{Mn(dn.target.result)}),rn.addEventListener("error",()=>{pi(new Error("FileReader failed"))}),rn.readAsDataURL(mn)}catch(rn){pi(rn)}})}function ls(mn,Mn){return new Promise(async(pi,rn)=>{try{const dn=new Image,pn=document.createElement("canvas");dn.addEventListener("load",()=>{try{pn.width=dn.naturalWidth,pn.height=dn.naturalHeight,pn.getContext("2d").drawImage(dn,0,0),pn.toBlob(nn=>{if(!(nn instanceof Blob))return rn(new Error("imageBlobToPng failed"));pi(nn)},Mn)}catch(Pn){rn(Pn)}}),dn.addEventListener("error",()=>{rn(new Error("imageBlobToPng failed"))}),dn.src=await un(mn)}catch(dn){rn(dn)}})}function ks(mn){if(mn.startsWith("http://")||mn.startsWith("https://"))return mn;if(mn.startsWith("//"))return`${window.location.protocol}${mn}`;if(mn&&!mn.startsWith("/"))throw new Error("unsupported url, it should either start with / or http(s)://");return`${window.location.origin}${mn}`}function En(mn){return(0,vi.l)(mn).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function qi(mn){return(0,vi.D)(mn.replace(/_/g,"/").replace(/-/g,"+"))}const sn=new DOMParser,rs=new XMLSerializer;function hs(mn,Mn){return sn.parseFromString(mn,Mn)}function fs(mn){return rs.serializeToString(mn)}const yn=mn=>new Promise(Mn=>setTimeout(Mn,mn))},"./web_src/js/utils/color.js":function(oi,bi,wi){"use strict";wi.d(bi,{K:function(){return tn},a:function(){return Li}});var vi=wi("./node_modules/tinycolor2/esm/tinycolor.js");function ri(_n){const{r:In,g:Vn,b:bn}=(0,vi.A)(_n).toRgb();return(.2126729*In+.7151522*Vn+.072175*bn)/255}function yi(_n){return ri(_n)<.453}function Li(_n){return yi(_n)?"#fff":"#000"}function Ji(_n){const In=window.getComputedStyle(document.documentElement),Vn=bn=>In.getPropertyValue(bn).trim();return Object.fromEntries(Object.entries(_n).map(([bn,Zi])=>[bn,Vn(Zi)]))}const tn=Ji({text:"--color-text",border:"--color-secondary-alpha-60",commits:"--color-primary-alpha-60",additions:"--color-green",deletions:"--color-red"})},"./web_src/js/utils/dom.js":function(oi,bi,wi){"use strict";wi.d(bi,{D6:function(){return Vn},DS:function(){return ks},EH:function(){return yn},Gz:function(){return fs},IU:function(){return rs},NF:function(){return ls},Pj:function(){return Mn},Pm:function(){return un},QW:function(){return qi},SL:function(){return pi},WP:function(){return _n},fi:function(){return Li},jB:function(){return Zi},l1:function(){return mn},nm:function(){return En},oi:function(){return tn},xP:function(){return bn},y9:function(){return Ji}});var vi=wi("./node_modules/throttle-debounce/esm/index.js");function ri(rn,dn,...pn){if((typeof rn=="string"||rn instanceof String)&&(rn=document.querySelectorAll(rn)),rn instanceof Node)dn(rn,...pn);else if(rn.length!==void 0)for(const Pn of rn)dn(Pn,...pn);else throw new Error("invalid argument to be shown/hidden")}function yi(rn,dn){if(dn===!0)rn.classList.remove("tw-hidden");else if(dn===!1)rn.classList.add("tw-hidden");else if(dn===void 0)rn.classList.toggle("tw-hidden");else throw new Error("invalid force argument")}function Li(rn){ri(rn,yi,!0)}function Ji(rn){ri(rn,yi,!1)}function tn(rn,dn){ri(rn,yi,dn)}function _n(rn){const dn=[];if(ri(rn,pn=>dn.push(pn.classList.contains("tw-hidden"))),dn.length>1)throw new Error("isElemHidden doesn't work for multiple elements");return dn[0]}function In(rn,dn){if(dn)for(const pn of rn)dn(pn);return rn}function Vn(rn,dn="*",pn){return In(Array.from(rn.parentNode.children).filter(Pn=>Pn!==rn&&Pn.matches(dn)),pn)}function bn(rn,dn="*",pn){return In(rn.querySelectorAll(`:scope > ${dn}`),pn)}function Zi(rn,dn){return In(document.querySelectorAll(rn),dn)}function un(rn){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",rn):rn()}function ls(rn){try{return rn.ownerDocument===document&&rn.nodeType===Node.ELEMENT_NODE||rn.nodeType===Node.DOCUMENT_FRAGMENT_NODE}catch{return!1}}function ks(rn,{viewportMarginBottom:dn=0}={}){let pn=!1,Pn,nn,Ai,Ri;function ki(en){if(!pn){if(Pn!==en.clientX||nn!==en.clientY){const Fi=rn.style.height;Ai&&Ai!==Fi&&(pn=!0),Ai=Fi}Pn=en.clientX,nn=en.clientY}}function Wi(){let en=0,Fi=rn;for(;Fi!==document.body&&Fi!==null;)en+=Fi.offsetTop||0,Fi=Fi.offsetParent;const Oi=en-document.defaultView.scrollY,zi=document.documentElement.clientHeight-(Oi+rn.offsetHeight);return{top:Oi,bottom:zi}}function an(){if(!pn&&!(rn.offsetWidth<=0&&rn.offsetHeight<=0))try{const{top:en,bottom:Fi}=Wi(),Oi=en<0||Fi<0,zi=getComputedStyle(rn),Ti=parseFloat(zi.borderTopWidth),Yi=parseFloat(zi.borderBottomWidth),Bi=zi.boxSizing==="border-box"?Ti+Yi:0,Qi=Fi<dn?Fi:dn,Gi=parseFloat(zi.height),On=Gi+Fi-Qi;rn.style.height="auto";let Xn=rn.scrollHeight+Bi;Oi?Xn>Gi&&(Xn=Gi):Xn=Math.min(On,Xn),rn.style.height=`${Xn}px`,Ai=rn.style.height}finally{rn.selectionStart===rn.selectionEnd&&rn.selectionStart===rn.value.length&&(rn.scrollTop=rn.scrollHeight)}}function Fn(){pn=!1,Ri!==void 0?rn.style.height=Ri:rn.style.removeProperty("height")}return rn.addEventListener("mousemove",ki),rn.addEventListener("input",an),rn.form?.addEventListener("reset",Fn),Ri=rn.style.height??void 0,rn.value&&an(),{resizeToFit:an,destroy(){rn.removeEventListener("mousemove",ki),rn.removeEventListener("input",an),rn.form?.removeEventListener("reset",Fn)}}}function En(rn){return(0,vi.s)(300,rn)}function qi(rn,dn){return new Promise(pn=>{rn.addEventListener("load",()=>pn(!0),{once:!0}),rn.addEventListener("error",()=>pn(!1),{once:!0}),rn.src=dn})}const sn=typeof SubmitEvent>"u";function rs(rn){return rn=rn.originalEvent??rn,sn?rn.target._submitter||null:rn.submitter}function hs(rn){const dn=rn.target.closest("form");dn&&(dn._submitter=rn.target.closest('button:not([type]), button[type="submit"], input[type="submit"]'))}function fs(){sn&&(console.warn(`This browser doesn't have "SubmitEvent" support, use a tricky method to polyfill`),document.body.addEventListener("click",hs),document.body.addEventListener("focus",hs))}function yn(rn){return rn?!!(rn.offsetWidth||rn.offsetHeight||rn.getClientRects().length):!1}function mn(rn){const dn=[];for(const Pn of rn.clipboardData?.items??[])Pn.type?.startsWith("image/")&&dn.push(Pn.getAsFile());return{text:rn.clipboardData?.getData?.("text")??"",images:dn}}function Mn(rn,dn){const pn=rn.value.slice(0,rn.selectionStart??void 0),Pn=rn.value.slice(rn.selectionEnd??void 0);let nn=!0;rn.contentEditable="true";try{nn=document.execCommand("insertText",!1,dn)}catch{nn=!1}rn.contentEditable="false",nn&&!rn.value.slice(0,rn.selectionStart??void 0).endsWith(dn)&&(nn=!1),nn||(rn.value=`${pn}${dn}${Pn}`,rn.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0})))}function pi(rn){const dn=document.createElement("div");return dn.innerHTML=rn.trim(),dn.firstChild}},"./web_src/js/utils/time.js":function(oi,bi,wi){"use strict";wi.d(bi,{Ex:function(){return Li},Rt:function(){return In},Z1:function(){return Ji},a$:function(){return tn}});var vi=wi("./node_modules/dayjs/dayjs.min.js"),ri=wi("./node_modules/dayjs/plugin/utc.js"),yi=wi("./web_src/js/utils.js");vi.extend(ri);function Li(Vn,bn){const Zi=vi.utc(Vn),un=vi.utc(bn);let ls=Zi;for(;ls.day()!==0;)ls=ls.add(1,"day");const ks=[];for(;ls.isBefore(un);)ks.push(ls.valueOf()),ls=ls.add(1,"week");return ks}function Ji(Vn){if(!(Vn instanceof Date))throw new Error("Invalid date");const Zi=7-Vn.getUTCDay(),un=new Date(Vn.getTime());return un.setUTCDate(un.getUTCDate()+Zi),un.valueOf()}function tn(Vn,bn){const Zi={};for(const un of Vn)Zi[un]=bn[un]||{week:un,additions:0,deletions:0,commits:0};return Object.values(Zi)}let _n;function In(Vn){return _n||(_n=new Intl.DateTimeFormat((0,yi.kk)(),{day:"numeric",month:"short",year:"numeric",hour:"numeric",hour12:!Number.isInteger(Number(new Intl.DateTimeFormat([],{hour:"numeric"}).format())),minute:"2-digit",timeZoneName:"short"})),_n.format(Vn)}},"./node_modules/throttle-debounce/esm/index.js":function(oi,bi,wi){"use strict";wi.d(bi,{s:function(){return ri}});function vi(yi,Li,Ji){var tn=Ji||{},_n=tn.noTrailing,In=_n===void 0?!1:_n,Vn=tn.noLeading,bn=Vn===void 0?!1:Vn,Zi=tn.debounceMode,un=Zi===void 0?void 0:Zi,ls,ks=!1,En=0;function qi(){ls&&clearTimeout(ls)}function sn(hs){var fs=hs||{},yn=fs.upcomingOnly,mn=yn===void 0?!1:yn;qi(),ks=!mn}function rs(){for(var hs=arguments.length,fs=new Array(hs),yn=0;yn<hs;yn++)fs[yn]=arguments[yn];var mn=this,Mn=Date.now()-En;if(ks)return;function pi(){En=Date.now(),Li.apply(mn,fs)}function rn(){ls=void 0}!bn&&un&&!ls&&pi(),qi(),un===void 0&&Mn>yi?bn?(En=Date.now(),In||(ls=setTimeout(un?rn:pi,yi))):pi():In!==!0&&(ls=setTimeout(un?rn:pi,un===void 0?yi-Mn:yi))}return rs.cancel=sn,rs}function ri(yi,Li,Ji){var tn=Ji||{},_n=tn.atBegin,In=_n===void 0?!1:_n;return vi(yi,Li,{debounceMode:In!==!1})}},"./node_modules/tinycolor2/esm/tinycolor.js":function(oi,bi,wi){"use strict";wi.d(bi,{A:function(){return Li}});function vi(Bi){"@babel/helpers - typeof";return vi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Qi){return typeof Qi}:function(Qi){return Qi&&typeof Symbol=="function"&&Qi.constructor===Symbol&&Qi!==Symbol.prototype?"symbol":typeof Qi},vi(Bi)}var ri=/^\s+/,yi=/\s+$/;function Li(Bi,Qi){if(Bi=Bi||"",Qi=Qi||{},Bi instanceof Li)return Bi;if(!(this instanceof Li))return new Li(Bi,Qi);var Gi=Ji(Bi);this._originalInput=Bi,this._r=Gi.r,this._g=Gi.g,this._b=Gi.b,this._a=Gi.a,this._roundA=Math.round(100*this._a)/100,this._format=Qi.format||Gi.format,this._gradientType=Qi.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=Gi.ok}Li.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Qi=this.toRgb();return(Qi.r*299+Qi.g*587+Qi.b*114)/1e3},getLuminance:function(){var Qi=this.toRgb(),Gi,On,Xn,cs,Vs,uo;return Gi=Qi.r/255,On=Qi.g/255,Xn=Qi.b/255,Gi<=.03928?cs=Gi/12.92:cs=Math.pow((Gi+.055)/1.055,2.4),On<=.03928?Vs=On/12.92:Vs=Math.pow((On+.055)/1.055,2.4),Xn<=.03928?uo=Xn/12.92:uo=Math.pow((Xn+.055)/1.055,2.4),.2126*cs+.7152*Vs+.0722*uo},setAlpha:function(Qi){return this._a=nn(Qi),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var Qi=Vn(this._r,this._g,this._b);return{h:Qi.h*360,s:Qi.s,v:Qi.v,a:this._a}},toHsvString:function(){var Qi=Vn(this._r,this._g,this._b),Gi=Math.round(Qi.h*360),On=Math.round(Qi.s*100),Xn=Math.round(Qi.v*100);return this._a==1?"hsv("+Gi+", "+On+"%, "+Xn+"%)":"hsva("+Gi+", "+On+"%, "+Xn+"%, "+this._roundA+")"},toHsl:function(){var Qi=_n(this._r,this._g,this._b);return{h:Qi.h*360,s:Qi.s,l:Qi.l,a:this._a}},toHslString:function(){var Qi=_n(this._r,this._g,this._b),Gi=Math.round(Qi.h*360),On=Math.round(Qi.s*100),Xn=Math.round(Qi.l*100);return this._a==1?"hsl("+Gi+", "+On+"%, "+Xn+"%)":"hsla("+Gi+", "+On+"%, "+Xn+"%, "+this._roundA+")"},toHex:function(Qi){return Zi(this._r,this._g,this._b,Qi)},toHexString:function(Qi){return"#"+this.toHex(Qi)},toHex8:function(Qi){return un(this._r,this._g,this._b,this._a,Qi)},toHex8String:function(Qi){return"#"+this.toHex8(Qi)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Ai(this._r,255)*100)+"%",g:Math.round(Ai(this._g,255)*100)+"%",b:Math.round(Ai(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Ai(this._r,255)*100)+"%, "+Math.round(Ai(this._g,255)*100)+"%, "+Math.round(Ai(this._b,255)*100)+"%)":"rgba("+Math.round(Ai(this._r,255)*100)+"%, "+Math.round(Ai(this._g,255)*100)+"%, "+Math.round(Ai(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:pn[Zi(this._r,this._g,this._b,!0)]||!1},toFilter:function(Qi){var Gi="#"+ls(this._r,this._g,this._b,this._a),On=Gi,Xn=this._gradientType?"GradientType = 1, ":"";if(Qi){var cs=Li(Qi);On="#"+ls(cs._r,cs._g,cs._b,cs._a)}return"progid:DXImageTransform.Microsoft.gradient("+Xn+"startColorstr="+Gi+",endColorstr="+On+")"},toString:function(Qi){var Gi=!!Qi;Qi=Qi||this._format;var On=!1,Xn=this._a<1&&this._a>=0,cs=!Gi&&Xn&&(Qi==="hex"||Qi==="hex6"||Qi==="hex3"||Qi==="hex4"||Qi==="hex8"||Qi==="name");return cs?Qi==="name"&&this._a===0?this.toName():this.toRgbString():(Qi==="rgb"&&(On=this.toRgbString()),Qi==="prgb"&&(On=this.toPercentageRgbString()),(Qi==="hex"||Qi==="hex6")&&(On=this.toHexString()),Qi==="hex3"&&(On=this.toHexString(!0)),Qi==="hex4"&&(On=this.toHex8String(!0)),Qi==="hex8"&&(On=this.toHex8String()),Qi==="name"&&(On=this.toName()),Qi==="hsl"&&(On=this.toHslString()),Qi==="hsv"&&(On=this.toHsvString()),On||this.toHexString())},clone:function(){return Li(this.toString())},_applyModification:function(Qi,Gi){var On=Qi.apply(null,[this].concat([].slice.call(Gi)));return this._r=On._r,this._g=On._g,this._b=On._b,this.setAlpha(On._a),this},lighten:function(){return this._applyModification(sn,arguments)},brighten:function(){return this._applyModification(rs,arguments)},darken:function(){return this._applyModification(hs,arguments)},desaturate:function(){return this._applyModification(ks,arguments)},saturate:function(){return this._applyModification(En,arguments)},greyscale:function(){return this._applyModification(qi,arguments)},spin:function(){return this._applyModification(fs,arguments)},_applyCombination:function(Qi,Gi){return Qi.apply(null,[this].concat([].slice.call(Gi)))},analogous:function(){return this._applyCombination(pi,arguments)},complement:function(){return this._applyCombination(yn,arguments)},monochromatic:function(){return this._applyCombination(rn,arguments)},splitcomplement:function(){return this._applyCombination(Mn,arguments)},triad:function(){return this._applyCombination(mn,[3])},tetrad:function(){return this._applyCombination(mn,[4])}},Li.fromRatio=function(Bi,Qi){if(vi(Bi)=="object"){var Gi={};for(var On in Bi)Bi.hasOwnProperty(On)&&(On==="a"?Gi[On]=Bi[On]:Gi[On]=en(Bi[On]));Bi=Gi}return Li(Bi,Qi)};function Ji(Bi){var Qi={r:0,g:0,b:0},Gi=1,On=null,Xn=null,cs=null,Vs=!1,uo=!1;return typeof Bi=="string"&&(Bi=Yi(Bi)),vi(Bi)=="object"&&(Ti(Bi.r)&&Ti(Bi.g)&&Ti(Bi.b)?(Qi=tn(Bi.r,Bi.g,Bi.b),Vs=!0,uo=String(Bi.r).substr(-1)==="%"?"prgb":"rgb"):Ti(Bi.h)&&Ti(Bi.s)&&Ti(Bi.v)?(On=en(Bi.s),Xn=en(Bi.v),Qi=bn(Bi.h,On,Xn),Vs=!0,uo="hsv"):Ti(Bi.h)&&Ti(Bi.s)&&Ti(Bi.l)&&(On=en(Bi.s),cs=en(Bi.l),Qi=In(Bi.h,On,cs),Vs=!0,uo="hsl"),Bi.hasOwnProperty("a")&&(Gi=Bi.a)),Gi=nn(Gi),{ok:Vs,format:Bi.format||uo,r:Math.min(255,Math.max(Qi.r,0)),g:Math.min(255,Math.max(Qi.g,0)),b:Math.min(255,Math.max(Qi.b,0)),a:Gi}}function tn(Bi,Qi,Gi){return{r:Ai(Bi,255)*255,g:Ai(Qi,255)*255,b:Ai(Gi,255)*255}}function _n(Bi,Qi,Gi){Bi=Ai(Bi,255),Qi=Ai(Qi,255),Gi=Ai(Gi,255);var On=Math.max(Bi,Qi,Gi),Xn=Math.min(Bi,Qi,Gi),cs,Vs,uo=(On+Xn)/2;if(On==Xn)cs=Vs=0;else{var fo=On-Xn;switch(Vs=uo>.5?fo/(2-On-Xn):fo/(On+Xn),On){case Bi:cs=(Qi-Gi)/fo+(Qi<Gi?6:0);break;case Qi:cs=(Gi-Bi)/fo+2;break;case Gi:cs=(Bi-Qi)/fo+4;break}cs/=6}return{h:cs,s:Vs,l:uo}}function In(Bi,Qi,Gi){var On,Xn,cs;Bi=Ai(Bi,360),Qi=Ai(Qi,100),Gi=Ai(Gi,100);function Vs(go,Po,Jo){return Jo<0&&(Jo+=1),Jo>1&&(Jo-=1),Jo<.16666666666666666?go+(Po-go)*6*Jo:Jo<.5?Po:Jo<.6666666666666666?go+(Po-go)*(.6666666666666666-Jo)*6:go}if(Qi===0)On=Xn=cs=Gi;else{var uo=Gi<.5?Gi*(1+Qi):Gi+Qi-Gi*Qi,fo=2*Gi-uo;On=Vs(fo,uo,Bi+.3333333333333333),Xn=Vs(fo,uo,Bi),cs=Vs(fo,uo,Bi-.3333333333333333)}return{r:On*255,g:Xn*255,b:cs*255}}function Vn(Bi,Qi,Gi){Bi=Ai(Bi,255),Qi=Ai(Qi,255),Gi=Ai(Gi,255);var On=Math.max(Bi,Qi,Gi),Xn=Math.min(Bi,Qi,Gi),cs,Vs,uo=On,fo=On-Xn;if(Vs=On===0?0:fo/On,On==Xn)cs=0;else{switch(On){case Bi:cs=(Qi-Gi)/fo+(Qi<Gi?6:0);break;case Qi:cs=(Gi-Bi)/fo+2;break;case Gi:cs=(Bi-Qi)/fo+4;break}cs/=6}return{h:cs,s:Vs,v:uo}}function bn(Bi,Qi,Gi){Bi=Ai(Bi,360)*6,Qi=Ai(Qi,100),Gi=Ai(Gi,100);var On=Math.floor(Bi),Xn=Bi-On,cs=Gi*(1-Qi),Vs=Gi*(1-Xn*Qi),uo=Gi*(1-(1-Xn)*Qi),fo=On%6,go=[Gi,Vs,cs,cs,uo,Gi][fo],Po=[uo,Gi,Gi,Vs,cs,cs][fo],Jo=[cs,cs,uo,Gi,Gi,Vs][fo];return{r:go*255,g:Po*255,b:Jo*255}}function Zi(Bi,Qi,Gi,On){var Xn=[Fn(Math.round(Bi).toString(16)),Fn(Math.round(Qi).toString(16)),Fn(Math.round(Gi).toString(16))];return On&&Xn[0].charAt(0)==Xn[0].charAt(1)&&Xn[1].charAt(0)==Xn[1].charAt(1)&&Xn[2].charAt(0)==Xn[2].charAt(1)?Xn[0].charAt(0)+Xn[1].charAt(0)+Xn[2].charAt(0):Xn.join("")}function un(Bi,Qi,Gi,On,Xn){var cs=[Fn(Math.round(Bi).toString(16)),Fn(Math.round(Qi).toString(16)),Fn(Math.round(Gi).toString(16)),Fn(Fi(On))];return Xn&&cs[0].charAt(0)==cs[0].charAt(1)&&cs[1].charAt(0)==cs[1].charAt(1)&&cs[2].charAt(0)==cs[2].charAt(1)&&cs[3].charAt(0)==cs[3].charAt(1)?cs[0].charAt(0)+cs[1].charAt(0)+cs[2].charAt(0)+cs[3].charAt(0):cs.join("")}function ls(Bi,Qi,Gi,On){var Xn=[Fn(Fi(On)),Fn(Math.round(Bi).toString(16)),Fn(Math.round(Qi).toString(16)),Fn(Math.round(Gi).toString(16))];return Xn.join("")}Li.equals=function(Bi,Qi){return!Bi||!Qi?!1:Li(Bi).toRgbString()==Li(Qi).toRgbString()},Li.random=function(){return Li.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function ks(Bi,Qi){Qi=Qi===0?0:Qi||10;var Gi=Li(Bi).toHsl();return Gi.s-=Qi/100,Gi.s=Ri(Gi.s),Li(Gi)}function En(Bi,Qi){Qi=Qi===0?0:Qi||10;var Gi=Li(Bi).toHsl();return Gi.s+=Qi/100,Gi.s=Ri(Gi.s),Li(Gi)}function qi(Bi){return Li(Bi).desaturate(100)}function sn(Bi,Qi){Qi=Qi===0?0:Qi||10;var Gi=Li(Bi).toHsl();return Gi.l+=Qi/100,Gi.l=Ri(Gi.l),Li(Gi)}function rs(Bi,Qi){Qi=Qi===0?0:Qi||10;var Gi=Li(Bi).toRgb();return Gi.r=Math.max(0,Math.min(255,Gi.r-Math.round(255*-(Qi/100)))),Gi.g=Math.max(0,Math.min(255,Gi.g-Math.round(255*-(Qi/100)))),Gi.b=Math.max(0,Math.min(255,Gi.b-Math.round(255*-(Qi/100)))),Li(Gi)}function hs(Bi,Qi){Qi=Qi===0?0:Qi||10;var Gi=Li(Bi).toHsl();return Gi.l-=Qi/100,Gi.l=Ri(Gi.l),Li(Gi)}function fs(Bi,Qi){var Gi=Li(Bi).toHsl(),On=(Gi.h+Qi)%360;return Gi.h=On<0?360+On:On,Li(Gi)}function yn(Bi){var Qi=Li(Bi).toHsl();return Qi.h=(Qi.h+180)%360,Li(Qi)}function mn(Bi,Qi){if(isNaN(Qi)||Qi<=0)throw new Error("Argument to polyad must be a positive number");for(var Gi=Li(Bi).toHsl(),On=[Li(Bi)],Xn=360/Qi,cs=1;cs<Qi;cs++)On.push(Li({h:(Gi.h+cs*Xn)%360,s:Gi.s,l:Gi.l}));return On}function Mn(Bi){var Qi=Li(Bi).toHsl(),Gi=Qi.h;return[Li(Bi),Li({h:(Gi+72)%360,s:Qi.s,l:Qi.l}),Li({h:(Gi+216)%360,s:Qi.s,l:Qi.l})]}function pi(Bi,Qi,Gi){Qi=Qi||6,Gi=Gi||30;var On=Li(Bi).toHsl(),Xn=360/Gi,cs=[Li(Bi)];for(On.h=(On.h-(Xn*Qi>>1)+720)%360;--Qi;)On.h=(On.h+Xn)%360,cs.push(Li(On));return cs}function rn(Bi,Qi){Qi=Qi||6;for(var Gi=Li(Bi).toHsv(),On=Gi.h,Xn=Gi.s,cs=Gi.v,Vs=[],uo=1/Qi;Qi--;)Vs.push(Li({h:On,s:Xn,v:cs})),cs=(cs+uo)%1;return Vs}Li.mix=function(Bi,Qi,Gi){Gi=Gi===0?0:Gi||50;var On=Li(Bi).toRgb(),Xn=Li(Qi).toRgb(),cs=Gi/100,Vs={r:(Xn.r-On.r)*cs+On.r,g:(Xn.g-On.g)*cs+On.g,b:(Xn.b-On.b)*cs+On.b,a:(Xn.a-On.a)*cs+On.a};return Li(Vs)},Li.readability=function(Bi,Qi){var Gi=Li(Bi),On=Li(Qi);return(Math.max(Gi.getLuminance(),On.getLuminance())+.05)/(Math.min(Gi.getLuminance(),On.getLuminance())+.05)},Li.isReadable=function(Bi,Qi,Gi){var On=Li.readability(Bi,Qi),Xn,cs;switch(cs=!1,Xn=wn(Gi),Xn.level+Xn.size){case"AAsmall":case"AAAlarge":cs=On>=4.5;break;case"AAlarge":cs=On>=3;break;case"AAAsmall":cs=On>=7;break}return cs},Li.mostReadable=function(Bi,Qi,Gi){var On=null,Xn=0,cs,Vs,uo,fo;Gi=Gi||{},Vs=Gi.includeFallbackColors,uo=Gi.level,fo=Gi.size;for(var go=0;go<Qi.length;go++)cs=Li.readability(Bi,Qi[go]),cs>Xn&&(Xn=cs,On=Li(Qi[go]));return Li.isReadable(Bi,On,{level:uo,size:fo})||!Vs?On:(Gi.includeFallbackColors=!1,Li.mostReadable(Bi,["#fff","#000"],Gi))};var dn=Li.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},pn=Li.hexNames=Pn(dn);function Pn(Bi){var Qi={};for(var Gi in Bi)Bi.hasOwnProperty(Gi)&&(Qi[Bi[Gi]]=Gi);return Qi}function nn(Bi){return Bi=parseFloat(Bi),(isNaN(Bi)||Bi<0||Bi>1)&&(Bi=1),Bi}function Ai(Bi,Qi){Wi(Bi)&&(Bi="100%");var Gi=an(Bi);return Bi=Math.min(Qi,Math.max(0,parseFloat(Bi))),Gi&&(Bi=parseInt(Bi*Qi,10)/100),Math.abs(Bi-Qi)<1e-6?1:Bi%Qi/parseFloat(Qi)}function Ri(Bi){return Math.min(1,Math.max(0,Bi))}function ki(Bi){return parseInt(Bi,16)}function Wi(Bi){return typeof Bi=="string"&&Bi.indexOf(".")!=-1&&parseFloat(Bi)===1}function an(Bi){return typeof Bi=="string"&&Bi.indexOf("%")!=-1}function Fn(Bi){return Bi.length==1?"0"+Bi:""+Bi}function en(Bi){return Bi<=1&&(Bi=Bi*100+"%"),Bi}function Fi(Bi){return Math.round(parseFloat(Bi)*255).toString(16)}function Oi(Bi){return ki(Bi)/255}var zi=function(){var Bi="[-\\+]?\\d+%?",Qi="[-\\+]?\\d*\\.\\d+%?",Gi="(?:"+Qi+")|(?:"+Bi+")",On="[\\s|\\(]+("+Gi+")[,|\\s]+("+Gi+")[,|\\s]+("+Gi+")\\s*\\)?",Xn="[\\s|\\(]+("+Gi+")[,|\\s]+("+Gi+")[,|\\s]+("+Gi+")[,|\\s]+("+Gi+")\\s*\\)?";return{CSS_UNIT:new RegExp(Gi),rgb:new RegExp("rgb"+On),rgba:new RegExp("rgba"+Xn),hsl:new RegExp("hsl"+On),hsla:new RegExp("hsla"+Xn),hsv:new RegExp("hsv"+On),hsva:new RegExp("hsva"+Xn),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Ti(Bi){return!!zi.CSS_UNIT.exec(Bi)}function Yi(Bi){Bi=Bi.replace(ri,"").replace(yi,"").toLowerCase();var Qi=!1;if(dn[Bi])Bi=dn[Bi],Qi=!0;else if(Bi=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Gi;return(Gi=zi.rgb.exec(Bi))?{r:Gi[1],g:Gi[2],b:Gi[3]}:(Gi=zi.rgba.exec(Bi))?{r:Gi[1],g:Gi[2],b:Gi[3],a:Gi[4]}:(Gi=zi.hsl.exec(Bi))?{h:Gi[1],s:Gi[2],l:Gi[3]}:(Gi=zi.hsla.exec(Bi))?{h:Gi[1],s:Gi[2],l:Gi[3],a:Gi[4]}:(Gi=zi.hsv.exec(Bi))?{h:Gi[1],s:Gi[2],v:Gi[3]}:(Gi=zi.hsva.exec(Bi))?{h:Gi[1],s:Gi[2],v:Gi[3],a:Gi[4]}:(Gi=zi.hex8.exec(Bi))?{r:ki(Gi[1]),g:ki(Gi[2]),b:ki(Gi[3]),a:Oi(Gi[4]),format:Qi?"name":"hex8"}:(Gi=zi.hex6.exec(Bi))?{r:ki(Gi[1]),g:ki(Gi[2]),b:ki(Gi[3]),format:Qi?"name":"hex"}:(Gi=zi.hex4.exec(Bi))?{r:ki(Gi[1]+""+Gi[1]),g:ki(Gi[2]+""+Gi[2]),b:ki(Gi[3]+""+Gi[3]),a:Oi(Gi[4]+""+Gi[4]),format:Qi?"name":"hex8"}:(Gi=zi.hex3.exec(Bi))?{r:ki(Gi[1]+""+Gi[1]),g:ki(Gi[2]+""+Gi[2]),b:ki(Gi[3]+""+Gi[3]),format:Qi?"name":"hex"}:!1}function wn(Bi){var Qi,Gi;return Bi=Bi||{level:"AA",size:"small"},Qi=(Bi.level||"AA").toUpperCase(),Gi=(Bi.size||"small").toLowerCase(),Qi!=="AA"&&Qi!=="AAA"&&(Qi="AA"),Gi!=="small"&&Gi!=="large"&&(Gi="small"),{level:Qi,size:Gi}}}},__webpack_module_cache__={};function __webpack_require__(oi){var bi=__webpack_module_cache__[oi];if(bi!==void 0)return bi.exports;var wi=__webpack_module_cache__[oi]={exports:{}};return __webpack_modules__[oi].call(wi.exports,wi,wi.exports,__webpack_require__),wi.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(oi){var bi=oi&&oi.__esModule?function(){return oi.default}:function(){return oi};return __webpack_require__.d(bi,{a:bi}),bi}}(),function(){var oi=Object.getPrototypeOf?function(wi){return Object.getPrototypeOf(wi)}:function(wi){return wi.__proto__},bi;__webpack_require__.t=function(wi,vi){if(vi&1&&(wi=this(wi)),vi&8||typeof wi=="object"&&wi&&(vi&4&&wi.__esModule||vi&16&&typeof wi.then=="function"))return wi;var ri=Object.create(null);__webpack_require__.r(ri);var yi={};bi=bi||[null,oi({}),oi([]),oi(oi)];for(var Li=vi&2&&wi;typeof Li=="object"&&!~bi.indexOf(Li);Li=oi(Li))Object.getOwnPropertyNames(Li).forEach(function(Ji){yi[Ji]=function(){return wi[Ji]}});return yi.default=function(){return wi},__webpack_require__.d(ri,yi),ri}}(),function(){__webpack_require__.d=function(oi,bi){for(var wi in bi)__webpack_require__.o(bi,wi)&&!__webpack_require__.o(oi,wi)&&Object.defineProperty(oi,wi,{enumerable:!0,get:bi[wi]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(oi){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(bi,wi){return __webpack_require__.f[wi](oi,bi),bi},[]))}}(),function(){__webpack_require__.u=function(oi){if(oi==="sortablejs")return"js/"+oi+".deb655b2.js";if(oi==="mermaid")return"js/"+oi+".212e9659.js";if(oi==="katex-")return"js/"+oi+".bd7ddd30.js";if(oi==="katex")return"js/"+oi+".6ad51582.js";if(oi==="asciinema-player")return"js/"+oi+".4c143977.js";if(oi==="pdfobject")return"js/"+oi+".5b03fd4e.js";if(oi==="dropzone")return"js/"+oi+".6ba4ca5d.js";if(oi==="easymde")return"js/"+oi+".0bb18d64.js";if(oi==="tribute")return"js/"+oi+".4863e12d.js";if(oi==="monaco")return"js/"+oi+".14c11225.js";if(oi==="citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl")return"js/"+oi+".f6949703.js";if(oi==="citation-js-formats")return"js/"+oi+".63828ec7.js";if(oi==="citation-js-bibtex")return"js/"+oi+".53a6f177.js";if(oi==="citation-js-csl")return"js/"+oi+".fb93f9bb.js";if(oi==="mcaptcha-vanilla-glue")return"js/"+oi+".53a504bd.js";if(oi==="contributors-graph-code-frequency-graph-recent-commits-graph")return"js/"+oi+".eb309961.js";if(oi==="contributors-graph")return"js/"+oi+".f652150c.js";if(oi==="code-frequency-graph")return"js/"+oi+".1d2f6f78.js";if(oi==="recent-commits-graph")return"js/"+oi+".32429bd5.js";if(oi==="colorpicker")return"js/"+oi+".de7eb406.js";if(oi==="scoped-access-token-selector")return"js/"+oi+".3fc6ff66.js";if(oi==="vendors-node_modules_mermaid_dist_c4Diagram-b2a90758_js")return"js/"+oi+".b115d364.js";if(oi==="-------")return"js/"+oi+".e4740076.js";if(oi==="-")return"js/-.2e273c97.js";if(oi==="vendors-node_modules_mermaid_dist_flowDiagram-5540d9b9_js")return"js/"+oi+".c9dfd7f1.js";if(oi==="node_modules_mermaid_dist_flowDiagram-v2-3b53844e_js")return"js/"+oi+".3dfd62f6.js";if(oi==="vendors-node_modules_mermaid_dist_erDiagram-47591fe2_js")return"js/"+oi+".f90a83d1.js";if(oi==="vendors-node_modules_mermaid_dist_gitGraphDiagram-96e6b4ee_js")return"js/"+oi+".11212bda.js";if(oi==="vendors-node_modules_mermaid_dist_ganttDiagram-9a3bba1f_js")return"js/"+oi+".89decf95.js";if(oi==="node_modules_mermaid_dist_infoDiagram-bcd20f53_js")return"js/"+oi+".1ec64fb5.js";if(oi==="vendors-node_modules_mermaid_dist_pieDiagram-79897490_js")return"js/"+oi+".25d40358.js";if(oi==="vendors-node_modules_mermaid_dist_quadrantDiagram-62f64e94_js")return"js/"+oi+".84bd154b.js";if(oi==="vendors-node_modules_mermaid_dist_xychartDiagram-ab372869_js")return"js/"+oi+".d1abe2d7.js";if(oi==="vendors-node_modules_mermaid_dist_requirementDiagram-05bf5f74_js")return"js/"+oi+".f38bab3a.js";if(oi==="vendors-node_modules_mermaid_dist_sequenceDiagram-acc0e65c_js")return"js/"+oi+".681b559c.js";if(oi==="node_modules_mermaid_dist_classDiagram-30eddba6_js")return"js/"+oi+".c230a2f5.js";if(oi==="node_modules_mermaid_dist_classDiagram-v2-f2df5561_js")return"js/"+oi+".b7b0fb7e.js";if(oi==="node_modules_mermaid_dist_stateDiagram-0ff1cf1a_js")return"js/"+oi+".b851cca1.js";if(oi==="node_modules_mermaid_dist_stateDiagram-v2-9a9d610d_js")return"js/"+oi+".51365024.js";if(oi==="vendors-node_modules_mermaid_dist_journeyDiagram-4fe6b3dc_js")return"js/"+oi+".42462367.js";if(oi==="vendors-node_modules_mermaid_dist_flowchart-elk-definition-5fe447d6_js")return"js/"+oi+".7f1b5b93.js";if(oi==="vendors-node_modules_mermaid_dist_timeline-definition-fea2a41d_js")return"js/"+oi+".617b37de.js";if(oi==="vendors-node_modules_mermaid_dist_mindmap-definition-f354de21_js")return"js/"+oi+".eab0b8bd.js";if(oi==="vendors-node_modules_mermaid_dist_sankeyDiagram-97764748_js")return"js/"+oi+".6f82a103.js";if(oi==="vendors-node_modules_mermaid_dist_blockDiagram-91b80b7a_js")return"js/"+oi+".fba3be75.js";if(oi==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_abap_abap_js")return"js/monaco-language-abap.9122d2d4.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_apex_apex_js")return"js/monaco-language-apex.610c28c9.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_azcli_azcli_js")return"js/monaco-language-azcli.349a5eaa.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_bat_bat_js")return"js/monaco-language-bat.2b9476f0.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_bicep_bicep_js")return"js/monaco-language-bicep.3e66fac6.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_cameligo_cameligo_js")return"js/monaco-language-cameligo.445ed0c7.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_clojure_clojure_js")return"js/monaco-language-clojure.83dc0bbb.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_coffee_coffee_js")return"js/monaco-language-coffee.387d6c21.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_cpp_cpp_js")return"js/monaco-language-cpp.0c19424e.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_csharp_csharp_js")return"js/monaco-language-csharp.b892b441.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_csp_csp_js")return"js/monaco-language-csp.57371501.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_css_css_js")return"js/monaco-language-css.a481ddf7.js";if(oi==="vendors-node_modules_monaco-editor_esm_vs_language_css_cssMode_js")return"js/monaco-language-cssmode.ba31beff.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_cypher_cypher_js")return"js/monaco-language-cypher.dc7676b2.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_dart_dart_js")return"js/monaco-language-dart.57075b92.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_dockerfile_dockerfile_js")return"js/monaco-language-dockerfile.f5cfdb39.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_ecl_ecl_js")return"js/monaco-language-ecl.3f530989.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_elixir_elixir_js")return"js/monaco-language-elixir.230a049c.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_flow9_flow9_js")return"js/monaco-language-flow9.305040be.js";if(oi==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_freemarker2_freemarker2_js")return"js/monaco-language-freemarker2.897fc90b.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_fsharp_fsharp_js")return"js/monaco-language-fsharp.cec45f33.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_go_go_js")return"js/monaco-language-go.94633690.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_graphql_graphql_js")return"js/monaco-language-graphql.fead87e5.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_handlebars_handlebars_js")return"js/monaco-language-handlebars.7bfbcb54.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_hcl_hcl_js")return"js/monaco-language-hcl.9153a792.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_html_html_js")return"js/monaco-language-html.c4cc0f74.js";if(oi==="vendors-node_modules_monaco-editor_esm_vs_language_html_htmlMode_js")return"js/monaco-language-htmlmode.fc96be9e.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_ini_ini_js")return"js/monaco-language-ini.d260907f.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_java_java_js")return"js/monaco-language-java.3bfef3f1.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_javascript_javascript_js")return"js/monaco-language-javascript.58403dc3.js";if(oi==="vendors-node_modules_monaco-editor_esm_vs_language_json_jsonMode_js")return"js/monaco-language-jsonmode.d8d06c45.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_julia_julia_js")return"js/monaco-language-julia.e8e36d82.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_kotlin_kotlin_js")return"js/monaco-language-kotlin.f5a8b6c9.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_less_less_js")return"js/monaco-language-less.e2ca09b9.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_lexon_lexon_js")return"js/monaco-language-lexon.9b6bf990.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_liquid_liquid_js")return"js/monaco-language-liquid.68495fcc.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_lua_lua_js")return"js/monaco-language-lua.afaa0d63.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_m3_m3_js")return"js/monaco-language-m3.310e9b80.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_markdown_markdown_js")return"js/monaco-language-markdown.d877fedf.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_mdx_mdx_js")return"js/monaco-language-mdx.92d3aecb.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_mips_mips_js")return"js/monaco-language-mips.5c681def.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_msdax_msdax_js")return"js/monaco-language-msdax.0817d48f.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_mysql_mysql_js")return"js/monaco-language-mysql.03e98e9e.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_objective-c_objective-c_js")return"js/monaco-language-objective-c.18b0cb16.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_pascal_pascal_js")return"js/monaco-language-pascal.cad8a1ef.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_pascaligo_pascaligo_js")return"js/monaco-language-pascaligo.a1fc02b4.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_perl_perl_js")return"js/monaco-language-perl.223dd050.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_pgsql_pgsql_js")return"js/monaco-language-pgsql.e8f7d3d9.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_php_php_js")return"js/monaco-language-php.fa660fa0.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_pla_pla_js")return"js/monaco-language-pla.bb335cb7.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_postiats_postiats_js")return"js/monaco-language-postiats.0bd89243.js";if(oi==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_powerquery_powerquery_js")return"js/monaco-language-powerquery.e1cb673c.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_powershell_powershell_js")return"js/monaco-language-powershell.634b742f.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_protobuf_protobuf_js")return"js/monaco-language-protobuf.1f67a7e8.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_pug_pug_js")return"js/monaco-language-pug.b925ebbc.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_python_python_js")return"js/monaco-language-python.8ff02699.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_qsharp_qsharp_js")return"js/monaco-language-qsharp.1dfd54e8.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_r_r_js")return"js/monaco-language-r.4150abff.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_razor_razor_js")return"js/monaco-language-razor.2bbd8573.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_redis_redis_js")return"js/monaco-language-redis.50d71e38.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_redshift_redshift_js")return"js/monaco-language-redshift.40ae621b.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_restructuredtext_restructuredtext_js")return"js/monaco-language-restructuredtext.a5b7a10c.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_ruby_ruby_js")return"js/monaco-language-ruby.b9af456d.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_rust_rust_js")return"js/monaco-language-rust.08ceb3bd.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_sb_sb_js")return"js/monaco-language-sb.eddcc78b.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_scala_scala_js")return"js/monaco-language-scala.d747eadc.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_scheme_scheme_js")return"js/monaco-language-scheme.5695e5f0.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_scss_scss_js")return"js/monaco-language-scss.49341316.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_shell_shell_js")return"js/monaco-language-shell.3c9a497d.js";if(oi==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_solidity_solidity_js")return"js/monaco-language-solidity.171a3cfd.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_sophia_sophia_js")return"js/monaco-language-sophia.c504660c.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_sparql_sparql_js")return"js/monaco-language-sparql.bb35ba95.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_sql_sql_js")return"js/monaco-language-sql.3d1f27ff.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_st_st_js")return"js/monaco-language-st.75edc68f.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_swift_swift_js")return"js/monaco-language-swift.296f74df.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_systemverilog_systemverilog_js")return"js/monaco-language-systemverilog.653c07e2.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_tcl_tcl_js")return"js/monaco-language-tcl.26f77644.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_twig_twig_js")return"js/monaco-language-twig.b3b1ea2d.js";if(oi==="vendors-node_modules_monaco-editor_esm_vs_language_typescript_tsMode_js")return"js/monaco-language-tsmode.22f6dbcc.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_vb_vb_js")return"js/monaco-language-vb.a663f826.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_wgsl_wgsl_js")return"js/monaco-language-wgsl.4e9ef98a.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_xml_xml_js")return"js/monaco-language-xml.6f02f736.js";if(oi==="node_modules_monaco-editor_esm_vs_basic-languages_yaml_yaml_js")return"js/monaco-language-yaml.a175e1de.js"}}(),function(){__webpack_require__.miniCssF=function(oi){return"css/"+oi+"."+{katex:"fb6ef55c","asciinema-player":"dd36a08e",dropzone:"5a752d14",monaco:"a3a0a182","contributors-graph":"66f42f73","code-frequency-graph":"55afbe7d","recent-commits-graph":"45c55234",colorpicker:"ec78e358"}[oi]+".css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(oi,bi){return Object.prototype.hasOwnProperty.call(oi,bi)}}(),function(){var oi={};__webpack_require__.l=function(bi,wi,vi,ri){if(oi[bi]){oi[bi].push(wi);return}var yi,Li;if(vi!==void 0)for(var Ji=document.getElementsByTagName("script"),tn=0;tn<Ji.length;tn++){var _n=Ji[tn];if(_n.getAttribute("src")==bi){yi=_n;break}}yi||(Li=!0,yi=document.createElement("script"),yi.charset="utf-8",yi.timeout=120,__webpack_require__.nc&&yi.setAttribute("nonce",__webpack_require__.nc),yi.src=bi),oi[bi]=[wi];var In=function(bn,Zi){yi.onerror=yi.onload=null,clearTimeout(Vn);var un=oi[bi];if(delete oi[bi],yi.parentNode&&yi.parentNode.removeChild(yi),un&&un.forEach(function(ls){return ls(Zi)}),bn)return bn(Zi)},Vn=setTimeout(In.bind(null,void 0,{type:"timeout",target:yi}),12e4);yi.onerror=In.bind(null,yi.onerror),yi.onload=In.bind(null,yi.onload),Li&&document.head.appendChild(yi)}}(),function(){__webpack_require__.r=function(oi){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(oi,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(oi,"__esModule",{value:!0})}}(),function(){var oi;__webpack_require__.g.importScripts&&(oi=__webpack_require__.g.location+"");var bi=__webpack_require__.g.document;if(!oi&&bi&&(bi.currentScript&&bi.currentScript.tagName.toUpperCase()==="SCRIPT"&&(oi=bi.currentScript.src),!oi)){var wi=bi.getElementsByTagName("script");if(wi.length)for(var vi=wi.length-1;vi>-1&&(!oi||!/^http(s?):/.test(oi));)oi=wi[vi--].src}if(!oi)throw new Error("Automatic publicPath is not supported in this browser");oi=oi.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=oi+"../"}(),function(){if(!(typeof document>"u")){var oi=function(ri,yi,Li,Ji,tn){var _n=document.createElement("link");_n.rel="stylesheet",_n.type="text/css",__webpack_require__.nc&&(_n.nonce=__webpack_require__.nc);var In=function(Vn){if(_n.onerror=_n.onload=null,Vn.type==="load")Ji();else{var bn=Vn&&Vn.type,Zi=Vn&&Vn.target&&Vn.target.href||yi,un=new Error("Loading CSS chunk "+ri+` failed.
(`+bn+": "+Zi+")");un.name="ChunkLoadError",un.code="CSS_CHUNK_LOAD_FAILED",un.type=bn,un.request=Zi,_n.parentNode&&_n.parentNode.removeChild(_n),tn(un)}};return _n.onerror=_n.onload=In,_n.href=yi,Li?Li.parentNode.insertBefore(_n,Li.nextSibling):document.head.appendChild(_n),_n},bi=function(ri,yi){for(var Li=document.getElementsByTagName("link"),Ji=0;Ji<Li.length;Ji++){var tn=Li[Ji],_n=tn.getAttribute("data-href")||tn.getAttribute("href");if(tn.rel==="stylesheet"&&(_n===ri||_n===yi))return tn}for(var In=document.getElementsByTagName("style"),Ji=0;Ji<In.length;Ji++){var tn=In[Ji],_n=tn.getAttribute("data-href");if(_n===ri||_n===yi)return tn}},wi=function(ri){return new Promise(function(yi,Li){var Ji=__webpack_require__.miniCssF(ri),tn=__webpack_require__.p+Ji;if(bi(Ji,tn))return yi();oi(ri,tn,null,yi,Li)})},vi={index:0};__webpack_require__.f.miniCss=function(ri,yi){var Li={katex:1,"asciinema-player":1,dropzone:1,monaco:1,"contributors-graph":1,"code-frequency-graph":1,"recent-commits-graph":1,colorpicker:1};vi[ri]?yi.push(vi[ri]):vi[ri]!==0&&Li[ri]&&yi.push(vi[ri]=wi(ri).then(function(){vi[ri]=0},function(Ji){throw delete vi[ri],Ji}))}}}(),function(){var oi={index:0};__webpack_require__.f.j=function(vi,ri){var yi=__webpack_require__.o(oi,vi)?oi[vi]:void 0;if(yi!==0)if(yi)ri.push(yi[2]);else{var Li=new Promise(function(In,Vn){yi=oi[vi]=[In,Vn]});ri.push(yi[2]=Li);var Ji=__webpack_require__.p+__webpack_require__.u(vi),tn=new Error,_n=function(In){if(__webpack_require__.o(oi,vi)&&(yi=oi[vi],yi!==0&&(oi[vi]=void 0),yi)){var Vn=In&&(In.type==="load"?"missing":In.type),bn=In&&In.target&&In.target.src;tn.message="Loading chunk "+vi+` failed.
(`+Vn+": "+bn+")",tn.name="ChunkLoadError",tn.type=Vn,tn.request=bn,yi[1](tn)}};__webpack_require__.l(Ji,_n,"chunk-"+vi,vi)}};var bi=function(vi,ri){var yi=ri[0],Li=ri[1],Ji=ri[2],tn,_n,In=0;if(yi.some(function(bn){return oi[bn]!==0})){for(tn in Li)__webpack_require__.o(Li,tn)&&(__webpack_require__.m[tn]=Li[tn]);if(Ji)var Vn=Ji(__webpack_require__)}for(vi&&vi(ri);In<yi.length;In++)_n=yi[In],__webpack_require__.o(oi,_n)&&oi[_n]&&oi[_n][0](),oi[_n]=0},wi=self.webpackChunk=self.webpackChunk||[];wi.forEach(bi.bind(null,0)),wi.push=bi.bind(null,wi.push.bind(wi))}();var __webpack_exports__={};(function(){"use strict";var oi=__webpack_require__("./node_modules/jquery/dist/jquery.js");window.$=window.jQuery=oi})(),function(){(function(oi,bi,wi,vi){"use strict";oi.isWindow=oi.isWindow||function(ri){return ri!=null&&ri===ri.window},bi=typeof bi<"u"&&bi.Math==Math?bi:typeof self<"u"&&self.Math==Math?self:Function("return this")(),oi.api=oi.fn.api=function(ri){var yi=oi.isFunction(this)?oi(bi):oi(this),Li=yi.selector||"",Ji=new Date().getTime(),tn=[],_n=arguments[0],In=typeof _n=="string",Vn=[].slice.call(arguments,1),bn;return yi.each(function(){var Zi=oi.isPlainObject(ri)?oi.extend(!0,{},oi.fn.api.settings,ri):oi.extend({},oi.fn.api.settings),un=Zi.namespace,ls=Zi.metadata,ks=Zi.selector,En=Zi.error,qi=Zi.className,sn="."+un,rs="module-"+un,hs=oi(this),fs=hs.closest(ks.form),yn=Zi.stateContext?oi(Zi.stateContext):hs,mn,Mn,pi,rn,dn,pn=this,Pn=yn[0],nn=hs.data(rs),Ai;Ai={initialize:function(){In||Ai.bind.events(),Ai.instantiate()},instantiate:function(){Ai.verbose("Storing instance of module",Ai),nn=Ai,hs.data(rs,nn)},destroy:function(){Ai.verbose("Destroying previous module for",pn),hs.removeData(rs).off(sn)},bind:{events:function(){var Ri=Ai.get.event();Ri?(Ai.verbose("Attaching API events to element",Ri),hs.on(Ri+sn,Ai.event.trigger)):Zi.on=="now"&&(Ai.debug("Querying API endpoint immediately"),Ai.query())}},decode:{json:function(Ri){if(Ri!==vi&&typeof Ri=="string")try{Ri=JSON.parse(Ri)}catch{}return Ri}},read:{cachedResponse:function(Ri){var ki;if(bi.Storage===vi){Ai.error(En.noStorage);return}return ki=sessionStorage.getItem(Ri),Ai.debug("Using cached response",Ri,ki),ki=Ai.decode.json(ki),ki}},write:{cachedResponse:function(Ri,ki){if(ki&&ki===""){Ai.debug("Response empty, not caching",ki);return}if(bi.Storage===vi){Ai.error(En.noStorage);return}oi.isPlainObject(ki)&&(ki=JSON.stringify(ki)),sessionStorage.setItem(Ri,ki),Ai.verbose("Storing cached response for url",Ri,ki)}},query:function(){if(Ai.is.disabled()){Ai.debug("Element is disabled API request aborted");return}if(Ai.is.loading())if(Zi.interruptRequests)Ai.debug("Interrupting previous request"),Ai.abort();else{Ai.debug("Cancelling request, previous request is still pending");return}if(Zi.defaultData&&oi.extend(!0,Zi.urlData,Ai.get.defaultData()),Zi.serializeForm&&(Zi.data=Ai.add.formData(Zi.data)),Mn=Ai.get.settings(),Mn===!1){Ai.cancelled=!0,Ai.error(En.beforeSend);return}else Ai.cancelled=!1;if(pi=Ai.get.templatedURL(),!pi&&!Ai.is.mocked()){Ai.error(En.missingURL);return}if(pi=Ai.add.urlData(pi),!(!pi&&!Ai.is.mocked())){if(Mn.url=Zi.base+pi,mn=oi.extend(!0,{},Zi,{type:Zi.method||Zi.type,data:rn,url:Zi.base+pi,beforeSend:Zi.beforeXHR,success:function(){},failure:function(){},complete:function(){}}),Ai.debug("Querying URL",mn.url),Ai.verbose("Using AJAX settings",mn),Zi.cache==="local"&&Ai.read.cachedResponse(pi)){Ai.debug("Response returned from local cache"),Ai.request=Ai.create.request(),Ai.request.resolveWith(Pn,[Ai.read.cachedResponse(pi)]);return}Zi.throttle?!Zi.throttleFirstRequest&&!Ai.timer?(Ai.debug("Sending request",rn,mn.method),Ai.send.request(),Ai.timer=setTimeout(function(){},Zi.throttle)):(Ai.debug("Throttling request",Zi.throttle),clearTimeout(Ai.timer),Ai.timer=setTimeout(function(){Ai.timer&&delete Ai.timer,Ai.debug("Sending throttled request",rn,mn.method),Ai.send.request()},Zi.throttle)):(Ai.debug("Sending request",rn,mn.method),Ai.send.request())}},should:{removeError:function(){return Zi.hideError===!0||Zi.hideError==="auto"&&!Ai.is.form()}},is:{disabled:function(){return hs.filter(ks.disabled).length>0},expectingJSON:function(){return Zi.dataType==="json"||Zi.dataType==="jsonp"},form:function(){return hs.is("form")||yn.is("form")},mocked:function(){return Zi.mockResponse||Zi.mockResponseAsync||Zi.response||Zi.responseAsync},input:function(){return hs.is("input")},loading:function(){return Ai.request?Ai.request.state()=="pending":!1},abortedRequest:function(Ri){return Ri&&Ri.readyState!==vi&&Ri.readyState===0?(Ai.verbose("XHR request determined to be aborted"),!0):(Ai.verbose("XHR request was not aborted"),!1)},validResponse:function(Ri){return!Ai.is.expectingJSON()||!oi.isFunction(Zi.successTest)?(Ai.verbose("Response is not JSON, skipping validation",Zi.successTest,Ri),!0):(Ai.debug("Checking JSON returned success",Zi.successTest,Ri),Zi.successTest(Ri)?(Ai.debug("Response passed success test",Ri),!0):(Ai.debug("Response failed success test",Ri),!1))}},was:{cancelled:function(){return Ai.cancelled||!1},succesful:function(){return Ai.verbose('This behavior will be deleted due to typo. Use "was successful" instead.'),Ai.was.successful()},successful:function(){return Ai.request&&Ai.request.state()=="resolved"},failure:function(){return Ai.request&&Ai.request.state()=="rejected"},complete:function(){return Ai.request&&(Ai.request.state()=="resolved"||Ai.request.state()=="rejected")}},add:{urlData:function(Ri,ki){var Wi,an;return Ri&&(Wi=Ri.match(Zi.regExp.required),an=Ri.match(Zi.regExp.optional),ki=ki||Zi.urlData,Wi&&(Ai.debug("Looking for required URL variables",Wi),oi.each(Wi,function(Fn,en){var Fi=en.indexOf("$")!==-1?en.substr(2,en.length-3):en.substr(1,en.length-2),Oi=oi.isPlainObject(ki)&&ki[Fi]!==vi?ki[Fi]:hs.data(Fi)!==vi?hs.data(Fi):yn.data(Fi)!==vi?yn.data(Fi):ki[Fi];if(Oi===vi)return Ai.error(En.requiredParameter,Fi,Ri),Ri=!1,!1;Ai.verbose("Found required variable",Fi,Oi),Oi=Zi.encodeParameters?Ai.get.urlEncodedValue(Oi):Oi,Ri=Ri.replace(en,Oi)})),an&&(Ai.debug("Looking for optional URL variables",Wi),oi.each(an,function(Fn,en){var Fi=en.indexOf("$")!==-1?en.substr(3,en.length-4):en.substr(2,en.length-3),Oi=oi.isPlainObject(ki)&&ki[Fi]!==vi?ki[Fi]:hs.data(Fi)!==vi?hs.data(Fi):yn.data(Fi)!==vi?yn.data(Fi):ki[Fi];Oi!==vi?(Ai.verbose("Optional variable Found",Fi,Oi),Ri=Ri.replace(en,Oi)):(Ai.verbose("Optional variable not found",Fi),Ri.indexOf("/"+en)!==-1?Ri=Ri.replace("/"+en,""):Ri=Ri.replace(en,""))}))),Ri},formData:function(Ri){var ki=oi.fn.serializeObject!==vi,Wi=ki?fs.serializeObject():fs.serialize(),an;return Ri=Ri||Zi.data,an=oi.isPlainObject(Ri),an?ki?(Ai.debug("Extending existing data with form data",Ri,Wi),Ri=oi.extend(!0,{},Ri,Wi)):(Ai.error(En.missingSerialize),Ai.debug("Cant extend data. Replacing data with form data",Ri,Wi),Ri=Wi):(Ai.debug("Adding form data",Wi),Ri=Wi),Ri}},send:{request:function(){Ai.set.loading(),Ai.request=Ai.create.request(),Ai.is.mocked()?Ai.mockedXHR=Ai.create.mockedXHR():Ai.xhr=Ai.create.xhr(),Zi.onRequest.call(Pn,Ai.request,Ai.xhr)}},event:{trigger:function(Ri){Ai.query(),(Ri.type=="submit"||Ri.type=="click")&&Ri.preventDefault()},xhr:{always:function(){},done:function(Ri,ki,Wi){var an=this,Fn=new Date().getTime()-dn,en=Zi.loadingDuration-Fn,Fi=oi.isFunction(Zi.onResponse)?Ai.is.expectingJSON()&&!Zi.rawResponse?Zi.onResponse.call(an,oi.extend(!0,{},Ri)):Zi.onResponse.call(an,Ri):!1;en=en>0?en:0,Fi&&(Ai.debug("Modified API response in onResponse callback",Zi.onResponse,Fi,Ri),Ri=Fi),en>0&&Ai.debug("Response completed early delaying state change by",en),setTimeout(function(){Ai.is.validResponse(Ri)?Ai.request.resolveWith(an,[Ri,Wi]):Ai.request.rejectWith(an,[Wi,"invalid"])},en)},fail:function(Ri,ki,Wi){var an=this,Fn=new Date().getTime()-dn,en=Zi.loadingDuration-Fn;en=en>0?en:0,en>0&&Ai.debug("Response completed early delaying state change by",en),setTimeout(function(){Ai.is.abortedRequest(Ri)?Ai.request.rejectWith(an,[Ri,"aborted",Wi]):Ai.request.rejectWith(an,[Ri,"error",ki,Wi])},en)}},request:{done:function(Ri,ki){Ai.debug("Successful API Response",Ri),Zi.cache==="local"&&pi&&(Ai.write.cachedResponse(pi,Ri),Ai.debug("Saving server response locally",Ai.cache)),Zi.onSuccess.call(Pn,Ri,hs,ki)},complete:function(Ri,ki){var Wi,an;Ai.was.successful()?(an=Ri,Wi=ki):(Wi=Ri,an=Ai.get.responseFromXHR(Wi)),Ai.remove.loading(),Zi.onComplete.call(Pn,an,hs,Wi)},fail:function(Ri,ki,Wi){var an=Ai.get.responseFromXHR(Ri),Fn=Ai.get.errorFromRequest(an,ki,Wi);if(ki=="aborted")return Ai.debug("XHR Aborted (Most likely caused by page navigation or CORS Policy)",ki,Wi),Zi.onAbort.call(Pn,ki,hs,Ri),!0;ki=="invalid"?Ai.debug("JSON did not pass success test. A server-side error has most likely occurred",an):ki=="error"&&Ri!==vi&&(Ai.debug("XHR produced a server error",ki,Wi),(Ri.status<200||Ri.status>=300)&&Wi!==vi&&Wi!==""&&Ai.error(En.statusMessage+Wi,mn.url),Zi.onError.call(Pn,Fn,hs,Ri)),Zi.errorDuration&&ki!=="aborted"&&(Ai.debug("Adding error state"),Ai.set.error(),Ai.should.removeError()&&setTimeout(Ai.remove.error,Zi.errorDuration)),Ai.debug("API Request failed",Fn,Ri),Zi.onFailure.call(Pn,an,hs,Ri)}}},create:{request:function(){return oi.Deferred().always(Ai.event.request.complete).done(Ai.event.request.done).fail(Ai.event.request.fail)},mockedXHR:function(){var Ri=!1,ki=!1,Wi=!1,an=Zi.mockResponse||Zi.response,Fn=Zi.mockResponseAsync||Zi.responseAsync,en,Fi,Oi;return Oi=oi.Deferred().always(Ai.event.xhr.complete).done(Ai.event.xhr.done).fail(Ai.event.xhr.fail),an?(oi.isFunction(an)?(Ai.debug("Using specified synchronous callback",an),Fi=an.call(Pn,Mn)):(Ai.debug("Using settings specified response",an),Fi=an),Oi.resolveWith(Pn,[Fi,Ri,{responseText:Fi}])):oi.isFunction(Fn)&&(en=function(zi){Ai.debug("Async callback returned response",zi),zi?Oi.resolveWith(Pn,[zi,Ri,{responseText:zi}]):Oi.rejectWith(Pn,[{responseText:zi},ki,Wi])},Ai.debug("Using specified async response callback",Fn),Fn.call(Pn,Mn,en)),Oi},xhr:function(){var Ri;return Ri=oi.ajax(mn).always(Ai.event.xhr.always).done(Ai.event.xhr.done).fail(Ai.event.xhr.fail),Ai.verbose("Created server request",Ri,mn),Ri}},set:{error:function(){Ai.verbose("Adding error state to element",yn),yn.addClass(qi.error)},loading:function(){Ai.verbose("Adding loading state to element",yn),yn.addClass(qi.loading),dn=new Date().getTime()}},remove:{error:function(){Ai.verbose("Removing error state from element",yn),yn.removeClass(qi.error)},loading:function(){Ai.verbose("Removing loading state from element",yn),yn.removeClass(qi.loading)}},get:{responseFromXHR:function(Ri){return oi.isPlainObject(Ri)?Ai.is.expectingJSON()?Ai.decode.json(Ri.responseText):Ri.responseText:!1},errorFromRequest:function(Ri,ki,Wi){return oi.isPlainObject(Ri)&&Ri.error!==vi?Ri.error:Zi.error[ki]!==vi?Zi.error[ki]:Wi},request:function(){return Ai.request||!1},xhr:function(){return Ai.xhr||!1},settings:function(){var Ri;return Ri=Zi.beforeSend.call(hs,Zi),Ri&&(Ri.success!==vi&&(Ai.debug("Legacy success callback detected",Ri),Ai.error(En.legacyParameters,Ri.success),Ri.onSuccess=Ri.success),Ri.failure!==vi&&(Ai.debug("Legacy failure callback detected",Ri),Ai.error(En.legacyParameters,Ri.failure),Ri.onFailure=Ri.failure),Ri.complete!==vi&&(Ai.debug("Legacy complete callback detected",Ri),Ai.error(En.legacyParameters,Ri.complete),Ri.onComplete=Ri.complete)),Ri===vi&&Ai.error(En.noReturnedValue),Ri===!1?Ri:Ri!==vi?oi.extend(!0,{},Ri):oi.extend(!0,{},Zi)},urlEncodedValue:function(Ri){var ki=bi.decodeURIComponent(Ri),Wi=bi.encodeURIComponent(Ri),an=ki!==Ri;return an?(Ai.debug("URL value is already encoded, avoiding double encoding",Ri),Ri):(Ai.verbose("Encoding value using encodeURIComponent",Ri,Wi),Wi)},defaultData:function(){var Ri={};return oi.isWindow(pn)||(Ai.is.input()?Ri.value=hs.val():Ai.is.form()||(Ri.text=hs.text())),Ri},event:function(){return oi.isWindow(pn)||Zi.on=="now"?(Ai.debug("API called without element, no events attached"),!1):Zi.on=="auto"?hs.is("input")?pn.oninput!==vi?"input":pn.onpropertychange!==vi?"propertychange":"keyup":hs.is("form")?"submit":"click":Zi.on},templatedURL:function(Ri){if(Ri=Ri||hs.data(ls.action)||Zi.action||!1,pi=hs.data(ls.url)||Zi.url||!1,pi)return Ai.debug("Using specified url",pi),pi;if(Ri){if(Ai.debug("Looking up url for action",Ri,Zi.api),Zi.api[Ri]===vi&&!Ai.is.mocked()){Ai.error(En.missingAction,Zi.action,Zi.api);return}pi=Zi.api[Ri]}else Ai.is.form()&&(pi=hs.attr("action")||yn.attr("action")||!1,Ai.debug("No url or action specified, defaulting to form action",pi));return pi}},abort:function(){var Ri=Ai.get.xhr();Ri&&Ri.state()!=="resolved"&&(Ai.debug("Cancelling API request"),Ri.abort())},reset:function(){Ai.remove.error(),Ai.remove.loading()},setting:function(Ri,ki){if(Ai.debug("Changing setting",Ri,ki),oi.isPlainObject(Ri))oi.extend(!0,Zi,Ri);else if(ki!==vi)oi.isPlainObject(Zi[Ri])?oi.extend(!0,Zi[Ri],ki):Zi[Ri]=ki;else return Zi[Ri]},internal:function(Ri,ki){if(oi.isPlainObject(Ri))oi.extend(!0,Ai,Ri);else if(ki!==vi)Ai[Ri]=ki;else return Ai[Ri]},debug:function(){!Zi.silent&&Zi.debug&&(Zi.performance?Ai.performance.log(arguments):(Ai.debug=Function.prototype.bind.call(console.info,console,Zi.name+":"),Ai.debug.apply(console,arguments)))},verbose:function(){!Zi.silent&&Zi.verbose&&Zi.debug&&(Zi.performance?Ai.performance.log(arguments):(Ai.verbose=Function.prototype.bind.call(console.info,console,Zi.name+":"),Ai.verbose.apply(console,arguments)))},error:function(){Zi.silent||(Ai.error=Function.prototype.bind.call(console.error,console,Zi.name+":"),Ai.error.apply(console,arguments))},performance:{log:function(Ri){var ki,Wi,an;Zi.performance&&(ki=new Date().getTime(),an=Ji||ki,Wi=ki-an,Ji=ki,tn.push({Name:Ri[0],Arguments:[].slice.call(Ri,1)||"","Execution Time":Wi})),clearTimeout(Ai.performance.timer),Ai.performance.timer=setTimeout(Ai.performance.display,500)},display:function(){var Ri=Zi.name+":",ki=0;Ji=!1,clearTimeout(Ai.performance.timer),oi.each(tn,function(Wi,an){ki+=an["Execution Time"]}),Ri+=" "+ki+"ms",Li&&(Ri+=" '"+Li+"'"),(console.group!==vi||console.table!==vi)&&tn.length>0&&(console.groupCollapsed(Ri),console.table?console.table(tn):oi.each(tn,function(Wi,an){console.log(an.Name+": "+an["Execution Time"]+"ms")}),console.groupEnd()),tn=[]}},invoke:function(Ri,ki,Wi){var an=nn,Fn,en,Fi;return ki=ki||Vn,Wi=pn||Wi,typeof Ri=="string"&&an!==vi&&(Ri=Ri.split(/[\. ]/),Fn=Ri.length-1,oi.each(Ri,function(Oi,zi){var Ti=Oi!=Fn?zi+Ri[Oi+1].charAt(0).toUpperCase()+Ri[Oi+1].slice(1):Ri;if(oi.isPlainObject(an[Ti])&&Oi!=Fn)an=an[Ti];else{if(an[Ti]!==vi)return en=an[Ti],!1;if(oi.isPlainObject(an[zi])&&Oi!=Fn)an=an[zi];else return an[zi]!==vi?(en=an[zi],!1):(Ai.error(En.method,Ri),!1)}})),oi.isFunction(en)?Fi=en.apply(Wi,ki):en!==vi&&(Fi=en),Array.isArray(bn)?bn.push(Fi):bn!==vi?bn=[bn,Fi]:Fi!==vi&&(bn=Fi),en}},In?(nn===vi&&Ai.initialize(),Ai.invoke(_n)):(nn!==vi&&nn.invoke("destroy"),Ai.initialize())}),bn!==vi?bn:this},oi.api.settings={name:"API",namespace:"api",debug:!1,verbose:!1,performance:!0,api:{},cache:!0,interruptRequests:!0,on:"auto",stateContext:!1,loadingDuration:0,hideError:"auto",errorDuration:2e3,encodeParameters:!0,action:!1,url:!1,base:"",urlData:{},defaultData:!0,serializeForm:!1,throttle:0,throttleFirstRequest:!0,method:"get",data:{},dataType:"json",mockResponse:!1,mockResponseAsync:!1,response:!1,responseAsync:!1,rawResponse:!1,beforeSend:function(ri){return ri},beforeXHR:function(ri){},onRequest:function(ri,yi){},onResponse:!1,onSuccess:function(ri,yi){},onComplete:function(ri,yi){},onFailure:function(ri,yi){},onError:function(ri,yi){},onAbort:function(ri,yi){},successTest:!1,error:{beforeSend:"The before send function has aborted the request",error:"There was an error with your request",exitConditions:"API Request Aborted. Exit conditions met",JSONParse:"JSON could not be parsed during error handling",legacyParameters:"You are using legacy API success callback names",method:"The method you called is not defined",missingAction:"API action used but no url was defined",missingSerialize:"jquery-serialize-object is required to add form data to an existing data object",missingURL:"No URL specified for api event",noReturnedValue:"The beforeSend callback must return a settings object, beforeSend ignored.",noStorage:"Caching responses locally requires session storage",parseError:"There was an error parsing your request",requiredParameter:"Missing a required URL parameter: ",statusMessage:"Server gave an error: ",timeout:"Your request timed out"},regExp:{required:/\{\$*[A-z0-9]+\}/g,optional:/\{\/\$*[A-z0-9]+\}/g},className:{loading:"loading",error:"error"},selector:{disabled:".disabled",form:"form"},metadata:{action:"action",url:"url"}}})(jQuery,window,document);(function(oi,bi,wi,vi){"use strict";oi.isFunction=oi.isFunction||function(ri){return typeof ri=="function"&&typeof ri.nodeType!="number"},bi=typeof bi<"u"&&bi.Math==Math?bi:typeof self<"u"&&self.Math==Math?self:Function("return this")(),oi.fn.dimmer=function(ri){var yi=oi(this),Li=new Date().getTime(),Ji=[],tn=arguments[0],_n=typeof tn=="string",In=[].slice.call(arguments,1),Vn;return yi.each(function(){var bn=oi.isPlainObject(ri)?oi.extend(!0,{},oi.fn.dimmer.settings,ri):oi.extend({},oi.fn.dimmer.settings),Zi=bn.selector,un=bn.namespace,ls=bn.className,ks=bn.error,En="."+un,qi="module-"+un,sn=yi.selector||"",rs="click",hs="ontouchstart"in wi.documentElement?"touchstart":"click",fs=oi(this),yn,mn,Mn=this,pi=fs.data(qi),rn;rn={preinitialize:function(){rn.is.dimmer()?(mn=fs.parent(),yn=fs):(mn=fs,rn.has.dimmer()?bn.dimmerName?yn=mn.find(Zi.dimmer).filter("."+bn.dimmerName):yn=mn.find(Zi.dimmer):yn=rn.create())},initialize:function(){rn.debug("Initializing dimmer",bn),rn.bind.events(),rn.set.dimmable(),rn.instantiate()},instantiate:function(){rn.verbose("Storing instance of module",rn),pi=rn,fs.data(qi,pi)},destroy:function(){rn.verbose("Destroying previous module",yn),rn.unbind.events(),rn.remove.variation(),mn.off(En)},bind:{events:function(){bn.on=="hover"?mn.on("mouseenter"+En,rn.show).on("mouseleave"+En,rn.hide):bn.on=="click"&&mn.on(rs+En,rn.toggle),rn.is.page()&&(rn.debug("Setting as a page dimmer",mn),rn.set.pageDimmer()),rn.is.closable()&&(rn.verbose("Adding dimmer close event",yn),mn.on(rs+En,Zi.dimmer,rn.event.click))}},unbind:{events:function(){fs.removeData(qi),mn.off(En)}},event:{click:function(dn){rn.verbose("Determining if event occured on dimmer",dn),(yn.find(dn.target).length===0||oi(dn.target).is(Zi.content))&&(rn.hide(),dn.stopImmediatePropagation())}},addContent:function(dn){var pn=oi(dn);rn.debug("Add content to dimmer",pn),pn.parent()[0]!==yn[0]&&pn.detach().appendTo(yn)},create:function(){var dn=oi(bn.template.dimmer(bn));return bn.dimmerName&&(rn.debug("Creating named dimmer",bn.dimmerName),dn.addClass(bn.dimmerName)),dn.appendTo(mn),dn},show:function(dn){dn=oi.isFunction(dn)?dn:function(){},rn.debug("Showing dimmer",yn,bn),rn.set.variation(),(!rn.is.dimmed()||rn.is.animating())&&rn.is.enabled()?(rn.animate.show(dn),bn.onShow.call(Mn),bn.onChange.call(Mn)):rn.debug("Dimmer is already shown or disabled")},hide:function(dn){dn=oi.isFunction(dn)?dn:function(){},rn.is.dimmed()||rn.is.animating()?(rn.debug("Hiding dimmer",yn),rn.animate.hide(dn),bn.onHide.call(Mn),bn.onChange.call(Mn)):rn.debug("Dimmer is not visible")},toggle:function(){rn.verbose("Toggling dimmer visibility",yn),rn.is.dimmed()?rn.is.closable()&&rn.hide():rn.show()},animate:{show:function(dn){dn=oi.isFunction(dn)?dn:function(){},bn.useCSS&&oi.fn.transition!==vi&&yn.transition("is supported")?(bn.useFlex?(rn.debug("Using flex dimmer"),rn.remove.legacy()):(rn.debug("Using legacy non-flex dimmer"),rn.set.legacy()),bn.opacity!=="auto"&&rn.set.opacity(),yn.transition({displayType:bn.useFlex?"flex":"block",animation:bn.transition+" in",queue:!1,duration:rn.get.duration(),useFailSafe:!0,onStart:function(){rn.set.dimmed()},onComplete:function(){rn.set.active(),dn()}})):(rn.verbose("Showing dimmer animation with javascript"),rn.set.dimmed(),bn.opacity=="auto"&&(bn.opacity=.8),yn.stop().css({opacity:0,width:"100%",height:"100%"}).fadeTo(rn.get.duration(),bn.opacity,function(){yn.removeAttr("style"),rn.set.active(),dn()}))},hide:function(dn){dn=oi.isFunction(dn)?dn:function(){},bn.useCSS&&oi.fn.transition!==vi&&yn.transition("is supported")?(rn.verbose("Hiding dimmer with css"),yn.transition({displayType:bn.useFlex?"flex":"block",animation:bn.transition+" out",queue:!1,duration:rn.get.duration(),useFailSafe:!0,onComplete:function(){rn.remove.dimmed(),rn.remove.variation(),rn.remove.active(),dn()}})):(rn.verbose("Hiding dimmer with javascript"),yn.stop().fadeOut(rn.get.duration(),function(){rn.remove.dimmed(),rn.remove.active(),yn.removeAttr("style"),dn()}))}},get:{dimmer:function(){return yn},duration:function(){return typeof bn.duration=="object"?rn.is.active()?bn.duration.hide:bn.duration.show:bn.duration}},has:{dimmer:function(){return bn.dimmerName?fs.find(Zi.dimmer).filter("."+bn.dimmerName).length>0:fs.find(Zi.dimmer).length>0}},is:{active:function(){return yn.hasClass(ls.active)},animating:function(){return yn.is(":animated")||yn.hasClass(ls.animating)},closable:function(){return bn.closable=="auto"?bn.on!="hover":bn.closable},dimmer:function(){return fs.hasClass(ls.dimmer)},dimmable:function(){return fs.hasClass(ls.dimmable)},dimmed:function(){return mn.hasClass(ls.dimmed)},disabled:function(){return mn.hasClass(ls.disabled)},enabled:function(){return!rn.is.disabled()},page:function(){return mn.is("body")},pageDimmer:function(){return yn.hasClass(ls.pageDimmer)}},can:{show:function(){return!yn.hasClass(ls.disabled)}},set:{opacity:function(dn){var pn=yn.css("background-color"),Pn=pn.split(","),nn=Pn&&Pn.length>=3;dn=bn.opacity===0?0:bn.opacity||dn,nn?(Pn[2]=Pn[2].replace(")",""),Pn[3]=dn+")",pn=Pn.join(",")):pn="rgba(0, 0, 0, "+dn+")",rn.debug("Setting opacity to",dn),yn.css("background-color",pn)},legacy:function(){yn.addClass(ls.legacy)},active:function(){yn.addClass(ls.active)},dimmable:function(){mn.addClass(ls.dimmable)},dimmed:function(){mn.addClass(ls.dimmed)},pageDimmer:function(){yn.addClass(ls.pageDimmer)},disabled:function(){yn.addClass(ls.disabled)},variation:function(dn){dn=dn||bn.variation,dn&&yn.addClass(dn)}},remove:{active:function(){yn.removeClass(ls.active)},legacy:function(){yn.removeClass(ls.legacy)},dimmed:function(){mn.removeClass(ls.dimmed)},disabled:function(){yn.removeClass(ls.disabled)},variation:function(dn){dn=dn||bn.variation,dn&&yn.removeClass(dn)}},setting:function(dn,pn){if(rn.debug("Changing setting",dn,pn),oi.isPlainObject(dn))oi.extend(!0,bn,dn);else if(pn!==vi)oi.isPlainObject(bn[dn])?oi.extend(!0,bn[dn],pn):bn[dn]=pn;else return bn[dn]},internal:function(dn,pn){if(oi.isPlainObject(dn))oi.extend(!0,rn,dn);else if(pn!==vi)rn[dn]=pn;else return rn[dn]},debug:function(){!bn.silent&&bn.debug&&(bn.performance?rn.performance.log(arguments):(rn.debug=Function.prototype.bind.call(console.info,console,bn.name+":"),rn.debug.apply(console,arguments)))},verbose:function(){!bn.silent&&bn.verbose&&bn.debug&&(bn.performance?rn.performance.log(arguments):(rn.verbose=Function.prototype.bind.call(console.info,console,bn.name+":"),rn.verbose.apply(console,arguments)))},error:function(){bn.silent||(rn.error=Function.prototype.bind.call(console.error,console,bn.name+":"),rn.error.apply(console,arguments))},performance:{log:function(dn){var pn,Pn,nn;bn.performance&&(pn=new Date().getTime(),nn=Li||pn,Pn=pn-nn,Li=pn,Ji.push({Name:dn[0],Arguments:[].slice.call(dn,1)||"",Element:Mn,"Execution Time":Pn})),clearTimeout(rn.performance.timer),rn.performance.timer=setTimeout(rn.performance.display,500)},display:function(){var dn=bn.name+":",pn=0;Li=!1,clearTimeout(rn.performance.timer),oi.each(Ji,function(Pn,nn){pn+=nn["Execution Time"]}),dn+=" "+pn+"ms",sn&&(dn+=" '"+sn+"'"),yi.length>1&&(dn+=" ("+yi.length+")"),(console.group!==vi||console.table!==vi)&&Ji.length>0&&(console.groupCollapsed(dn),console.table?console.table(Ji):oi.each(Ji,function(Pn,nn){console.log(nn.Name+": "+nn["Execution Time"]+"ms")}),console.groupEnd()),Ji=[]}},invoke:function(dn,pn,Pn){var nn=pi,Ai,Ri,ki;return pn=pn||In,Pn=Mn||Pn,typeof dn=="string"&&nn!==vi&&(dn=dn.split(/[\. ]/),Ai=dn.length-1,oi.each(dn,function(Wi,an){var Fn=Wi!=Ai?an+dn[Wi+1].charAt(0).toUpperCase()+dn[Wi+1].slice(1):dn;if(oi.isPlainObject(nn[Fn])&&Wi!=Ai)nn=nn[Fn];else{if(nn[Fn]!==vi)return Ri=nn[Fn],!1;if(oi.isPlainObject(nn[an])&&Wi!=Ai)nn=nn[an];else return nn[an]!==vi?(Ri=nn[an],!1):(rn.error(ks.method,dn),!1)}})),oi.isFunction(Ri)?ki=Ri.apply(Pn,pn):Ri!==vi&&(ki=Ri),Array.isArray(Vn)?Vn.push(ki):Vn!==vi?Vn=[Vn,ki]:ki!==vi&&(Vn=ki),Ri}},rn.preinitialize(),_n?(pi===vi&&rn.initialize(),rn.invoke(tn)):(pi!==vi&&pi.invoke("destroy"),rn.initialize())}),Vn!==vi?Vn:this},oi.fn.dimmer.settings={name:"Dimmer",namespace:"dimmer",silent:!1,debug:!1,verbose:!1,performance:!0,useFlex:!0,dimmerName:!1,variation:!1,closable:"auto",useCSS:!0,transition:"fade",on:!1,opacity:"auto",duration:{show:500,hide:500},displayLoader:!1,loaderText:!1,loaderVariation:"",onChange:function(){},onShow:function(){},onHide:function(){},error:{method:"The method you called is not defined."},className:{active:"active",animating:"animating",dimmable:"dimmable",dimmed:"dimmed",dimmer:"dimmer",disabled:"disabled",hide:"hide",legacy:"legacy",pageDimmer:"page",show:"show",loader:"ui loader"},selector:{dimmer:"> .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(ri){var yi=oi("<div/>").addClass("ui dimmer"),Li;return ri.displayLoader&&(Li=oi("<div/>").addClass(ri.className.loader).addClass(ri.loaderVariation),ri.loaderText&&(Li.text(ri.loaderText),Li.addClass("text")),yi.append(Li)),yi}}}})(jQuery,window,document);(function(oi,bi,wi,vi){"use strict";oi.isFunction=oi.isFunction||function(ri){return typeof ri=="function"&&typeof ri.nodeType!="number"},bi=typeof bi<"u"&&bi.Math==Math?bi:typeof self<"u"&&self.Math==Math?self:Function("return this")(),oi.fn.dropdown=function(ri){var yi=oi(this),Li=oi(wi),Ji=yi.selector||"",tn="ontouchstart"in wi.documentElement,_n="click",In=tn?"touchstart":"click",Vn=new Date().getTime(),bn=[],Zi=arguments[0],un=typeof Zi=="string",ls=[].slice.call(arguments,1),ks;return yi.each(function(En){var qi=oi.isPlainObject(ri)?oi.extend(!0,{},oi.fn.dropdown.settings,ri):oi.extend({},oi.fn.dropdown.settings),sn=qi.className,rs=qi.message,hs=qi.fields,fs=qi.keys,yn=qi.metadata,mn=qi.namespace,Mn=qi.regExp,pi=qi.selector,rn=qi.error,dn=qi.templates,pn="."+mn,Pn="module-"+mn,nn=oi(this),Ai=oi(qi.context),Ri=nn.find(pi.text),ki=nn.find(pi.search),Wi=nn.find(pi.sizer),an=nn.find(pi.input),Fn=nn.find(pi.icon),en=nn.find(pi.clearIcon),Fi=nn.prev().find(pi.text).length>0?nn.prev().find(pi.text):nn.prev(),Oi=nn.children(pi.menu),zi=Oi.find(pi.item),Ti=qi.hideDividers?zi.parent().children(pi.divider):oi(),Yi=!1,wn=!1,Bi=!1,Qi=!1,Gi=this,On=nn.data(Pn),Xn,cs,Vs,uo,fo,go,Po,Jo,ca,gi;gi={initialize:function(){gi.debug("Initializing dropdown",qi),gi.is.alreadySetup()?gi.setup.reference():(qi.ignoreDiacritics&&!String.prototype.normalize&&(qi.ignoreDiacritics=!1,gi.error(rn.noNormalize,Gi)),gi.setup.layout(),qi.values&&(gi.set.initialLoad(),gi.change.values(qi.values),gi.remove.initialLoad()),gi.refreshData(),gi.save.defaults(),gi.restore.selected(),gi.create.id(),gi.bind.events(),gi.observeChanges(),gi.instantiate())},instantiate:function(){gi.verbose("Storing instance of dropdown",gi),On=gi,nn.data(Pn,gi)},destroy:function(){gi.verbose("Destroying previous dropdown",nn),gi.remove.tabbable(),gi.remove.active(),Oi.transition("stop all"),Oi.removeClass(sn.visible).addClass(sn.hidden),nn.off(pn).removeData(Pn),Oi.off(pn),Li.off(fo),gi.disconnect.menuObserver(),gi.disconnect.selectObserver(),gi.disconnect.classObserver()},observeChanges:function(){"MutationObserver"in bi&&(Po=new MutationObserver(gi.event.select.mutation),Jo=new MutationObserver(gi.event.menu.mutation),ca=new MutationObserver(gi.event.class.mutation),gi.debug("Setting up mutation observer",Po,Jo,ca),gi.observe.select(),gi.observe.menu(),gi.observe.class())},disconnect:{menuObserver:function(){Jo&&Jo.disconnect()},selectObserver:function(){Po&&Po.disconnect()},classObserver:function(){ca&&ca.disconnect()}},observe:{select:function(){gi.has.input()&&Po&&Po.observe(nn[0],{childList:!0,subtree:!0})},menu:function(){gi.has.menu()&&Jo&&Jo.observe(Oi[0],{childList:!0,subtree:!0})},class:function(){gi.has.search()&&ca&&ca.observe(nn[0],{attributes:!0})}},create:{id:function(){go=(Math.random().toString(16)+"000000000").substr(2,8),fo="."+go,gi.verbose("Creating unique id for element",go)},userChoice:function(Si){var $i,kn,Ln,Un;return Si=Si||gi.get.userValues(),Si?(Si=Array.isArray(Si)?Si:[Si],oi.each(Si,function(Jn,Ys){gi.get.item(Ys)===!1&&(Un=qi.templates.addition(gi.add.variables(rs.addResult,Ys)),kn=oi("<div />").html(Un).attr("data-"+yn.value,Ys).attr("data-"+yn.text,Ys).addClass(sn.addition).addClass(sn.item),qi.hideAdditions&&kn.addClass(sn.hidden),$i=$i===vi?kn:$i.add(kn),gi.verbose("Creating user choices for value",Ys,kn))}),$i):!1},userLabels:function(Si){var $i=gi.get.userValues();$i&&(gi.debug("Adding user labels",$i),oi.each($i,function(kn,Ln){gi.verbose("Adding custom user value"),gi.add.label(Ln,Ln)}))},menu:function(){Oi=oi("<div />").addClass(sn.menu).appendTo(nn)},sizer:function(){Wi=oi("<span />").addClass(sn.sizer).insertAfter(ki)}},search:function(Si){Si=Si!==vi?Si:gi.get.query(),gi.verbose("Searching for query",Si),gi.has.minCharacters(Si)?gi.filter(Si):gi.hide(null,!0)},select:{firstUnfiltered:function(){gi.verbose("Selecting first non-filtered element"),gi.remove.selectedItem(),zi.not(pi.unselectable).not(pi.addition+pi.hidden).eq(0).addClass(sn.selected)},nextAvailable:function(Si){Si=Si.eq(0);var $i=Si.nextAll(pi.item).not(pi.unselectable).eq(0),kn=Si.prevAll(pi.item).not(pi.unselectable).eq(0),Ln=$i.length>0;Ln?(gi.verbose("Moving selection to",$i),$i.addClass(sn.selected)):(gi.verbose("Moving selection to",kn),kn.addClass(sn.selected))}},setup:{api:function(){var Si={debug:qi.debug,urlData:{value:gi.get.value(),query:gi.get.query()},on:!1};gi.verbose("First request, initializing API"),nn.api(Si)},layout:function(){nn.is("select")&&(gi.setup.select(),gi.setup.returnedObject()),gi.has.menu()||gi.create.menu(),gi.is.selection()&&gi.is.clearable()&&!gi.has.clearItem()&&(gi.verbose("Adding clear icon"),en=oi("<i />").addClass("remove icon").insertBefore(Ri)),gi.is.search()&&!gi.has.search()&&(gi.verbose("Adding search input"),ki=oi("<input />").addClass(sn.search).prop("autocomplete","off").insertBefore(Ri)),gi.is.multiple()&&gi.is.searchSelection()&&!gi.has.sizer()&&gi.create.sizer(),qi.allowTab&&gi.set.tabbable()},select:function(){var Si=gi.get.selectValues();gi.debug("Dropdown initialized on a select",Si),nn.is("select")&&(an=nn),an.parent(pi.dropdown).length>0?(gi.debug("UI dropdown already exists. Creating dropdown menu only"),nn=an.closest(pi.dropdown),gi.has.menu()||gi.create.menu(),Oi=nn.children(pi.menu),gi.setup.menu(Si)):(gi.debug("Creating entire dropdown from select"),nn=oi("<div />").attr("class",an.attr("class")).addClass(sn.selection).addClass(sn.dropdown).html(dn.dropdown(Si,hs,qi.preserveHTML,qi.className)).insertBefore(an),an.hasClass(sn.multiple)&&an.prop("multiple")===!1&&(gi.error(rn.missingMultiple),an.prop("multiple",!0)),an.is("[multiple]")&&gi.set.multiple(),an.prop("disabled")&&(gi.debug("Disabling dropdown"),nn.addClass(sn.disabled)),an.removeAttr("required").removeAttr("class").detach().prependTo(nn)),gi.refresh()},menu:function(Si){Oi.html(dn.menu(Si,hs,qi.preserveHTML,qi.className)),zi=Oi.find(pi.item),Ti=qi.hideDividers?zi.parent().children(pi.divider):oi()},reference:function(){gi.debug("Dropdown behavior was called on select, replacing with closest dropdown"),nn=nn.parent(pi.dropdown),On=nn.data(Pn),Gi=nn.get(0),gi.refresh(),gi.setup.returnedObject()},returnedObject:function(){var Si=yi.slice(0,En),$i=yi.slice(En+1);yi=Si.add(nn).add($i)}},refresh:function(){gi.refreshSelectors(),gi.refreshData()},refreshItems:function(){zi=Oi.find(pi.item),Ti=qi.hideDividers?zi.parent().children(pi.divider):oi()},refreshSelectors:function(){gi.verbose("Refreshing selector cache"),Ri=nn.find(pi.text),ki=nn.find(pi.search),an=nn.find(pi.input),Fn=nn.find(pi.icon),Fi=nn.prev().find(pi.text).length>0?nn.prev().find(pi.text):nn.prev(),Oi=nn.children(pi.menu),zi=Oi.find(pi.item),Ti=qi.hideDividers?zi.parent().children(pi.divider):oi()},refreshData:function(){gi.verbose("Refreshing cached metadata"),zi.removeData(yn.text).removeData(yn.value)},clearData:function(){gi.verbose("Clearing metadata"),zi.removeData(yn.text).removeData(yn.value),nn.removeData(yn.defaultText).removeData(yn.defaultValue).removeData(yn.placeholderText)},toggle:function(){gi.verbose("Toggling menu visibility"),gi.is.active()?gi.hide():gi.show()},show:function(Si,$i){if(Si=oi.isFunction(Si)?Si:function(){},!gi.can.show()&&gi.is.remote()&&(gi.debug("No API results retrieved, searching before show"),gi.queryRemote(gi.get.query(),gi.show)),gi.can.show()&&!gi.is.active()){if(gi.debug("Showing dropdown"),gi.has.message()&&!(gi.has.maxSelections()||gi.has.allResultsFiltered())&&gi.remove.message(),gi.is.allFiltered())return!0;qi.onShow.call(Gi)!==!1&&gi.animate.show(function(){gi.can.click()&&gi.bind.intent(),gi.has.search()&&!$i&&gi.focusSearch(),gi.set.visible(),Si.call(Gi)})}},hide:function(Si,$i){Si=oi.isFunction(Si)?Si:function(){},gi.is.active()&&!gi.is.animatingOutward()?(gi.debug("Hiding dropdown"),qi.onHide.call(Gi)!==!1&&gi.animate.hide(function(){gi.remove.visible(),gi.is.focusedOnSearch()&&$i!==!0&&ki.blur(),Si.call(Gi)})):gi.can.click()&&gi.unbind.intent(),Qi=!1},hideOthers:function(){gi.verbose("Finding other dropdowns to hide"),yi.not(nn).has(pi.menu+"."+sn.visible).dropdown("hide")},hideMenu:function(){gi.verbose("Hiding menu instantaneously"),gi.remove.active(),gi.remove.visible(),Oi.transition("hide")},hideSubMenus:function(){var Si=Oi.children(pi.item).find(pi.menu);gi.verbose("Hiding sub menus",Si),Si.transition("hide")},bind:{events:function(){gi.bind.keyboardEvents(),gi.bind.inputEvents(),gi.bind.mouseEvents()},keyboardEvents:function(){gi.verbose("Binding keyboard events"),nn.on("keydown"+pn,gi.event.keydown),gi.has.search()&&nn.on(gi.get.inputEvent()+pn,pi.search,gi.event.input),gi.is.multiple()&&Li.on("keydown"+fo,gi.event.document.keydown)},inputEvents:function(){gi.verbose("Binding input change events"),nn.on("change"+pn,pi.input,gi.event.change)},mouseEvents:function(){gi.verbose("Binding mouse events"),gi.is.multiple()&&nn.on(_n+pn,pi.label,gi.event.label.click).on(_n+pn,pi.remove,gi.event.remove.click),gi.is.searchSelection()?(nn.on("mousedown"+pn,gi.event.mousedown).on("mouseup"+pn,gi.event.mouseup).on("mousedown"+pn,pi.menu,gi.event.menu.mousedown).on("mouseup"+pn,pi.menu,gi.event.menu.mouseup).on(_n+pn,pi.icon,gi.event.icon.click).on(_n+pn,pi.clearIcon,gi.event.clearIcon.click).on("focus"+pn,pi.search,gi.event.search.focus).on(_n+pn,pi.search,gi.event.search.focus).on("blur"+pn,pi.search,gi.event.search.blur).on(_n+pn,pi.text,gi.event.text.focus),gi.is.multiple()&&nn.on(_n+pn,gi.event.click)):(qi.on=="click"?nn.on(_n+pn,pi.icon,gi.event.icon.click).on(_n+pn,gi.event.test.toggle):qi.on=="hover"?nn.on("mouseenter"+pn,gi.delay.show).on("mouseleave"+pn,gi.delay.hide):nn.on(qi.on+pn,gi.toggle),nn.on("mousedown"+pn,gi.event.mousedown).on("mouseup"+pn,gi.event.mouseup).on("focus"+pn,gi.event.focus).on(_n+pn,pi.clearIcon,gi.event.clearIcon.click),gi.has.menuSearch()?nn.on("blur"+pn,pi.search,gi.event.search.blur):nn.on("blur"+pn,gi.event.blur)),Oi.on((tn?"touchstart":"mouseenter")+pn,pi.item,gi.event.item.mouseenter).on("mouseleave"+pn,pi.item,gi.event.item.mouseleave).on("click"+pn,pi.item,gi.event.item.click)},intent:function(){gi.verbose("Binding hide intent event to document"),tn&&Li.on("touchstart"+fo,gi.event.test.touch).on("touchmove"+fo,gi.event.test.touch),Li.on(_n+fo,gi.event.test.hide)}},unbind:{intent:function(){gi.verbose("Removing hide intent event from document"),tn&&Li.off("touchstart"+fo).off("touchmove"+fo),Li.off(_n+fo)}},filter:function(Si){var $i=Si!==vi?Si:gi.get.query(),kn=function(){gi.is.multiple()&&gi.filterActive(),(Si||!Si&&gi.get.activeItem().length==0)&&gi.select.firstUnfiltered(),gi.has.allResultsFiltered()?qi.onNoResults.call(Gi,$i)?qi.allowAdditions?qi.hideAdditions&&(gi.verbose("User addition with no menu, setting empty style"),gi.set.empty(),gi.hideMenu()):(gi.verbose("All items filtered, showing message",$i),gi.add.message(rs.noResults)):(gi.verbose("All items filtered, hiding dropdown",$i),gi.hideMenu()):(gi.remove.empty(),gi.remove.message()),qi.allowAdditions&&gi.add.userSuggestion(gi.escape.htmlEntities(Si)),gi.is.searchSelection()&&gi.can.show()&&gi.is.focusedOnSearch()&&gi.show()};qi.useLabels&&gi.has.maxSelections()||(qi.apiSettings?gi.can.useAPI()?gi.queryRemote($i,function(){qi.filterRemoteData&&gi.filterItems($i);var Ln=an.val();Array.isArray(Ln)||(Ln=Ln&&Ln!==""?Ln.split(qi.delimiter):[]),oi.each(Ln,function(Un,Jn){zi.filter('[data-value="'+Jn+'"]').addClass(sn.filtered)}),kn()}):gi.error(rn.noAPI):(gi.filterItems($i),kn()))},queryRemote:function(Si,$i){var kn={errorDuration:!1,cache:"local",throttle:qi.throttle,urlData:{query:Si},onError:function(){gi.add.message(rs.serverError),$i()},onFailure:function(){gi.add.message(rs.serverError),$i()},onSuccess:function(Ln){var Un=Ln[hs.remoteValues];Array.isArray(Un)||(Un=[]),gi.remove.message();var Jn={};Jn[hs.values]=Un,gi.setup.menu(Jn),Un.length===0&&!qi.allowAdditions&&gi.add.message(rs.noResults),$i()}};nn.api("get request")||gi.setup.api(),kn=oi.extend(!0,{},kn,qi.apiSettings),nn.api("setting",kn).api("query")},filterItems:function(Si){var $i=gi.remove.diacritics(Si!==vi?Si:gi.get.query()),kn=null,Ln=gi.escape.string($i),Un=(qi.ignoreSearchCase?"i":"")+"gm",Jn=new RegExp("^"+Ln,Un);gi.has.query()&&(kn=[],gi.verbose("Searching for matching values",$i),zi.each(function(){var Ys=oi(this),bo,_o;if(Ys.hasClass(sn.unfilterable))return kn.push(this),!0;if(qi.match==="both"||qi.match==="text"){if(bo=gi.remove.diacritics(String(gi.get.choiceText(Ys,!1))),bo.search(Jn)!==-1)return kn.push(this),!0;if(qi.fullTextSearch==="exact"&&gi.exactSearch($i,bo))return kn.push(this),!0;if(qi.fullTextSearch===!0&&gi.fuzzySearch($i,bo))return kn.push(this),!0}if(qi.match==="both"||qi.match==="value"){if(_o=gi.remove.diacritics(String(gi.get.choiceValue(Ys,bo))),_o.search(Jn)!==-1)return kn.push(this),!0;if(qi.fullTextSearch==="exact"&&gi.exactSearch($i,_o))return kn.push(this),!0;if(qi.fullTextSearch===!0&&gi.fuzzySearch($i,_o))return kn.push(this),!0}})),gi.debug("Showing only matched items",$i),gi.remove.filteredItem(),kn&&zi.not(kn).addClass(sn.filtered),gi.has.query()?qi.hideDividers===!0?Ti.addClass(sn.hidden):qi.hideDividers==="empty"&&Ti.removeClass(sn.hidden).filter(function(){var Ys=oi(this).nextUntil(pi.item);return(Ys.length?Ys:oi(this)).nextUntil(pi.divider).filter(pi.item+":not(."+sn.filtered+")").length===0}).addClass(sn.hidden):Ti.removeClass(sn.hidden)},fuzzySearch:function(Si,$i){var kn=$i.length,Ln=Si.length;if(Si=qi.ignoreSearchCase?Si.toLowerCase():Si,$i=qi.ignoreSearchCase?$i.toLowerCase():$i,Ln>kn)return!1;if(Ln===kn)return Si===$i;e:for(var Un=0,Jn=0;Un<Ln;Un++){for(var Ys=Si.charCodeAt(Un);Jn<kn;)if($i.charCodeAt(Jn++)===Ys)continue e;return!1}return!0},exactSearch:function(Si,$i){return Si=qi.ignoreSearchCase?Si.toLowerCase():Si,$i=qi.ignoreSearchCase?$i.toLowerCase():$i,$i.indexOf(Si)>-1},filterActive:function(){qi.useLabels&&zi.filter("."+sn.active).addClass(sn.filtered)},focusSearch:function(Si){gi.has.search()&&!gi.is.focusedOnSearch()&&(Si?(nn.off("focus"+pn,pi.search),ki.focus(),nn.on("focus"+pn,pi.search,gi.event.search.focus)):ki.focus())},blurSearch:function(){gi.has.search()&&ki.blur()},forceSelection:function(){var Si=zi.not(sn.filtered).filter("."+sn.selected).eq(0),$i=zi.not(sn.filtered).filter("."+sn.active).eq(0),kn=Si.length>0?Si:$i,Ln=kn.length>0;qi.allowAdditions||Ln&&!gi.is.multiple()?(gi.debug("Forcing partial selection to selected item",kn),gi.event.item.click.call(kn,{},!0)):gi.remove.searchTerm()},change:{values:function(Si){qi.allowAdditions||gi.clear(),gi.debug("Creating dropdown with specified values",Si);var $i={};$i[hs.values]=Si,gi.setup.menu($i),oi.each(Si,function(kn,Ln){if(Ln.selected==!0&&(gi.debug("Setting initial selection to",Ln[hs.value]),gi.set.selected(Ln[hs.value]),!gi.is.multiple()))return!1}),gi.has.selectInput()&&(gi.disconnect.selectObserver(),an.html(""),an.append("<option disabled selected value></option>"),oi.each(Si,function(kn,Ln){var Un=qi.templates.deQuote(Ln[hs.value]),Jn=qi.templates.escape(Ln[hs.name]||"",qi.preserveHTML);an.append('<option value="'+Un+'">'+Jn+"</option>")}),gi.observe.select())}},event:{change:function(){Bi||(gi.debug("Input changed, updating selection"),gi.set.selected())},focus:function(){qi.showOnFocus&&!Yi&&gi.is.hidden()&&!Vs&&gi.show()},blur:function(Si){Vs=wi.activeElement===this,!Yi&&!Vs&&(gi.remove.activeLabel(),gi.hide())},mousedown:function(){gi.is.searchSelection()?uo=!0:Yi=!0},mouseup:function(){gi.is.searchSelection()?uo=!1:Yi=!1},click:function(Si){var $i=oi(Si.target);$i.is(nn)&&(gi.is.focusedOnSearch()?gi.show():gi.focusSearch())},search:{focus:function(Si){Yi=!0,gi.is.multiple()&&gi.remove.activeLabel(),(qi.showOnFocus||Si.type!=="focus"&&Si.type!=="focusin")&&gi.search()},blur:function(Si){Vs=wi.activeElement===this,gi.is.searchSelection()&&!uo&&!wn&&!Vs&&(qi.forceSelection?gi.forceSelection():qi.allowAdditions||gi.remove.searchTerm(),gi.hide()),uo=!1}},clearIcon:{click:function(Si){gi.clear(),gi.is.searchSelection()&&gi.remove.searchTerm(),gi.hide(),Si.stopPropagation()}},icon:{click:function(Si){Qi=!0,gi.has.search()?gi.is.active()?gi.blurSearch():qi.showOnFocus?gi.focusSearch():gi.toggle():gi.toggle()}},text:{focus:function(Si){Yi=!0,gi.focusSearch()}},input:function(Si){(gi.is.multiple()||gi.is.searchSelection())&&gi.set.filtered(),clearTimeout(gi.timer),gi.timer=setTimeout(gi.search,qi.delay.search)},label:{click:function(Si){var $i=oi(this),kn=nn.find(pi.label),Ln=kn.filter("."+sn.active),Un=$i.nextAll("."+sn.active),Jn=$i.prevAll("."+sn.active),Ys=Un.length>0?$i.nextUntil(Un).add(Ln).add($i):$i.prevUntil(Jn).add(Ln).add($i);Si.shiftKey?(Ln.removeClass(sn.active),Ys.addClass(sn.active)):Si.ctrlKey?$i.toggleClass(sn.active):(Ln.removeClass(sn.active),$i.addClass(sn.active)),qi.onLabelSelect.apply(this,kn.filter("."+sn.active))}},remove:{click:function(){var Si=oi(this).parent();Si.hasClass(sn.active)?gi.remove.activeLabels():gi.remove.activeLabels(Si)}},test:{toggle:function(Si){var $i=gi.is.multiple()?gi.show:gi.toggle;gi.is.bubbledLabelClick(Si)||gi.is.bubbledIconClick(Si)||gi.determine.eventOnElement(Si,$i)&&Si.preventDefault()},touch:function(Si){gi.determine.eventOnElement(Si,function(){Si.type=="touchstart"?gi.timer=setTimeout(function(){gi.hide()},qi.delay.touch):Si.type=="touchmove"&&clearTimeout(gi.timer)}),Si.stopPropagation()},hide:function(Si){gi.determine.eventInModule(Si,gi.hide)&&Gi.id&&oi(Si.target).attr("for")===Gi.id&&Si.preventDefault()}},class:{mutation:function(Si){Si.forEach(function($i){$i.attributeName==="class"&&gi.check.disabled()})}},select:{mutation:function(Si){gi.debug("<select> modified, recreating menu"),gi.is.selectMutation(Si)&&(gi.disconnect.selectObserver(),gi.refresh(),gi.setup.select(),gi.set.selected(),gi.observe.select())}},menu:{mutation:function(Si){var $i=Si[0],kn=$i.addedNodes?oi($i.addedNodes[0]):oi(!1),Ln=$i.removedNodes?oi($i.removedNodes[0]):oi(!1),Un=kn.add(Ln),Jn=Un.is(pi.addition)||Un.closest(pi.addition).length>0,Ys=Un.is(pi.message)||Un.closest(pi.message).length>0;Jn||Ys?(gi.debug("Updating item selector cache"),gi.refreshItems()):(gi.debug("Menu modified, updating selector cache"),gi.refresh())},mousedown:function(){wn=!0},mouseup:function(){wn=!1}},item:{mouseenter:function(Si){var $i=oi(Si.target),kn=oi(this),Ln=kn.children(pi.menu),Un=kn.siblings(pi.item).children(pi.menu),Jn=Ln.length>0,Ys=Ln.find($i).length>0;!Ys&&Jn&&(clearTimeout(gi.itemTimer),gi.itemTimer=setTimeout(function(){gi.verbose("Showing sub-menu",Ln),oi.each(Un,function(){gi.animate.hide(!1,oi(this))}),gi.animate.show(!1,Ln)},qi.delay.show),Si.preventDefault())},mouseleave:function(Si){var $i=oi(this).children(pi.menu);$i.length>0&&(clearTimeout(gi.itemTimer),gi.itemTimer=setTimeout(function(){gi.verbose("Hiding sub-menu",$i),gi.animate.hide(!1,$i)},qi.delay.hide))},click:function(Si,$i){var kn=oi(this),Ln=oi(Si?Si.target:""),Un=kn.find(pi.menu),Jn=gi.get.choiceText(kn),Ys=gi.get.choiceValue(kn,Jn),bo=Un.length>0,_o=Un.find(Ln).length>0;wi.activeElement.tagName.toLowerCase()!=="input"&&oi(wi.activeElement).blur(),!_o&&(!bo||qi.allowCategorySelection)&&(gi.is.searchSelection()&&(qi.allowAdditions&&gi.remove.userAddition(),gi.remove.searchTerm(),!gi.is.focusedOnSearch()&&$i!=!0&&gi.focusSearch(!0)),qi.useLabels||(gi.remove.filteredItem(),gi.set.scrollPosition(kn)),gi.determine.selectAction.call(this,Jn,Ys))}},document:{keydown:function(Si){var $i=Si.which,kn=gi.is.inObject($i,fs);if(kn){var Ln=nn.find(pi.label),Un=Ln.filter("."+sn.active),Jn=Un.data(yn.value),Ys=Ln.index(Un),bo=Ln.length,_o=Un.length>0,pa=Un.length>1,ka=Ys===0,Aa=Ys+1==bo,ha=gi.is.searchSelection(),sa=gi.is.focusedOnSearch(),Do=gi.is.focused(),ra=sa&&gi.get.caretPosition(!1)===0,rl=ra&&gi.get.caretPosition(!0)!==0,bl;if(ha&&!_o&&!sa)return;$i==fs.leftArrow?(Do||ra)&&!_o?(gi.verbose("Selecting previous label"),Ln.last().addClass(sn.active)):_o&&(Si.shiftKey?gi.verbose("Adding previous label to selection"):(gi.verbose("Selecting previous label"),Ln.removeClass(sn.active)),ka&&!pa?Un.addClass(sn.active):Un.prev(pi.siblingLabel).addClass(sn.active).end(),Si.preventDefault()):$i==fs.rightArrow?(Do&&!_o&&Ln.first().addClass(sn.active),_o&&(Si.shiftKey?gi.verbose("Adding next label to selection"):(gi.verbose("Selecting next label"),Ln.removeClass(sn.active)),Aa?ha?sa?Ln.removeClass(sn.active):gi.focusSearch():pa?Un.next(pi.siblingLabel).addClass(sn.active):Un.addClass(sn.active):Un.next(pi.siblingLabel).addClass(sn.active),Si.preventDefault())):$i==fs.deleteKey||$i==fs.backspace?_o?(gi.verbose("Removing active labels"),Aa&&ha&&!sa&&gi.focusSearch(),Un.last().next(pi.siblingLabel).addClass(sn.active),gi.remove.activeLabels(Un),Si.preventDefault()):ra&&!rl&&!_o&&$i==fs.backspace&&(gi.verbose("Removing last label on input backspace"),Un=Ln.last().addClass(sn.active),gi.remove.activeLabels(Un)):Un.removeClass(sn.active)}}},keydown:function(Si){var $i=Si.which,kn=gi.is.inObject($i,fs);if(kn){var Ln=zi.not(pi.unselectable).filter("."+sn.selected).eq(0),Un=Oi.children("."+sn.active).eq(0),Jn=Ln.length>0?Ln:Un,Ys=Jn.length>0?Jn.siblings(":not(."+sn.filtered+")").addBack():Oi.children(":not(."+sn.filtered+")"),bo=Jn.children(pi.menu),_o=Jn.closest(pi.menu),pa=_o.hasClass(sn.visible)||_o.hasClass(sn.animating)||_o.parent(pi.menu).length>0,ka=bo.length>0,Aa=Jn.length>0,ha=Jn.not(pi.unselectable).length>0,sa=$i==fs.delimiter&&qi.allowAdditions&&gi.is.multiple(),Do=qi.allowAdditions&&qi.hideAdditions&&($i==fs.enter||sa)&&ha,ra,rl,bl;if(Do&&(gi.verbose("Selecting item from keyboard shortcut",Jn),gi.event.item.click.call(Jn,Si),gi.is.searchSelection()&&gi.remove.searchTerm(),gi.is.multiple()&&Si.preventDefault()),gi.is.visible()){if(($i==fs.enter||sa)&&($i==fs.enter&&Aa&&ka&&!qi.allowCategorySelection?(gi.verbose("Pressed enter on unselectable category, opening sub menu"),$i=fs.rightArrow):ha&&(gi.verbose("Selecting item from keyboard shortcut",Jn),gi.event.item.click.call(Jn,Si),gi.is.searchSelection()&&(gi.remove.searchTerm(),gi.is.multiple()&&ki.focus())),Si.preventDefault()),Aa&&($i==fs.leftArrow&&(rl=_o[0]!==Oi[0],rl&&(gi.verbose("Left key pressed, closing sub-menu"),gi.animate.hide(!1,_o),Jn.removeClass(sn.selected),_o.closest(pi.item).addClass(sn.selected),Si.preventDefault())),$i==fs.rightArrow&&ka&&(gi.verbose("Right key pressed, opening sub-menu"),gi.animate.show(!1,bo),Jn.removeClass(sn.selected),bo.find(pi.item).eq(0).addClass(sn.selected),Si.preventDefault())),$i==fs.upArrow){if(ra=Aa&&pa?Jn.prevAll(pi.item+":not("+pi.unselectable+")").eq(0):zi.eq(0),Ys.index(ra)<0){gi.verbose("Up key pressed but reached top of current menu"),Si.preventDefault();return}else gi.verbose("Up key pressed, changing active item"),Jn.removeClass(sn.selected),ra.addClass(sn.selected),gi.set.scrollPosition(ra),qi.selectOnKeydown&&gi.is.single()&&gi.set.selectedItem(ra);Si.preventDefault()}if($i==fs.downArrow){if(ra=Aa&&pa?ra=Jn.nextAll(pi.item+":not("+pi.unselectable+")").eq(0):zi.eq(0),ra.length===0){gi.verbose("Down key pressed but reached bottom of current menu"),Si.preventDefault();return}else gi.verbose("Down key pressed, changing active item"),zi.removeClass(sn.selected),ra.addClass(sn.selected),gi.set.scrollPosition(ra),qi.selectOnKeydown&&gi.is.single()&&gi.set.selectedItem(ra);Si.preventDefault()}$i==fs.pageUp&&(gi.scrollPage("up"),Si.preventDefault()),$i==fs.pageDown&&(gi.scrollPage("down"),Si.preventDefault()),$i==fs.escape&&(gi.verbose("Escape key pressed, closing dropdown"),gi.hide())}else sa&&Si.preventDefault(),$i==fs.downArrow&&!gi.is.visible()&&(gi.verbose("Down key pressed, showing dropdown"),gi.show(),Si.preventDefault())}else gi.has.search()||gi.set.selectedLetter(String.fromCharCode($i))}},trigger:{change:function(){var Si=an[0];if(Si){var $i=wi.createEvent("HTMLEvents");gi.verbose("Triggering native change event"),$i.initEvent("change",!0,!1),Si.dispatchEvent($i)}}},determine:{selectAction:function(Si,$i){Xn=!0,gi.verbose("Determining action",qi.action),oi.isFunction(gi.action[qi.action])?(gi.verbose("Triggering preset action",qi.action,Si,$i),gi.action[qi.action].call(Gi,Si,$i,this)):oi.isFunction(qi.action)?(gi.verbose("Triggering user action",qi.action,Si,$i),qi.action.call(Gi,Si,$i,this)):gi.error(rn.action,qi.action),Xn=!1},eventInModule:function(Si,$i){var kn=oi(Si.target),Ln=kn.closest(wi.documentElement).length>0,Un=kn.closest(nn).length>0;return $i=oi.isFunction($i)?$i:function(){},Ln&&!Un?(gi.verbose("Triggering event",$i),$i(),!0):(gi.verbose("Event occurred in dropdown, canceling callback"),!1)},eventOnElement:function(Si,$i){var kn=oi(Si.target),Ln=kn.closest(pi.siblingLabel),Un=wi.body.contains(Si.target),Jn=nn.find(Ln).length===0||!(gi.is.multiple()&&qi.useLabels),Ys=kn.closest(Oi).length===0;return $i=oi.isFunction($i)?$i:function(){},Un&&Jn&&Ys?(gi.verbose("Triggering event",$i),$i(),!0):(gi.verbose("Event occurred in dropdown menu, canceling callback"),!1)}},action:{nothing:function(){},activate:function(Si,$i,kn){$i=$i!==vi?$i:Si,gi.can.activate(oi(kn))&&(gi.set.selected($i,oi(kn)),gi.is.multiple()||gi.hideAndClear())},select:function(Si,$i,kn){$i=$i!==vi?$i:Si,gi.can.activate(oi(kn))&&(gi.set.value($i,Si,oi(kn)),gi.is.multiple()||gi.hideAndClear())},combo:function(Si,$i,kn){$i=$i!==vi?$i:Si,gi.set.selected($i,oi(kn)),gi.hideAndClear()},hide:function(Si,$i,kn){gi.set.value($i,Si,oi(kn)),gi.hideAndClear()}},get:{id:function(){return go},defaultText:function(){return nn.data(yn.defaultText)},defaultValue:function(){return nn.data(yn.defaultValue)},placeholderText:function(){return qi.placeholder!="auto"&&typeof qi.placeholder=="string"?qi.placeholder:nn.data(yn.placeholderText)||""},text:function(){return qi.preserveHTML?Ri.html():Ri.text()},query:function(){return String(ki.val()).trim()},searchWidth:function(Si){return Si=Si!==vi?Si:ki.val(),Wi.text(Si),Math.ceil(Wi.width()+1)},selectionCount:function(){var Si=gi.get.values(),$i;return $i=gi.is.multiple()?Array.isArray(Si)?Si.length:0:gi.get.value()!==""?1:0,$i},transition:function(Si){return qi.transition=="auto"?gi.is.upward(Si)?"slide up":"slide down":qi.transition},userValues:function(){var Si=gi.get.values();return Si?(Si=Array.isArray(Si)?Si:[Si],oi.grep(Si,function($i){return gi.get.item($i)===!1})):!1},uniqueArray:function(Si){return oi.grep(Si,function($i,kn){return oi.inArray($i,Si)===kn})},caretPosition:function(Si){var $i=ki.get(0),kn,Ln;if(Si&&"selectionEnd"in $i)return $i.selectionEnd;if(!Si&&"selectionStart"in $i)return $i.selectionStart;if(wi.selection)return $i.focus(),kn=wi.selection.createRange(),Ln=kn.text.length,Si?Ln:(kn.moveStart("character",-$i.value.length),kn.text.length-Ln)},value:function(){var Si=an.length>0?an.val():nn.data(yn.value),$i=Array.isArray(Si)&&Si.length===1&&Si[0]==="";return Si===vi||$i?"":Si},values:function(){var Si=gi.get.value();return Si===""?"":!gi.has.selectInput()&&gi.is.multiple()?typeof Si=="string"?gi.escape.htmlEntities(Si).split(qi.delimiter):"":Si},remoteValues:function(){var Si=gi.get.values(),$i=!1;return Si&&(typeof Si=="string"&&(Si=[Si]),oi.each(Si,function(kn,Ln){var Un=gi.read.remoteData(Ln);gi.verbose("Restoring value from session data",Un,Ln),Un&&($i||($i={}),$i[Ln]=Un)})),$i},choiceText:function(Si,$i){if($i=$i!==vi?$i:qi.preserveHTML,Si)return Si.find(pi.menu).length>0&&(gi.verbose("Retrieving text of element with sub-menu"),Si=Si.clone(),Si.find(pi.menu).remove(),Si.find(pi.menuIcon).remove()),Si.data(yn.text)!==vi?Si.data(yn.text):$i?Si.html().trim():Si.text().trim()},choiceValue:function(Si,$i){return $i=$i||gi.get.choiceText(Si),Si?Si.data(yn.value)!==vi?String(Si.data(yn.value)):typeof $i=="string"?String(qi.ignoreSearchCase?$i.toLowerCase():$i).trim():String($i):!1},inputEvent:function(){var Si=ki[0];return Si?Si.oninput!==vi?"input":Si.onpropertychange!==vi?"propertychange":"keyup":!1},selectValues:function(){var Si={},$i=[],kn=[];return nn.find("option").each(function(){var Ln=oi(this),Un=Ln.html(),Jn=Ln.attr("disabled"),Ys=Ln.attr("value")!==vi?Ln.attr("value"):Un,bo=Ln.data(yn.text)!==vi?Ln.data(yn.text):Un,_o=Ln.parent("optgroup");qi.placeholder==="auto"&&Ys===""?Si.placeholder=Un:((_o.length!==$i.length||_o[0]!==$i[0])&&(kn.push({type:"header",divider:qi.headerDivider,name:_o.attr("label")||""}),$i=_o),kn.push({name:Un,value:Ys,text:bo,disabled:Jn}))}),qi.placeholder&&qi.placeholder!=="auto"&&(gi.debug("Setting placeholder value to",qi.placeholder),Si.placeholder=qi.placeholder),qi.sortSelect?(qi.sortSelect===!0?kn.sort(function(Ln,Un){return Ln.name.localeCompare(Un.name)}):qi.sortSelect==="natural"?kn.sort(function(Ln,Un){return Ln.name.toLowerCase().localeCompare(Un.name.toLowerCase())}):oi.isFunction(qi.sortSelect)&&kn.sort(qi.sortSelect),Si[hs.values]=kn,gi.debug("Retrieved and sorted values from select",Si)):(Si[hs.values]=kn,gi.debug("Retrieved values from select",Si)),Si},activeItem:function(){return zi.filter("."+sn.active)},selectedItem:function(){var Si=zi.not(pi.unselectable).filter("."+sn.selected);return Si.length>0?Si:zi.eq(0)},itemWithAdditions:function(Si){var $i=gi.get.item(Si),kn=gi.create.userChoice(Si),Ln=kn&&kn.length>0;return Ln&&($i=$i.length>0?$i.add(kn):kn),$i},item:function(Si,$i){var kn=!1,Ln,Un;return Si=Si!==vi?Si:gi.get.values()!==vi?gi.get.values():gi.get.text(),Un=gi.is.multiple()&&Array.isArray(Si),Ln=Un?Si.length>0:Si!==vi&&Si!==null,$i=Si===""||Si===!1||Si===!0?!0:$i||!1,Ln&&zi.each(function(){var Jn=oi(this),Ys=gi.get.choiceText(Jn),bo=gi.get.choiceValue(Jn,Ys);if(!(bo===null||bo===vi)){if(Un)oi.inArray(gi.escape.htmlEntities(String(bo)),Si.map(function(_o){return String(_o)}))!==-1&&(kn=kn?kn.add(Jn):Jn);else if($i){if(gi.verbose("Ambiguous dropdown value using strict type check",Jn,Si),bo===Si)return kn=Jn,!0}else if(qi.ignoreCase&&(bo=bo.toLowerCase(),Si=Si.toLowerCase()),gi.escape.htmlEntities(String(bo))===gi.escape.htmlEntities(String(Si)))return gi.verbose("Found select item by value",bo,Si),kn=Jn,!0}}),kn}},check:{maxSelections:function(Si){return qi.maxSelections?(Si=Si!==vi?Si:gi.get.selectionCount(),Si>=qi.maxSelections?(gi.debug("Maximum selection count reached"),qi.useLabels&&(zi.addClass(sn.filtered),gi.add.message(rs.maxSelections)),!0):(gi.verbose("No longer at maximum selection count"),gi.remove.message(),gi.remove.filteredItem(),gi.is.searchSelection()&&gi.filterItems(),!1)):!0},disabled:function(){ki.attr("tabindex",gi.is.disabled()?-1:0)}},restore:{defaults:function(Si){gi.clear(Si),gi.restore.defaultText(),gi.restore.defaultValue()},defaultText:function(){var Si=gi.get.defaultText(),$i=gi.get.placeholderText;Si===$i?(gi.debug("Restoring default placeholder text",Si),gi.set.placeholderText(Si)):(gi.debug("Restoring default text",Si),gi.set.text(Si))},placeholderText:function(){gi.set.placeholderText()},defaultValue:function(){var Si=gi.get.defaultValue();Si!==vi&&(gi.debug("Restoring default value",Si),Si!==""?(gi.set.value(Si),gi.set.selected()):(gi.remove.activeItem(),gi.remove.selectedItem()))},labels:function(){qi.allowAdditions&&(qi.useLabels||(gi.error(rn.labels),qi.useLabels=!0),gi.debug("Restoring selected values"),gi.create.userLabels()),gi.check.maxSelections()},selected:function(){gi.restore.values(),gi.is.multiple()?(gi.debug("Restoring previously selected values and labels"),gi.restore.labels()):gi.debug("Restoring previously selected values")},values:function(){gi.set.initialLoad(),qi.apiSettings&&qi.saveRemoteData&&gi.get.remoteValues()?gi.restore.remoteValues():gi.set.selected();var Si=gi.get.value();Si&&Si!==""&&!(Array.isArray(Si)&&Si.length===0)?an.removeClass(sn.noselection):an.addClass(sn.noselection),gi.remove.initialLoad()},remoteValues:function(){var Si=gi.get.remoteValues();gi.debug("Recreating selected from session data",Si),Si&&(gi.is.single()?oi.each(Si,function($i,kn){gi.set.text(kn)}):oi.each(Si,function($i,kn){gi.add.label($i,kn)}))}},read:{remoteData:function(Si){var $i;if(bi.Storage===vi){gi.error(rn.noStorage);return}return $i=sessionStorage.getItem(Si),$i!==vi?$i:!1}},save:{defaults:function(){gi.save.defaultText(),gi.save.placeholderText(),gi.save.defaultValue()},defaultValue:function(){var Si=gi.get.value();gi.verbose("Saving default value as",Si),nn.data(yn.defaultValue,Si)},defaultText:function(){var Si=gi.get.text();gi.verbose("Saving default text as",Si),nn.data(yn.defaultText,Si)},placeholderText:function(){var Si;qi.placeholder!==!1&&Ri.hasClass(sn.placeholder)&&(Si=gi.get.text(),gi.verbose("Saving placeholder text as",Si),nn.data(yn.placeholderText,Si))},remoteData:function(Si,$i){if(bi.Storage===vi){gi.error(rn.noStorage);return}gi.verbose("Saving remote data to session storage",$i,Si),sessionStorage.setItem($i,Si)}},clear:function(Si){gi.is.multiple()&&qi.useLabels?gi.remove.labels():(gi.remove.activeItem(),gi.remove.selectedItem(),gi.remove.filteredItem()),gi.set.placeholderText(),gi.clearValue(Si)},clearValue:function(Si){gi.set.value("",null,null,Si)},scrollPage:function(Si,$i){var kn=$i||gi.get.selectedItem(),Ln=kn.closest(pi.menu),Un=Ln.outerHeight(),Jn=Ln.scrollTop(),Ys=zi.eq(0).outerHeight(),bo=Math.floor(Un/Ys),_o=Ln.prop("scrollHeight"),pa=Si=="up"?Jn-Ys*bo:Jn+Ys*bo,ka=zi.not(pi.unselectable),Aa,ha,sa;sa=Si=="up"?ka.index(kn)-bo:ka.index(kn)+bo,Aa=Si=="up"?sa>=0:sa<ka.length,ha=Aa?ka.eq(sa):Si=="up"?ka.first():ka.last(),ha.length>0&&(gi.debug("Scrolling page",Si,ha),kn.removeClass(sn.selected),ha.addClass(sn.selected),qi.selectOnKeydown&&gi.is.single()&&gi.set.selectedItem(ha),Ln.scrollTop(pa))},set:{filtered:function(){var Si=gi.is.multiple(),$i=gi.is.searchSelection(),kn=Si&&$i,Ln=$i?gi.get.query():"",Un=typeof Ln=="string"&&Ln.length>0,Jn=gi.get.searchWidth(),Ys=Ln!=="";Si&&Un&&(gi.verbose("Adjusting input width",Jn,qi.glyphWidth),ki.css("width",Jn)),Un||kn&&Ys?(gi.verbose("Hiding placeholder text"),Ri.addClass(sn.filtered)):(!Si||kn&&!Ys)&&(gi.verbose("Showing placeholder text"),Ri.removeClass(sn.filtered))},empty:function(){nn.addClass(sn.empty)},loading:function(){nn.addClass(sn.loading)},placeholderText:function(Si){Si=Si||gi.get.placeholderText(),gi.debug("Setting placeholder text",Si),gi.set.text(Si),Ri.addClass(sn.placeholder)},tabbable:function(){gi.is.searchSelection()?(gi.debug("Added tabindex to searchable dropdown"),ki.val(""),gi.check.disabled(),Oi.attr("tabindex",-1)):(gi.debug("Added tabindex to dropdown"),nn.attr("tabindex")===vi&&(nn.attr("tabindex",0),Oi.attr("tabindex",-1)))},initialLoad:function(){gi.verbose("Setting initial load"),cs=!0},activeItem:function(Si){qi.allowAdditions&&Si.filter(pi.addition).length>0?Si.addClass(sn.filtered):Si.addClass(sn.active)},partialSearch:function(Si){var $i=gi.get.query().length;ki.val(Si.substr(0,$i))},scrollPosition:function(Si,$i){var kn=5,Ln,Un,Jn,Ys,bo,_o,pa,ka,Aa,ha;Si=Si||gi.get.selectedItem(),Ln=Si.closest(pi.menu),Un=Si&&Si.length>0,$i=$i!==vi?$i:!1,gi.get.activeItem().length===0&&($i=!1),Si&&Ln.length>0&&Un&&(bo=Si.position().top,Ln.addClass(sn.loading),pa=Ln.scrollTop(),_o=Ln.offset().top,bo=Si.offset().top,Jn=pa-_o+bo,$i||(ka=Ln.height(),ha=pa+ka<Jn+kn,Aa=Jn-kn<pa),gi.debug("Scrolling to active item",Jn),($i||Aa||ha)&&Ln.scrollTop(Jn),Ln.removeClass(sn.loading))},text:function(Si){qi.action==="combo"?(gi.debug("Changing combo button text",Si,Fi),qi.preserveHTML?Fi.html(Si):Fi.text(Si)):qi.action==="activate"&&(Si!==gi.get.placeholderText()&&Ri.removeClass(sn.placeholder),gi.debug("Changing text",Si,Ri),Ri.removeClass(sn.filtered),qi.preserveHTML?Ri.html(Si):Ri.text(Si))},selectedItem:function(Si){var $i=gi.get.choiceValue(Si),kn=gi.get.choiceText(Si,!1),Ln=gi.get.choiceText(Si,!0);gi.debug("Setting user selection to item",Si),gi.remove.activeItem(),gi.set.partialSearch(kn),gi.set.activeItem(Si),gi.set.selected($i,Si),gi.set.text(Ln)},selectedLetter:function(Si){var $i=zi.filter("."+sn.selected),kn=$i.length>0&&gi.has.firstLetter($i,Si),Ln=!1,Un;kn&&(Un=$i.nextAll(zi).eq(0),gi.has.firstLetter(Un,Si)&&(Ln=Un)),Ln||zi.each(function(){if(gi.has.firstLetter(oi(this),Si))return Ln=oi(this),!1}),Ln&&(gi.verbose("Scrolling to next value with letter",Si),gi.set.scrollPosition(Ln),$i.removeClass(sn.selected),Ln.addClass(sn.selected),qi.selectOnKeydown&&gi.is.single()&&gi.set.selectedItem(Ln))},direction:function(Si){qi.direction=="auto"?(Si?gi.is.upward(Si)&&gi.remove.upward(Si):gi.remove.upward(),gi.can.openDownward(Si)?gi.remove.upward(Si):gi.set.upward(Si),!gi.is.leftward(Si)&&!gi.can.openRightward(Si)&&gi.set.leftward(Si)):qi.direction=="upward"&&gi.set.upward(Si)},upward:function(Si){var $i=Si||nn;$i.addClass(sn.upward)},leftward:function(Si){var $i=Si||Oi;$i.addClass(sn.leftward)},value:function(Si,$i,kn,Ln){Si!==vi&&Si!==""&&!(Array.isArray(Si)&&Si.length===0)?an.removeClass(sn.noselection):an.addClass(sn.noselection);var Un=gi.escape.value(Si),Jn=an.length>0,Ys=gi.get.values(),bo=Si!==vi?String(Si):Si,_o;if(Jn){if(!qi.allowReselection&&bo==Ys&&(gi.verbose("Skipping value update already same value",Si,Ys),!gi.is.initialLoad()))return;gi.is.single()&&gi.has.selectInput()&&gi.can.extendSelect()&&(gi.debug("Adding user option",Si),gi.add.optionValue(Si)),gi.debug("Updating input value",Un,Ys),Bi=!0,an.val(Un),qi.fireOnInit===!1&&gi.is.initialLoad()?gi.debug("Input native change event ignored on initial load"):Ln!==!0&&gi.trigger.change(),Bi=!1}else gi.verbose("Storing value in metadata",Un,an),Un!==Ys&&nn.data(yn.value,bo);qi.fireOnInit===!1&&gi.is.initialLoad()?gi.verbose("No callback on initial load",qi.onChange):Ln!==!0&&qi.onChange.call(Gi,Si,$i,kn)},active:function(){nn.addClass(sn.active)},multiple:function(){nn.addClass(sn.multiple)},visible:function(){nn.addClass(sn.visible)},exactly:function(Si,$i){gi.debug("Setting selected to exact values"),gi.clear(),gi.set.selected(Si,$i)},selected:function(Si,$i){var kn=gi.is.multiple();$i=qi.allowAdditions?$i||gi.get.itemWithAdditions(Si):$i||gi.get.item(Si),$i&&(gi.debug("Setting selected menu item to",$i),gi.is.multiple()&&gi.remove.searchWidth(),gi.is.single()?(gi.remove.activeItem(),gi.remove.selectedItem()):qi.useLabels&&gi.remove.selectedItem(),$i.each(function(){var Ln=oi(this),Un=gi.get.choiceText(Ln),Jn=gi.get.choiceValue(Ln,Un),Ys=Ln.hasClass(sn.filtered),bo=Ln.hasClass(sn.active),_o=Ln.hasClass(sn.addition),pa=kn&&$i.length==1;kn?!bo||_o?(qi.apiSettings&&qi.saveRemoteData&&gi.save.remoteData(Un,Jn),qi.useLabels?(gi.add.label(Jn,Un,pa),gi.add.value(Jn,Un,Ln),gi.set.activeItem(Ln),gi.filterActive(),gi.select.nextAvailable($i)):(gi.add.value(Jn,Un,Ln),gi.set.text(gi.add.variables(rs.count)),gi.set.activeItem(Ln))):!Ys&&(qi.useLabels||Xn)&&(gi.debug("Selected active value, removing label"),gi.remove.selected(Jn)):(qi.apiSettings&&qi.saveRemoteData&&gi.save.remoteData(Un,Jn),gi.set.text(Un),gi.set.value(Jn,Un,Ln),Ln.addClass(sn.active).addClass(sn.selected))}),gi.remove.searchTerm())}},add:{label:function(Si,$i,kn){var Ln=gi.is.searchSelection()?ki:Ri,Un=gi.escape.value(Si),Jn;if(qi.ignoreCase&&(Un=Un.toLowerCase()),Jn=oi("<a />").addClass(sn.label).attr("data-"+yn.value,Un).html(dn.label(Un,$i,qi.preserveHTML,qi.className)),Jn=qi.onLabelCreate.call(Jn,Un,$i),gi.has.label(Si)){gi.debug("User selection already exists, skipping",Un);return}qi.label.variation&&Jn.addClass(qi.label.variation),kn===!0?(gi.debug("Animating in label",Jn),Jn.addClass(sn.hidden).insertBefore(Ln).transition({animation:qi.label.transition,debug:qi.debug,verbose:qi.verbose,duration:qi.label.duration})):(gi.debug("Adding selection label",Jn),Jn.insertBefore(Ln))},message:function(Si){var $i=Oi.children(pi.message),kn=qi.templates.message(gi.add.variables(Si));$i.length>0?$i.html(kn):$i=oi("<div/>").html(kn).addClass(sn.message).appendTo(Oi)},optionValue:function(Si){var $i=gi.escape.value(Si),kn=an.find('option[value="'+gi.escape.string($i)+'"]'),Ln=kn.length>0;Ln||(gi.disconnect.selectObserver(),gi.is.single()&&(gi.verbose("Removing previous user addition"),an.find("option."+sn.addition).remove()),oi("<option/>").prop("value",$i).addClass(sn.addition).html(Si).appendTo(an),gi.verbose("Adding user addition as an <option>",Si),gi.observe.select())},userSuggestion:function(Si){var $i=Oi.children(pi.addition),kn=gi.get.item(Si),Ln=kn&&kn.not(pi.addition).length,Un=$i.length>0,Jn;if(!(qi.useLabels&&gi.has.maxSelections())){if(Si===""||Ln){$i.remove();return}Un?($i.data(yn.value,Si).data(yn.text,Si).attr("data-"+yn.value,Si).attr("data-"+yn.text,Si).removeClass(sn.filtered),qi.hideAdditions||(Jn=qi.templates.addition(gi.add.variables(rs.addResult,Si)),$i.html(Jn)),gi.verbose("Replacing user suggestion with new value",$i)):($i=gi.create.userChoice(Si),$i.prependTo(Oi),gi.verbose("Adding item choice to menu corresponding with user choice addition",$i)),(!qi.hideAdditions||gi.is.allFiltered())&&$i.addClass(sn.selected).siblings().removeClass(sn.selected),gi.refreshItems()}},variables:function(Si,$i){var kn=Si.search("{count}")!==-1,Ln=Si.search("{maxCount}")!==-1,Un=Si.search("{term}")!==-1,Jn,Ys;return gi.verbose("Adding templated variables to message",Si),kn&&(Jn=gi.get.selectionCount(),Si=Si.replace("{count}",Jn)),Ln&&(Jn=gi.get.selectionCount(),Si=Si.replace("{maxCount}",qi.maxSelections)),Un&&(Ys=$i||gi.get.query(),Si=Si.replace("{term}",Ys)),Si},value:function(Si,$i,kn){var Ln=gi.get.values(),Un;if(gi.has.value(Si)){gi.debug("Value already selected");return}if(Si===""){gi.debug("Cannot select blank values from multiselect");return}Array.isArray(Ln)?(Un=Ln.concat([Si]),Un=gi.get.uniqueArray(Un)):Un=[Si],gi.has.selectInput()?gi.can.extendSelect()&&(gi.debug("Adding value to select",Si,Un,an),gi.add.optionValue(Si)):(Un=Un.join(qi.delimiter),gi.debug("Setting hidden input to delimited value",Un,an)),qi.fireOnInit===!1&&gi.is.initialLoad()?gi.verbose("Skipping onadd callback on initial load",qi.onAdd):qi.onAdd.call(Gi,Si,$i,kn),gi.set.value(Un,$i,kn),gi.check.maxSelections()}},remove:{active:function(){nn.removeClass(sn.active)},activeLabel:function(){nn.find(pi.label).removeClass(sn.active)},empty:function(){nn.removeClass(sn.empty)},loading:function(){nn.removeClass(sn.loading)},initialLoad:function(){cs=!1},upward:function(Si){var $i=Si||nn;$i.removeClass(sn.upward)},leftward:function(Si){var $i=Si||Oi;$i.removeClass(sn.leftward)},visible:function(){nn.removeClass(sn.visible)},activeItem:function(){zi.removeClass(sn.active)},filteredItem:function(){qi.useLabels&&gi.has.maxSelections()||(qi.useLabels&&gi.is.multiple()?zi.not("."+sn.active).removeClass(sn.filtered):zi.removeClass(sn.filtered),qi.hideDividers&&Ti.removeClass(sn.hidden),gi.remove.empty())},optionValue:function(Si){var $i=gi.escape.value(Si),kn=an.find('option[value="'+gi.escape.string($i)+'"]'),Ln=kn.length>0;!Ln||!kn.hasClass(sn.addition)||(Po&&(Po.disconnect(),gi.verbose("Temporarily disconnecting mutation observer")),kn.remove(),gi.verbose("Removing user addition as an <option>",$i),Po&&Po.observe(an[0],{childList:!0,subtree:!0}))},message:function(){Oi.children(pi.message).remove()},searchWidth:function(){ki.css("width","")},searchTerm:function(){gi.verbose("Cleared search term"),ki.val(""),gi.set.filtered()},userAddition:function(){zi.filter(pi.addition).remove()},selected:function(Si,$i){if($i=qi.allowAdditions?$i||gi.get.itemWithAdditions(Si):$i||gi.get.item(Si),!$i)return!1;$i.each(function(){var kn=oi(this),Ln=gi.get.choiceText(kn),Un=gi.get.choiceValue(kn,Ln);gi.is.multiple()?qi.useLabels?(gi.remove.value(Un,Ln,kn),gi.remove.label(Un)):(gi.remove.value(Un,Ln,kn),gi.get.selectionCount()===0?gi.set.placeholderText():gi.set.text(gi.add.variables(rs.count))):gi.remove.value(Un,Ln,kn),kn.removeClass(sn.filtered).removeClass(sn.active),qi.useLabels&&kn.removeClass(sn.selected)})},selectedItem:function(){zi.removeClass(sn.selected)},value:function(Si,$i,kn){var Ln=gi.get.values(),Un;Si=gi.escape.htmlEntities(Si),gi.has.selectInput()?(gi.verbose("Input is <select> removing selected option",Si),Un=gi.remove.arrayValue(Si,Ln),gi.remove.optionValue(Si)):(gi.verbose("Removing from delimited values",Si),Un=gi.remove.arrayValue(Si,Ln),Un=Un.join(qi.delimiter)),qi.fireOnInit===!1&&gi.is.initialLoad()?gi.verbose("No callback on initial load",qi.onRemove):qi.onRemove.call(Gi,Si,$i,kn),gi.set.value(Un,$i,kn),gi.check.maxSelections()},arrayValue:function(Si,$i){return Array.isArray($i)||($i=[$i]),$i=oi.grep($i,function(kn){return Si!=kn}),gi.verbose("Removed value from delimited string",Si,$i),$i},label:function(Si,$i){var kn=nn.find(pi.label),Ln=kn.filter("[data-"+yn.value+'="'+gi.escape.string(qi.ignoreCase?Si.toLowerCase():Si)+'"]');gi.verbose("Removing label",Ln),Ln.remove()},activeLabels:function(Si){Si=Si||nn.find(pi.label).filter("."+sn.active),gi.verbose("Removing active label selections",Si),gi.remove.labels(Si)},labels:function(Si){Si=Si||nn.find(pi.label),gi.verbose("Removing labels",Si),Si.each(function(){var $i=oi(this),kn=$i.data(yn.value),Ln=kn!==vi?String(kn):kn,Un=gi.is.userValue(Ln);if(qi.onLabelRemove.call($i,kn)===!1){gi.debug("Label remove callback cancelled removal");return}gi.remove.message(),Un?(gi.remove.value(Ln),gi.remove.label(Ln)):gi.remove.selected(Ln)})},tabbable:function(){gi.is.searchSelection()?(gi.debug("Searchable dropdown initialized"),ki.removeAttr("tabindex"),Oi.removeAttr("tabindex")):(gi.debug("Simple selection dropdown initialized"),nn.removeAttr("tabindex"),Oi.removeAttr("tabindex"))},diacritics:function(Si){return qi.ignoreDiacritics?Si.normalize("NFD").replace(/[\u0300-\u036f]/g,""):Si}},has:{menuSearch:function(){return gi.has.search()&&ki.closest(Oi).length>0},clearItem:function(){return en.length>0},search:function(){return ki.length>0},sizer:function(){return Wi.length>0},selectInput:function(){return an.is("select")},minCharacters:function(Si){return qi.minCharacters&&!Qi?(Si=String(Si!==vi?Si:gi.get.query()),Si.length>=qi.minCharacters):(Qi=!1,!0)},firstLetter:function(Si,$i){var kn,Ln;return!Si||Si.length===0||typeof $i!="string"?!1:(kn=gi.get.choiceText(Si,!1),$i=$i.toLowerCase(),Ln=String(kn).charAt(0).toLowerCase(),$i==Ln)},input:function(){return an.length>0},items:function(){return zi.length>0},menu:function(){return Oi.length>0},message:function(){return Oi.children(pi.message).length!==0},label:function(Si){var $i=gi.escape.value(Si),kn=nn.find(pi.label);return qi.ignoreCase&&($i=$i.toLowerCase()),kn.filter("[data-"+yn.value+'="'+gi.escape.string($i)+'"]').length>0},maxSelections:function(){return qi.maxSelections&&gi.get.selectionCount()>=qi.maxSelections},allResultsFiltered:function(){var Si=zi.not(pi.addition);return Si.filter(pi.unselectable).length===Si.length},userSuggestion:function(){return Oi.children(pi.addition).length>0},query:function(){return gi.get.query()!==""},value:function(Si){return qi.ignoreCase?gi.has.valueIgnoringCase(Si):gi.has.valueMatchingCase(Si)},valueMatchingCase:function(Si){var $i=gi.get.values(),kn=Array.isArray($i)?$i&&oi.inArray(Si,$i)!==-1:$i==Si;return!!kn},valueIgnoringCase:function(Si){var $i=gi.get.values(),kn=!1;return Array.isArray($i)||($i=[$i]),oi.each($i,function(Ln,Un){if(String(Si).toLowerCase()==String(Un).toLowerCase())return kn=!0,!1}),kn}},is:{active:function(){return nn.hasClass(sn.active)},animatingInward:function(){return Oi.transition("is inward")},animatingOutward:function(){return Oi.transition("is outward")},bubbledLabelClick:function(Si){return oi(Si.target).is("select, input")&&nn.closest("label").length>0},bubbledIconClick:function(Si){return oi(Si.target).closest(Fn).length>0},alreadySetup:function(){return nn.is("select")&&nn.parent(pi.dropdown).data(Pn)!==vi&&nn.prev().length===0},animating:function(Si){return Si?Si.transition&&Si.transition("is animating"):Oi.transition&&Oi.transition("is animating")},leftward:function(Si){var $i=Si||Oi;return $i.hasClass(sn.leftward)},clearable:function(){return nn.hasClass(sn.clearable)||qi.clearable},disabled:function(){return nn.hasClass(sn.disabled)},focused:function(){return wi.activeElement===nn[0]},focusedOnSearch:function(){return wi.activeElement===ki[0]},allFiltered:function(){return(gi.is.multiple()||gi.has.search())&&!(qi.hideAdditions==!1&&gi.has.userSuggestion())&&!gi.has.message()&&gi.has.allResultsFiltered()},hidden:function(Si){return!gi.is.visible(Si)},initialLoad:function(){return cs},inObject:function(Si,$i){var kn=!1;return oi.each($i,function(Ln,Un){if(Un==Si)return kn=!0,!0}),kn},multiple:function(){return nn.hasClass(sn.multiple)},remote:function(){return qi.apiSettings&&gi.can.useAPI()},single:function(){return!gi.is.multiple()},selectMutation:function(Si){var $i=!1;return oi.each(Si,function(kn,Ln){if(oi(Ln.target).is("select")||oi(Ln.addedNodes).is("select"))return $i=!0,!1}),$i},search:function(){return nn.hasClass(sn.search)},searchSelection:function(){return gi.has.search()&&ki.parent(pi.dropdown).length===1},selection:function(){return nn.hasClass(sn.selection)},userValue:function(Si){return oi.inArray(Si,gi.get.userValues())!==-1},upward:function(Si){var $i=Si||nn;return $i.hasClass(sn.upward)},visible:function(Si){return Si?Si.hasClass(sn.visible):Oi.hasClass(sn.visible)},verticallyScrollableContext:function(){var Si=Ai.get(0)!==bi?Ai.css("overflow-y"):!1;return Si=="auto"||Si=="scroll"},horizontallyScrollableContext:function(){var Si=Ai.get(0)!==bi?Ai.css("overflow-X"):!1;return Si=="auto"||Si=="scroll"}},can:{activate:function(Si){return!!(qi.useLabels||!gi.has.maxSelections()||gi.has.maxSelections()&&Si.hasClass(sn.active))},openDownward:function(Si){var $i=Si||Oi,kn=!0,Ln={},Un;return $i.addClass(sn.loading),Un={context:{offset:Ai.get(0)===bi?{top:0,left:0}:Ai.offset(),scrollTop:Ai.scrollTop(),height:Ai.outerHeight()},menu:{offset:$i.offset(),height:$i.outerHeight()}},gi.is.verticallyScrollableContext()&&(Un.menu.offset.top+=Un.context.scrollTop),Ln={above:Un.context.scrollTop<=Un.menu.offset.top-Un.context.offset.top-Un.menu.height,below:Un.context.scrollTop+Un.context.height>=Un.menu.offset.top-Un.context.offset.top+Un.menu.height},Ln.below?(gi.verbose("Dropdown can fit in context downward",Ln),kn=!0):!Ln.below&&!Ln.above?(gi.verbose("Dropdown cannot fit in either direction, favoring downward",Ln),kn=!0):(gi.verbose("Dropdown cannot fit below, opening upward",Ln),kn=!1),$i.removeClass(sn.loading),kn},openRightward:function(Si){var $i=Si||Oi,kn=!0,Ln=!1,Un;return $i.addClass(sn.loading),Un={context:{offset:Ai.get(0)===bi?{top:0,left:0}:Ai.offset(),scrollLeft:Ai.scrollLeft(),width:Ai.outerWidth()},menu:{offset:$i.offset(),width:$i.outerWidth()}},gi.is.horizontallyScrollableContext()&&(Un.menu.offset.left+=Un.context.scrollLeft),Ln=Un.menu.offset.left-Un.context.offset.left+Un.menu.width>=Un.context.scrollLeft+Un.context.width,Ln&&(gi.verbose("Dropdown cannot fit in context rightward",Ln),kn=!1),$i.removeClass(sn.loading),kn},click:function(){return tn||qi.on=="click"},extendSelect:function(){return qi.allowAdditions||qi.apiSettings},show:function(){return!gi.is.disabled()&&(gi.has.items()||gi.has.message())},useAPI:function(){return oi.fn.api!==vi}},animate:{show:function(Si,$i){var kn=$i||Oi,Ln=$i?function(){}:function(){gi.hideSubMenus(),gi.hideOthers(),gi.set.active()},Un;if(Si=oi.isFunction(Si)?Si:function(){},gi.verbose("Doing menu show animation",kn),gi.set.direction($i),Un=gi.get.transition($i),gi.is.selection()&&gi.set.scrollPosition(gi.get.selectedItem(),!0),gi.is.hidden(kn)||gi.is.animating(kn)){var Jn=nn.hasClass("column")?"flex":!1;Un=="none"?(Ln(),kn.transition({displayType:Jn}).transition("show"),Si.call(Gi)):oi.fn.transition!==vi&&nn.transition("is supported")?kn.transition({animation:Un+" in",debug:qi.debug,verbose:qi.verbose,duration:qi.duration,queue:!0,onStart:Ln,displayType:Jn,onComplete:function(){Si.call(Gi)}}):gi.error(rn.noTransition,Un)}},hide:function(Si,$i){var kn=$i||Oi,Ln=$i?function(){}:function(){gi.can.click()&&gi.unbind.intent(),gi.remove.active()},Un=gi.get.transition($i);Si=oi.isFunction(Si)?Si:function(){},(gi.is.visible(kn)||gi.is.animating(kn))&&(gi.verbose("Doing menu hide animation",kn),Un=="none"?(Ln(),kn.transition("hide"),Si.call(Gi)):oi.fn.transition!==vi&&nn.transition("is supported")?kn.transition({animation:Un+" out",duration:qi.duration,debug:qi.debug,verbose:qi.verbose,queue:!1,onStart:Ln,onComplete:function(){Si.call(Gi)}}):gi.error(rn.transition))}},hideAndClear:function(){gi.remove.searchTerm(),!gi.has.maxSelections()&&(gi.has.search()?gi.hide(function(){gi.remove.filteredItem()}):gi.hide())},delay:{show:function(){gi.verbose("Delaying show event to ensure user intent"),clearTimeout(gi.timer),gi.timer=setTimeout(gi.show,qi.delay.show)},hide:function(){gi.verbose("Delaying hide event to ensure user intent"),clearTimeout(gi.timer),gi.timer=setTimeout(gi.hide,qi.delay.hide)}},escape:{value:function(Si){var $i=Array.isArray(Si),kn=typeof Si=="string",Ln=!kn&&!$i,Un=kn&&Si.search(Mn.quote)!==-1,Jn=[];return Ln||!Un?Si:(gi.debug("Encoding quote values for use in select",Si),$i?(oi.each(Si,function(Ys,bo){Jn.push(bo.replace(Mn.quote,"&quot;"))}),Jn):Si.replace(Mn.quote,"&quot;"))},string:function(Si){return Si=String(Si),Si.replace(Mn.escape,"\\$&")},htmlEntities:function(Si){var $i=/[<>"'`]/g,kn=/[&<>"'`]/,Ln={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Un=function(Jn){return Ln[Jn]};return kn.test(Si)?(Si=Si.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;"),Si.replace($i,Un)):Si}},setting:function(Si,$i){if(gi.debug("Changing setting",Si,$i),oi.isPlainObject(Si))oi.extend(!0,qi,Si);else if($i!==vi)oi.isPlainObject(qi[Si])?oi.extend(!0,qi[Si],$i):qi[Si]=$i;else return qi[Si]},internal:function(Si,$i){if(oi.isPlainObject(Si))oi.extend(!0,gi,Si);else if($i!==vi)gi[Si]=$i;else return gi[Si]},debug:function(){!qi.silent&&qi.debug&&(qi.performance?gi.performance.log(arguments):(gi.debug=Function.prototype.bind.call(console.info,console,qi.name+":"),gi.debug.apply(console,arguments)))},verbose:function(){!qi.silent&&qi.verbose&&qi.debug&&(qi.performance?gi.performance.log(arguments):(gi.verbose=Function.prototype.bind.call(console.info,console,qi.name+":"),gi.verbose.apply(console,arguments)))},error:function(){qi.silent||(gi.error=Function.prototype.bind.call(console.error,console,qi.name+":"),gi.error.apply(console,arguments))},performance:{log:function(Si){var $i,kn,Ln;qi.performance&&($i=new Date().getTime(),Ln=Vn||$i,kn=$i-Ln,Vn=$i,bn.push({Name:Si[0],Arguments:[].slice.call(Si,1)||"",Element:Gi,"Execution Time":kn})),clearTimeout(gi.performance.timer),gi.performance.timer=setTimeout(gi.performance.display,500)},display:function(){var Si=qi.name+":",$i=0;Vn=!1,clearTimeout(gi.performance.timer),oi.each(bn,function(kn,Ln){$i+=Ln["Execution Time"]}),Si+=" "+$i+"ms",Ji&&(Si+=" '"+Ji+"'"),(console.group!==vi||console.table!==vi)&&bn.length>0&&(console.groupCollapsed(Si),console.table?console.table(bn):oi.each(bn,function(kn,Ln){console.log(Ln.Name+": "+Ln["Execution Time"]+"ms")}),console.groupEnd()),bn=[]}},invoke:function(Si,$i,kn){var Ln=On,Un,Jn,Ys;return $i=$i||ls,kn=Gi||kn,typeof Si=="string"&&Ln!==vi&&(Si=Si.split(/[\. ]/),Un=Si.length-1,oi.each(Si,function(bo,_o){var pa=bo!=Un?_o+Si[bo+1].charAt(0).toUpperCase()+Si[bo+1].slice(1):Si;if(oi.isPlainObject(Ln[pa])&&bo!=Un)Ln=Ln[pa];else{if(Ln[pa]!==vi)return Jn=Ln[pa],!1;if(oi.isPlainObject(Ln[_o])&&bo!=Un)Ln=Ln[_o];else return Ln[_o]!==vi?(Jn=Ln[_o],!1):(gi.error(rn.method,Si),!1)}})),oi.isFunction(Jn)?Ys=Jn.apply(kn,$i):Jn!==vi&&(Ys=Jn),Array.isArray(ks)?ks.push(Ys):ks!==vi?ks=[ks,Ys]:Ys!==vi&&(ks=Ys),Jn}},un?(On===vi&&gi.initialize(),gi.invoke(Zi)):(On!==vi&&On.invoke("destroy"),gi.initialize())}),ks!==vi?ks:yi},oi.fn.dropdown.settings={silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",action:"activate",values:!1,clearable:!1,apiSettings:!1,selectOnKeydown:!0,minCharacters:0,filterRemoteData:!1,saveRemoteData:!0,throttle:200,context:bi,direction:"auto",keepOnScreen:!0,match:"both",fullTextSearch:!1,ignoreDiacritics:!1,hideDividers:!1,placeholder:"auto",preserveHTML:!0,sortSelect:!1,forceSelection:!0,allowAdditions:!1,ignoreCase:!1,ignoreSearchCase:!0,hideAdditions:!0,maxSelections:!1,useLabels:!0,delimiter:",",showOnFocus:!0,allowReselection:!1,allowTab:!0,allowCategorySelection:!1,fireOnInit:!1,transition:"auto",duration:200,glyphWidth:1.037,headerDivider:!0,label:{transition:"scale",duration:200,variation:!1},delay:{hide:300,show:200,search:20,touch:50},onChange:function(ri,yi,Li){},onAdd:function(ri,yi,Li){},onRemove:function(ri,yi,Li){},onLabelSelect:function(ri){},onLabelCreate:function(ri,yi){return oi(this)},onLabelRemove:function(ri){return!0},onNoResults:function(ri){return!0},onShow:function(){},onHide:function(){},name:"Dropdown",namespace:"dropdown",message:{addResult:"Add <b>{term}</b>",count:"{count} selected",maxSelections:"Max {maxCount} selections",noResults:"No results found.",serverError:"There was an error contacting the server"},error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",labels:"Allowing user additions currently requires the use of labels.",missingMultiple:"<select> requires multiple property to be set to correctly preserve multiple values",method:"The method you called is not defined.",noAPI:"The API module is required to load resources remotely",noStorage:"Saving remote data requires session storage",noTransition:"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g,quote:/"/g},metadata:{defaultText:"defaultText",defaultValue:"defaultValue",placeholderText:"placeholder",text:"text",value:"value"},fields:{remoteValues:"results",values:"values",disabled:"disabled",name:"name",value:"value",text:"text",type:"type",image:"image",imageClass:"imageClass",icon:"icon",iconClass:"iconClass",class:"class",divider:"divider"},keys:{backspace:8,delimiter:188,deleteKey:46,enter:13,escape:27,pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},selector:{addition:".addition",divider:".divider, .header",dropdown:".ui.dropdown",hidden:".hidden",icon:"> .dropdown.icon",input:'> input[type="hidden"], > select',item:".item",label:"> .label",remove:"> .label > .delete.icon",siblingLabel:".label",menu:".menu",message:".message",menuIcon:".dropdown.icon",search:"input.search, .menu > .search > input, .menu input.search",sizer:"> span.sizer",text:"> .text:not(.icon)",unselectable:".disabled, .filtered",clearIcon:"> .remove.icon"},className:{active:"active",addition:"addition",animating:"animating",disabled:"disabled",empty:"empty",dropdown:"ui dropdown",filtered:"filtered",hidden:"hidden transition",icon:"icon",image:"image",item:"item",label:"ui label",loading:"loading",menu:"menu",message:"message",multiple:"multiple",placeholder:"default",sizer:"sizer",search:"search",selected:"selected",selection:"selection",upward:"upward",leftward:"left",visible:"visible",clearable:"clearable",noselection:"noselection",delete:"delete",header:"header",divider:"divider",groupIcon:"",unfilterable:"unfilterable"}},oi.fn.dropdown.settings.templates={deQuote:function(ri){return String(ri).replace(/"/g,"")},escape:function(ri,yi){if(yi)return ri;var Li=/[<>"'`]/g,Ji=/[&<>"'`]/,tn={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},_n=function(In){return tn[In]};return Ji.test(ri)?(ri=ri.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;"),ri.replace(Li,_n)):ri},dropdown:function(ri,yi,Li,Ji){var tn=ri.placeholder||!1,_n="",In=oi.fn.dropdown.settings.templates.escape;return _n+='<i class="dropdown icon"></i>',tn?_n+='<div class="default text">'+In(tn,Li)+"</div>":_n+='<div class="text"></div>',_n+='<div class="'+Ji.menu+'">',_n+=oi.fn.dropdown.settings.templates.menu(ri,yi,Li,Ji),_n+="</div>",_n},menu:function(ri,yi,Li,Ji){var tn=ri[yi.values]||[],_n="",In=oi.fn.dropdown.settings.templates.escape,Vn=oi.fn.dropdown.settings.templates.deQuote;return oi.each(tn,function(bn,Zi){var un=Zi[yi.type]?Zi[yi.type]:"item";if(un==="item"){var ls=Zi[yi.text]?' data-text="'+Vn(Zi[yi.text])+'"':"",ks=Zi[yi.disabled]?Ji.disabled+" ":"";_n+='<div class="'+ks+(Zi[yi.class]?Vn(Zi[yi.class]):Ji.item)+'" data-value="'+Vn(Zi[yi.value])+'"'+ls+">",Zi[yi.image]&&(_n+='<img class="'+(Zi[yi.imageClass]?Vn(Zi[yi.imageClass]):Ji.image)+'" src="'+Vn(Zi[yi.image])+'">'),Zi[yi.icon]&&(_n+='<i class="'+Vn(Zi[yi.icon])+" "+(Zi[yi.iconClass]?Vn(Zi[yi.iconClass]):Ji.icon)+'"></i>'),_n+=In(Zi[yi.name]||"",Li),_n+="</div>"}else if(un==="header"){var En=In(Zi[yi.name]||"",Li),qi=Zi[yi.icon]?Vn(Zi[yi.icon]):Ji.groupIcon;(En!==""||qi!=="")&&(_n+='<div class="'+(Zi[yi.class]?Vn(Zi[yi.class]):Ji.header)+'">',qi!==""&&(_n+='<i class="'+qi+" "+(Zi[yi.iconClass]?Vn(Zi[yi.iconClass]):Ji.icon)+'"></i>'),_n+=En,_n+="</div>"),Zi[yi.divider]&&(_n+='<div class="'+Ji.divider+'"></div>')}}),_n},label:function(ri,yi,Li,Ji){var tn=oi.fn.dropdown.settings.templates.escape;return tn(yi,Li)+'<i class="'+Ji.delete+' icon"></i>'},message:function(ri){return ri},addition:function(ri){return ri}}})(jQuery,window,document);(function(oi,bi,wi,vi){"use strict";oi.isFunction=oi.isFunction||function(ri){return typeof ri=="function"&&typeof ri.nodeType!="number"},bi=typeof bi<"u"&&bi.Math==Math?bi:typeof self<"u"&&self.Math==Math?self:Function("return this")(),oi.fn.form=function(ri){var yi=oi(this),Li=yi.selector||"",Ji=new Date().getTime(),tn=[],_n=arguments[0],In=arguments[1],Vn=typeof _n=="string",bn=[].slice.call(arguments,1),Zi;return yi.each(function(){var un=oi(this),ls=this,ks=[],En=!1,qi,sn,rs,hs,fs,yn,mn,Mn,pi,rn,dn,pn,Pn,nn,Ai,Ri,ki,Wi=!1,an=!1,Fn=["clean","clean"],en,Fi;Fi={initialize:function(){Fi.get.settings(),Vn?(en===vi&&Fi.instantiate(),Fi.invoke(_n)):(en!==vi&&en.invoke("destroy"),Fi.verbose("Initializing form validation",un,Mn),Fi.bindEvents(),Fi.set.defaults(),Mn.autoCheckRequired&&Fi.set.autoCheck(),Fi.instantiate())},instantiate:function(){Fi.verbose("Storing instance of module",Fi),en=Fi,un.data(Ri,Fi)},destroy:function(){Fi.verbose("Destroying previous module",en),Fi.removeEvents(),un.removeData(Ri)},refresh:function(){Fi.verbose("Refreshing selector cache"),qi=un.find(dn.field),sn=un.find(dn.group),rs=un.find(dn.message),hs=un.find(dn.prompt),fs=un.find(dn.submit),yn=un.find(dn.clear),mn=un.find(dn.reset)},submit:function(){Fi.verbose("Submitting form",un),Wi=!0,un.submit()},attachEvents:function(Oi,zi){zi=zi||"submit",oi(Oi).on("click"+ki,function(Ti){Fi[zi](),Ti.preventDefault()})},bindEvents:function(){Fi.verbose("Attaching form events"),un.on("submit"+ki,Fi.validate.form).on("blur"+ki,dn.field,Fi.event.field.blur).on("click"+ki,dn.submit,Fi.submit).on("click"+ki,dn.reset,Fi.reset).on("click"+ki,dn.clear,Fi.clear),Mn.keyboardShortcuts&&un.on("keydown"+ki,dn.field,Fi.event.field.keydown),qi.each(function(Oi,zi){var Ti=oi(zi),Yi=Ti.prop("type"),wn=Fi.get.changeEvent(Yi,Ti);Ti.on(wn+ki,Fi.event.field.change)}),Mn.preventLeaving&&oi(bi).on("beforeunload"+ki,Fi.event.beforeUnload),qi.on("change click keyup keydown blur",function(Oi){oi(this).triggerHandler(Oi.type+".dirty")}),qi.on("change.dirty click.dirty keyup.dirty keydown.dirty blur.dirty",Fi.determine.isDirty),un.on("dirty"+ki,function(Oi){Mn.onDirty.call()}),un.on("clean"+ki,function(Oi){Mn.onClean.call()})},clear:function(){qi.each(function(Oi,zi){var Ti=oi(zi),Yi=Ti.parent(),wn=Ti.closest(sn),Bi=wn.find(dn.prompt),Qi=Ti.closest(dn.uiCalendar),Gi=Ti.data(rn.defaultValue)||"",On=Yi.is(dn.uiCheckbox),Xn=Yi.is(dn.uiDropdown)&&Fi.can.useElement("dropdown"),cs=Qi.length>0&&Fi.can.useElement("calendar"),Vs=wn.hasClass(pn.error);Vs&&(Fi.verbose("Resetting error on field",wn),wn.removeClass(pn.error),Bi.remove()),Xn?(Fi.verbose("Resetting dropdown value",Yi,Gi),Yi.dropdown("clear",!0)):On?Ti.prop("checked",!1):cs?Qi.calendar("clear"):(Fi.verbose("Resetting field value",Ti,Gi),Ti.val(""))}),Fi.remove.states()},reset:function(){qi.each(function(Oi,zi){var Ti=oi(zi),Yi=Ti.parent(),wn=Ti.closest(sn),Bi=Ti.closest(dn.uiCalendar),Qi=wn.find(dn.prompt),Gi=Ti.data(rn.defaultValue),On=Yi.is(dn.uiCheckbox),Xn=Yi.is(dn.uiDropdown)&&Fi.can.useElement("dropdown"),cs=Bi.length>0&&Fi.can.useElement("calendar"),Vs=wn.hasClass(pn.error);Gi!==vi&&(Vs&&(Fi.verbose("Resetting error on field",wn),wn.removeClass(pn.error),Qi.remove()),Xn?(Fi.verbose("Resetting dropdown value",Yi,Gi),Yi.dropdown("restore defaults",!0)):On?(Fi.verbose("Resetting checkbox value",Yi,Gi),Ti.prop("checked",Gi)):cs?Bi.calendar("set date",Gi):(Fi.verbose("Resetting field value",Ti,Gi),Ti.val(Gi)))}),Fi.remove.states()},determine:{isValid:function(){var Oi=!0;return oi.each(pi,function(zi,Ti){Fi.validate.field(Ti,zi,!0)||(Oi=!1)}),Oi},isDirty:function(Oi){var zi=!1;qi.each(function(Ti,Yi){var wn=oi(Yi),Bi=wn.filter(dn.checkbox).length>0,Qi;Bi?Qi=Fi.is.checkboxDirty(wn):Qi=Fi.is.fieldDirty(wn),wn.data(Mn.metadata.isDirty,Qi),zi|=Qi}),zi?Fi.set.dirty():Fi.set.clean(),Oi&&Oi.namespace==="dirty"&&(Oi.stopImmediatePropagation(),Oi.preventDefault())}},is:{bracketedRule:function(Oi){return Oi.type&&Oi.type.match(Mn.regExp.bracket)},shorthandFields:function(Oi){var zi=Object.keys(Oi),Ti=Oi[zi[0]];return Fi.is.shorthandRules(Ti)},shorthandRules:function(Oi){return typeof Oi=="string"||Array.isArray(Oi)},empty:function(Oi){return!Oi||Oi.length===0?!0:Oi.is(dn.checkbox)?!Oi.is(":checked"):Fi.is.blank(Oi)},blank:function(Oi){return String(Oi.val()).trim()===""},valid:function(Oi,zi){var Ti=!0;return Oi?(Fi.verbose("Checking if field is valid",Oi),Fi.validate.field(pi[Oi],Oi,!!zi)):(Fi.verbose("Checking if form is valid"),oi.each(pi,function(Yi,wn){Fi.is.valid(Yi,zi)||(Ti=!1)}),Ti)},dirty:function(){return an},clean:function(){return!an},fieldDirty:function(Oi){var zi=Oi.data(rn.defaultValue);zi==null?zi="":Array.isArray(zi)&&(zi=zi.toString());var Ti=Oi.val();Ti==null?Ti="":Array.isArray(Ti)&&(Ti=Ti.toString());var Yi=/^(true|false)$/i,wn=Yi.test(zi)&&Yi.test(Ti);if(wn){var Bi=new RegExp("^"+zi+"$","i");return!Bi.test(Ti)}return Ti!==zi},checkboxDirty:function(Oi){var zi=Oi.data(rn.defaultValue),Ti=Oi.is(":checked");return zi!==Ti},justDirty:function(){return Fn[0]==="dirty"},justClean:function(){return Fn[0]==="clean"}},removeEvents:function(){un.off(ki),qi.off(ki),fs.off(ki),qi.off(ki)},event:{field:{keydown:function(Oi){var zi=oi(this),Ti=Oi.which,Yi=zi.is(dn.input),wn=zi.is(dn.checkbox),Bi=zi.closest(dn.uiDropdown).length>0,Qi={enter:13,escape:27};Ti==Qi.escape&&(Fi.verbose("Escape key pressed blurring field"),zi.blur()),!Oi.ctrlKey&&Ti==Qi.enter&&Yi&&!Bi&&!wn&&(En||(zi.one("keyup"+ki,Fi.event.field.keyup),Fi.submit(),Fi.debug("Enter pressed on input submitting form")),En=!0)},keyup:function(){En=!1},blur:function(Oi){var zi=oi(this),Ti=zi.closest(sn),Yi=Fi.get.validation(zi);Ti.hasClass(pn.error)?(Fi.debug("Revalidating field",zi,Yi),Yi&&Fi.validate.field(Yi)):Mn.on=="blur"&&Yi&&Fi.validate.field(Yi)},change:function(Oi){var zi=oi(this),Ti=zi.closest(sn),Yi=Fi.get.validation(zi);Yi&&(Mn.on=="change"||Ti.hasClass(pn.error)&&Mn.revalidate)&&(clearTimeout(Fi.timer),Fi.timer=setTimeout(function(){Fi.debug("Revalidating field",zi,Fi.get.validation(zi)),Fi.validate.field(Yi),Mn.inline||Fi.validate.form(!1,!0)},Mn.delay))}},beforeUnload:function(Oi){if(Fi.is.dirty()&&!Wi){var Oi=Oi||bi.event;return Oi&&(Oi.returnValue=Mn.text.leavingMessage),Mn.text.leavingMessage}}},get:{ancillaryValue:function(Oi){return!Oi.type||!Oi.value&&!Fi.is.bracketedRule(Oi)?!1:Oi.value!==vi?Oi.value:Oi.type.match(Mn.regExp.bracket)[1]+""},ruleName:function(Oi){return Fi.is.bracketedRule(Oi)?Oi.type.replace(Oi.type.match(Mn.regExp.bracket)[0],""):Oi.type},changeEvent:function(Oi,zi){return Oi=="checkbox"||Oi=="radio"||Oi=="hidden"||zi.is("select")?"change":Fi.get.inputEvent()},inputEvent:function(){return wi.createElement("input").oninput!==vi?"input":wi.createElement("input").onpropertychange!==vi?"propertychange":"keyup"},fieldsFromShorthand:function(Oi){var zi={};return oi.each(Oi,function(Ti,Yi){typeof Yi=="string"&&(Yi=[Yi]),zi[Ti]={rules:[]},oi.each(Yi,function(wn,Bi){zi[Ti].rules.push({type:Bi})})}),zi},prompt:function(Oi,zi){var Ti=Fi.get.ruleName(Oi),Yi=Fi.get.ancillaryValue(Oi),wn=Fi.get.field(zi.identifier),Bi=wn.val(),Qi=oi.isFunction(Oi.prompt)?Oi.prompt(Bi):Oi.prompt||Mn.prompt[Ti]||Mn.text.unspecifiedRule,Gi=Qi.search("{value}")!==-1,On=Qi.search("{name}")!==-1,Xn,cs;return Gi&&(Qi=Qi.replace(/\{value\}/g,wn.val())),On&&(Xn=wn.closest(dn.group).find("label").eq(0),cs=Xn.length==1?Xn.text():wn.prop("placeholder")||Mn.text.unspecifiedField,Qi=Qi.replace(/\{name\}/g,cs)),Qi=Qi.replace(/\{identifier\}/g,zi.identifier),Qi=Qi.replace(/\{ruleValue\}/g,Yi),Oi.prompt||Fi.verbose("Using default validation prompt for type",Qi,Ti),Qi},settings:function(){if(oi.isPlainObject(ri)){var Oi=Object.keys(ri),zi=Oi.length>0?ri[Oi[0]].identifier!==vi&&ri[Oi[0]].rules!==vi:!1;zi?(Mn=oi.extend(!0,{},oi.fn.form.settings,In),pi=oi.extend({},oi.fn.form.settings.defaults,ri),Fi.error(Mn.error.oldSyntax,ls),Fi.verbose("Extending settings from legacy parameters",pi,Mn)):(ri.fields&&Fi.is.shorthandFields(ri.fields)&&(ri.fields=Fi.get.fieldsFromShorthand(ri.fields)),Mn=oi.extend(!0,{},oi.fn.form.settings,ri),pi=oi.extend({},oi.fn.form.settings.defaults,Mn.fields),Fi.verbose("Extending settings",pi,Mn))}else Mn=oi.fn.form.settings,pi=oi.fn.form.settings.defaults,Fi.verbose("Using default form validation",pi,Mn);Ai=Mn.namespace,rn=Mn.metadata,dn=Mn.selector,pn=Mn.className,Pn=Mn.regExp,nn=Mn.error,Ri="module-"+Ai,ki="."+Ai,en=un.data(Ri),Fi.refresh()},field:function(Oi){Fi.verbose("Finding field with identifier",Oi),Oi=Fi.escape.string(Oi);var zi;return(zi=qi.filter("#"+Oi)).length>0||(zi=qi.filter('[name="'+Oi+'"]')).length>0||(zi=qi.filter('[name="'+Oi+'[]"]')).length>0||(zi=qi.filter("[data-"+rn.validate+'="'+Oi+'"]')).length>0?zi:oi("<input/>")},fields:function(Oi){var zi=oi();return oi.each(Oi,function(Ti,Yi){zi=zi.add(Fi.get.field(Yi))}),zi},validation:function(Oi){var zi,Ti;return pi?(oi.each(pi,function(Yi,wn){Ti=wn.identifier||Yi,oi.each(Fi.get.field(Ti),function(Bi,Qi){if(Qi==Oi[0])return wn.identifier=Ti,zi=wn,!1})}),zi||!1):!1},value:function(Oi){var zi=[],Ti;return zi.push(Oi),Ti=Fi.get.values.call(ls,zi),Ti[Oi]},values:function(Oi){var zi=Array.isArray(Oi)?Fi.get.fields(Oi):qi,Ti={};return zi.each(function(Yi,wn){var Bi=oi(wn),Qi=Bi.closest(dn.uiCalendar),Gi=Bi.prop("name"),On=Bi.val(),Xn=Bi.is(dn.checkbox),cs=Bi.is(dn.radio),Vs=Gi.indexOf("[]")!==-1,uo=Qi.length>0&&Fi.can.useElement("calendar"),fo=Xn?Bi.is(":checked"):!1;if(Gi)if(Vs)Gi=Gi.replace("[]",""),Ti[Gi]||(Ti[Gi]=[]),Xn?fo?Ti[Gi].push(On||!0):Ti[Gi].push(!1):Ti[Gi].push(On);else if(cs)(Ti[Gi]===vi||Ti[Gi]===!1)&&(Ti[Gi]=fo?On||!0:!1);else if(Xn)fo?Ti[Gi]=On||!0:Ti[Gi]=!1;else if(uo){var go=Qi.calendar("get date");if(go!==null){if(Mn.dateHandling=="date")Ti[Gi]=go;else if(Mn.dateHandling=="input")Ti[Gi]=Qi.calendar("get input date");else if(Mn.dateHandling=="formatter"){var Po=Qi.calendar("setting","type");switch(Po){case"date":Ti[Gi]=Mn.formatter.date(go);break;case"datetime":Ti[Gi]=Mn.formatter.datetime(go);break;case"time":Ti[Gi]=Mn.formatter.time(go);break;case"month":Ti[Gi]=Mn.formatter.month(go);break;case"year":Ti[Gi]=Mn.formatter.year(go);break;default:Fi.debug("Wrong calendar mode",Qi,Po),Ti[Gi]=""}}}else Ti[Gi]=""}else Ti[Gi]=On}),Ti},dirtyFields:function(){return qi.filter(function(Oi,zi){return oi(zi).data(rn.isDirty)})}},has:{field:function(Oi){return Fi.verbose("Checking for existence of a field with identifier",Oi),Oi=Fi.escape.string(Oi),typeof Oi!="string"&&Fi.error(nn.identifier,Oi),qi.filter("#"+Oi).length>0||qi.filter('[name="'+Oi+'"]').length>0?!0:qi.filter("[data-"+rn.validate+'="'+Oi+'"]').length>0}},can:{useElement:function(Oi){return oi.fn[Oi]!==vi?!0:(Fi.error(nn.noElement.replace("{element}",Oi)),!1)}},escape:{string:function(Oi){return Oi=String(Oi),Oi.replace(Pn.escape,"\\$&")}},add:{rule:function(Oi,zi){Fi.add.field(Oi,zi)},field:function(Oi,zi){(pi[Oi]===vi||pi[Oi].rules===vi)&&(pi[Oi]={rules:[]});var Ti={rules:[]};Fi.is.shorthandRules(zi)?(zi=Array.isArray(zi)?zi:[zi],oi.each(zi,function(Yi,wn){Ti.rules.push({type:wn})})):Ti.rules=zi.rules,oi.each(Ti.rules,function(Yi,wn){oi.grep(pi[Oi].rules,function(Bi){return Bi.type==wn.type}).length==0&&pi[Oi].rules.push(wn)}),Fi.debug("Adding rules",Ti.rules,pi)},fields:function(Oi){var zi;Oi&&Fi.is.shorthandFields(Oi)?zi=Fi.get.fieldsFromShorthand(Oi):zi=Oi,pi=oi.extend({},pi,zi)},prompt:function(Oi,zi,Ti){var Yi=Fi.get.field(Oi),wn=Yi.closest(sn),Bi=wn.children(dn.prompt),Qi=Bi.length!==0;zi=typeof zi=="string"?[zi]:zi,Fi.verbose("Adding field error state",Oi),Ti||wn.addClass(pn.error),Mn.inline&&(Qi||(Bi=Mn.templates.prompt(zi,pn.label),Bi.appendTo(wn)),Bi.html(zi[0]),Qi?Fi.verbose("Inline errors are disabled, no inline error added",Oi):Mn.transition&&Fi.can.useElement("transition")&&un.transition("is supported")?(Fi.verbose("Displaying error with css transition",Mn.transition),Bi.transition(Mn.transition+" in",Mn.duration)):(Fi.verbose("Displaying error with fallback javascript animation"),Bi.fadeIn(Mn.duration)))},errors:function(Oi){Fi.debug("Adding form error messages",Oi),Fi.set.error(),rs.html(Mn.templates.error(Oi))}},remove:{errors:function(){Fi.debug("Removing form error messages"),rs.empty()},states:function(){un.removeClass(pn.error).removeClass(pn.success),Mn.inline||Fi.remove.errors(),Fi.determine.isDirty()},rule:function(Oi,zi){var Ti=Array.isArray(zi)?zi:[zi];if(!(pi[Oi]===vi||!Array.isArray(pi[Oi].rules))){if(zi===vi){Fi.debug("Removed all rules"),pi[Oi].rules=[];return}oi.each(pi[Oi].rules,function(Yi,wn){wn&&Ti.indexOf(wn.type)!==-1&&(Fi.debug("Removed rule",wn.type),pi[Oi].rules.splice(Yi,1))})}},field:function(Oi){var zi=Array.isArray(Oi)?Oi:[Oi];oi.each(zi,function(Ti,Yi){Fi.remove.rule(Yi)})},rules:function(Oi,zi){Array.isArray(Oi)?oi.each(Oi,function(Ti,Yi){Fi.remove.rule(Yi,zi)}):Fi.remove.rule(Oi,zi)},fields:function(Oi){Fi.remove.field(Oi)},prompt:function(Oi){var zi=Fi.get.field(Oi),Ti=zi.closest(sn),Yi=Ti.children(dn.prompt);Ti.removeClass(pn.error),Mn.inline&&Yi.is(":visible")&&(Fi.verbose("Removing prompt for field",Oi),Mn.transition&&Fi.can.useElement("transition")&&un.transition("is supported")?Yi.transition(Mn.transition+" out",Mn.duration,function(){Yi.remove()}):Yi.fadeOut(Mn.duration,function(){Yi.remove()}))}},set:{success:function(){un.removeClass(pn.error).addClass(pn.success)},defaults:function(){qi.each(function(Oi,zi){var Ti=oi(zi),Yi=Ti.parent(),wn=Ti.filter(dn.checkbox).length>0,Bi=Yi.is(dn.uiDropdown)&&Fi.can.useElement("dropdown"),Qi=Ti.closest(dn.uiCalendar),Gi=Qi.length>0&&Fi.can.useElement("calendar"),On=wn?Ti.is(":checked"):Ti.val();Bi?Yi.dropdown("save defaults"):Gi&&Qi.calendar("refresh"),Ti.data(rn.defaultValue,On),Ti.data(rn.isDirty,!1)})},error:function(){un.removeClass(pn.success).addClass(pn.error)},value:function(Oi,zi){var Ti={};return Ti[Oi]=zi,Fi.set.values.call(ls,Ti)},values:function(Oi){oi.isEmptyObject(Oi)||oi.each(Oi,function(zi,Ti){var Yi=Fi.get.field(zi),wn=Yi.parent(),Bi=Yi.closest(dn.uiCalendar),Qi=Array.isArray(Ti),Gi=wn.is(dn.uiCheckbox)&&Fi.can.useElement("checkbox"),On=wn.is(dn.uiDropdown)&&Fi.can.useElement("dropdown"),Xn=Yi.is(dn.radio)&&Gi,cs=Bi.length>0&&Fi.can.useElement("calendar"),Vs=Yi.length>0,uo;Vs&&(Qi&&Gi?(Fi.verbose("Selecting multiple",Ti,Yi),wn.checkbox("uncheck"),oi.each(Ti,function(fo,go){uo=Yi.filter('[value="'+go+'"]'),wn=uo.parent(),uo.length>0&&wn.checkbox("check")})):Xn?(Fi.verbose("Selecting radio value",Ti,Yi),Yi.filter('[value="'+Ti+'"]').parent(dn.uiCheckbox).checkbox("check")):Gi?(Fi.verbose("Setting checkbox value",Ti,wn),Ti===!0||Ti===1?wn.checkbox("check"):wn.checkbox("uncheck")):On?(Fi.verbose("Setting dropdown value",Ti,wn),wn.dropdown("set selected",Ti)):cs?Bi.calendar("set date",Ti):(Fi.verbose("Setting field value",Ti,Yi),Yi.val(Ti)))})},dirty:function(){Fi.verbose("Setting state dirty"),an=!0,Fn[0]=Fn[1],Fn[1]="dirty",Fi.is.justClean()&&un.trigger("dirty")},clean:function(){Fi.verbose("Setting state clean"),an=!1,Fn[0]=Fn[1],Fn[1]="clean",Fi.is.justDirty()&&un.trigger("clean")},asClean:function(){Fi.set.defaults(),Fi.set.clean()},asDirty:function(){Fi.set.defaults(),Fi.set.dirty()},autoCheck:function(){Fi.debug("Enabling auto check on required fields"),qi.each(function(Oi,zi){var Ti=oi(zi),Yi=oi(zi).closest(sn),wn=Ti.filter(dn.checkbox).length>0,Bi=Ti.prop("required")||Yi.hasClass(pn.required)||Yi.parent().hasClass(pn.required),Qi=Ti.is(":disabled")||Yi.hasClass(pn.disabled)||Yi.parent().hasClass(pn.disabled),Gi=Fi.get.validation(Ti),On=Gi?oi.grep(Gi.rules,function(cs){return cs.type=="empty"})!==0:!1,Xn=Gi.identifier||Ti.attr("id")||Ti.attr("name")||Ti.data(rn.validate);Bi&&!Qi&&!On&&Xn!==vi&&(wn?(Fi.verbose("Adding 'checked' rule on field",Xn),Fi.add.rule(Xn,"checked")):(Fi.verbose("Adding 'empty' rule on field",Xn),Fi.add.rule(Xn,"empty")))})}},validate:{form:function(Oi,zi){var Ti=Fi.get.values();if(En)return!1;if(ks=[],Fi.determine.isValid()){if(Fi.debug("Form has no validation errors, submitting"),Fi.set.success(),Mn.inline||Fi.remove.errors(),zi!==!0)return Mn.onSuccess.call(ls,Oi,Ti)}else if(Fi.debug("Form has errors"),Wi=!1,Fi.set.error(),Mn.inline||Fi.add.errors(ks),Oi&&un.data("moduleApi")!==vi&&Oi.stopImmediatePropagation(),zi!==!0)return Mn.onFailure.call(ls,ks,Ti)},field:function(Oi,zi,Ti){Ti=Ti!==vi?Ti:!0,typeof Oi=="string"&&(Fi.verbose("Validating field",Oi),zi=Oi,Oi=pi[Oi]);var Yi=Oi.identifier||zi,wn=Fi.get.field(Yi),Bi=Oi.depends?Fi.get.field(Oi.depends):!1,Qi=!0,Gi=[];Oi.identifier||(Fi.debug("Using field name as identifier",Yi),Oi.identifier=Yi);var On=!wn.filter(":not(:disabled)").length;if(On?Fi.debug("Field is disabled. Skipping",Yi):Oi.optional&&Fi.is.blank(wn)?Fi.debug("Field is optional and blank. Skipping",Yi):Oi.depends&&Fi.is.empty(Bi)?Fi.debug("Field depends on another value that is not present or empty. Skipping",Bi):Oi.rules!==vi&&(Ti&&wn.closest(sn).removeClass(pn.error),oi.each(Oi.rules,function(Xn,cs){if(Fi.has.field(Yi)){var Vs=Fi.validate.rule(Oi,cs,!0)||[];Vs.length>0&&(Fi.debug("Field is invalid",Yi,cs.type),Gi.push(Fi.get.prompt(cs,Oi)),Qi=!1,Ti&&oi(Vs).closest(sn).addClass(pn.error))}})),Qi)Ti&&(Fi.remove.prompt(Yi,Gi),Mn.onValid.call(wn));else return Ti&&(ks=ks.concat(Gi),Fi.add.prompt(Yi,Gi,!0),Mn.onInvalid.call(wn,Gi)),!1;return!0},rule:function(Oi,zi,Ti){var Yi=Fi.get.field(Oi.identifier),wn=Fi.get.ancillaryValue(zi),Bi=Fi.get.ruleName(zi),Qi=Mn.rules[Bi],Gi=[],On=Yi.is(dn.checkbox),Xn=function(cs){var Vs=On?oi(cs).filter(":checked").val():oi(cs).val();return Vs=Vs===vi||Vs===""||Vs===null?"":Mn.shouldTrim?(Vs+"").trim():Vs+"",Qi.call(cs,Vs,wn,un)};if(!oi.isFunction(Qi)){Fi.error(nn.noRule,Bi);return}return On?Xn(Yi)||(Gi=Yi):oi.each(Yi,function(cs,Vs){Xn(Vs)||Gi.push(Vs)}),Ti?Gi:!(Gi.length>0)}},setting:function(Oi,zi){if(oi.isPlainObject(Oi))oi.extend(!0,Mn,Oi);else if(zi!==vi)Mn[Oi]=zi;else return Mn[Oi]},internal:function(Oi,zi){if(oi.isPlainObject(Oi))oi.extend(!0,Fi,Oi);else if(zi!==vi)Fi[Oi]=zi;else return Fi[Oi]},debug:function(){!Mn.silent&&Mn.debug&&(Mn.performance?Fi.performance.log(arguments):(Fi.debug=Function.prototype.bind.call(console.info,console,Mn.name+":"),Fi.debug.apply(console,arguments)))},verbose:function(){!Mn.silent&&Mn.verbose&&Mn.debug&&(Mn.performance?Fi.performance.log(arguments):(Fi.verbose=Function.prototype.bind.call(console.info,console,Mn.name+":"),Fi.verbose.apply(console,arguments)))},error:function(){Mn.silent||(Fi.error=Function.prototype.bind.call(console.error,console,Mn.name+":"),Fi.error.apply(console,arguments))},performance:{log:function(Oi){var zi,Ti,Yi;Mn.performance&&(zi=new Date().getTime(),Yi=Ji||zi,Ti=zi-Yi,Ji=zi,tn.push({Name:Oi[0],Arguments:[].slice.call(Oi,1)||"",Element:ls,"Execution Time":Ti})),clearTimeout(Fi.performance.timer),Fi.performance.timer=setTimeout(Fi.performance.display,500)},display:function(){var Oi=Mn.name+":",zi=0;Ji=!1,clearTimeout(Fi.performance.timer),oi.each(tn,function(Ti,Yi){zi+=Yi["Execution Time"]}),Oi+=" "+zi+"ms",Li&&(Oi+=" '"+Li+"'"),yi.length>1&&(Oi+=" ("+yi.length+")"),(console.group!==vi||console.table!==vi)&&tn.length>0&&(console.groupCollapsed(Oi),console.table?console.table(tn):oi.each(tn,function(Ti,Yi){console.log(Yi.Name+": "+Yi["Execution Time"]+"ms")}),console.groupEnd()),tn=[]}},invoke:function(Oi,zi,Ti){var Yi=en,wn,Bi,Qi;return zi=zi||bn,Ti=ls||Ti,typeof Oi=="string"&&Yi!==vi&&(Oi=Oi.split(/[\. ]/),wn=Oi.length-1,oi.each(Oi,function(Gi,On){var Xn=Gi!=wn?On+Oi[Gi+1].charAt(0).toUpperCase()+Oi[Gi+1].slice(1):Oi;if(oi.isPlainObject(Yi[Xn])&&Gi!=wn)Yi=Yi[Xn];else{if(Yi[Xn]!==vi)return Bi=Yi[Xn],!1;if(oi.isPlainObject(Yi[On])&&Gi!=wn)Yi=Yi[On];else return Yi[On]!==vi&&(Bi=Yi[On]),!1}})),oi.isFunction(Bi)?Qi=Bi.apply(Ti,zi):Bi!==vi&&(Qi=Bi),Array.isArray(Zi)?Zi.push(Qi):Zi!==vi?Zi=[Zi,Qi]:Qi!==vi&&(Zi=Qi),Bi}},Fi.initialize()}),Zi!==vi?Zi:this},oi.fn.form.settings={name:"Form",namespace:"form",debug:!1,verbose:!1,performance:!0,fields:!1,keyboardShortcuts:!0,on:"submit",inline:!1,delay:200,revalidate:!0,shouldTrim:!0,transition:"scale",duration:200,autoCheckRequired:!1,preventLeaving:!1,dateHandling:"date",onValid:function(){},onInvalid:function(){},onSuccess:function(){return!0},onFailure:function(){return!1},onDirty:function(){},onClean:function(){},metadata:{defaultValue:"default",validate:"validate",isDirty:"isDirty"},regExp:{htmlID:/^[a-zA-Z][\w:.-]*$/g,bracket:/\[(.*)\]/i,decimal:/^\d+\.?\d*$/,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|:,=@]/g,flags:/^\/(.*)\/(.*)?/,integer:/^\-?\d+$/,number:/^\-?\d*(\.\d+)?$/,url:/(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/i},text:{unspecifiedRule:"Please enter a valid value",unspecifiedField:"This field",leavingMessage:"There are unsaved changes on this page which will be discarded if you continue."},prompt:{empty:"{name} must have a value",checked:"{name} must be checked",email:"{name} must be a valid e-mail",url:"{name} must be a valid url",regExp:"{name} is not formatted correctly",integer:"{name} must be an integer",decimal:"{name} must be a decimal number",number:"{name} must be set to a number",is:'{name} must be "{ruleValue}"',isExactly:'{name} must be exactly "{ruleValue}"',not:'{name} cannot be set to "{ruleValue}"',notExactly:'{name} cannot be set to exactly "{ruleValue}"',contain:'{name} must contain "{ruleValue}"',containExactly:'{name} must contain exactly "{ruleValue}"',doesntContain:'{name} cannot contain "{ruleValue}"',doesntContainExactly:'{name} cannot contain exactly "{ruleValue}"',minLength:"{name} must be at least {ruleValue} characters",length:"{name} must be at least {ruleValue} characters",exactLength:"{name} must be exactly {ruleValue} characters",maxLength:"{name} cannot be longer than {ruleValue} characters",match:"{name} must match {ruleValue} field",different:"{name} must have a different value than {ruleValue} field",creditCard:"{name} must be a valid credit card number",minCount:"{name} must have at least {ruleValue} choices",exactCount:"{name} must have exactly {ruleValue} choices",maxCount:"{name} must have {ruleValue} or less choices"},selector:{checkbox:'input[type="checkbox"], input[type="radio"]',clear:".clear",field:"input:not(.search), textarea, select",group:".field",input:"input",message:".error.message",prompt:".prompt.label",radio:'input[type="radio"]',reset:'.reset:not([type="reset"])',submit:'.submit:not([type="submit"])',uiCheckbox:".ui.checkbox",uiDropdown:".ui.dropdown",uiCalendar:".ui.calendar"},className:{error:"error",label:"ui basic red pointing prompt label",pressed:"down",success:"success",required:"required",disabled:"disabled"},error:{identifier:"You must specify a string identifier for each field",method:"The method you called is not defined.",noRule:"There is no rule matching the one you specified",oldSyntax:"Starting in 2.0 forms now only take a single settings object. Validation settings converted to new syntax automatically.",noElement:"This module requires ui {element}"},templates:{error:function(ri){var yi='<ul class="list">';return oi.each(ri,function(Li,Ji){yi+="<li>"+Ji+"</li>"}),yi+="</ul>",oi(yi)},prompt:function(ri,yi){return oi("<div/>").addClass(yi).html(ri[0])}},formatter:{date:function(ri){return Intl.DateTimeFormat("en-GB").format(ri)},datetime:function(ri){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(ri)},time:function(ri){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(ri)},month:function(ri){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(ri)},year:function(ri){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(ri)}},rules:{empty:function(ri){return!(ri===vi||ri===""||Array.isArray(ri)&&ri.length===0)},checked:function(){return oi(this).filter(":checked").length>0},email:function(ri){return oi.fn.form.settings.regExp.email.test(ri)},url:function(ri){return oi.fn.form.settings.regExp.url.test(ri)},regExp:function(ri,yi){if(yi instanceof RegExp)return ri.match(yi);var Li=yi.match(oi.fn.form.settings.regExp.flags),Ji;return Li&&(yi=Li.length>=2?Li[1]:yi,Ji=Li.length>=3?Li[2]:""),ri.match(new RegExp(yi,Ji))},integer:function(ri,yi){var Li=oi.fn.form.settings.regExp.integer,Ji,tn,_n;return!yi||["",".."].indexOf(yi)!==-1||(yi.indexOf("..")==-1?Li.test(yi)&&(Ji=tn=yi-0):(_n=yi.split("..",2),Li.test(_n[0])&&(Ji=_n[0]-0),Li.test(_n[1])&&(tn=_n[1]-0))),Li.test(ri)&&(Ji===vi||ri>=Ji)&&(tn===vi||ri<=tn)},decimal:function(ri){return oi.fn.form.settings.regExp.decimal.test(ri)},number:function(ri){return oi.fn.form.settings.regExp.number.test(ri)},is:function(ri,yi){return yi=typeof yi=="string"?yi.toLowerCase():yi,ri=typeof ri=="string"?ri.toLowerCase():ri,ri==yi},isExactly:function(ri,yi){return ri==yi},not:function(ri,yi){return ri=typeof ri=="string"?ri.toLowerCase():ri,yi=typeof yi=="string"?yi.toLowerCase():yi,ri!=yi},notExactly:function(ri,yi){return ri!=yi},contains:function(ri,yi){return yi=yi.replace(oi.fn.form.settings.regExp.escape,"\\$&"),ri.search(new RegExp(yi,"i"))!==-1},containsExactly:function(ri,yi){return yi=yi.replace(oi.fn.form.settings.regExp.escape,"\\$&"),ri.search(new RegExp(yi))!==-1},doesntContain:function(ri,yi){return yi=yi.replace(oi.fn.form.settings.regExp.escape,"\\$&"),ri.search(new RegExp(yi,"i"))===-1},doesntContainExactly:function(ri,yi){return yi=yi.replace(oi.fn.form.settings.regExp.escape,"\\$&"),ri.search(new RegExp(yi))===-1},minLength:function(ri,yi){return ri!==vi?ri.length>=yi:!1},length:function(ri,yi){return ri!==vi?ri.length>=yi:!1},exactLength:function(ri,yi){return ri!==vi?ri.length==yi:!1},maxLength:function(ri,yi){return ri!==vi?ri.length<=yi:!1},match:function(ri,yi,Li){var Ji,tn;return(tn=Li.find('[data-validate="'+yi+'"]')).length>0||(tn=Li.find("#"+yi)).length>0||(tn=Li.find('[name="'+yi+'"]')).length>0?Ji=tn.val():(tn=Li.find('[name="'+yi+'[]"]')).length>0&&(Ji=tn),Ji!==vi?ri.toString()==Ji.toString():!1},different:function(ri,yi,Li){var Ji,tn;return(tn=Li.find('[data-validate="'+yi+'"]')).length>0||(tn=Li.find("#"+yi)).length>0||(tn=Li.find('[name="'+yi+'"]')).length>0?Ji=tn.val():(tn=Li.find('[name="'+yi+'[]"]')).length>0&&(Ji=tn),Ji!==vi?ri.toString()!==Ji.toString():!1},creditCard:function(ri,yi){var Li={visa:{pattern:/^4/,length:[16]},amex:{pattern:/^3[47]/,length:[15]},mastercard:{pattern:/^5[1-5]/,length:[16]},discover:{pattern:/^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)/,length:[16]},unionPay:{pattern:/^(62|88)/,length:[16,17,18,19]},jcb:{pattern:/^35(2[89]|[3-8][0-9])/,length:[16]},maestro:{pattern:/^(5018|5020|5038|6304|6759|676[1-3])/,length:[12,13,14,15,16,17,18,19]},dinersClub:{pattern:/^(30[0-5]|^36)/,length:[14]},laser:{pattern:/^(6304|670[69]|6771)/,length:[16,17,18,19]},visaElectron:{pattern:/^(4026|417500|4508|4844|491(3|7))/,length:[16]}},Ji={},tn=!1,_n=typeof yi=="string"?yi.split(","):!1,In,Vn;if(!(typeof ri!="string"||ri.length===0)){if(ri=ri.replace(/[\-]/g,""),_n&&(oi.each(_n,function(ks,En){Vn=Li[En],Vn&&(Ji={length:oi.inArray(ri.length,Vn.length)!==-1,pattern:ri.search(Vn.pattern)!==-1},Ji.length&&Ji.pattern&&(tn=!0))}),!tn))return!1;if(In={number:oi.inArray(ri.length,Li.unionPay.length)!==-1,pattern:ri.search(Li.unionPay.pattern)!==-1},In.number&&In.pattern)return!0;for(var bn=ri.length,Zi=0,un=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],ls=0;bn--;)ls+=un[Zi][parseInt(ri.charAt(bn),10)],Zi^=1;return ls%10===0&&ls>0}},minCount:function(ri,yi){return yi==0?!0:yi==1?ri!=="":ri.split(",").length>=yi},exactCount:function(ri,yi){return yi==0?ri==="":yi==1?ri!==""&&ri.search(",")===-1:ri.split(",").length==yi},maxCount:function(ri,yi){return yi==0?!1:yi==1?ri.search(",")===-1:ri.split(",").length<=yi}}}})(jQuery,window,document);(function(oi,bi,wi,vi){"use strict";oi.isFunction=oi.isFunction||function(ri){return typeof ri=="function"&&typeof ri.nodeType!="number"},bi=typeof bi<"u"&&bi.Math==Math?bi:typeof self<"u"&&self.Math==Math?self:Function("return this")(),oi.fn.modal=function(ri){var yi=oi(this),Li=oi(bi),Ji=oi(wi),tn=oi("body"),_n=yi.selector||"",In=new Date().getTime(),Vn=[],bn=arguments[0],Zi=typeof bn=="string",un=[].slice.call(arguments,1),ls=bi.requestAnimationFrame||bi.mozRequestAnimationFrame||bi.webkitRequestAnimationFrame||bi.msRequestAnimationFrame||function(En){setTimeout(En,0)},ks;return yi.each(function(){var En=oi.isPlainObject(ri)?oi.extend(!0,{},oi.fn.modal.settings,ri):oi.extend({},oi.fn.modal.settings),qi=En.selector,sn=En.className,rs=En.namespace,hs=En.error,fs="."+rs,yn="module-"+rs,mn=oi(this),Mn=oi(En.context),pi=mn.find(qi.close),rn,dn,pn,Pn,nn,Ai=this,Ri=mn.data(yn),ki=!1,Wi,an,Fn="",en="",Fi,Oi,zi,Ti;Ti={initialize:function(){Ti.cache={},Ti.verbose("Initializing dimmer",Mn),Ti.create.id(),Ti.create.dimmer(),En.allowMultiple&&Ti.create.innerDimmer(),En.centered||mn.addClass("top aligned"),Ti.refreshModals(),Ti.bind.events(),En.observeChanges&&Ti.observeChanges(),Ti.instantiate()},instantiate:function(){Ti.verbose("Storing instance of modal"),Ri=Ti,mn.data(yn,Ri)},create:{dimmer:function(){var Yi={debug:En.debug,dimmerName:"modals"},wn=oi.extend(!0,Yi,En.dimmerSettings);if(oi.fn.dimmer===vi){Ti.error(hs.dimmer);return}Ti.debug("Creating dimmer"),Pn=Mn.dimmer(wn),En.detachable?(Ti.verbose("Modal is detachable, moving content into dimmer"),Pn.dimmer("add content",mn)):Ti.set.undetached(),nn=Pn.dimmer("get dimmer")},id:function(){Oi=(Math.random().toString(16)+"000000000").substr(2,8),Fi="."+Oi,Ti.verbose("Creating unique id for element",Oi)},innerDimmer:function(){mn.find(qi.dimmer).length==0&&mn.prepend('<div class="ui inverted dimmer"></div>')}},destroy:function(){zi&&zi.disconnect(),Ti.verbose("Destroying previous modal"),mn.removeData(yn).off(fs),Li.off(Fi),nn.off(Fi),pi.off(fs),Mn.dimmer("destroy")},observeChanges:function(){"MutationObserver"in bi&&(zi=new MutationObserver(function(Yi){Ti.debug("DOM tree modified, refreshing"),Ti.refresh()}),zi.observe(Ai,{childList:!0,subtree:!0}),Ti.debug("Setting up mutation observer",zi))},refresh:function(){Ti.remove.scrolling(),Ti.cacheSizes(),Ti.can.useFlex()||Ti.set.modalOffset(),Ti.set.screenHeight(),Ti.set.type()},refreshModals:function(){dn=mn.siblings(qi.modal),rn=dn.add(mn)},attachEvents:function(Yi,wn){var Bi=oi(Yi);wn=oi.isFunction(Ti[wn])?Ti[wn]:Ti.toggle,Bi.length>0?(Ti.debug("Attaching modal events to element",Yi,wn),Bi.off(fs).on("click"+fs,wn)):Ti.error(hs.notFound,Yi)},bind:{events:function(){Ti.verbose("Attaching events"),mn.on("click"+fs,qi.close,Ti.event.close).on("click"+fs,qi.approve,Ti.event.approve).on("click"+fs,qi.deny,Ti.event.deny),Li.on("resize"+Fi,Ti.event.resize)},scrollLock:function(){Pn.get(0).addEventListener("touchmove",Ti.event.preventScroll,{passive:!1})}},unbind:{scrollLock:function(){Pn.get(0).removeEventListener("touchmove",Ti.event.preventScroll,{passive:!1})}},get:{id:function(){return(Math.random().toString(16)+"000000000").substr(2,8)}},event:{approve:function(){if(ki||En.onApprove.call(Ai,oi(this))===!1){Ti.verbose("Approve callback returned false cancelling hide");return}ki=!0,Ti.hide(function(){ki=!1})},preventScroll:function(Yi){Yi.target.className.indexOf("dimmer")!==-1&&Yi.preventDefault()},deny:function(){if(ki||En.onDeny.call(Ai,oi(this))===!1){Ti.verbose("Deny callback returned false cancelling hide");return}ki=!0,Ti.hide(function(){ki=!1})},close:function(){Ti.hide()},mousedown:function(Yi){var wn=oi(Yi.target),Bi=Ti.is.rtl();Wi=wn.closest(qi.modal).length>0,Wi&&Ti.verbose("Mouse down event registered inside the modal"),an=Ti.is.scrolling()&&(!Bi&&oi(bi).outerWidth()-En.scrollbarWidth<=Yi.clientX||Bi&&En.scrollbarWidth>=Yi.clientX),an&&Ti.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(Yi){if(!En.closable){Ti.verbose("Dimmer clicked but closable setting is disabled");return}if(Wi){Ti.debug("Dimmer clicked but mouse down was initially registered inside the modal");return}if(an){Ti.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");return}var wn=oi(Yi.target),Bi=wn.closest(qi.modal).length>0,Qi=oi.contains(wi.documentElement,Yi.target);if(!Bi&&Qi&&Ti.is.active()&&mn.hasClass(sn.front)){if(Ti.debug("Dimmer clicked, hiding all modals"),En.allowMultiple){if(!Ti.hideAll())return}else if(!Ti.hide())return;Ti.remove.clickaway()}},debounce:function(Yi,wn){clearTimeout(Ti.timer),Ti.timer=setTimeout(Yi,wn)},keyboard:function(Yi){var wn=Yi.which,Bi=27;wn==Bi&&(En.closable?(Ti.debug("Escape key pressed hiding modal"),mn.hasClass(sn.front)&&Ti.hide()):Ti.debug("Escape key pressed, but closable is set to false"),Yi.preventDefault())},resize:function(){Pn.dimmer("is active")&&(Ti.is.animating()||Ti.is.active())&&ls(Ti.refresh)}},toggle:function(){Ti.is.active()||Ti.is.animating()?Ti.hide():Ti.show()},show:function(Yi){Yi=oi.isFunction(Yi)?Yi:function(){},Ti.refreshModals(),Ti.set.dimmerSettings(),Ti.set.dimmerStyles(),Ti.showModal(Yi)},hide:function(Yi){return Yi=oi.isFunction(Yi)?Yi:function(){},Ti.refreshModals(),Ti.hideModal(Yi)},showModal:function(Yi){Yi=oi.isFunction(Yi)?Yi:function(){},Ti.is.animating()||!Ti.is.active()?(Ti.showDimmer(),Ti.cacheSizes(),Ti.set.bodyMargin(),Ti.can.useFlex()?Ti.remove.legacy():(Ti.set.legacy(),Ti.set.modalOffset(),Ti.debug("Using non-flex legacy modal positioning.")),Ti.set.screenHeight(),Ti.set.type(),Ti.set.clickaway(),!En.allowMultiple&&Ti.others.active()?Ti.hideOthers(Ti.showModal):(ki=!1,En.allowMultiple&&(Ti.others.active()&&dn.filter("."+sn.active).find(qi.dimmer).addClass("active"),En.detachable&&mn.detach().appendTo(nn)),En.onShow.call(Ai),En.transition&&oi.fn.transition!==vi&&mn.transition("is supported")?(Ti.debug("Showing modal with css animations"),mn.transition({debug:En.debug,animation:En.transition+" in",queue:En.queue,duration:En.duration,useFailSafe:!0,onComplete:function(){En.onVisible.apply(Ai),En.keyboardShortcuts&&Ti.add.keyboardShortcuts(),Ti.save.focus(),Ti.set.active(),En.autofocus&&Ti.set.autofocus(),Yi()}})):Ti.error(hs.noTransition))):Ti.debug("Modal is already visible")},hideModal:function(Yi,wn,Bi){var Qi=dn.filter("."+sn.active).last();if(Yi=oi.isFunction(Yi)?Yi:function(){},Ti.debug("Hiding modal"),En.onHide.call(Ai,oi(this))===!1)return Ti.verbose("Hide callback returned false cancelling hide"),ki=!1,!1;(Ti.is.animating()||Ti.is.active())&&(En.transition&&oi.fn.transition!==vi&&mn.transition("is supported")?(Ti.remove.active(),mn.transition({debug:En.debug,animation:En.transition+" out",queue:En.queue,duration:En.duration,useFailSafe:!0,onStart:function(){!Ti.others.active()&&!Ti.others.animating()&&!wn&&Ti.hideDimmer(),En.keyboardShortcuts&&!Ti.others.active()&&Ti.remove.keyboardShortcuts()},onComplete:function(){Ti.unbind.scrollLock(),En.allowMultiple&&(Qi.addClass(sn.front),mn.removeClass(sn.front),Bi?rn.find(qi.dimmer).removeClass("active"):Qi.find(qi.dimmer).removeClass("active")),En.onHidden.call(Ai),Ti.remove.dimmerStyles(),Ti.restore.focus(),Yi()}})):Ti.error(hs.noTransition))},showDimmer:function(){Pn.dimmer("is animating")||!Pn.dimmer("is active")?(Ti.save.bodyMargin(),Ti.debug("Showing dimmer"),Pn.dimmer("show")):Ti.debug("Dimmer already visible")},hideDimmer:function(){if(Pn.dimmer("is animating")||Pn.dimmer("is active"))Ti.unbind.scrollLock(),Pn.dimmer("hide",function(){Ti.restore.bodyMargin(),Ti.remove.clickaway(),Ti.remove.screenHeight()});else{Ti.debug("Dimmer is not visible cannot hide");return}},hideAll:function(Yi){var wn=rn.filter("."+sn.active+", ."+sn.animating);if(Yi=oi.isFunction(Yi)?Yi:function(){},wn.length>0){Ti.debug("Hiding all visible modals");var Bi=!0;return oi(wn.get().reverse()).each(function(Qi,Gi){Bi&&(Bi=oi(Gi).modal("hide modal",Yi,!1,!0))}),Bi&&Ti.hideDimmer(),Bi}},hideOthers:function(Yi){var wn=dn.filter("."+sn.active+", ."+sn.animating);Yi=oi.isFunction(Yi)?Yi:function(){},wn.length>0&&(Ti.debug("Hiding other modals",dn),wn.modal("hide modal",Yi,!0))},others:{active:function(){return dn.filter("."+sn.active).length>0},animating:function(){return dn.filter("."+sn.animating).length>0}},add:{keyboardShortcuts:function(){Ti.verbose("Adding keyboard shortcuts"),Ji.on("keyup"+fs,Ti.event.keyboard)}},save:{focus:function(){var Yi=oi(wi.activeElement),wn=Yi.closest(mn).length>0;wn||(pn=oi(wi.activeElement).blur())},bodyMargin:function(){Fn=tn.css("margin-"+(Ti.can.leftBodyScrollbar()?"left":"right"));var Yi=parseInt(Fn.replace(/[^\d.]/g,"")),wn=bi.innerWidth-wi.documentElement.clientWidth;en=Yi+wn}},restore:{focus:function(){pn&&pn.length>0&&En.restoreFocus&&pn.focus()},bodyMargin:function(){var Yi=Ti.can.leftBodyScrollbar()?"left":"right";tn.css("margin-"+Yi,Fn),tn.find(qi.bodyFixed.replace("right",Yi)).css("padding-"+Yi,Fn)}},remove:{active:function(){mn.removeClass(sn.active)},legacy:function(){mn.removeClass(sn.legacy)},clickaway:function(){En.detachable||mn.off("mousedown"+Fi),nn.off("mousedown"+Fi),nn.off("mouseup"+Fi)},dimmerStyles:function(){nn.removeClass(sn.inverted),Pn.removeClass(sn.blurring)},bodyStyle:function(){tn.attr("style")===""&&(Ti.verbose("Removing style attribute"),tn.removeAttr("style"))},screenHeight:function(){Ti.debug("Removing page height"),tn.css("height","")},keyboardShortcuts:function(){Ti.verbose("Removing keyboard shortcuts"),Ji.off("keyup"+fs)},scrolling:function(){Pn.removeClass(sn.scrolling),mn.removeClass(sn.scrolling)}},cacheSizes:function(){mn.addClass(sn.loading);var Yi=mn.prop("scrollHeight"),wn=mn.outerWidth(),Bi=mn.outerHeight();(Ti.cache.pageHeight===vi||Bi!==0)&&(oi.extend(Ti.cache,{pageHeight:oi(wi).outerHeight(),width:wn,height:Bi+En.offset,scrollHeight:Yi+En.offset,contextHeight:En.context=="body"?oi(bi).height():Pn.height()}),Ti.cache.topOffset=-(Ti.cache.height/2)),mn.removeClass(sn.loading),Ti.debug("Caching modal and container sizes",Ti.cache)},can:{leftBodyScrollbar:function(){return Ti.cache.leftBodyScrollbar===vi&&(Ti.cache.leftBodyScrollbar=Ti.is.rtl()&&(Ti.is.iframe&&!Ti.is.firefox()||Ti.is.safari()||Ti.is.edge()||Ti.is.ie())),Ti.cache.leftBodyScrollbar},useFlex:function(){return En.useFlex==="auto"?En.detachable&&!Ti.is.ie():(En.useFlex&&Ti.is.ie()?Ti.debug("useFlex true is not supported in IE"):En.useFlex&&!En.detachable&&Ti.debug("useFlex true in combination with detachable false is not supported"),En.useFlex)},fit:function(){var Yi=Ti.cache.contextHeight,wn=Ti.cache.contextHeight/2,Bi=Ti.cache.topOffset,Qi=Ti.cache.scrollHeight,Gi=Ti.cache.height,On=En.padding,Xn=wn+Bi;return Qi>Gi?Xn+Qi+On<Yi:Gi+On*2<Yi}},is:{active:function(){return mn.hasClass(sn.active)},ie:function(){if(Ti.cache.isIE===vi){var Yi=!bi.ActiveXObject&&"ActiveXObject"in bi,wn="ActiveXObject"in bi;Ti.cache.isIE=Yi||wn}return Ti.cache.isIE},animating:function(){return mn.transition("is supported")?mn.transition("is animating"):mn.is(":visible")},scrolling:function(){return Pn.hasClass(sn.scrolling)},modernBrowser:function(){return!(bi.ActiveXObject||"ActiveXObject"in bi)},rtl:function(){return Ti.cache.isRTL===vi&&(Ti.cache.isRTL=tn.attr("dir")==="rtl"||tn.css("direction")==="rtl"),Ti.cache.isRTL},safari:function(){return Ti.cache.isSafari===vi&&(Ti.cache.isSafari=/constructor/i.test(bi.HTMLElement)||!!bi.ApplePaySession),Ti.cache.isSafari},edge:function(){return Ti.cache.isEdge===vi&&(Ti.cache.isEdge=!!bi.setImmediate&&!Ti.is.ie()),Ti.cache.isEdge},firefox:function(){return Ti.cache.isFirefox===vi&&(Ti.cache.isFirefox=!!bi.InstallTrigger),Ti.cache.isFirefox},iframe:function(){return self!==top}},set:{autofocus:function(){var Yi=mn.find("[tabindex], :input").filter(":visible").filter(function(){return oi(this).closest(".disabled").length===0}),wn=Yi.filter("[autofocus]"),Bi=wn.length>0?wn.first():Yi.first();Bi.length>0&&Bi.focus()},bodyMargin:function(){var Yi=Ti.can.leftBodyScrollbar()?"left":"right";(En.detachable||Ti.can.fit())&&tn.css("margin-"+Yi,en+"px"),tn.find(qi.bodyFixed.replace("right",Yi)).css("padding-"+Yi,en+"px")},clickaway:function(){En.detachable||mn.on("mousedown"+Fi,Ti.event.mousedown),nn.on("mousedown"+Fi,Ti.event.mousedown),nn.on("mouseup"+Fi,Ti.event.mouseup)},dimmerSettings:function(){if(oi.fn.dimmer===vi){Ti.error(hs.dimmer);return}var Yi={debug:En.debug,dimmerName:"modals",closable:"auto",useFlex:Ti.can.useFlex(),duration:{show:En.duration,hide:En.duration}},wn=oi.extend(!0,Yi,En.dimmerSettings);En.inverted&&(wn.variation=wn.variation!==vi?wn.variation+" inverted":"inverted"),Mn.dimmer("setting",wn)},dimmerStyles:function(){En.inverted?nn.addClass(sn.inverted):nn.removeClass(sn.inverted),En.blurring?Pn.addClass(sn.blurring):Pn.removeClass(sn.blurring)},modalOffset:function(){if(En.detachable)mn.css({marginTop:!mn.hasClass("aligned")&&Ti.can.fit()?-(Ti.cache.height/2):En.padding/2,marginLeft:-(Ti.cache.width/2)});else{var Yi=Ti.can.fit();mn.css({top:!mn.hasClass("aligned")&&Yi?oi(wi).scrollTop()+(Ti.cache.contextHeight-Ti.cache.height)/2:!Yi||mn.hasClass("top")?oi(wi).scrollTop()+En.padding:oi(wi).scrollTop()+(Ti.cache.contextHeight-Ti.cache.height-En.padding),marginLeft:-(Ti.cache.width/2)})}Ti.verbose("Setting modal offset for legacy mode")},screenHeight:function(){Ti.can.fit()?tn.css("height",""):mn.hasClass("bottom")||(Ti.debug("Modal is taller than page content, resizing page height"),tn.css("height",Ti.cache.height+En.padding*2))},active:function(){mn.addClass(sn.active+" "+sn.front),dn.filter("."+sn.active).removeClass(sn.front)},scrolling:function(){Pn.addClass(sn.scrolling),mn.addClass(sn.scrolling),Ti.unbind.scrollLock()},legacy:function(){mn.addClass(sn.legacy)},type:function(){Ti.can.fit()?(Ti.verbose("Modal fits on screen"),!Ti.others.active()&&!Ti.others.animating()&&(Ti.remove.scrolling(),Ti.bind.scrollLock())):mn.hasClass("bottom")?Ti.verbose("Bottom aligned modal not fitting on screen is unsupported for scrolling"):(Ti.verbose("Modal cannot fit on screen setting to scrolling"),Ti.set.scrolling())},undetached:function(){Pn.addClass(sn.undetached)}},setting:function(Yi,wn){if(Ti.debug("Changing setting",Yi,wn),oi.isPlainObject(Yi))oi.extend(!0,En,Yi);else if(wn!==vi)oi.isPlainObject(En[Yi])?oi.extend(!0,En[Yi],wn):En[Yi]=wn;else return En[Yi]},internal:function(Yi,wn){if(oi.isPlainObject(Yi))oi.extend(!0,Ti,Yi);else if(wn!==vi)Ti[Yi]=wn;else return Ti[Yi]},debug:function(){!En.silent&&En.debug&&(En.performance?Ti.performance.log(arguments):(Ti.debug=Function.prototype.bind.call(console.info,console,En.name+":"),Ti.debug.apply(console,arguments)))},verbose:function(){!En.silent&&En.verbose&&En.debug&&(En.performance?Ti.performance.log(arguments):(Ti.verbose=Function.prototype.bind.call(console.info,console,En.name+":"),Ti.verbose.apply(console,arguments)))},error:function(){En.silent||(Ti.error=Function.prototype.bind.call(console.error,console,En.name+":"),Ti.error.apply(console,arguments))},performance:{log:function(Yi){var wn,Bi,Qi;En.performance&&(wn=new Date().getTime(),Qi=In||wn,Bi=wn-Qi,In=wn,Vn.push({Name:Yi[0],Arguments:[].slice.call(Yi,1)||"",Element:Ai,"Execution Time":Bi})),clearTimeout(Ti.performance.timer),Ti.performance.timer=setTimeout(Ti.performance.display,500)},display:function(){var Yi=En.name+":",wn=0;In=!1,clearTimeout(Ti.performance.timer),oi.each(Vn,function(Bi,Qi){wn+=Qi["Execution Time"]}),Yi+=" "+wn+"ms",_n&&(Yi+=" '"+_n+"'"),(console.group!==vi||console.table!==vi)&&Vn.length>0&&(console.groupCollapsed(Yi),console.table?console.table(Vn):oi.each(Vn,function(Bi,Qi){console.log(Qi.Name+": "+Qi["Execution Time"]+"ms")}),console.groupEnd()),Vn=[]}},invoke:function(Yi,wn,Bi){var Qi=Ri,Gi,On,Xn;return wn=wn||un,Bi=Ai||Bi,typeof Yi=="string"&&Qi!==vi&&(Yi=Yi.split(/[\. ]/),Gi=Yi.length-1,oi.each(Yi,function(cs,Vs){var uo=cs!=Gi?Vs+Yi[cs+1].charAt(0).toUpperCase()+Yi[cs+1].slice(1):Yi;if(oi.isPlainObject(Qi[uo])&&cs!=Gi)Qi=Qi[uo];else{if(Qi[uo]!==vi)return On=Qi[uo],!1;if(oi.isPlainObject(Qi[Vs])&&cs!=Gi)Qi=Qi[Vs];else return Qi[Vs]!==vi&&(On=Qi[Vs]),!1}})),oi.isFunction(On)?Xn=On.apply(Bi,wn):On!==vi&&(Xn=On),Array.isArray(ks)?ks.push(Xn):ks!==vi?ks=[ks,Xn]:Xn!==vi&&(ks=Xn),On}},Zi?(Ri===vi&&Ti.initialize(),Ti.invoke(bn)):(Ri!==vi&&Ri.invoke("destroy"),Ti.initialize())}),ks!==vi?ks:this},oi.fn.modal.settings={name:"Modal",namespace:"modal",useFlex:"auto",offset:0,silent:!1,debug:!1,verbose:!1,performance:!0,observeChanges:!1,allowMultiple:!1,detachable:!0,closable:!0,autofocus:!0,restoreFocus:!0,inverted:!1,blurring:!1,centered:!0,dimmerSettings:{closable:!1,useCSS:!0},keyboardShortcuts:!0,context:"body",queue:!1,duration:500,transition:"scale",padding:50,scrollbarWidth:10,onShow:function(){},onVisible:function(){},onHide:function(){return!0},onHidden:function(){},onApprove:function(){return!0},onDeny:function(){return!0},selector:{close:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front"}}})(jQuery,window,document);(function(oi,bi,wi,vi){"use strict";oi.isFunction=oi.isFunction||function(ri){return typeof ri=="function"&&typeof ri.nodeType!="number"},bi=typeof bi<"u"&&bi.Math==Math?bi:typeof self<"u"&&self.Math==Math?self:Function("return this")(),oi.fn.search=function(ri){var yi=oi(this),Li=yi.selector||"",Ji=new Date().getTime(),tn=[],_n=arguments[0],In=typeof _n=="string",Vn=[].slice.call(arguments,1),bn;return oi(this).each(function(){var Zi=oi.isPlainObject(ri)?oi.extend(!0,{},oi.fn.search.settings,ri):oi.extend({},oi.fn.search.settings),un=Zi.className,ls=Zi.metadata,ks=Zi.regExp,En=Zi.fields,qi=Zi.selector,sn=Zi.error,rs=Zi.namespace,hs="."+rs,fs=rs+"-module",yn=oi(this),mn=yn.find(qi.prompt),Mn=yn.find(qi.searchButton),pi=yn.find(qi.results),rn=yn.find(qi.result),dn=yn.find(qi.category),pn=this,Pn=yn.data(fs),nn=!1,Ai=!1,Ri;Ri={initialize:function(){Ri.verbose("Initializing module"),Ri.get.settings(),Ri.determine.searchFields(),Ri.bind.events(),Ri.set.type(),Ri.create.results(),Ri.instantiate()},instantiate:function(){Ri.verbose("Storing instance of module",Ri),Pn=Ri,yn.data(fs,Ri)},destroy:function(){Ri.verbose("Destroying instance"),yn.off(hs).removeData(fs)},refresh:function(){Ri.debug("Refreshing selector cache"),mn=yn.find(qi.prompt),Mn=yn.find(qi.searchButton),dn=yn.find(qi.category),pi=yn.find(qi.results),rn=yn.find(qi.result)},refreshResults:function(){pi=yn.find(qi.results),rn=yn.find(qi.result)},bind:{events:function(){Ri.verbose("Binding events to search"),Zi.automatic&&(yn.on(Ri.get.inputEvent()+hs,qi.prompt,Ri.event.input),mn.attr("autocomplete","off")),yn.on("focus"+hs,qi.prompt,Ri.event.focus).on("blur"+hs,qi.prompt,Ri.event.blur).on("keydown"+hs,qi.prompt,Ri.handleKeyboard).on("click"+hs,qi.searchButton,Ri.query).on("mousedown"+hs,qi.results,Ri.event.result.mousedown).on("mouseup"+hs,qi.results,Ri.event.result.mouseup).on("click"+hs,qi.result,Ri.event.result.click)}},determine:{searchFields:function(){ri&&ri.searchFields!==vi&&(Zi.searchFields=ri.searchFields)}},event:{input:function(){Zi.searchDelay?(clearTimeout(Ri.timer),Ri.timer=setTimeout(function(){Ri.is.focused()&&Ri.query()},Zi.searchDelay)):Ri.query()},focus:function(){Ri.set.focus(),Zi.searchOnFocus&&Ri.has.minimumCharacters()&&Ri.query(function(){Ri.can.show()&&Ri.showResults()})},blur:function(ki){var Wi=wi.activeElement===this,an=function(){Ri.cancel.query(),Ri.remove.focus(),Ri.timer=setTimeout(Ri.hideResults,Zi.hideDelay)};Wi||(Ai=!1,Ri.resultsClicked?(Ri.debug("Determining if user action caused search to close"),yn.one("click.close"+hs,qi.results,function(Fn){if(Ri.is.inMessage(Fn)||nn){mn.focus();return}nn=!1,!Ri.is.animating()&&!Ri.is.hidden()&&an()})):(Ri.debug("Input blurred without user action, closing results"),an()))},result:{mousedown:function(){Ri.resultsClicked=!0},mouseup:function(){Ri.resultsClicked=!1},click:function(ki){Ri.debug("Search result selected");var Wi=oi(this),an=Wi.find(qi.title).eq(0),Fn=Wi.is("a[href]")?Wi:Wi.find("a[href]").eq(0),en=Fn.attr("href")||!1,Fi=Fn.attr("target")||!1,Oi=an.length>0?an.text():!1,zi=Ri.get.results(),Ti=Wi.data(ls.result)||Ri.get.result(Oi,zi);if(Oi&&Ri.set.value(Oi),oi.isFunction(Zi.onSelect)&&Zi.onSelect.call(pn,Ti,zi)===!1){Ri.debug("Custom onSelect callback cancelled default select action"),nn=!0;return}Ri.hideResults(),en&&(ki.preventDefault(),Ri.verbose("Opening search link found in result",Fn),Fi=="_blank"||ki.ctrlKey?bi.open(en):bi.location.href=en)}}},ensureVisible:function(Wi){var an,Fn,en,Fi;an=Wi.position().top,Fn=an+Wi.outerHeight(!0),en=pi.scrollTop(),Fi=pi.height(),parseInt(pi.css("paddingTop"),0)+parseInt(pi.css("paddingBottom"),0),an<0?pi.scrollTop(en+an):Fi<Fn&&pi.scrollTop(en+(Fn-Fi))},handleKeyboard:function(ki){var Wi=yn.find(qi.result),an=yn.find(qi.category),Fn=Wi.filter("."+un.active),en=Wi.index(Fn),Fi=Wi.length,Oi=Fn.length>0,zi=ki.which,Ti={backspace:8,enter:13,escape:27,upArrow:38,downArrow:40},Yi;if(zi==Ti.escape&&(Ri.verbose("Escape key pressed, blurring search field"),Ri.hideResults(),Ai=!0),Ri.is.visible())if(zi==Ti.enter){if(Ri.verbose("Enter key pressed, selecting active result"),Wi.filter("."+un.active).length>0)return Ri.event.result.click.call(Wi.filter("."+un.active),ki),ki.preventDefault(),!1}else zi==Ti.upArrow&&Oi?(Ri.verbose("Up key pressed, changing active result"),Yi=en-1<0?en:en-1,an.removeClass(un.active),Wi.removeClass(un.active).eq(Yi).addClass(un.active).closest(an).addClass(un.active),Ri.ensureVisible(Wi.eq(Yi)),ki.preventDefault()):zi==Ti.downArrow&&(Ri.verbose("Down key pressed, changing active result"),Yi=en+1>=Fi?en:en+1,an.removeClass(un.active),Wi.removeClass(un.active).eq(Yi).addClass(un.active).closest(an).addClass(un.active),Ri.ensureVisible(Wi.eq(Yi)),ki.preventDefault());else zi==Ti.enter&&(Ri.verbose("Enter key pressed, executing query"),Ri.query(),Ri.set.buttonPressed(),mn.one("keyup",Ri.remove.buttonFocus))},setup:{api:function(ki,Wi){var an={debug:Zi.debug,on:!1,cache:Zi.cache,action:"search",urlData:{query:ki},onSuccess:function(Fn){Ri.parse.response.call(pn,Fn,ki),Wi()},onFailure:function(){Ri.displayMessage(sn.serverError),Wi()},onAbort:function(Fn){},onError:Ri.error};oi.extend(!0,an,Zi.apiSettings),Ri.verbose("Setting up API request",an),yn.api(an)}},can:{useAPI:function(){return oi.fn.api!==vi},show:function(){return Ri.is.focused()&&!Ri.is.visible()&&!Ri.is.empty()},transition:function(){return Zi.transition&&oi.fn.transition!==vi&&yn.transition("is supported")}},is:{animating:function(){return pi.hasClass(un.animating)},hidden:function(){return pi.hasClass(un.hidden)},inMessage:function(ki){if(ki.target){var Wi=oi(ki.target),an=oi.contains(wi.documentElement,ki.target);return an&&Wi.closest(qi.message).length>0}},empty:function(){return pi.html()===""},visible:function(){return pi.filter(":visible").length>0},focused:function(){return mn.filter(":focus").length>0}},get:{settings:function(){oi.isPlainObject(ri)&&ri.searchFullText&&(Zi.fullTextSearch=ri.searchFullText,Ri.error(Zi.error.oldSearchSyntax,pn)),Zi.ignoreDiacritics&&!String.prototype.normalize&&(Zi.ignoreDiacritics=!1,Ri.error(sn.noNormalize,pn))},inputEvent:function(){var ki=mn[0],Wi=ki!==vi&&ki.oninput!==vi?"input":ki!==vi&&ki.onpropertychange!==vi?"propertychange":"keyup";return Wi},value:function(){return mn.val()},results:function(){var ki=yn.data(ls.results);return ki},result:function(ki,Wi){var an=!1;return ki=ki!==vi?ki:Ri.get.value(),Wi=Wi!==vi?Wi:Ri.get.results(),Zi.type==="category"?(Ri.debug("Finding result that matches",ki),oi.each(Wi,function(Fn,en){if(Array.isArray(en.results)&&(an=Ri.search.object(ki,en.results)[0],an))return!1})):(Ri.debug("Finding result in results object",ki),an=Ri.search.object(ki,Wi)[0]),an||!1}},select:{firstResult:function(){Ri.verbose("Selecting first result"),rn.first().addClass(un.active)}},set:{focus:function(){yn.addClass(un.focus)},loading:function(){yn.addClass(un.loading)},value:function(ki){Ri.verbose("Setting search input value",ki),mn.val(ki)},type:function(ki){ki=ki||Zi.type,Zi.type=="category"&&yn.addClass(Zi.type)},buttonPressed:function(){Mn.addClass(un.pressed)}},remove:{loading:function(){yn.removeClass(un.loading)},focus:function(){yn.removeClass(un.focus)},buttonPressed:function(){Mn.removeClass(un.pressed)},diacritics:function(ki){return Zi.ignoreDiacritics?ki.normalize("NFD").replace(/[\u0300-\u036f]/g,""):ki}},query:function(ki){ki=oi.isFunction(ki)?ki:function(){};var Wi=Ri.get.value(),an=Ri.read.cache(Wi);ki=ki||function(){},Ri.has.minimumCharacters()?(an?(Ri.debug("Reading result from cache",Wi),Ri.save.results(an.results),Ri.addResults(an.html),Ri.inject.id(an.results),ki()):(Ri.debug("Querying for",Wi),oi.isPlainObject(Zi.source)||Array.isArray(Zi.source)?(Ri.search.local(Wi),ki()):Ri.can.useAPI()?Ri.search.remote(Wi,ki):(Ri.error(sn.source),ki())),Zi.onSearchQuery.call(pn,Wi)):Ri.hideResults()},search:{local:function(ki){var Wi=Ri.search.object(ki,Zi.source),an;Ri.set.loading(),Ri.save.results(Wi),Ri.debug("Returned full local search results",Wi),Zi.maxResults>0&&(Ri.debug("Using specified max results",Wi),Wi=Wi.slice(0,Zi.maxResults)),Zi.type=="category"&&(Wi=Ri.create.categoryResults(Wi)),an=Ri.generateResults({results:Wi}),Ri.remove.loading(),Ri.addResults(an),Ri.inject.id(Wi),Ri.write.cache(ki,{html:an,results:Wi})},remote:function(ki,Wi){Wi=oi.isFunction(Wi)?Wi:function(){},yn.api("is loading")&&yn.api("abort"),Ri.setup.api(ki,Wi),yn.api("query")},object:function(ki,Wi,an){ki=Ri.remove.diacritics(String(ki));var Fn=[],en=[],Fi=[],Oi=ki.replace(ks.escape,"\\$&"),zi=new RegExp(ks.beginsWith+Oi,"i"),Ti=function(Yi,wn){var Bi=oi.inArray(wn,Fn)==-1,Qi=oi.inArray(wn,Fi)==-1,Gi=oi.inArray(wn,en)==-1;Bi&&Qi&&Gi&&Yi.push(wn)};return Wi=Wi||Zi.source,an=an!==vi?an:Zi.searchFields,Array.isArray(an)||(an=[an]),Wi===vi||Wi===!1?(Ri.error(sn.source),[]):(oi.each(an,function(Yi,wn){oi.each(Wi,function(Bi,Qi){var Gi=typeof Qi[wn]=="string"||typeof Qi[wn]=="number";if(Gi){var On;typeof Qi[wn]=="string"?On=Ri.remove.diacritics(Qi[wn]):On=Qi[wn].toString(),On.search(zi)!==-1?Ti(Fn,Qi):Zi.fullTextSearch==="exact"&&Ri.exactSearch(ki,On)?Ti(en,Qi):Zi.fullTextSearch==!0&&Ri.fuzzySearch(ki,On)&&Ti(Fi,Qi)}})}),oi.merge(en,Fi),oi.merge(Fn,en),Fn)}},exactSearch:function(ki,Wi){return ki=ki.toLowerCase(),Wi=Wi.toLowerCase(),Wi.indexOf(ki)>-1},fuzzySearch:function(ki,Wi){var an=Wi.length,Fn=ki.length;if(typeof ki!="string"||(ki=ki.toLowerCase(),Wi=Wi.toLowerCase(),Fn>an))return!1;if(Fn===an)return ki===Wi;e:for(var en=0,Fi=0;en<Fn;en++){for(var Oi=ki.charCodeAt(en);Fi<an;)if(Wi.charCodeAt(Fi++)===Oi)continue e;return!1}return!0},parse:{response:function(ki,Wi){if(Array.isArray(ki)){var an={};an[En.results]=ki,ki=an}var Fn=Ri.generateResults(ki);Ri.verbose("Parsing server response",ki),ki!==vi&&Wi!==vi&&ki[En.results]!==vi&&(Ri.addResults(Fn),Ri.inject.id(ki[En.results]),Ri.write.cache(Wi,{html:Fn,results:ki[En.results]}),Ri.save.results(ki[En.results]))}},cancel:{query:function(){Ri.can.useAPI()&&yn.api("abort")}},has:{minimumCharacters:function(){var ki=Ri.get.value(),Wi=ki.length;return Wi>=Zi.minCharacters},results:function(){if(pi.length===0)return!1;var ki=pi.html();return ki!=""}},clear:{cache:function(ki){var Wi=yn.data(ls.cache);ki?ki&&Wi&&Wi[ki]&&(Ri.debug("Removing value from cache",ki),delete Wi[ki],yn.data(ls.cache,Wi)):(Ri.debug("Clearing cache",ki),yn.removeData(ls.cache))}},read:{cache:function(ki){var Wi=yn.data(ls.cache);return Zi.cache?(Ri.verbose("Checking cache for generated html for query",ki),typeof Wi=="object"&&Wi[ki]!==vi?Wi[ki]:!1):!1}},create:{categoryResults:function(ki){var Wi={};return oi.each(ki,function(an,Fn){Fn.category&&(Wi[Fn.category]===vi?(Ri.verbose("Creating new category of results",Fn.category),Wi[Fn.category]={name:Fn.category,results:[Fn]}):Wi[Fn.category].results.push(Fn))}),Wi},id:function(ki,Wi){var an=ki+1,Fn,en;return Wi!==vi?(Fn=String.fromCharCode(97+Wi),en=Fn+an,Ri.verbose("Creating category result id",en)):(en=an,Ri.verbose("Creating result id",en)),en},results:function(){pi.length===0&&(pi=oi("<div />").addClass(un.results).appendTo(yn))}},inject:{result:function(ki,Wi,an){Ri.verbose("Injecting result into results");var Fn=an!==vi?pi.children().eq(an).children(qi.results).first().children(qi.result).eq(Wi):pi.children(qi.result).eq(Wi);Ri.verbose("Injecting results metadata",Fn),Fn.data(ls.result,ki)},id:function(ki){Ri.debug("Injecting unique ids into results");var Wi=0,an=0;return Zi.type==="category"?oi.each(ki,function(Fn,en){en.results.length>0&&(an=0,oi.each(en.results,function(Fi,Oi){Oi.id===vi&&(Oi.id=Ri.create.id(an,Wi)),Ri.inject.result(Oi,an,Wi),an++}),Wi++)}):oi.each(ki,function(Fn,en){en.id===vi&&(en.id=Ri.create.id(an)),Ri.inject.result(en,an),an++}),ki}},save:{results:function(ki){Ri.verbose("Saving current search results to metadata",ki),yn.data(ls.results,ki)}},write:{cache:function(ki,Wi){var an=yn.data(ls.cache)!==vi?yn.data(ls.cache):{};Zi.cache&&(Ri.verbose("Writing generated html to cache",ki,Wi),an[ki]=Wi,yn.data(ls.cache,an))}},addResults:function(ki){if(oi.isFunction(Zi.onResultsAdd)&&Zi.onResultsAdd.call(pi,ki)===!1)return Ri.debug("onResultsAdd callback cancelled default action"),!1;ki?(pi.html(ki),Ri.refreshResults(),Zi.selectFirstResult&&Ri.select.firstResult(),Ri.showResults()):Ri.hideResults(function(){pi.empty()})},showResults:function(ki){ki=oi.isFunction(ki)?ki:function(){},!Ai&&!Ri.is.visible()&&Ri.has.results()&&(Ri.can.transition()?(Ri.debug("Showing results with css animations"),pi.transition({animation:Zi.transition+" in",debug:Zi.debug,verbose:Zi.verbose,duration:Zi.duration,onShow:function(){var Wi=yn.find(qi.result).eq(0);Wi.length>0&&Ri.ensureVisible(Wi)},onComplete:function(){ki()},queue:!0})):(Ri.debug("Showing results with javascript"),pi.stop().fadeIn(Zi.duration,Zi.easing)),Zi.onResultsOpen.call(pi))},hideResults:function(ki){ki=oi.isFunction(ki)?ki:function(){},Ri.is.visible()&&(Ri.can.transition()?(Ri.debug("Hiding results with css animations"),pi.transition({animation:Zi.transition+" out",debug:Zi.debug,verbose:Zi.verbose,duration:Zi.duration,onComplete:function(){ki()},queue:!0})):(Ri.debug("Hiding results with javascript"),pi.stop().fadeOut(Zi.duration,Zi.easing)),Zi.onResultsClose.call(pi))},generateResults:function(ki){Ri.debug("Generating html from response",ki);var Wi=Zi.templates[Zi.type],an=oi.isPlainObject(ki[En.results])&&!oi.isEmptyObject(ki[En.results]),Fn=Array.isArray(ki[En.results])&&ki[En.results].length>0,en="";return an||Fn?(Zi.maxResults>0&&(an?Zi.type=="standard"&&Ri.error(sn.maxResults):ki[En.results]=ki[En.results].slice(0,Zi.maxResults)),oi.isFunction(Wi)?en=Wi(ki,En,Zi.preserveHTML):Ri.error(sn.noTemplate,!1)):Zi.showNoResults&&(en=Ri.displayMessage(sn.noResults,"empty",sn.noResultsHeader)),Zi.onResults.call(pn,ki),en},displayMessage:function(ki,Wi,an){return Wi=Wi||"standard",Ri.debug("Displaying message",ki,Wi,an),Ri.addResults(Zi.templates.message(ki,Wi,an)),Zi.templates.message(ki,Wi,an)},setting:function(ki,Wi){if(oi.isPlainObject(ki))oi.extend(!0,Zi,ki);else if(Wi!==vi)Zi[ki]=Wi;else return Zi[ki]},internal:function(ki,Wi){if(oi.isPlainObject(ki))oi.extend(!0,Ri,ki);else if(Wi!==vi)Ri[ki]=Wi;else return Ri[ki]},debug:function(){!Zi.silent&&Zi.debug&&(Zi.performance?Ri.performance.log(arguments):(Ri.debug=Function.prototype.bind.call(console.info,console,Zi.name+":"),Ri.debug.apply(console,arguments)))},verbose:function(){!Zi.silent&&Zi.verbose&&Zi.debug&&(Zi.performance?Ri.performance.log(arguments):(Ri.verbose=Function.prototype.bind.call(console.info,console,Zi.name+":"),Ri.verbose.apply(console,arguments)))},error:function(){Zi.silent||(Ri.error=Function.prototype.bind.call(console.error,console,Zi.name+":"),Ri.error.apply(console,arguments))},performance:{log:function(ki){var Wi,an,Fn;Zi.performance&&(Wi=new Date().getTime(),Fn=Ji||Wi,an=Wi-Fn,Ji=Wi,tn.push({Name:ki[0],Arguments:[].slice.call(ki,1)||"",Element:pn,"Execution Time":an})),clearTimeout(Ri.performance.timer),Ri.performance.timer=setTimeout(Ri.performance.display,500)},display:function(){var ki=Zi.name+":",Wi=0;Ji=!1,clearTimeout(Ri.performance.timer),oi.each(tn,function(an,Fn){Wi+=Fn["Execution Time"]}),ki+=" "+Wi+"ms",Li&&(ki+=" '"+Li+"'"),yi.length>1&&(ki+=" ("+yi.length+")"),(console.group!==vi||console.table!==vi)&&tn.length>0&&(console.groupCollapsed(ki),console.table?console.table(tn):oi.each(tn,function(an,Fn){console.log(Fn.Name+": "+Fn["Execution Time"]+"ms")}),console.groupEnd()),tn=[]}},invoke:function(ki,Wi,an){var Fn=Pn,en,Fi,Oi;return Wi=Wi||Vn,an=pn||an,typeof ki=="string"&&Fn!==vi&&(ki=ki.split(/[\. ]/),en=ki.length-1,oi.each(ki,function(zi,Ti){var Yi=zi!=en?Ti+ki[zi+1].charAt(0).toUpperCase()+ki[zi+1].slice(1):ki;if(oi.isPlainObject(Fn[Yi])&&zi!=en)Fn=Fn[Yi];else{if(Fn[Yi]!==vi)return Fi=Fn[Yi],!1;if(oi.isPlainObject(Fn[Ti])&&zi!=en)Fn=Fn[Ti];else return Fn[Ti]!==vi&&(Fi=Fn[Ti]),!1}})),oi.isFunction(Fi)?Oi=Fi.apply(an,Wi):Fi!==vi&&(Oi=Fi),Array.isArray(bn)?bn.push(Oi):bn!==vi?bn=[bn,Oi]:Oi!==vi&&(bn=Oi),Fi}},In?(Pn===vi&&Ri.initialize(),Ri.invoke(_n)):(Pn!==vi&&Pn.invoke("destroy"),Ri.initialize())}),bn!==vi?bn:this},oi.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(ri){},onResults:function(ri){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noEndpoint:"No search endpoint was specified",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,beginsWith:"(?:s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(ri,yi){if(yi)return ri;var Li=/[<>"'`]/g,Ji=/[&<>"'`]/,tn={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},_n=function(In){return tn[In]};return Ji.test(ri)?(ri=ri.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;"),ri.replace(Li,_n)):ri},message:function(ri,yi,Li){var Ji="";return ri!==vi&&yi!==vi&&(Ji+='<div class="message '+yi+'">',Li&&(Ji+='<div class="header">'+Li+"</div>"),Ji+=' <div class="description">'+ri+"</div>",Ji+="</div>"),Ji},category:function(ri,yi,Li){var Ji="",tn=oi.fn.search.settings.templates.escape;return ri[yi.categoryResults]!==vi?(oi.each(ri[yi.categoryResults],function(_n,In){In[yi.results]!==vi&&In.results.length>0&&(Ji+='<div class="category">',In[yi.categoryName]!==vi&&(Ji+='<div class="name">'+tn(In[yi.categoryName],Li)+"</div>"),Ji+='<div class="results">',oi.each(In.results,function(Vn,bn){bn[yi.url]?Ji+='<a class="result" href="'+bn[yi.url].replace(/"/g,"")+'">':Ji+='<a class="result">',bn[yi.image]!==vi&&(Ji+='<div class="image"> <img src="'+bn[yi.image].replace(/"/g,"")+'"></div>'),Ji+='<div class="content">',bn[yi.price]!==vi&&(Ji+='<div class="price">'+tn(bn[yi.price],Li)+"</div>"),bn[yi.title]!==vi&&(Ji+='<div class="title">'+tn(bn[yi.title],Li)+"</div>"),bn[yi.description]!==vi&&(Ji+='<div class="description">'+tn(bn[yi.description],Li)+"</div>"),Ji+="</div>",Ji+="</a>"}),Ji+="</div>",Ji+="</div>")}),ri[yi.action]&&(yi.actionURL===!1?Ji+='<div class="action">'+tn(ri[yi.action][yi.actionText],Li)+"</div>":Ji+='<a href="'+ri[yi.action][yi.actionURL].replace(/"/g,"")+'" class="action">'+tn(ri[yi.action][yi.actionText],Li)+"</a>"),Ji):!1},standard:function(ri,yi,Li){var Ji="",tn=oi.fn.search.settings.templates.escape;return ri[yi.results]!==vi?(oi.each(ri[yi.results],function(_n,In){In[yi.url]?Ji+='<a class="result" href="'+In[yi.url].replace(/"/g,"")+'">':Ji+='<a class="result">',In[yi.image]!==vi&&(Ji+='<div class="image"> <img src="'+In[yi.image].replace(/"/g,"")+'"></div>'),Ji+='<div class="content">',In[yi.price]!==vi&&(Ji+='<div class="price">'+tn(In[yi.price],Li)+"</div>"),In[yi.title]!==vi&&(Ji+='<div class="title">'+tn(In[yi.title],Li)+"</div>"),In[yi.description]!==vi&&(Ji+='<div class="description">'+tn(In[yi.description],Li)+"</div>"),Ji+="</div>",Ji+="</a>"}),ri[yi.action]&&(yi.actionURL===!1?Ji+='<div class="action">'+tn(ri[yi.action][yi.actionText],Li)+"</div>":Ji+='<a href="'+ri[yi.action][yi.actionURL].replace(/"/g,"")+'" class="action">'+tn(ri[yi.action][yi.actionText],Li)+"</a>"),Ji):!1}}}})(jQuery,window,document);(function(oi,bi,wi,vi){"use strict";oi.isWindow=oi.isWindow||function(ri){return ri!=null&&ri===ri.window},oi.isFunction=oi.isFunction||function(ri){return typeof ri=="function"&&typeof ri.nodeType!="number"},bi=typeof bi<"u"&&bi.Math==Math?bi:typeof self<"u"&&self.Math==Math?self:Function("return this")(),oi.fn.tab=function(ri){var yi=oi.isFunction(this)?oi(bi):oi(this),Li=yi.selector||"",Ji=new Date().getTime(),tn=[],_n=arguments[0],In=typeof _n=="string",Vn=[].slice.call(arguments,1),bn=!1,Zi;return yi.each(function(){var un=oi.isPlainObject(ri)?oi.extend(!0,{},oi.fn.tab.settings,ri):oi.extend({},oi.fn.tab.settings),ls=un.className,ks=un.metadata,En=un.selector,qi=un.error,sn=un.regExp,rs="."+un.namespace,hs="module-"+un.namespace,fs=oi(this),yn,mn,Mn={},pi=!0,rn=0,dn=this,pn=fs.data(hs),Pn,nn,Ai,Ri;Ai={initialize:function(){Ai.debug("Initializing tab menu item",fs),Ai.fix.callbacks(),Ai.determineTabs(),Ai.debug("Determining tabs",un.context,mn),un.auto&&Ai.set.auto(),Ai.bind.events(),un.history&&!bn&&(Ai.initializeHistory(),bn=!0),un.autoTabActivation&&pn===vi&&Ai.determine.activeTab()==null&&(Ai.debug("No active tab detected, setting first tab active",Ai.get.initialPath()),Ai.changeTab(un.autoTabActivation===!0?Ai.get.initialPath():un.autoTabActivation)),Ai.instantiate()},instantiate:function(){Ai.verbose("Storing instance of module",Ai),pn=Ai,fs.data(hs,Ai)},destroy:function(){Ai.debug("Destroying tabs",fs),fs.removeData(hs).off(rs)},bind:{events:function(){oi.isWindow(dn)||(Ai.debug("Attaching tab activation events to element",fs),fs.on("click"+rs,Ai.event.click))}},determineTabs:function(){var ki;un.context==="parent"?(fs.closest(En.ui).length>0?(ki=fs.closest(En.ui),Ai.verbose("Using closest UI element as parent",ki)):ki=fs,yn=ki.parent(),Ai.verbose("Determined parent element for creating context",yn)):un.context?(yn=oi(un.context),Ai.verbose("Using selector for tab context",un.context,yn)):yn=oi("body"),un.childrenOnly?(mn=yn.children(En.tabs),Ai.debug("Searching tab context children for tabs",yn,mn)):(mn=yn.find(En.tabs),Ai.debug("Searching tab context for tabs",yn,mn))},fix:{callbacks:function(){oi.isPlainObject(ri)&&(ri.onTabLoad||ri.onTabInit)&&(ri.onTabLoad&&(ri.onLoad=ri.onTabLoad,delete ri.onTabLoad,Ai.error(qi.legacyLoad,ri.onLoad)),ri.onTabInit&&(ri.onFirstLoad=ri.onTabInit,delete ri.onTabInit,Ai.error(qi.legacyInit,ri.onFirstLoad)),un=oi.extend(!0,{},oi.fn.tab.settings,ri))}},initializeHistory:function(){if(Ai.debug("Initializing page state"),oi.address===vi)return Ai.error(qi.state),!1;if(un.historyType=="state")if(Ai.debug("Using HTML5 to manage state"),un.path!==!1)oi.address.history(!0).state(un.path);else return Ai.error(qi.path),!1;oi.address.bind("change",Ai.event.history.change)},event:{click:function(ki){var Wi=oi(this).data(ks.tab);Wi!==vi?(un.history?(Ai.verbose("Updating page state",ki),oi.address.value(Wi)):(Ai.verbose("Changing tab",ki),Ai.changeTab(Wi)),ki.preventDefault()):Ai.debug("No tab specified")},history:{change:function(ki){var Wi=ki.pathNames.join("/")||Ai.get.initialPath(),an=un.templates.determineTitle(Wi)||!1;Ai.performance.display(),Ai.debug("History change event",Wi,ki),Ri=ki,Wi!==vi&&Ai.changeTab(Wi),an&&oi.address.title(an)}}},refresh:function(){Pn&&(Ai.debug("Refreshing tab",Pn),Ai.changeTab(Pn))},cache:{read:function(ki){return ki!==vi?Mn[ki]:!1},add:function(ki,Wi){ki=ki||Pn,Ai.debug("Adding cached content for",ki),Mn[ki]=Wi},remove:function(ki){ki=ki||Pn,Ai.debug("Removing cached content for",ki),delete Mn[ki]}},escape:{string:function(ki){return ki=String(ki),ki.replace(sn.escape,"\\$&")}},set:{auto:function(){var ki=typeof un.path=="string"?un.path.replace(/\/$/,"")+"/{$tab}":"/{$tab}";Ai.verbose("Setting up automatic tab retrieval from server",ki),oi.isPlainObject(un.apiSettings)?un.apiSettings.url=ki:un.apiSettings={url:ki}},loading:function(ki){var Wi=Ai.get.tabElement(ki),an=Wi.hasClass(ls.loading);an||(Ai.verbose("Setting loading state for",Wi),Wi.addClass(ls.loading).siblings(mn).removeClass(ls.active+" "+ls.loading),Wi.length>0&&un.onRequest.call(Wi[0],ki))},state:function(ki){oi.address.value(ki)}},changeTab:function(ki){var Wi=bi.history&&bi.history.pushState,an=Wi&&un.ignoreFirstLoad&&pi,Fn=un.auto||oi.isPlainObject(un.apiSettings),en=Fn&&!an?Ai.utilities.pathToArray(ki):Ai.get.defaultPathArray(ki);ki=Ai.utilities.arrayToPath(en),oi.each(en,function(Fi,Oi){var zi=en.slice(0,Fi+1),Ti=Ai.utilities.arrayToPath(zi),Yi=Ai.is.tab(Ti),wn=Fi+1==en.length,Bi=Ai.get.tabElement(Ti),Qi,Gi,On,Xn;if(Ai.verbose("Looking for tab",Oi),Yi){if(Ai.verbose("Tab was found",Oi),Pn=Ti,nn=Ai.utilities.filterArray(en,zi),wn?Xn=!0:(Gi=en.slice(0,Fi+2),On=Ai.utilities.arrayToPath(Gi),Xn=!Ai.is.tab(On),Xn&&Ai.verbose("Tab parameters found",Gi)),Xn&&Fn)return an?(Ai.debug("Ignoring remote content on first tab load",Ti),pi=!1,Ai.cache.add(ki,Bi.html()),Ai.activate.all(Ti),un.onFirstLoad.call(Bi[0],Ti,nn,Ri),un.onLoad.call(Bi[0],Ti,nn,Ri)):(Ai.activate.navigation(Ti),Ai.fetch.content(Ti,ki)),!1;Ai.debug("Opened local tab",Ti),Ai.activate.all(Ti),Ai.cache.read(Ti)||(Ai.cache.add(Ti,!0),Ai.debug("First time tab loaded calling tab init"),un.onFirstLoad.call(Bi[0],Ti,nn,Ri)),un.onLoad.call(Bi[0],Ti,nn,Ri)}else if(ki.search("/")==-1&&ki!==""){if(ki=Ai.escape.string(ki),Qi=oi("#"+ki+', a[name="'+ki+'"]'),Ti=Qi.closest("[data-tab]").data(ks.tab),Bi=Ai.get.tabElement(Ti),Qi&&Qi.length>0&&Ti)return Ai.debug("Anchor link used, opening parent tab",Bi,Qi),Bi.hasClass(ls.active)||setTimeout(function(){Ai.scrollTo(Qi)},0),Ai.activate.all(Ti),Ai.cache.read(Ti)||(Ai.cache.add(Ti,!0),Ai.debug("First time tab loaded calling tab init"),un.onFirstLoad.call(Bi[0],Ti,nn,Ri)),un.onLoad.call(Bi[0],Ti,nn,Ri),!1}else return Ai.error(qi.missingTab,fs,yn,Ti),!1})},scrollTo:function(ki){var Wi=ki&&ki.length>0?ki.offset().top:!1;Wi!==!1&&(Ai.debug("Forcing scroll to an in-page link in a hidden tab",Wi,ki),oi(wi).scrollTop(Wi))},update:{content:function(ki,Wi,an){var Fn=Ai.get.tabElement(ki),en=Fn[0];an=an!==vi?an:un.evaluateScripts,typeof un.cacheType=="string"&&un.cacheType.toLowerCase()=="dom"&&typeof Wi!="string"?Fn.empty().append(oi(Wi).clone(!0)):an?(Ai.debug("Updating HTML and evaluating inline scripts",ki,Wi),Fn.html(Wi)):(Ai.debug("Updating HTML",ki,Wi),en.innerHTML=Wi)}},fetch:{content:function(ki,Wi){var an=Ai.get.tabElement(ki),Fn={dataType:"html",encodeParameters:!1,on:"now",cache:un.alwaysRefresh,headers:{"X-Remote":!0},onSuccess:function(Ti){un.cacheType=="response"&&Ai.cache.add(Wi,Ti),Ai.update.content(ki,Ti),ki==Pn?(Ai.debug("Content loaded",ki),Ai.activate.tab(ki)):Ai.debug("Content loaded in background",ki),un.onFirstLoad.call(an[0],ki,nn,Ri),un.onLoad.call(an[0],ki,nn,Ri),un.loadOnce?Ai.cache.add(Wi,!0):typeof un.cacheType=="string"&&un.cacheType.toLowerCase()=="dom"&&an.children().length>0?setTimeout(function(){var Yi=an.children().clone(!0);Yi=Yi.not("script"),Ai.cache.add(Wi,Yi)},0):Ai.cache.add(Wi,an.html())},urlData:{tab:Wi}},en=an.api("get request")||!1,Fi=en&&en.state()==="pending",Oi,zi;Wi=Wi||ki,zi=Ai.cache.read(Wi),un.cache&&zi?(Ai.activate.tab(ki),Ai.debug("Adding cached content",Wi),un.loadOnce||(un.evaluateScripts=="once"?Ai.update.content(ki,zi,!1):Ai.update.content(ki,zi)),un.onLoad.call(an[0],ki,nn,Ri)):Fi?(Ai.set.loading(ki),Ai.debug("Content is already loading",Wi)):oi.api!==vi?(Oi=oi.extend(!0,{},un.apiSettings,Fn),Ai.debug("Retrieving remote content",Wi,Oi),Ai.set.loading(ki),an.api(Oi)):Ai.error(qi.api)}},activate:{all:function(ki){Ai.activate.tab(ki),Ai.activate.navigation(ki)},tab:function(ki){var Wi=Ai.get.tabElement(ki),an=un.deactivate=="siblings"?Wi.siblings(mn):mn.not(Wi),Fn=Wi.hasClass(ls.active);Ai.verbose("Showing tab content for",Wi),Fn||(Wi.addClass(ls.active),an.removeClass(ls.active+" "+ls.loading),Wi.length>0&&un.onVisible.call(Wi[0],ki))},navigation:function(ki){var Wi=Ai.get.navElement(ki),an=un.deactivate=="siblings"?Wi.siblings(yi):yi.not(Wi),Fn=Wi.hasClass(ls.active);Ai.verbose("Activating tab navigation for",Wi,ki),Fn||(Wi.addClass(ls.active),an.removeClass(ls.active+" "+ls.loading))}},deactivate:{all:function(){Ai.deactivate.navigation(),Ai.deactivate.tabs()},navigation:function(){yi.removeClass(ls.active)},tabs:function(){mn.removeClass(ls.active+" "+ls.loading)}},is:{tab:function(ki){return ki!==vi?Ai.get.tabElement(ki).length>0:!1}},get:{initialPath:function(){return yi.eq(0).data(ks.tab)||mn.eq(0).data(ks.tab)},path:function(){return oi.address.value()},defaultPathArray:function(ki){return Ai.utilities.pathToArray(Ai.get.defaultPath(ki))},defaultPath:function(ki){var Wi=yi.filter("[data-"+ks.tab+'^="'+Ai.escape.string(ki)+'/"]').eq(0),an=Wi.data(ks.tab)||!1;if(an){if(Ai.debug("Found default tab",an),rn<un.maxDepth)return rn++,Ai.get.defaultPath(an);Ai.error(qi.recursion)}else Ai.debug("No default tabs found for",ki,mn);return rn=0,ki},navElement:function(ki){return ki=ki||Pn,yi.filter("[data-"+ks.tab+'="'+Ai.escape.string(ki)+'"]')},tabElement:function(ki){var Wi,an,Fn,en;return ki=ki||Pn,Fn=Ai.utilities.pathToArray(ki),en=Ai.utilities.last(Fn),Wi=mn.filter("[data-"+ks.tab+'="'+Ai.escape.string(ki)+'"]'),an=mn.filter("[data-"+ks.tab+'="'+Ai.escape.string(en)+'"]'),Wi.length>0?Wi:an},tab:function(){return Pn}},determine:{activeTab:function(){var ki=null;return mn.each(function(Wi,an){var Fn=oi(an);if(Fn.hasClass(ls.active)){var en=oi(this).data(ks.tab),Fi=yi.filter("[data-"+ks.tab+'="'+Ai.escape.string(en)+'"]');Fi.hasClass(ls.active)&&(ki=en)}}),ki}},utilities:{filterArray:function(ki,Wi){return oi.grep(ki,function(an){return oi.inArray(an,Wi)==-1})},last:function(ki){return Array.isArray(ki)?ki[ki.length-1]:!1},pathToArray:function(ki){return ki===vi&&(ki=Pn),typeof ki=="string"?ki.split("/"):[ki]},arrayToPath:function(ki){return Array.isArray(ki)?ki.join("/"):!1}},setting:function(ki,Wi){if(Ai.debug("Changing setting",ki,Wi),oi.isPlainObject(ki))oi.extend(!0,un,ki);else if(Wi!==vi)oi.isPlainObject(un[ki])?oi.extend(!0,un[ki],Wi):un[ki]=Wi;else return un[ki]},internal:function(ki,Wi){if(oi.isPlainObject(ki))oi.extend(!0,Ai,ki);else if(Wi!==vi)Ai[ki]=Wi;else return Ai[ki]},debug:function(){!un.silent&&un.debug&&(un.performance?Ai.performance.log(arguments):(Ai.debug=Function.prototype.bind.call(console.info,console,un.name+":"),Ai.debug.apply(console,arguments)))},verbose:function(){!un.silent&&un.verbose&&un.debug&&(un.performance?Ai.performance.log(arguments):(Ai.verbose=Function.prototype.bind.call(console.info,console,un.name+":"),Ai.verbose.apply(console,arguments)))},error:function(){un.silent||(Ai.error=Function.prototype.bind.call(console.error,console,un.name+":"),Ai.error.apply(console,arguments))},performance:{log:function(ki){var Wi,an,Fn;un.performance&&(Wi=new Date().getTime(),Fn=Ji||Wi,an=Wi-Fn,Ji=Wi,tn.push({Name:ki[0],Arguments:[].slice.call(ki,1)||"",Element:dn,"Execution Time":an})),clearTimeout(Ai.performance.timer),Ai.performance.timer=setTimeout(Ai.performance.display,500)},display:function(){var ki=un.name+":",Wi=0;Ji=!1,clearTimeout(Ai.performance.timer),oi.each(tn,function(an,Fn){Wi+=Fn["Execution Time"]}),ki+=" "+Wi+"ms",Li&&(ki+=" '"+Li+"'"),(console.group!==vi||console.table!==vi)&&tn.length>0&&(console.groupCollapsed(ki),console.table?console.table(tn):oi.each(tn,function(an,Fn){console.log(Fn.Name+": "+Fn["Execution Time"]+"ms")}),console.groupEnd()),tn=[]}},invoke:function(ki,Wi,an){var Fn=pn,en,Fi,Oi;return Wi=Wi||Vn,an=dn||an,typeof ki=="string"&&Fn!==vi&&(ki=ki.split(/[\. ]/),en=ki.length-1,oi.each(ki,function(zi,Ti){var Yi=zi!=en?Ti+ki[zi+1].charAt(0).toUpperCase()+ki[zi+1].slice(1):ki;if(oi.isPlainObject(Fn[Yi])&&zi!=en)Fn=Fn[Yi];else{if(Fn[Yi]!==vi)return Fi=Fn[Yi],!1;if(oi.isPlainObject(Fn[Ti])&&zi!=en)Fn=Fn[Ti];else return Fn[Ti]!==vi?(Fi=Fn[Ti],!1):(Ai.error(qi.method,ki),!1)}})),oi.isFunction(Fi)?Oi=Fi.apply(an,Wi):Fi!==vi&&(Oi=Fi),Array.isArray(Zi)?Zi.push(Oi):Zi!==vi?Zi=[Zi,Oi]:Oi!==vi&&(Zi=Oi),Fi}},In?(pn===vi&&Ai.initialize(),Ai.invoke(_n)):(pn!==vi&&pn.invoke("destroy"),Ai.initialize())}),Zi!==vi?Zi:this},oi.tab=function(){oi(bi).tab.apply(this,arguments)},oi.fn.tab.settings={name:"Tab",namespace:"tab",silent:!1,debug:!1,verbose:!1,performance:!0,auto:!1,history:!1,historyType:"hash",path:!1,context:!1,childrenOnly:!1,maxDepth:25,deactivate:"siblings",alwaysRefresh:!1,cache:!0,loadOnce:!1,cacheType:"response",ignoreFirstLoad:!1,apiSettings:!1,evaluateScripts:"once",autoTabActivation:!0,onFirstLoad:function(ri,yi,Li){},onLoad:function(ri,yi,Li){},onVisible:function(ri,yi,Li){},onRequest:function(ri,yi,Li){},templates:{determineTitle:function(ri){}},error:{api:"You attempted to load content without API module",method:"The method you called is not defined",missingTab:"Activated tab cannot be found. Tabs are case-sensitive.",noContent:"The tab you specified is missing a content url.",path:"History enabled, but no path was specified",recursion:"Max recursive depth reached",legacyInit:"onTabInit has been renamed to onFirstLoad in 2.0, please adjust your code.",legacyLoad:"onTabLoad has been renamed to onLoad in 2.0. Please adjust your code",state:"History requires Asual's Address library <https://github.com/asual/jquery-address>"},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}})(jQuery,window,document)}(),function(){"use strict";var gl,jl,af,qa,il,Df,yd,Ff,Du,wd,am,gp,Vy,lh,yp,lm,tv,vp,Uy;__webpack_require__.p=`${window.config?.assetUrlPrefix??"/assets"}/`;function oi(ei){const ti=["/assets/js/monaco."];for(const ii of ti)if(ei.stack?.includes(ii))return!0;return!1}function bi(ei,ti="error"){const ii=document.querySelector(".page-content")??document.body,ni=ei.replace(/\W/g,"").trim();let si=ii.querySelector(`.js-global-error[data-global-error-msg-compact="${ni}"]`);if(!si){const li=document.createElement("div");li.innerHTML=`<div class="ui container js-global-error tw-my-[--page-spacing]"><div class="ui ${ti} message tw-text-center tw-whitespace-pre-line"></div></div>`,si=li.childNodes[0]}const ai=Number(si.getAttribute("data-global-error-msg-count"))+1;si.setAttribute("data-global-error-msg-compact",ni),si.setAttribute("data-global-error-msg-count",ai.toString()),si.querySelector(".ui.message").textContent=ei+(ai>1?` (${ai})`:""),ii.prepend(si)}function wi({error:ei,reason:ti,message:ii,type:ni,filename:si,lineno:ai,colno:li}){const fi=ei??ti,hi=String(new URL(__webpack_require__.p,window.location.origin)),{runModeIsProd:_i}=window.config??{};if(!fi&&(ii&&console.error(new Error(ii)),_i)||fi instanceof Error&&(!fi.stack?.includes(hi)&&_i||oi(fi)))return;let ji=fi?.message??ii;ai&&(ji+=` (${si} @ ${ai}:${li})`);const Mi=ji.endsWith(".")?"":".";bi(`JavaScript ${ni==="unhandledrejection"?"promise rejection":ni}: ${ji}${Mi} Open browser console to see more details.`)}function vi(){if(window._globalHandlerErrors?._inited){bi("The global error handler has been initialized, do not initialize it again");return}window.config||bi("Gitea JavaScript code couldn't run correctly, please check your custom templates");for(const ei of window._globalHandlerErrors||[])wi(ei);window._globalHandlerErrors={_inited:!0,push:ei=>wi(ei)}}vi();var ri=__webpack_require__("./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),yi=__webpack_require__("./node_modules/@vue/shared/dist/shared.esm-bundler.js");const Li={class:"activity-bar-graph",ref:"style",style:{width:"0",height:"0"}},Ji={class:"activity-bar-graph-alt",ref:"altStyle",style:{width:"0",height:"0"}},tn=["href"],_n=["x","y","href"],In=["x","y","href"],Vn={key:0};function bn(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("vue-bar-graph");return(0,ri.uX)(),(0,ri.CE)("div",null,[(0,ri.Lk)("div",Li,null,512),(0,ri.Lk)("div",Ji,null,512),(0,ri.bF)(li,{points:ei.graphPoints,"show-x-axis":!0,"show-y-axis":!1,"show-values":!0,width:ei.graphWidth,"bar-color":ei.colors.barColor,"text-color":ei.colors.textColor,"text-alt-color":ei.colors.textAltColor,height:100,"label-height":20},{label:(0,ri.k6)(fi=>[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.graphAuthors,(hi,_i)=>((0,ri.uX)(),(0,ri.CE)("g",{key:hi.position},[fi.bar.index===_i&&hi.home_link?((0,ri.uX)(),(0,ri.CE)("a",{key:0,href:hi.home_link},[(0,ri.Lk)("image",{x:`${fi.bar.midPoint-10}px`,y:`${fi.bar.yLabel}px`,height:"20",width:"20",href:hi.avatar_link},null,8,_n)],8,tn)):fi.bar.index===_i?((0,ri.uX)(),(0,ri.CE)("image",{key:1,x:`${fi.bar.midPoint-10}px`,y:`${fi.bar.yLabel}px`,height:"20",width:"20",href:hi.avatar_link},null,8,In)):(0,ri.Q3)("v-if",!0)]))),128))]),title:(0,ri.k6)(fi=>[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.graphAuthors,(hi,_i)=>((0,ri.uX)(),(0,ri.CE)("tspan",{key:hi.position},[fi.bar.index===_i?((0,ri.uX)(),(0,ri.CE)("tspan",Vn,(0,yi.v_)(hi.name),1)):(0,ri.Q3)("v-if",!0)]))),128))]),_:1},8,["points","width","bar-color","text-color","text-alt-color"])])}function Zi(ei,ti){const ii=new Set(ei.split(","));return ti?ni=>ii.has(ni.toLowerCase()):ni=>ii.has(ni)}const un={},ls=[],ks=()=>{},En=()=>!1,qi=ei=>ei.charCodeAt(0)===111&&ei.charCodeAt(1)===110&&(ei.charCodeAt(2)>122||ei.charCodeAt(2)<97),sn=ei=>ei.startsWith("onUpdate:"),rs=Object.assign,hs=(ei,ti)=>{const ii=ei.indexOf(ti);ii>-1&&ei.splice(ii,1)},fs=Object.prototype.hasOwnProperty,yn=(ei,ti)=>fs.call(ei,ti),mn=Array.isArray,Mn=ei=>Wi(ei)==="[object Map]",pi=ei=>Wi(ei)==="[object Set]",rn=ei=>Wi(ei)==="[object Date]",dn=ei=>Wi(ei)==="[object RegExp]",pn=ei=>typeof ei=="function",Pn=ei=>typeof ei=="string",nn=ei=>typeof ei=="symbol",Ai=ei=>ei!==null&&typeof ei=="object",Ri=ei=>(Ai(ei)||pn(ei))&&pn(ei.then)&&pn(ei.catch),ki=Object.prototype.toString,Wi=ei=>ki.call(ei),an=ei=>Wi(ei).slice(8,-1),Fn=ei=>Wi(ei)==="[object Object]",en=ei=>Pn(ei)&&ei!=="NaN"&&ei[0]!=="-"&&""+parseInt(ei,10)===ei,Fi=Zi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Oi=null,zi=ei=>{const ti=Object.create(null);return ii=>ti[ii]||(ti[ii]=ei(ii))},Ti=/-(\w)/g,Yi=zi(ei=>ei.replace(Ti,(ti,ii)=>ii?ii.toUpperCase():"")),wn=/\B([A-Z])/g,Bi=zi(ei=>ei.replace(wn,"-$1").toLowerCase()),Qi=zi(ei=>ei.charAt(0).toUpperCase()+ei.slice(1)),Gi=zi(ei=>ei?`on${Qi(ei)}`:""),On=(ei,ti)=>!Object.is(ei,ti),Xn=(ei,...ti)=>{for(let ii=0;ii<ei.length;ii++)ei[ii](...ti)},cs=(ei,ti,ii,ni=!1)=>{Object.defineProperty(ei,ti,{configurable:!0,enumerable:!1,writable:ni,value:ii})},Vs=ei=>{const ti=parseFloat(ei);return isNaN(ti)?ei:ti},uo=ei=>{const ti=Pn(ei)?Number(ei):NaN;return isNaN(ti)?ei:ti};let fo;const go=()=>fo||(fo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof __webpack_require__.g<"u"?__webpack_require__.g:{}),Po=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Jo(ei){return Po.test(ei)?`__props.${ei}`:`__props[${JSON.stringify(ei)}]`}const ca={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},gi={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},Si={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},$i={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},kn={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Un=Zi("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error"),Jn=null,Ys=2;function bo(ei,ti=0,ii=ei.length){if(ti=Math.max(0,Math.min(ti,ei.length)),ii=Math.max(0,Math.min(ii,ei.length)),ti>ii)return"";let ni=ei.split(/(\r?\n)/);const si=ni.filter((fi,hi)=>hi%2===1);ni=ni.filter((fi,hi)=>hi%2===0);let ai=0;const li=[];for(let fi=0;fi<ni.length;fi++)if(ai+=ni[fi].length+(si[fi]&&si[fi].length||0),ai>=ti){for(let hi=fi-Ys;hi<=fi+Ys||ii>ai;hi++){if(hi<0||hi>=ni.length)continue;const _i=hi+1;li.push(`${_i}${" ".repeat(Math.max(3-String(_i).length,0))}| ${ni[hi]}`);const ji=ni[hi].length,Mi=si[hi]&&si[hi].length||0;if(hi===fi){const Ki=ti-(ai-(ji+Mi)),on=Math.max(1,ii>ai?ji-Ki:ii-ti);li.push(" | "+" ".repeat(Ki)+"^".repeat(on))}else if(hi>fi){if(ii>ai){const Ki=Math.max(Math.min(ii-ai,ji),1);li.push(" | "+"^".repeat(Ki))}ai+=ji+Mi}}break}return li.join(`
`)}function _o(ei){if(mn(ei)){const ti={};for(let ii=0;ii<ei.length;ii++){const ni=ei[ii],si=Pn(ni)?ha(ni):_o(ni);if(si)for(const ai in si)ti[ai]=si[ai]}return ti}else if(Pn(ei)||Ai(ei))return ei}const pa=/;(?![^(]*\))/g,ka=/:([^]+)/,Aa=/\/\*[^]*?\*\//g;function ha(ei){const ti={};return ei.replace(Aa,"").split(pa).forEach(ii=>{if(ii){const ni=ii.split(ka);ni.length>1&&(ti[ni[0].trim()]=ni[1].trim())}}),ti}function sa(ei){let ti="";if(!ei||Pn(ei))return ti;for(const ii in ei){const ni=ei[ii];if(Pn(ni)||typeof ni=="number"){const si=ii.startsWith("--")?ii:Bi(ii);ti+=`${si}:${ni};`}}return ti}function Do(ei){let ti="";if(Pn(ei))ti=ei;else if(mn(ei))for(let ii=0;ii<ei.length;ii++){const ni=Do(ei[ii]);ni&&(ti+=ni+" ")}else if(Ai(ei))for(const ii in ei)ei[ii]&&(ti+=ii+" ");return ti.trim()}function ra(ei){if(!ei)return null;let{class:ti,style:ii}=ei;return ti&&!Pn(ti)&&(ei.class=Do(ti)),ii&&(ei.style=_o(ii)),ei}const rl="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",bl="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",nu="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",ec="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",su=null,Ta=null,La=null,va=null,Ya="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zo=null,Da=Zi(Ya+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function ru(ei){return!!ei||ei===""}const Go=/[>/="'\u0009\u000a\u000c\u0020]/,Rc={};function El(ei){if(Rc.hasOwnProperty(ei))return Rc[ei];const ti=Go.test(ei);return ti&&console.error(`unsafe attribute name: ${ei}`),Rc[ei]=!ti}const kl={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},tc=null,Mc=null;function bc(ei){if(ei==null)return!1;const ti=typeof ei;return ti==="string"||ti==="number"||ti==="boolean"}const Yn=/["'&<>]/;function Ts(ei){const ti=""+ei,ii=Yn.exec(ti);if(!ii)return ti;let ni="",si,ai,li=0;for(ai=ii.index;ai<ti.length;ai++){switch(ti.charCodeAt(ai)){case 34:si="&quot;";break;case 38:si="&amp;";break;case 39:si="&#39;";break;case 60:si="&lt;";break;case 62:si="&gt;";break;default:continue}li!==ai&&(ni+=ti.slice(li,ai)),li=ai+1,ni+=si}return li!==ai?ni+ti.slice(li,ai):ni}const Us=/^-?>|<!--|-->|--!>|<!-$/g;function mo(ei){return ei.replace(Us,"")}function ma(ei,ti){if(ei.length!==ti.length)return!1;let ii=!0;for(let ni=0;ii&&ni<ei.length;ni++)ii=ea(ei[ni],ti[ni]);return ii}function ea(ei,ti){if(ei===ti)return!0;let ii=rn(ei),ni=rn(ti);if(ii||ni)return ii&&ni?ei.getTime()===ti.getTime():!1;if(ii=nn(ei),ni=nn(ti),ii||ni)return ei===ti;if(ii=mn(ei),ni=mn(ti),ii||ni)return ii&&ni?ma(ei,ti):!1;if(ii=Ai(ei),ni=Ai(ti),ii||ni){if(!ii||!ni)return!1;const si=Object.keys(ei).length,ai=Object.keys(ti).length;if(si!==ai)return!1;for(const li in ei){const fi=ei.hasOwnProperty(li),hi=ti.hasOwnProperty(li);if(fi&&!hi||!fi&&hi||!ea(ei[li],ti[li]))return!1}}return String(ei)===String(ti)}function Ra(ei,ti){return ei.findIndex(ii=>ea(ii,ti))}const Ka=ei=>!!(ei&&ei.__v_isRef===!0),ia=ei=>Pn(ei)?ei:ei==null?"":mn(ei)||Ai(ei)&&(ei.toString===ki||!pn(ei.toString))?Ka(ei)?ia(ei.value):JSON.stringify(ei,Ul,2):String(ei),Ul=(ei,ti)=>Ka(ti)?Ul(ei,ti.value):Mn(ti)?{[`Map(${ti.size})`]:[...ti.entries()].reduce((ii,[ni,si],ai)=>(ii[Ml(ni,ai)+" =>"]=si,ii),{})}:pi(ti)?{[`Set(${ti.size})`]:[...ti.values()].map(ii=>Ml(ii))}:nn(ti)?Ml(ti):Ai(ti)&&!mn(ti)&&!Fn(ti)?String(ti):ti,Ml=(ei,ti="")=>{var ii;return nn(ei)?`Symbol(${(ii=ei.description)!=null?ii:ti})`:ei};function Oc(ei,...ti){console.warn(`[Vue warn] ${ei}`,...ti)}let xa;class Dc{constructor(ti=!1){this.detached=ti,this._active=!0,this.effects=[],this.cleanups=[],this.parent=xa,!ti&&xa&&(this.index=(xa.scopes||(xa.scopes=[])).push(this)-1)}get active(){return this._active}run(ti){if(this._active){const ii=xa;try{return xa=this,ti()}finally{xa=ii}}}on(){xa=this}off(){xa=this.parent}stop(ti){if(this._active){let ii,ni;for(ii=0,ni=this.effects.length;ii<ni;ii++)this.effects[ii].stop();for(ii=0,ni=this.cleanups.length;ii<ni;ii++)this.cleanups[ii]();if(this.scopes)for(ii=0,ni=this.scopes.length;ii<ni;ii++)this.scopes[ii].stop(!0);if(!this.detached&&this.parent&&!ti){const si=this.parent.scopes.pop();si&&si!==this&&(this.parent.scopes[this.index]=si,si.index=this.index)}this.parent=void 0,this._active=!1}}}function jd(ei){return new Dc(ei)}function Fc(ei,ti=xa){ti&&ti.active&&ti.effects.push(ei)}function Iu(){return xa}function cf(ei){xa&&xa.cleanups.push(ei)}let Ja;class vu{constructor(ti,ii,ni,si){this.fn=ti,this.trigger=ii,this.scheduler=ni,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Fc(this,si)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Eo();for(let ti=0;ti<this._depsLength;ti++){const ii=this.deps[ti];if(ii.computed&&(Sd(ii.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Wa()}return this._dirtyLevel>=4}set dirty(ti){this._dirtyLevel=ti?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let ti=xs,ii=Ja;try{return xs=!0,Ja=this,this._runnings++,Pu(this),this.fn()}finally{Cd(this),this._runnings--,Ja=ii,xs=ti}}stop(){this.active&&(Pu(this),Cd(this),this.onStop&&this.onStop(),this.active=!1)}}function Sd(ei){return ei.value}function Pu(ei){ei._trackId++,ei._depsLength=0}function Cd(ei){if(ei.deps.length>ei._depsLength){for(let ti=ei._depsLength;ti<ei.deps.length;ti++)ln(ei.deps[ti],ei);ei.deps.length=ei._depsLength}}function ln(ei,ti){const ii=ei.get(ti);ii!==void 0&&ti._trackId!==ii&&(ei.delete(ti),ei.size===0&&ei.cleanup())}function Tn(ei,ti){ei.effect instanceof vu&&(ei=ei.effect.fn);const ii=new vu(ei,NOOP,()=>{ii.dirty&&ii.run()});ti&&(extend(ii,ti),ti.scope&&Fc(ii,ti.scope)),(!ti||!ti.lazy)&&ii.run();const ni=ii.run.bind(ii);return ni.effect=ii,ni}function ts(ei){ei.effect.stop()}let xs=!0,As=0;const Bs=[];function Eo(){Bs.push(xs),xs=!1}function qo(){Bs.push(xs),xs=!0}function Wa(){const ei=Bs.pop();xs=ei===void 0?!0:ei}function _c(){As++}function ba(){for(As--;!As&&Al.length;)Al.shift()()}function ol(ei,ti,ii){var ni;if(ti.get(ei)!==ei._trackId){ti.set(ei,ei._trackId);const si=ei.deps[ei._depsLength];si!==ti?(si&&ln(si,ei),ei.deps[ei._depsLength++]=ti):ei._depsLength++}}const Al=[];function uf(ei,ti,ii){var ni;_c();for(const si of ei.keys()){let ai;si._dirtyLevel<ti&&(ai??(ai=ei.get(si)===si._trackId))&&(si._shouldSchedule||(si._shouldSchedule=si._dirtyLevel===0),si._dirtyLevel=ti),si._shouldSchedule&&(ai??(ai=ei.get(si)===si._trackId))&&(si.trigger(),(!si._runnings||si.allowRecurse)&&si._dirtyLevel!==2&&(si._shouldSchedule=!1,si.scheduler&&Al.push(si.scheduler)))}ba()}const Tl=(ei,ti)=>{const ii=new Map;return ii.cleanup=ei,ii.computed=ti,ii},qu=new WeakMap,Za=Symbol(""),ff=Symbol("");function Na(ei,ti,ii){if(xs&&Ja){let ni=qu.get(ei);ni||qu.set(ei,ni=new Map);let si=ni.get(ii);si||ni.set(ii,si=Tl(()=>ni.delete(ii))),ol(Ja,si,void 0)}}function Wl(ei,ti,ii,ni,si,ai){const li=qu.get(ei);if(!li)return;let fi=[];if(ti==="clear")fi=[...li.values()];else if(ii==="length"&&mn(ei)){const hi=Number(ni);li.forEach((_i,ji)=>{(ji==="length"||!nn(ji)&&ji>=hi)&&fi.push(_i)})}else switch(ii!==void 0&&fi.push(li.get(ii)),ti){case"add":mn(ei)?en(ii)&&fi.push(li.get("length")):(fi.push(li.get(Za)),Mn(ei)&&fi.push(li.get(ff)));break;case"delete":mn(ei)||(fi.push(li.get(Za)),Mn(ei)&&fi.push(li.get(ff)));break;case"set":Mn(ei)&&fi.push(li.get(Za));break}_c();for(const hi of fi)hi&&uf(hi,4,void 0);ba()}function Nf(ei,ti){const ii=qu.get(ei);return ii&&ii.get(ti)}const Ic=Zi("__proto__,__v_isRef,__isVue"),Ol=new Set(Object.getOwnPropertyNames(Symbol).filter(ei=>ei!=="arguments"&&ei!=="caller").map(ei=>Symbol[ei]).filter(nn)),bu=Ed();function Ed(){const ei={};return["includes","indexOf","lastIndexOf"].forEach(ti=>{ei[ti]=function(...ii){const ni=gs(this);for(let ai=0,li=this.length;ai<li;ai++)Na(ni,"get",ai+"");const si=ni[ti](...ii);return si===-1||si===!1?ni[ti](...ii.map(gs)):si}}),["push","pop","shift","unshift","splice"].forEach(ti=>{ei[ti]=function(...ii){Eo(),_c();const ni=gs(this)[ti].apply(this,ii);return ba(),Wa(),ni}}),ei}function zl(ei){nn(ei)||(ei=String(ei));const ti=gs(this);return Na(ti,"has",ei),ti.hasOwnProperty(ei)}class kd{constructor(ti=!1,ii=!1){this._isReadonly=ti,this._isShallow=ii}get(ti,ii,ni){const si=this._isReadonly,ai=this._isShallow;if(ii==="__v_isReactive")return!si;if(ii==="__v_isReadonly")return si;if(ii==="__v_isShallow")return ai;if(ii==="__v_raw")return ni===(si?ai?di:ci:ai?Od:qc).get(ti)||Object.getPrototypeOf(ti)===Object.getPrototypeOf(ni)?ti:void 0;const li=mn(ti);if(!si){if(li&&yn(bu,ii))return Reflect.get(bu,ii,ni);if(ii==="hasOwnProperty")return zl}const fi=Reflect.get(ti,ii,ni);return(nn(ii)?Ol.has(ii):Ic(ii))||(si||Na(ti,"get",ii),ai)?fi:Ia(fi)?li&&en(ii)?fi:fi.value:Ai(fi)?si?Ui(fi):Ii(fi):fi}}class _u extends kd{constructor(ti=!1){super(!1,ti)}set(ti,ii,ni,si){let ai=ti[ii];if(!this._isShallow){const hi=as(ai);if(!vs(ni)&&!as(ni)&&(ai=gs(ai),ni=gs(ni)),!mn(ti)&&Ia(ai)&&!Ia(ni))return hi?!1:(ai.value=ni,!0)}const li=mn(ti)&&en(ii)?Number(ii)<ti.length:yn(ti,ii),fi=Reflect.set(ti,ii,ni,si);return ti===gs(si)&&(li?On(ni,ai)&&Wl(ti,"set",ii,ni,ai):Wl(ti,"add",ii,ni)),fi}deleteProperty(ti,ii){const ni=yn(ti,ii),si=ti[ii],ai=Reflect.deleteProperty(ti,ii);return ai&&ni&&Wl(ti,"delete",ii,void 0,si),ai}has(ti,ii){const ni=Reflect.has(ti,ii);return(!nn(ii)||!Ol.has(ii))&&Na(ti,"has",ii),ni}ownKeys(ti){return Na(ti,"iterate",mn(ti)?"length":Za),Reflect.ownKeys(ti)}}class ou extends kd{constructor(ti=!1){super(!0,ti)}set(ti,ii){return!0}deleteProperty(ti,ii){return!0}}const fh=new _u,cm=new ou,yu=new _u(!0),dh=new ou(!0),Bf=ei=>ei,au=ei=>Reflect.getPrototypeOf(ei);function df(ei,ti,ii=!1,ni=!1){ei=ei.__v_raw;const si=gs(ei),ai=gs(ti);ii||(On(ti,ai)&&Na(si,"get",ti),Na(si,"get",ai));const{has:li}=au(si),fi=ni?Bf:ii?Fo:Ko;if(li.call(si,ti))return fi(ei.get(ti));if(li.call(si,ai))return fi(ei.get(ai));ei!==si&&ei.get(ti)}function wu(ei,ti=!1){const ii=this.__v_raw,ni=gs(ii),si=gs(ei);return ti||(On(ei,si)&&Na(ni,"has",ei),Na(ni,"has",si)),ei===si?ii.has(ei):ii.has(ei)||ii.has(si)}function xu(ei,ti=!1){return ei=ei.__v_raw,!ti&&Na(gs(ei),"iterate",Za),Reflect.get(ei,"size",ei)}function Nu(ei,ti=!1){!ti&&!vs(ei)&&!as(ei)&&(ei=gs(ei));const ii=gs(this);return au(ii).has.call(ii,ei)||(ii.add(ei),Wl(ii,"add",ei,ei)),this}function ic(ei,ti,ii=!1){!ii&&!vs(ti)&&!as(ti)&&(ti=gs(ti));const ni=gs(this),{has:si,get:ai}=au(ni);let li=si.call(ni,ei);li||(ei=gs(ei),li=si.call(ni,ei));const fi=ai.call(ni,ei);return ni.set(ei,ti),li?On(ti,fi)&&Wl(ni,"set",ei,ti,fi):Wl(ni,"add",ei,ti),this}function Ad(ei){const ti=gs(this),{has:ii,get:ni}=au(ti);let si=ii.call(ti,ei);si||(ei=gs(ei),si=ii.call(ti,ei));const ai=ni?ni.call(ti,ei):void 0,li=ti.delete(ei);return si&&Wl(ti,"delete",ei,void 0,ai),li}function Bu(){const ei=gs(this),ti=ei.size!==0,ii=void 0,ni=ei.clear();return ti&&Wl(ei,"clear",void 0,void 0,ii),ni}function Hu(ei,ti){return function(ni,si){const ai=this,li=ai.__v_raw,fi=gs(li),hi=ti?Bf:ei?Fo:Ko;return!ei&&Na(fi,"iterate",Za),li.forEach((_i,ji)=>ni.call(si,hi(_i),hi(ji),ai))}}function Pc(ei,ti,ii){return function(...ni){const si=this.__v_raw,ai=gs(si),li=Mn(ai),fi=ei==="entries"||ei===Symbol.iterator&&li,hi=ei==="keys"&&li,_i=si[ei](...ni),ji=ii?Bf:ti?Fo:Ko;return!ti&&Na(ai,"iterate",hi?ff:Za),{next(){const{value:Mi,done:Ki}=_i.next();return Ki?{value:Mi,done:Ki}:{value:fi?[ji(Mi[0]),ji(Mi[1])]:ji(Mi),done:Ki}},[Symbol.iterator](){return this}}}}function Dl(ei){return function(...ti){return ei==="delete"?!1:ei==="clear"?void 0:this}}function $u(){const ei={get(ai){return df(this,ai)},get size(){return xu(this)},has:wu,add:Nu,set:ic,delete:Ad,clear:Bu,forEach:Hu(!1,!1)},ti={get(ai){return df(this,ai,!1,!0)},get size(){return xu(this)},has:wu,add(ai){return Nu.call(this,ai,!0)},set(ai,li){return ic.call(this,ai,li,!0)},delete:Ad,clear:Bu,forEach:Hu(!1,!0)},ii={get(ai){return df(this,ai,!0)},get size(){return xu(this,!0)},has(ai){return wu.call(this,ai,!0)},add:Dl("add"),set:Dl("set"),delete:Dl("delete"),clear:Dl("clear"),forEach:Hu(!0,!1)},ni={get(ai){return df(this,ai,!0,!0)},get size(){return xu(this,!0)},has(ai){return wu.call(this,ai,!0)},add:Dl("add"),set:Dl("set"),delete:Dl("delete"),clear:Dl("clear"),forEach:Hu(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(ai=>{ei[ai]=Pc(ai,!1,!1),ii[ai]=Pc(ai,!0,!1),ti[ai]=Pc(ai,!1,!0),ni[ai]=Pc(ai,!0,!0)}),[ei,ii,ti,ni]}const[Td,Ld,Hf,hh]=$u();function hf(ei,ti){const ii=ti?ei?hh:Hf:ei?Ld:Td;return(ni,si,ai)=>si==="__v_isReactive"?!ei:si==="__v_isReadonly"?ei:si==="__v_raw"?ni:Reflect.get(yn(ii,si)&&si in ni?ii:ni,si,ai)}const um={get:hf(!1,!1)},Vu={get:hf(!1,!0)},$f={get:hf(!0,!1)},Rd={get:hf(!0,!0)};function Md(ei,ti,ii){const ni=gs(ii);if(ni!==ii&&ti.call(ei,ni)){const si=toRawType(ei);Oc(`Reactive ${si} contains both the raw and reactive versions of the same object${si==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const qc=new WeakMap,Od=new WeakMap,ci=new WeakMap,di=new WeakMap;function xi(ei){switch(ei){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ci(ei){return ei.__v_skip||!Object.isExtensible(ei)?0:xi(an(ei))}function Ii(ei){return as(ei)?ei:vn(ei,!1,fh,um,qc)}function Pi(ei){return vn(ei,!1,yu,Vu,Od)}function Ui(ei){return vn(ei,!0,cm,$f,ci)}function Sn(ei){return vn(ei,!0,dh,Rd,di)}function vn(ei,ti,ii,ni,si){if(!Ai(ei)||ei.__v_raw&&!(ti&&ei.__v_isReactive))return ei;const ai=si.get(ei);if(ai)return ai;const li=Ci(ei);if(li===0)return ei;const fi=new Proxy(ei,li===2?ni:ii);return si.set(ei,fi),fi}function Hn(ei){return as(ei)?Hn(ei.__v_raw):!!(ei&&ei.__v_isReactive)}function as(ei){return!!(ei&&ei.__v_isReadonly)}function vs(ei){return!!(ei&&ei.__v_isShallow)}function ns(ei){return ei?!!ei.__v_raw:!1}function gs(ei){const ti=ei&&ei.__v_raw;return ti?gs(ti):ei}function Lo(ei){return Object.isExtensible(ei)&&cs(ei,"__v_skip",!0),ei}const Ko=ei=>Ai(ei)?Ii(ei):ei,Fo=ei=>Ai(ei)?Ui(ei):ei,Fa=null;class Ba{constructor(ti,ii,ni,si){this.getter=ti,this._setter=ii,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new vu(()=>ti(this._value),()=>Bo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!si,this.__v_isReadonly=ni}get value(){const ti=gs(this);return(!ti._cacheable||ti.effect.dirty)&&On(ti._value,ti._value=ti.effect.run())&&Bo(ti,4),Kl(ti),ti.effect._dirtyLevel>=2&&Bo(ti,2),ti._value}set value(ti){this._setter(ti)}get _dirty(){return this.effect.dirty}set _dirty(ti){this.effect.dirty=ti}}function yc(ei,ti,ii=!1){let ni,si;const ai=pn(ei);return ai?(ni=ei,si=ks):(ni=ei.get,si=ei.set),new Ba(ni,si,ai||!si,ii)}function Kl(ei){var ti;xs&&Ja&&(ei=gs(ei),ol(Ja,(ti=ei.dep)!=null?ti:ei.dep=Tl(()=>ei.dep=void 0,ei instanceof Ba?ei:void 0),void 0))}function Bo(ei,ti=4,ii,ni){ei=gs(ei);const si=ei.dep;si&&uf(si,ti,void 0)}function Ia(ei){return!!(ei&&ei.__v_isRef===!0)}function Xo(ei){return ju(ei,!1)}function Ma(ei){return ju(ei,!0)}function ju(ei,ti){return Ia(ei)?ei:new mf(ei,ti)}class mf{constructor(ti,ii){this.__v_isShallow=ii,this.dep=void 0,this.__v_isRef=!0,this._rawValue=ii?ti:gs(ti),this._value=ii?ti:Ko(ti)}get value(){return Kl(this),this._value}set value(ti){const ii=this.__v_isShallow||vs(ti)||as(ti);if(ti=ii?ti:gs(ti),hasChanged(ti,this._rawValue)){const ni=this._rawValue;this._rawValue=ti,this._value=ii?ti:Ko(ti),Bo(this,4,ti,ni)}}}function nc(ei){Bo(ei,4,void 0)}function Nc(ei){return Ia(ei)?ei.value:ei}function Fl(ei){return isFunction(ei)?ei():Nc(ei)}const Bc={get:(ei,ti,ii)=>Nc(Reflect.get(ei,ti,ii)),set:(ei,ti,ii,ni)=>{const si=ei[ti];return Ia(si)&&!Ia(ii)?(si.value=ii,!0):Reflect.set(ei,ti,ii,ni)}};function sc(ei){return Hn(ei)?ei:new Proxy(ei,Bc)}class Il{constructor(ti){this.dep=void 0,this.__v_isRef=!0;const{get:ii,set:ni}=ti(()=>Kl(this),()=>Bo(this));this._get=ii,this._set=ni}get value(){return this._get()}set value(ti){this._set(ti)}}function pf(ei){return new Il(ei)}function ja(ei){const ti=isArray(ei)?new Array(ei.length):{};for(const ii in ei)ti[ii]=Vf(ei,ii);return ti}class Ll{constructor(ti,ii,ni){this._object=ti,this._key=ii,this._defaultValue=ni,this.__v_isRef=!0}get value(){const ti=this._object[this._key];return ti===void 0?this._defaultValue:ti}set value(ti){this._object[this._key]=ti}get dep(){return Nf(gs(this._object),this._key)}}class Dd{constructor(ti){this._getter=ti,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function fm(ei,ti,ii){return Ia(ei)?ei:isFunction(ei)?new Dd(ei):isObject(ei)&&arguments.length>1?Vf(ei,ti,ii):Xo(ei)}function Vf(ei,ti,ii){const ni=ei[ti];return Ia(ni)?ni:new Ll(ei,ti,ii)}const ua=null,Uf={GET:"get",HAS:"has",ITERATE:"iterate"},al={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Uu={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"};const rc=[];function wp(ei){rc.push(ei)}function Fd(){rc.pop()}let oc=!1;function ll(ei,...ti){if(oc)return;oc=!0,Eo();const ii=rc.length?rc[rc.length-1].component:null,ni=ii&&ii.appContext.config.warnHandler,si=Hc();if(ni)Pl(ni,ii,11,[ei+ti.map(ai=>{var li,fi;return(fi=(li=ai.toString)==null?void 0:li.call(ai))!=null?fi:JSON.stringify(ai)}).join(""),ii&&ii.proxy,si.map(({vnode:ai})=>`at <${Up(ii,ai.type)}>`).join(`
`),si]);else{const ai=[`[Vue warn]: ${ei}`,...ti];si.length&&ai.push(`
`,...mh(si)),console.warn(...ai)}Wa(),oc=!1}function Hc(){let ei=rc[rc.length-1];if(!ei)return[];const ti=[];for(;ei;){const ii=ti[0];ii&&ii.vnode===ei?ii.recurseCount++:ti.push({vnode:ei,recurseCount:0});const ni=ei.component&&ei.component.parent;ei=ni&&ni.vnode}return ti}function mh(ei){const ti=[];return ei.forEach((ii,ni)=>{ti.push(...ni===0?[]:[`
`],...Wu(ii))}),ti}function Wu({vnode:ei,recurseCount:ti}){const ii=ti>0?`... (${ti} recursive calls)`:"",ni=ei.component?ei.component.parent==null:!1,si=` at <${Up(ei.component,ei.type,ni)}`,ai=">"+ii;return ei.props?[si,...zu(ei.props),ai]:[si+ai]}function zu(ei){const ti=[],ii=Object.keys(ei);return ii.slice(0,3).forEach(ni=>{ti.push(...lu(ni,ei[ni]))}),ii.length>3&&ti.push(" ..."),ti}function lu(ei,ti,ii){return Pn(ti)?(ti=JSON.stringify(ti),ii?ti:[`${ei}=${ti}`]):typeof ti=="number"||typeof ti=="boolean"||ti==null?ii?ti:[`${ei}=${ti}`]:Ia(ti)?(ti=lu(ei,gs(ti.value),!0),ii?ti:[`${ei}=Ref<`,ti,">"]):pn(ti)?[`${ei}=fn${ti.name?`<${ti.name}>`:""}`]:(ti=gs(ti),ii?ti:[`${ei}=`,ti])}function Wf(ei,ti){}const ph={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},Ku={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update"};function Pl(ei,ti,ii,ni){try{return ni?ei(...ni):ei()}catch(si){Su(si,ti,ii)}}function _l(ei,ti,ii,ni){if(pn(ei)){const si=Pl(ei,ti,ii,ni);return si&&Ri(si)&&si.catch(ai=>{Su(ai,ti,ii)}),si}if(mn(ei)){const si=[];for(let ai=0;ai<ei.length;ai++)si.push(_l(ei[ai],ti,ii,ni));return si}}function Su(ei,ti,ii,ni=!0){const si=ti?ti.vnode:null;if(ti){let ai=ti.parent;const li=ti.proxy,fi=`https://vuejs.org/error-reference/#runtime-${ii}`;for(;ai;){const _i=ai.ec;if(_i){for(let ji=0;ji<_i.length;ji++)if(_i[ji](ei,li,fi)===!1)return}ai=ai.parent}const hi=ti.appContext.config.errorHandler;if(hi){Eo(),Pl(hi,null,10,[ei,li,fi]),Wa();return}}zf(ei,ii,si,ni)}function zf(ei,ti,ii,ni=!0){console.error(ei)}let Cu=!1,fn=!1;const Rn=[];let Zn=0;const ss=[];let ps=null,Hs=0;const Jr=Promise.resolve();let lo=null;const Zr=100;function Wo(ei){const ti=lo||Jr;return ei?ti.then(this?ei.bind(this):ei):ti}function Ao(ei){let ti=Zn+1,ii=Rn.length;for(;ti<ii;){const ni=ti+ii>>>1,si=Rn[ni],ai=Ha(si);ai<ei||ai===ei&&si.pre?ti=ni+1:ii=ni}return ti}function ko(ei){(!Rn.length||!Rn.includes(ei,Cu&&ei.allowRecurse?Zn+1:Zn))&&(ei.id==null?Rn.push(ei):Rn.splice(Ao(ei.id),0,ei),No())}function No(){!Cu&&!fn&&(fn=!0,lo=Jr.then(Eu))}function ho(ei){const ti=Rn.indexOf(ei);ti>Zn&&Rn.splice(ti,1)}function oa(ei){mn(ei)?ss.push(...ei):(!ps||!ps.includes(ei,ei.allowRecurse?Hs+1:Hs))&&ss.push(ei),No()}function cl(ei,ti,ii=Cu?Zn+1:0){for(;ii<Rn.length;ii++){const ni=Rn[ii];if(ni&&ni.pre){if(ei&&ni.id!==ei.uid)continue;Rn.splice(ii,1),ii--,ni()}}}function Sa(ei){if(ss.length){const ti=[...new Set(ss)].sort((ii,ni)=>Ha(ii)-Ha(ni));if(ss.length=0,ps){ps.push(...ti);return}for(ps=ti,Hs=0;Hs<ps.length;Hs++){const ii=ps[Hs];ii.active!==!1&&ii()}ps=null,Hs=0}}const Ha=ei=>ei.id==null?1/0:ei.id,ac=(ei,ti)=>{const ii=Ha(ei)-Ha(ti);if(ii===0){if(ei.pre&&!ti.pre)return-1;if(ti.pre&&!ei.pre)return 1}return ii};function Eu(ei){fn=!1,Cu=!0,Rn.sort(ac);const ti=ks;try{for(Zn=0;Zn<Rn.length;Zn++){const ii=Rn[Zn];ii&&ii.active!==!1&&Pl(ii,ii.i,ii.i?15:14)}}finally{Zn=0,Rn.length=0,Sa(ei),Cu=!1,lo=null,(Rn.length||ss.length)&&Eu(ei)}}function ul(ei,ti){if(!ei.has(ti))ei.set(ti,1);else{const ii=ei.get(ti);if(ii>Zr){const ni=ti.i,si=ni&&Bh(ni.type);return Su(`Maximum recursive updates exceeded${si?` in component <${si}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else ei.set(ti,ii+1)}}let dm=!1;const Id=new Map,Xu=new Map;function Pd(ei){const ti=ei.type.__hmrId;let ii=Xu.get(ti);ii||(iv(ti,ei.type),ii=Xu.get(ti)),ii.instances.add(ei)}function Kf(ei){Xu.get(ei.type.__hmrId).instances.delete(ei)}function iv(ei,ti){return Xu.has(ei)?!1:(Xu.set(ei,{initialDef:gh(ti),instances:new Set}),!0)}function gh(ei){return Bv(ei)?ei.__vccOpts:ei}function xp(ei,ti){const ii=Xu.get(ei);ii&&(ii.initialDef.render=ti,[...ii.instances].forEach(ni=>{ti&&(ni.render=ti,gh(ni.type).render=ti),ni.renderCache=[],dm=!0,ni.effect.dirty=!0,ni.update(),dm=!1}))}function nv(ei,ti){const ii=Xu.get(ei);if(!ii)return;ti=gh(ti),el(ii.initialDef,ti);const ni=[...ii.instances];for(let si=0;si<ni.length;si++){const ai=ni[si],li=gh(ai.type);let fi=Id.get(li);fi||(li!==ii.initialDef&&el(li,ti),Id.set(li,fi=new Set)),fi.add(ai),ai.appContext.propsCache.delete(ai.type),ai.appContext.emitsCache.delete(ai.type),ai.appContext.optionsCache.delete(ai.type),ai.ceReload?(fi.add(ai),ai.ceReload(ti.styles),fi.delete(ai)):ai.parent?(ai.parent.effect.dirty=!0,ko(()=>{ai.parent.update(),fi.delete(ai)})):ai.appContext.reload?ai.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}oa(()=>{Id.clear()})}function el(ei,ti){extend(ei,ti);for(const ii in ei)ii!=="__file"&&!(ii in ti)&&delete ei[ii]}function sv(ei){return(ti,ii)=>{try{return ei(ti,ii)}catch(ni){console.error(ni),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let $c,gf=null,Xf=!1;function wc(ei,...ti){$c?$c.emit(ei,...ti):Xf||gf.push({event:ei,args:ti})}function hm(ei,ti){var ii,ni;$c=ei,$c?($c.enabled=!0,gf.forEach(({event:si,args:ai})=>$c.emit(si,...ai)),gf=[]):typeof window<"u"&&window.HTMLElement&&!((ni=(ii=window.navigator)==null?void 0:ii.userAgent)!=null&&ni.includes("jsdom"))?((ti.__VUE_DEVTOOLS_HOOK_REPLAY__=ti.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(ai=>{hm(ai,ti)}),setTimeout(()=>{$c||(ti.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Xf=!0,gf=[])},3e3)):(Xf=!0,gf=[])}function mm(ei,ti){wc("app:init",ei,ti,{Fragment:xl,Text:xf,Comment:dl,Static:zd})}function rv(ei){wc("app:unmount",ei)}const jp=null,ov=null,Gf=null,Sp=ei=>{$c&&typeof $c.cleanupBuffer=="function"&&!$c.cleanupBuffer(ei)&&Gf(ei)};function Cp(ei){return ti=>{wc(ei,ti.appContext.app,ti.uid,ti.parent?ti.parent.uid:void 0,ti)}}const pm=null,Wy=null;function vh(ei){return(ti,ii,ni)=>{wc(ei,ti.appContext.app,ti.uid,ti,ii,ni)}}function av(ei,ti,ii){wc("component:emit",ei.appContext.app,ei,ti,ii)}let Xa=null,Qf=null;function $a(ei){const ti=Xa;return Xa=ei,Qf=ei&&ei.type.__scopeId||null,ti}function vf(ei){Qf=ei}function yl(){Qf=null}const Yf=ei=>bf;function bf(ei,ti=Xa,ii){if(!ti||ei._n)return ei;const ni=(...si)=>{ni._d&&Tv(-1);const ai=$a(ti);let li;try{li=ei(...si)}finally{$a(ai),ni._d&&Tv(1)}return li};return ni._n=!0,ni._c=!0,ni._d=!0,ni}function Xl(ei){isBuiltInDirective(ei)&&ll("Do not use built-in directive ids as custom directive id: "+ei)}function bh(ei,ti){if(Xa===null)return ei;const ii=Nh(Xa),ni=ei.dirs||(ei.dirs=[]);for(let si=0;si<ti.length;si++){let[ai,li,fi,hi=EMPTY_OBJ]=ti[si];ai&&(isFunction(ai)&&(ai={mounted:ai,updated:ai}),ai.deep&&wf(li),ni.push({dir:ai,instance:ii,value:li,oldValue:void 0,arg:fi,modifiers:hi}))}return ei}function xc(ei,ti,ii,ni){const si=ei.dirs,ai=ti&&ti.dirs;for(let li=0;li<si.length;li++){const fi=si[li];ai&&(fi.oldValue=ai[li].value);let hi=fi.dir[ni];hi&&(pauseTracking(),_l(hi,ii,8,[ei.el,fi,ei,ti]),resetTracking())}}const ql=Symbol("_leaveCb"),Jf=Symbol("_enterCb");function gm(){const ei={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return yf(()=>{ei.isMounted=!0}),td(()=>{ei.isUnmounting=!0}),ei}const lc=[Function,Array],_h={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lc,onEnter:lc,onAfterEnter:lc,onEnterCancelled:lc,onBeforeLeave:lc,onLeave:lc,onAfterLeave:lc,onLeaveCancelled:lc,onBeforeAppear:lc,onAppear:lc,onAfterAppear:lc,onAppearCancelled:lc},ku=ei=>{const ti=ei.subTree;return ti.component?ku(ti.component):ti},Vc={name:"BaseTransition",props:_h,setup(ei,{slots:ti}){const ii=Ph(),ni=gm();return()=>{const si=ti.default&&Ca(ti.default(),!0);if(!si||!si.length)return;let ai=si[0];if(si.length>1){let Ki=!1;for(const on of si)if(on.type!==dl){ai=on,Ki=!0;break}}const li=gs(ei),{mode:fi}=li;if(ni.isLeaving)return qd(ai);const hi=Zf(ai);if(!hi)return qd(ai);let _i=bm(hi,li,ni,ii,Ki=>_i=Ki);Gu(hi,_i);const ji=ii.subTree,Mi=ji&&Zf(ji);if(Mi&&Mi.type!==dl&&!mu(hi,Mi)&&ku(ii).type!==dl){const Ki=bm(Mi,li,ni,ii);if(Gu(Mi,Ki),fi==="out-in"&&hi.type!==dl)return ni.isLeaving=!0,Ki.afterLeave=()=>{ni.isLeaving=!1,ii.update.active!==!1&&(ii.effect.dirty=!0,ii.update())},qd(ai);fi==="in-out"&&hi.type!==dl&&(Ki.delayLeave=(on,hn,gn)=>{const es=Ep(ni,Mi);es[String(Mi.key)]=Mi,on[ql]=()=>{hn(),on[ql]=void 0,delete _i.delayedLeave},_i.delayedLeave=gn})}return ai}}},vm=null;function Ep(ei,ti){const{leavingVNodes:ii}=ei;let ni=ii.get(ti.type);return ni||(ni=Object.create(null),ii.set(ti.type,ni)),ni}function bm(ei,ti,ii,ni,si){const{appear:ai,mode:li,persisted:fi=!1,onBeforeEnter:hi,onEnter:_i,onAfterEnter:ji,onEnterCancelled:Mi,onBeforeLeave:Ki,onLeave:on,onAfterLeave:hn,onLeaveCancelled:gn,onBeforeAppear:es,onAppear:Wn,onAfterAppear:Gn,onAppearCancelled:Dn}=ti,Xi=String(ei.key),Bn=Ep(ii,ei),Kn=(ws,Cs)=>{ws&&_l(ws,ni,9,Cs)},us=(ws,Cs)=>{const zs=Cs[1];Kn(ws,Cs),mn(ws)?ws.every(Es=>Es.length<=1)&&zs():ws.length<=1&&zs()},$s={mode:li,persisted:fi,beforeEnter(ws){let Cs=hi;if(!ii.isMounted)if(ai)Cs=es||hi;else return;ws[ql]&&ws[ql](!0);const zs=Bn[Xi];zs&&mu(ei,zs)&&zs.el[ql]&&zs.el[ql](),Kn(Cs,[ws])},enter(ws){let Cs=_i,zs=ji,Es=Mi;if(!ii.isMounted)if(ai)Cs=Wn||_i,zs=Gn||ji,Es=Dn||Mi;else return;let Yr=!1;const Co=ws[Jf]=Ho=>{Yr||(Yr=!0,Ho?Kn(Es,[ws]):Kn(zs,[ws]),$s.delayedLeave&&$s.delayedLeave(),ws[Jf]=void 0)};Cs?us(Cs,[ws,Co]):Co()},leave(ws,Cs){const zs=String(ei.key);if(ws[Jf]&&ws[Jf](!0),ii.isUnmounting)return Cs();Kn(Ki,[ws]);let Es=!1;const Yr=ws[ql]=Co=>{Es||(Es=!0,Cs(),Co?Kn(gn,[ws]):Kn(hn,[ws]),ws[ql]=void 0,Bn[zs]===ei&&delete Bn[zs])};Bn[zs]=ei,on?us(on,[ws,Yr]):Yr()},clone(ws){const Cs=bm(ws,ti,ii,ni,si);return si&&si(Cs),Cs}};return $s}function qd(ei){if(Yu(ei))return ei=Lu(ei),ei.children=null,ei}function Zf(ei){if(!Yu(ei))return ei;const{shapeFlag:ti,children:ii}=ei;if(ii){if(ti&16)return ii[0];if(ti&32&&pn(ii.default))return ii.default()}}function Gu(ei,ti){ei.shapeFlag&6&&ei.component?Gu(ei.component.subTree,ti):ei.shapeFlag&128?(ei.ssContent.transition=ti.clone(ei.ssContent),ei.ssFallback.transition=ti.clone(ei.ssFallback)):ei.transition=ti}function Ca(ei,ti=!1,ii){let ni=[],si=0;for(let ai=0;ai<ei.length;ai++){let li=ei[ai];const fi=ii==null?li.key:String(ii)+String(li.key!=null?li.key:ai);li.type===xl?(li.patchFlag&128&&si++,ni=ni.concat(Ca(li.children,ti,fi))):(ti||li.type!==dl)&&ni.push(fi!=null?Lu(li,{key:fi}):li)}if(si>1)for(let ai=0;ai<ni.length;ai++)ni[ai].patchFlag=-2;return ni}function _m(ei,ti){return isFunction(ei)?extend({name:ei.name},ti,{setup:ei}):ei}const Qu=ei=>!!ei.type.__asyncLoader;function cu(ei){isFunction(ei)&&(ei={loader:ei});const{loader:ti,loadingComponent:ii,errorComponent:ni,delay:si=200,timeout:ai,suspensible:li=!0,onError:fi}=ei;let hi=null,_i,ji=0;const Mi=()=>(ji++,hi=null,Ki()),Ki=()=>{let on;return hi||(on=hi=ti().catch(hn=>{if(hn=hn instanceof Error?hn:new Error(String(hn)),fi)return new Promise((gn,es)=>{fi(hn,()=>gn(Mi()),()=>es(hn),ji+1)});throw hn}).then(hn=>on!==hi&&hi?hi:(hn&&(hn.__esModule||hn[Symbol.toStringTag]==="Module")&&(hn=hn.default),_i=hn,hn)))};return _m({name:"AsyncComponentWrapper",__asyncLoader:Ki,get __asyncResolved(){return _i},setup(){const on=hl;if(_i)return()=>yh(_i,on);const hn=Gn=>{hi=null,Su(Gn,on,13,!ni)};if(li&&on.suspense||qh)return Ki().then(Gn=>()=>yh(Gn,on)).catch(Gn=>(hn(Gn),()=>ni?za(ni,{error:Gn}):null));const gn=ref(!1),es=ref(),Wn=ref(!!si);return si&&setTimeout(()=>{Wn.value=!1},si),ai!=null&&setTimeout(()=>{if(!gn.value&&!es.value){const Gn=new Error(`Async component timed out after ${ai}ms.`);hn(Gn),es.value=Gn}},ai),Ki().then(()=>{gn.value=!0,on.parent&&Yu(on.parent.vnode)&&(on.parent.effect.dirty=!0,ko(on.parent.update))}).catch(Gn=>{hn(Gn),es.value=Gn}),()=>{if(gn.value&&_i)return yh(_i,on);if(es.value&&ni)return za(ni,{error:es.value});if(ii&&!Wn.value)return za(ii)}}})}function yh(ei,ti){const{ref:ii,props:ni,children:si,ce:ai}=ti.vnode,li=za(ei,ni,si);return li.ref=ii,li.ce=ai,delete ti.vnode.ce,li}const Yu=ei=>ei.type.__isKeepAlive,zy={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(ei,{slots:ti}){const ii=Ph(),ni=ii.ctx;if(!ni.renderer)return()=>{const Gn=ti.default&&ti.default();return Gn&&Gn.length===1?Gn[0]:Gn};const si=new Map,ai=new Set;let li=null;const fi=ii.suspense,{renderer:{p:hi,m:_i,um:ji,o:{createElement:Mi}}}=ni,Ki=Mi("div");ni.activate=(Gn,Dn,Xi,Bn,Kn)=>{const us=Gn.component;_i(Gn,Dn,Xi,0,fi),hi(us.vnode,Gn,Dn,Xi,us,fi,Bn,Gn.slotScopeIds,Kn),wl(()=>{us.isDeactivated=!1,us.a&&Xn(us.a);const $s=Gn.props&&Gn.props.onVnodeMounted;$s&&fc($s,us.parent,Gn)},fi)},ni.deactivate=Gn=>{const Dn=Gn.component;Tm(Dn.m),Tm(Dn.a),_i(Gn,Ki,null,1,fi),wl(()=>{Dn.da&&Xn(Dn.da);const Xi=Gn.props&&Gn.props.onVnodeUnmounted;Xi&&fc(Xi,Dn.parent,Gn),Dn.isDeactivated=!0},fi)};function on(Gn){jh(Gn),ji(Gn,ii,fi,!0)}function hn(Gn){si.forEach((Dn,Xi)=>{const Bn=Bh(Dn.type);Bn&&(!Gn||!Gn(Bn))&&gn(Xi)})}function gn(Gn){const Dn=si.get(Gn);!li||!mu(Dn,li)?on(Dn):li&&jh(li),si.delete(Gn),ai.delete(Gn)}Rm(()=>[ei.include,ei.exclude],([Gn,Dn])=>{Gn&&hn(Xi=>tl(Gn,Xi)),Dn&&hn(Xi=>!tl(Dn,Xi))},{flush:"post",deep:!0});let es=null;const Wn=()=>{es!=null&&(Ip(ii.subTree.type)?wl(()=>{si.set(es,Nd(ii.subTree))},ii.subTree.suspense):si.set(es,Nd(ii.subTree)))};return yf(Wn),Tu(Wn),td(()=>{si.forEach(Gn=>{const{subTree:Dn,suspense:Xi}=ii,Bn=Nd(Dn);if(Gn.type===Bn.type&&Gn.key===Bn.key){jh(Bn);const Kn=Bn.component.da;Kn&&wl(Kn,Xi);return}on(Gn)})}),()=>{if(es=null,!ti.default)return null;const Gn=ti.default(),Dn=Gn[0];if(Gn.length>1)return li=null,Gn;if(!ld(Dn)||!(Dn.shapeFlag&4)&&!(Dn.shapeFlag&128))return li=null,Dn;let Xi=Nd(Dn);const Bn=Xi.type,Kn=Bh(Qu(Xi)?Xi.type.__asyncResolved||{}:Bn),{include:us,exclude:$s,max:ws}=ei;if(us&&(!Kn||!tl(us,Kn))||$s&&Kn&&tl($s,Kn))return li=Xi,Dn;const Cs=Xi.key==null?Bn:Xi.key,zs=si.get(Cs);return Xi.el&&(Xi=Lu(Xi),Dn.shapeFlag&128&&(Dn.ssContent=Xi)),es=Cs,zs?(Xi.el=zs.el,Xi.component=zs.component,Xi.transition&&Gu(Xi,Xi.transition),Xi.shapeFlag|=512,ai.delete(Cs),ai.add(Cs)):(ai.add(Cs),ws&&ai.size>parseInt(ws,10)&&gn(ai.values().next().value)),Xi.shapeFlag|=256,li=Xi,Ip(Dn.type)?Dn:Xi}}},lv=null;function tl(ei,ti){return mn(ei)?ei.some(ii=>tl(ii,ti)):Pn(ei)?ei.split(",").includes(ti):dn(ei)?ei.test(ti):!1}function Au(ei,ti){xh(ei,"a",ti)}function wh(ei,ti){xh(ei,"da",ti)}function xh(ei,ti,ii=hl){const ni=ei.__wdc||(ei.__wdc=()=>{let si=ii;for(;si;){if(si.isDeactivated)return;si=si.parent}return ei()});if(ed(ti,ni,ii),ii){let si=ii.parent;for(;si&&si.parent;)Yu(si.parent.vnode)&&Nl(ni,ti,ii,si),si=si.parent}}function Nl(ei,ti,ii,ni){const si=ed(ti,ei,ni,!0);ym(()=>{hs(ni[ti],si)},ii)}function jh(ei){ei.shapeFlag&=-257,ei.shapeFlag&=-513}function Nd(ei){return ei.shapeFlag&128?ei.ssContent:ei}function ed(ei,ti,ii=hl,ni=!1){if(ii){const si=ii[ei]||(ii[ei]=[]),ai=ti.__weh||(ti.__weh=(...li)=>{Eo();const fi=cd(ii),hi=_l(ti,ii,ei,li);return fi(),Wa(),hi});return ni?si.unshift(ai):si.push(ai),ai}}const ga=ei=>(ti,ii=hl)=>{(!qh||ei==="sp")&&ed(ei,(...ni)=>ti(...ni),ii)},_f=ga("bm"),yf=ga("m"),Sh=ga("bu"),Tu=ga("u"),td=ga("bum"),ym=ga("um"),cv=ga("sp"),wm=ga("rtg"),id=ga("rtc");function xm(ei,ti=hl){ed("ec",ei,ti)}const Ch="components",Eh="directives";function kh(ei,ti){return Hd(Ch,ei,!0,ti)||ei}const Bd=Symbol.for("v-ndc");function Ky(ei){return isString(ei)?Hd(Ch,ei,!1)||ei:ei||Bd}function Xy(ei){return Hd(Eh,ei)}function Hd(ei,ti,ii=!0,ni=!1){const si=Xa||hl;if(si){const ai=si.type;if(ei===Ch){const fi=Bh(ai,!1);if(fi&&(fi===ti||fi===camelize(ti)||fi===capitalize(camelize(ti))))return ai}const li=jm(si[ei]||ai[ei],ti)||jm(si.appContext[ei],ti);return!li&&ni?ai:li}}function jm(ei,ti){return ei&&(ei[ti]||ei[camelize(ti)]||ei[capitalize(camelize(ti))])}function kp(ei,ti,ii,ni){let si;const ai=ii&&ii[ni];if(mn(ei)||Pn(ei)){si=new Array(ei.length);for(let li=0,fi=ei.length;li<fi;li++)si[li]=ti(ei[li],li,void 0,ai&&ai[li])}else if(typeof ei=="number"){si=new Array(ei);for(let li=0;li<ei;li++)si[li]=ti(li+1,li,void 0,ai&&ai[li])}else if(Ai(ei))if(ei[Symbol.iterator])si=Array.from(ei,(li,fi)=>ti(li,fi,void 0,ai&&ai[fi]));else{const li=Object.keys(ei);si=new Array(li.length);for(let fi=0,hi=li.length;fi<hi;fi++){const _i=li[fi];si[fi]=ti(ei[_i],_i,fi,ai&&ai[fi])}}else si=[];return ii&&(ii[ni]=si),si}function Ap(ei,ti){for(let ii=0;ii<ti.length;ii++){const ni=ti[ii];if(isArray(ni))for(let si=0;si<ni.length;si++)ei[ni[si].name]=ni[si].fn;else ni&&(ei[ni.name]=ni.key?(...si)=>{const ai=ni.fn(...si);return ai&&(ai.key=ni.key),ai}:ni.fn)}return ei}function nd(ei,ti,ii={},ni,si){if(Xa.isCE||Xa.parent&&Qu(Xa.parent)&&Xa.parent.isCE)return ti!=="default"&&(ii.name=ti),za("slot",ii,ni&&ni());let ai=ei[ti];ai&&ai._c&&(ai._d=!1),uc();const li=ai&&Sm(ai(ii)),fi=Rv(xl,{key:(ii.key||li&&li.key||`_${ti}`)+(!li&&ni?"_fb":"")},li||(ni?ni():[]),li&&ei._===1?64:-2);return!si&&fi.scopeId&&(fi.slotScopeIds=[fi.scopeId+"-s"]),ai&&ai._c&&(ai._d=!0),fi}function Sm(ei){return ei.some(ti=>ld(ti)?!(ti.type===dl||ti.type===xl&&!Sm(ti.children)):!0)?ei:null}function uv(ei,ti){const ii={};for(const ni in ei)ii[ti&&/[A-Z]/.test(ni)?`on:${ni}`:toHandlerKey(ni)]=ei[ni];return ii}const Ju=ei=>ei?Iv(ei)?Nh(ei):Ju(ei.parent):null,uu=rs(Object.create(null),{$:ei=>ei,$el:ei=>ei.vnode.el,$data:ei=>ei.data,$props:ei=>ei.props,$attrs:ei=>ei.attrs,$slots:ei=>ei.slots,$refs:ei=>ei.refs,$parent:ei=>Ju(ei.parent),$root:ei=>Ju(ei.root),$emit:ei=>ei.emit,$options:ei=>is(ei),$forceUpdate:ei=>ei.f||(ei.f=()=>{ei.effect.dirty=!0,ko(ei.update)}),$nextTick:ei=>ei.n||(ei.n=Wo.bind(ei.proxy)),$watch:ei=>hw.bind(ei)}),Cm=ei=>ei==="_"||ei==="$",Ah=(ei,ti)=>ei!==un&&!ei.__isScriptSetup&&yn(ei,ti),Em={get({_:ei},ti){if(ti==="__v_skip")return!0;const{ctx:ii,setupState:ni,data:si,props:ai,accessCache:li,type:fi,appContext:hi}=ei;let _i;if(ti[0]!=="$"){const on=li[ti];if(on!==void 0)switch(on){case 1:return ni[ti];case 2:return si[ti];case 4:return ii[ti];case 3:return ai[ti]}else{if(Ah(ni,ti))return li[ti]=1,ni[ti];if(si!==un&&yn(si,ti))return li[ti]=2,si[ti];if((_i=ei.propsOptions[0])&&yn(_i,ti))return li[ti]=3,ai[ti];if(ii!==un&&yn(ii,ti))return li[ti]=4,ii[ti];An&&(li[ti]=0)}}const ji=uu[ti];let Mi,Ki;if(ji)return ti==="$attrs"&&Na(ei.attrs,"get",""),ji(ei);if((Mi=fi.__cssModules)&&(Mi=Mi[ti]))return Mi;if(ii!==un&&yn(ii,ti))return li[ti]=4,ii[ti];if(Ki=hi.config.globalProperties,yn(Ki,ti))return Ki[ti]},set({_:ei},ti,ii){const{data:ni,setupState:si,ctx:ai}=ei;return Ah(si,ti)?(si[ti]=ii,!0):ni!==un&&yn(ni,ti)?(ni[ti]=ii,!0):yn(ei.props,ti)||ti[0]==="$"&&ti.slice(1)in ei?!1:(ai[ti]=ii,!0)},has({_:{data:ei,setupState:ti,accessCache:ii,ctx:ni,appContext:si,propsOptions:ai}},li){let fi;return!!ii[li]||ei!==un&&yn(ei,li)||Ah(ti,li)||(fi=ai[0])&&yn(fi,li)||yn(ni,li)||yn(uu,li)||yn(si.config.globalProperties,li)},defineProperty(ei,ti,ii){return ii.get!=null?ei._.accessCache[ti]=0:yn(ii,"value")&&this.set(ei,ti,ii.value,null),Reflect.defineProperty(ei,ti,ii)}},Tp=rs({},Em,{get(ei,ti){if(ti!==Symbol.unscopables)return Em.get(ei,ti,ei)},has(ei,ti){return ti[0]!=="_"&&!Un(ti)}});function Gy(ei){const ti={};return Object.defineProperty(ti,"_",{configurable:!0,enumerable:!1,get:()=>ei}),Object.keys(uu).forEach(ii=>{Object.defineProperty(ti,ii,{configurable:!0,enumerable:!1,get:()=>uu[ii](ei),set:NOOP})}),ti}function fv(ei){const{ctx:ti,propsOptions:[ii]}=ei;ii&&Object.keys(ii).forEach(ni=>{Object.defineProperty(ti,ni,{enumerable:!0,configurable:!0,get:()=>ei.props[ni],set:NOOP})})}function Lp(ei){const{ctx:ti,setupState:ii}=ei;Object.keys(toRaw(ii)).forEach(ni=>{if(!ii.__isScriptSetup){if(Cm(ni[0])){ll(`setup() return property ${JSON.stringify(ni)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(ti,ni,{enumerable:!0,configurable:!0,get:()=>ii[ni],set:NOOP})}})}const Rp=ei=>ll(`${ei}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function Qy(){return null}function Yy(){return null}function Jy(ei){}function Zy(ei){}function ew(){return null}function tw(){}function iw(ei,ti){return null}function nw(){return ui().slots}function sw(){return ui().attrs}function ui(){const ei=Ph();return ei.setupContext||(ei.setupContext=Nv(ei))}function mi(ei){return mn(ei)?ei.reduce((ti,ii)=>(ti[ii]=null,ti),{}):ei}function Ei(ei,ti){const ii=mi(ei);for(const ni in ti){if(ni.startsWith("__skip"))continue;let si=ii[ni];si?isArray(si)||isFunction(si)?si=ii[ni]={type:si,default:ti[ni]}:si.default=ti[ni]:si===null&&(si=ii[ni]={default:ti[ni]}),si&&ti[`__skip_${ni}`]&&(si.skipFactory=!0)}return ii}function Di(ei,ti){return!ei||!ti?ei||ti:isArray(ei)&&isArray(ti)?ei.concat(ti):extend({},mi(ei),mi(ti))}function Ni(ei,ti){const ii={};for(const ni in ei)ti.includes(ni)||Object.defineProperty(ii,ni,{enumerable:!0,get:()=>ei[ni]});return ii}function Vi(ei){const ti=Ph();let ii=ei();return Hp(),isPromise(ii)&&(ii=ii.catch(ni=>{throw cd(ti),ni})),[ii,()=>cd(ti)]}function cn(){const ei=Object.create(null);return(ti,ii)=>{ei[ii]?ll(`${ti} property "${ii}" is already defined in ${ei[ii]}.`):ei[ii]=ti}}let An=!0;function qn(ei){const ti=is(ei),ii=ei.proxy,ni=ei.ctx;An=!1,ti.beforeCreate&&ds(ti.beforeCreate,ei,"bc");const{data:si,computed:ai,methods:li,watch:fi,provide:hi,inject:_i,created:ji,beforeMount:Mi,mounted:Ki,beforeUpdate:on,updated:hn,activated:gn,deactivated:es,beforeDestroy:Wn,beforeUnmount:Gn,destroyed:Dn,unmounted:Xi,render:Bn,renderTracked:Kn,renderTriggered:us,errorCaptured:$s,serverPrefetch:ws,expose:Cs,inheritAttrs:zs,components:Es,directives:Yr,filters:Co}=ti;if(_i&&Qn(_i,ni,null),li)for(const xo in li){const to=li[xo];pn(to)&&(ni[xo]=to.bind(ii))}if(si){const xo=si.call(ii,ii);Ai(xo)&&(ei.data=Ii(xo))}if(An=!0,ai)for(const xo in ai){const to=ai[xo],ao=pn(to)?to.bind(ii,ii):pn(to.get)?to.get.bind(ii,ii):ks,Oa=!pn(to)&&pn(to.set)?to.set.bind(ii):ks,Sl=Dw({get:ao,set:Oa});Object.defineProperty(ni,xo,{enumerable:!0,configurable:!0,get:()=>Sl.value,set:Ga=>Sl.value=Ga})}if(fi)for(const xo in fi)Cn(fi[xo],ni,ii,xo);if(hi){const xo=pn(hi)?hi.call(ii):hi;Reflect.ownKeys(xo).forEach(to=>{eo(to,xo[to])})}ji&&ds(ji,ei,"c");function Qr(xo,to){mn(to)?to.forEach(ao=>xo(ao.bind(ii))):to&&xo(to.bind(ii))}if(Qr(_f,Mi),Qr(yf,Ki),Qr(Sh,on),Qr(Tu,hn),Qr(Au,gn),Qr(wh,es),Qr(xm,$s),Qr(id,Kn),Qr(wm,us),Qr(td,Gn),Qr(ym,Xi),Qr(cv,ws),mn(Cs))if(Cs.length){const xo=ei.exposed||(ei.exposed={});Cs.forEach(to=>{Object.defineProperty(xo,to,{get:()=>ii[to],set:ao=>ii[to]=ao})})}else ei.exposed||(ei.exposed={});Bn&&ei.render===ks&&(ei.render=Bn),zs!=null&&(ei.inheritAttrs=zs),Es&&(ei.components=Es),Yr&&(ei.directives=Yr)}function Qn(ei,ti,ii=ks){mn(ei)&&(ei=Vo(ei));for(const ni in ei){const si=ei[ni];let ai;Ai(si)?"default"in si?ai=To(si.from||ni,si.default,!0):ai=To(si.from||ni):ai=To(si),Ia(ai)?Object.defineProperty(ti,ni,{enumerable:!0,configurable:!0,get:()=>ai.value,set:li=>ai.value=li}):ti[ni]=ai}}function ds(ei,ti,ii){_l(mn(ei)?ei.map(ni=>ni.bind(ti.proxy)):ei.bind(ti.proxy),ti,ii)}function Cn(ei,ti,ii,ni){const si=ni.includes(".")?yv(ii,ni):()=>ii[ni];if(Pn(ei)){const ai=ti[ei];pn(ai)&&Rm(si,ai)}else if(pn(ei))Rm(si,ei.bind(ii));else if(Ai(ei))if(mn(ei))ei.forEach(ai=>Cn(ai,ti,ii,ni));else{const ai=pn(ei.handler)?ei.handler.bind(ii):ti[ei.handler];pn(ai)&&Rm(si,ai,ei)}}function is(ei){const ti=ei.type,{mixins:ii,extends:ni}=ti,{mixins:si,optionsCache:ai,config:{optionMergeStrategies:li}}=ei.appContext,fi=ai.get(ti);let hi;return fi?hi=fi:!si.length&&!ii&&!ni?hi=ti:(hi={},si.length&&si.forEach(_i=>Ss(hi,_i,li,!0)),Ss(hi,ti,li)),Ai(ti)&&ai.set(ti,hi),hi}function Ss(ei,ti,ii,ni=!1){const{mixins:si,extends:ai}=ti;ai&&Ss(ei,ai,ii,!0),si&&si.forEach(li=>Ss(ei,li,ii,!0));for(const li in ti)if(!(ni&&li==="expose")){const fi=qs[li]||ii&&ii[li];ei[li]=fi?fi(ei[li],ti[li]):ti[li]}return ei}const qs={data:oo,props:bs,emits:bs,methods:os,computed:os,beforeCreate:Os,created:Os,beforeMount:Os,mounted:Os,beforeUpdate:Os,updated:Os,beforeDestroy:Os,beforeUnmount:Os,destroyed:Os,unmounted:Os,activated:Os,deactivated:Os,errorCaptured:Os,serverPrefetch:Os,components:os,directives:os,watch:js,provide:oo,inject:Qo};function oo(ei,ti){return ti?ei?function(){return rs(pn(ei)?ei.call(this,this):ei,pn(ti)?ti.call(this,this):ti)}:ti:ei}function Qo(ei,ti){return os(Vo(ei),Vo(ti))}function Vo(ei){if(mn(ei)){const ti={};for(let ii=0;ii<ei.length;ii++)ti[ei[ii]]=ei[ii];return ti}return ei}function Os(ei,ti){return ei?[...new Set([].concat(ei,ti))]:ti}function os(ei,ti){return ei?rs(Object.create(null),ei,ti):ti}function bs(ei,ti){return ei?mn(ei)&&mn(ti)?[...new Set([...ei,...ti])]:rs(Object.create(null),mi(ei),mi(ti??{})):ti}function js(ei,ti){if(!ei)return ti;if(!ti)return ei;const ii=rs(Object.create(null),ei);for(const ni in ti)ii[ni]=Os(ei[ni],ti[ni]);return ii}function Ks(){return{app:null,config:{isNativeTag:En,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 Ns=0;function Gs(ei,ti){return function(ni,si=null){isFunction(ni)||(ni=extend({},ni)),si!=null&&!isObject(si)&&(si=null);const ai=Ks(),li=new WeakSet;let fi=!1;const hi=ai.app={_uid:Ns++,_component:ni,_props:si,_container:null,_context:ai,_instance:null,version:Iw,get config(){return ai.config},set config(_i){},use(_i,...ji){return li.has(_i)||(_i&&isFunction(_i.install)?(li.add(_i),_i.install(hi,...ji)):isFunction(_i)&&(li.add(_i),_i(hi,...ji))),hi},mixin(_i){return ai.mixins.includes(_i)||ai.mixins.push(_i),hi},component(_i,ji){return ji?(ai.components[_i]=ji,hi):ai.components[_i]},directive(_i,ji){return ji?(ai.directives[_i]=ji,hi):ai.directives[_i]},mount(_i,ji,Mi){if(!fi){const Ki=za(ni,si);return Ki.appContext=ai,Mi===!0?Mi="svg":Mi===!1&&(Mi=void 0),ji&&ti?ti(Ki,_i):ei(Ki,_i,Mi),fi=!0,hi._container=_i,_i.__vue_app__=hi,Nh(Ki.component)}},unmount(){fi&&(ei(null,hi._container),delete hi._container.__vue_app__)},provide(_i,ji){return ai.provides[_i]=ji,hi},runWithContext(_i){const ji=Gr;Gr=hi;try{return _i()}finally{Gr=ji}}};return hi}}let Gr=null;function eo(ei,ti){if(hl){let ii=hl.provides;const ni=hl.parent&&hl.parent.provides;ni===ii&&(ii=hl.provides=Object.create(ni)),ii[ei]=ti}}function To(ei,ti,ii=!1){const ni=hl||Xa;if(ni||Gr){const si=ni?ni.parent==null?ni.vnode.appContext&&ni.vnode.appContext.provides:ni.parent.provides:Gr._context.provides;if(si&&ei in si)return si[ei];if(arguments.length>1)return ii&&pn(ti)?ti.call(ni&&ni.proxy):ti}}function fa(){return!!(hl||Xa||Gr)}const aa={},Pa=()=>Object.create(aa),Va=ei=>Object.getPrototypeOf(ei)===aa;function wo(ei,ti,ii,ni=!1){const si={},ai=Pa();ei.propsDefaults=Object.create(null),jc(ei,ti,si,ai);for(const li in ei.propsOptions[0])li in si||(si[li]=void 0);ii?ei.props=ni?si:Pi(si):ei.type.props?ei.props=si:ei.props=ai,ei.attrs=ai}function Yo(ei){for(;ei;){if(ei.type.__hmrId)return!0;ei=ei.parent}}function jo(ei,ti,ii,ni){const{props:si,attrs:ai,vnode:{patchFlag:li}}=ei,fi=toRaw(si),[hi]=ei.propsOptions;let _i=!1;if((ni||li>0)&&!(li&16)){if(li&8){const ji=ei.vnode.dynamicProps;for(let Mi=0;Mi<ji.length;Mi++){let Ki=ji[Mi];if(Mm(ei.emitsOptions,Ki))continue;const on=ti[Ki];if(hi)if(hasOwn(ai,Ki))on!==ai[Ki]&&(ai[Ki]=on,_i=!0);else{const hn=camelize(Ki);si[hn]=Zu(hi,fi,hn,on,ei,!1)}else on!==ai[Ki]&&(ai[Ki]=on,_i=!0)}}}else{jc(ei,ti,si,ai)&&(_i=!0);let ji;for(const Mi in fi)(!ti||!hasOwn(ti,Mi)&&((ji=hyphenate(Mi))===Mi||!hasOwn(ti,ji)))&&(hi?ii&&(ii[Mi]!==void 0||ii[ji]!==void 0)&&(si[Mi]=Zu(hi,fi,Mi,void 0,ei,!0)):delete si[Mi]);if(ai!==fi)for(const Mi in ai)(!ti||!hasOwn(ti,Mi))&&(delete ai[Mi],_i=!0)}_i&&trigger(ei.attrs,"set","")}function jc(ei,ti,ii,ni){const[si,ai]=ei.propsOptions;let li=!1,fi;if(ti)for(let hi in ti){if(Fi(hi))continue;const _i=ti[hi];let ji;si&&yn(si,ji=Yi(hi))?!ai||!ai.includes(ji)?ii[ji]=_i:(fi||(fi={}))[ji]=_i:Mm(ei.emitsOptions,hi)||(!(hi in ni)||_i!==ni[hi])&&(ni[hi]=_i,li=!0)}if(ai){const hi=gs(ii),_i=fi||un;for(let ji=0;ji<ai.length;ji++){const Mi=ai[ji];ii[Mi]=Zu(si,hi,Mi,_i[Mi],ei,!yn(_i,Mi))}}return li}function Zu(ei,ti,ii,ni,si,ai){const li=ei[ii];if(li!=null){const fi=yn(li,"default");if(fi&&ni===void 0){const hi=li.default;if(li.type!==Function&&!li.skipFactory&&pn(hi)){const{propsDefaults:_i}=si;if(ii in _i)ni=_i[ii];else{const ji=cd(si);ni=_i[ii]=hi.call(null,ti),ji()}}else ni=hi}li[0]&&(ai&&!fi?ni=!1:li[1]&&(ni===""||ni===Bi(ii))&&(ni=!0))}return ni}const sd=new WeakMap;function ef(ei,ti,ii=!1){const ni=ii?sd:ti.propsCache,si=ni.get(ei);if(si)return si;const ai=ei.props,li={},fi=[];let hi=!1;if(!pn(ei)){const ji=Mi=>{hi=!0;const[Ki,on]=ef(Mi,ti,!0);rs(li,Ki),on&&fi.push(...on)};!ii&&ti.mixins.length&&ti.mixins.forEach(ji),ei.extends&&ji(ei.extends),ei.mixins&&ei.mixins.forEach(ji)}if(!ai&&!hi)return Ai(ei)&&ni.set(ei,ls),ls;if(mn(ai))for(let ji=0;ji<ai.length;ji++){const Mi=Yi(ai[ji]);fu(Mi)&&(li[Mi]=un)}else if(ai)for(const ji in ai){const Mi=Yi(ji);if(fu(Mi)){const Ki=ai[ji],on=li[Mi]=mn(Ki)||pn(Ki)?{type:Ki}:rs({},Ki),hn=on.type;let gn=!1,es=!0;if(mn(hn))for(let Wn=0;Wn<hn.length;++Wn){const Gn=hn[Wn],Dn=pn(Gn)&&Gn.name;if(Dn==="Boolean"){gn=!0;break}else Dn==="String"&&(es=!1)}else gn=pn(hn)&&hn.name==="Boolean";on[0]=gn,on[1]=es,(gn||yn(on,"default"))&&fi.push(Mi)}}const _i=[li,fi];return Ai(ei)&&ni.set(ei,_i),_i}function fu(ei){return ei[0]!=="$"&&!Fi(ei)}function km(ei){return ei===null?"null":typeof ei=="function"?ei.name||"":typeof ei=="object"&&ei.constructor&&ei.constructor.name||""}function dv(ei,ti,ii){const ni=toRaw(ti),si=ii.propsOptions[0];for(const ai in si){let li=si[ai];li!=null&&Mp(ai,ni[ai],li,ni,!hasOwn(ei,ai)&&!hasOwn(ei,hyphenate(ai)))}}function Mp(ei,ti,ii,ni,si){const{type:ai,required:li,validator:fi,skipCheck:hi}=ii;if(li&&si){ll('Missing required prop: "'+ei+'"');return}if(!(ti==null&&!li)){if(ai!=null&&ai!==!0&&!hi){let _i=!1;const ji=isArray(ai)?ai:[ai],Mi=[];for(let Ki=0;Ki<ji.length&&!_i;Ki++){const{valid:on,expectedType:hn}=$d(ti,ji[Ki]);Mi.push(hn||""),_i=on}if(!_i){ll(Th(ei,ti,Mi));return}}fi&&!fi(ti,ni)&&ll('Invalid prop: custom validator check failed for prop "'+ei+'".')}}const du=null;function $d(ei,ti){let ii;const ni=km(ti);if(du(ni)){const si=typeof ei;ii=si===ni.toLowerCase(),!ii&&si==="object"&&(ii=ei instanceof ti)}else ni==="Object"?ii=isObject(ei):ni==="Array"?ii=isArray(ei):ni==="null"?ii=ei===null:ii=ei instanceof ti;return{valid:ii,expectedType:ni}}function Th(ei,ti,ii){if(ii.length===0)return`Prop type [] for prop "${ei}" won't match anything. Did you mean to use type Array instead?`;let ni=`Invalid prop: type check failed for prop "${ei}". Expected ${ii.map(capitalize).join(" | ")}`;const si=ii[0],ai=toRawType(ti),li=Lh(ti,si),fi=Lh(ti,ai);return ii.length===1&&tf(si)&&!Rh(si,ai)&&(ni+=` with value ${li}`),ni+=`, got ${ai} `,tf(ai)&&(ni+=`with value ${fi}.`),ni}function Lh(ei,ti){return ti==="String"?`"${ei}"`:ti==="Number"?`${Number(ei)}`:`${ei}`}function tf(ei){return["string","number","boolean"].some(ii=>ei.toLowerCase()===ii)}function Rh(...ei){return ei.some(ti=>ti.toLowerCase()==="boolean")}const Vd=ei=>ei[0]==="_"||ei==="$stable",xn=ei=>mn(ei)?ei.map(Yl):[Yl(ei)],$n=(ei,ti,ii)=>{if(ti._n)return ti;const ni=bf((...si)=>xn(ti(...si)),ii);return ni._c=!1,ni},_s=(ei,ti,ii)=>{const ni=ei._ctx;for(const si in ei){if(Vd(si))continue;const ai=ei[si];if(pn(ai))ti[si]=$n(si,ai,ni);else if(ai!=null){const li=xn(ai);ti[si]=()=>li}}},Rs=(ei,ti)=>{const ii=xn(ti);ei.slots.default=()=>ii},Ms=(ei,ti,ii)=>{for(const ni in ti)(ii||ni!=="_")&&(ei[ni]=ti[ni])},Qs=(ei,ti,ii)=>{const ni=ei.slots=Pa();if(ei.vnode.shapeFlag&32){const si=ti._;si?(Ms(ni,ti,ii),ii&&cs(ni,"_",si,!0)):_s(ti,ni)}else ti&&Rs(ei,ti)},io=(ei,ti,ii)=>{const{vnode:ni,slots:si}=ei;let ai=!0,li=EMPTY_OBJ;if(ni.shapeFlag&32){const fi=ti._;fi?ii&&fi===1?ai=!1:Ms(si,ti,ii):(ai=!ti.$stable,_s(ti,si)),li=ti}else ti&&(Rs(ei,ti),li={default:1});if(ai)for(const fi in si)!Vd(fi)&&li[fi]==null&&delete si[fi]};function Ws(ei,ti,ii,ni,si=!1){if(isArray(ei)){ei.forEach((Ki,on)=>Ws(Ki,ti&&(isArray(ti)?ti[on]:ti),ii,ni,si));return}if(Qu(ni)&&!si)return;const ai=ni.shapeFlag&4?Nh(ni.component):ni.el,li=si?null:ai,{i:fi,r:hi}=ei,_i=ti&&ti.r,ji=fi.refs===EMPTY_OBJ?fi.refs={}:fi.refs,Mi=fi.setupState;if(_i!=null&&_i!==hi&&(isString(_i)?(ji[_i]=null,hasOwn(Mi,_i)&&(Mi[_i]=null)):isRef(_i)&&(_i.value=null)),isFunction(hi))Pl(hi,fi,12,[li,ji]);else{const Ki=isString(hi),on=isRef(hi);if(Ki||on){const hn=()=>{if(ei.f){const gn=Ki?hasOwn(Mi,hi)?Mi[hi]:ji[hi]:hi.value;si?isArray(gn)&&remove(gn,ai):isArray(gn)?gn.includes(ai)||gn.push(ai):Ki?(ji[hi]=[ai],hasOwn(Mi,hi)&&(Mi[hi]=ji[hi])):(hi.value=[ai],ei.k&&(ji[ei.k]=hi.value))}else Ki?(ji[hi]=li,hasOwn(Mi,hi)&&(Mi[hi]=li)):on&&(hi.value=li,ei.k&&(ji[ei.k]=li))};li?(hn.id=-1,wl(hn,ii)):hn()}}}const Kr=Symbol("_vte"),Is=ei=>ei.__isTeleport,no=ei=>ei&&(ei.disabled||ei.disabled===""),So=ei=>typeof SVGElement<"u"&&ei instanceof SVGElement,yo=ei=>typeof MathMLElement=="function"&&ei instanceof MathMLElement,Mo=(ei,ti)=>{const ii=ei&&ei.to;return Pn(ii)?ti?ti(ii):null:ii},ta={name:"Teleport",__isTeleport:!0,process(ei,ti,ii,ni,si,ai,li,fi,hi,_i){const{mc:ji,pc:Mi,pbc:Ki,o:{insert:on,querySelector:hn,createText:gn,createComment:es}}=_i,Wn=no(ti.props);let{shapeFlag:Gn,children:Dn,dynamicChildren:Xi}=ti;if(ei==null){const Bn=ti.el=gn(""),Kn=ti.anchor=gn("");on(Bn,ii,ni),on(Kn,ii,ni);const us=ti.target=Mo(ti.props,hn),$s=nf(us,ti,gn,on);us&&(li==="svg"||So(us)?li="svg":(li==="mathml"||yo(us))&&(li="mathml"));const ws=(Cs,zs)=>{Gn&16&&ji(Dn,Cs,zs,si,ai,li,fi,hi)};Wn?ws(ii,Kn):us&&ws(us,$s)}else{ti.el=ei.el,ti.targetStart=ei.targetStart;const Bn=ti.anchor=ei.anchor,Kn=ti.target=ei.target,us=ti.targetAnchor=ei.targetAnchor,$s=no(ei.props),ws=$s?ii:Kn,Cs=$s?Bn:us;if(li==="svg"||So(Kn)?li="svg":(li==="mathml"||yo(Kn))&&(li="mathml"),Xi?(Ki(ei.dynamicChildren,Xi,ws,si,ai,li,fi),Dp(ei,ti,!0)):hi||Mi(ei,ti,ws,Cs,si,ai,li,fi,!1),Wn)$s?ti.props&&ei.props&&ti.props.to!==ei.props.to&&(ti.props.to=ei.props.to):la(ti,ii,Bn,_i,1);else if((ti.props&&ti.props.to)!==(ei.props&&ei.props.to)){const zs=ti.target=Mo(ti.props,hn);zs&&la(ti,zs,null,_i,0)}else $s&&la(ti,Kn,us,_i,1)}cc(ti)},remove(ei,ti,ii,{um:ni,o:{remove:si}},ai){const{shapeFlag:li,children:fi,anchor:hi,targetStart:_i,targetAnchor:ji,target:Mi,props:Ki}=ei;if(Mi&&(si(_i),si(ji)),ai&&si(hi),li&16){const on=ai||!no(Ki);for(let hn=0;hn<fi.length;hn++){const gn=fi[hn];ni(gn,ti,ii,on,!!gn.dynamicChildren)}}},move:la,hydrate:Ea};function la(ei,ti,ii,{o:{insert:ni},m:si},ai=2){ai===0&&ni(ei.targetAnchor,ti,ii);const{el:li,anchor:fi,shapeFlag:hi,children:_i,props:ji}=ei,Mi=ai===2;if(Mi&&ni(li,ti,ii),(!Mi||no(ji))&&hi&16)for(let Ki=0;Ki<_i.length;Ki++)si(_i[Ki],ti,ii,2);Mi&&ni(fi,ti,ii)}function Ea(ei,ti,ii,ni,si,ai,{o:{nextSibling:li,parentNode:fi,querySelector:hi,insert:_i,createText:ji}},Mi){const Ki=ti.target=Mo(ti.props,hi);if(Ki){const on=Ki._lpa||Ki.firstChild;if(ti.shapeFlag&16)if(no(ti.props))ti.anchor=Mi(li(ei),ti,fi(ei),ii,ni,si,ai),ti.targetStart=on,ti.targetAnchor=on&&li(on);else{ti.anchor=li(ei);let hn=on;for(;hn;){if(hn&&hn.nodeType===8){if(hn.data==="teleport start anchor")ti.targetStart=hn;else if(hn.data==="teleport anchor"){ti.targetAnchor=hn,Ki._lpa=ti.targetAnchor&&li(ti.targetAnchor);break}}hn=li(hn)}ti.targetAnchor||nf(Ki,ti,ji,_i),Mi(on&&li(on),ti,Ki,ii,ni,si,ai)}cc(ti)}return ti.anchor&&li(ti.anchor)}const fl=null;function cc(ei){const ti=ei.ctx;if(ti&&ti.ut){let ii=ei.children[0].el;for(;ii&&ii!==ei.targetAnchor;)ii.nodeType===1&&ii.setAttribute("data-v-owner",ti.uid),ii=ii.nextSibling;ti.ut()}}function nf(ei,ti,ii,ni){const si=ti.targetStart=ii(""),ai=ti.targetAnchor=ii("");return si[Kr]=ai,ei&&(ni(si,ei),ni(ai,ei)),ai}let Mh=!1;const Uc=()=>{Mh||(console.error("Hydration completed but contains mismatches."),Mh=!0)},Am=ei=>ei.namespaceURI.includes("svg")&&ei.tagName!=="foreignObject",Gl=ei=>ei.namespaceURI.includes("MathML"),Ql=ei=>{if(Am(ei))return"svg";if(Gl(ei))return"mathml"},rd=ei=>ei.nodeType===8;function rw(ei){const{mt:ti,p:ii,o:{patchProp:ni,createText:si,nextSibling:ai,parentNode:li,remove:fi,insert:hi,createComment:_i}}=ei,ji=(Dn,Xi)=>{if(!Xi.hasChildNodes()){ii(null,Dn,Xi),Sa(),Xi._vnode=Dn;return}Mi(Xi.firstChild,Dn,null,null,null),Sa(),Xi._vnode=Dn},Mi=(Dn,Xi,Bn,Kn,us,$s=!1)=>{$s=$s||!!Xi.dynamicChildren;const ws=rd(Dn)&&Dn.data==="[",Cs=()=>gn(Dn,Xi,Bn,Kn,us,ws),{type:zs,ref:Es,shapeFlag:Yr,patchFlag:Co}=Xi;let Ho=Dn.nodeType;Xi.el=Dn,Co===-2&&($s=!1,Xi.dynamicChildren=null);let Qr=null;switch(zs){case xf:Ho!==3?Xi.children===""?(hi(Xi.el=si(""),li(Dn),Dn),Qr=Dn):Qr=Cs():(Dn.data!==Xi.children&&(Uc(),Dn.data=Xi.children),Qr=ai(Dn));break;case dl:Gn(Dn)?(Qr=ai(Dn),Wn(Xi.el=Dn.content.firstChild,Dn,Bn)):Ho!==8||ws?Qr=Cs():Qr=ai(Dn);break;case zd:if(ws&&(Dn=ai(Dn),Ho=Dn.nodeType),Ho===1||Ho===3){Qr=Dn;const xo=!Xi.children.length;for(let to=0;to<Xi.staticCount;to++)xo&&(Xi.children+=Qr.nodeType===1?Qr.outerHTML:Qr.data),to===Xi.staticCount-1&&(Xi.anchor=Qr),Qr=ai(Qr);return ws?ai(Qr):Qr}else Cs();break;case xl:ws?Qr=hn(Dn,Xi,Bn,Kn,us,$s):Qr=Cs();break;default:if(Yr&1)(Ho!==1||Xi.type.toLowerCase()!==Dn.tagName.toLowerCase())&&!Gn(Dn)?Qr=Cs():Qr=Ki(Dn,Xi,Bn,Kn,us,$s);else if(Yr&6){Xi.slotScopeIds=us;const xo=li(Dn);if(ws?Qr=es(Dn):rd(Dn)&&Dn.data==="teleport start"?Qr=es(Dn,Dn.data,"teleport end"):Qr=ai(Dn),ti(Xi,xo,null,Bn,Kn,Ql(xo),$s),Qu(Xi)){let to;ws?(to=za(xl),to.anchor=Qr?Qr.previousSibling:xo.lastChild):to=Dn.nodeType===3?Dv(""):za("div"),to.el=Dn,Xi.component.subTree=to}}else Yr&64?Ho!==8?Qr=Cs():Qr=Xi.type.hydrate(Dn,Xi,Bn,Kn,us,$s,ei,on):Yr&128&&(Qr=Xi.type.hydrate(Dn,Xi,Bn,Kn,Ql(li(Dn)),us,$s,ei,Mi))}return Es!=null&&Ws(Es,null,Kn,Xi),Qr},Ki=(Dn,Xi,Bn,Kn,us,$s)=>{$s=$s||!!Xi.dynamicChildren;const{type:ws,props:Cs,patchFlag:zs,shapeFlag:Es,dirs:Yr,transition:Co}=Xi,Ho=ws==="input"||ws==="option";if(Ho||zs!==-1){Yr&&xc(Xi,null,Bn,"created");let Qr=!1;if(Gn(Dn)){Qr=bv(Kn,Co)&&Bn&&Bn.vnode.props&&Bn.vnode.props.appear;const to=Dn.content.firstChild;Qr&&Co.beforeEnter(to),Wn(to,Dn,Bn),Xi.el=Dn=to}if(Es&16&&!(Cs&&(Cs.innerHTML||Cs.textContent))){let to=on(Dn.firstChild,Xi,Dn,Bn,Kn,us,$s),ao=!1;for(;to;){Uc();const Oa=to;to=to.nextSibling,fi(Oa)}}else Es&8&&Dn.textContent!==Xi.children&&(Uc(),Dn.textContent=Xi.children);if(Cs){if(Ho||!$s||zs&48)for(const to in Cs)(Ho&&(to.endsWith("value")||to==="indeterminate")||isOn(to)&&!isReservedProp(to)||to[0]===".")&&ni(Dn,to,null,Cs[to],void 0,Bn);else if(Cs.onClick)ni(Dn,"onClick",null,Cs.onClick,void 0,Bn);else if(zs&4&&isReactive(Cs.style))for(const to in Cs.style)Cs.style[to]}let xo;(xo=Cs&&Cs.onVnodeBeforeMount)&&fc(xo,Bn,Xi),Yr&&xc(Xi,null,Bn,"beforeMount"),((xo=Cs&&Cs.onVnodeMounted)||Yr||Qr)&&kv(()=>{xo&&fc(xo,Bn,Xi),Qr&&Co.enter(Dn),Yr&&xc(Xi,null,Bn,"mounted")},Kn)}return Dn.nextSibling},on=(Dn,Xi,Bn,Kn,us,$s,ws)=>{ws=ws||!!Xi.dynamicChildren;const Cs=Xi.children,zs=Cs.length;let Es=!1;for(let Yr=0;Yr<zs;Yr++){const Co=ws?Cs[Yr]:Cs[Yr]=Yl(Cs[Yr]),Ho=Co.type===xf;if(Dn){if(Ho&&!ws){let Qr=Cs[Yr+1];Qr&&(Qr=Yl(Qr)).type===xf&&(hi(si(Dn.data.slice(Co.children.length)),Bn,ai(Dn)),Dn.data=Co.children)}Dn=Mi(Dn,Co,Kn,us,$s,ws)}else Ho&&!Co.children?hi(Co.el=si(""),Bn):(Uc(),ii(null,Co,Bn,null,Kn,us,Ql(Bn),$s))}return Dn},hn=(Dn,Xi,Bn,Kn,us,$s)=>{const{slotScopeIds:ws}=Xi;ws&&(us=us?us.concat(ws):ws);const Cs=li(Dn),zs=on(ai(Dn),Xi,Cs,Bn,Kn,us,$s);return zs&&rd(zs)&&zs.data==="]"?ai(Xi.anchor=zs):(Uc(),hi(Xi.anchor=_i("]"),Cs,zs),zs)},gn=(Dn,Xi,Bn,Kn,us,$s)=>{if(Uc(),Xi.el=null,$s){const zs=es(Dn);for(;;){const Es=ai(Dn);if(Es&&Es!==zs)fi(Es);else break}}const ws=ai(Dn),Cs=li(Dn);return fi(Dn),ii(null,Xi,Cs,ws,Bn,Kn,Ql(Cs),us),ws},es=(Dn,Xi="[",Bn="]")=>{let Kn=0;for(;Dn;)if(Dn=ai(Dn),Dn&&rd(Dn)&&(Dn.data===Xi&&Kn++,Dn.data===Bn)){if(Kn===0)return ai(Dn);Kn--}return Dn},Wn=(Dn,Xi,Bn)=>{const Kn=Xi.parentNode;Kn&&Kn.replaceChild(Dn,Xi);let us=Bn;for(;us;)us.vnode.el===Xi&&(us.vnode.el=us.subTree.el=Dn),us=us.parent},Gn=Dn=>Dn.nodeType===1&&Dn.tagName.toLowerCase()==="template";return[ji,Mi]}function M7(ei,ti,ii,ni,si){let ai,li,fi,hi;if(ti==="class")fi=ei.getAttribute("class"),hi=normalizeClass(ii),ow(hv(fi||""),hv(hi))||(ai=li="class");else if(ti==="style"){fi=ei.getAttribute("style")||"",hi=isString(ii)?ii:stringifyStyle(normalizeStyle(ii));const _i=mv(fi),ji=mv(hi);if(ni.dirs)for(const{dir:Mi,value:Ki}of ni.dirs)Mi.name==="show"&&!Ki&&ji.set("display","none");si&&pv(si,ni,ji),aw(_i,ji)||(ai=li="style")}else(ei instanceof SVGElement&&isKnownSvgAttr(ti)||ei instanceof HTMLElement&&(isBooleanAttr(ti)||isKnownHtmlAttr(ti)))&&(isBooleanAttr(ti)?(fi=ei.hasAttribute(ti),hi=includeBooleanAttr(ii)):ii==null?(fi=ei.hasAttribute(ti),hi=!1):(ei.hasAttribute(ti)?fi=ei.getAttribute(ti):ti==="value"&&ei.tagName==="TEXTAREA"?fi=ei.value:fi=!1,hi=isRenderableAttrValue(ii)?String(ii):!1),fi!==hi&&(ai="attribute",li=ti));if(ai){const _i=Ki=>Ki===!1?"(not rendered)":`${li}="${Ki}"`,ji=`Hydration ${ai} mismatch on`,Mi=`
- rendered on server: ${_i(fi)}
- expected on client: ${_i(hi)}
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
You should fix the source of the mismatch.`;return ll(ji,ei,Mi),!0}return!1}function hv(ei){return new Set(ei.trim().split(/\s+/))}function ow(ei,ti){if(ei.size!==ti.size)return!1;for(const ii of ei)if(!ti.has(ii))return!1;return!0}function mv(ei){const ti=new Map;for(const ii of ei.split(";")){let[ni,si]=ii.split(":");ni=ni.trim(),si=si&&si.trim(),ni&&si&&ti.set(ni,si)}return ti}function aw(ei,ti){if(ei.size!==ti.size)return!1;for(const[ii,ni]of ei)if(ni!==ti.get(ii))return!1;return!0}function pv(ei,ti,ii){const ni=ei.subTree;if(ei.getCssVars&&(ti===ni||ni&&ni.type===xl&&ni.children.includes(ti))){const si=ei.getCssVars();for(const ai in si)ii.set(`--${ai}`,String(si[ai]))}ti===ni&&ei.parent&&pv(ei.parent,ei.vnode,ii)}let Oh,Ud;function O7(ei,ti){ei.appContext.config.performance&&gv()&&Ud.mark(`vue-${ti}-${ei.uid}`)}function D7(ei,ti){if(ei.appContext.config.performance&&gv()){const ii=`vue-${ti}-${ei.uid}`,ni=ii+":end";Ud.mark(ni),Ud.measure(`<${Up(ei,ei.type)}> ${ti}`,ii,ni),Ud.clearMarks(ii),Ud.clearMarks(ni)}}function gv(){return Oh!==void 0||(typeof window<"u"&&window.performance?(Oh=!0,Ud=window.performance):Oh=!1),Oh}function lw(){const ei=[]}const wl=kv;function F7(ei){return vv(ei)}function I7(ei){return vv(ei,rw)}function vv(ei,ti){lw();const ii=getGlobalThis();ii.__VUE__=!0;const{insert:ni,remove:si,patchProp:ai,createElement:li,createText:fi,createComment:hi,setText:_i,setElementText:ji,parentNode:Mi,nextSibling:Ki,setScopeId:on=NOOP,insertStaticContent:hn}=ei,gn=(jn,Nn,ms,Fs=null,Ls=null,Ps=null,Js=void 0,Xs=null,Zs=!!Nn.dynamicChildren)=>{if(jn===Nn)return;jn&&!mu(jn,Nn)&&(Fs=vc(jn),nl(jn,Ls,Ps,!0),jn=null),Nn.patchFlag===-2&&(Zs=!1,Nn.dynamicChildren=null);const{type:Ds,ref:ro,shapeFlag:vo}=Nn;switch(Ds){case xf:es(jn,Nn,ms,Fs);break;case dl:Wn(jn,Nn,ms,Fs);break;case zd:jn==null&&Gn(Nn,ms,Fs,Js);break;case xl:Yr(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs);break;default:vo&1?Kn(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs):vo&6?Co(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs):(vo&64||vo&128)&&Ds.process(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs,Tc)}ro!=null&&Ls&&Ws(ro,jn&&jn.ref,Ps,Nn||jn,!Nn)},es=(jn,Nn,ms,Fs)=>{if(jn==null)ni(Nn.el=fi(Nn.children),ms,Fs);else{const Ls=Nn.el=jn.el;Nn.children!==jn.children&&_i(Ls,Nn.children)}},Wn=(jn,Nn,ms,Fs)=>{jn==null?ni(Nn.el=hi(Nn.children||""),ms,Fs):Nn.el=jn.el},Gn=(jn,Nn,ms,Fs)=>{[jn.el,jn.anchor]=hn(jn.children,Nn,ms,Fs,jn.el,jn.anchor)},Dn=(jn,Nn,ms,Fs)=>{if(Nn.children!==jn.children){const Ls=Ki(jn.anchor);Bn(jn),[Nn.el,Nn.anchor]=hn(Nn.children,ms,Ls,Fs)}else Nn.el=jn.el,Nn.anchor=jn.anchor},Xi=({el:jn,anchor:Nn},ms,Fs)=>{let Ls;for(;jn&&jn!==Nn;)Ls=Ki(jn),ni(jn,ms,Fs),jn=Ls;ni(Nn,ms,Fs)},Bn=({el:jn,anchor:Nn})=>{let ms;for(;jn&&jn!==Nn;)ms=Ki(jn),si(jn),jn=ms;si(Nn)},Kn=(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs)=>{Nn.type==="svg"?Js="svg":Nn.type==="math"&&(Js="mathml"),jn==null?us(Nn,ms,Fs,Ls,Ps,Js,Xs,Zs):Cs(jn,Nn,Ls,Ps,Js,Xs,Zs)},us=(jn,Nn,ms,Fs,Ls,Ps,Js,Xs)=>{let Zs,Ds;const{props:ro,shapeFlag:vo,transition:po,dirs:Oo}=jn;if(Zs=jn.el=li(jn.type,Ps,ro&&ro.is,ro),vo&8?ji(Zs,jn.children):vo&16&&ws(jn.children,Zs,null,Fs,Ls,Op(jn,Ps),Js,Xs),Oo&&xc(jn,null,Fs,"created"),$s(Zs,jn,jn.scopeId,Js,Fs),ro){for(const wa in ro)wa!=="value"&&!isReservedProp(wa)&&ai(Zs,wa,null,ro[wa],Ps,Fs);"value"in ro&&ai(Zs,"value",null,ro.value,Ps),(Ds=ro.onVnodeBeforeMount)&&fc(Ds,Fs,jn)}Oo&&xc(jn,null,Fs,"beforeMount");const zo=bv(Ls,po);zo&&po.beforeEnter(Zs),ni(Zs,Nn,ms),((Ds=ro&&ro.onVnodeMounted)||zo||Oo)&&wl(()=>{Ds&&fc(Ds,Fs,jn),zo&&po.enter(Zs),Oo&&xc(jn,null,Fs,"mounted")},Ls)},$s=(jn,Nn,ms,Fs,Ls)=>{if(ms&&on(jn,ms),Fs)for(let Ps=0;Ps<Fs.length;Ps++)on(jn,Fs[Ps]);if(Ls){let Ps=Ls.subTree;if(Nn===Ps){const Js=Ls.vnode;$s(jn,Js,Js.scopeId,Js.slotScopeIds,Ls.parent)}}},ws=(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs=0)=>{for(let Ds=Zs;Ds<jn.length;Ds++){const ro=jn[Ds]=Xs?jf(jn[Ds]):Yl(jn[Ds]);gn(null,ro,Nn,ms,Fs,Ls,Ps,Js,Xs)}},Cs=(jn,Nn,ms,Fs,Ls,Ps,Js)=>{const Xs=Nn.el=jn.el;let{patchFlag:Zs,dynamicChildren:Ds,dirs:ro}=Nn;Zs|=jn.patchFlag&16;const vo=jn.props||EMPTY_OBJ,po=Nn.props||EMPTY_OBJ;let Oo;if(ms&&od(ms,!1),(Oo=po.onVnodeBeforeUpdate)&&fc(Oo,ms,Nn,jn),ro&&xc(Nn,jn,ms,"beforeUpdate"),ms&&od(ms,!0),(vo.innerHTML&&po.innerHTML==null||vo.textContent&&po.textContent==null)&&ji(Xs,""),Ds?zs(jn.dynamicChildren,Ds,Xs,ms,Fs,Op(Nn,Ls),Ps):Js||ao(jn,Nn,Xs,null,ms,Fs,Op(Nn,Ls),Ps,!1),Zs>0){if(Zs&16)Es(Xs,vo,po,ms,Ls);else if(Zs&2&&vo.class!==po.class&&ai(Xs,"class",null,po.class,Ls),Zs&4&&ai(Xs,"style",vo.style,po.style,Ls),Zs&8){const zo=Nn.dynamicProps;for(let wa=0;wa<zo.length;wa++){const da=zo[wa],sl=vo[da],Lc=po[da];(Lc!==sl||da==="value")&&ai(Xs,da,sl,Lc,Ls,ms)}}Zs&1&&jn.children!==Nn.children&&ji(Xs,Nn.children)}else!Js&&Ds==null&&Es(Xs,vo,po,ms,Ls);((Oo=po.onVnodeUpdated)||ro)&&wl(()=>{Oo&&fc(Oo,ms,Nn,jn),ro&&xc(Nn,jn,ms,"updated")},Fs)},zs=(jn,Nn,ms,Fs,Ls,Ps,Js)=>{for(let Xs=0;Xs<Nn.length;Xs++){const Zs=jn[Xs],Ds=Nn[Xs],ro=Zs.el&&(Zs.type===xl||!mu(Zs,Ds)||Zs.shapeFlag&70)?Mi(Zs.el):ms;gn(Zs,Ds,ro,null,Fs,Ls,Ps,Js,!0)}},Es=(jn,Nn,ms,Fs,Ls)=>{if(Nn!==ms){if(Nn!==EMPTY_OBJ)for(const Ps in Nn)!isReservedProp(Ps)&&!(Ps in ms)&&ai(jn,Ps,Nn[Ps],null,Ls,Fs);for(const Ps in ms){if(isReservedProp(Ps))continue;const Js=ms[Ps],Xs=Nn[Ps];Js!==Xs&&Ps!=="value"&&ai(jn,Ps,Xs,Js,Ls,Fs)}"value"in ms&&ai(jn,"value",Nn.value,ms.value,Ls)}},Yr=(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs)=>{const Ds=Nn.el=jn?jn.el:fi(""),ro=Nn.anchor=jn?jn.anchor:fi("");let{patchFlag:vo,dynamicChildren:po,slotScopeIds:Oo}=Nn;Oo&&(Xs=Xs?Xs.concat(Oo):Oo),jn==null?(ni(Ds,ms,Fs),ni(ro,ms,Fs),ws(Nn.children||[],ms,ro,Ls,Ps,Js,Xs,Zs)):vo>0&&vo&64&&po&&jn.dynamicChildren?(zs(jn.dynamicChildren,po,ms,Ls,Ps,Js,Xs),(Nn.key!=null||Ls&&Nn===Ls.subTree)&&Dp(jn,Nn,!0)):ao(jn,Nn,ms,ro,Ls,Ps,Js,Xs,Zs)},Co=(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs)=>{Nn.slotScopeIds=Xs,jn==null?Nn.shapeFlag&512?Ls.ctx.activate(Nn,ms,Fs,Js,Zs):Ho(Nn,ms,Fs,Ls,Ps,Js,Zs):Qr(jn,Nn,Zs)},Ho=(jn,Nn,ms,Fs,Ls,Ps,Js)=>{const Xs=jn.component=Fv(jn,Fs,Ls);if(Yu(jn)&&(Xs.ctx.renderer=Tc),Pv(Xs,!1,Js),Xs.asyncDep){if(Ls&&Ls.registerDep(Xs,xo,Js),!jn.el){const Zs=Xs.subTree=za(dl);Wn(null,Zs,Nn,ms)}}else xo(Xs,jn,Nn,ms,Ls,Ps,Js)},Qr=(jn,Nn,ms)=>{const Fs=Nn.component=jn.component;if(bw(jn,Nn,ms))if(Fs.asyncDep&&!Fs.asyncResolved){to(Fs,Nn,ms);return}else Fs.next=Nn,ho(Fs.update),Fs.effect.dirty=!0,Fs.update();else Nn.el=jn.el,Fs.vnode=Nn},xo=(jn,Nn,ms,Fs,Ls,Ps,Js)=>{const Xs=()=>{if(jn.isMounted){let{next:ro,bu:vo,u:po,parent:Oo,vnode:zo}=jn;{const Pf=_v(jn);if(Pf){ro&&(ro.el=zo.el,to(jn,ro,Js)),Pf.asyncDep.then(()=>{jn.isUnmounted||Xs()});return}}let wa=ro,da;od(jn,!1),ro?(ro.el=zo.el,to(jn,ro,Js)):ro=zo,vo&&invokeArrayFns(vo),(da=ro.props&&ro.props.onVnodeBeforeUpdate)&&fc(da,Oo,ro,zo),od(jn,!0);const sl=Om(jn),Lc=jn.subTree;jn.subTree=sl,gn(Lc,sl,Mi(Lc.el),vc(Lc),jn,Ls,Ps),ro.el=sl.el,wa===null&&Fp(jn,sl.el),po&&wl(po,Ls),(da=ro.props&&ro.props.onVnodeUpdated)&&wl(()=>fc(da,Oo,ro,zo),Ls)}else{let ro;const{el:vo,props:po}=Nn,{bm:Oo,m:zo,parent:wa}=jn,da=Qu(Nn);if(od(jn,!1),Oo&&invokeArrayFns(Oo),!da&&(ro=po&&po.onVnodeBeforeMount)&&fc(ro,wa,Nn),od(jn,!0),vo&&lf){const sl=()=>{jn.subTree=Om(jn),lf(vo,jn.subTree,jn,Ls,null)};da?Nn.type.__asyncLoader().then(()=>!jn.isUnmounted&&sl()):sl()}else{const sl=jn.subTree=Om(jn);gn(null,sl,ms,Fs,jn,Ls,Ps),Nn.el=sl.el}if(zo&&wl(zo,Ls),!da&&(ro=po&&po.onVnodeMounted)){const sl=Nn;wl(()=>fc(ro,wa,sl),Ls)}(Nn.shapeFlag&256||wa&&Qu(wa.vnode)&&wa.vnode.shapeFlag&256)&&jn.a&&wl(jn.a,Ls),jn.isMounted=!0,Nn=ms=Fs=null}},Zs=jn.effect=new ReactiveEffect(Xs,NOOP,()=>ko(Ds),jn.scope),Ds=jn.update=()=>{Zs.dirty&&Zs.run()};Ds.i=jn,Ds.id=jn.uid,od(jn,!0),Ds()},to=(jn,Nn,ms)=>{Nn.component=jn;const Fs=jn.vnode.props;jn.vnode=Nn,jn.next=null,jo(jn,Nn.props,Fs,ms),io(jn,Nn.children,ms),pauseTracking(),cl(jn),resetTracking()},ao=(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs=!1)=>{const Ds=jn&&jn.children,ro=jn?jn.shapeFlag:0,vo=Nn.children,{patchFlag:po,shapeFlag:Oo}=Nn;if(po>0){if(po&128){Sl(Ds,vo,ms,Fs,Ls,Ps,Js,Xs,Zs);return}else if(po&256){Oa(Ds,vo,ms,Fs,Ls,Ps,Js,Xs,Zs);return}}Oo&8?(ro&16&&tu(Ds,Ls,Ps),vo!==Ds&&ji(ms,vo)):ro&16?Oo&16?Sl(Ds,vo,ms,Fs,Ls,Ps,Js,Xs,Zs):tu(Ds,Ls,Ps,!0):(ro&8&&ji(ms,""),Oo&16&&ws(vo,ms,Fs,Ls,Ps,Js,Xs,Zs))},Oa=(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs)=>{jn=jn||EMPTY_ARR,Nn=Nn||EMPTY_ARR;const Ds=jn.length,ro=Nn.length,vo=Math.min(Ds,ro);let po;for(po=0;po<vo;po++){const Oo=Nn[po]=Zs?jf(Nn[po]):Yl(Nn[po]);gn(jn[po],Oo,ms,null,Ls,Ps,Js,Xs,Zs)}Ds>ro?tu(jn,Ls,Ps,!0,!1,vo):ws(Nn,ms,Fs,Ls,Ps,Js,Xs,Zs,vo)},Sl=(jn,Nn,ms,Fs,Ls,Ps,Js,Xs,Zs)=>{let Ds=0;const ro=Nn.length;let vo=jn.length-1,po=ro-1;for(;Ds<=vo&&Ds<=po;){const Oo=jn[Ds],zo=Nn[Ds]=Zs?jf(Nn[Ds]):Yl(Nn[Ds]);if(mu(Oo,zo))gn(Oo,zo,ms,null,Ls,Ps,Js,Xs,Zs);else break;Ds++}for(;Ds<=vo&&Ds<=po;){const Oo=jn[vo],zo=Nn[po]=Zs?jf(Nn[po]):Yl(Nn[po]);if(mu(Oo,zo))gn(Oo,zo,ms,null,Ls,Ps,Js,Xs,Zs);else break;vo--,po--}if(Ds>vo){if(Ds<=po){const Oo=po+1,zo=Oo<ro?Nn[Oo].el:Fs;for(;Ds<=po;)gn(null,Nn[Ds]=Zs?jf(Nn[Ds]):Yl(Nn[Ds]),ms,zo,Ls,Ps,Js,Xs,Zs),Ds++}}else if(Ds>po)for(;Ds<=vo;)nl(jn[Ds],Ls,Ps,!0),Ds++;else{const Oo=Ds,zo=Ds,wa=new Map;for(Ds=zo;Ds<=po;Ds++){const Uo=Nn[Ds]=Zs?jf(Nn[Ds]):Yl(Nn[Ds]);Uo.key!=null&&wa.set(Uo.key,Ds)}let da,sl=0;const Lc=po-zo+1;let Pf=!1,ys=0;const co=new Array(Lc);for(Ds=0;Ds<Lc;Ds++)co[Ds]=0;for(Ds=Oo;Ds<=vo;Ds++){const Uo=jn[Ds];if(sl>=Lc){nl(Uo,Ls,Ps,!0);continue}let $o;if(Uo.key!=null)$o=wa.get(Uo.key);else for(da=zo;da<=po;da++)if(co[da-zo]===0&&mu(Uo,Nn[da])){$o=da;break}$o===void 0?nl(Uo,Ls,Ps,!0):(co[$o-zo]=Ds+1,$o>=ys?ys=$o:Pf=!0,gn(Uo,Nn[$o],ms,null,Ls,Ps,Js,Xs,Zs),sl++)}const Ro=Pf?cw(co):EMPTY_ARR;for(da=Ro.length-1,Ds=Lc-1;Ds>=0;Ds--){const Uo=zo+Ds,$o=Nn[Uo],Cl=Uo+1<ro?Nn[Uo+1].el:Fs;co[Ds]===0?gn(null,$o,ms,Cl,Ls,Ps,Js,Xs,Zs):Pf&&(da<0||Ds!==Ro[da]?Ga($o,ms,Cl,2):da--)}}},Ga=(jn,Nn,ms,Fs,Ls=null)=>{const{el:Ps,type:Js,transition:Xs,children:Zs,shapeFlag:Ds}=jn;if(Ds&6){Ga(jn.component.subTree,Nn,ms,Fs);return}if(Ds&128){jn.suspense.move(Nn,ms,Fs);return}if(Ds&64){Js.move(jn,Nn,ms,Tc);return}if(Js===xl){ni(Ps,Nn,ms);for(let vo=0;vo<Zs.length;vo++)Ga(Zs[vo],Nn,ms,Fs);ni(jn.anchor,Nn,ms);return}if(Js===zd){Xi(jn,Nn,ms);return}if(Fs!==2&&Ds&1&&Xs)if(Fs===0)Xs.beforeEnter(Ps),ni(Ps,Nn,ms),wl(()=>Xs.enter(Ps),Ls);else{const{leave:vo,delayLeave:po,afterLeave:Oo}=Xs,zo=()=>ni(Ps,Nn,ms),wa=()=>{vo(Ps,()=>{zo(),Oo&&Oo()})};po?po(Ps,zo,wa):wa()}else ni(Ps,Nn,ms)},nl=(jn,Nn,ms,Fs=!1,Ls=!1)=>{const{type:Ps,props:Js,ref:Xs,children:Zs,dynamicChildren:Ds,shapeFlag:ro,patchFlag:vo,dirs:po,cacheIndex:Oo}=jn;if(vo===-2&&(Ls=!1),Xs!=null&&Ws(Xs,null,ms,jn,!0),Oo!=null&&(Nn.renderCache[Oo]=void 0),ro&256){Nn.ctx.deactivate(jn);return}const zo=ro&1&&po,wa=!Qu(jn);let da;if(wa&&(da=Js&&Js.onVnodeBeforeUnmount)&&fc(da,Nn,jn),ro&6)pu(jn.component,ms,Fs);else{if(ro&128){jn.suspense.unmount(ms,Fs);return}zo&&xc(jn,null,Nn,"beforeUnmount"),ro&64?jn.type.remove(jn,Nn,ms,Tc,Fs):Ds&&!Ds.hasOnce&&(Ps!==xl||vo>0&&vo&64)?tu(Ds,Nn,ms,!1,!0):(Ps===xl&&vo&384||!Ls&&ro&16)&&tu(Zs,Nn,ms),Fs&&eu(jn)}(wa&&(da=Js&&Js.onVnodeUnmounted)||zo)&&wl(()=>{da&&fc(da,Nn,jn),zo&&xc(jn,null,Nn,"unmounted")},ms)},eu=jn=>{const{type:Nn,el:ms,anchor:Fs,transition:Ls}=jn;if(Nn===xl){Ac(ms,Fs);return}if(Nn===zd){Bn(jn);return}const Ps=()=>{si(ms),Ls&&!Ls.persisted&&Ls.afterLeave&&Ls.afterLeave()};if(jn.shapeFlag&1&&Ls&&!Ls.persisted){const{leave:Js,delayLeave:Xs}=Ls,Zs=()=>Js(ms,Ps);Xs?Xs(jn.el,Ps,Zs):Zs()}else Ps()},Ac=(jn,Nn)=>{let ms;for(;jn!==Nn;)ms=Ki(jn),si(jn),jn=ms;si(Nn)},pu=(jn,Nn,ms)=>{const{bum:Fs,scope:Ls,update:Ps,subTree:Js,um:Xs,m:Zs,a:Ds}=jn;Tm(Zs),Tm(Ds),Fs&&invokeArrayFns(Fs),Ls.stop(),Ps&&(Ps.active=!1,nl(Js,jn,Nn,ms)),Xs&&wl(Xs,Nn),wl(()=>{jn.isUnmounted=!0},Nn),Nn&&Nn.pendingBranch&&!Nn.isUnmounted&&jn.asyncDep&&!jn.asyncResolved&&jn.suspenseId===Nn.pendingId&&(Nn.deps--,Nn.deps===0&&Nn.resolve())},tu=(jn,Nn,ms,Fs=!1,Ls=!1,Ps=0)=>{for(let Js=Ps;Js<jn.length;Js++)nl(jn[Js],Nn,ms,Fs,Ls)},vc=jn=>{if(jn.shapeFlag&6)return vc(jn.component.subTree);if(jn.shapeFlag&128)return jn.suspense.next();const Nn=Ki(jn.anchor||jn.el),ms=Nn&&Nn[Kr];return ms?Ki(ms):Nn};let Fu=!1;const gu=(jn,Nn,ms)=>{jn==null?Nn._vnode&&nl(Nn._vnode,null,null,!0):gn(Nn._vnode||null,jn,Nn,null,null,null,ms),Fu||(Fu=!0,cl(),Sa(),Fu=!1),Nn._vnode=jn},Tc={p:gn,um:nl,m:Ga,r:eu,mt:Ho,mc:ws,pc:ao,pbc:zs,n:vc,o:ei};let If,lf;return ti&&([If,lf]=ti(Tc)),{render:gu,hydrate:If,createApp:Gs(gu,If)}}function Op({type:ei,props:ti},ii){return ii==="svg"&&ei==="foreignObject"||ii==="mathml"&&ei==="annotation-xml"&&ti&&ti.encoding&&ti.encoding.includes("html")?void 0:ii}function od({effect:ei,update:ti},ii){ei.allowRecurse=ti.allowRecurse=ii}function bv(ei,ti){return(!ei||ei&&!ei.pendingBranch)&&ti&&!ti.persisted}function Dp(ei,ti,ii=!1){const ni=ei.children,si=ti.children;if(mn(ni)&&mn(si))for(let ai=0;ai<ni.length;ai++){const li=ni[ai];let fi=si[ai];fi.shapeFlag&1&&!fi.dynamicChildren&&((fi.patchFlag<=0||fi.patchFlag===32)&&(fi=si[ai]=jf(si[ai]),fi.el=li.el),!ii&&fi.patchFlag!==-2&&Dp(li,fi)),fi.type===xf&&(fi.el=li.el)}}function cw(ei){const ti=ei.slice(),ii=[0];let ni,si,ai,li,fi;const hi=ei.length;for(ni=0;ni<hi;ni++){const _i=ei[ni];if(_i!==0){if(si=ii[ii.length-1],ei[si]<_i){ti[ni]=si,ii.push(ni);continue}for(ai=0,li=ii.length-1;ai<li;)fi=ai+li>>1,ei[ii[fi]]<_i?ai=fi+1:li=fi;_i<ei[ii[ai]]&&(ai>0&&(ti[ni]=ii[ai-1]),ii[ai]=ni)}}for(ai=ii.length,li=ii[ai-1];ai-- >0;)ii[ai]=li,li=ti[li];return ii}function _v(ei){const ti=ei.subTree.component;if(ti)return ti.asyncDep&&!ti.asyncResolved?ti:_v(ti)}function Tm(ei){if(ei)for(let ti=0;ti<ei.length;ti++)ei[ti].active=!1}const uw=Symbol.for("v-scx"),fw=()=>{{const ei=To(uw);return ei}};function P7(ei,ti){return Dh(ei,null,ti)}function q7(ei,ti){return Dh(ei,null,{flush:"post"})}function dw(ei,ti){return Dh(ei,null,{flush:"sync"})}const Lm={};function Rm(ei,ti,ii){return Dh(ei,ti,ii)}function Dh(ei,ti,{immediate:ii,deep:ni,flush:si,once:ai,onTrack:li,onTrigger:fi}=un){if(ti&&ai){const us=ti;ti=(...$s)=>{us(...$s),Kn()}}const hi=us=>{ll("Invalid watch source: ",us,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},_i=hl,ji=us=>ni===!0?us:wf(us,ni===!1?1:void 0);let Mi,Ki=!1,on=!1;if(Ia(ei)?(Mi=()=>ei.value,Ki=vs(ei)):Hn(ei)?(Mi=()=>ji(ei),Ki=!0):mn(ei)?(on=!0,Ki=ei.some(us=>Hn(us)||vs(us)),Mi=()=>ei.map(us=>{if(Ia(us))return us.value;if(Hn(us))return ji(us);if(pn(us))return Pl(us,_i,2)})):pn(ei)?ti?Mi=()=>Pl(ei,_i,2):Mi=()=>(hn&&hn(),_l(ei,_i,3,[gn])):Mi=ks,ti&&ni){const us=Mi;Mi=()=>wf(us())}let hn,gn=us=>{hn=Xi.onStop=()=>{Pl(us,_i,4),hn=Xi.onStop=void 0}},es;if(qh)if(gn=ks,ti?ii&&_l(ti,_i,3,[Mi(),on?[]:void 0,gn]):Mi(),si==="sync"){const us=fw();es=us.__watcherHandles||(us.__watcherHandles=[])}else return ks;let Wn=on?new Array(ei.length).fill(Lm):Lm;const Gn=()=>{if(!(!Xi.active||!Xi.dirty))if(ti){const us=Xi.run();(ni||Ki||(on?us.some(($s,ws)=>On($s,Wn[ws])):On(us,Wn)))&&(hn&&hn(),_l(ti,_i,3,[us,Wn===Lm?void 0:on&&Wn[0]===Lm?[]:Wn,gn]),Wn=us)}else Xi.run()};Gn.allowRecurse=!!ti;let Dn;si==="sync"?Dn=Gn:si==="post"?Dn=()=>wl(Gn,_i&&_i.suspense):(Gn.pre=!0,_i&&(Gn.id=_i.uid),Dn=()=>ko(Gn));const Xi=new vu(Mi,ks,Dn),Bn=Iu(),Kn=()=>{Xi.stop(),Bn&&hs(Bn.effects,Xi)};return ti?ii?Gn():Wn=Xi.run():si==="post"?wl(Xi.run.bind(Xi),_i&&_i.suspense):Xi.run(),es&&es.push(Kn),Kn}function hw(ei,ti,ii){const ni=this.proxy,si=Pn(ei)?ei.includes(".")?yv(ni,ei):()=>ni[ei]:ei.bind(ni,ni);let ai;pn(ti)?ai=ti:(ai=ti.handler,ii=ti);const li=cd(this),fi=Dh(si,ai.bind(ni),ii);return li(),fi}function yv(ei,ti){const ii=ti.split(".");return()=>{let ni=ei;for(let si=0;si<ii.length&&ni;si++)ni=ni[ii[si]];return ni}}function wf(ei,ti=1/0,ii){if(ti<=0||!Ai(ei)||ei.__v_skip||(ii=ii||new Set,ii.has(ei)))return ei;if(ii.add(ei),ti--,Ia(ei))wf(ei.value,ti,ii);else if(mn(ei))for(let ni=0;ni<ei.length;ni++)wf(ei[ni],ti,ii);else if(pi(ei)||Mn(ei))ei.forEach(ni=>{wf(ni,ti,ii)});else if(Fn(ei)){for(const ni in ei)wf(ei[ni],ti,ii);for(const ni of Object.getOwnPropertySymbols(ei))Object.prototype.propertyIsEnumerable.call(ei,ni)&&wf(ei[ni],ti,ii)}return ei}function N7(ei,ti,ii=EMPTY_OBJ){const ni=Ph(),si=camelize(ti),ai=hyphenate(ti),li=wv(ei,ti),fi=customRef((hi,_i)=>{let ji,Mi=EMPTY_OBJ,Ki;return dw(()=>{const on=ei[ti];hasChanged(ji,on)&&(ji=on,_i())}),{get(){return hi(),ii.get?ii.get(ji):ji},set(on){if(!hasChanged(on,ji)&&!(Mi!==EMPTY_OBJ&&hasChanged(on,Mi)))return;const hn=ni.vnode.props;hn&&(ti in hn||si in hn||ai in hn)&&(`onUpdate:${ti}`in hn||`onUpdate:${si}`in hn||`onUpdate:${ai}`in hn)||(ji=on,_i());const gn=ii.set?ii.set(on):on;ni.emit(`update:${ti}`,gn),hasChanged(on,gn)&&hasChanged(on,Mi)&&!hasChanged(gn,Ki)&&_i(),Mi=on,Ki=gn}}});return fi[Symbol.iterator]=()=>{let hi=0;return{next(){return hi<2?{value:hi++?li||EMPTY_OBJ:fi,done:!1}:{done:!0}}}},fi}const wv=(ei,ti)=>ti==="modelValue"||ti==="model-value"?ei.modelModifiers:ei[`${ti}Modifiers`]||ei[`${Yi(ti)}Modifiers`]||ei[`${Bi(ti)}Modifiers`];function mw(ei,ti,...ii){if(ei.isUnmounted)return;const ni=ei.vnode.props||un;let si=ii;const ai=ti.startsWith("update:"),li=ai&&wv(ni,ti.slice(7));li&&(li.trim&&(si=ii.map(ji=>Pn(ji)?ji.trim():ji)),li.number&&(si=ii.map(Vs)));let fi,hi=ni[fi=Gi(ti)]||ni[fi=Gi(Yi(ti))];!hi&&ai&&(hi=ni[fi=Gi(Bi(ti))]),hi&&_l(hi,ei,6,si);const _i=ni[fi+"Once"];if(_i){if(!ei.emitted)ei.emitted={};else if(ei.emitted[fi])return;ei.emitted[fi]=!0,_l(_i,ei,6,si)}}function xv(ei,ti,ii=!1){const ni=ti.emitsCache,si=ni.get(ei);if(si!==void 0)return si;const ai=ei.emits;let li={},fi=!1;if(!pn(ei)){const hi=_i=>{const ji=xv(_i,ti,!0);ji&&(fi=!0,rs(li,ji))};!ii&&ti.mixins.length&&ti.mixins.forEach(hi),ei.extends&&hi(ei.extends),ei.mixins&&ei.mixins.forEach(hi)}return!ai&&!fi?(Ai(ei)&&ni.set(ei,null),null):(mn(ai)?ai.forEach(hi=>li[hi]=null):rs(li,ai),Ai(ei)&&ni.set(ei,li),li)}function Mm(ei,ti){return!ei||!qi(ti)?!1:(ti=ti.slice(2).replace(/Once$/,""),yn(ei,ti[0].toLowerCase()+ti.slice(1))||yn(ei,Bi(ti))||yn(ei,ti))}let pw=!1;function B7(){pw=!0}function Om(ei){const{type:ti,vnode:ii,proxy:ni,withProxy:si,propsOptions:[ai],slots:li,attrs:fi,emit:hi,render:_i,renderCache:ji,props:Mi,data:Ki,setupState:on,ctx:hn,inheritAttrs:gn}=ei,es=$a(ei);let Wn,Gn;try{if(ii.shapeFlag&4){const Bn=si||ni,Kn=Bn;Wn=Yl(_i.call(Kn,Bn,ji,Mi,on,Ki,hn)),Gn=fi}else{const Bn=ti;Wn=Yl(Bn.length>1?Bn(Mi,{attrs:fi,slots:li,emit:hi}):Bn(Mi,null)),Gn=ti.props?fi:gw(fi)}}catch(Bn){Ih.length=0,Su(Bn,ei,1),Wn=za(dl)}let Dn=Wn,Xi;if(Gn&&gn!==!1){const Bn=Object.keys(Gn),{shapeFlag:Kn}=Dn;Bn.length&&Kn&7&&(ai&&Bn.some(sn)&&(Gn=vw(Gn,ai)),Dn=Lu(Dn,Gn,!1,!0))}return ii.dirs&&(Dn=Lu(Dn,null,!1,!0),Dn.dirs=Dn.dirs?Dn.dirs.concat(ii.dirs):ii.dirs),ii.transition&&(Dn.transition=ii.transition),Wn=Dn,$a(es),Wn}const H7=ei=>{const ti=ei.children,ii=ei.dynamicChildren,ni=jv(ti,!1);if(!ni)return[ei,void 0];const si=ti.indexOf(ni),ai=ii?ii.indexOf(ni):-1,li=fi=>{ti[si]=fi,ii&&(ai>-1?ii[ai]=fi:fi.patchFlag>0&&(ei.dynamicChildren=[...ii,fi]))};return[Yl(ni),li]};function jv(ei,ti=!0){let ii;for(let ni=0;ni<ei.length;ni++){const si=ei[ni];if(ld(si)){if(si.type!==dl||si.children==="v-if"){if(ii)return;ii=si}}else return}return ii}const gw=ei=>{let ti;for(const ii in ei)(ii==="class"||ii==="style"||qi(ii))&&((ti||(ti={}))[ii]=ei[ii]);return ti},vw=(ei,ti)=>{const ii={};for(const ni in ei)(!sn(ni)||!(ni.slice(9)in ti))&&(ii[ni]=ei[ni]);return ii},$7=ei=>ei.shapeFlag&7||ei.type===dl;function bw(ei,ti,ii){const{props:ni,children:si,component:ai}=ei,{props:li,children:fi,patchFlag:hi}=ti,_i=ai.emitsOptions;if(ti.dirs||ti.transition)return!0;if(ii&&hi>=0){if(hi&1024)return!0;if(hi&16)return ni?Sv(ni,li,_i):!!li;if(hi&8){const ji=ti.dynamicProps;for(let Mi=0;Mi<ji.length;Mi++){const Ki=ji[Mi];if(li[Ki]!==ni[Ki]&&!Mm(_i,Ki))return!0}}}else return(si||fi)&&(!fi||!fi.$stable)?!0:ni===li?!1:ni?li?Sv(ni,li,_i):!0:!!li;return!1}function Sv(ei,ti,ii){const ni=Object.keys(ti);if(ni.length!==Object.keys(ei).length)return!0;for(let si=0;si<ni.length;si++){const ai=ni[si];if(ti[ai]!==ei[ai]&&!Mm(ii,ai))return!0}return!1}function Fp({vnode:ei,parent:ti},ii){for(;ti;){const ni=ti.subTree;if(ni.suspense&&ni.suspense.activeBranch===ei&&(ni.el=ei.el),ni===ei)(ei=ti.vnode).el=ii,ti=ti.parent;else break}}const Ip=ei=>ei.__isSuspense;let Pp=0;const V7={name:"Suspense",__isSuspense:!0,process(ei,ti,ii,ni,si,ai,li,fi,hi,_i){if(ei==null)_w(ti,ii,ni,si,ai,li,fi,hi,_i);else{if(ai&&ai.deps>0&&!ei.suspense.isInFallback){ti.suspense=ei.suspense,ti.suspense.vnode=ti,ti.el=ei.el;return}yw(ei,ti,ii,ni,si,li,fi,hi,_i)}},hydrate:ww,normalize:xw},U7=null;function Fh(ei,ti){const ii=ei.props&&ei.props[ti];pn(ii)&&ii()}function _w(ei,ti,ii,ni,si,ai,li,fi,hi){const{p:_i,o:{createElement:ji}}=hi,Mi=ji("div"),Ki=ei.suspense=Cv(ei,si,ni,ti,Mi,ii,ai,li,fi,hi);_i(null,Ki.pendingBranch=ei.ssContent,Mi,null,ni,Ki,ai,li),Ki.deps>0?(Fh(ei,"onPending"),Fh(ei,"onFallback"),_i(null,ei.ssFallback,ti,ii,ni,null,ai,li),Wd(Ki,ei.ssFallback)):Ki.resolve(!1,!0)}function yw(ei,ti,ii,ni,si,ai,li,fi,{p:hi,um:_i,o:{createElement:ji}}){const Mi=ti.suspense=ei.suspense;Mi.vnode=ti,ti.el=ei.el;const Ki=ti.ssContent,on=ti.ssFallback,{activeBranch:hn,pendingBranch:gn,isInFallback:es,isHydrating:Wn}=Mi;if(gn)Mi.pendingBranch=Ki,mu(Ki,gn)?(hi(gn,Ki,Mi.hiddenContainer,null,si,Mi,ai,li,fi),Mi.deps<=0?Mi.resolve():es&&(Wn||(hi(hn,on,ii,ni,si,null,ai,li,fi),Wd(Mi,on)))):(Mi.pendingId=Pp++,Wn?(Mi.isHydrating=!1,Mi.activeBranch=gn):_i(gn,si,Mi),Mi.deps=0,Mi.effects.length=0,Mi.hiddenContainer=ji("div"),es?(hi(null,Ki,Mi.hiddenContainer,null,si,Mi,ai,li,fi),Mi.deps<=0?Mi.resolve():(hi(hn,on,ii,ni,si,null,ai,li,fi),Wd(Mi,on))):hn&&mu(Ki,hn)?(hi(hn,Ki,ii,ni,si,Mi,ai,li,fi),Mi.resolve(!0)):(hi(null,Ki,Mi.hiddenContainer,null,si,Mi,ai,li,fi),Mi.deps<=0&&Mi.resolve()));else if(hn&&mu(Ki,hn))hi(hn,Ki,ii,ni,si,Mi,ai,li,fi),Wd(Mi,Ki);else if(Fh(ti,"onPending"),Mi.pendingBranch=Ki,Ki.shapeFlag&512?Mi.pendingId=Ki.component.suspenseId:Mi.pendingId=Pp++,hi(null,Ki,Mi.hiddenContainer,null,si,Mi,ai,li,fi),Mi.deps<=0)Mi.resolve();else{const{timeout:Gn,pendingId:Dn}=Mi;Gn>0?setTimeout(()=>{Mi.pendingId===Dn&&Mi.fallback(on)},Gn):Gn===0&&Mi.fallback(on)}}let W7=!1;function Cv(ei,ti,ii,ni,si,ai,li,fi,hi,_i,ji=!1){const{p:Mi,m:Ki,um:on,n:hn,o:{parentNode:gn,remove:es}}=_i;let Wn;const Gn=jw(ei);Gn&&ti&&ti.pendingBranch&&(Wn=ti.pendingId,ti.deps++);const Dn=ei.props?uo(ei.props.timeout):void 0,Xi=ai,Bn={vnode:ei,parent:ti,parentComponent:ii,namespace:li,container:ni,hiddenContainer:si,deps:0,pendingId:Pp++,timeout:typeof Dn=="number"?Dn:-1,activeBranch:null,pendingBranch:null,isInFallback:!ji,isHydrating:ji,isUnmounted:!1,effects:[],resolve(Kn=!1,us=!1){const{vnode:$s,activeBranch:ws,pendingBranch:Cs,pendingId:zs,effects:Es,parentComponent:Yr,container:Co}=Bn;let Ho=!1;Bn.isHydrating?Bn.isHydrating=!1:Kn||(Ho=ws&&Cs.transition&&Cs.transition.mode==="out-in",Ho&&(ws.transition.afterLeave=()=>{zs===Bn.pendingId&&(Ki(Cs,Co,ai===Xi?hn(ws):ai,0),oa(Es))}),ws&&(gn(ws.el)!==Bn.hiddenContainer&&(ai=hn(ws)),on(ws,Yr,Bn,!0)),Ho||Ki(Cs,Co,ai,0)),Wd(Bn,Cs),Bn.pendingBranch=null,Bn.isInFallback=!1;let Qr=Bn.parent,xo=!1;for(;Qr;){if(Qr.pendingBranch){Qr.effects.push(...Es),xo=!0;break}Qr=Qr.parent}!xo&&!Ho&&oa(Es),Bn.effects=[],Gn&&ti&&ti.pendingBranch&&Wn===ti.pendingId&&(ti.deps--,ti.deps===0&&!us&&ti.resolve()),Fh($s,"onResolve")},fallback(Kn){if(!Bn.pendingBranch)return;const{vnode:us,activeBranch:$s,parentComponent:ws,container:Cs,namespace:zs}=Bn;Fh(us,"onFallback");const Es=hn($s),Yr=()=>{Bn.isInFallback&&(Mi(null,Kn,Cs,Es,ws,null,zs,fi,hi),Wd(Bn,Kn))},Co=Kn.transition&&Kn.transition.mode==="out-in";Co&&($s.transition.afterLeave=Yr),Bn.isInFallback=!0,on($s,ws,null,!0),Co||Yr()},move(Kn,us,$s){Bn.activeBranch&&Ki(Bn.activeBranch,Kn,us,$s),Bn.container=Kn},next(){return Bn.activeBranch&&hn(Bn.activeBranch)},registerDep(Kn,us,$s){const ws=!!Bn.pendingBranch;ws&&Bn.deps++;const Cs=Kn.vnode.el;Kn.asyncDep.catch(zs=>{Su(zs,Kn,0)}).then(zs=>{if(Kn.isUnmounted||Bn.isUnmounted||Bn.pendingId!==Kn.suspenseId)return;Kn.asyncResolved=!0;const{vnode:Es}=Kn;$p(Kn,zs,!1),Cs&&(Es.el=Cs);const Yr=!Cs&&Kn.subTree.el;us(Kn,Es,gn(Cs||Kn.subTree.el),Cs?null:hn(Kn.subTree),Bn,li,$s),Yr&&es(Yr),Fp(Kn,Es.el),ws&&--Bn.deps===0&&Bn.resolve()})},unmount(Kn,us){Bn.isUnmounted=!0,Bn.activeBranch&&on(Bn.activeBranch,ii,Kn,us),Bn.pendingBranch&&on(Bn.pendingBranch,ii,Kn,us)}};return Bn}function ww(ei,ti,ii,ni,si,ai,li,fi,hi){const _i=ti.suspense=Cv(ti,ni,ii,ei.parentNode,document.createElement("div"),null,si,ai,li,fi,!0),ji=hi(ei,_i.pendingBranch=ti.ssContent,ii,_i,ai,li);return _i.deps===0&&_i.resolve(!1,!0),ji}function xw(ei){const{shapeFlag:ti,children:ii}=ei,ni=ti&32;ei.ssContent=Ev(ni?ii.default:ii),ei.ssFallback=ni?Ev(ii.fallback):za(dl)}function Ev(ei){let ti;if(pn(ei)){const ii=ad&&ei._c;ii&&(ei._d=!1,uc()),ei=ei(),ii&&(ei._d=!0,ti=Bl,Av())}return mn(ei)&&(ei=jv(ei)),ei=Yl(ei),ti&&!ei.dynamicChildren&&(ei.dynamicChildren=ti.filter(ii=>ii!==ei)),ei}function kv(ei,ti){ti&&ti.pendingBranch?mn(ei)?ti.effects.push(...ei):ti.effects.push(ei):oa(ei)}function Wd(ei,ti){ei.activeBranch=ti;const{vnode:ii,parentComponent:ni}=ei;let si=ti.el;for(;!si&&ti.component;)ti=ti.component.subTree,si=ti.el;ii.el=si,ni&&ni.subTree===ii&&(ni.vnode.el=si,Fp(ni,si))}function jw(ei){const ti=ei.props&&ei.props.suspensible;return ti!=null&&ti!==!1}const xl=Symbol.for("v-fgt"),xf=Symbol.for("v-txt"),dl=Symbol.for("v-cmt"),zd=Symbol.for("v-stc"),Ih=[];let Bl=null;function uc(ei=!1){Ih.push(Bl=ei?null:[])}function Av(){Ih.pop(),Bl=Ih[Ih.length-1]||null}let ad=1;function Tv(ei){ad+=ei,ei<0&&Bl&&(Bl.hasOnce=!0)}function Lv(ei){return ei.dynamicChildren=ad>0?Bl||ls:null,Av(),ad>0&&Bl&&Bl.push(ei),ei}function hu(ei,ti,ii,ni,si,ai){return Lv(Sc(ei,ti,ii,ni,si,ai,!0))}function Rv(ei,ti,ii,ni,si){return Lv(za(ei,ti,ii,ni,si,!0))}function ld(ei){return ei?ei.__v_isVNode===!0:!1}function mu(ei,ti){return ei.type===ti.type&&ei.key===ti.key}let qp;function z7(ei){qp=ei}const K7=(...ei)=>Ov(...qp?qp(ei,Xa):ei),Mv=({key:ei})=>ei??null,Dm=({ref:ei,ref_key:ti,ref_for:ii})=>(typeof ei=="number"&&(ei=""+ei),ei!=null?Pn(ei)||Ia(ei)||pn(ei)?{i:Xa,r:ei,k:ti,f:!!ii}:ei:null);function Sc(ei,ti=null,ii=null,ni=0,si=null,ai=ei===xl?0:1,li=!1,fi=!1){const hi={__v_isVNode:!0,__v_skip:!0,type:ei,props:ti,key:ti&&Mv(ti),ref:ti&&Dm(ti),scopeId:Qf,slotScopeIds:null,children:ii,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:ai,patchFlag:ni,dynamicProps:si,dynamicChildren:null,appContext:null,ctx:Xa};return fi?(Np(hi,ii),ai&128&&ei.normalize(hi)):ii&&(hi.shapeFlag|=Pn(ii)?8:16),ad>0&&!li&&Bl&&(hi.patchFlag>0||ai&6)&&hi.patchFlag!==32&&Bl.push(hi),hi}const za=Ov;function Ov(ei,ti=null,ii=null,ni=0,si=null,ai=!1){if((!ei||ei===Bd)&&(ei=dl),ld(ei)){const fi=Lu(ei,ti,!0);return ii&&Np(fi,ii),ad>0&&!ai&&Bl&&(fi.shapeFlag&6?Bl[Bl.indexOf(ei)]=fi:Bl.push(fi)),fi.patchFlag=-2,fi}if(Bv(ei)&&(ei=ei.__vccOpts),ti){ti=Sw(ti);let{class:fi,style:hi}=ti;fi&&!Pn(fi)&&(ti.class=Do(fi)),Ai(hi)&&(ns(hi)&&!mn(hi)&&(hi=rs({},hi)),ti.style=_o(hi))}const li=Pn(ei)?1:Ip(ei)?128:Is(ei)?64:Ai(ei)?4:pn(ei)?2:0;return Sc(ei,ti,ii,ni,si,li,ai,!0)}function Sw(ei){return ei?ns(ei)||Va(ei)?rs({},ei):ei:null}function Lu(ei,ti,ii=!1,ni=!1){const{props:si,ref:ai,patchFlag:li,children:fi,transition:hi}=ei,_i=ti?Ew(si||{},ti):si,ji={__v_isVNode:!0,__v_skip:!0,type:ei.type,props:_i,key:_i&&Mv(_i),ref:ti&&ti.ref?ii&&ai?mn(ai)?ai.concat(Dm(ti)):[ai,Dm(ti)]:Dm(ti):ai,scopeId:ei.scopeId,slotScopeIds:ei.slotScopeIds,children:fi,target:ei.target,targetStart:ei.targetStart,targetAnchor:ei.targetAnchor,staticCount:ei.staticCount,shapeFlag:ei.shapeFlag,patchFlag:ti&&ei.type!==xl?li===-1?16:li|16:li,dynamicProps:ei.dynamicProps,dynamicChildren:ei.dynamicChildren,appContext:ei.appContext,dirs:ei.dirs,transition:hi,component:ei.component,suspense:ei.suspense,ssContent:ei.ssContent&&Lu(ei.ssContent),ssFallback:ei.ssFallback&&Lu(ei.ssFallback),el:ei.el,anchor:ei.anchor,ctx:ei.ctx,ce:ei.ce};return hi&&ni&&Gu(ji,hi.clone(ji)),ji}function Cw(ei){const ti=Lu(ei);return isArray(ei.children)&&(ti.children=ei.children.map(Cw)),ti}function Dv(ei=" ",ti=0){return za(xf,null,ei,ti)}function X7(ei,ti){const ii=za(zd,null,ei);return ii.staticCount=ti,ii}function Kd(ei="",ti=!1){return ti?(uc(),Rv(dl,null,ei)):za(dl,null,ei)}function Yl(ei){return ei==null||typeof ei=="boolean"?za(dl):mn(ei)?za(xl,null,ei.slice()):typeof ei=="object"?jf(ei):za(xf,null,String(ei))}function jf(ei){return ei.el===null&&ei.patchFlag!==-1||ei.memo?ei:Lu(ei)}function Np(ei,ti){let ii=0;const{shapeFlag:ni}=ei;if(ti==null)ti=null;else if(mn(ti))ii=16;else if(typeof ti=="object")if(ni&65){const si=ti.default;si&&(si._c&&(si._d=!1),Np(ei,si()),si._c&&(si._d=!0));return}else{ii=32;const si=ti._;!si&&!Va(ti)?ti._ctx=Xa:si===3&&Xa&&(Xa.slots._===1?ti._=1:(ti._=2,ei.patchFlag|=1024))}else pn(ti)?(ti={default:ti,_ctx:Xa},ii=32):(ti=String(ti),ni&64?(ii=16,ti=[Dv(ti)]):ii=8);ei.children=ti,ei.shapeFlag|=ii}function Ew(...ei){const ti={};for(let ii=0;ii<ei.length;ii++){const ni=ei[ii];for(const si in ni)if(si==="class")ti.class!==ni.class&&(ti.class=Do([ti.class,ni.class]));else if(si==="style")ti.style=_o([ti.style,ni.style]);else if(qi(si)){const ai=ti[si],li=ni[si];li&&ai!==li&&!(mn(ai)&&ai.includes(li))&&(ti[si]=ai?[].concat(ai,li):li)}else si!==""&&(ti[si]=ni[si])}return ti}function fc(ei,ti,ii,ni=null){_l(ei,ti,7,[ii,ni])}const kw=Ks();let Aw=0;function Fv(ei,ti,ii){const ni=ei.type,si=(ti?ti.appContext:ei.appContext)||kw,ai={uid:Aw++,vnode:ei,type:ni,parent:ti,appContext:si,root:null,next:null,subTree:null,effect:null,update:null,scope:new Dc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:ti?ti.provides:Object.create(si.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ef(ni,si),emitsOptions:xv(ni,si),emit:null,emitted:null,propsDefaults:un,inheritAttrs:ni.inheritAttrs,ctx:un,data:un,props:un,attrs:un,slots:un,refs:un,setupState:un,setupContext:null,suspense:ii,suspenseId:ii?ii.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return ai.ctx={_:ai},ai.root=ti?ti.root:ai,ai.emit=mw.bind(null,ai),ei.ce&&ei.ce(ai),ai}let hl=null;const Ph=()=>hl||Xa;let Fm,Bp;{const ei=go(),ti=(ii,ni)=>{let si;return(si=ei[ii])||(si=ei[ii]=[]),si.push(ni),ai=>{si.length>1?si.forEach(li=>li(ai)):si[0](ai)}};Fm=ti("__VUE_INSTANCE_SETTERS__",ii=>hl=ii),Bp=ti("__VUE_SSR_SETTERS__",ii=>qh=ii)}const cd=ei=>{const ti=hl;return Fm(ei),ei.scope.on(),()=>{ei.scope.off(),Fm(ti)}},Hp=()=>{hl&&hl.scope.off(),Fm(null)},Tw=null;function G7(ei,{isNativeTag:ti}){(Tw(ei)||ti(ei))&&ll("Do not use built-in or reserved HTML elements as component id: "+ei)}function Iv(ei){return ei.vnode.shapeFlag&4}let qh=!1;function Pv(ei,ti=!1,ii=!1){ti&&Bp(ti);const{props:ni,children:si}=ei.vnode,ai=Iv(ei);wo(ei,ni,ai,ti),Qs(ei,si,ii);const li=ai?Lw(ei,ti):void 0;return ti&&Bp(!1),li}function Lw(ei,ti){var ii;const ni=ei.type;ei.accessCache=Object.create(null),ei.proxy=new Proxy(ei.ctx,Em);const{setup:si}=ni;if(si){const ai=ei.setupContext=si.length>1?Nv(ei):null,li=cd(ei);Eo();const fi=Pl(si,ei,0,[ei.props,ai]);if(Wa(),li(),Ri(fi)){if(fi.then(Hp,Hp),ti)return fi.then(hi=>{$p(ei,hi,ti)}).catch(hi=>{Su(hi,ei,0)});ei.asyncDep=fi}else $p(ei,fi,ti)}else qv(ei,ti)}function $p(ei,ti,ii){pn(ti)?ei.type.__ssrInlineRender?ei.ssrRender=ti:ei.render=ti:Ai(ti)&&(ei.setupState=sc(ti)),qv(ei,ii)}let Im,Vp;function Q7(ei){Im=ei,Vp=ti=>{ti.render._rc&&(ti.withProxy=new Proxy(ti.ctx,Tp))}}const Y7=()=>!Im;function qv(ei,ti,ii){const ni=ei.type;if(!ei.render){if(!ti&&Im&&!ni.render){const si=ni.template||is(ei).template;if(si){const{isCustomElement:ai,compilerOptions:li}=ei.appContext.config,{delimiters:fi,compilerOptions:hi}=ni,_i=rs(rs({isCustomElement:ai,delimiters:fi},li),hi);ni.render=Im(si,_i)}}ei.render=ni.render||ks,Vp&&Vp(ei)}{const si=cd(ei);Eo();try{qn(ei)}finally{Wa(),si()}}}const Rw={get(ei,ti){return Na(ei,"get",""),ei[ti]}};function J7(ei){return new Proxy(ei.slots,{get(ti,ii){return track(ei,"get","$slots"),ti[ii]}})}function Nv(ei){const ti=ii=>{ei.exposed=ii||{}};return{attrs:new Proxy(ei.attrs,Rw),slots:ei.slots,emit:ei.emit,expose:ti}}function Nh(ei){return ei.exposed?ei.exposeProxy||(ei.exposeProxy=new Proxy(sc(Lo(ei.exposed)),{get(ti,ii){if(ii in ti)return ti[ii];if(ii in uu)return uu[ii](ei)},has(ti,ii){return ii in ti||ii in uu}})):ei.proxy}const Mw=/(?:^|[-_])(\w)/g,Ow=ei=>ei.replace(Mw,ti=>ti.toUpperCase()).replace(/[-_]/g,"");function Bh(ei,ti=!0){return pn(ei)?ei.displayName||ei.name:ei.name||ti&&ei.__name}function Up(ei,ti,ii=!1){let ni=Bh(ti);if(!ni&&ti.__file){const si=ti.__file.match(/([^/\\]+)\.\w+$/);si&&(ni=si[1])}if(!ni&&ei&&ei.parent){const si=ai=>{for(const li in ai)if(ai[li]===ti)return li};ni=si(ei.components||ei.parent.type.components)||si(ei.appContext.components)}return ni?Ow(ni):ii?"App":"Anonymous"}function Bv(ei){return pn(ei)&&"__vccOpts"in ei}const Dw=(ei,ti)=>yc(ei,ti,qh);function Z7(ei,ti,ii){const ni=arguments.length;return ni===2?isObject(ti)&&!isArray(ti)?ld(ti)?za(ei,null,[ti]):za(ei,ti):za(ei,null,ti):(ni>3?ii=Array.prototype.slice.call(arguments,2):ni===3&&ld(ii)&&(ii=[ii]),za(ei,ti,ii))}function eR(){return;function ai(Mi){const Ki=[];Mi.type.props&&Mi.props&&Ki.push(li("props",toRaw(Mi.props))),Mi.setupState!==EMPTY_OBJ&&Ki.push(li("setup",Mi.setupState)),Mi.data!==EMPTY_OBJ&&Ki.push(li("data",toRaw(Mi.data)));const on=hi(Mi,"computed");on&&Ki.push(li("computed",on));const hn=hi(Mi,"inject");return hn&&Ki.push(li("injected",hn)),Ki.push(["div",{},["span",{style:ni.style+";opacity:0.66"},"$ (internal): "],["object",{object:Mi}]]),Ki}function li(Mi,Ki){return Ki=extend({},Ki),Object.keys(Ki).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},Mi],["div",{style:"padding-left:1.25em"},...Object.keys(Ki).map(on=>["div",{},["span",ni,on+": "],fi(Ki[on],!1)])]]:["span",{}]}function fi(Mi,Ki=!0){return typeof Mi=="number"?["span",ti,Mi]:typeof Mi=="string"?["span",ii,JSON.stringify(Mi)]:typeof Mi=="boolean"?["span",ni,Mi]:isObject(Mi)?["object",{object:Ki?toRaw(Mi):Mi}]:["span",ii,String(Mi)]}function hi(Mi,Ki){const on=Mi.type;if(isFunction(on))return;const hn={};for(const gn in Mi.ctx)_i(on,gn,Ki)&&(hn[gn]=Mi.ctx[gn]);return hn}function _i(Mi,Ki,on){const hn=Mi[on];if(isArray(hn)&&hn.includes(Ki)||isObject(hn)&&Ki in hn||Mi.extends&&_i(Mi.extends,Ki,on)||Mi.mixins&&Mi.mixins.some(gn=>_i(gn,Ki,on)))return!0}function ji(Mi){return isShallow(Mi)?"ShallowRef":Mi.effect?"ComputedRef":"Ref"}}function tR(ei,ti,ii,ni){const si=ii[ni];if(si&&Fw(si,ei))return si;const ai=ti();return ai.memo=ei.slice(),ai.cacheIndex=ni,ii[ni]=ai}function Fw(ei,ti){const ii=ei.memo;if(ii.length!=ti.length)return!1;for(let ni=0;ni<ii.length;ni++)if(hasChanged(ii[ni],ti[ni]))return!1;return ad>0&&Bl&&Bl.push(ei),!0}const Iw="3.4.35",iR=null,nR=null,sR=$c,rR=null,oR={createComponentInstance:Fv,setupComponent:Pv,renderComponentRoot:Om,setCurrentRenderingInstance:$a,isVNode:ld,normalizeVNode:Yl,getComponentPublicInstance:Nh},aR=null,lR=null,cR=null,uR=null,Pw=(ei,ti)=>{const ii=ei.__vccOpts||ei;for(const[ni,si]of ti)ii[ni]=si;return ii},qw={props:{title:{type:String,default:""},points:{type:Array,default:()=>[]},height:{type:Number,default:100},width:{type:Number,default:300},showYAxis:{type:Boolean,default:!1},showXAxis:{type:Boolean,default:!1},labelHeight:{type:Number,default:12},showTrendLine:{type:Boolean,default:!1},trendLineColor:{type:String,default:"green"},trendLineWidth:{type:Number,default:2},easeIn:{type:Boolean,default:!0},showValues:{type:Boolean,default:!1},maxYAxis:{type:Number,default:0},animationDuration:{type:Number,default:.5},barColor:{type:String,default:"deepskyblue"},textColor:{type:String,default:"black"},textAltColor:{type:String,default:"black"},textFont:{type:String,default:"10px sans-serif"},useCustomLabels:{type:Boolean,default:!1},customLabels:{type:Array,default:()=>[]}},data(){return{dynamicPoints:[],staticPoints:[],extraTopHeightForYAxisLabel:4,extraBottomHeightForYAxisLabel:4,digitsUsedInYAxis:0}},computed:{usingObjectsForDataPoints(){return this.points.every(ei=>typeof ei=="object")},dataPoints(){return this.usingObjectsForDataPoints?this.points.map(ei=>ei.value):this.points},dataLabels(){return this.points.map((ei,ti)=>this.useCustomLabels?this.customLabels[ti]:this.usingObjectsForDataPoints?ei.label:ti+1)},dataColors(){return this.points.map(ei=>({barColor:ei&&ei.barColor?ei.barColor:this.barColor,textColor:ei&&ei.textColor?ei.textColor:this.textColor,textAltColor:ei&&ei.textAltColor?ei.textAltColor:this.textAltColor}))},yAxisWidth(){return this.digitsUsedInYAxis*5.8+5},xAxisHeight(){return this.showYAxis?this.labelHeight:this.labelHeight+this.extraBottomHeightForYAxisLabel+this.extraTopHeightForYAxisLabel},fullSvgWidth(){return this.width},fullSvgHeight(){return this.height},innerChartWidth(){return this.showYAxis?this.width-this.yAxisWidth:this.width},innerChartHeight(){let ei=this.height;return this.showYAxis&&(ei-=this.extraTopHeightForYAxisLabel+this.extraBottomHeightForYAxisLabel),this.showXAxis&&(ei-=this.xAxisHeight),ei},partitionWidth(){return this.innerChartWidth/this.dataPoints.length},maxDomain(){return this.maxYAxis?this.maxYAxis:Math.ceil(Math.max(...this.dataPoints))},chartData(){return this.dynamicPoints.map((ei,ti)=>({staticValue:this.staticPoints[ti],index:ti,label:this.dataLabels[ti],width:this.partitionWidth-2,midPoint:this.partitionWidth/2,yLabel:this.innerChartHeight+4,x:ti*this.partitionWidth,xMidpoint:ti*this.partitionWidth+this.partitionWidth/2,yOffset:this.innerChartHeight-this.y(ei),height:this.y(ei),barColor:this.dataColors[ti].barColor,textColor:this.dataColors[ti].textColor,textAltColor:this.dataColors[ti].textAltColor}))},trendLine(){const ei=this.applySlope(this.dynamicPoints);return{x1:this.partitionWidth/2,y1:this.roundTo(this.innerChartHeight-this.y(ei[0]),2),x2:this.innerChartWidth-this.partitionWidth/2,y2:this.roundTo(this.innerChartHeight-this.y(ei[ei.length-1]),2)}}},watch:{dataPoints(ei){this.tween(ei)}},created(){this.easeIn?this.tween(this.dataPoints):(this.dynamicPoints=this.dataPoints,this.staticPoints=this.dataPoints)},methods:{y(ei){return ei/this.maxDomain*this.innerChartHeight},roundTo(ei,ti=0){let ii=!1,ni=ei;ni<0&&(ii=!0,ni*=-1);const si=10**ti;return ni=parseFloat((ni*si).toFixed(11)),ni=(Math.round(ni)/si).toFixed(2),ii&&(ni=(ni*-1).toFixed(2)),ni},easeInFunc(ei){return 1-Math.cos(ei*(Math.PI/2))},tween(ei){this.staticPoints=ei,this.dynamicPoints=Array(ei.length).fill(0);const ti=this.dynamicPoints,ii=200,ni=10;let si=new Date().getTime(),ai=setInterval(()=>{if(this.dynamicPoints!==ti){clearInterval(ai);return}let li=(new Date().getTime()-si)/ii;if(li=li<0?1:Math.min(li,1),li>=1){clearInterval(ai),this.dynamicPoints=ei;return}for(let fi=0;fi<ti.length;fi+=1)this.dynamicPoints[fi]=this.easeInFunc(li)*ei[fi]},ni)},getTicks(){for(let ei=6;ei>0;ei-=1)if(this.maxDomain%ei===0){const ti=ei<3,ii=ti?3:ei;return this.digitsUsedInYAxis=this.maxDomain.toFixed(ti?1:0).replace(".","").length,[...new Array(ii+1)].map((ni,si)=>{const ai=this.maxDomain/ii*(ii-si),li=this.innerChartHeight/ii*si;return{key:si,text:ti?ai.toFixed(1):ai,yText:li<10?10:li+4,x1:this.yAxisWidth-4,y1:li,x2:this.yAxisWidth-1,y2:li}})}return[]},applySlope(ei){let ti=0,ii=0;for(let hi=0;hi<ei.length;hi+=1)ti+=hi,ii+=ei[hi];ti/=ei.length,ii/=ei.length;let ni=0,si=0;for(let hi=0;hi<ei.length;hi+=1)ni+=(hi-ti)*(ei[hi]-ii),si+=(hi-ti)**2;const ai=ni/si,li=ii-ai*ti,fi=[];for(let hi=0;hi<ei.length;hi+=1)fi.push(ai*hi+li);return fi}}},Nw=["width","height"],Bw={key:0,id:"title"},Hw=["transform"],$w=["transform","width","height"],Vw=["transform"],Uw=["width","height","y"],Ww=["x","y","dy"],zw={key:1},Kw=["x","y"],Xw=["x1","x2","y1","y2"],Gw=["x1","y1","x2","y2","stroke-width","stroke"],Qw={key:0},Yw=["x1","x2","y1","y2"],Jw={key:1},Zw=["x1","x2","y1"],e1=["x1","y1","x2","y2"],t1=["y"];function i1(ei,ti,ii,ni,si,ai){return uc(),hu("svg",{width:ai.fullSvgWidth,height:ai.fullSvgHeight,"aria-labelledby":"title",role:"img"},[ii.title?(uc(),hu("title",Bw,ia(ii.title),1)):Kd("",!0),Sc("g",{transform:`translate(0,${ii.showYAxis?si.extraTopHeightForYAxisLabel:0})`},[Sc("g",{transform:`translate(${ii.showYAxis?ai.yAxisWidth:0},0)`,width:ai.innerChartWidth,height:ai.innerChartHeight},[(uc(!0),hu(xl,null,kp(ai.chartData,li=>(uc(),hu("g",{key:li.index,transform:`translate(${li.x},0)`},[Sc("title",null,[nd(ei.$slots,"title",{bar:li},()=>[Sc("tspan",null,ia(li.staticValue),1)])]),Sc("rect",{width:li.width,height:li.height,x:2,y:li.yOffset,style:_o({fill:li.barColor})},null,12,Uw),ii.showValues?(uc(),hu("text",{key:0,x:li.midPoint,y:li.yOffset,dy:`${li.height<22?"-5px":"15px"}`,"text-anchor":"middle",style:_o({fill:li.height<22?li.textColor:li.textAltColor,font:ii.textFont})},ia(li.staticValue),13,Ww)):Kd("",!0),ii.showXAxis?(uc(),hu("g",zw,[nd(ei.$slots,"label",{bar:li,textStyle:{fill:ii.textColor,font:ii.textFont}},()=>[Sc("text",{x:li.midPoint,y:`${li.yLabel+10}px`,"text-anchor":"middle",style:_o({fill:ii.textColor,font:ii.textFont})},ia(li.label),13,Kw)]),Sc("line",{x1:li.midPoint,x2:li.midPoint,y1:ai.innerChartHeight+3,y2:ai.innerChartHeight,stroke:"#555555","stroke-width":"1"},null,8,Xw)])):Kd("",!0)],8,Vw))),128)),ii.showTrendLine?(uc(),hu("line",{key:0,x1:ai.trendLine.x1,y1:ai.trendLine.y1,x2:ai.trendLine.x2,y2:ai.trendLine.y2,"stroke-width":ii.trendLineWidth,stroke:ii.trendLineColor},null,8,Gw)):Kd("",!0)],8,$w),ii.showXAxis?(uc(),hu("g",Qw,[Sc("line",{x1:ii.showYAxis?ai.yAxisWidth-1:2,x2:ai.innerChartWidth+ai.yAxisWidth,y1:ai.innerChartHeight,y2:ai.innerChartHeight,stroke:"#555555","stroke-width":"1"},null,8,Yw)])):Kd("",!0),ii.showYAxis?(uc(),hu("g",Jw,[Sc("line",{x1:ai.yAxisWidth-1,x2:ai.yAxisWidth-1,y1:ai.innerChartHeight,y2:"0",stroke:"#555555","stroke-width":"1"},null,8,Zw),(uc(!0),hu(xl,null,kp(ai.getTicks(),li=>(uc(),hu("g",{key:li.key},[Sc("line",{x1:li.x1,y1:li.y1,x2:li.x2,y2:li.y2,stroke:"#555555","stroke-width":"1"},null,8,e1),Sc("text",{x:"0",y:li.yText,"alignment-baseline":"central",style:_o({fill:ii.textColor,font:ii.textFont})},ia(li.text),13,t1)]))),128))])):Kd("",!0)],8,Hw)],8,Nw)}const Hv=Pw(qw,[["render",i1]]);function Wp(ei){Wp.installed||(Wp.installed=!0,ei.component("VueBarGraph",Hv))}const n1={install:Wp};let Pm=null;typeof window<"u"?Pm=window.Vue:typeof __webpack_require__.g<"u"&&(Pm=__webpack_require__.g.Vue),Pm&&Pm.use(n1);var Rl=__webpack_require__("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");const s1="http://www.w3.org/2000/svg",r1="http://www.w3.org/1998/Math/MathML",Sf=typeof document<"u"?document:null,$v=Sf&&Sf.createElement("template"),o1={insert:(ei,ti,ii)=>{ti.insertBefore(ei,ii||null)},remove:ei=>{const ti=ei.parentNode;ti&&ti.removeChild(ei)},createElement:(ei,ti,ii,ni)=>{const si=ti==="svg"?Sf.createElementNS(s1,ei):ti==="mathml"?Sf.createElementNS(r1,ei):Sf.createElement(ei,ii?{is:ii}:void 0);return ei==="select"&&ni&&ni.multiple!=null&&si.setAttribute("multiple",ni.multiple),si},createText:ei=>Sf.createTextNode(ei),createComment:ei=>Sf.createComment(ei),setText:(ei,ti)=>{ei.nodeValue=ti},setElementText:(ei,ti)=>{ei.textContent=ti},parentNode:ei=>ei.parentNode,nextSibling:ei=>ei.nextSibling,querySelector:ei=>Sf.querySelector(ei),setScopeId(ei,ti){ei.setAttribute(ti,"")},insertStaticContent(ei,ti,ii,ni,si,ai){const li=ii?ii.previousSibling:ti.lastChild;if(si&&(si===ai||si.nextSibling))for(;ti.insertBefore(si.cloneNode(!0),ii),!(si===ai||!(si=si.nextSibling)););else{$v.innerHTML=ni==="svg"?`<svg>${ei}</svg>`:ni==="mathml"?`<math>${ei}</math>`:ei;const fi=$v.content;if(ni==="svg"||ni==="mathml"){const hi=fi.firstChild;for(;hi.firstChild;)fi.appendChild(hi.firstChild);fi.removeChild(hi)}ti.insertBefore(fi,ii)}return[li?li.nextSibling:ti.firstChild,ii?ii.previousSibling:ti.lastChild]}},Cf="transition",Hh="animation",Xd=Symbol("_vtc"),Vv=(ei,{slots:ti})=>(0,ri.h)(ri.pR,zv(ei),ti);Vv.displayName="Transition";const Uv={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},a1=Vv.props=(0,yi.X$)({},ri.QP,Uv),ud=(ei,ti=[])=>{(0,yi.cy)(ei)?ei.forEach(ii=>ii(...ti)):ei&&ei(...ti)},Wv=ei=>ei?(0,yi.cy)(ei)?ei.some(ti=>ti.length>1):ei.length>1:!1;function zv(ei){const ti={};for(const Es in ei)Es in Uv||(ti[Es]=ei[Es]);if(ei.css===!1)return ti;const{name:ii="v",type:ni,duration:si,enterFromClass:ai=`${ii}-enter-from`,enterActiveClass:li=`${ii}-enter-active`,enterToClass:fi=`${ii}-enter-to`,appearFromClass:hi=ai,appearActiveClass:_i=li,appearToClass:ji=fi,leaveFromClass:Mi=`${ii}-leave-from`,leaveActiveClass:Ki=`${ii}-leave-active`,leaveToClass:on=`${ii}-leave-to`}=ei,hn=l1(si),gn=hn&&hn[0],es=hn&&hn[1],{onBeforeEnter:Wn,onEnter:Gn,onEnterCancelled:Dn,onLeave:Xi,onLeaveCancelled:Bn,onBeforeAppear:Kn=Wn,onAppear:us=Gn,onAppearCancelled:$s=Dn}=ti,ws=(Es,Yr,Co)=>{Ef(Es,Yr?ji:fi),Ef(Es,Yr?_i:li),Co&&Co()},Cs=(Es,Yr)=>{Es._isLeaving=!1,Ef(Es,Mi),Ef(Es,on),Ef(Es,Ki),Yr&&Yr()},zs=Es=>(Yr,Co)=>{const Ho=Es?us:Gn,Qr=()=>ws(Yr,Es,Co);ud(Ho,[Yr,Qr]),Kv(()=>{Ef(Yr,Es?hi:ai),sf(Yr,Es?ji:fi),Wv(Ho)||Xv(Yr,ni,gn,Qr)})};return(0,yi.X$)(ti,{onBeforeEnter(Es){ud(Wn,[Es]),sf(Es,ai),sf(Es,li)},onBeforeAppear(Es){ud(Kn,[Es]),sf(Es,hi),sf(Es,_i)},onEnter:zs(!1),onAppear:zs(!0),onLeave(Es,Yr){Es._isLeaving=!0;const Co=()=>Cs(Es,Yr);sf(Es,Mi),sf(Es,Ki),Jv(),Kv(()=>{Es._isLeaving&&(Ef(Es,Mi),sf(Es,on),Wv(Xi)||Xv(Es,ni,es,Co))}),ud(Xi,[Es,Co])},onEnterCancelled(Es){ws(Es,!1),ud(Dn,[Es])},onAppearCancelled(Es){ws(Es,!0),ud($s,[Es])},onLeaveCancelled(Es){Cs(Es),ud(Bn,[Es])}})}function l1(ei){if(ei==null)return null;if((0,yi.Gv)(ei))return[zp(ei.enter),zp(ei.leave)];{const ti=zp(ei);return[ti,ti]}}function zp(ei){return(0,yi.Ro)(ei)}function sf(ei,ti){ti.split(/\s+/).forEach(ii=>ii&&ei.classList.add(ii)),(ei[Xd]||(ei[Xd]=new Set)).add(ti)}function Ef(ei,ti){ti.split(/\s+/).forEach(ni=>ni&&ei.classList.remove(ni));const ii=ei[Xd];ii&&(ii.delete(ti),ii.size||(ei[Xd]=void 0))}function Kv(ei){requestAnimationFrame(()=>{requestAnimationFrame(ei)})}let c1=0;function Xv(ei,ti,ii,ni){const si=ei._endId=++c1,ai=()=>{si===ei._endId&&ni()};if(ii)return setTimeout(ai,ii);const{type:li,timeout:fi,propCount:hi}=Gv(ei,ti);if(!li)return ni();const _i=li+"end";let ji=0;const Mi=()=>{ei.removeEventListener(_i,Ki),ai()},Ki=on=>{on.target===ei&&++ji>=hi&&Mi()};setTimeout(()=>{ji<hi&&Mi()},fi+1),ei.addEventListener(_i,Ki)}function Gv(ei,ti){const ii=window.getComputedStyle(ei),ni=hn=>(ii[hn]||"").split(", "),si=ni(`${Cf}Delay`),ai=ni(`${Cf}Duration`),li=Qv(si,ai),fi=ni(`${Hh}Delay`),hi=ni(`${Hh}Duration`),_i=Qv(fi,hi);let ji=null,Mi=0,Ki=0;ti===Cf?li>0&&(ji=Cf,Mi=li,Ki=ai.length):ti===Hh?_i>0&&(ji=Hh,Mi=_i,Ki=hi.length):(Mi=Math.max(li,_i),ji=Mi>0?li>_i?Cf:Hh:null,Ki=ji?ji===Cf?ai.length:hi.length:0);const on=ji===Cf&&/\b(transform|all)(,|$)/.test(ni(`${Cf}Property`).toString());return{type:ji,timeout:Mi,propCount:Ki,hasTransform:on}}function Qv(ei,ti){for(;ei.length<ti.length;)ei=ei.concat(ei);return Math.max(...ti.map((ii,ni)=>Yv(ii)+Yv(ei[ni])))}function Yv(ei){return ei==="auto"?0:Number(ei.slice(0,-1).replace(",","."))*1e3}function Jv(){return document.body.offsetHeight}function u1(ei,ti,ii){const ni=ei[Xd];ni&&(ti=(ti?[ti,...ni]:[...ni]).join(" ")),ti==null?ei.removeAttribute("class"):ii?ei.setAttribute("class",ti):ei.className=ti}const qm=Symbol("_vod"),Zv=Symbol("_vsh"),Jl={beforeMount(ei,{value:ti},{transition:ii}){ei[qm]=ei.style.display==="none"?"":ei.style.display,ii&&ti?ii.beforeEnter(ei):$h(ei,ti)},mounted(ei,{value:ti},{transition:ii}){ii&&ti&&ii.enter(ei)},updated(ei,{value:ti,oldValue:ii},{transition:ni}){!ti!=!ii&&(ni?ti?(ni.beforeEnter(ei),$h(ei,!0),ni.enter(ei)):ni.leave(ei,()=>{$h(ei,!1)}):$h(ei,ti))},beforeUnmount(ei,{value:ti}){$h(ei,ti)}};function $h(ei,ti){ei.style.display=ti?ei[qm]:"none",ei[Zv]=!ti}function f1(){Jl.getSSRProps=({value:ei})=>{if(!ei)return{style:{display:"none"}}}}const e0=Symbol("");function fR(ei){const ti=getCurrentInstance();if(!ti)return;const ii=ti.ut=(si=ei(ti.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${ti.uid}"]`)).forEach(ai=>Xp(ai,si))},ni=()=>{const si=ei(ti.proxy);Kp(ti.subTree,si),ii(si)};onMounted(()=>{watchPostEffect(ni);const si=new MutationObserver(ni);si.observe(ti.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>si.disconnect())})}function Kp(ei,ti){if(ei.shapeFlag&128){const ii=ei.suspense;ei=ii.activeBranch,ii.pendingBranch&&!ii.isHydrating&&ii.effects.push(()=>{Kp(ii.activeBranch,ti)})}for(;ei.component;)ei=ei.component.subTree;if(ei.shapeFlag&1&&ei.el)Xp(ei.el,ti);else if(ei.type===Fragment)ei.children.forEach(ii=>Kp(ii,ti));else if(ei.type===Static){let{el:ii,anchor:ni}=ei;for(;ii&&(Xp(ii,ti),ii!==ni);)ii=ii.nextSibling}}function Xp(ei,ti){if(ei.nodeType===1){const ii=ei.style;let ni="";for(const si in ti)ii.setProperty(`--${si}`,ti[si]),ni+=`--${si}: ${ti[si]};`;ii[e0]=ni}}const d1=/(^|;)\s*display\s*:/;function h1(ei,ti,ii){const ni=ei.style,si=(0,yi.Kg)(ii);let ai=!1;if(ii&&!si){if(ti)if((0,yi.Kg)(ti))for(const li of ti.split(";")){const fi=li.slice(0,li.indexOf(":")).trim();ii[fi]==null&&Nm(ni,fi,"")}else for(const li in ti)ii[li]==null&&Nm(ni,li,"");for(const li in ii)li==="display"&&(ai=!0),Nm(ni,li,ii[li])}else if(si){if(ti!==ii){const li=ni[e0];li&&(ii+=";"+li),ni.cssText=ii,ai=d1.test(ii)}}else ti&&ei.removeAttribute("style");qm in ei&&(ei[qm]=ai?ni.display:"",ei[Zv]&&(ni.display="none"))}const dR=/[^\\];\s*$/,t0=/\s*!important$/;function Nm(ei,ti,ii){if((0,yi.cy)(ii))ii.forEach(ni=>Nm(ei,ti,ni));else if(ii==null&&(ii=""),ti.startsWith("--"))ei.setProperty(ti,ii);else{const ni=m1(ei,ti);t0.test(ii)?ei.setProperty((0,yi.Tg)(ni),ii.replace(t0,""),"important"):ei[ni]=ii}}const i0=["Webkit","Moz","ms"],Gp={};function m1(ei,ti){const ii=Gp[ti];if(ii)return ii;let ni=(0,yi.PT)(ti);if(ni!=="filter"&&ni in ei)return Gp[ti]=ni;ni=(0,yi.ZH)(ni);for(let si=0;si<i0.length;si++){const ai=i0[si]+ni;if(ai in ei)return Gp[ti]=ai}return ti}const n0="http://www.w3.org/1999/xlink";function p1(ei,ti,ii,ni,si){if(ni&&ti.startsWith("xlink:"))ii==null?ei.removeAttributeNS(n0,ti.slice(6,ti.length)):ei.setAttributeNS(n0,ti,ii);else{const ai=(0,yi.J$)(ti);ii==null||ai&&!(0,yi.Y2)(ii)?ei.removeAttribute(ti):ei.setAttribute(ti,ai?"":ii)}}function g1(ei,ti,ii,ni,si,ai,li){if(ti==="innerHTML"||ti==="textContent"){ni&&li(ni,si,ai),ei[ti]=ii??"";return}const fi=ei.tagName;if(ti==="value"&&fi!=="PROGRESS"&&!fi.includes("-")){const _i=fi==="OPTION"?ei.getAttribute("value")||"":ei.value,ji=ii??"";(_i!==ji||!("_value"in ei))&&(ei.value=ji),ii==null&&ei.removeAttribute(ti),ei._value=ii;return}let hi=!1;if(ii===""||ii==null){const _i=typeof ei[ti];_i==="boolean"?ii=(0,yi.Y2)(ii):ii==null&&_i==="string"?(ii="",hi=!0):_i==="number"&&(ii=0,hi=!0)}try{ei[ti]=ii}catch{}hi&&ei.removeAttribute(ti)}function rf(ei,ti,ii,ni){ei.addEventListener(ti,ii,ni)}function v1(ei,ti,ii,ni){ei.removeEventListener(ti,ii,ni)}const s0=Symbol("_vei");function b1(ei,ti,ii,ni,si=null){const ai=ei[s0]||(ei[s0]={}),li=ai[ti];if(ni&&li)li.value=ni;else{const[fi,hi]=_1(ti);if(ni){const _i=ai[ti]=x1(ni,si);rf(ei,fi,_i,hi)}else li&&(v1(ei,fi,li,hi),ai[ti]=void 0)}}const r0=/(?:Once|Passive|Capture)$/;function _1(ei){let ti;if(r0.test(ei)){ti={};let ni;for(;ni=ei.match(r0);)ei=ei.slice(0,ei.length-ni[0].length),ti[ni[0].toLowerCase()]=!0}return[ei[2]===":"?ei.slice(3):(0,yi.Tg)(ei.slice(2)),ti]}let Qp=0;const y1=Promise.resolve(),w1=()=>Qp||(y1.then(()=>Qp=0),Qp=Date.now());function x1(ei,ti){const ii=ni=>{if(!ni._vts)ni._vts=Date.now();else if(ni._vts<=ii.attached)return;(0,ri.qL)(j1(ni,ii.value),ti,5,[ni])};return ii.value=ei,ii.attached=w1(),ii}function hR(ei,ti){return isFunction(ei)||isArray(ei)?ei:(warn(`Wrong type passed as event handler to ${ti} - did you forget @ or : in front of your prop?
Expected function or array of functions, received type ${typeof ei}.`),NOOP)}function j1(ei,ti){if((0,yi.cy)(ti)){const ii=ei.stopImmediatePropagation;return ei.stopImmediatePropagation=()=>{ii.call(ei),ei._stopped=!0},ti.map(ni=>si=>!si._stopped&&ni&&ni(si))}else return ti}const o0=ei=>ei.charCodeAt(0)===111&&ei.charCodeAt(1)===110&&ei.charCodeAt(2)>96&&ei.charCodeAt(2)<123,S1=(ei,ti,ii,ni,si,ai,li,fi,hi)=>{const _i=si==="svg";ti==="class"?u1(ei,ni,_i):ti==="style"?h1(ei,ii,ni):(0,yi.Mp)(ti)?(0,yi.CP)(ti)||b1(ei,ti,ii,ni,li):(ti[0]==="."?(ti=ti.slice(1),!0):ti[0]==="^"?(ti=ti.slice(1),!1):C1(ei,ti,ni,_i))?g1(ei,ti,ni,ai,li,fi,hi):(ti==="true-value"?ei._trueValue=ni:ti==="false-value"&&(ei._falseValue=ni),p1(ei,ti,ni,_i))};function C1(ei,ti,ii,ni){if(ni)return!!(ti==="innerHTML"||ti==="textContent"||ti in ei&&o0(ti)&&(0,yi.Tn)(ii));if(ti==="spellcheck"||ti==="draggable"||ti==="translate"||ti==="form"||ti==="list"&&ei.tagName==="INPUT"||ti==="type"&&ei.tagName==="TEXTAREA")return!1;if(ti==="width"||ti==="height"){const si=ei.tagName;if(si==="IMG"||si==="VIDEO"||si==="CANVAS"||si==="SOURCE")return!1}return o0(ti)&&(0,yi.Kg)(ii)?!1:ti in ei}function E1(ei,ti){const ii=defineComponent(ei);class ni extends Yp{constructor(ai){super(ii,ai,ti)}}return ni.def=ii,ni}const mR=ei=>E1(ei,H1),k1=typeof HTMLElement<"u"?HTMLElement:class{};class Yp extends k1{constructor(ti,ii={},ni){super(),this._def=ti,this._props=ii,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&ni?ni(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,this._ob&&(this._ob.disconnect(),this._ob=null),(0,ri.dY)(()=>{this._connected||(y0(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let ni=0;ni<this.attributes.length;ni++)this._setAttr(this.attributes[ni].name);this._ob=new MutationObserver(ni=>{for(const si of ni)this._setAttr(si.attributeName)}),this._ob.observe(this,{attributes:!0});const ti=(ni,si=!1)=>{const{props:ai,styles:li}=ni;let fi;if(ai&&!(0,yi.cy)(ai))for(const hi in ai){const _i=ai[hi];(_i===Number||_i&&_i.type===Number)&&(hi in this._props&&(this._props[hi]=(0,yi.Ro)(this._props[hi])),(fi||(fi=Object.create(null)))[(0,yi.PT)(hi)]=!0)}this._numberProps=fi,si&&this._resolveProps(ni),this._applyStyles(li),this._update()},ii=this._def.__asyncLoader;ii?ii().then(ni=>ti(ni,!0)):ti(this._def)}_resolveProps(ti){const{props:ii}=ti,ni=(0,yi.cy)(ii)?ii:Object.keys(ii||{});for(const si of Object.keys(this))si[0]!=="_"&&ni.includes(si)&&this._setProp(si,this[si],!0,!1);for(const si of ni.map(yi.PT))Object.defineProperty(this,si,{get(){return this._getProp(si)},set(ai){this._setProp(si,ai)}})}_setAttr(ti){let ii=this.hasAttribute(ti)?this.getAttribute(ti):void 0;const ni=(0,yi.PT)(ti);this._numberProps&&this._numberProps[ni]&&(ii=(0,yi.Ro)(ii)),this._setProp(ni,ii,!1)}_getProp(ti){return this._props[ti]}_setProp(ti,ii,ni=!0,si=!0){ii!==this._props[ti]&&(this._props[ti]=ii,si&&this._instance&&this._update(),ni&&(ii===!0?this.setAttribute((0,yi.Tg)(ti),""):typeof ii=="string"||typeof ii=="number"?this.setAttribute((0,yi.Tg)(ti),ii+""):ii||this.removeAttribute((0,yi.Tg)(ti))))}_update(){y0(this._createVNode(),this.shadowRoot)}_createVNode(){const ti=(0,ri.bF)(this._def,(0,yi.X$)({},this._props));return this._instance||(ti.ce=ii=>{this._instance=ii,ii.isCE=!0;const ni=(ai,li)=>{this.dispatchEvent(new CustomEvent(ai,{detail:li}))};ii.emit=(ai,...li)=>{ni(ai,li),(0,yi.Tg)(ai)!==ai&&ni((0,yi.Tg)(ai),li)};let si=this;for(;si=si&&(si.parentNode||si.host);)if(si instanceof Yp){ii.parent=si._instance,ii.provides=si._instance.provides;break}}),ti}_applyStyles(ti){ti&&ti.forEach(ii=>{const ni=document.createElement("style");ni.textContent=ii,this.shadowRoot.appendChild(ni)})}}function pR(ei="$style"){{const ti=getCurrentInstance();if(!ti)return EMPTY_OBJ;const ii=ti.type.__cssModules;if(!ii)return EMPTY_OBJ;const ni=ii[ei];return ni||EMPTY_OBJ}}const a0=new WeakMap,l0=new WeakMap,Bm=Symbol("_moveCb"),c0=Symbol("_enterCb"),A1={name:"TransitionGroup",props:(0,yi.X$)({},a1,{tag:String,moveClass:String}),setup(ei,{slots:ti}){const ii=(0,ri.nI)(),ni=(0,ri.Gy)();let si,ai;return(0,ri.$u)(()=>{if(!si.length)return;const li=ei.moveClass||`${ei.name||"v"}-move`;if(!O1(si[0].el,ii.vnode.el,li))return;si.forEach(L1),si.forEach(R1);const fi=si.filter(M1);Jv(),fi.forEach(hi=>{const _i=hi.el,ji=_i.style;sf(_i,li),ji.transform=ji.webkitTransform=ji.transitionDuration="";const Mi=_i[Bm]=Ki=>{Ki&&Ki.target!==_i||(!Ki||/transform$/.test(Ki.propertyName))&&(_i.removeEventListener("transitionend",Mi),_i[Bm]=null,Ef(_i,li))};_i.addEventListener("transitionend",Mi)})}),()=>{const li=(0,Rl.ux)(ei),fi=zv(li);let hi=li.tag||ri.FK;if(si=[],ai)for(let _i=0;_i<ai.length;_i++){const ji=ai[_i];ji.el&&ji.el instanceof Element&&(si.push(ji),(0,ri.MZ)(ji,(0,ri.OW)(ji,fi,ni,ii)),a0.set(ji,ji.el.getBoundingClientRect()))}ai=ti.default?(0,ri.Df)(ti.default()):[];for(let _i=0;_i<ai.length;_i++){const ji=ai[_i];ji.key!=null&&(0,ri.MZ)(ji,(0,ri.OW)(ji,fi,ni,ii))}return(0,ri.bF)(hi,null,ai)}}},T1=ei=>delete ei.mode;A1.props;const gR=null;function L1(ei){const ti=ei.el;ti[Bm]&&ti[Bm](),ti[c0]&&ti[c0]()}function R1(ei){l0.set(ei,ei.el.getBoundingClientRect())}function M1(ei){const ti=a0.get(ei),ii=l0.get(ei),ni=ti.left-ii.left,si=ti.top-ii.top;if(ni||si){const ai=ei.el.style;return ai.transform=ai.webkitTransform=`translate(${ni}px,${si}px)`,ai.transitionDuration="0s",ei}}function O1(ei,ti,ii){const ni=ei.cloneNode(),si=ei[Xd];si&&si.forEach(fi=>{fi.split(/\s+/).forEach(hi=>hi&&ni.classList.remove(hi))}),ii.split(/\s+/).forEach(fi=>fi&&ni.classList.add(fi)),ni.style.display="none";const ai=ti.nodeType===1?ti:ti.parentNode;ai.appendChild(ni);const{hasTransform:li}=Gv(ni);return ai.removeChild(ni),li}const kf=ei=>{const ti=ei.props["onUpdate:modelValue"]||!1;return(0,yi.cy)(ti)?ii=>(0,yi.DY)(ti,ii):ti};function D1(ei){ei.target.composing=!0}function u0(ei){const ti=ei.target;ti.composing&&(ti.composing=!1,ti.dispatchEvent(new Event("input")))}const Wc=Symbol("_assign"),Cc={created(ei,{modifiers:{lazy:ti,trim:ii,number:ni}},si){ei[Wc]=kf(si);const ai=ni||si.props&&si.props.type==="number";rf(ei,ti?"change":"input",li=>{if(li.target.composing)return;let fi=ei.value;ii&&(fi=fi.trim()),ai&&(fi=(0,yi.bB)(fi)),ei[Wc](fi)}),ii&&rf(ei,"change",()=>{ei.value=ei.value.trim()}),ti||(rf(ei,"compositionstart",D1),rf(ei,"compositionend",u0),rf(ei,"change",u0))},mounted(ei,{value:ti}){ei.value=ti??""},beforeUpdate(ei,{value:ti,modifiers:{lazy:ii,trim:ni,number:si}},ai){if(ei[Wc]=kf(ai),ei.composing)return;const li=(si||ei.type==="number")&&!/^0\d/.test(ei.value)?(0,yi.bB)(ei.value):ei.value,fi=ti??"";li!==fi&&(document.activeElement===ei&&ei.type!=="range"&&(ii||ni&&ei.value.trim()===fi)||(ei.value=fi))}},Jp={deep:!0,created(ei,ti,ii){ei[Wc]=kf(ii),rf(ei,"change",()=>{const ni=ei._modelValue,si=Gd(ei),ai=ei.checked,li=ei[Wc];if((0,yi.cy)(ni)){const fi=(0,yi.u3)(ni,si),hi=fi!==-1;if(ai&&!hi)li(ni.concat(si));else if(!ai&&hi){const _i=[...ni];_i.splice(fi,1),li(_i)}}else if((0,yi.vM)(ni)){const fi=new Set(ni);ai?fi.add(si):fi.delete(si),li(fi)}else li(m0(ei,ai))})},mounted:f0,beforeUpdate(ei,ti,ii){ei[Wc]=kf(ii),f0(ei,ti,ii)}};function f0(ei,{value:ti,oldValue:ii},ni){ei._modelValue=ti,(0,yi.cy)(ti)?ei.checked=(0,yi.u3)(ti,ni.props.value)>-1:(0,yi.vM)(ti)?ei.checked=ti.has(ni.props.value):ti!==ii&&(ei.checked=(0,yi.BX)(ti,m0(ei,!0)))}const d0={created(ei,{value:ti},ii){ei.checked=(0,yi.BX)(ti,ii.props.value),ei[Wc]=kf(ii),rf(ei,"change",()=>{ei[Wc](Gd(ei))})},beforeUpdate(ei,{value:ti,oldValue:ii},ni){ei[Wc]=kf(ni),ti!==ii&&(ei.checked=(0,yi.BX)(ti,ni.props.value))}},F1={deep:!0,created(ei,{value:ti,modifiers:{number:ii}},ni){const si=(0,yi.vM)(ti);rf(ei,"change",()=>{const ai=Array.prototype.filter.call(ei.options,li=>li.selected).map(li=>ii?(0,yi.bB)(Gd(li)):Gd(li));ei[Wc](ei.multiple?si?new Set(ai):ai:ai[0]),ei._assigning=!0,(0,ri.dY)(()=>{ei._assigning=!1})}),ei[Wc]=kf(ni)},mounted(ei,{value:ti,modifiers:{number:ii}}){h0(ei,ti)},beforeUpdate(ei,ti,ii){ei[Wc]=kf(ii)},updated(ei,{value:ti,modifiers:{number:ii}}){ei._assigning||h0(ei,ti)}};function h0(ei,ti,ii){const ni=ei.multiple,si=(0,yi.cy)(ti);if(!(ni&&!si&&!(0,yi.vM)(ti))){for(let ai=0,li=ei.options.length;ai<li;ai++){const fi=ei.options[ai],hi=Gd(fi);if(ni)if(si){const _i=typeof hi;_i==="string"||_i==="number"?fi.selected=ti.some(ji=>String(ji)===String(hi)):fi.selected=(0,yi.u3)(ti,hi)>-1}else fi.selected=ti.has(hi);else if((0,yi.BX)(Gd(fi),ti)){ei.selectedIndex!==ai&&(ei.selectedIndex=ai);return}}!ni&&ei.selectedIndex!==-1&&(ei.selectedIndex=-1)}}function Gd(ei){return"_value"in ei?ei._value:ei.value}function m0(ei,ti){const ii=ti?"_trueValue":"_falseValue";return ii in ei?ei[ii]:ti}const I1={created(ei,ti,ii){Hm(ei,ti,ii,null,"created")},mounted(ei,ti,ii){Hm(ei,ti,ii,null,"mounted")},beforeUpdate(ei,ti,ii,ni){Hm(ei,ti,ii,ni,"beforeUpdate")},updated(ei,ti,ii,ni){Hm(ei,ti,ii,ni,"updated")}};function p0(ei,ti){switch(ei){case"SELECT":return F1;case"TEXTAREA":return Cc;default:switch(ti){case"checkbox":return Jp;case"radio":return d0;default:return Cc}}}function Hm(ei,ti,ii,ni,si){const li=p0(ei.tagName,ii.props&&ii.props.type)[si];li&&li(ei,ti,ii,ni)}function P1(){Cc.getSSRProps=({value:ei})=>({value:ei}),d0.getSSRProps=({value:ei},ti)=>{if(ti.props&&looseEqual(ti.props.value,ei))return{checked:!0}},Jp.getSSRProps=({value:ei},ti)=>{if(isArray(ei)){if(ti.props&&looseIndexOf(ei,ti.props.value)>-1)return{checked:!0}}else if(isSet(ei)){if(ti.props&&ei.has(ti.props.value))return{checked:!0}}else if(ei)return{checked:!0}},I1.getSSRProps=(ei,ti)=>{if(typeof ti.type!="string")return;const ii=p0(ti.type.toUpperCase(),ti.props&&ti.props.type);if(ii.getSSRProps)return ii.getSSRProps(ei,ti)}}const q1=["ctrl","shift","alt","meta"],N1={stop:ei=>ei.stopPropagation(),prevent:ei=>ei.preventDefault(),self:ei=>ei.target!==ei.currentTarget,ctrl:ei=>!ei.ctrlKey,shift:ei=>!ei.shiftKey,alt:ei=>!ei.altKey,meta:ei=>!ei.metaKey,left:ei=>"button"in ei&&ei.button!==0,middle:ei=>"button"in ei&&ei.button!==1,right:ei=>"button"in ei&&ei.button!==2,exact:(ei,ti)=>q1.some(ii=>ei[`${ii}Key`]&&!ti.includes(ii))},ml=(ei,ti)=>{const ii=ei._withMods||(ei._withMods={}),ni=ti.join(".");return ii[ni]||(ii[ni]=(si,...ai)=>{for(let li=0;li<ti.length;li++){const fi=N1[ti[li]];if(fi&&fi(si,ti))return}return ei(si,...ai)})},B1={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Qd=(ei,ti)=>{const ii=ei._withKeys||(ei._withKeys={}),ni=ti.join(".");return ii[ni]||(ii[ni]=si=>{if(!("key"in si))return;const ai=(0,yi.Tg)(si.key);if(ti.some(li=>li===ai||B1[li]===ai))return ei(si)})},g0=(0,yi.X$)({patchProp:S1},o1);let Vh,v0=!1;function b0(){return Vh||(Vh=(0,ri.K9)(g0))}function _0(){return Vh=v0?Vh:createHydrationRenderer(g0),v0=!0,Vh}const y0=(...ei)=>{b0().render(...ei)},H1=(...ei)=>{_0().hydrate(...ei)},dc=(...ei)=>{const ti=b0().createApp(...ei),{mount:ii}=ti;return ti.mount=ni=>{const si=x0(ni);if(!si)return;const ai=ti._component;!(0,yi.Tn)(ai)&&!ai.render&&!ai.template&&(ai.template=si.innerHTML),si.innerHTML="";const li=ii(si,!1,w0(si));return si instanceof Element&&(si.removeAttribute("v-cloak"),si.setAttribute("data-v-app","")),li},ti},vR=(...ei)=>{const ti=_0().createApp(...ei),{mount:ii}=ti;return ti.mount=ni=>{const si=x0(ni);if(si)return ii(si,!0,w0(si))},ti};function w0(ei){if(ei instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&ei instanceof MathMLElement)return"mathml"}function bR(ei){Object.defineProperty(ei.config,"isNativeTag",{value:ti=>isHTMLTag(ti)||isSVGTag(ti)||isMathMLTag(ti),writable:!1})}function _R(ei){if(isRuntimeOnly()){const ti=ei.config.isCustomElement;Object.defineProperty(ei.config,"isCustomElement",{get(){return ti},set(){warn("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const ii=ei.config.compilerOptions,ni='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(ei.config,"compilerOptions",{get(){return warn(ni),ii},set(){warn(ni)}})}}function x0(ei){return(0,yi.Kg)(ei)?document.querySelector(ei):ei}let j0=!1;const yR=()=>{j0||(j0=!0,P1(),f1())},S0={components:{VueBarGraph:Hv},data:()=>({colors:{barColor:"green",textColor:"black",textAltColor:"white"},activityTopAuthors:window.config.pageData.repoActivityTopAuthors||[]}),computed:{graphPoints(){return this.activityTopAuthors.map(ei=>({value:ei.commits,label:ei.name}))},graphAuthors(){return this.activityTopAuthors.map((ei,ti)=>({position:ti+1,...ei}))},graphWidth(){return this.activityTopAuthors.length*40}},mounted(){const ei=window.getComputedStyle(this.$refs.style),ti=window.getComputedStyle(this.$refs.altStyle);this.colors.barColor=ei.backgroundColor,this.colors.textColor=ei.color,this.colors.textAltColor=ti.color}};function $1(){const ei=document.getElementById("repo-activity-top-authors-chart");ei&&dc(S0).mount(ei)}var V1=S0,zc=__webpack_require__("./node_modules/vue-loader/dist/exportHelper.js");const wR=(0,zc.A)(V1,[["render",bn]]);var xR=null;const U1=ei=>((0,ri.Qi)("data-v-80805488"),ei=ei(),(0,ri.jt)(),ei),W1={key:0,class:"ui two item menu"},z1={class:"ui tab active list dashboard-repos"},K1={class:"ui top attached header tw-flex tw-items-center"},X1={class:"tw-flex-1 tw-flex tw-items-center"},G1={class:"ui grey label tw-ml-2"},Q1=["href","data-tooltip-content"],Y1={class:"ui attached segment repos-search"},J1={class:"ui small fluid action left icon input"},Z1=["placeholder"],ex=["title"],tx={class:"menu"},ix=["title"],nx=["title"],sx={class:"ui secondary pointing tabular borderless menu repos-filter"},rx={class:"overflow-menu-items tw-justify-center"},ox={key:0,class:"ui attached table segment tw-rounded-b"},ax={class:"repo-owner-name-list"},lx=["href"],cx={class:"text truncate"},ux={key:0},fx=["href","data-tooltip-content"],dx={key:0,class:"tw-text-center"},hx=U1(()=>(0,ri.Lk)("div",{class:"divider tw-my-0"},null,-1)),mx={class:"ui borderless pagination menu narrow tw-my-2"},px=["title"],gx=["title"],vx={class:"active item tw-py-1"},bx=["title"],_x=["title"],yx={key:1,class:"ui tab active list dashboard-orgs"},wx={class:"ui top attached header tw-flex tw-items-center"},xx={class:"tw-flex-1 tw-flex tw-items-center"},jx={class:"ui grey label tw-ml-2"},Sx=["href","data-tooltip-content"],Cx={key:0,class:"ui attached table segment tw-rounded-b"},Ex={class:"repo-owner-name-list"},kx=["href"],Ax={class:"text truncate"},Tx={key:0,class:"ui tiny basic label"},Lx={class:"text light grey tw-flex tw-items-center tw-ml-2"};function Rx(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("svg-icon");return(0,ri.uX)(),(0,ri.CE)("div",null,[ei.isOrganization?(0,ri.Q3)("v-if",!0):((0,ri.uX)(),(0,ri.CE)("div",W1,[(0,ri.Lk)("a",{class:(0,yi.C4)({item:!0,active:ei.tab==="repos"}),onClick:ti[0]||(ti[0]=fi=>ei.changeTab("repos"))},(0,yi.v_)(ei.textRepository),3),(0,ri.Lk)("a",{class:(0,yi.C4)({item:!0,active:ei.tab==="organizations"}),onClick:ti[1]||(ti[1]=fi=>ei.changeTab("organizations"))},(0,yi.v_)(ei.textOrganization),3)])),(0,ri.bo)((0,ri.Lk)("div",z1,[(0,ri.Lk)("h4",K1,[(0,ri.Lk)("div",X1,[(0,ri.eW)((0,yi.v_)(ei.textMyRepos)+" ",1),(0,ri.Lk)("span",G1,(0,yi.v_)(ei.reposTotalCount),1)]),(0,ri.Lk)("a",{class:"tw-flex tw-items-center muted",href:ei.subUrl+"/repo/create"+(ei.isOrganization?"?org="+ei.organizationId:""),"data-tooltip-content":ei.textNewRepo},[(0,ri.bF)(li,{name:"octicon-plus"})],8,Q1)]),(0,ri.Lk)("div",Y1,[(0,ri.Lk)("div",J1,[(0,ri.bo)((0,ri.Lk)("input",{type:"search",spellcheck:"false",maxlength:"255",onInput:ti[2]||(ti[2]=fi=>ei.changeReposFilter(ei.reposFilter)),"onUpdate:modelValue":ti[3]||(ti[3]=fi=>ei.searchQuery=fi),ref:"search",onKeydown:ti[4]||(ti[4]=(...fi)=>ei.reposFilterKeyControl&&ei.reposFilterKeyControl(...fi)),placeholder:ei.textSearchRepos},null,40,Z1),[[Cc,ei.searchQuery]]),(0,ri.Lk)("i",{class:(0,yi.C4)(["icon loading-icon-3px",{"is-loading":ei.isLoading}])},[(0,ri.bF)(li,{name:"octicon-search",size:16})],2),(0,ri.Lk)("div",{class:"ui dropdown icon button",title:ei.textFilter},[(0,ri.bF)(li,{name:"octicon-filter",size:16}),(0,ri.Lk)("div",tx,[(0,ri.Lk)("a",{class:"item",onClick:ti[5]||(ti[5]=fi=>ei.toggleArchivedFilter())},[(0,ri.Lk)("div",{class:"ui checkbox",ref:"checkboxArchivedFilter",title:ei.checkboxArchivedFilterTitle},[(0,ri.Q3)(`the "hidden" is necessary to make the checkbox work without Fomantic UI js,
otherwise if the "input" handles click event for intermediate status, it breaks the internal state`),(0,ri.Lk)("input",(0,ri.v6)({type:"checkbox",class:"hidden"},ei.checkboxArchivedFilterProps),null,16),(0,ri.Lk)("label",null,[(0,ri.bF)(li,{name:"octicon-archive",size:16,"class-name":"tw-mr-1"}),(0,ri.eW)(" "+(0,yi.v_)(ei.textShowArchived),1)])],8,ix)]),(0,ri.Lk)("a",{class:"item",onClick:ti[6]||(ti[6]=fi=>ei.togglePrivateFilter())},[(0,ri.Lk)("div",{class:"ui checkbox",ref:"checkboxPrivateFilter",title:ei.checkboxPrivateFilterTitle},[(0,ri.Lk)("input",(0,ri.v6)({type:"checkbox",class:"hidden"},ei.checkboxPrivateFilterProps),null,16),(0,ri.Lk)("label",null,[(0,ri.bF)(li,{name:"octicon-lock",size:16,"class-name":"tw-mr-1"}),(0,ri.eW)(" "+(0,yi.v_)(ei.textShowPrivate),1)])],8,nx)])])],8,ex)]),(0,ri.Lk)("overflow-menu",sx,[(0,ri.Lk)("div",rx,[(0,ri.Lk)("a",{class:(0,yi.C4)(["item",{active:ei.reposFilter==="all"}]),tabindex:"0",onClick:ti[7]||(ti[7]=fi=>ei.changeReposFilter("all"))},[(0,ri.eW)((0,yi.v_)(ei.textAll)+" ",1),(0,ri.bo)((0,ri.Lk)("div",{class:"ui circular mini grey label"},(0,yi.v_)(ei.repoTypeCount),513),[[Jl,ei.reposFilter==="all"]])],2),(0,ri.Lk)("a",{class:(0,yi.C4)(["item",{active:ei.reposFilter==="sources"}]),tabindex:"0",onClick:ti[8]||(ti[8]=fi=>ei.changeReposFilter("sources"))},[(0,ri.eW)((0,yi.v_)(ei.textSources)+" ",1),(0,ri.bo)((0,ri.Lk)("div",{class:"ui circular mini grey label"},(0,yi.v_)(ei.repoTypeCount),513),[[Jl,ei.reposFilter==="sources"]])],2),(0,ri.Lk)("a",{class:(0,yi.C4)(["item",{active:ei.reposFilter==="forks"}]),tabindex:"0",onClick:ti[9]||(ti[9]=fi=>ei.changeReposFilter("forks"))},[(0,ri.eW)((0,yi.v_)(ei.textForks)+" ",1),(0,ri.bo)((0,ri.Lk)("div",{class:"ui circular mini grey label"},(0,yi.v_)(ei.repoTypeCount),513),[[Jl,ei.reposFilter==="forks"]])],2),ei.isMirrorsEnabled?((0,ri.uX)(),(0,ri.CE)("a",{key:0,class:(0,yi.C4)(["item",{active:ei.reposFilter==="mirrors"}]),tabindex:"0",onClick:ti[10]||(ti[10]=fi=>ei.changeReposFilter("mirrors"))},[(0,ri.eW)((0,yi.v_)(ei.textMirrors)+" ",1),(0,ri.bo)((0,ri.Lk)("div",{class:"ui circular mini grey label"},(0,yi.v_)(ei.repoTypeCount),513),[[Jl,ei.reposFilter==="mirrors"]])],2)):(0,ri.Q3)("v-if",!0),(0,ri.Lk)("a",{class:(0,yi.C4)(["item",{active:ei.reposFilter==="collaborative"}]),tabindex:"0",onClick:ti[11]||(ti[11]=fi=>ei.changeReposFilter("collaborative"))},[(0,ri.eW)((0,yi.v_)(ei.textCollaborative)+" ",1),(0,ri.bo)((0,ri.Lk)("div",{class:"ui circular mini grey label"},(0,yi.v_)(ei.repoTypeCount),513),[[Jl,ei.reposFilter==="collaborative"]])],2)])])]),ei.repos.length?((0,ri.uX)(),(0,ri.CE)("div",ox,[(0,ri.Lk)("ul",ax,[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.repos,(fi,hi)=>((0,ri.uX)(),(0,ri.CE)("li",{class:(0,yi.C4)(["tw-flex tw-items-center tw-py-2",{active:hi===ei.activeIndex}]),key:fi.id},[(0,ri.Lk)("a",{class:"repo-list-link muted",href:fi.link},[(0,ri.bF)(li,{name:ei.repoIcon(fi),size:16,"class-name":"repo-list-icon"},null,8,["name"]),(0,ri.Lk)("div",cx,(0,yi.v_)(fi.full_name),1),fi.archived?((0,ri.uX)(),(0,ri.CE)("div",ux,[(0,ri.bF)(li,{name:"octicon-archive",size:16})])):(0,ri.Q3)("v-if",!0)],8,lx),fi.latest_commit_status_state?((0,ri.uX)(),(0,ri.CE)("a",{key:0,class:"tw-flex tw-items-center",href:fi.latest_commit_status_state_link,"data-tooltip-content":fi.locale_latest_commit_status_state},[(0,ri.Q3)(" the commit status icon logic is taken from templates/repo/commit_status.tmpl "),(0,ri.bF)(li,{name:ei.statusIcon(fi.latest_commit_status_state),"class-name":"tw-ml-2 commit-status icon text "+ei.statusColor(fi.latest_commit_status_state),size:16},null,8,["name","class-name"])],8,fx)):(0,ri.Q3)("v-if",!0)],2))),128))]),ei.showMoreReposLink?((0,ri.uX)(),(0,ri.CE)("div",dx,[hx,(0,ri.Lk)("div",mx,[(0,ri.Lk)("a",{class:(0,yi.C4)(["item navigation tw-py-1",{disabled:ei.page===1}]),onClick:ti[12]||(ti[12]=fi=>ei.changePage(1)),title:ei.textFirstPage},[(0,ri.bF)(li,{name:"gitea-double-chevron-left",size:16,"class-name":"tw-mr-1"})],10,px),(0,ri.Lk)("a",{class:(0,yi.C4)(["item navigation tw-py-1",{disabled:ei.page===1}]),onClick:ti[13]||(ti[13]=fi=>ei.changePage(ei.page-1)),title:ei.textPreviousPage},[(0,ri.bF)(li,{name:"octicon-chevron-left",size:16,"clsas-name":"tw-mr-1"})],10,gx),(0,ri.Lk)("a",vx,(0,yi.v_)(ei.page),1),(0,ri.Lk)("a",{class:(0,yi.C4)(["item navigation",{disabled:ei.page===ei.finalPage}]),onClick:ti[14]||(ti[14]=fi=>ei.changePage(ei.page+1)),title:ei.textNextPage},[(0,ri.bF)(li,{name:"octicon-chevron-right",size:16,"class-name":"tw-ml-1"})],10,bx),(0,ri.Lk)("a",{class:(0,yi.C4)(["item navigation tw-py-1",{disabled:ei.page===ei.finalPage}]),onClick:ti[15]||(ti[15]=fi=>ei.changePage(ei.finalPage)),title:ei.textLastPage},[(0,ri.bF)(li,{name:"gitea-double-chevron-right",size:16,"class-name":"tw-ml-1"})],10,_x)])])):(0,ri.Q3)("v-if",!0)])):(0,ri.Q3)("v-if",!0)],512),[[Jl,ei.tab==="repos"]]),ei.isOrganization?(0,ri.Q3)("v-if",!0):(0,ri.bo)(((0,ri.uX)(),(0,ri.CE)("div",yx,[(0,ri.Lk)("h4",wx,[(0,ri.Lk)("div",xx,[(0,ri.eW)((0,yi.v_)(ei.textMyOrgs)+" ",1),(0,ri.Lk)("span",jx,(0,yi.v_)(ei.organizationsTotalCount),1)]),ei.canCreateOrganization?((0,ri.uX)(),(0,ri.CE)("a",{key:0,class:"tw-flex tw-items-center muted",href:ei.subUrl+"/org/create","data-tooltip-content":ei.textNewOrg},[(0,ri.bF)(li,{name:"octicon-plus"})],8,Sx)):(0,ri.Q3)("v-if",!0)]),ei.organizations.length?((0,ri.uX)(),(0,ri.CE)("div",Cx,[(0,ri.Lk)("ul",Ex,[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.organizations,fi=>((0,ri.uX)(),(0,ri.CE)("li",{class:"tw-flex tw-items-center tw-py-2",key:fi.name},[(0,ri.Lk)("a",{class:"repo-list-link muted",href:ei.subUrl+"/"+encodeURIComponent(fi.name)},[(0,ri.bF)(li,{name:"octicon-organization",size:16,"class-name":"repo-list-icon"}),(0,ri.Lk)("div",Ax,(0,yi.v_)(fi.name),1),(0,ri.Lk)("div",null,[(0,ri.Q3)(" div to prevent underline of label on hover "),fi.org_visibility!=="public"?((0,ri.uX)(),(0,ri.CE)("span",Tx,(0,yi.v_)(fi.org_visibility==="limited"?ei.textOrgVisibilityLimited:ei.textOrgVisibilityPrivate),1)):(0,ri.Q3)("v-if",!0)])],8,kx),(0,ri.Lk)("div",Lx,[(0,ri.eW)((0,yi.v_)(fi.num_repos)+" ",1),(0,ri.bF)(li,{name:"octicon-repo",size:16,"class-name":"tw-ml-1 tw-mt-0.5"})])]))),128))])])):(0,ri.Q3)("v-if",!0)],512)),[[Jl,ei.tab==="organizations"]])])}var Hi=__webpack_require__("./node_modules/jquery/dist/jquery.js"),fd=__webpack_require__.n(Hi),Io=__webpack_require__("./web_src/js/svg.js"),so=__webpack_require__("./web_src/js/modules/fetch.js");const{appSubUrl:Mx,assetUrlPrefix:Ox,pageData:Dx}=window.config,C0={pending:{name:"octicon-dot-fill",color:"yellow"},success:{name:"octicon-check",color:"green"},error:{name:"gitea-exclamation",color:"red"},failure:{name:"octicon-x",color:"red"},warning:{name:"gitea-exclamation",color:"yellow"}},E0={components:{SvgIcon:Io.Ah},data(){const ei=new URLSearchParams(window.location.search),ti=ei.get("repo-search-tab")||"repos",ii=ei.get("repo-search-filter")||"all",ni=ei.get("repo-search-private")||"both",si=ei.get("repo-search-archived")||"unarchived",ai=ei.get("repo-search-query")||"",li=Number(ei.get("repo-search-page"))||1;return{tab:ti,repos:[],reposTotalCount:0,reposFilter:ii,archivedFilter:si,privateFilter:ni,page:li,finalPage:1,searchQuery:ai,isLoading:!1,staticPrefix:Ox,counts:{},repoTypes:{all:{searchMode:""},forks:{searchMode:"fork"},mirrors:{searchMode:"mirror"},sources:{searchMode:"source"},collaborative:{searchMode:"collaborative"}},textArchivedFilterTitles:{},textPrivateFilterTitles:{},organizations:[],isOrganization:!0,canCreateOrganization:!1,organizationsTotalCount:0,organizationId:0,subUrl:Mx,...Dx.dashboardRepoList,activeIndex:-1}},computed:{showMoreReposLink(){return this.repos.length>0&&this.repos.length<this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]},searchURL(){return`${this.subUrl}/repo/search?sort=updated&order=desc&uid=${this.uid}&team_id=${this.teamId}&q=${this.searchQuery}&page=${this.page}&limit=${this.searchLimit}&mode=${this.repoTypes[this.reposFilter].searchMode}${this.archivedFilter==="archived"?"&archived=true":""}${this.archivedFilter==="unarchived"?"&archived=false":""}${this.privateFilter==="private"?"&is_private=true":""}${this.privateFilter==="public"?"&is_private=false":""}`},repoTypeCount(){return this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]},checkboxArchivedFilterTitle(){return this.textArchivedFilterTitles[this.archivedFilter]},checkboxArchivedFilterProps(){return{checked:this.archivedFilter==="archived",indeterminate:this.archivedFilter==="both"}},checkboxPrivateFilterTitle(){return this.textPrivateFilterTitles[this.privateFilter]},checkboxPrivateFilterProps(){return{checked:this.privateFilter==="private",indeterminate:this.privateFilter==="both"}}},mounted(){const ei=document.getElementById("dashboard-repo-list");this.changeReposFilter(this.reposFilter),fd()(ei).find(".dropdown").dropdown(),(0,ri.dY)(()=>{this.$refs.search.focus()}),this.textArchivedFilterTitles={archived:this.textShowOnlyArchived,unarchived:this.textShowOnlyUnarchived,both:this.textShowBothArchivedUnarchived},this.textPrivateFilterTitles={private:this.textShowOnlyPrivate,public:this.textShowOnlyPublic,both:this.textShowBothPrivatePublic}},methods:{changeTab(ei){this.tab=ei,this.updateHistory()},changeReposFilter(ei){this.reposFilter=ei,this.repos=[],this.page=1,this.counts[`${ei}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},updateHistory(){const ei=new URLSearchParams(window.location.search);this.tab==="repos"?ei.delete("repo-search-tab"):ei.set("repo-search-tab",this.tab),this.reposFilter==="all"?ei.delete("repo-search-filter"):ei.set("repo-search-filter",this.reposFilter),this.privateFilter==="both"?ei.delete("repo-search-private"):ei.set("repo-search-private",this.privateFilter),this.archivedFilter==="unarchived"?ei.delete("repo-search-archived"):ei.set("repo-search-archived",this.archivedFilter),this.searchQuery===""?ei.delete("repo-search-query"):ei.set("repo-search-query",this.searchQuery),this.page===1?ei.delete("repo-search-page"):ei.set("repo-search-page",`${this.page}`);const ti=ei.toString();ti?window.history.replaceState({},"",`?${ti}`):window.history.replaceState({},"",window.location.pathname)},toggleArchivedFilter(){this.archivedFilter==="unarchived"?this.archivedFilter="archived":this.archivedFilter==="archived"?this.archivedFilter="both":this.archivedFilter="unarchived",this.page=1,this.repos=[],this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},togglePrivateFilter(){this.privateFilter==="both"?this.privateFilter="public":this.privateFilter==="public"?this.privateFilter="private":this.privateFilter="both",this.page=1,this.repos=[],this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},changePage(ei){this.page=ei,this.page>this.finalPage&&(this.page=this.finalPage),this.page<1&&(this.page=1),this.repos=[],this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},async searchRepos(){this.isLoading=!0;const ei=this.repoTypes[this.reposFilter].searchMode,ti=this.searchURL,ii=this.searchQuery;let ni,si;try{if(!this.reposTotalCount){const ai=`${this.subUrl}/repo/search?count_only=1&uid=${this.uid}&team_id=${this.teamId}&q=&page=1&mode=`;ni=await(0,so.fG)(ai),this.reposTotalCount=ni.headers.get("X-Total-Count")??"?"}ni=await(0,so.fG)(ti),si=await ni.json()}catch{ti===this.searchURL&&(this.isLoading=!1);return}if(ti===this.searchURL){this.repos=si.data.map(li=>({...li.repository,latest_commit_status_state:li.latest_commit_status?.State,latest_commit_status_state_link:li.latest_commit_status?.TargetURL,locale_latest_commit_status_state:li.locale_latest_commit_status}));const ai=ni.headers.get("X-Total-Count");ii===""&&ei===""&&this.archivedFilter==="both"&&(this.reposTotalCount=ai),this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=ai,this.finalPage=Math.ceil(ai/this.searchLimit),this.updateHistory(),this.isLoading=!1}},repoIcon(ei){return ei.fork?"octicon-repo-forked":ei.mirror?"octicon-mirror":ei.template?"octicon-repo-template":ei.private?"octicon-lock":(ei.internal,"octicon-repo")},statusIcon(ei){return C0[ei].name},statusColor(ei){return C0[ei].color},reposFilterKeyControl(ei){switch(ei.key){case"Enter":document.querySelector(".repo-owner-name-list li.active a")?.click();break;case"ArrowUp":this.activeIndex>0?this.activeIndex--:this.page>1&&(this.changePage(this.page-1),this.activeIndex=this.searchLimit-1);break;case"ArrowDown":this.activeIndex<this.repos.length-1?this.activeIndex++:this.page<this.finalPage&&(this.activeIndex=0,this.changePage(this.page+1));break;case"ArrowRight":this.page<this.finalPage&&this.changePage(this.page+1);break;case"ArrowLeft":this.page>1&&this.changePage(this.page-1);break}(this.activeIndex===-1||this.activeIndex>this.repos.length-1)&&(this.activeIndex=0)}}};function Fx(){const ei=document.getElementById("dashboard-repo-list");ei&&dc(E0).mount(ei)}var Ix=E0;const jR=(0,zc.A)(Ix,[["render",Rx],["__scopeId","data-v-80805488"]]);var SR=null;function Ec(ei){if(ei==null)return window;if(ei.toString()!=="[object Window]"){var ti=ei.ownerDocument;return ti&&ti.defaultView||window}return ei}function dd(ei){var ti=Ec(ei).Element;return ei instanceof ti||ei instanceof Element}function Kc(ei){var ti=Ec(ei).HTMLElement;return ei instanceof ti||ei instanceof HTMLElement}function Zp(ei){if(typeof ShadowRoot>"u")return!1;var ti=Ec(ei).ShadowRoot;return ei instanceof ti||ei instanceof ShadowRoot}var hd=Math.max,$m=Math.min,Yd=Math.round;function eg(){var ei=navigator.userAgentData;return ei!=null&&ei.brands&&Array.isArray(ei.brands)?ei.brands.map(function(ti){return ti.brand+"/"+ti.version}).join(" "):navigator.userAgent}function k0(){return!/^((?!chrome|android).)*safari/i.test(eg())}function Jd(ei,ti,ii){ti===void 0&&(ti=!1),ii===void 0&&(ii=!1);var ni=ei.getBoundingClientRect(),si=1,ai=1;ti&&Kc(ei)&&(si=ei.offsetWidth>0&&Yd(ni.width)/ei.offsetWidth||1,ai=ei.offsetHeight>0&&Yd(ni.height)/ei.offsetHeight||1);var li=dd(ei)?Ec(ei):window,fi=li.visualViewport,hi=!k0()&&ii,_i=(ni.left+(hi&&fi?fi.offsetLeft:0))/si,ji=(ni.top+(hi&&fi?fi.offsetTop:0))/ai,Mi=ni.width/si,Ki=ni.height/ai;return{width:Mi,height:Ki,top:ji,right:_i+Mi,bottom:ji+Ki,left:_i,x:_i,y:ji}}function tg(ei){var ti=Ec(ei),ii=ti.pageXOffset,ni=ti.pageYOffset;return{scrollLeft:ii,scrollTop:ni}}function Px(ei){return{scrollLeft:ei.scrollLeft,scrollTop:ei.scrollTop}}function qx(ei){return ei===Ec(ei)||!Kc(ei)?tg(ei):Px(ei)}function Ru(ei){return ei?(ei.nodeName||"").toLowerCase():null}function Af(ei){return((dd(ei)?ei.ownerDocument:ei.document)||window.document).documentElement}function ig(ei){return Jd(Af(ei)).left+tg(ei).scrollLeft}function of(ei){return Ec(ei).getComputedStyle(ei)}function ng(ei){var ti=of(ei),ii=ti.overflow,ni=ti.overflowX,si=ti.overflowY;return/auto|scroll|overlay|hidden/.test(ii+si+ni)}function Nx(ei){var ti=ei.getBoundingClientRect(),ii=Yd(ti.width)/ei.offsetWidth||1,ni=Yd(ti.height)/ei.offsetHeight||1;return ii!==1||ni!==1}function Bx(ei,ti,ii){ii===void 0&&(ii=!1);var ni=Kc(ti),si=Kc(ti)&&Nx(ti),ai=Af(ti),li=Jd(ei,si,ii),fi={scrollLeft:0,scrollTop:0},hi={x:0,y:0};return(ni||!ni&&!ii)&&((Ru(ti)!=="body"||ng(ai))&&(fi=qx(ti)),Kc(ti)?(hi=Jd(ti,!0),hi.x+=ti.clientLeft,hi.y+=ti.clientTop):ai&&(hi.x=ig(ai))),{x:li.left+fi.scrollLeft-hi.x,y:li.top+fi.scrollTop-hi.y,width:li.width,height:li.height}}function sg(ei){var ti=Jd(ei),ii=ei.offsetWidth,ni=ei.offsetHeight;return Math.abs(ti.width-ii)<=1&&(ii=ti.width),Math.abs(ti.height-ni)<=1&&(ni=ti.height),{x:ei.offsetLeft,y:ei.offsetTop,width:ii,height:ni}}function Vm(ei){return Ru(ei)==="html"?ei:ei.assignedSlot||ei.parentNode||(Zp(ei)?ei.host:null)||Af(ei)}function A0(ei){return["html","body","#document"].indexOf(Ru(ei))>=0?ei.ownerDocument.body:Kc(ei)&&ng(ei)?ei:A0(Vm(ei))}function Uh(ei,ti){var ii;ti===void 0&&(ti=[]);var ni=A0(ei),si=ni===((ii=ei.ownerDocument)==null?void 0:ii.body),ai=Ec(ni),li=si?[ai].concat(ai.visualViewport||[],ng(ni)?ni:[]):ni,fi=ti.concat(li);return si?fi:fi.concat(Uh(Vm(li)))}function Hx(ei){return["table","td","th"].indexOf(Ru(ei))>=0}function T0(ei){return!Kc(ei)||of(ei).position==="fixed"?null:ei.offsetParent}function $x(ei){var ti=/firefox/i.test(eg()),ii=/Trident/i.test(eg());if(ii&&Kc(ei)){var ni=of(ei);if(ni.position==="fixed")return null}var si=Vm(ei);for(Zp(si)&&(si=si.host);Kc(si)&&["html","body"].indexOf(Ru(si))<0;){var ai=of(si);if(ai.transform!=="none"||ai.perspective!=="none"||ai.contain==="paint"||["transform","perspective"].indexOf(ai.willChange)!==-1||ti&&ai.willChange==="filter"||ti&&ai.filter&&ai.filter!=="none")return si;si=si.parentNode}return null}function Wh(ei){for(var ti=Ec(ei),ii=T0(ei);ii&&Hx(ii)&&of(ii).position==="static";)ii=T0(ii);return ii&&(Ru(ii)==="html"||Ru(ii)==="body"&&of(ii).position==="static")?ti:ii||$x(ei)||ti}var hc="top",Xc="bottom",Gc="right",mc="left",rg="auto",zh=[hc,Xc,Gc,mc],Zd="start",Kh="end",Vx="clippingParents",L0="viewport",Xh="popper",Ux="reference",R0=zh.reduce(function(ei,ti){return ei.concat([ti+"-"+Zd,ti+"-"+Kh])},[]),M0=[].concat(zh,[rg]).reduce(function(ei,ti){return ei.concat([ti,ti+"-"+Zd,ti+"-"+Kh])},[]),Wx="beforeRead",zx="read",Kx="afterRead",Xx="beforeMain",Gx="main",Qx="afterMain",Yx="beforeWrite",Jx="write",Zx="afterWrite",e5=[Wx,zx,Kx,Xx,Gx,Qx,Yx,Jx,Zx];function t5(ei){var ti=new Map,ii=new Set,ni=[];ei.forEach(function(ai){ti.set(ai.name,ai)});function si(ai){ii.add(ai.name);var li=[].concat(ai.requires||[],ai.requiresIfExists||[]);li.forEach(function(fi){if(!ii.has(fi)){var hi=ti.get(fi);hi&&si(hi)}}),ni.push(ai)}return ei.forEach(function(ai){ii.has(ai.name)||si(ai)}),ni}function i5(ei){var ti=t5(ei);return e5.reduce(function(ii,ni){return ii.concat(ti.filter(function(si){return si.phase===ni}))},[])}function n5(ei){var ti;return function(){return ti||(ti=new Promise(function(ii){Promise.resolve().then(function(){ti=void 0,ii(ei())})})),ti}}function s5(ei){var ti=ei.reduce(function(ii,ni){var si=ii[ni.name];return ii[ni.name]=si?Object.assign({},si,ni,{options:Object.assign({},si.options,ni.options),data:Object.assign({},si.data,ni.data)}):ni,ii},{});return Object.keys(ti).map(function(ii){return ti[ii]})}var O0={placement:"bottom",modifiers:[],strategy:"absolute"};function D0(){for(var ei=arguments.length,ti=new Array(ei),ii=0;ii<ei;ii++)ti[ii]=arguments[ii];return!ti.some(function(ni){return!(ni&&typeof ni.getBoundingClientRect=="function")})}function r5(ei){ei===void 0&&(ei={});var ti=ei,ii=ti.defaultModifiers,ni=ii===void 0?[]:ii,si=ti.defaultOptions,ai=si===void 0?O0:si;return function(fi,hi,_i){_i===void 0&&(_i=ai);var ji={placement:"bottom",orderedModifiers:[],options:Object.assign({},O0,ai),modifiersData:{},elements:{reference:fi,popper:hi},attributes:{},styles:{}},Mi=[],Ki=!1,on={state:ji,setOptions:function(Wn){var Gn=typeof Wn=="function"?Wn(ji.options):Wn;gn(),ji.options=Object.assign({},ai,ji.options,Gn),ji.scrollParents={reference:dd(fi)?Uh(fi):fi.contextElement?Uh(fi.contextElement):[],popper:Uh(hi)};var Dn=i5(s5([].concat(ni,ji.options.modifiers)));return ji.orderedModifiers=Dn.filter(function(Xi){return Xi.enabled}),hn(),on.update()},forceUpdate:function(){if(!Ki){var Wn=ji.elements,Gn=Wn.reference,Dn=Wn.popper;if(D0(Gn,Dn)){ji.rects={reference:Bx(Gn,Wh(Dn),ji.options.strategy==="fixed"),popper:sg(Dn)},ji.reset=!1,ji.placement=ji.options.placement,ji.orderedModifiers.forEach(function(Cs){return ji.modifiersData[Cs.name]=Object.assign({},Cs.data)});for(var Xi=0;Xi<ji.orderedModifiers.length;Xi++){if(ji.reset===!0){ji.reset=!1,Xi=-1;continue}var Bn=ji.orderedModifiers[Xi],Kn=Bn.fn,us=Bn.options,$s=us===void 0?{}:us,ws=Bn.name;typeof Kn=="function"&&(ji=Kn({state:ji,options:$s,name:ws,instance:on})||ji)}}}},update:n5(function(){return new Promise(function(es){on.forceUpdate(),es(ji)})}),destroy:function(){gn(),Ki=!0}};if(!D0(fi,hi))return on;on.setOptions(_i).then(function(es){!Ki&&_i.onFirstUpdate&&_i.onFirstUpdate(es)});function hn(){ji.orderedModifiers.forEach(function(es){var Wn=es.name,Gn=es.options,Dn=Gn===void 0?{}:Gn,Xi=es.effect;if(typeof Xi=="function"){var Bn=Xi({state:ji,name:Wn,instance:on,options:Dn}),Kn=function(){};Mi.push(Bn||Kn)}})}function gn(){Mi.forEach(function(es){return es()}),Mi=[]}return on}}var CR=null,Um={passive:!0};function o5(ei){var ti=ei.state,ii=ei.instance,ni=ei.options,si=ni.scroll,ai=si===void 0?!0:si,li=ni.resize,fi=li===void 0?!0:li,hi=Ec(ti.elements.popper),_i=[].concat(ti.scrollParents.reference,ti.scrollParents.popper);return ai&&_i.forEach(function(ji){ji.addEventListener("scroll",ii.update,Um)}),fi&&hi.addEventListener("resize",ii.update,Um),function(){ai&&_i.forEach(function(ji){ji.removeEventListener("scroll",ii.update,Um)}),fi&&hi.removeEventListener("resize",ii.update,Um)}}var a5={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:o5,data:{}};function Mu(ei){return ei.split("-")[0]}function eh(ei){return ei.split("-")[1]}function og(ei){return["top","bottom"].indexOf(ei)>=0?"x":"y"}function F0(ei){var ti=ei.reference,ii=ei.element,ni=ei.placement,si=ni?Mu(ni):null,ai=ni?eh(ni):null,li=ti.x+ti.width/2-ii.width/2,fi=ti.y+ti.height/2-ii.height/2,hi;switch(si){case hc:hi={x:li,y:ti.y-ii.height};break;case Xc:hi={x:li,y:ti.y+ti.height};break;case Gc:hi={x:ti.x+ti.width,y:fi};break;case mc:hi={x:ti.x-ii.width,y:fi};break;default:hi={x:ti.x,y:ti.y}}var _i=si?og(si):null;if(_i!=null){var ji=_i==="y"?"height":"width";switch(ai){case Zd:hi[_i]=hi[_i]-(ti[ji]/2-ii[ji]/2);break;case Kh:hi[_i]=hi[_i]+(ti[ji]/2-ii[ji]/2);break;default:}}return hi}function l5(ei){var ti=ei.state,ii=ei.name;ti.modifiersData[ii]=F0({reference:ti.rects.reference,element:ti.rects.popper,strategy:"absolute",placement:ti.placement})}var c5={name:"popperOffsets",enabled:!0,phase:"read",fn:l5,data:{}},u5={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f5(ei,ti){var ii=ei.x,ni=ei.y,si=ti.devicePixelRatio||1;return{x:Yd(ii*si)/si||0,y:Yd(ni*si)/si||0}}function I0(ei){var ti,ii=ei.popper,ni=ei.popperRect,si=ei.placement,ai=ei.variation,li=ei.offsets,fi=ei.position,hi=ei.gpuAcceleration,_i=ei.adaptive,ji=ei.roundOffsets,Mi=ei.isFixed,Ki=li.x,on=Ki===void 0?0:Ki,hn=li.y,gn=hn===void 0?0:hn,es=typeof ji=="function"?ji({x:on,y:gn}):{x:on,y:gn};on=es.x,gn=es.y;var Wn=li.hasOwnProperty("x"),Gn=li.hasOwnProperty("y"),Dn=mc,Xi=hc,Bn=window;if(_i){var Kn=Wh(ii),us="clientHeight",$s="clientWidth";if(Kn===Ec(ii)&&(Kn=Af(ii),of(Kn).position!=="static"&&fi==="absolute"&&(us="scrollHeight",$s="scrollWidth")),Kn=Kn,si===hc||(si===mc||si===Gc)&&ai===Kh){Xi=Xc;var ws=Mi&&Kn===Bn&&Bn.visualViewport?Bn.visualViewport.height:Kn[us];gn-=ws-ni.height,gn*=hi?1:-1}if(si===mc||(si===hc||si===Xc)&&ai===Kh){Dn=Gc;var Cs=Mi&&Kn===Bn&&Bn.visualViewport?Bn.visualViewport.width:Kn[$s];on-=Cs-ni.width,on*=hi?1:-1}}var zs=Object.assign({position:fi},_i&&u5),Es=ji===!0?f5({x:on,y:gn},Ec(ii)):{x:on,y:gn};if(on=Es.x,gn=Es.y,hi){var Yr;return Object.assign({},zs,(Yr={},Yr[Xi]=Gn?"0":"",Yr[Dn]=Wn?"0":"",Yr.transform=(Bn.devicePixelRatio||1)<=1?"translate("+on+"px, "+gn+"px)":"translate3d("+on+"px, "+gn+"px, 0)",Yr))}return Object.assign({},zs,(ti={},ti[Xi]=Gn?gn+"px":"",ti[Dn]=Wn?on+"px":"",ti.transform="",ti))}function d5(ei){var ti=ei.state,ii=ei.options,ni=ii.gpuAcceleration,si=ni===void 0?!0:ni,ai=ii.adaptive,li=ai===void 0?!0:ai,fi=ii.roundOffsets,hi=fi===void 0?!0:fi,_i={placement:Mu(ti.placement),variation:eh(ti.placement),popper:ti.elements.popper,popperRect:ti.rects.popper,gpuAcceleration:si,isFixed:ti.options.strategy==="fixed"};ti.modifiersData.popperOffsets!=null&&(ti.styles.popper=Object.assign({},ti.styles.popper,I0(Object.assign({},_i,{offsets:ti.modifiersData.popperOffsets,position:ti.options.strategy,adaptive:li,roundOffsets:hi})))),ti.modifiersData.arrow!=null&&(ti.styles.arrow=Object.assign({},ti.styles.arrow,I0(Object.assign({},_i,{offsets:ti.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:hi})))),ti.attributes.popper=Object.assign({},ti.attributes.popper,{"data-popper-placement":ti.placement})}var h5={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:d5,data:{}};function m5(ei){var ti=ei.state;Object.keys(ti.elements).forEach(function(ii){var ni=ti.styles[ii]||{},si=ti.attributes[ii]||{},ai=ti.elements[ii];!Kc(ai)||!Ru(ai)||(Object.assign(ai.style,ni),Object.keys(si).forEach(function(li){var fi=si[li];fi===!1?ai.removeAttribute(li):ai.setAttribute(li,fi===!0?"":fi)}))})}function p5(ei){var ti=ei.state,ii={popper:{position:ti.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(ti.elements.popper.style,ii.popper),ti.styles=ii,ti.elements.arrow&&Object.assign(ti.elements.arrow.style,ii.arrow),function(){Object.keys(ti.elements).forEach(function(ni){var si=ti.elements[ni],ai=ti.attributes[ni]||{},li=Object.keys(ti.styles.hasOwnProperty(ni)?ti.styles[ni]:ii[ni]),fi=li.reduce(function(hi,_i){return hi[_i]="",hi},{});!Kc(si)||!Ru(si)||(Object.assign(si.style,fi),Object.keys(ai).forEach(function(hi){si.removeAttribute(hi)}))})}}var P0={name:"applyStyles",enabled:!0,phase:"write",fn:m5,effect:p5,requires:["computeStyles"]};function g5(ei,ti,ii){var ni=Mu(ei),si=[mc,hc].indexOf(ni)>=0?-1:1,ai=typeof ii=="function"?ii(Object.assign({},ti,{placement:ei})):ii,li=ai[0],fi=ai[1];return li=li||0,fi=(fi||0)*si,[mc,Gc].indexOf(ni)>=0?{x:fi,y:li}:{x:li,y:fi}}function v5(ei){var ti=ei.state,ii=ei.options,ni=ei.name,si=ii.offset,ai=si===void 0?[0,0]:si,li=M0.reduce(function(ji,Mi){return ji[Mi]=g5(Mi,ti.rects,ai),ji},{}),fi=li[ti.placement],hi=fi.x,_i=fi.y;ti.modifiersData.popperOffsets!=null&&(ti.modifiersData.popperOffsets.x+=hi,ti.modifiersData.popperOffsets.y+=_i),ti.modifiersData[ni]=li}var b5={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:v5},_5={left:"right",right:"left",bottom:"top",top:"bottom"};function Wm(ei){return ei.replace(/left|right|bottom|top/g,function(ti){return _5[ti]})}var y5={start:"end",end:"start"};function q0(ei){return ei.replace(/start|end/g,function(ti){return y5[ti]})}function w5(ei,ti){var ii=Ec(ei),ni=Af(ei),si=ii.visualViewport,ai=ni.clientWidth,li=ni.clientHeight,fi=0,hi=0;if(si){ai=si.width,li=si.height;var _i=k0();(_i||!_i&&ti==="fixed")&&(fi=si.offsetLeft,hi=si.offsetTop)}return{width:ai,height:li,x:fi+ig(ei),y:hi}}function x5(ei){var ti,ii=Af(ei),ni=tg(ei),si=(ti=ei.ownerDocument)==null?void 0:ti.body,ai=hd(ii.scrollWidth,ii.clientWidth,si?si.scrollWidth:0,si?si.clientWidth:0),li=hd(ii.scrollHeight,ii.clientHeight,si?si.scrollHeight:0,si?si.clientHeight:0),fi=-ni.scrollLeft+ig(ei),hi=-ni.scrollTop;return of(si||ii).direction==="rtl"&&(fi+=hd(ii.clientWidth,si?si.clientWidth:0)-ai),{width:ai,height:li,x:fi,y:hi}}function N0(ei,ti){var ii=ti.getRootNode&&ti.getRootNode();if(ei.contains(ti))return!0;if(ii&&Zp(ii)){var ni=ti;do{if(ni&&ei.isSameNode(ni))return!0;ni=ni.parentNode||ni.host}while(ni)}return!1}function ag(ei){return Object.assign({},ei,{left:ei.x,top:ei.y,right:ei.x+ei.width,bottom:ei.y+ei.height})}function j5(ei,ti){var ii=Jd(ei,!1,ti==="fixed");return ii.top=ii.top+ei.clientTop,ii.left=ii.left+ei.clientLeft,ii.bottom=ii.top+ei.clientHeight,ii.right=ii.left+ei.clientWidth,ii.width=ei.clientWidth,ii.height=ei.clientHeight,ii.x=ii.left,ii.y=ii.top,ii}function B0(ei,ti,ii){return ti===L0?ag(w5(ei,ii)):dd(ti)?j5(ti,ii):ag(x5(Af(ei)))}function S5(ei){var ti=Uh(Vm(ei)),ii=["absolute","fixed"].indexOf(of(ei).position)>=0,ni=ii&&Kc(ei)?Wh(ei):ei;return dd(ni)?ti.filter(function(si){return dd(si)&&N0(si,ni)&&Ru(si)!=="body"}):[]}function C5(ei,ti,ii,ni){var si=ti==="clippingParents"?S5(ei):[].concat(ti),ai=[].concat(si,[ii]),li=ai[0],fi=ai.reduce(function(hi,_i){var ji=B0(ei,_i,ni);return hi.top=hd(ji.top,hi.top),hi.right=$m(ji.right,hi.right),hi.bottom=$m(ji.bottom,hi.bottom),hi.left=hd(ji.left,hi.left),hi},B0(ei,li,ni));return fi.width=fi.right-fi.left,fi.height=fi.bottom-fi.top,fi.x=fi.left,fi.y=fi.top,fi}function H0(){return{top:0,right:0,bottom:0,left:0}}function $0(ei){return Object.assign({},H0(),ei)}function V0(ei,ti){return ti.reduce(function(ii,ni){return ii[ni]=ei,ii},{})}function Gh(ei,ti){ti===void 0&&(ti={});var ii=ti,ni=ii.placement,si=ni===void 0?ei.placement:ni,ai=ii.strategy,li=ai===void 0?ei.strategy:ai,fi=ii.boundary,hi=fi===void 0?Vx:fi,_i=ii.rootBoundary,ji=_i===void 0?L0:_i,Mi=ii.elementContext,Ki=Mi===void 0?Xh:Mi,on=ii.altBoundary,hn=on===void 0?!1:on,gn=ii.padding,es=gn===void 0?0:gn,Wn=$0(typeof es!="number"?es:V0(es,zh)),Gn=Ki===Xh?Ux:Xh,Dn=ei.rects.popper,Xi=ei.elements[hn?Gn:Ki],Bn=C5(dd(Xi)?Xi:Xi.contextElement||Af(ei.elements.popper),hi,ji,li),Kn=Jd(ei.elements.reference),us=F0({reference:Kn,element:Dn,strategy:"absolute",placement:si}),$s=ag(Object.assign({},Dn,us)),ws=Ki===Xh?$s:Kn,Cs={top:Bn.top-ws.top+Wn.top,bottom:ws.bottom-Bn.bottom+Wn.bottom,left:Bn.left-ws.left+Wn.left,right:ws.right-Bn.right+Wn.right},zs=ei.modifiersData.offset;if(Ki===Xh&&zs){var Es=zs[si];Object.keys(Cs).forEach(function(Yr){var Co=[Gc,Xc].indexOf(Yr)>=0?1:-1,Ho=[hc,Xc].indexOf(Yr)>=0?"y":"x";Cs[Yr]+=Es[Ho]*Co})}return Cs}function E5(ei,ti){ti===void 0&&(ti={});var ii=ti,ni=ii.placement,si=ii.boundary,ai=ii.rootBoundary,li=ii.padding,fi=ii.flipVariations,hi=ii.allowedAutoPlacements,_i=hi===void 0?M0:hi,ji=eh(ni),Mi=ji?fi?R0:R0.filter(function(hn){return eh(hn)===ji}):zh,Ki=Mi.filter(function(hn){return _i.indexOf(hn)>=0});Ki.length===0&&(Ki=Mi);var on=Ki.reduce(function(hn,gn){return hn[gn]=Gh(ei,{placement:gn,boundary:si,rootBoundary:ai,padding:li})[Mu(gn)],hn},{});return Object.keys(on).sort(function(hn,gn){return on[hn]-on[gn]})}function k5(ei){if(Mu(ei)===rg)return[];var ti=Wm(ei);return[q0(ei),ti,q0(ti)]}function A5(ei){var ti=ei.state,ii=ei.options,ni=ei.name;if(!ti.modifiersData[ni]._skip){for(var si=ii.mainAxis,ai=si===void 0?!0:si,li=ii.altAxis,fi=li===void 0?!0:li,hi=ii.fallbackPlacements,_i=ii.padding,ji=ii.boundary,Mi=ii.rootBoundary,Ki=ii.altBoundary,on=ii.flipVariations,hn=on===void 0?!0:on,gn=ii.allowedAutoPlacements,es=ti.options.placement,Wn=Mu(es),Gn=Wn===es,Dn=hi||(Gn||!hn?[Wm(es)]:k5(es)),Xi=[es].concat(Dn).reduce(function(eu,Ac){return eu.concat(Mu(Ac)===rg?E5(ti,{placement:Ac,boundary:ji,rootBoundary:Mi,padding:_i,flipVariations:hn,allowedAutoPlacements:gn}):Ac)},[]),Bn=ti.rects.reference,Kn=ti.rects.popper,us=new Map,$s=!0,ws=Xi[0],Cs=0;Cs<Xi.length;Cs++){var zs=Xi[Cs],Es=Mu(zs),Yr=eh(zs)===Zd,Co=[hc,Xc].indexOf(Es)>=0,Ho=Co?"width":"height",Qr=Gh(ti,{placement:zs,boundary:ji,rootBoundary:Mi,altBoundary:Ki,padding:_i}),xo=Co?Yr?Gc:mc:Yr?Xc:hc;Bn[Ho]>Kn[Ho]&&(xo=Wm(xo));var to=Wm(xo),ao=[];if(ai&&ao.push(Qr[Es]<=0),fi&&ao.push(Qr[xo]<=0,Qr[to]<=0),ao.every(function(eu){return eu})){ws=zs,$s=!1;break}us.set(zs,ao)}if($s)for(var Oa=hn?3:1,Sl=function(Ac){var pu=Xi.find(function(tu){var vc=us.get(tu);if(vc)return vc.slice(0,Ac).every(function(Fu){return Fu})});if(pu)return ws=pu,"break"},Ga=Oa;Ga>0;Ga--){var nl=Sl(Ga);if(nl==="break")break}ti.placement!==ws&&(ti.modifiersData[ni]._skip=!0,ti.placement=ws,ti.reset=!0)}}var T5={name:"flip",enabled:!0,phase:"main",fn:A5,requiresIfExists:["offset"],data:{_skip:!1}};function L5(ei){return ei==="x"?"y":"x"}function Qh(ei,ti,ii){return hd(ei,$m(ti,ii))}function R5(ei,ti,ii){var ni=Qh(ei,ti,ii);return ni>ii?ii:ni}function M5(ei){var ti=ei.state,ii=ei.options,ni=ei.name,si=ii.mainAxis,ai=si===void 0?!0:si,li=ii.altAxis,fi=li===void 0?!1:li,hi=ii.boundary,_i=ii.rootBoundary,ji=ii.altBoundary,Mi=ii.padding,Ki=ii.tether,on=Ki===void 0?!0:Ki,hn=ii.tetherOffset,gn=hn===void 0?0:hn,es=Gh(ti,{boundary:hi,rootBoundary:_i,padding:Mi,altBoundary:ji}),Wn=Mu(ti.placement),Gn=eh(ti.placement),Dn=!Gn,Xi=og(Wn),Bn=L5(Xi),Kn=ti.modifiersData.popperOffsets,us=ti.rects.reference,$s=ti.rects.popper,ws=typeof gn=="function"?gn(Object.assign({},ti.rects,{placement:ti.placement})):gn,Cs=typeof ws=="number"?{mainAxis:ws,altAxis:ws}:Object.assign({mainAxis:0,altAxis:0},ws),zs=ti.modifiersData.offset?ti.modifiersData.offset[ti.placement]:null,Es={x:0,y:0};if(Kn){if(ai){var Yr,Co=Xi==="y"?hc:mc,Ho=Xi==="y"?Xc:Gc,Qr=Xi==="y"?"height":"width",xo=Kn[Xi],to=xo+es[Co],ao=xo-es[Ho],Oa=on?-$s[Qr]/2:0,Sl=Gn===Zd?us[Qr]:$s[Qr],Ga=Gn===Zd?-$s[Qr]:-us[Qr],nl=ti.elements.arrow,eu=on&&nl?sg(nl):{width:0,height:0},Ac=ti.modifiersData["arrow#persistent"]?ti.modifiersData["arrow#persistent"].padding:H0(),pu=Ac[Co],tu=Ac[Ho],vc=Qh(0,us[Qr],eu[Qr]),Fu=Dn?us[Qr]/2-Oa-vc-pu-Cs.mainAxis:Sl-vc-pu-Cs.mainAxis,gu=Dn?-us[Qr]/2+Oa+vc+tu+Cs.mainAxis:Ga+vc+tu+Cs.mainAxis,Tc=ti.elements.arrow&&Wh(ti.elements.arrow),If=Tc?Xi==="y"?Tc.clientTop||0:Tc.clientLeft||0:0,lf=(Yr=zs?.[Xi])!=null?Yr:0,jn=xo+Fu-lf-If,Nn=xo+gu-lf,ms=Qh(on?$m(to,jn):to,xo,on?hd(ao,Nn):ao);Kn[Xi]=ms,Es[Xi]=ms-xo}if(fi){var Fs,Ls=Xi==="x"?hc:mc,Ps=Xi==="x"?Xc:Gc,Js=Kn[Bn],Xs=Bn==="y"?"height":"width",Zs=Js+es[Ls],Ds=Js-es[Ps],ro=[hc,mc].indexOf(Wn)!==-1,vo=(Fs=zs?.[Bn])!=null?Fs:0,po=ro?Zs:Js-us[Xs]-$s[Xs]-vo+Cs.altAxis,Oo=ro?Js+us[Xs]+$s[Xs]-vo-Cs.altAxis:Ds,zo=on&&ro?R5(po,Js,Oo):Qh(on?po:Zs,Js,on?Oo:Ds);Kn[Bn]=zo,Es[Bn]=zo-Js}ti.modifiersData[ni]=Es}}var O5={name:"preventOverflow",enabled:!0,phase:"main",fn:M5,requiresIfExists:["offset"]},D5=function(ti,ii){return ti=typeof ti=="function"?ti(Object.assign({},ii.rects,{placement:ii.placement})):ti,$0(typeof ti!="number"?ti:V0(ti,zh))};function F5(ei){var ti,ii=ei.state,ni=ei.name,si=ei.options,ai=ii.elements.arrow,li=ii.modifiersData.popperOffsets,fi=Mu(ii.placement),hi=og(fi),_i=[mc,Gc].indexOf(fi)>=0,ji=_i?"height":"width";if(!(!ai||!li)){var Mi=D5(si.padding,ii),Ki=sg(ai),on=hi==="y"?hc:mc,hn=hi==="y"?Xc:Gc,gn=ii.rects.reference[ji]+ii.rects.reference[hi]-li[hi]-ii.rects.popper[ji],es=li[hi]-ii.rects.reference[hi],Wn=Wh(ai),Gn=Wn?hi==="y"?Wn.clientHeight||0:Wn.clientWidth||0:0,Dn=gn/2-es/2,Xi=Mi[on],Bn=Gn-Ki[ji]-Mi[hn],Kn=Gn/2-Ki[ji]/2+Dn,us=Qh(Xi,Kn,Bn),$s=hi;ii.modifiersData[ni]=(ti={},ti[$s]=us,ti.centerOffset=us-Kn,ti)}}function I5(ei){var ti=ei.state,ii=ei.options,ni=ii.element,si=ni===void 0?"[data-popper-arrow]":ni;si!=null&&(typeof si=="string"&&(si=ti.elements.popper.querySelector(si),!si)||N0(ti.elements.popper,si)&&(ti.elements.arrow=si))}var P5={name:"arrow",enabled:!0,phase:"main",fn:F5,effect:I5,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function U0(ei,ti,ii){return ii===void 0&&(ii={x:0,y:0}),{top:ei.top-ti.height-ii.y,right:ei.right-ti.width+ii.x,bottom:ei.bottom-ti.height+ii.y,left:ei.left-ti.width-ii.x}}function W0(ei){return[hc,Gc,Xc,mc].some(function(ti){return ei[ti]>=0})}function q5(ei){var ti=ei.state,ii=ei.name,ni=ti.rects.reference,si=ti.rects.popper,ai=ti.modifiersData.preventOverflow,li=Gh(ti,{elementContext:"reference"}),fi=Gh(ti,{altBoundary:!0}),hi=U0(li,ni),_i=U0(fi,si,ai),ji=W0(hi),Mi=W0(_i);ti.modifiersData[ii]={referenceClippingOffsets:hi,popperEscapeOffsets:_i,isReferenceHidden:ji,hasPopperEscaped:Mi},ti.attributes.popper=Object.assign({},ti.attributes.popper,{"data-popper-reference-hidden":ji,"data-popper-escaped":Mi})}var N5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:q5},B5=[a5,c5,h5,P0,b5,T5,O5,P5,N5],H5=r5({defaultModifiers:B5}),ER='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',$5="tippy-box",z0="tippy-content",K0="tippy-backdrop",X0="tippy-arrow",G0="tippy-svg-arrow",Tf={passive:!0,capture:!0},Q0=function(){return document.body};function V5(ei,ti){return{}.hasOwnProperty.call(ei,ti)}function lg(ei,ti,ii){if(Array.isArray(ei)){var ni=ei[ti];return ni??(Array.isArray(ii)?ii[ti]:ii)}return ei}function cg(ei,ti){var ii={}.toString.call(ei);return ii.indexOf("[object")===0&&ii.indexOf(ti+"]")>-1}function Y0(ei,ti){return typeof ei=="function"?ei.apply(void 0,ti):ei}function J0(ei,ti){if(ti===0)return ei;var ii;return function(ni){clearTimeout(ii),ii=setTimeout(function(){ei(ni)},ti)}}function ug(ei,ti){var ii=Object.assign({},ei);return ti.forEach(function(ni){delete ii[ni]}),ii}function U5(ei){return ei.split(/\s+/).filter(Boolean)}function Lf(ei){return[].concat(ei)}function Z0(ei,ti){ei.indexOf(ti)===-1&&ei.push(ti)}function W5(ei){return ei.filter(function(ti,ii){return ei.indexOf(ti)===ii})}function eb(ei){return ei.split("-")[0]}function th(ei){return[].slice.call(ei)}function tb(ei){return Object.keys(ei).reduce(function(ti,ii){return ei[ii]!==void 0&&(ti[ii]=ei[ii]),ti},{})}function md(){return document.createElement("div")}function zm(ei){return["Element","Fragment"].some(function(ti){return cg(ei,ti)})}function z5(ei){return cg(ei,"NodeList")}function fg(ei){return cg(ei,"MouseEvent")}function ib(ei){return!!(ei&&ei._tippy&&ei._tippy.reference===ei)}function K5(ei){return zm(ei)?[ei]:z5(ei)?th(ei):Array.isArray(ei)?ei:th(document.querySelectorAll(ei))}function dg(ei,ti){ei.forEach(function(ii){ii&&(ii.style.transitionDuration=ti+"ms")})}function Yh(ei,ti){ei.forEach(function(ii){ii&&ii.setAttribute("data-state",ti)})}function nb(ei){var ti,ii=Lf(ei),ni=ii[0];return ni!=null&&(ti=ni.ownerDocument)!=null&&ti.body?ni.ownerDocument:document}function X5(ei,ti){var ii=ti.clientX,ni=ti.clientY;return ei.every(function(si){var ai=si.popperRect,li=si.popperState,fi=si.props,hi=fi.interactiveBorder,_i=eb(li.placement),ji=li.modifiersData.offset;if(!ji)return!0;var Mi=_i==="bottom"?ji.top.y:0,Ki=_i==="top"?ji.bottom.y:0,on=_i==="right"?ji.left.x:0,hn=_i==="left"?ji.right.x:0,gn=ai.top-ni+Mi>hi,es=ni-ai.bottom-Ki>hi,Wn=ai.left-ii+on>hi,Gn=ii-ai.right-hn>hi;return gn||es||Wn||Gn})}function hg(ei,ti,ii){var ni=ti+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(si){ei[ni](si,ii)})}function sb(ei,ti){for(var ii=ti;ii;){var ni;if(ei.contains(ii))return!0;ii=ii.getRootNode==null||(ni=ii.getRootNode())==null?void 0:ni.host}return!1}var Ou={isTouch:!1},rb=0;function G5(){Ou.isTouch||(Ou.isTouch=!0,window.performance&&document.addEventListener("mousemove",ob))}function ob(){var ei=performance.now();ei-rb<20&&(Ou.isTouch=!1,document.removeEventListener("mousemove",ob)),rb=ei}function Q5(){var ei=document.activeElement;if(ib(ei)){var ti=ei._tippy;ei.blur&&!ti.state.isVisible&&ei.blur()}}function Y5(){document.addEventListener("touchstart",G5,Tf),window.addEventListener("blur",Q5)}var J5=typeof window<"u"&&typeof document<"u",Z5=J5?!!window.msCrypto:!1;function kR(ei){var ti=ei==="destroy"?"n already-":" ";return[ei+"() was called on a"+ti+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function ab(ei){var ti=/[ \t]{2,}/g,ii=/^[ \t]*/gm;return ei.replace(ti," ").replace(ii,"").trim()}function ej(ei){return ab(`
%ctippy.js
%c`+ab(ei)+`
%c\u{1F477}\u200D This is a development-only message. It will be removed in production.
`)}function lb(ei){return[ej(ei),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Jh;function AR(){Jh=new Set}function tj(ei,ti){if(ei&&!Jh.has(ti)){var ii;Jh.add(ti),(ii=console).warn.apply(ii,lb(ti))}}function cb(ei,ti){if(ei&&!Jh.has(ti)){var ii;Jh.add(ti),(ii=console).error.apply(ii,lb(ti))}}function TR(ei){var ti=!ei,ii=Object.prototype.toString.call(ei)==="[object Object]"&&!ei.addEventListener;cb(ti,["tippy() was passed","`"+String(ei)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),cb(ii,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var ub={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ij={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},pc=Object.assign({appendTo:Q0,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},ub,ij),nj=Object.keys(pc),sj=function(ti){var ii=Object.keys(ti);ii.forEach(function(ni){pc[ni]=ti[ni]})};function fb(ei){var ti=ei.plugins||[],ii=ti.reduce(function(ni,si){var ai=si.name,li=si.defaultValue;if(ai){var fi;ni[ai]=ei[ai]!==void 0?ei[ai]:(fi=pc[ai])!=null?fi:li}return ni},{});return Object.assign({},ei,ii)}function rj(ei,ti){var ii=ti?Object.keys(fb(Object.assign({},pc,{plugins:ti}))):nj,ni=ii.reduce(function(si,ai){var li=(ei.getAttribute("data-tippy-"+ai)||"").trim();if(!li)return si;if(ai==="content")si[ai]=li;else try{si[ai]=JSON.parse(li)}catch{si[ai]=li}return si},{});return ni}function db(ei,ti){var ii=Object.assign({},ti,{content:Y0(ti.content,[ei])},ti.ignoreAttributes?{}:rj(ei,ti.plugins));return ii.aria=Object.assign({},pc.aria,ii.aria),ii.aria={expanded:ii.aria.expanded==="auto"?ti.interactive:ii.aria.expanded,content:ii.aria.content==="auto"?ti.interactive?null:"describedby":ii.aria.content},ii}function LR(ei,ti){ei===void 0&&(ei={}),ti===void 0&&(ti=[]);var ii=Object.keys(ei);ii.forEach(function(ni){var si=ug(pc,Object.keys(ub)),ai=!V5(si,ni);ai&&(ai=ti.filter(function(li){return li.name===ni}).length===0),tj(ai,["`"+ni+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var oj=function(){return"innerHTML"};function mg(ei,ti){ei[oj()]=ti}function hb(ei){var ti=md();return ei===!0?ti.className=X0:(ti.className=G0,zm(ei)?ti.appendChild(ei):mg(ti,ei)),ti}function mb(ei,ti){zm(ti.content)?(mg(ei,""),ei.appendChild(ti.content)):typeof ti.content!="function"&&(ti.allowHTML?mg(ei,ti.content):ei.textContent=ti.content)}function Km(ei){var ti=ei.firstElementChild,ii=th(ti.children);return{box:ti,content:ii.find(function(ni){return ni.classList.contains(z0)}),arrow:ii.find(function(ni){return ni.classList.contains(X0)||ni.classList.contains(G0)}),backdrop:ii.find(function(ni){return ni.classList.contains(K0)})}}function pb(ei){var ti=md(),ii=md();ii.className=$5,ii.setAttribute("data-state","hidden"),ii.setAttribute("tabindex","-1");var ni=md();ni.className=z0,ni.setAttribute("data-state","hidden"),mb(ni,ei.props),ti.appendChild(ii),ii.appendChild(ni),si(ei.props,ei.props);function si(ai,li){var fi=Km(ti),hi=fi.box,_i=fi.content,ji=fi.arrow;li.theme?hi.setAttribute("data-theme",li.theme):hi.removeAttribute("data-theme"),typeof li.animation=="string"?hi.setAttribute("data-animation",li.animation):hi.removeAttribute("data-animation"),li.inertia?hi.setAttribute("data-inertia",""):hi.removeAttribute("data-inertia"),hi.style.maxWidth=typeof li.maxWidth=="number"?li.maxWidth+"px":li.maxWidth,li.role?hi.setAttribute("role",li.role):hi.removeAttribute("role"),(ai.content!==li.content||ai.allowHTML!==li.allowHTML)&&mb(_i,ei.props),li.arrow?ji?ai.arrow!==li.arrow&&(hi.removeChild(ji),hi.appendChild(hb(li.arrow))):hi.appendChild(hb(li.arrow)):ji&&hi.removeChild(ji)}return{popper:ti,onUpdate:si}}pb.$$tippy=!0;var aj=1,Xm=[],Gm=[];function lj(ei,ti){var ii=db(ei,Object.assign({},pc,fb(tb(ti)))),ni,si,ai,li=!1,fi=!1,hi=!1,_i=!1,ji,Mi,Ki,on=[],hn=J0(jn,ii.interactiveDebounce),gn,es=aj++,Wn=null,Gn=W5(ii.plugins),Dn={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},Xi={id:es,reference:ei,popper:md(),popperInstance:Wn,props:ii,state:Dn,plugins:Gn,clearDelayTimeouts:po,setProps:Oo,setContent:zo,show:wa,hide:da,hideWithInteractivity:sl,enable:ro,disable:vo,unmount:Lc,destroy:Pf};if(!ii.render)return Xi;var Bn=ii.render(Xi),Kn=Bn.popper,us=Bn.onUpdate;Kn.setAttribute("data-tippy-root",""),Kn.id="tippy-"+Xi.id,Xi.popper=Kn,ei._tippy=Xi,Kn._tippy=Xi;var $s=Gn.map(function(ys){return ys.fn(Xi)}),ws=ei.hasAttribute("aria-expanded");return Tc(),Oa(),xo(),to("onCreate",[Xi]),ii.showOnCreate&&Zs(),Kn.addEventListener("mouseenter",function(){Xi.props.interactive&&Xi.state.isVisible&&Xi.clearDelayTimeouts()}),Kn.addEventListener("mouseleave",function(){Xi.props.interactive&&Xi.props.trigger.indexOf("mouseenter")>=0&&Co().addEventListener("mousemove",hn)}),Xi;function Cs(){var ys=Xi.props.touch;return Array.isArray(ys)?ys:[ys,0]}function zs(){return Cs()[0]==="hold"}function Es(){var ys;return!!((ys=Xi.props.render)!=null&&ys.$$tippy)}function Yr(){return gn||ei}function Co(){var ys=Yr().parentNode;return ys?nb(ys):document}function Ho(){return Km(Kn)}function Qr(ys){return Xi.state.isMounted&&!Xi.state.isVisible||Ou.isTouch||ji&&ji.type==="focus"?0:lg(Xi.props.delay,ys?0:1,pc.delay)}function xo(ys){ys===void 0&&(ys=!1),Kn.style.pointerEvents=Xi.props.interactive&&!ys?"":"none",Kn.style.zIndex=""+Xi.props.zIndex}function to(ys,co,Ro){if(Ro===void 0&&(Ro=!0),$s.forEach(function($o){$o[ys]&&$o[ys].apply($o,co)}),Ro){var Uo;(Uo=Xi.props)[ys].apply(Uo,co)}}function ao(){var ys=Xi.props.aria;if(ys.content){var co="aria-"+ys.content,Ro=Kn.id,Uo=Lf(Xi.props.triggerTarget||ei);Uo.forEach(function($o){var Cl=$o.getAttribute(co);if(Xi.state.isVisible)$o.setAttribute(co,Cl?Cl+" "+Ro:Ro);else{var iu=Cl&&Cl.replace(Ro,"").trim();iu?$o.setAttribute(co,iu):$o.removeAttribute(co)}})}}function Oa(){if(!(ws||!Xi.props.aria.expanded)){var ys=Lf(Xi.props.triggerTarget||ei);ys.forEach(function(co){Xi.props.interactive?co.setAttribute("aria-expanded",Xi.state.isVisible&&co===Yr()?"true":"false"):co.removeAttribute("aria-expanded")})}}function Sl(){Co().removeEventListener("mousemove",hn),Xm=Xm.filter(function(ys){return ys!==hn})}function Ga(ys){if(!(Ou.isTouch&&(hi||ys.type==="mousedown"))){var co=ys.composedPath&&ys.composedPath()[0]||ys.target;if(!(Xi.props.interactive&&sb(Kn,co))){if(Lf(Xi.props.triggerTarget||ei).some(function(Ro){return sb(Ro,co)})){if(Ou.isTouch||Xi.state.isVisible&&Xi.props.trigger.indexOf("click")>=0)return}else to("onClickOutside",[Xi,ys]);Xi.props.hideOnClick===!0&&(Xi.clearDelayTimeouts(),Xi.hide(),fi=!0,setTimeout(function(){fi=!1}),Xi.state.isMounted||pu())}}}function nl(){hi=!0}function eu(){hi=!1}function Ac(){var ys=Co();ys.addEventListener("mousedown",Ga,!0),ys.addEventListener("touchend",Ga,Tf),ys.addEventListener("touchstart",eu,Tf),ys.addEventListener("touchmove",nl,Tf)}function pu(){var ys=Co();ys.removeEventListener("mousedown",Ga,!0),ys.removeEventListener("touchend",Ga,Tf),ys.removeEventListener("touchstart",eu,Tf),ys.removeEventListener("touchmove",nl,Tf)}function tu(ys,co){Fu(ys,function(){!Xi.state.isVisible&&Kn.parentNode&&Kn.parentNode.contains(Kn)&&co()})}function vc(ys,co){Fu(ys,co)}function Fu(ys,co){var Ro=Ho().box;function Uo($o){$o.target===Ro&&(hg(Ro,"remove",Uo),co())}if(ys===0)return co();hg(Ro,"remove",Mi),hg(Ro,"add",Uo),Mi=Uo}function gu(ys,co,Ro){Ro===void 0&&(Ro=!1);var Uo=Lf(Xi.props.triggerTarget||ei);Uo.forEach(function($o){$o.addEventListener(ys,co,Ro),on.push({node:$o,eventType:ys,handler:co,options:Ro})})}function Tc(){zs()&&(gu("touchstart",lf,{passive:!0}),gu("touchend",Nn,{passive:!0})),U5(Xi.props.trigger).forEach(function(ys){if(ys!=="manual")switch(gu(ys,lf),ys){case"mouseenter":gu("mouseleave",Nn);break;case"focus":gu(Z5?"focusout":"blur",ms);break;case"focusin":gu("focusout",ms);break}})}function If(){on.forEach(function(ys){var co=ys.node,Ro=ys.eventType,Uo=ys.handler,$o=ys.options;co.removeEventListener(Ro,Uo,$o)}),on=[]}function lf(ys){var co,Ro=!1;if(!(!Xi.state.isEnabled||Fs(ys)||fi)){var Uo=((co=ji)==null?void 0:co.type)==="focus";ji=ys,gn=ys.currentTarget,Oa(),!Xi.state.isVisible&&fg(ys)&&Xm.forEach(function($o){return $o(ys)}),ys.type==="click"&&(Xi.props.trigger.indexOf("mouseenter")<0||li)&&Xi.props.hideOnClick!==!1&&Xi.state.isVisible?Ro=!0:Zs(ys),ys.type==="click"&&(li=!Ro),Ro&&!Uo&&Ds(ys)}}function jn(ys){var co=ys.target,Ro=Yr().contains(co)||Kn.contains(co);if(!(ys.type==="mousemove"&&Ro)){var Uo=Xs().concat(Kn).map(function($o){var Cl,iu=$o._tippy,ch=(Cl=iu.popperInstance)==null?void 0:Cl.state;return ch?{popperRect:$o.getBoundingClientRect(),popperState:ch,props:ii}:null}).filter(Boolean);X5(Uo,ys)&&(Sl(),Ds(ys))}}function Nn(ys){var co=Fs(ys)||Xi.props.trigger.indexOf("click")>=0&&li;if(!co){if(Xi.props.interactive){Xi.hideWithInteractivity(ys);return}Ds(ys)}}function ms(ys){Xi.props.trigger.indexOf("focusin")<0&&ys.target!==Yr()||Xi.props.interactive&&ys.relatedTarget&&Kn.contains(ys.relatedTarget)||Ds(ys)}function Fs(ys){return Ou.isTouch?zs()!==ys.type.indexOf("touch")>=0:!1}function Ls(){Ps();var ys=Xi.props,co=ys.popperOptions,Ro=ys.placement,Uo=ys.offset,$o=ys.getReferenceClientRect,Cl=ys.moveTransition,iu=Es()?Km(Kn).arrow:null,ch=$o?{getBoundingClientRect:$o,contextElement:$o.contextElement||Yr()}:ei,$y={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(bp){var uh=bp.state;if(Es()){var T7=Ho(),Zg=T7.box;["placement","reference-hidden","escaped"].forEach(function(_p){_p==="placement"?Zg.setAttribute("data-placement",uh.placement):uh.attributes.popper["data-popper-"+_p]?Zg.setAttribute("data-"+_p,""):Zg.removeAttribute("data-"+_p)}),uh.attributes.popper={}}}},xd=[{name:"offset",options:{offset:Uo}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Cl}},$y];Es()&&iu&&xd.push({name:"arrow",options:{element:iu,padding:3}}),xd.push.apply(xd,co?.modifiers||[]),Xi.popperInstance=H5(ch,Kn,Object.assign({},co,{placement:Ro,onFirstUpdate:Ki,modifiers:xd}))}function Ps(){Xi.popperInstance&&(Xi.popperInstance.destroy(),Xi.popperInstance=null)}function Js(){var ys=Xi.props.appendTo,co,Ro=Yr();Xi.props.interactive&&ys===Q0||ys==="parent"?co=Ro.parentNode:co=Y0(ys,[Ro]),co.contains(Kn)||co.appendChild(Kn),Xi.state.isMounted=!0,Ls()}function Xs(){return th(Kn.querySelectorAll("[data-tippy-root]"))}function Zs(ys){Xi.clearDelayTimeouts(),ys&&to("onTrigger",[Xi,ys]),Ac();var co=Qr(!0),Ro=Cs(),Uo=Ro[0],$o=Ro[1];Ou.isTouch&&Uo==="hold"&&$o&&(co=$o),co?ni=setTimeout(function(){Xi.show()},co):Xi.show()}function Ds(ys){if(Xi.clearDelayTimeouts(),to("onUntrigger",[Xi,ys]),!Xi.state.isVisible){pu();return}if(!(Xi.props.trigger.indexOf("mouseenter")>=0&&Xi.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ys.type)>=0&&li)){var co=Qr(!1);co?si=setTimeout(function(){Xi.state.isVisible&&Xi.hide()},co):ai=requestAnimationFrame(function(){Xi.hide()})}}function ro(){Xi.state.isEnabled=!0}function vo(){Xi.hide(),Xi.state.isEnabled=!1}function po(){clearTimeout(ni),clearTimeout(si),cancelAnimationFrame(ai)}function Oo(ys){if(!Xi.state.isDestroyed){to("onBeforeUpdate",[Xi,ys]),If();var co=Xi.props,Ro=db(ei,Object.assign({},co,tb(ys),{ignoreAttributes:!0}));Xi.props=Ro,Tc(),co.interactiveDebounce!==Ro.interactiveDebounce&&(Sl(),hn=J0(jn,Ro.interactiveDebounce)),co.triggerTarget&&!Ro.triggerTarget?Lf(co.triggerTarget).forEach(function(Uo){Uo.removeAttribute("aria-expanded")}):Ro.triggerTarget&&ei.removeAttribute("aria-expanded"),Oa(),xo(),us&&us(co,Ro),Xi.popperInstance&&(Ls(),Xs().forEach(function(Uo){requestAnimationFrame(Uo._tippy.popperInstance.forceUpdate)})),to("onAfterUpdate",[Xi,ys])}}function zo(ys){Xi.setProps({content:ys})}function wa(){var ys=Xi.state.isVisible,co=Xi.state.isDestroyed,Ro=!Xi.state.isEnabled,Uo=Ou.isTouch&&!Xi.props.touch,$o=lg(Xi.props.duration,0,pc.duration);if(!(ys||co||Ro||Uo)&&!Yr().hasAttribute("disabled")&&(to("onShow",[Xi],!1),Xi.props.onShow(Xi)!==!1)){if(Xi.state.isVisible=!0,Es()&&(Kn.style.visibility="visible"),xo(),Ac(),Xi.state.isMounted||(Kn.style.transition="none"),Es()){var Cl=Ho(),iu=Cl.box,ch=Cl.content;dg([iu,ch],0)}Ki=function(){var xd;if(!(!Xi.state.isVisible||_i)){if(_i=!0,Kn.offsetHeight,Kn.style.transition=Xi.props.moveTransition,Es()&&Xi.props.animation){var Jg=Ho(),bp=Jg.box,uh=Jg.content;dg([bp,uh],$o),Yh([bp,uh],"visible")}ao(),Oa(),Z0(Gm,Xi),(xd=Xi.popperInstance)==null||xd.forceUpdate(),to("onMount",[Xi]),Xi.props.animation&&Es()&&vc($o,function(){Xi.state.isShown=!0,to("onShown",[Xi])})}},Js()}}function da(){var ys=!Xi.state.isVisible,co=Xi.state.isDestroyed,Ro=!Xi.state.isEnabled,Uo=lg(Xi.props.duration,1,pc.duration);if(!(ys||co||Ro)&&(to("onHide",[Xi],!1),Xi.props.onHide(Xi)!==!1)){if(Xi.state.isVisible=!1,Xi.state.isShown=!1,_i=!1,li=!1,Es()&&(Kn.style.visibility="hidden"),Sl(),pu(),xo(!0),Es()){var $o=Ho(),Cl=$o.box,iu=$o.content;Xi.props.animation&&(dg([Cl,iu],Uo),Yh([Cl,iu],"hidden"))}ao(),Oa(),Xi.props.animation?Es()&&tu(Uo,Xi.unmount):Xi.unmount()}}function sl(ys){Co().addEventListener("mousemove",hn),Z0(Xm,hn),hn(ys)}function Lc(){Xi.state.isVisible&&Xi.hide(),Xi.state.isMounted&&(Ps(),Xs().forEach(function(ys){ys._tippy.unmount()}),Kn.parentNode&&Kn.parentNode.removeChild(Kn),Gm=Gm.filter(function(ys){return ys!==Xi}),Xi.state.isMounted=!1,to("onHidden",[Xi]))}function Pf(){Xi.state.isDestroyed||(Xi.clearDelayTimeouts(),Xi.unmount(),If(),delete ei._tippy,Xi.state.isDestroyed=!0,to("onDestroy",[Xi]))}}function Rf(ei,ti){ti===void 0&&(ti={});var ii=pc.plugins.concat(ti.plugins||[]);Y5();var ni=Object.assign({},ti,{plugins:ii}),si=K5(ei);if(0)var ai,li;var fi=si.reduce(function(hi,_i){var ji=_i&&lj(_i,ni);return ji&&hi.push(ji),hi},[]);return zm(ei)?fi[0]:fi}Rf.defaultProps=pc,Rf.setDefaultProps=sj,Rf.currentInput=Ou;var RR=function(ti){var ii=ti===void 0?{}:ti,ni=ii.exclude,si=ii.duration;Gm.forEach(function(ai){var li=!1;if(ni&&(li=ib(ni)?ai.reference===ni:ai.popper===ni.popper),!li){var fi=ai.props.duration;ai.setProps({duration:si}),ai.hide(),ai.state.isDestroyed||ai.setProps({duration:fi})}})},cj=Object.assign({},P0,{effect:function(ti){var ii=ti.state,ni={popper:{position:ii.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(ii.elements.popper.style,ni.popper),ii.styles=ni,ii.elements.arrow&&Object.assign(ii.elements.arrow.style,ni.arrow)}}),uj=function(ti,ii){var ni;ii===void 0&&(ii={});var si=ti,ai=[],li=[],fi,hi=ii.overrides,_i=[],ji=!1;function Mi(){li=si.map(function(Xi){return Lf(Xi.props.triggerTarget||Xi.reference)}).reduce(function(Xi,Bn){return Xi.concat(Bn)},[])}function Ki(){ai=si.map(function(Xi){return Xi.reference})}function on(Xi){si.forEach(function(Bn){Xi?Bn.enable():Bn.disable()})}function hn(Xi){return si.map(function(Bn){var Kn=Bn.setProps;return Bn.setProps=function(us){Kn(us),Bn.reference===fi&&Xi.setProps(us)},function(){Bn.setProps=Kn}})}function gn(Xi,Bn){var Kn=li.indexOf(Bn);if(Bn!==fi){fi=Bn;var us=(hi||[]).concat("content").reduce(function($s,ws){return $s[ws]=si[Kn].props[ws],$s},{});Xi.setProps(Object.assign({},us,{getReferenceClientRect:typeof us.getReferenceClientRect=="function"?us.getReferenceClientRect:function(){var $s;return($s=ai[Kn])==null?void 0:$s.getBoundingClientRect()}}))}}on(!1),Ki(),Mi();var es={fn:function(){return{onDestroy:function(){on(!0)},onHidden:function(){fi=null},onClickOutside:function(Kn){Kn.props.showOnCreate&&!ji&&(ji=!0,fi=null)},onShow:function(Kn){Kn.props.showOnCreate&&!ji&&(ji=!0,gn(Kn,ai[0]))},onTrigger:function(Kn,us){gn(Kn,us.currentTarget)}}}},Wn=Rf(md(),Object.assign({},ug(ii,["overrides"]),{plugins:[es].concat(ii.plugins||[]),triggerTarget:li,popperOptions:Object.assign({},ii.popperOptions,{modifiers:[].concat(((ni=ii.popperOptions)==null?void 0:ni.modifiers)||[],[cj])})})),Gn=Wn.show;Wn.show=function(Xi){if(Gn(),!fi&&Xi==null)return gn(Wn,ai[0]);if(!(fi&&Xi==null)){if(typeof Xi=="number")return ai[Xi]&&gn(Wn,ai[Xi]);if(si.indexOf(Xi)>=0){var Bn=Xi.reference;return gn(Wn,Bn)}if(ai.indexOf(Xi)>=0)return gn(Wn,Xi)}},Wn.showNext=function(){var Xi=ai[0];if(!fi)return Wn.show(0);var Bn=ai.indexOf(fi);Wn.show(ai[Bn+1]||Xi)},Wn.showPrevious=function(){var Xi=ai[ai.length-1];if(!fi)return Wn.show(Xi);var Bn=ai.indexOf(fi),Kn=ai[Bn-1]||Xi;Wn.show(Kn)};var Dn=Wn.setProps;return Wn.setProps=function(Xi){hi=Xi.overrides||hi,Dn(Xi)},Wn.setInstances=function(Xi){on(!0),_i.forEach(function(Bn){return Bn()}),si=Xi,on(!1),Ki(),Mi(),_i=hn(Wn),Wn.setProps({triggerTarget:li})},_i=hn(Wn),Wn},fj={mouseover:"mouseenter",focusin:"focus",click:"click"};function MR(ei,ti){var ii=[],ni=[],si=!1,ai=ti.target,li=ug(ti,["target"]),fi=Object.assign({},li,{trigger:"manual",touch:!1}),hi=Object.assign({touch:pc.touch},li,{showOnCreate:!0}),_i=Rf(ei,fi),ji=Lf(_i);function Mi(es){if(!(!es.target||si)){var Wn=es.target.closest(ai);if(Wn){var Gn=Wn.getAttribute("data-tippy-trigger")||ti.trigger||pc.trigger;if(!Wn._tippy&&!(es.type==="touchstart"&&typeof hi.touch=="boolean")&&!(es.type!=="touchstart"&&Gn.indexOf(fj[es.type])<0)){var Dn=Rf(Wn,hi);Dn&&(ni=ni.concat(Dn))}}}}function Ki(es,Wn,Gn,Dn){Dn===void 0&&(Dn=!1),es.addEventListener(Wn,Gn,Dn),ii.push({node:es,eventType:Wn,handler:Gn,options:Dn})}function on(es){var Wn=es.reference;Ki(Wn,"touchstart",Mi,Tf),Ki(Wn,"mouseover",Mi),Ki(Wn,"focusin",Mi),Ki(Wn,"click",Mi)}function hn(){ii.forEach(function(es){var Wn=es.node,Gn=es.eventType,Dn=es.handler,Xi=es.options;Wn.removeEventListener(Gn,Dn,Xi)}),ii=[]}function gn(es){var Wn=es.destroy,Gn=es.enable,Dn=es.disable;es.destroy=function(Xi){Xi===void 0&&(Xi=!0),Xi&&ni.forEach(function(Bn){Bn.destroy()}),ni=[],hn(),Wn()},es.enable=function(){Gn(),ni.forEach(function(Xi){return Xi.enable()}),si=!1},es.disable=function(){Dn(),ni.forEach(function(Xi){return Xi.disable()}),si=!0},on(es)}return ji.forEach(gn),_i}var OR={name:"animateFill",defaultValue:!1,fn:function(ti){var ii;if(!((ii=ti.props.render)!=null&&ii.$$tippy))return{};var ni=Km(ti.popper),si=ni.box,ai=ni.content,li=ti.props.animateFill?dj():null;return{onCreate:function(){li&&(si.insertBefore(li,si.firstElementChild),si.setAttribute("data-animatefill",""),si.style.overflow="hidden",ti.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(li){var hi=si.style.transitionDuration,_i=Number(hi.replace("ms",""));ai.style.transitionDelay=Math.round(_i/10)+"ms",li.style.transitionDuration=hi,Yh([li],"visible")}},onShow:function(){li&&(li.style.transitionDuration="0ms")},onHide:function(){li&&Yh([li],"hidden")}}}};function dj(){var ei=md();return ei.className=K0,Yh([ei],"hidden"),ei}var pg={clientX:0,clientY:0},Qm=[];function gb(ei){var ti=ei.clientX,ii=ei.clientY;pg={clientX:ti,clientY:ii}}function hj(ei){ei.addEventListener("mousemove",gb)}function mj(ei){ei.removeEventListener("mousemove",gb)}var pj={name:"followCursor",defaultValue:!1,fn:function(ti){var ii=ti.reference,ni=nb(ti.props.triggerTarget||ii),si=!1,ai=!1,li=!0,fi=ti.props;function hi(){return ti.props.followCursor==="initial"&&ti.state.isVisible}function _i(){ni.addEventListener("mousemove",Ki)}function ji(){ni.removeEventListener("mousemove",Ki)}function Mi(){si=!0,ti.setProps({getReferenceClientRect:null}),si=!1}function Ki(gn){var es=gn.target?ii.contains(gn.target):!0,Wn=ti.props.followCursor,Gn=gn.clientX,Dn=gn.clientY,Xi=ii.getBoundingClientRect(),Bn=Gn-Xi.left,Kn=Dn-Xi.top;(es||!ti.props.interactive)&&ti.setProps({getReferenceClientRect:function(){var $s=ii.getBoundingClientRect(),ws=Gn,Cs=Dn;Wn==="initial"&&(ws=$s.left+Bn,Cs=$s.top+Kn);var zs=Wn==="horizontal"?$s.top:Cs,Es=Wn==="vertical"?$s.right:ws,Yr=Wn==="horizontal"?$s.bottom:Cs,Co=Wn==="vertical"?$s.left:ws;return{width:Es-Co,height:Yr-zs,top:zs,right:Es,bottom:Yr,left:Co}}})}function on(){ti.props.followCursor&&(Qm.push({instance:ti,doc:ni}),hj(ni))}function hn(){Qm=Qm.filter(function(gn){return gn.instance!==ti}),Qm.filter(function(gn){return gn.doc===ni}).length===0&&mj(ni)}return{onCreate:on,onDestroy:hn,onBeforeUpdate:function(){fi=ti.props},onAfterUpdate:function(es,Wn){var Gn=Wn.followCursor;si||Gn!==void 0&&fi.followCursor!==Gn&&(hn(),Gn?(on(),ti.state.isMounted&&!ai&&!hi()&&_i()):(ji(),Mi()))},onMount:function(){ti.props.followCursor&&!ai&&(li&&(Ki(pg),li=!1),hi()||_i())},onTrigger:function(es,Wn){fg(Wn)&&(pg={clientX:Wn.clientX,clientY:Wn.clientY}),ai=Wn.type==="focus"},onHidden:function(){ti.props.followCursor&&(Mi(),ji(),li=!0)}}}};function gj(ei,ti){var ii;return{popperOptions:Object.assign({},ei.popperOptions,{modifiers:[].concat((((ii=ei.popperOptions)==null?void 0:ii.modifiers)||[]).filter(function(ni){var si=ni.name;return si!==ti.name}),[ti])})}}var DR={name:"inlinePositioning",defaultValue:!1,fn:function(ti){var ii=ti.reference;function ni(){return!!ti.props.inlinePositioning}var si,ai=-1,li=!1,fi=[],hi={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(on){var hn=on.state;ni()&&(fi.indexOf(hn.placement)!==-1&&(fi=[]),si!==hn.placement&&fi.indexOf(hn.placement)===-1&&(fi.push(hn.placement),ti.setProps({getReferenceClientRect:function(){return _i(hn.placement)}})),si=hn.placement)}};function _i(Ki){return vj(eb(Ki),ii.getBoundingClientRect(),th(ii.getClientRects()),ai)}function ji(Ki){li=!0,ti.setProps(Ki),li=!1}function Mi(){li||ji(gj(ti.props,hi))}return{onCreate:Mi,onAfterUpdate:Mi,onTrigger:function(on,hn){if(fg(hn)){var gn=th(ti.reference.getClientRects()),es=gn.find(function(Gn){return Gn.left-2<=hn.clientX&&Gn.right+2>=hn.clientX&&Gn.top-2<=hn.clientY&&Gn.bottom+2>=hn.clientY}),Wn=gn.indexOf(es);ai=Wn>-1?Wn:ai}},onHidden:function(){ai=-1}}}};function vj(ei,ti,ii,ni){if(ii.length<2||ei===null)return ti;if(ii.length===2&&ni>=0&&ii[0].left>ii[1].right)return ii[ni]||ti;switch(ei){case"top":case"bottom":{var si=ii[0],ai=ii[ii.length-1],li=ei==="top",fi=si.top,hi=ai.bottom,_i=li?si.left:ai.left,ji=li?si.right:ai.right,Mi=ji-_i,Ki=hi-fi;return{top:fi,bottom:hi,left:_i,right:ji,width:Mi,height:Ki}}case"left":case"right":{var on=Math.min.apply(Math,ii.map(function(Kn){return Kn.left})),hn=Math.max.apply(Math,ii.map(function(Kn){return Kn.right})),gn=ii.filter(function(Kn){return ei==="left"?Kn.left===on:Kn.right===hn}),es=gn[0].top,Wn=gn[gn.length-1].bottom,Gn=on,Dn=hn,Xi=Dn-Gn,Bn=Wn-es;return{top:es,bottom:Wn,left:Gn,right:Dn,width:Xi,height:Bn}}default:return ti}}var FR={name:"sticky",defaultValue:!1,fn:function(ti){var ii=ti.reference,ni=ti.popper;function si(){return ti.popperInstance?ti.popperInstance.state.elements.reference:ii}function ai(_i){return ti.props.sticky===!0||ti.props.sticky===_i}var li=null,fi=null;function hi(){var _i=ai("reference")?si().getBoundingClientRect():null,ji=ai("popper")?ni.getBoundingClientRect():null;(_i&&vb(li,_i)||ji&&vb(fi,ji))&&ti.popperInstance&&ti.popperInstance.update(),li=_i,fi=ji,ti.state.isMounted&&requestAnimationFrame(hi)}return{onMount:function(){ti.props.sticky&&hi()}}}};function vb(ei,ti){return ei&&ti?ei.top!==ti.top||ei.right!==ti.right||ei.bottom!==ti.bottom||ei.left!==ti.left:!0}Rf.setDefaultProps({render:pb});var bb=Rf,zn=__webpack_require__("./web_src/js/utils/dom.js"),_b=__webpack_require__("./web_src/js/utils/time.js");const Ym=new Set,bj='<svg width="16" height="7"><path d="m0 7 8-7 8 7Z" class="tippy-svg-arrow-outer"/><path d="m0 8 8-7 8 7Z" class="tippy-svg-arrow-inner"/></svg>';function pd(ei,ti={}){const{onHide:ii,onShow:ni,onDestroy:si,role:ai,theme:li,arrow:fi,...hi}=ti,_i=bb(ei,{appendTo:document.body,animation:!1,allowHTML:!1,hideOnClick:!1,interactiveBorder:20,ignoreAttributes:!0,maxWidth:500,onHide:ji=>(Ym.delete(ji),ii?.(ji)),onDestroy:ji=>(Ym.delete(ji),si?.(ji)),onShow:ji=>{for(const Mi of Ym)Mi.props.role==="tooltip"&&Mi.hide();return Ym.add(ji),ni?.(ji)},arrow:fi||(li==="bare"?!1:bj),role:ai||"menu",theme:li||ai||"default",plugins:[pj],...hi});return ai==="menu"&&ei.setAttribute("aria-haspopup","true"),_i}function Jm(ei,ti=null){if(_j(ei),ti=ti??ei.getAttribute("data-tooltip-content"),!ti)return null;const ni=!ei.hasAttribute("data-clipboard-target"),si={content:ti,delay:100,role:"tooltip",theme:"tooltip",hideOnClick:ni,placement:ei.getAttribute("data-tooltip-placement")||"top-start",followCursor:ei.getAttribute("data-tooltip-follow-cursor")||!1,...ei.getAttribute("data-tooltip-interactive")==="true"?{interactive:!0,aria:{content:"describedby",expanded:!1}}:{}};return ei._tippy?ei._tippy.setProps(si):pd(ei,si),ei._tippy}function _j(ei){let ti=ei.getAttribute("title");if(ti){if(ei.tagName.toLowerCase()==="relative-time"){const ii=ei.getAttribute("datetime");ii&&(ti=(0,_b.Rt)(new Date(ii)))}ei.setAttribute("data-tooltip-content",ti),ei.setAttribute("aria-label",ti),ei.setAttribute("title","")}}function yb(ei){ei.target.removeEventListener("mouseover",yb,!0),Jm(this)}function wb(ei){if(ei.addEventListener("mouseover",yb,{capture:!0}),!ei.hasAttribute("aria-label")){const ti=ei.getAttribute("data-tooltip-content");ti&&ei.setAttribute("aria-label",ti)}}function xb(ei){for(const ti of ei.querySelectorAll("[data-tooltip-content]"))wb(ti)}function yj(){const ei=ii=>ii.observe(document,{subtree:!0,childList:!0,attributeFilter:["data-tooltip-content","title"]}),ti=new MutationObserver((ii,ni)=>{const si=ni.takeRecords();ni.disconnect();for(const ai of[...ii,...si])if(ai.type==="childList")for(const li of ai.addedNodes)(0,zn.NF)(li)&&(xb(li),li.hasAttribute("data-tooltip-content")&&wb(li));else ai.type==="attributes"&&Jm(ai.target);ei(ni)});ei(ti),xb(document.documentElement)}function Mf(ei,ti){if(ei.closest(".ui.dropdown > .menu"))return;const ii=ei._tippy??Jm(ei,ti);ii.setContent(ti),ii.state.isShown||ii.show(),ii.setProps({onHidden:ni=>{Jm(ei)||ni.destroy()}})}var na=__webpack_require__("./web_src/js/utils.js");async function Zh(ei,{reject:ti=!1}={}){try{if(Array.isArray(ei))return!navigator?.clipboard&&ei.length===1&&typeof ei[0]=="string"?jb(ei):(await navigator.clipboard.write([new ClipboardItem(Object.fromEntries(ei.map(ii=>[ii.type??"text/plain",ii])))]),!0);if(ei instanceof Blob)return await navigator.clipboard.write([new ClipboardItem({[ei.type]:ei})]),!0;try{return await navigator.clipboard.writeText(String(ei)),!0}catch{return jb(ei)}}catch(ii){if(ti)throw ii;return!1}}function jb(ei){if(!document.execCommand)return!1;const ti=document.createElement("textarea");ti.value=String(ei),ti.style.clipPath="inset(50%)",ti.ariaHidden="true",document.body.append(ti);try{return ti.select(),document.execCommand("copy")}finally{ti.remove()}}const{copy_success:wj,copy_error:xj}=window.config.i18n;function jj(){document.addEventListener("click",async ei=>{const ti=ei.target.closest("[data-clipboard-text], [data-clipboard-target]");if(!ti)return;ei.preventDefault();let ii=ti.getAttribute("data-clipboard-text");if(ii||(ii=document.querySelector(ti.getAttribute("data-clipboard-target"))?.value),ii&&ti.getAttribute("data-clipboard-text-type")==="url"&&(ii=(0,na.oK)(ii)),ii){const ni=await Zh(ii);Mf(ti,ni?wj:xj)}})}const Sj={ref:"root"},Cj={key:0,class:"tw-h-12 tw-w-12 is-loading"},Ej={key:1,class:"tw-flex tw-flex-col tw-gap-2"},kj={class:"tw-text-12"},Aj={class:"flex-text-block"},Tj={class:"issue-title tw-font-semibold tw-break-anywhere"},Lj={class:"index"},Rj={key:0},Mj=["innerHTML"],Oj={key:2,class:"tw-flex tw-flex-col tw-gap-2"},Dj={class:"tw-text-12"};function Fj(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("svg-icon");return(0,ri.uX)(),(0,ri.CE)("div",Sj,[ei.loading?((0,ri.uX)(),(0,ri.CE)("div",Cj)):(0,ri.Q3)("v-if",!0),!ei.loading&&ei.issue!==null?((0,ri.uX)(),(0,ri.CE)("div",Ej,[(0,ri.Lk)("div",kj,(0,yi.v_)(ei.issue.repository.full_name)+" on "+(0,yi.v_)(ai.createdAt),1),(0,ri.Lk)("div",Aj,[(0,ri.bF)(li,{name:ai.icon,class:(0,yi.C4)(["text",ai.color])},null,8,["name","class"]),(0,ri.Lk)("span",Tj,[(0,ri.eW)((0,yi.v_)(ei.issue.title)+" ",1),(0,ri.Lk)("span",Lj,"#"+(0,yi.v_)(ei.issue.number),1)])]),ai.body?((0,ri.uX)(),(0,ri.CE)("div",Rj,(0,yi.v_)(ai.body),1)):(0,ri.Q3)("v-if",!0),(0,ri.Q3)(" eslint-disable-next-line vue/no-v-html "),ei.issue.labels.length?((0,ri.uX)(),(0,ri.CE)("div",{key:1,innerHTML:ei.renderedLabels},null,8,Mj)):(0,ri.Q3)("v-if",!0)])):(0,ri.Q3)("v-if",!0),!ei.loading&&ei.issue===null?((0,ri.uX)(),(0,ri.CE)("div",Oj,[(0,ri.Lk)("div",Dj,(0,yi.v_)(ei.i18nErrorOccurred),1),(0,ri.Lk)("div",null,(0,yi.v_)(ei.i18nErrorMessage),1)])):(0,ri.Q3)("v-if",!0)],512)}const{appSubUrl:Ij,i18n:gg}=window.config;var Pj={components:{SvgIcon:Io.Ah},data:()=>({loading:!1,issue:null,renderedLabels:"",i18nErrorOccurred:gg.error_occurred,i18nErrorMessage:null}),computed:{createdAt(){return new Date(this.issue.created_at).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})},body(){const ei=this.issue.body.replace(/\n+/g," ");return ei.length>85?`${ei.substring(0,85)}\u2026`:ei},icon(){return this.issue.pull_request!==null?this.issue.state==="open"?this.issue.pull_request.draft===!0?"octicon-git-pull-request-draft":"octicon-git-pull-request":this.issue.pull_request.merged===!0?"octicon-git-merge":"octicon-git-pull-request":this.issue.state==="open"?"octicon-issue-opened":"octicon-issue-closed"},color(){if(this.issue.pull_request!==null){if(this.issue.pull_request.draft===!0)return"grey";if(this.issue.pull_request.merged===!0)return"purple"}return this.issue.state==="open"?"green":"red"}},mounted(){this.$refs.root.addEventListener("ce-load-context-popup",ei=>{const ti=ei.detail;!this.loading&&this.issue===null&&this.load(ti)})},methods:{async load(ei){this.loading=!0,this.i18nErrorMessage=null;try{const ti=await(0,so.fG)(`${Ij}/${ei.owner}/${ei.repo}/issues/${ei.index}/info`),ii=await ti.json();if(!ti.ok){this.i18nErrorMessage=ii.message??gg.network_error;return}this.issue=ii.convertedIssue,this.renderedLabels=ii.renderedLabels}catch{this.i18nErrorMessage=gg.network_error}finally{this.loading=!1}}}},qj=(0,zc.A)(Pj,[["render",Fj]]);function Nj(){const ei=document.querySelectorAll(".ref-issue");vg(ei)}function vg(ei){for(const ti of ei){if(ti.classList.contains("ref-external-issue"))return;const{owner:ii,repo:ni,index:si}=(0,na.S3)(ti.getAttribute("href"));if(!ii)return;const ai=document.createElement("div");ai.classList.add("tw-p-3"),ti.parentNode.insertBefore(ai,ti.nextSibling);const li=dc(qj);try{li.mount(ai)}catch(fi){console.error(fi),ai.textContent="ContextPopup failed to load"}pd(ti,{theme:"default",content:ai,placement:"top-start",interactive:!0,role:"dialog",interactiveBorder:5,onShow:()=>{ai.firstChild.dispatchEvent(new CustomEvent("ce-load-context-popup",{detail:{owner:ii,repo:ni,index:si}}))}})}}function Bj(){const ei=document.getElementById("git-graph-container");if(!ei)return;document.getElementById("flow-color-monochrome")?.addEventListener("click",()=>{document.getElementById("flow-color-monochrome").classList.add("active"),document.getElementById("flow-color-colored")?.classList.remove("active"),ei.classList.remove("colored"),ei.classList.add("monochrome");const li=new URLSearchParams(window.location.search);li.set("mode","monochrome");const fi=li.toString();fi?window.history.replaceState({},"",`?${fi}`):window.history.replaceState({},"",window.location.pathname);for(const hi of document.querySelectorAll(".pagination a")){const _i=hi.getAttribute("href");if(!_i)continue;const ji=new URL(_i,window.location),Mi=ji.searchParams;Mi.set("mode","monochrome"),ji.search=`?${Mi.toString()}`,hi.setAttribute("href",ji.href)}}),document.getElementById("flow-color-colored")?.addEventListener("click",()=>{document.getElementById("flow-color-colored").classList.add("active"),document.getElementById("flow-color-monochrome")?.classList.remove("active"),ei.classList.add("colored"),ei.classList.remove("monochrome");for(const hi of document.querySelectorAll(".pagination a")){const _i=hi.getAttribute("href");if(!_i)continue;const ji=new URL(_i,window.location),Mi=ji.searchParams;Mi.delete("mode"),ji.search=`?${Mi.toString()}`,hi.setAttribute("href",ji.href)}const li=new URLSearchParams(window.location.search);li.delete("mode");const fi=li.toString();fi?window.history.replaceState({},"",`?${fi}`):window.history.replaceState({},"",window.location.pathname)});const ti=new URL(window.location),ii=ti.searchParams,ni=()=>{const li=ii.toString(),fi=new URL(ti);fi.searchParams.set("div-only","true"),window.history.replaceState({},"",li?`?${li}`:window.location.pathname),document.getElementById("pagination").innerHTML="",(0,zn.y9)("#rel-container"),(0,zn.y9)("#rev-container"),(0,zn.fi)("#loading-indicator"),(async()=>{const _i=await(await(0,so.fG)(String(fi))).text(),ji=document.createElement("div");ji.innerHTML=_i,document.getElementById("pagination").innerHTML=ji.querySelector("#pagination").innerHTML,document.getElementById("rel-container").innerHTML=ji.querySelector("#rel-container").innerHTML,document.getElementById("rev-container").innerHTML=ji.querySelector("#rev-container").innerHTML,(0,zn.y9)("#loading-indicator"),(0,zn.fi)("#rel-container"),(0,zn.fi)("#rev-container")})()},si=ii.getAll("branch");ii.has("hide-pr-refs")&&ii.get("hide-pr-refs")==="true"&&si.splice(0,0,"...flow-hide-pr-refs");const ai=document.getElementById("flow-select-refs-dropdown");Hi(ai).dropdown("set selected",si),Hi(ai).dropdown({clearable:!0,fullTextSeach:"exact",onRemove(li){if(li==="...flow-hide-pr-refs")ii.delete("hide-pr-refs");else{const fi=ii.getAll("branch");ii.delete("branch");for(const hi of fi)hi!==li&&ii.append("branch",hi)}ni()},onAdd(li){li==="...flow-hide-pr-refs"?ii.set("hide-pr-refs",!0):ii.append("branch",li),ni()}}),ei.addEventListener("mouseenter",li=>{if(li.target.matches("#rev-list li")){const fi=li.target.getAttribute("data-flow");if(fi==="0")return;document.getElementById(`flow-${fi}`)?.classList.add("highlight"),li.target.classList.add("hover");for(const hi of document.querySelectorAll(`#rev-list li[data-flow='${fi}']`))hi.classList.add("highlight")}else if(li.target.matches("#rel-container .flow-group")){li.target.classList.add("highlight");const fi=li.target.getAttribute("data-flow");for(const hi of document.querySelectorAll(`#rev-list li[data-flow='${fi}']`))hi.classList.add("highlight")}else if(li.target.matches("#rel-container .flow-commit")){const fi=li.target.getAttribute("data-rev");document.querySelector(`#rev-list li#commit-${fi}`)?.classList.add("hover")}}),ei.addEventListener("mouseleave",li=>{if(li.target.matches("#rev-list li")){const fi=li.target.getAttribute("data-flow");if(fi==="0")return;document.getElementById(`flow-${fi}`)?.classList.remove("highlight"),li.target.classList.remove("hover");for(const hi of document.querySelectorAll(`#rev-list li[data-flow='${fi}']`))hi.classList.remove("highlight")}else if(li.target.matches("#rel-container .flow-group")){li.target.classList.remove("highlight");const fi=li.target.getAttribute("data-flow");for(const hi of document.querySelectorAll(`#rev-list li[data-flow='${fi}']`))hi.classList.remove("highlight")}else if(li.target.matches("#rel-container .flow-commit")){const fi=li.target.getAttribute("data-rev");document.querySelector(`#rev-list li#commit-${fi}`)?.classList.remove("hover")}})}const Hj={class:"total-contributions"};function $j(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("calendar-heatmap");return(0,ri.uX)(),(0,ri.CE)(ri.FK,null,[(0,ri.Lk)("div",Hj,(0,yi.v_)(ii.locale.textTotalContributions),1),(0,ri.bF)(li,{locale:ii.locale.heatMapLocale,"no-data-text":ii.locale.noDataText,"tooltip-unit":ii.locale.tooltipUnit,"end-date":ei.endDate,values:ii.values,"range-color":ei.colorRange,onDayClick:ti[0]||(ti[0]=fi=>ai.handleDayClick(fi)),"tippy-props":{theme:"tooltip"}},null,8,["locale","no-data-text","tooltip-unit","end-date","values","range-color"])],64)}var Vj=Object.defineProperty,Uj=(ei,ti,ii)=>ti in ei?Vj(ei,ti,{enumerable:!0,configurable:!0,writable:!0,value:ii}):ei[ti]=ii,gc=(ei,ti,ii)=>(Uj(ei,typeof ti!="symbol"?ti+"":ti,ii),ii);const gd=class{constructor(ei,ti,ii){gc(this,"startDate"),gc(this,"endDate"),gc(this,"max"),gc(this,"_values"),gc(this,"_firstFullWeekOfMonths"),gc(this,"_activities"),gc(this,"_calendar"),this.endDate=this.parseDate(ei),this.max=ii||Math.ceil(Math.max(...ti.map(ni=>ni.count))/5*4),this.startDate=this.shiftDate(ei,-gd.DAYS_IN_ONE_YEAR),this._values=ti}set values(ei){this.max=Math.ceil(Math.max(...ei.map(ti=>ti.count))/5*4),this._values=ei,this._firstFullWeekOfMonths=void 0,this._calendar=void 0,this._activities=void 0}get values(){return this._values}get activities(){if(!this._activities){this._activities=new Map;for(let ei=0,ti=this.values.length;ei<ti;ei++)this._activities.set(this.keyDayParser(this.values[ei].date),{count:this.values[ei].count,colorIndex:this.getColorIndex(this.values[ei].count)})}return this._activities}get weekCount(){return this.getDaysCount()/gd.DAYS_IN_WEEK}get calendar(){if(!this._calendar){let ei=this.shiftDate(this.startDate,-this.getCountEmptyDaysAtStart());ei=new Date(ei.getFullYear(),ei.getMonth(),ei.getDate()),this._calendar=new Array(this.weekCount);for(let ti=0,ii=this._calendar.length;ti<ii;ti++){this._calendar[ti]=new Array(gd.DAYS_IN_WEEK);for(let ni=0;ni<gd.DAYS_IN_WEEK;ni++){const si=this.activities.get(this.keyDayParser(ei));this._calendar[ti][ni]={date:new Date(ei.valueOf()),count:si?si.count:void 0,colorIndex:si?si.colorIndex:0},ei.setDate(ei.getDate()+1)}}}return this._calendar}get firstFullWeekOfMonths(){if(!this._firstFullWeekOfMonths){const ei=this.calendar;this._firstFullWeekOfMonths=[];for(let ti=1,ii=ei.length;ti<ii;ti++){const ni=ei[ti-1][0].date,si=ei[ti][0].date;(ni.getFullYear()<si.getFullYear()||ni.getMonth()<si.getMonth())&&this._firstFullWeekOfMonths.push({value:si.getMonth(),index:ti})}}return this._firstFullWeekOfMonths}getColorIndex(ei){return ei==null?0:ei<=0?1:ei>=this.max?5:Math.ceil(ei*100/this.max*.03)+1}getCountEmptyDaysAtStart(){return this.startDate.getDay()}getCountEmptyDaysAtEnd(){return gd.DAYS_IN_WEEK-1-this.endDate.getDay()}getDaysCount(){return gd.DAYS_IN_ONE_YEAR+1+this.getCountEmptyDaysAtStart()+this.getCountEmptyDaysAtEnd()}shiftDate(ei,ti){const ii=new Date(ei);return ii.setDate(ii.getDate()+ti),ii}parseDate(ei){return ei instanceof Date?ei:new Date(ei)}keyDayParser(ei){const ti=this.parseDate(ei);return String(ti.getFullYear())+String(ti.getMonth()).padStart(2,"0")+String(ti.getDate()).padStart(2,"0")}};let _a=gd;gc(_a,"DEFAULT_RANGE_COLOR_LIGHT",["#ebedf0","#dae2ef","#c0ddf9","#73b3f3","#3886e1","#17459e"]),gc(_a,"DEFAULT_RANGE_COLOR_DARK",["#1f1f22","#1e334a","#1d466c","#1d5689","#1d69ac","#1B95D1"]),gc(_a,"DEFAULT_LOCALE",{months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],on:"on",less:"Less",more:"More"}),gc(_a,"DEFAULT_TOOLTIP_UNIT","contributions"),gc(_a,"DAYS_IN_ONE_YEAR",365),gc(_a,"DAYS_IN_WEEK",7),gc(_a,"SQUARE_SIZE",10);const Wj=(0,ri.pM)({name:"CalendarHeatmap",props:{endDate:{required:!0},max:{type:Number},rangeColor:{type:Array},values:{type:Array,required:!0},locale:{type:Object},tooltip:{type:Boolean,default:!0},tooltipUnit:{type:String,default:_a.DEFAULT_TOOLTIP_UNIT},tooltipFormatter:{type:Function},tippyProps:{type:Object,default:null},vertical:{type:Boolean,default:!1},noDataText:{type:[Boolean,String],default:null},round:{type:Number,default:0},darkMode:Boolean},emits:["dayClick"],setup(ei){const ti=_a.SQUARE_SIZE/5,ii=_a.SQUARE_SIZE+ti,ni=Math.ceil(_a.SQUARE_SIZE*2.5),si=ii*3,ai=_a.SQUARE_SIZE+_a.SQUARE_SIZE/2,li=_a.SQUARE_SIZE+_a.SQUARE_SIZE/2,fi=`translate(${ni}, ${ai})`,hi=(0,Rl.KR)(null),_i=(0,Rl.KR)(new Date),ji=(0,Rl.KR)(new _a(ei.endDate,ei.values,ei.max)),Mi=(0,Rl.KR)(0),Ki=(0,Rl.KR)(0),on=(0,Rl.KR)("0 0 0 0"),hn=(0,Rl.KR)("0 0 0 0"),gn=(0,Rl.KR)(""),es=(0,Rl.KR)(""),Wn=(0,Rl.KR)(""),Gn=(0,Rl.KR)({}),Dn=(0,Rl.KR)(ei.rangeColor||(ei.darkMode?_a.DEFAULT_RANGE_COLOR_DARK:_a.DEFAULT_RANGE_COLOR_LIGHT)),{values:Xi,tooltipUnit:Bn,tooltipFormatter:Kn,noDataText:us,max:$s,vertical:ws,locale:Cs}=(0,Rl.QW)(ei),zs=new Map;let Es;function Yr(){zs.clear(),Es?Es.setInstances(Array.from(zs.values())):Es=uj(Array.from(zs.values()),{overrides:[],moveTransition:"transform 0.1s ease-out",allowHTML:!0,...ei.tippyProps})}function Co(ao){if(ei.tooltip){if(ao.count!==void 0)return ei.tooltipFormatter?ei.tooltipFormatter(ao,ei.tooltipUnit):`<b>${ao.count} ${ei.tooltipUnit}</b> ${Gn.value.on} ${Gn.value.months[ao.date.getMonth()]} ${ao.date.getDate()}, ${ao.date.getFullYear()}`;if(ei.noDataText)return`${ei.noDataText}`;if(ei.noDataText!==!1)return`<b>No ${ei.tooltipUnit}</b> ${Gn.value.on} ${Gn.value.months[ao.date.getMonth()]} ${ao.date.getDate()}, ${ao.date.getFullYear()}`}}function Ho(ao){return ei.vertical?`translate(0, ${ii*ji.value.weekCount-(ao+1)*ii})`:`translate(${ao*ii}, 0)`}function Qr(ao){return ei.vertical?`translate(${ao*ii}, 0)`:`translate(0, ${ao*ii})`}function xo(ao){return ei.vertical?{x:3,y:ii*ji.value.weekCount-ii*ao.index-ii/4}:{x:ii*ao.index,y:ii-ti}}(0,ri.wB)([(0,Rl.lW)(ei,"rangeColor"),(0,Rl.lW)(ei,"darkMode")],([ao,Oa])=>{Dn.value=ao||(Oa?_a.DEFAULT_RANGE_COLOR_DARK:_a.DEFAULT_RANGE_COLOR_LIGHT)}),(0,ri.wB)(ws,ao=>{ao?(Mi.value=ni+ii*_a.DAYS_IN_WEEK+si,Ki.value=ai+ii*ji.value.weekCount+ti,gn.value=`translate(${ni}, 0)`,es.value=`translate(0, ${ai})`):(Mi.value=ni+ii*ji.value.weekCount+ti,Ki.value=ai+ii*_a.DAYS_IN_WEEK,gn.value=`translate(0, ${ai})`,es.value=`translate(${ni}, 0)`)},{immediate:!0}),(0,ri.wB)([Mi,Ki],([ao,Oa])=>on.value=` 0 0 ${ao} ${Oa}`,{immediate:!0}),(0,ri.wB)([Mi,Ki,Dn],([ao,Oa,Sl])=>{Wn.value=ws.value?`translate(${ni+ii*_a.DAYS_IN_WEEK}, ${ai})`:`translate(${ao-ii*Sl.length-30}, ${Oa-li})`},{immediate:!0}),(0,ri.wB)(Cs,ao=>Gn.value=ao?{..._a.DEFAULT_LOCALE,...ao}:_a.DEFAULT_LOCALE,{immediate:!0}),(0,ri.wB)(Dn,ao=>hn.value=`0 0 ${_a.SQUARE_SIZE*(ao.length+1)} ${_a.SQUARE_SIZE}`,{immediate:!0}),(0,ri.wB)([Xi,Bn,Kn,us,$s,Dn],()=>{ji.value=new _a(ei.endDate,ei.values,ei.max),zs.forEach(ao=>ao.destroy()),(0,ri.dY)(Yr)}),(0,ri.sV)(Yr),(0,ri.xo)(()=>{Es?.destroy(),zs.forEach(ao=>ao.destroy())});function to(ao){if(Es&&ao.target&&ao.target.classList.contains("vch__day__square")&&ao.target.dataset.weekIndex!==void 0&&ao.target.dataset.dayIndex!==void 0){const Oa=Number(ao.target.dataset.weekIndex),Sl=Number(ao.target.dataset.dayIndex);if(!isNaN(Oa)&&!isNaN(Sl)){const Ga=Co(ji.value.calendar[Oa][Sl]);if(Ga){const nl=zs.get(ao.target);nl?nl.setContent(Ga):nl||(zs.set(ao.target,bb(ao.target,{content:Ga})),Es.setInstances(Array.from(zs.values())))}}}}return{SQUARE_BORDER_SIZE:ti,SQUARE_SIZE:ii,LEFT_SECTION_WIDTH:ni,RIGHT_SECTION_WIDTH:si,TOP_SECTION_HEIGHT:ai,BOTTOM_SECTION_HEIGHT:li,svg:hi,heatmap:ji,now:_i,width:Mi,height:Ki,viewbox:on,daysLabelWrapperTransform:gn,monthsLabelWrapperTransform:es,yearWrapperTransform:fi,legendWrapperTransform:Wn,lo:Gn,legendViewbox:hn,curRangeColor:Dn,getWeekPosition:Ho,getDayPosition:Qr,getMonthLabelPosition:xo,initTippyLazy:to}}}),zj=(ei,ti)=>{const ii=ei.__vccOpts||ei;for(const[ni,si]of ti)ii[ni]=si;return ii},Kj=["viewBox"],Xj=["transform"],Gj=["x","y"],Qj=["transform"],Yj=["x","y"],Jj=["x","y"],Zj=["x","y"],eS=["transform"],tS=["x"],iS=["rx","ry","width","height","x","y"],nS=["x","y"],sS=["transform"],rS=["transform"],oS=["rx","ry","transform","width","height","data-week-index","data-day-index","onClick"],aS={class:"vch__legend"},lS={class:"vch__legend-left"},cS={class:"vch__legend-right"},uS={class:"vch__legend"},fS=["viewBox","height"],dS={class:"vch__legend__wrapper"},hS=["rx","ry","width","height","x"];function mS(ei,ti,ii,ni,si,ai){return(0,ri.uX)(),(0,ri.CE)("div",{class:(0,yi.C4)({vch__container:!0,"dark-mode":ei.darkMode})},[((0,ri.uX)(),(0,ri.CE)("svg",{class:"vch__wrapper",ref:"svg",viewBox:ei.viewbox},[(0,ri.Lk)("g",{class:"vch__months__labels__wrapper",transform:ei.monthsLabelWrapperTransform},[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.heatmap.firstFullWeekOfMonths,(li,fi)=>((0,ri.uX)(),(0,ri.CE)("text",{class:"vch__month__label",key:fi,x:ei.getMonthLabelPosition(li).x,y:ei.getMonthLabelPosition(li).y},(0,yi.v_)(ei.lo.months[li.value]),9,Gj))),128))],8,Xj),(0,ri.Lk)("g",{class:"vch__days__labels__wrapper",transform:ei.daysLabelWrapperTransform},[(0,ri.Lk)("text",{class:"vch__day__label",x:ei.vertical?ei.SQUARE_SIZE:0,y:ei.vertical?ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE:20},(0,yi.v_)(ei.lo.days[1]),9,Yj),(0,ri.Lk)("text",{class:"vch__day__label",x:ei.vertical?ei.SQUARE_SIZE*3:0,y:ei.vertical?ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE:44},(0,yi.v_)(ei.lo.days[3]),9,Jj),(0,ri.Lk)("text",{class:"vch__day__label",x:ei.vertical?ei.SQUARE_SIZE*5:0,y:ei.vertical?ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE:69},(0,yi.v_)(ei.lo.days[5]),9,Zj)],8,Qj),ei.vertical?((0,ri.uX)(),(0,ri.CE)("g",{key:0,class:"vch__legend__wrapper",transform:ei.legendWrapperTransform},[(0,ri.Lk)("text",{x:ei.SQUARE_SIZE*1.25,y:"8"},(0,yi.v_)(ei.lo.less),9,tS),((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.curRangeColor,(li,fi)=>((0,ri.uX)(),(0,ri.CE)("rect",{key:fi,rx:ei.round,ry:ei.round,style:(0,yi.Tr)({fill:li}),width:ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE,height:ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE,x:ei.SQUARE_SIZE*1.75,y:ei.SQUARE_SIZE*(fi+1)},null,12,iS))),128)),(0,ri.Lk)("text",{x:ei.SQUARE_SIZE*1.25,y:ei.SQUARE_SIZE*(ei.curRangeColor.length+2)-ei.SQUARE_BORDER_SIZE},(0,yi.v_)(ei.lo.more),9,nS)],8,eS)):(0,ri.Q3)("",!0),(0,ri.Lk)("g",{class:"vch__year__wrapper",transform:ei.yearWrapperTransform,onMouseover:ti[0]||(ti[0]=(...li)=>ei.initTippyLazy&&ei.initTippyLazy(...li))},[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.heatmap.calendar,(li,fi)=>((0,ri.uX)(),(0,ri.CE)("g",{class:"vch__month__wrapper",key:fi,transform:ei.getWeekPosition(fi)},[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(li,(hi,_i)=>((0,ri.uX)(),(0,ri.CE)(ri.FK,{key:_i},[hi.date<ei.now?((0,ri.uX)(),(0,ri.CE)("rect",{key:0,class:"vch__day__square",rx:ei.round,ry:ei.round,transform:ei.getDayPosition(_i),width:ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE,height:ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE,style:(0,yi.Tr)({fill:ei.curRangeColor[hi.colorIndex]}),"data-week-index":fi,"data-day-index":_i,onClick:ji=>ei.$emit("dayClick",hi)},null,12,oS)):(0,ri.Q3)("",!0)],64))),128))],8,rS))),128))],40,sS)],8,Kj)),(0,ri.Lk)("div",aS,[(0,ri.RG)(ei.$slots,"legend",{},()=>[(0,ri.Lk)("div",lS,[(0,ri.RG)(ei.$slots,"vch__legend-left")]),(0,ri.Lk)("div",cS,[(0,ri.RG)(ei.$slots,"legend-right",{},()=>[(0,ri.Lk)("div",uS,[(0,ri.Lk)("div",null,(0,yi.v_)(ei.lo.less),1),ei.vertical?(0,ri.Q3)("",!0):((0,ri.uX)(),(0,ri.CE)("svg",{key:0,class:"vch__external-legend-wrapper",viewBox:ei.legendViewbox,height:ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE},[(0,ri.Lk)("g",dS,[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.curRangeColor,(li,fi)=>((0,ri.uX)(),(0,ri.CE)("rect",{key:fi,rx:ei.round,ry:ei.round,style:(0,yi.Tr)({fill:li}),width:ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE,height:ei.SQUARE_SIZE-ei.SQUARE_BORDER_SIZE,x:ei.SQUARE_SIZE*fi},null,12,hS))),128))])],8,fS)),(0,ri.Lk)("div",null,(0,yi.v_)(ei.lo.more),1)])])])])])],2)}const bg=zj(Wj,[["render",mS]]);function pS(ei){ei.component(bg.name,bg)}const PR={install:pS};var gS={components:{CalendarHeatmap:bg},props:{values:{type:Array,default:()=>[]},locale:{type:Object,default:()=>{}}},data:()=>({colorRange:["var(--color-secondary-alpha-60)","var(--color-secondary-alpha-60)","var(--color-primary-light-4)","var(--color-primary-light-2)","var(--color-primary)","var(--color-primary-dark-2)","var(--color-primary-dark-4)"],endDate:new Date}),mounted(){const ei=document.querySelector(".vch__external-legend-wrapper");ei.setAttribute("viewBox","12 0 80 10"),ei.style.marginRight="-12px"},methods:{handleDayClick(ei){const ti=new URLSearchParams(document.location.search),ii=ti.get("date"),ni=new Date(ei.date-ei.date.getTimezoneOffset()*6e4).toISOString().substring(0,10);ii&&ii===ni?ti.delete("date"):ti.set("date",ni),ti.delete("page");const si=ti.toString();window.location.search=si.length?`?${si}`:""}}},vS=(0,zc.A)(gS,[["render",$j]]);function bS(){const ei=document.getElementById("user-heatmap");if(ei)try{const ti={};for(const{contributions:ai,timestamp:li}of JSON.parse(ei.getAttribute("data-heatmap-data"))){const fi=new Date(li*1e3).toDateString();ti[fi]=(ti[fi]||0)+ai}const ii=Object.keys(ti).map(ai=>({date:new Date(ai),count:ti[ai]})),ni={heatMapLocale:{months:new Array(12).fill().map((ai,li)=>(0,na.z5)(li)),days:new Array(7).fill().map((ai,li)=>(0,na.FS)(li)),on:" - ",more:ei.getAttribute("data-locale-more"),less:ei.getAttribute("data-locale-less")},tooltipUnit:"contributions",textTotalContributions:ei.getAttribute("data-locale-total-contributions"),noDataText:ei.getAttribute("data-locale-no-contributions")};dc(vS,{values:ii,locale:ni}).mount(ei),ei.classList.remove("is-loading")}catch(ti){console.error("Heatmap failed to load",ti),ei.textContent="Heatmap failed to load"}}function _S(ei,ti){const ai=(0,na.a8)(ei,"image/svg+xml").documentElement,li=ai?.width?.baseVal,fi=ai?.height?.baseVal;if(li===void 0||fi===void 0)return null;if(li.unitType===SVGLength.SVG_LENGTHTYPE_PERCENTAGE||fi.unitType===SVGLength.SVG_LENGTHTYPE_PERCENTAGE){const hi=new Image;if(hi.src=ti,hi.width>1&&hi.width<99999&&hi.height>1&&hi.height<99999)return{width:hi.width,height:hi.height};if(ai.hasAttribute("viewBox")){const _i=ai.viewBox.baseVal;return{width:300,height:300*_i.width/_i.height}}return{width:300,height:300}}return null}function _g(ei,ti){const ii={width:ei?.width||0,height:ei?.height||0},ni={width:ti?.width||0,height:ti?.height||0},si={width:Math.max(ni.width,ii.width),height:Math.max(ni.height,ii.height)};return{imageAfter:ei,imageBefore:ti,sizeAfter:ii,sizeBefore:ni,maxSize:si,ratio:[Math.floor(si.width-ii.width)/2,Math.floor(si.height-ii.height)/2,Math.floor(si.width-ni.width)/2,Math.floor(si.height-ni.height)/2]}}function Sb(){Hi(".image-diff:not([data-image-diff-loaded])").each(async function(){const ei=Hi(this);this.setAttribute("data-image-diff-loaded","true");const ti=Math.max(ei.closest(".diff-file-box").width()-300,100),ii=[{path:this.getAttribute("data-path-after"),mime:this.getAttribute("data-mime-after"),$images:ei.find("img.image-after"),$boundsInfo:ei.find(".bounds-info-after")},{path:this.getAttribute("data-path-before"),mime:this.getAttribute("data-mime-before"),$images:ei.find("img.image-before"),$boundsInfo:ei.find(".bounds-info-before")}];await Promise.all(ii.map(async hi=>{const[_i]=await Promise.all(Array.from(hi.$images,ji=>(0,zn.QW)(ji,hi.path)));if(_i||hi.$boundsInfo.text("(image error)"),hi.mime==="image/svg+xml"){const Mi=await(await(0,so.fG)(hi.path)).text(),Ki=_S(Mi,hi.path);Ki&&(hi.$images.each(function(){this.setAttribute("width",Ki.width),this.setAttribute("height",Ki.height)}),(0,zn.y9)(hi.$boundsInfo))}}));const ni=ii[0].$images,si=ii[1].$images;ai(this,_g(ni[0],si[0])),ni.length>0&&si.length>0&&(li(_g(ni[1],si[1])),fi(_g(ni[2],si[2]))),(0,zn.xP)(this,".image-diff-tabs",hi=>hi.classList.remove("is-loading"));function ai(hi,_i){let ji=1;_i.maxSize.width>(ti-24)/2&&(ji=(ti-24)/2/_i.maxSize.width);const Mi=_i.imageAfter&&_i.imageBefore&&_i.imageAfter.naturalWidth!==_i.imageBefore.naturalWidth,Ki=_i.imageAfter&&_i.imageBefore&&_i.imageAfter.naturalHeight!==_i.imageBefore.naturalHeight;if(_i.imageAfter){const on=hi.querySelector(".bounds-info-after .bounds-info-width");on&&(on.textContent=`${_i.imageAfter.naturalWidth}px`,on.classList.toggle("green",Mi));const hn=hi.querySelector(".bounds-info-after .bounds-info-height");hn&&(hn.textContent=`${_i.imageAfter.naturalHeight}px`,hn.classList.toggle("green",Ki))}if(_i.imageBefore){const on=hi.querySelector(".bounds-info-before .bounds-info-width");on&&(on.textContent=`${_i.imageBefore.naturalWidth}px`,on.classList.toggle("red",Mi));const hn=hi.querySelector(".bounds-info-before .bounds-info-height");hn&&(hn.textContent=`${_i.imageBefore.naturalHeight}px`,hn.classList.add("red",Ki))}if(_i.imageAfter){const on=_i.imageAfter.parentNode;_i.imageAfter.style.width=`${_i.sizeAfter.width*ji}px`,_i.imageAfter.style.height=`${_i.sizeAfter.height*ji}px`,on.style.margin="10px auto",on.style.width=`${_i.sizeAfter.width*ji+2}px`,on.style.height=`${_i.sizeAfter.height*ji+2}px`}if(_i.imageBefore){const on=_i.imageBefore.parentNode;_i.imageBefore.style.width=`${_i.sizeBefore.width*ji}px`,_i.imageBefore.style.height=`${_i.sizeBefore.height*ji}px`,on.style.margin="10px auto",on.style.width=`${_i.sizeBefore.width*ji+2}px`,on.style.height=`${_i.sizeBefore.height*ji+2}px`}}function li(hi){let _i=1;if(hi.maxSize.width>ti-12&&(_i=(ti-12)/hi.maxSize.width),hi.imageAfter){const Mi=hi.imageAfter.parentNode,Ki=Mi.parentNode;hi.imageAfter.style.width=`${hi.sizeAfter.width*_i}px`,hi.imageAfter.style.height=`${hi.sizeAfter.height*_i}px`,Mi.style.margin=`0px ${hi.ratio[0]*_i}px`,Mi.style.width=`${hi.sizeAfter.width*_i+2}px`,Mi.style.height=`${hi.sizeAfter.height*_i+2}px`,Ki.style.padding=`${hi.ratio[1]*_i}px 0 0 0`,Ki.style.width=`${hi.maxSize.width*_i+2}px`}if(hi.imageBefore){const Mi=hi.imageBefore.parentNode,Ki=Mi.parentNode;hi.imageBefore.style.width=`${hi.sizeBefore.width*_i}px`,hi.imageBefore.style.height=`${hi.sizeBefore.height*_i}px`,Mi.style.margin=`${hi.ratio[3]*_i}px ${hi.ratio[2]*_i}px`,Mi.style.width=`${hi.sizeBefore.width*_i+2}px`,Mi.style.height=`${hi.sizeBefore.height*_i+2}px`,Ki.style.width=`${hi.maxSize.width*_i+2}px`,Ki.style.height=`${hi.maxSize.height*_i+2}px`}const ji=ei.find(".diff-swipe")[0];ji&&(ji.style.width=`${hi.maxSize.width*_i+2}px`,ji.style.height=`${hi.maxSize.height*_i+30}px`),ei.find(".swipe-bar").on("mousedown",function(Mi){Mi.preventDefault();const Ki=Hi(this),on=Ki.parent(),hn=on.width()-Ki.width()-2;Hi(document).on("mousemove.diff-swipe",gn=>{gn.preventDefault();const es=Math.max(0,Math.min(gn.clientX-on.offset().left,hn));Ki[0].style.left=`${es}px`,ei.find(".swipe-container")[0].style.width=`${on.width()-es}px`,Hi(document).on("mouseup.diff-swipe",()=>{Hi(document).off(".diff-swipe")})})})}function fi(hi){let _i=1;if(hi.maxSize.width>ti-12&&(_i=(ti-12)/hi.maxSize.width),hi.imageAfter){const Ki=hi.imageAfter.parentNode;hi.imageAfter.style.width=`${hi.sizeAfter.width*_i}px`,hi.imageAfter.style.height=`${hi.sizeAfter.height*_i}px`,Ki.style.margin=`${hi.ratio[1]*_i}px ${hi.ratio[0]*_i}px`,Ki.style.width=`${hi.sizeAfter.width*_i+2}px`,Ki.style.height=`${hi.sizeAfter.height*_i+2}px`}if(hi.imageBefore){const Ki=hi.imageBefore.parentNode,on=Ki.parentNode;hi.imageBefore.style.width=`${hi.sizeBefore.width*_i}px`,hi.imageBefore.style.height=`${hi.sizeBefore.height*_i}px`,Ki.style.margin=`${hi.ratio[3]*_i}px ${hi.ratio[2]*_i}px`,Ki.style.width=`${hi.sizeBefore.width*_i+2}px`,Ki.style.height=`${hi.sizeBefore.height*_i+2}px`,on.style.width=`${hi.maxSize.width*_i+2}px`,on.style.height=`${hi.maxSize.height*_i+2}px`}const ji=ei[0].querySelector('input[type="range"]');function Mi(){hi.imageAfter&&(hi.imageAfter.parentNode.style.opacity=`${ji.value/100}`)}ji?.addEventListener("input",Mi),Mi()}})}const yg=document.getElementById("service_type"),Cb=document.getElementById("auth_username"),Eb=document.getElementById("auth_password"),kb=document.getElementById("auth_token"),Ab=document.getElementById("mirror"),wg=document.getElementById("lfs"),yS=document.getElementById("lfs_settings"),Tb=document.getElementById("lfs_endpoint"),xg=document.querySelectorAll("#migrate_items input[type=checkbox]");function wS(){xS(),Lb(),Cb?.addEventListener("input",()=>{em(!1)}),Eb?.addEventListener("input",()=>{em(!1)}),kb?.addEventListener("input",()=>{em(!0)}),Ab?.addEventListener("change",()=>{em(!0)}),document.getElementById("lfs_settings_show")?.addEventListener("click",ti=>{ti.preventDefault(),ti.stopPropagation(),(0,zn.fi)(Tb)}),wg?.addEventListener("change",Lb);const ei=document.getElementById("clone_addr");ei?.addEventListener("change",()=>{const ti=document.getElementById("repo_name");ei.value&&!ti?.value&&(ti.value=ei.value.match(/^(.*\/)?((.+?)(\.git)?)$/)[3])})}function xS(){if(!yg)return;const ei=Number(yg.value);em(ei!==1)}function em(ei){let ti;if(ei?ti=kb?.value!=="":ti=Cb?.value!==""||Eb?.value!=="",ti&&Number(yg?.value)>1){if(Ab?.checked){for(const ii of xg)ii.disabled=ii.name!=="wiki";return}for(const ii of xg)ii.disabled=!1}else for(const ii of xg)ii.disabled=!0}function Lb(){if(!wg)return;const ei=wg.checked;(0,zn.oi)(yS,ei),(0,zn.y9)(Tb)}var jS=__webpack_require__("./web_src/js/utils/color.js");async function jg(ei,ti={}){const{Sortable:ii}=await __webpack_require__.e("sortablejs").then(__webpack_require__.bind(__webpack_require__,"./node_modules/sortablejs/modular/sortable.esm.js"));return new ii(ei,{animation:150,ghostClass:"card-ghost",onChoose:ni=>{(ti.handle?ni.item.querySelector(ti.handle):ni.item).classList.add("tw-cursor-grabbing"),ti.onChoose?.(ni)},onUnchoose:ni=>{(ti.handle?ni.item.querySelector(ti.handle):ni.item).classList.remove("tw-cursor-grabbing"),ti.onUnchoose?.(ni)},...ti})}function Rb(ei){const ti=ei.parentElement,ii=ti.getElementsByClassName("issue-card").length;ti.getElementsByClassName("project-column-issue-count")[0].textContent=ii}async function SS(ei,ti,ii){try{await(0,so.LO)(ei,{data:{title:ti.val(),color:ii.val()}})}catch(ni){console.error(ni)}finally{ti.closest("form").removeClass("dirty"),window.location.reload()}}async function Mb({item:ei,from:ti,to:ii,oldIndex:ni}){const si=ii.getElementsByClassName("issue-card");Rb(ti),Rb(ii);const ai={issues:Array.from(si,(li,fi)=>({issueID:parseInt(li.getAttribute("data-issue")),sorting:fi}))};try{await(0,so.LO)(`${ii.getAttribute("data-url")}/move`,{data:ai})}catch(li){console.error(li),ti.insertBefore(ei,ti.children[ni])}}async function CS(){const ei=document.querySelectorAll("#project-board > .board.sortable");if(!ei.length)return;const ti=ei[0];let ii=ti.getElementsByClassName("project-column");jg(ti,{group:"project-column",draggable:".project-column",handle:".project-column-header",delayOnTouchOnly:!0,delay:500,onSort:async()=>{ii=ti.getElementsByClassName("project-column");const ni={columns:Array.from(ii,(si,ai)=>({columnID:parseInt(si.getAttribute("data-id")),sorting:ai}))};try{await(0,so.LO)(ti.getAttribute("data-url"),{data:ni})}catch(si){console.error(si)}}});for(const ni of ii){const si=ni.getElementsByClassName("cards")[0];jg(si,{group:"shared",onAdd:Mb,onUpdate:Mb,delayOnTouchOnly:!0,delay:500})}}function ES(){if(!document.querySelector(".repository.projects"))return;const ei=CS();for(const ti of document.getElementsByClassName("edit-project-column-modal")){const ni=ti.closest(".project-column-header")?.querySelector(".project-column-title-label"),si=ti.querySelector(".project-column-title-input"),ai=ti.querySelector("#new_project_column_color"),li=ti.closest(".project-column");ti.querySelector(".edit-project-column-button")?.addEventListener("click",async function(fi){fi.preventDefault();try{await(0,so.Uc)(this.getAttribute("data-url"),{data:{title:si?.value,color:ai?.value}})}catch(hi){console.error(hi)}finally{ni.textContent=si?.value,si.closest("form")?.classList.remove("dirty");const hi=li.querySelectorAll(":scope > .divider");if(ai.value){const _i=(0,jS.a)(ai.value);li.style.setProperty("background",ai.value,"important"),li.style.setProperty("color",_i,"important");for(const ji of hi)ji.style.setProperty("color",_i)}else{li.style.removeProperty("background"),li.style.removeProperty("color");for(const _i of hi)_i.style.removeProperty("color")}Hi(".ui.modal").modal("hide")}})}Hi(".default-project-column-modal").each(function(){const ti=Hi(this).closest(".project-column"),ii=Hi(ti).find(".default-project-column-show"),ni=Hi(this).find(".actions > .ok.button");Hi(ni).on("click",async si=>{si.preventDefault();try{await(0,so.LO)(Hi(ii).data("url"))}catch(ai){console.error(ai)}finally{window.location.reload()}})}),Hi(".show-delete-project-column-modal").each(function(){const ii=Hi(`${this.getAttribute("data-modal")}`).find(".actions > .ok.button"),ni=this.getAttribute("data-url");ii.on("click",async si=>{si.preventDefault();try{await(0,so.SJ)(ni)}catch(ai){console.error(ai)}finally{window.location.reload()}})}),Hi("#new_project_column_submit").on("click",ti=>{ti.preventDefault();const ii=Hi("#new_project_column"),ni=Hi("#new_project_column_color_picker");if(!ii.val())return;const si=ti.target.getAttribute("data-url");SS(si,ii,ni)})}function kS(){for(const ei of document.querySelectorAll("th[data-sortt-asc]")||[]){const ti=ei.getAttribute("data-sortt-asc"),ii=ei.getAttribute("data-sortt-desc"),ni=ei.getAttribute("data-sortt-default");ei.addEventListener("click",()=>{AS(ti,ii,ni)})}}function AS(ei,ti,ii){if(!ei)return!1;ti||(ti="");const ni=new URL(window.location);let si=ni.searchParams.get("sort");!si&&ii&&(si=ei),ni.searchParams.set("sort",si!==ei?ei:ti),window.location.replace(ni.href)}function TS(){for(const ei of document.querySelectorAll(".js-autofocus-end"))ei.focus(),ei.setSelectionRange(ei.value.length,ei.value.length)}function LS(){const ei=window.config.pageData.adminUserListSearchForm;if(!ei)return;const ti=document.querySelector("#user-list-search-form");if(!ti)return;for(const ni of ti.querySelectorAll(`button[name=sort][value="${ei.SortType}"]`))ni.classList.add("active");if(ei.StatusFilterMap){for(const[ni,si]of Object.entries(ei.StatusFilterMap))if(si)for(const ai of ti.querySelectorAll(`input[name="status_filter[${ni}]"][value="${si}"]`))ai.checked=!0}for(const ni of ti.querySelectorAll("input[type=radio]"))ni.addEventListener("click",()=>{ti.submit()});const ii=ti.querySelectorAll(".j-reset-status-filter");for(const ni of ii)ni.addEventListener("click",si=>{si.preventDefault();for(const ai of ti.querySelectorAll("input[type=radio]"))ai.name.startsWith("status_filter[")&&(ai.checked=!1);ti.submit()})}const{appSubUrl:RS}=window.config;function MS(){const ei=document.querySelector(".page-content.admin.config");if(ei)for(const ti of ei.querySelectorAll('input[type="checkbox"][data-config-dyn-key]'))ti.addEventListener("change",async()=>{try{const ni=await(await(0,so.LO)(`${RS}/admin/config`,{data:new URLSearchParams({key:ti.getAttribute("data-config-dyn-key"),value:ti.checked})})).json();if(ni.errorMessage)throw new Error(ni.errorMessage)}catch(ii){Mf(ti,ii.toString()),ti.checked=!ti.checked}})}const Ob=ei=>`user-content-${ei}`,Db=ei=>ei.replace(/^user-content-/,""),OS=ei=>ei.startsWith("user-content-");function Fb(ei){if(!ei)return;const ti=decodeURIComponent(ei),ii=Ob(ti);let ni=document.getElementById(ii);if(!ni){const si=document.getElementsByName(ii);si.length&&(ni=si[0])}if(!ni&&OS(ti))return document.getElementById(ti)?.scrollIntoView();ni?.scrollIntoView()}function DS(){const ei=document.querySelectorAll(".markup");if(ei.length){for(const ti of ei){for(const ii of ti.querySelectorAll("h1, h2, h3, h4, h5, h6")){const ni=document.createElement("a");ni.classList.add("anchor"),ni.setAttribute("href",`#${encodeURIComponent(Db(ii.id))}`),ni.innerHTML=(0,Io.JW)("octicon-link"),ii.prepend(ni)}for(const ii of ti.querySelectorAll('a[href^="#"]')){const ni=ii.getAttribute("href");ni.startsWith("#user-content-")&&ii.setAttribute("href",`#${Db(ni.substring(1))}`)}for(const ii of ti.querySelectorAll("a[name]"))ii.getAttribute("name")&&ii.setAttribute("name",Ob(ii.name));for(const ii of ti.querySelectorAll('a[href^="#"]'))ii.addEventListener("click",ni=>{Fb(ni.currentTarget.getAttribute("href")?.substring(1))})}document.querySelector(":target")||Fb(window.location.hash?.substring(1))}}const{appSubUrl:FS}=window.config;async function Ib(){await(0,na.yy)(5e3),window.location.href=`${FS}/`}const{appSubUrl:Sg,notificationSettings:vd,assetVersionEncoded:IS}=window.config;let Pb=0;function qb(){const ei=document.getElementById("notification_table");if(ei){window.addEventListener("pageshow",ti=>{if(ti.persisted){const ii=document.getElementById("notification_table"),ni=document.querySelector(".notifications-unread-count");let si=parseInt(ni.textContent);for(const ai of ii.querySelectorAll('.notifications-item[data-remove="true"]'))ai.remove(),si-=1;ni.textContent=si}});for(const ti of ei.querySelectorAll('.notifications-item[data-status="1"] .notifications-link'))ti.addEventListener("click",ii=>{ii.target.closest(".notifications-item").setAttribute("data-remove","true")})}}async function PS(ei){try{const ti=JSON.parse(ei.data);for(const ii of document.querySelectorAll(".notification_count"))ii.classList.toggle("tw-hidden",ti.Count===0),ii.textContent=`${ti.Count}`;await Nb()}catch(ti){console.error(ti,ei)}}function qS(){const ei=Hi(".notification_count");if(!ei.length)return;let ti=!1;const ii=(ni,si)=>{ni<=0||!Number.isFinite(ni)||(ti=!0,si=si??ei.text(),setTimeout(async()=>{await NS(ii,ni,si)},ni))};if(vd.EventSourceUpdateTime>0&&window.EventSource&&window.SharedWorker){const ni=new SharedWorker(`${__webpack_require__.p}js/eventsource.sharedworker.js?v=${IS}`,"notification-worker");ni.addEventListener("error",si=>{console.error("worker error",si)}),ni.port.addEventListener("messageerror",()=>{console.error("unable to deserialize message")}),ni.port.postMessage({type:"start",url:`${window.location.origin}${Sg}/user/events`}),ni.port.addEventListener("message",si=>{if(!si.data||!si.data.type){console.error("unknown worker message event",si);return}if(si.data.type==="notification-count"){const ai=PS(si.data)}else if(si.data.type==="no-event-source")ti||ii(vd.MinTimeout);else if(si.data.type==="error")console.error("worker port event error",si.data);else if(si.data.type==="logout"){if(si.data.data!=="here")return;ni.port.postMessage({type:"close"}),ni.port.close(),Ib()}else si.data.type==="close"&&(ni.port.postMessage({type:"close"}),ni.port.close())}),ni.port.addEventListener("error",si=>{console.error("worker port error",si)}),ni.port.start(),window.addEventListener("beforeunload",()=>{ni.port.postMessage({type:"close"}),ni.port.close()});return}ii(vd.MinTimeout)}async function NS(ei,ti,ii){const ni=Hi(".notification_count").text();if(ii!==ni){ei(vd.MinTimeout,ni);return}const si=await BS();let ai=!1;ii!==si?(ai=!0,ti=vd.MinTimeout):ti<vd.MaxTimeout&&(ti+=vd.TimeoutStep),ei(ti,si),ai&&await Nb()}async function Nb(){const ei=document.getElementById("notification_div");if(ei)try{const ti=new URLSearchParams(window.location.search);ti.set("div-only",!0),ti.set("sequence-number",++Pb);const ii=`${Sg}/notifications?${ti.toString()}`,ni=await(0,so.fG)(ii);if(!ni.ok)throw new Error("Failed to fetch notification table");const si=await ni.text();Hi(si).data("sequence-number")===Pb&&(ei.outerHTML=si,qb())}catch(ti){console.error(ti)}}async function BS(){try{const ei=await(0,so.fG)(`${Sg}/notifications/new`);if(!ei.ok)throw new Error("Failed to fetch notification count");const ti=await ei.json();(0,zn.oi)(".notification_count",ti.new!==0);for(const ii of document.getElementsByClassName("notification_count"))ii.textContent=`${ti.new}`;return`${ti.new}`}catch(ei){return console.error(ei),"0"}}const Bb=ei=>ei.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),Hb=ei=>ei.replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&#0?39;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/g,"&");function Ua(ei,...ti){if(typeof ei=="string")return Bb(ei);let ii=ei[0];for(const[ni,si]of ti.entries())ii=ii+Bb(String(si))+ei[ni+1];return ii}function NR(ei,...ti){if(typeof ei=="string")return Hb(ei);let ii=ei[0];for(const[ni,si]of ti.entries())ii=ii+Hb(String(si))+ei[ni+1];return ii}var HS=__webpack_require__("./node_modules/toastify-js/src/toastify.js");const $S={info:{icon:"octicon-check",background:"var(--color-green)",duration:2500},warning:{icon:"gitea-exclamation",background:"var(--color-orange)",duration:-1},error:{icon:"gitea-exclamation",background:"var(--color-red)",duration:-1}};function Cg(ei,ti,{gravity:ii,position:ni,duration:si,useHtmlBody:ai,...li}={}){const{icon:fi,background:hi,duration:_i}=$S[ti??"info"],ji=HS({text:`
<div class='toast-icon'>${(0,Io.JW)(fi)}</div>
<div class='toast-body'>${ai?ei:Ua(ei)}</div>
<button class='toast-close'>${(0,Io.JW)("octicon-x")}</button>
`,escapeMarkup:!1,gravity:ii??"top",position:ni??"center",duration:si??_i,style:{background:hi},...li});return ji.showToast(),ji.toastElement.querySelector(".toast-close").addEventListener("click",()=>ji.hideToast()),ji}function BR(ei,ti){return Cg(ei,"info",ti)}function HR(ei,ti){return Cg(ei,"warning",ti)}function pl(ei,ti){return Cg(ei,"error",ti)}const{appSubUrl:VS}=window.config;let $b,Vb,Ub,Wb;function US(ei,ti,ii,ni){let si=Hi(".content-history-detail-dialog");si.length||(si=Hi(`
<div class="ui modal content-history-detail-dialog">
${(0,Io.JW)("octicon-x",16,"close icon inside")}
<div class="header tw-flex tw-items-center tw-justify-between">
<div>${ni}</div>
<div class="ui dropdown dialog-header-options tw-mr-8 tw-hidden">
${Vb}
${(0,Io.JW)("octicon-triangle-down",14,"dropdown icon")}
<div class="menu">
<div class="item red text" data-option-item="delete">${Ub}</div>
</div>
</div>
</div>
<div class="comment-diff-data is-loading"></div>
</div>`),si.appendTo(Hi("body")),si.find(".dialog-header-options").dropdown({showOnFocus:!1,allowReselection:!0,async onChange(ai,li,fi){const hi=fi.data("option-item");if(hi==="delete"){if(window.confirm(Wb))try{const _i=new URLSearchParams;_i.append("comment_id",ti),_i.append("history_id",ii);const Mi=await(await(0,so.LO)(`${ei}/content-history/soft-delete?${_i.toString()}`)).json();Mi.ok?si.modal("hide"):pl(Mi.message)}catch(_i){console.error("Error:",_i),pl("An error occurred while deleting the history.")}}else pl(`unknown option item: ${hi}`)},onHide(){Hi(this).dropdown("clear",!0)}}),si.modal({async onShow(){try{const ai=new URLSearchParams;ai.append("comment_id",ti),ai.append("history_id",ii);const li=`${ei}/content-history/detail?${ai.toString()}`,hi=await(await(0,so.fG)(li)).json(),_i=si.find(".comment-diff-data")[0];_i?.classList.remove("is-loading"),_i.innerHTML=hi.diffHtml,hi.canSoftDelete&&(0,zn.fi)(si.find(".dialog-header-options"))}catch(ai){console.error("Error:",ai)}},onHidden(){si.remove()}}).modal("show"))}function zb(ei,ti,ii){const ni=ti.find(".comment-header-left"),si=`
<div class="ui dropdown interact-fg content-history-menu" data-comment-id="${ii}">
&bull; ${$b}${(0,Io.JW)("octicon-triangle-down",14,"dropdown icon")}
<div class="menu">
</div>
</div>`;ni.find(".content-history-menu").remove(),ni.append(Hi(si)),ni.find(".dropdown").dropdown({action:"hide",apiSettings:{cache:!1,url:`${ei}/content-history/list?comment_id=${ii}`},saveRemoteData:!1,onHide(){Hi(this).dropdown("change values",null)},onChange(ai,li,fi){ai&&!fi.find("[data-history-is-deleted=1]").length&&US(ei,ii,ai,li)}})}async function Kb(){const ei=Hi("#issueIndex").val();if(!ei)return;const ti=Hi(".repository.issue .timeline-item.comment.first"),ii=Hi(".repository.issue .comment-list .comment");if(!ti.length&&!ii.length)return;const ni=Hi("#repolink").val(),si=`${VS}/${ni}/issues/${ei}`;try{const li=await(await(0,so.fG)(`${si}/content-history/overview`)).json();$b=li.i18n.textEdited,Ub=li.i18n.textDeleteFromHistory,Wb=li.i18n.textDeleteFromHistoryConfirm,Vb=li.i18n.textOptions,li.editedHistoryCountMap[0]&&ti.length&&zb(si,ti,"0");for(const[fi,hi]of Object.entries(li.editedHistoryCountMap)){if(fi==="0")continue;const _i=Hi(`#issuecomment-${fi}`);zb(si,_i,fi)}}catch(ai){console.error("Error:",ai)}}const{appSubUrl:Eg,notificationSettings:ih,enableTimeTracking:WS,assetVersionEncoded:zS}=window.config;function KS(){if(!WS)return;const ei=document.querySelectorAll(".active-stopwatch"),ti=document.querySelector(".active-stopwatch-popup");if(!ei.length||!ti)return;const ii=ei[0]?.getAttribute("data-seconds");ii&&Gb(parseInt(ii));for(const ai of ei)ai.removeAttribute("href"),pd(ai,{content:ti.cloneNode(!0),placement:"bottom-end",trigger:"click",maxWidth:"none",interactive:!0,hideOnClick:!0,theme:"default"});let ni=!1;const si=ai=>{ai<=0||!Number.isFinite(ai)||(ni=!0,setTimeout(()=>XS(si,ai),ai))};if(ih.EventSourceUpdateTime>0&&window.EventSource&&window.SharedWorker){const ai=new SharedWorker(`${__webpack_require__.p}js/eventsource.sharedworker.js?v=${zS}`,"notification-worker");ai.addEventListener("error",li=>{console.error("worker error",li)}),ai.port.addEventListener("messageerror",()=>{console.error("unable to deserialize message")}),ai.port.postMessage({type:"start",url:`${window.location.origin}${Eg}/user/events`}),ai.port.addEventListener("message",li=>{if(!li.data||!li.data.type){console.error("unknown worker message event",li);return}if(li.data.type==="stopwatches")Xb(JSON.parse(li.data.data));else if(li.data.type==="no-event-source")ni||si(ih.MinTimeout);else if(li.data.type==="error")console.error("worker port event error",li.data);else if(li.data.type==="logout"){if(li.data.data!=="here")return;ai.port.postMessage({type:"close"}),ai.port.close(),Ib()}else li.data.type==="close"&&(ai.port.postMessage({type:"close"}),ai.port.close())}),ai.port.addEventListener("error",li=>{console.error("worker port error",li)}),ai.port.start(),window.addEventListener("beforeunload",()=>{ai.port.postMessage({type:"close"}),ai.port.close()});return}si(ih.MinTimeout)}async function XS(ei,ti){await GS()?ti<ih.MaxTimeout&&(ti+=ih.TimeoutStep):ti=ih.MinTimeout,ei(ti)}async function GS(){const ei=await(0,so.fG)(`${Eg}/user/stopwatches`);if(!ei.ok)return console.error("Failed to fetch stopwatch data"),!1;const ti=await ei.json();return Xb(ti)}function Xb(ei){const ti=ei[0],ii=document.querySelectorAll(".active-stopwatch");if(!ti)(0,zn.y9)(ii);else{const{repo_owner_name:ni,repo_name:si,issue_index:ai,seconds:li}=ti,fi=`${Eg}/${ni}/${si}/issues/${ai}`;document.querySelector(".stopwatch-link")?.setAttribute("href",fi),document.querySelector(".stopwatch-commit")?.setAttribute("action",`${fi}/times/stopwatch/toggle`),document.querySelector(".stopwatch-cancel")?.setAttribute("action",`${fi}/times/stopwatch/cancel`);const hi=document.querySelector(".stopwatch-issue");hi&&(hi.textContent=`${ni}/${si}#${ai}`),Gb(li),(0,zn.fi)(ii)}return!!ei.length}function Gb(ei){if(!Number.isFinite(ei))return;const ti=new Date(Date.now()-ei*1e3).toISOString();for(const ii of document.querySelectorAll(".header-stopwatch-dot")){const ni=ii.querySelector(":scope > relative-time");if(ni)ni.setAttribute("datetime",ti);else{const si=document.createElement("relative-time");si.setAttribute("format","micro"),si.setAttribute("datetime",ti),si.setAttribute("lang","en-US"),si.setAttribute("title",""),ii.append(si)}}}function Qb(ei){return ei.split("/").map(encodeURIComponent).join("/")}function Yb(ei){return ei.endsWith("/")?ei.slice(0,-1):ei}function QS(ei){try{return Yb(new URL(ei).href).trim()===Yb(ei).trim()}catch{return!1}}const Jb=50;let Zb=[],bd,kg,e_;function YS(ei,ti){const ii=[""];let ni=0,si=0;const ai=ei.toLowerCase();for(;ni<ti.length&&si<ai.length;)ti[ni]===ai[si]?(ii.length%2!==0&&ii.push(""),ii[ii.length-1]+=ei[si],si++,ni++):(ii.length%2===0&&ii.push(""),ii[ii.length-1]+=ei[si],si++);return ni!==ti.length?[ei]:(si<ei.length&&(ii.length%2===0&&ii.push(""),ii[ii.length-1]+=ei.substring(si)),ii)}function JS(ei){let ti=0;for(let ii=0;ii<ei.length;ii++)ii%2===1&&(ti+=ei[ii].length*ei[ii].length);return ti}function ZS(ei,ti){let ii=[];if(ti){const ni=ti.toLowerCase();for(let si=0;si<ei.length;si++){const ai=YS(ei[si],ni);ai.length>1&&ii.push({matchResult:ai,matchWeight:JS(ai)})}ii.sort((si,ai)=>ai.matchWeight-si.matchWeight),ii=ii.slice(0,Jb)}else for(let ni=0;ni<ei.length&&ni<Jb;ni++)ii.push({matchResult:[ei[ni]],matchWeight:0});return ii}function t_(ei){const ti=bd.getAttribute("data-url-tree-link");kg.innerHTML="";const ii=ZS(Zb,ei);(0,zn.oi)(e_,!ii.length);for(const ni of ii){const si=document.createElement("tr"),ai=document.createElement("td"),li=document.createElement("a");li.setAttribute("href",`${ti}/${Qb(ni.matchResult.join(""))}`),li.innerHTML=(0,Io.JW)("octicon-file",16,"tw-mr-2"),si.append(ai),ai.append(li);for(const[fi,hi]of ni.matchResult.entries()){const _i=document.createElement("span");_i.textContent=hi,fi%2===1&&_i.classList.add("ui","text","red"),li.append(_i)}kg.append(si)}}async function eC(){Zb=await(await(0,so.fG)(bd.getAttribute("data-url-data-link"))).json(),t_(bd.value)}function tC(){bd=document.getElementById("repo-file-find-input"),bd&&(kg=document.querySelector("#repo-find-file-table tbody"),e_=document.getElementById("repo-find-file-no-result"),bd.addEventListener("input",()=>t_(bd.value)),eC())}function i_(){const ei=document.createElement("button");return ei.classList.add("code-copy","ui","button"),ei.innerHTML=(0,Io.JW)("octicon-copy"),ei}function iC(){const ei=document.querySelectorAll(".markup .code-block code");if(ei.length)for(const ti of ei){if(!ti.textContent)continue;const ii=i_();ii.setAttribute("data-clipboard-text",ti.textContent.replace(/\r?\n$/,"")),ti.after(ii)}}function tm(ei,ti){ei.classList.remove("is-loading");const ii=document.createElement("pre");ii.setAttribute("class","ui message error markup-block-error"),ii.textContent=ti.str||ti.message||String(ti),ei.before(ii),ei.setAttribute("data-render-done","true")}const{mermaidMaxSourceCharacters:Ag}=window.config,nC=`:root {color-scheme: normal}
body {margin: 0; padding: 0; overflow: hidden}
#mermaid {display: block; margin: 0 auto}
blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {margin: 0}`;async function sC(){const ei=document.querySelectorAll(".markup code.language-mermaid");if(!ei.length)return;const{default:ti}=await __webpack_require__.e("mermaid").then(__webpack_require__.bind(__webpack_require__,"./node_modules/mermaid/dist/mermaid.core.mjs"));ti.initialize({startOnLoad:!1,theme:(0,na.g4)()?"dark":"neutral",securityLevel:"strict"});for(const ii of ei){const ni=ii.closest("pre");if(ni.hasAttribute("data-render-done"))continue;const si=ii.textContent;if(Ag>=0&&si.length>Ag){tm(ni,new Error(`Mermaid source of ${si.length} characters exceeds the maximum allowed length of ${Ag}.`));continue}try{await ti.parse(si)}catch(ai){tm(ni,ai);continue}try{const{svg:ai}=await ti.render("mermaid",si),li=document.createElement("iframe");li.classList.add("markup-render","tw-invisible"),li.srcdoc=`<html><head><style>${nC}</style></head><body>${ai}</body></html>`;const fi=document.createElement("div");fi.classList.add("mermaid-block","is-loading","tw-hidden"),fi.append(li);const hi=i_();hi.setAttribute("data-clipboard-text",si),fi.append(hi),li.addEventListener("load",()=>{ni.replaceWith(fi),fi.classList.remove("tw-hidden"),li.style.height=`${li.contentWindow.document.body.clientHeight}px`,setTimeout(()=>{fi.classList.remove("is-loading"),li.classList.remove("tw-invisible")},0)}),document.body.append(fi)}catch(ai){tm(ni,ai)}}}function rC(ei){return ei.classList.contains("is-loading")?ei:ei.closest("pre")}async function oC(){const ei=document.querySelectorAll(".markup code.language-math");if(!ei.length)return;const[{default:ti}]=await Promise.all([Promise.all([__webpack_require__.e("katex-"),__webpack_require__.e("katex")]).then(__webpack_require__.bind(__webpack_require__,"./node_modules/katex/dist/katex.mjs")),Promise.all([__webpack_require__.e("katex-"),__webpack_require__.e("katex")]).then(__webpack_require__.bind(__webpack_require__,"./node_modules/katex/dist/katex.css"))]),ii=1e3,ni=25,si=1e3;for(const ai of ei){const li=rC(ai);if(li.hasAttribute("data-render-done"))continue;const fi=ai.textContent;if(fi.length>ii){tm(li,new Error(`Math source of ${fi.length} characters exceeds the maximum allowed length of ${ii}.`));continue}const hi=ai.classList.contains("display"),_i=hi?"p":"span";try{const ji=document.createElement(_i);ti.render(fi,ji,{maxSize:ni,maxExpand:si,displayMode:hi}),li.replaceWith(ji)}catch(ji){tm(li,ji)}}}async function aC(){const ei=document.querySelectorAll(".asciinema-player-container");if(!ei.length)return;const[ti]=await Promise.all([__webpack_require__.e("asciinema-player").then(__webpack_require__.bind(__webpack_require__,"./node_modules/asciinema-player/dist/index.js")),__webpack_require__.e("asciinema-player").then(__webpack_require__.bind(__webpack_require__,"./node_modules/asciinema-player/dist/bundle/asciinema-player.css"))]);for(const ii of ei)ti.create(ii.getAttribute("data-asciinema-player-src"),ii,{poster:"npt:1:0:0"})}const n_=ei=>ei.preventDefault();function lC(){for(const ei of document.querySelectorAll(".markup[data-can-edit=true]")||[]){const ti=ei.parentNode,ii=ei.querySelectorAll(".task-list-item input[type=checkbox]");for(const ni of ii){if(ni.hasAttribute("data-editable"))return;ni.setAttribute("data-editable","true"),ni.addEventListener("input",async()=>{const si=ni.checked?"x":" ",ai=parseInt(ni.getAttribute("data-source-position"))+1,li=ti.querySelector(".raw-content"),fi=li.textContent,hi=new TextEncoder,_i=hi.encode(fi);if(_i[ai-1]!=="[".codePointAt(0)||_i[ai]!==" ".codePointAt(0)&&_i[ai]!=="x".codePointAt(0)||_i[ai+1]!=="]".codePointAt(0))throw ni.checked=!ni.checked,new Error(`Expected position to be space or x and surrounded by brackets, but it's not: position=${ai}`);_i.set(hi.encode(si),ai);const ji=new TextDecoder().decode(_i);if(ji!==fi){for(const Mi of ii)Mi.addEventListener("click",n_);try{const Mi=ti.querySelector(".edit-content-zone"),Ki=Mi.getAttribute("data-update-url"),on=Mi.getAttribute("data-context"),hn=new FormData;hn.append("ignore_attachments","true"),hn.append("content",ji),hn.append("context",on),await(0,so.LO)(Ki,{data:hn}),li.textContent=ji}catch(Mi){ni.checked=!ni.checked,console.error(Mi)}for(const Mi of ii)Mi.removeEventListener("click",n_)}})}for(const ni of ii)ni.disabled=!1}}function Zm(){sC(),oC(),iC(),aC()}function s_(){lC()}async function cC(){const ei=document.querySelectorAll(".pdf-content");if(!ei.length)return;const ti=await __webpack_require__.e("pdfobject").then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/pdfobject/pdfobject.js",19));for(const ii of ei){const ni=ii.getAttribute("data-src"),si=ii.getAttribute("data-fallback-button-text");ti.embed(ni,ii,{fallbackLink:Ua`
<a role="button" class="ui basic button pdf-fallback-button" href="[url]">${si}</a>
`}),ii.classList.remove("is-loading")}}(function(ei){ei.fn.areYouSure=function(ti){var ii=ei.extend({message:"You have unsaved changes!",dirtyClass:"dirty",change:null,silent:!1,addRemoveFieldsMarksDirty:!1,fieldEvents:"change keyup propertychange input",fieldSelector:":input:not(input[type=submit]):not(input[type=button])"},ti),ni=function(ji){if(ji.hasClass("ays-ignore")||ji.hasClass("aysIgnore")||ji.attr("data-ays-ignore")||ji.attr("name")===void 0)return null;if(ji.is(":disabled"))return"ays-disabled";var Mi,Ki=ji.attr("type");switch(ji.is("select")&&(Ki="select"),Ki){case"checkbox":case"radio":Mi=ji.is(":checked");break;case"select":Mi="",ji.find("option").each(function(on){var hn=ei(this);hn.is(":selected")&&(Mi+=hn.val())});break;default:Mi=ji.val()}return Mi},si=function(ji){ji.data("ays-orig",ni(ji))},ai=function(ji){var Mi=function(es){var Wn=es.data("ays-orig");return Wn===void 0?!1:ni(es)!=Wn},Ki=ei(this).is("form")?ei(this):ei(this).parents("form");if(Mi(ei(ji.target))){fi(Ki,!0);return}const on=Ki.find(ii.fieldSelector);if(ii.addRemoveFieldsMarksDirty){var hn=Ki.data("ays-orig-field-count");if(hn!=on.length){fi(Ki,!0);return}}var gn=!1;on.each(function(){var es=ei(this);if(Mi(es))return gn=!0,!1}),fi(Ki,gn)},li=function(ji){var Mi=ji.find(ii.fieldSelector);ei(Mi).each(function(){si(ei(this))}),ei(Mi).unbind(ii.fieldEvents,ai),ei(Mi).bind(ii.fieldEvents,ai),ji.data("ays-orig-field-count",ei(Mi).length),fi(ji,!1)},fi=function(ji,Mi){var Ki=Mi!=ji.hasClass(ii.dirtyClass);ji.toggleClass(ii.dirtyClass,Mi),Ki&&(ii.change&&ii.change.call(ji,ji),Mi&&ji.trigger("dirty.areYouSure",[ji]),Mi||ji.trigger("clean.areYouSure",[ji]),ji.trigger("change.areYouSure",[ji]))},hi=function(){var ji=ei(this),Mi=ji.find(ii.fieldSelector);ei(Mi).each(function(){var Ki=ei(this);Ki.data("ays-orig")||(si(Ki),Ki.bind(ii.fieldEvents,ai))}),ji.trigger("checkform.areYouSure")},_i=function(){li(ei(this))};return!ii.silent&&!window.aysUnloadSet&&(window.aysUnloadSet=!0,ei(window).bind("beforeunload",function(){if(ei("form").filter("."+ii.dirtyClass).length!=0){if(navigator.userAgent.toLowerCase().match(/msie|chrome/)){if(window.aysHasPrompted)return;window.aysHasPrompted=!0,window.setTimeout(function(){window.aysHasPrompted=!1},900)}return ii.message}})),this.each(function(ji){if(ei(this).is("form")){var Mi=ei(this);Mi.submit(function(){Mi.removeClass(ii.dirtyClass)}),Mi.bind("reset",function(){fi(Mi,!1)}),Mi.bind("rescan.areYouSure",hi),Mi.bind("reinitialize.areYouSure",_i),Mi.bind("checkform.areYouSure",ai),li(Mi)}})}})(jQuery);async function r_(ei,ti){const[{Dropzone:ii}]=await Promise.all([__webpack_require__.e("dropzone").then(__webpack_require__.bind(__webpack_require__,"./node_modules/dropzone/dist/dropzone.mjs")),__webpack_require__.e("dropzone").then(__webpack_require__.bind(__webpack_require__,"./node_modules/dropzone/dist/dropzone.css"))]);return new ii(ei,ti)}function ep(ei){let ti=ei.closest("form");return ti?(ti.checkValidity()?ti.dispatchEvent(new SubmitEvent("submit",{bubbles:!0,cancelable:!0})):ti.reportValidity(),!0):(ti=ei.closest(".ui.form"),ti?(ti.querySelector(".ui.primary.button")?.click(),!0):!1)}const{i18n:o_}=window.config;function a_(ei,{confirmButtonColor:ti="primary"}={}){return new Promise(ii=>{const ni=(0,zn.SL)(`
<div class="ui g-modal-confirm modal">
<div class="content">${Ua(ei)}</div>
<div class="actions">
<button class="ui cancel button">${(0,Io.JW)("octicon-x")} ${Ua(o_.modal_cancel)}</button>
<button class="ui ${ti} ok button">${(0,Io.JW)("octicon-check")} ${Ua(o_.modal_confirm)}</button>
</div>
</div>
`);document.body.append(ni);const si=Hi(ni);si.modal({onApprove(){ii(!0)},onHidden(){si.remove(),ii(!1)}}).modal("show")})}var l_=__webpack_require__("./node_modules/htmx.org/dist/htmx.min.js"),$R=__webpack_require__("./node_modules/idiomorph/dist/idiomorph-ext.js");l_.config.requestClass="is-loading",l_.config.scrollIntoViewOnBoost=!1,document.body.addEventListener("htmx:sendError",ei=>{pl(`Network error when calling ${ei.detail.requestConfig.path}`)}),document.body.addEventListener("htmx:responseError",ei=>{pl(`Error ${ei.detail.xhr.status} when calling ${ei.detail.requestConfig.path}`)});const{appUrl:Tg,appSubUrl:uC,csrfToken:fC,i18n:Lg}=window.config;function dC(){Hi(".user.signin").length||Hi("form:not(.ignore-dirty)").areYouSure()}function hC(){const ei=document.getElementById("navbar"),ti=document.getElementById("navbar-expand-toggle");!ei||!ti||ti.addEventListener("click",()=>{const ii=ti.classList.contains("active");ei.classList.toggle("navbar-menu-open",!ii),ti.classList.toggle("active",!ii)})}function mC(){async function ei(){const ti=Hi(this);await(0,so.fG)(ti.data("url")),window.location.reload()}Hi(".language-menu a[lang]").on("click",ei)}function pC(){document.addEventListener("keydown",ei=>{if(ei.key!=="Enter")return;(ei.ctrlKey||ei.metaKey)&&!ei.altKey&&ei.target.matches("textarea")?ep(ei.target)&&ei.preventDefault():ei.target.matches("input")&&!ei.target.closest("form")&&ep(ei.target)&&ei.preventDefault()})}function gC(){Hi(document).on("keypress","div.ui.button,span.ui.button",ei=>{(ei.code===" "||ei.code==="Enter")&&(Hi(ei.target).trigger("click"),ei.preventDefault())})}function vC(ei){const ti=document.createElement("form"),ii=document.createElement("input");ti.method="post",ti.action=`${uC}/-/fetch-redirect`,ii.type="hidden",ii.name="redirect",ii.value=ei,ti.append(ii),document.body.append(ti),ti.submit()}async function c_(ei,ti,ii){try{const ni=await(0,so.Em)(ti,ii);if(ni.status===200){let{redirect:si}=await ni.json();si=si||ei.getAttribute("data-redirect"),ei.classList.remove("dirty"),si?vC(si):window.location.reload();return}else if(ni.status>=400&&ni.status<500){const si=await ni.json();si.errorMessage?pl(si.errorMessage,{useHtmlBody:si.renderFormat==="html"}):pl(`server error: ${ni.status}`)}else pl(`server error: ${ni.status}`)}catch(ni){ni.name!=="AbortError"&&(console.error("error when doRequest",ni),pl(`${Lg.network_error} ${ni}`))}ei.classList.remove("is-loading","loading-icon-2px")}async function bC(ei){if(!ei.target.classList.contains("form-fetch-action"))return;ei.preventDefault();const ti=ei.target;if(ti.classList.contains("is-loading"))return;ti.classList.add("is-loading"),ti.clientHeight<50&&ti.classList.add("loading-icon-2px");const ii=ti.getAttribute("method")||"get",ni=ti.getAttribute("action"),si=new FormData(ti),ai=(0,zn.IU)(ei),[li,fi]=[ai?.getAttribute("name"),ai?.getAttribute("value")];li&&si.append(li,fi||"");let hi=ni;const _i={method:ii.toUpperCase()};if(ii.toLowerCase()==="get"){const ji=new URLSearchParams;for(const[Ki,on]of si)ji.append(Ki,on.toString());const Mi=hi.indexOf("?");Mi!==-1&&(hi=hi.slice(0,Mi)),hi+=`?${ji.toString()}`}else _i.body=si;await c_(ti,hi,_i)}function _C(){const ei=Hi(".ui.dropdown");ei.filter(":not(.custom)").dropdown(),ei.filter(".jump").dropdown({action:"hide",onShow(){this._tippy?.hide(),this._tippy?.disable()},onHide(){this._tippy?.enable(),setTimeout(()=>{Hi(this).dropdown("is hidden")&&Hi(this).find(".menu > .item").each((ii,ni)=>{ni._tippy?.hide()})},2e3)}}),ei.filter(".upward").dropdown("setting","direction","upward"),ei.filter(".downward").dropdown("setting","direction","downward"),Hi(".tabular.menu .item").tab(),(0,zn.Gz)(),document.addEventListener("submit",bC),document.addEventListener("click",wC)}function yC(){for(const ei of document.querySelectorAll(".dropzone"))Rg(ei)}function Rg(ei){const ti=Hi(ei),ii=r_(ei,{url:ti.data("upload-url"),headers:{"X-Csrf-Token":fC},maxFiles:ti.data("max-file"),maxFilesize:ti.data("max-size"),acceptedFiles:["*/*",""].includes(ti.data("accepts"))?null:ti.data("accepts"),addRemoveLinks:!0,dictDefaultMessage:ti.data("default-message"),dictInvalidFileType:ti.data("invalid-input-type"),dictFileTooBig:ti.data("file-too-big"),dictRemoveFile:ti.data("remove-file"),timeout:0,thumbnailMethod:"contain",thumbnailWidth:480,thumbnailHeight:480,init(){this.on("success",(ni,si)=>{ni.uuid=si.uuid;const ai=Hi(`<input id="${si.uuid}" name="files" type="hidden">`).val(si.uuid);ti.find(".files").append(ai);const li=document.createElement("div");li.className="tw-text-center",li.innerHTML=`<a href="#" style="cursor: pointer;">${(0,Io.JW)("octicon-copy",14,"copy link")} Copy link</a>`,li.addEventListener("click",async fi=>{fi.preventDefault();let hi=`[${ni.name}](/attachments/${ni.uuid})`;ni.type.startsWith("image/")?hi=`!${hi}`:ni.type.startsWith("video/")&&(hi=`<video src="/attachments/${ni.uuid}" title="${Ua(ni.name)}" controls></video>`);const _i=await Zh(hi);Mf(fi.target,_i?Lg.copy_success:Lg.copy_error)}),ni.previewTemplate.append(li)}),this.on("removedfile",ni=>{Hi(`#${ni.uuid}`).remove(),ti.data("remove-url")&&(0,so.LO)(ti.data("remove-url"),{data:new URLSearchParams({file:ni.uuid})})}),this.on("error",function(ni,si){pl(si),this.removeFile(ni)})}})}async function wC(ei){const ti=ei.target.closest(".link-action");if(!ti)return;ei.preventDefault();const ii=ti.getAttribute("data-url"),ni=async()=>{ti.disabled=!0,await c_(ti,ii,{method:"POST"}),ti.disabled=!1},si=Ua(ti.getAttribute("data-modal-confirm")||"");if(!si){await ni();return}const ai=ti.classList.contains("red")||ti.classList.contains("negative");await a_(si,{confirmButtonColor:ai?"red":"primary"})&&await ni()}function xC(){function ei(ti){ti.preventDefault();const ii=Hi(this),ni=ii.data();let si="";this.getAttribute("data-modal-id")&&(si+=`#${this.getAttribute("data-modal-id")}`);const ai=Hi(`.delete.modal${si}`);ai.find(".name").text(ii.data("name"));for(const[li,fi]of Object.entries(ni))li&&li.startsWith("data")&&ai.find(`.${li}`).text(fi);ai.modal({closable:!1,onApprove:async()=>{if(ii.data("type")==="form"){Hi(ii.data("form")).trigger("submit");return}const li=new FormData;for(const[hi,_i]of Object.entries(ni))hi&&hi.startsWith("data")&&li.append(hi.slice(4),_i),hi==="id"&&li.append("id",_i);const fi=await(0,so.LO)(ii.data("url"),{data:li});if(fi.ok){const hi=await fi.json();window.location.href=hi.redirect}}}).modal("show")}Hi(".delete-button").on("click",ei)}function jC(){Hi(".show-modal").on("click",function(ei){ei.preventDefault();const ti=this.getAttribute("data-modal"),ii=Hi(ti);if(!ii.length)throw new Error("no modal for this action");const ni="data-modal-";for(const si of this.attributes){if(!si.name.startsWith(ni))continue;const ai=si.name.substring(ni.length),[li,fi]=ai.split(".");let hi=ii.find(`#${li}`);hi.length||(hi=ii.find(`.${li}`)),hi.length||(hi=ii.find(`${li}`)),hi.length&&(fi?hi[0][fi]=si.value:hi[0].matches("input, textarea")?hi.val(si.value):hi.text(si.value))}ii.modal("setting",{onApprove:()=>{if(ii.find(".form-fetch-action").length)return!1}}).modal("show")})}function SC(){Hi(document).on("click","form button.ui.cancel.button",ei=>{ei.preventDefault()}),Hi(".show-panel").on("click",function(ei){ei.preventDefault();const ti=this.getAttribute("data-panel");this.classList.contains("toggle")?(0,zn.oi)(ti):(0,zn.fi)(ti)}),Hi(".hide-panel").on("click",function(ei){ei.preventDefault();let ti=this.getAttribute("data-panel");if(ti){(0,zn.y9)(Hi(ti));return}if(ti=this.getAttribute("data-panel-closest"),ti){(0,zn.y9)(Hi(this).closest(ti));return}pl("Nothing to hide")}),jC()}function u_(){const ei=window.location.href;ei.startsWith(Tg)||`${ei}/`===Tg||bi(`Your ROOT_URL in app.ini is "${Tg}", it's unlikely matching the site you are visiting.
Mismatched ROOT_URL config causes wrong URL links for web UI/mail content/webhook notification/OAuth2 sign-in.`,"warning")}function CC(){const ei=document.getElementById("oauth2-login-navigator");if(!ei)return;const ti=document.getElementById("oauth2-login-navigator-inner");u_();for(const ii of ei.querySelectorAll(".oauth-login-link"))ii.addEventListener("click",()=>{ti.classList.add("tw-invisible"),ei.classList.add("is-loading"),setTimeout(()=>{ei.classList.remove("is-loading"),ti.classList.remove("tw-invisible")},5e3)})}function nh(ei,ti,ii){ti.innerHTML=(0,Io.JW)(`octicon-chevron-${ii?"right":"down"}`,18),ei.setAttribute("data-folded",ii),ii&&ei.getBoundingClientRect().top<0&&ei.scrollIntoView()}function EC(ei,ti){nh(ei,ti,ei.getAttribute("data-folded")!=="true")}var f_=function(ei,ti,ii,ni){if(ii==="a"&&!ni)throw new TypeError("Private accessor was defined without a getter");if(typeof ti=="function"?ei!==ti||!ni:!ti.has(ei))throw new TypeError("Cannot read private member from an object whose class did not declare it");return ii==="m"?ni:ii==="a"?ni.call(ei):ni?ni.value:ti.get(ei)},tp,Mg;const kC=["[data-md-button]","md-header","md-bold","md-italic","md-quote","md-code","md-link","md-image","md-unordered-list","md-ordered-list","md-task-list","md-mention","md-ref","md-strikethrough"];function d_(ei){const ti=[];for(const ii of ei.querySelectorAll(kC.join(", ")))ii.hidden||ii.offsetWidth<=0&&ii.offsetHeight<=0||ii.closest("markdown-toolbar")===ei&&ti.push(ii);return ti}function h_(ei){return function(ti){(ti.key===" "||ti.key==="Enter")&&ei(ti)}}const Zl=new WeakMap,AC={"header-1":{prefix:"# "},"header-2":{prefix:"## "},"header-3":{prefix:"### "},"header-4":{prefix:"#### "},"header-5":{prefix:"##### "},"header-6":{prefix:"###### "},bold:{prefix:"**",suffix:"**",trimFirst:!0},italic:{prefix:"_",suffix:"_",trimFirst:!0},quote:{prefix:"> ",multiline:!0,surroundWithNewlines:!0},code:{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"},link:{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},image:{prefix:"![",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},"unordered-list":{prefix:"- ",multiline:!0,unorderedList:!0},"ordered-list":{prefix:"1. ",multiline:!0,orderedList:!0},"task-list":{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0},mention:{prefix:"@",prefixSpace:!0},ref:{prefix:"#",prefixSpace:!0},strikethrough:{prefix:"~~",suffix:"~~",trimFirst:!0}};class kc extends HTMLElement{constructor(){super();const ti=ii=>{const ni=Zl.get(this);ni&&(ii.preventDefault(),Fg(this,ni))};this.addEventListener("keydown",h_(ti)),this.addEventListener("click",ti)}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","button")}click(){const ti=Zl.get(this);ti&&Fg(this,ti)}}class m_ extends kc{constructor(){super(...arguments),tp.add(this)}connectedCallback(){const ti=parseInt(this.getAttribute("level")||"3",10);f_(this,tp,"m",Mg).call(this,ti)}static get observedAttributes(){return["level"]}attributeChangedCallback(ti,ii,ni){if(ti!=="level")return;const si=parseInt(ni||"3",10);f_(this,tp,"m",Mg).call(this,si)}}tp=new WeakSet,Mg=function(ti){if(ti<1||ti>6)return;const ii=`${"#".repeat(ti)} `;Zl.set(this,{prefix:ii})},window.customElements.get("md-header")||(window.MarkdownHeaderButtonElement=m_,window.customElements.define("md-header",m_));class p_ extends kc{connectedCallback(){Zl.set(this,{prefix:"**",suffix:"**",trimFirst:!0})}}window.customElements.get("md-bold")||(window.MarkdownBoldButtonElement=p_,window.customElements.define("md-bold",p_));class g_ extends kc{connectedCallback(){Zl.set(this,{prefix:"_",suffix:"_",trimFirst:!0})}}window.customElements.get("md-italic")||(window.MarkdownItalicButtonElement=g_,window.customElements.define("md-italic",g_));class v_ extends kc{connectedCallback(){Zl.set(this,{prefix:"> ",multiline:!0,surroundWithNewlines:!0})}}window.customElements.get("md-quote")||(window.MarkdownQuoteButtonElement=v_,window.customElements.define("md-quote",v_));class b_ extends kc{connectedCallback(){Zl.set(this,{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"})}}window.customElements.get("md-code")||(window.MarkdownCodeButtonElement=b_,window.customElements.define("md-code",b_));class __ extends kc{connectedCallback(){Zl.set(this,{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"})}}window.customElements.get("md-link")||(window.MarkdownLinkButtonElement=__,window.customElements.define("md-link",__));class y_ extends kc{connectedCallback(){Zl.set(this,{prefix:"![",suffix:"](url)",replaceNext:"url",scanFor:"https?://"})}}window.customElements.get("md-image")||(window.MarkdownImageButtonElement=y_,window.customElements.define("md-image",y_));class w_ extends kc{connectedCallback(){Zl.set(this,{prefix:"- ",multiline:!0,unorderedList:!0})}}window.customElements.get("md-unordered-list")||(window.MarkdownUnorderedListButtonElement=w_,window.customElements.define("md-unordered-list",w_));class x_ extends kc{connectedCallback(){Zl.set(this,{prefix:"1. ",multiline:!0,orderedList:!0})}}window.customElements.get("md-ordered-list")||(window.MarkdownOrderedListButtonElement=x_,window.customElements.define("md-ordered-list",x_));class j_ extends kc{connectedCallback(){Zl.set(this,{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0})}}window.customElements.get("md-task-list")||(window.MarkdownTaskListButtonElement=j_,window.customElements.define("md-task-list",j_));class S_ extends kc{connectedCallback(){Zl.set(this,{prefix:"@",prefixSpace:!0})}}window.customElements.get("md-mention")||(window.MarkdownMentionButtonElement=S_,window.customElements.define("md-mention",S_));class C_ extends kc{connectedCallback(){Zl.set(this,{prefix:"#",prefixSpace:!0})}}window.customElements.get("md-ref")||(window.MarkdownRefButtonElement=C_,window.customElements.define("md-ref",C_));class E_ extends kc{connectedCallback(){Zl.set(this,{prefix:"~~",suffix:"~~",trimFirst:!0})}}window.customElements.get("md-strikethrough")||(window.MarkdownStrikethroughButtonElement=E_,window.customElements.define("md-strikethrough",E_));function k_(ei){const{target:ti,currentTarget:ii}=ei;if(!(ti instanceof Element))return;const ni=ti.closest("[data-md-button]");if(!ni||ni.closest("markdown-toolbar")!==ii)return;const si=ni.getAttribute("data-md-button"),ai=AC[si];ai&&(ei.preventDefault(),Fg(ti,ai))}function A_(ei){ei.addEventListener("keydown",R_),ei.setAttribute("tabindex","0"),ei.addEventListener("focus",L_,{once:!0})}function T_(ei){ei.removeEventListener("keydown",R_),ei.removeAttribute("tabindex"),ei.removeEventListener("focus",L_)}class ip extends HTMLElement{connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","toolbar"),this.hasAttribute("data-no-focus")||A_(this),this.addEventListener("keydown",h_(k_)),this.addEventListener("click",k_)}attributeChangedCallback(ti,ii,ni){ti==="data-no-focus"&&(ni===null?A_(this):T_(this))}disconnectedCallback(){T_(this)}get field(){const ti=this.getAttribute("for");if(!ti)return null;const ii="getRootNode"in this?this.getRootNode():document;let ni;return(ii instanceof Document||ii instanceof ShadowRoot)&&(ni=ii.getElementById(ti)),ni instanceof HTMLTextAreaElement?ni:null}}ip.observedAttributes=["data-no-focus"];function L_({target:ei}){if(!(ei instanceof Element))return;ei.removeAttribute("tabindex");let ti="0";for(const ii of d_(ei))ii.setAttribute("tabindex",ti),ti==="0"&&(ii.focus(),ti="-1")}function R_(ei){const ti=ei.key;if(ti!=="ArrowRight"&&ti!=="ArrowLeft"&&ti!=="Home"&&ti!=="End")return;const ii=ei.currentTarget;if(!(ii instanceof HTMLElement))return;const ni=d_(ii),si=ni.indexOf(ei.target),ai=ni.length;if(si===-1)return;let li=0;ti==="ArrowLeft"&&(li=si-1),ti==="ArrowRight"&&(li=si+1),ti==="End"&&(li=ai-1),li<0&&(li=ai-1),li>ai-1&&(li=0);for(let fi=0;fi<ai;fi+=1)ni[fi].setAttribute("tabindex",fi===li?"0":"-1");ei.preventDefault(),ni[li].focus()}window.customElements.get("markdown-toolbar")||(window.MarkdownToolbarElement=ip,window.customElements.define("markdown-toolbar",ip));function Og(ei){return ei.trim().split(`
`).length>1}function M_(ei,ti){return Array(ti+1).join(ei)}function TC(ei,ti){let ii=ti;for(;ei[ii]&&ei[ii-1]!=null&&!ei[ii-1].match(/\s/);)ii--;return ii}function LC(ei,ti,ii){let ni=ti;const si=ii?/\n/:/\s/;for(;ei[ni]&&!ei[ni].match(si);)ni++;return ni}let _d=null;function RC(ei,{text:ti,selectionStart:ii,selectionEnd:ni}){const si=ei.selectionStart,ai=ei.value.slice(0,si),li=ei.value.slice(ei.selectionEnd);if(_d===null||_d===!0){ei.contentEditable="true";try{_d=document.execCommand("insertText",!1,ti)}catch{_d=!1}ei.contentEditable="false"}if(_d&&!ei.value.slice(0,ei.selectionStart).endsWith(ti)&&(_d=!1),!_d){try{document.execCommand("ms-beginUndoUnit")}catch{}ei.value=ai+ti+li;try{document.execCommand("ms-endUndoUnit")}catch{}ei.dispatchEvent(new CustomEvent("input",{bubbles:!0,cancelable:!0}))}ii!=null&&ni!=null?ei.setSelectionRange(ii,ni):ei.setSelectionRange(si,ei.selectionEnd)}function MC(ei,ti){const ii=ei.value.slice(ei.selectionStart,ei.selectionEnd);let ni;ti.orderedList||ti.unorderedList?ni=qC(ei,ti):ti.multiline&&Og(ii)?ni=IC(ei,ti):ni=FC(ei,ti),RC(ei,ni)}function OC(ei){const ti=ei.value.split(`
`);let ii=0;for(let ni=0;ni<ti.length;ni++){const si=ti[ni].length+1;ei.selectionStart>=ii&&ei.selectionStart<ii+si&&(ei.selectionStart=ii),ei.selectionEnd>=ii&&ei.selectionEnd<ii+si&&(ei.selectionEnd=ii+si-1),ii+=si}}function DC(ei,ti,ii,ni=!1){if(ei.selectionStart===ei.selectionEnd)ei.selectionStart=TC(ei.value,ei.selectionStart),ei.selectionEnd=LC(ei.value,ei.selectionEnd,ni);else{const si=ei.selectionStart-ti.length,ai=ei.selectionEnd+ii.length,li=ei.value.slice(si,ei.selectionStart)===ti,fi=ei.value.slice(ei.selectionEnd,ai)===ii;li&&fi&&(ei.selectionStart=si,ei.selectionEnd=ai)}return ei.value.slice(ei.selectionStart,ei.selectionEnd)}function Dg(ei){const ti=ei.value.slice(0,ei.selectionStart),ii=ei.value.slice(ei.selectionEnd),ni=ti.match(/\n*$/),si=ii.match(/^\n*/),ai=ni?ni[0].length:0,li=si?si[0].length:0;let fi,hi;return ti.match(/\S/)&&ai<2&&(fi=M_(`
`,2-ai)),ii.match(/\S/)&&li<2&&(hi=M_(`
`,2-li)),fi==null&&(fi=""),hi==null&&(hi=""),{newlinesToAppend:fi,newlinesToPrepend:hi}}function FC(ei,ti){let ii,ni;const{prefix:si,suffix:ai,blockPrefix:li,blockSuffix:fi,replaceNext:hi,prefixSpace:_i,scanFor:ji,surroundWithNewlines:Mi}=ti,Ki=ei.selectionStart,on=ei.selectionEnd;let hn=ei.value.slice(ei.selectionStart,ei.selectionEnd),gn=Og(hn)&&li.length>0?`${li}
`:si,es=Og(hn)&&fi.length>0?`
${fi}`:ai;if(_i){const Xi=ei.value[ei.selectionStart-1];ei.selectionStart!==0&&Xi!=null&&!Xi.match(/\s/)&&(gn=` ${gn}`)}hn=DC(ei,gn,es,ti.multiline);let Wn=ei.selectionStart,Gn=ei.selectionEnd;const Dn=hi.length>0&&es.indexOf(hi)>-1&&hn.length>0;if(Mi){const Xi=Dg(ei);ii=Xi.newlinesToAppend,ni=Xi.newlinesToPrepend,gn=ii+si,es+=ni}if(hn.startsWith(gn)&&hn.endsWith(es)){const Xi=hn.slice(gn.length,hn.length-es.length);if(Ki===on){let Bn=Ki-gn.length;Bn=Math.max(Bn,Wn),Bn=Math.min(Bn,Wn+Xi.length),Wn=Gn=Bn}else Gn=Wn+Xi.length;return{text:Xi,selectionStart:Wn,selectionEnd:Gn}}else if(Dn)if(ji.length>0&&hn.match(ji)){es=es.replace(hi,hn);const Xi=gn+es;return Wn=Gn=Wn+gn.length,{text:Xi,selectionStart:Wn,selectionEnd:Gn}}else{const Xi=gn+hn+es;return Wn=Wn+gn.length+hn.length+es.indexOf(hi),Gn=Wn+hi.length,{text:Xi,selectionStart:Wn,selectionEnd:Gn}}else{let Xi=gn+hn+es;Wn=Ki+gn.length,Gn=on+gn.length;const Bn=hn.match(/^\s*|\s*$/g);if(ti.trimFirst&&Bn){const Kn=Bn[0]||"",us=Bn[1]||"";Xi=Kn+gn+hn.trim()+es+us,Wn+=Kn.length,Gn-=us.length}return{text:Xi,selectionStart:Wn,selectionEnd:Gn}}}function IC(ei,ti){const{prefix:ii,suffix:ni,surroundWithNewlines:si}=ti;let ai=ei.value.slice(ei.selectionStart,ei.selectionEnd),li=ei.selectionStart,fi=ei.selectionEnd;const hi=ai.split(`
`);if(hi.every(ji=>ji.startsWith(ii)&&ji.endsWith(ni)))ai=hi.map(ji=>ji.slice(ii.length,ji.length-ni.length)).join(`
`),fi=li+ai.length;else if(ai=hi.map(ji=>ii+ji+ni).join(`
`),si){const{newlinesToAppend:ji,newlinesToPrepend:Mi}=Dg(ei);li+=ji.length,fi=li+ai.length,ai=ji+ai+Mi}return{text:ai,selectionStart:li,selectionEnd:fi}}function O_(ei){const ti=ei.split(`
`),ii=/^\d+\.\s+/,ni=ti.every(ai=>ii.test(ai));let si=ti;return ni&&(si=ti.map(ai=>ai.replace(ii,""))),{text:si.join(`
`),processed:ni}}function D_(ei){const ti=ei.split(`
`),ii="- ",ni=ti.every(ai=>ai.startsWith(ii));let si=ti;return ni&&(si=ti.map(ai=>ai.slice(ii.length,ai.length))),{text:si.join(`
`),processed:ni}}function im(ei,ti){return ti?"- ":`${ei+1}. `}function PC(ei,ti){let ii,ni,si;return ei.orderedList?(ni=O_(ti),ii=D_(ni.text),si=ii.text):(ni=D_(ti),ii=O_(ni.text),si=ii.text),[ni,ii,si]}function qC(ei,ti){const ii=ei.selectionStart===ei.selectionEnd;let ni=ei.selectionStart,si=ei.selectionEnd;OC(ei);const ai=ei.value.slice(ei.selectionStart,ei.selectionEnd),[li,fi,hi]=PC(ti,ai),_i=hi.split(`
`).map((gn,es)=>`${im(es,ti.unorderedList)}${gn}`),ji=_i.reduce((gn,es,Wn)=>gn+im(Wn,ti.unorderedList).length,0),Mi=_i.reduce((gn,es,Wn)=>gn+im(Wn,!ti.unorderedList).length,0);if(li.processed)return ii?(ni=Math.max(ni-im(0,ti.unorderedList).length,0),si=ni):(ni=ei.selectionStart,si=ei.selectionEnd-ji),{text:hi,selectionStart:ni,selectionEnd:si};const{newlinesToAppend:Ki,newlinesToPrepend:on}=Dg(ei),hn=Ki+_i.join(`
`)+on;return ii?(ni=Math.max(ni+im(0,ti.unorderedList).length+Ki.length,0),si=ni):fi.processed?(ni=Math.max(ei.selectionStart+Ki.length,0),si=ei.selectionEnd+Ki.length+ji-Mi):(ni=Math.max(ei.selectionStart+Ki.length,0),si=ei.selectionEnd+Ki.length+ji),{text:hn,selectionStart:ni,selectionEnd:si}}function Fg(ei,ti){const ii=ei.closest("markdown-toolbar");if(!(ii instanceof ip))return;const si=Object.assign(Object.assign({},{prefix:"",suffix:"",blockPrefix:"",blockSuffix:"",multiline:!1,replaceNext:"",prefixSpace:!1,scanFor:"",surroundWithNewlines:!1,orderedList:!1,unorderedList:!1,trimFirst:!1}),ti),ai=ii.field;ai&&(ai.focus(),MC(ai,si))}var VR=null;class NC{constructor(ti,ii,{tabInsertsSuggestions:ni,defaultFirstOption:si,scrollIntoViewOptions:ai}={}){this.input=ti,this.list=ii,this.tabInsertsSuggestions=ni??!0,this.defaultFirstOption=si??!1,this.scrollIntoViewOptions=ai??{block:"nearest",inline:"nearest"},this.isComposing=!1,ii.id||(ii.id=`combobox-${Math.random().toString().slice(2,6)}`),this.ctrlBindings=!!navigator.userAgent.match(/Macintosh/),this.keyboardEventHandler=li=>BC(li,this),this.compositionEventHandler=li=>VC(li,this),this.inputHandler=this.clearSelection.bind(this),ti.setAttribute("role","combobox"),ti.setAttribute("aria-controls",ii.id),ti.setAttribute("aria-expanded","false"),ti.setAttribute("aria-autocomplete","list"),ti.setAttribute("aria-haspopup","listbox")}destroy(){this.clearSelection(),this.stop(),this.input.removeAttribute("role"),this.input.removeAttribute("aria-controls"),this.input.removeAttribute("aria-expanded"),this.input.removeAttribute("aria-autocomplete"),this.input.removeAttribute("aria-haspopup")}start(){this.input.setAttribute("aria-expanded","true"),this.input.addEventListener("compositionstart",this.compositionEventHandler),this.input.addEventListener("compositionend",this.compositionEventHandler),this.input.addEventListener("input",this.inputHandler),this.input.addEventListener("keydown",this.keyboardEventHandler),this.list.addEventListener("click",F_),this.indicateDefaultOption()}stop(){this.clearSelection(),this.input.setAttribute("aria-expanded","false"),this.input.removeEventListener("compositionstart",this.compositionEventHandler),this.input.removeEventListener("compositionend",this.compositionEventHandler),this.input.removeEventListener("input",this.inputHandler),this.input.removeEventListener("keydown",this.keyboardEventHandler),this.list.removeEventListener("click",F_)}indicateDefaultOption(){var ti;this.defaultFirstOption&&((ti=Array.from(this.list.querySelectorAll('[role="option"]:not([aria-disabled="true"])')).filter(Ig)[0])===null||ti===void 0||ti.setAttribute("data-combobox-option-default","true"))}navigate(ti=1){const ii=Array.from(this.list.querySelectorAll('[aria-selected="true"]')).filter(Ig)[0],ni=Array.from(this.list.querySelectorAll('[role="option"]')).filter(Ig),si=ni.indexOf(ii);if(si===ni.length-1&&ti===1||si===0&&ti===-1){this.clearSelection(),this.input.focus();return}let ai=ti===1?0:ni.length-1;if(ii&&si>=0){const fi=si+ti;fi>=0&&fi<ni.length&&(ai=fi)}const li=ni[ai];if(li)for(const fi of ni)fi.removeAttribute("data-combobox-option-default"),li===fi?(this.input.setAttribute("aria-activedescendant",li.id),li.setAttribute("aria-selected","true"),$C(li),li.scrollIntoView(this.scrollIntoViewOptions)):fi.removeAttribute("aria-selected")}clearSelection(){this.input.removeAttribute("aria-activedescendant");for(const ti of this.list.querySelectorAll('[aria-selected="true"]'))ti.removeAttribute("aria-selected");this.indicateDefaultOption()}}function BC(ei,ti){if(!(ei.shiftKey||ei.metaKey||ei.altKey)&&!(!ti.ctrlBindings&&ei.ctrlKey)&&!ti.isComposing)switch(ei.key){case"Enter":I_(ti.input,ti.list)&&ei.preventDefault();break;case"Tab":ti.tabInsertsSuggestions&&I_(ti.input,ti.list)&&ei.preventDefault();break;case"Escape":ti.clearSelection();break;case"ArrowDown":ti.navigate(1),ei.preventDefault();break;case"ArrowUp":ti.navigate(-1),ei.preventDefault();break;case"n":ti.ctrlBindings&&ei.ctrlKey&&(ti.navigate(1),ei.preventDefault());break;case"p":ti.ctrlBindings&&ei.ctrlKey&&(ti.navigate(-1),ei.preventDefault());break;default:if(ei.ctrlKey)break;ti.clearSelection()}}function F_(ei){if(!(ei.target instanceof Element))return;const ti=ei.target.closest('[role="option"]');ti&&ti.getAttribute("aria-disabled")!=="true"&&HC(ti,{event:ei})}function I_(ei,ti){const ii=ti.querySelector('[aria-selected="true"], [data-combobox-option-default="true"]');return ii?(ii.getAttribute("aria-disabled")==="true"||ii.click(),!0):!1}function HC(ei,ti){ei.dispatchEvent(new CustomEvent("combobox-commit",{bubbles:!0,detail:ti}))}function $C(ei){ei.dispatchEvent(new Event("combobox-select",{bubbles:!0}))}function Ig(ei){return!ei.hidden&&!(ei instanceof HTMLInputElement&&ei.type==="hidden")&&(ei.offsetWidth>0||ei.offsetHeight>0)}function VC(ei,ti){ti.isComposing=ei.type==="compositionstart",document.getElementById(ti.input.getAttribute("aria-controls")||"")&&ti.clearSelection()}const UC=/\s|\(|\[/;function WC(ei,ti,ii,{multiWord:ni,lookBackIndex:si,lastMatchPosition:ai}={multiWord:!1,lookBackIndex:0,lastMatchPosition:null}){let li=ei.lastIndexOf(ti,ii-1);if(li===-1||li<si)return;if(ni){if(ai!=null){if(ai===li)return;li=ai-ti.length}if(ei[li+1]===" "&&ii>=li+ti.length+1||ei.lastIndexOf(`
`,ii-1)>li||ei.lastIndexOf(".",ii-1)>li)return}else if(ei.lastIndexOf(" ",ii-1)>li)return;const fi=ei[li-1];return fi&&!UC.test(fi)?void 0:{text:ei.substring(li+ti.length,ii),position:li+ti.length}}const zC=["position:absolute;","overflow:auto;","word-wrap:break-word;","top:0px;","left:-9999px;"],P_=["box-sizing","font-family","font-size","font-style","font-variant","font-weight","height","letter-spacing","line-height","max-height","min-height","padding-bottom","padding-left","padding-right","padding-top","border-bottom","border-left","border-right","border-top","text-decoration","text-indent","text-transform","width","word-spacing"],q_=new WeakMap;function KC(ei,ti){const ii=ei.nodeName.toLowerCase();if(ii!=="textarea"&&ii!=="input")throw new Error("expected textField to a textarea or input");let ni=q_.get(ei);if(ni&&ni.parentElement===ei.parentElement)ni.innerHTML="";else{ni=document.createElement("div"),q_.set(ei,ni);const fi=window.getComputedStyle(ei),hi=zC.slice(0);ii==="textarea"?hi.push("white-space:pre-wrap;"):hi.push("white-space:nowrap;");for(let _i=0,ji=P_.length;_i<ji;_i++){const Mi=P_[_i];hi.push(`${Mi}:${fi.getPropertyValue(Mi)};`)}ni.style.cssText=hi.join(" ")}const si=document.createElement("span");si.style.cssText="position: absolute;",si.innerHTML="&nbsp;";let ai,li;if(typeof ti=="number"){let fi=ei.value.substring(0,ti);fi&&(ai=document.createTextNode(fi)),fi=ei.value.substring(ti),fi&&(li=document.createTextNode(fi))}else{const fi=ei.value;fi&&(ai=document.createTextNode(fi))}if(ai&&ni.appendChild(ai),ni.appendChild(si),li&&ni.appendChild(li),!ni.parentElement){if(!ei.parentElement)throw new Error("textField must have a parentElement to mirror");ei.parentElement.insertBefore(ni,ei)}return ni.scrollTop=ei.scrollTop,ni.scrollLeft=ei.scrollLeft,{mirror:ni,marker:si}}function XC(ei,ti=ei.selectionEnd){const{mirror:ii,marker:ni}=KC(ei,ti),si=ii.getBoundingClientRect(),ai=ni.getBoundingClientRect();return setTimeout(()=>{ii.remove()},5e3),{top:ai.top-si.top,left:ai.left-si.left}}const np=new WeakMap;function GC(ei){try{if(ei.matches(":popover-open"))return!0}catch{}try{if(ei.matches("dialog:modal"))return!0}catch{}try{if(ei.matches(":fullscreen"))return!0}catch{}return!1}class QC{constructor(ti,ii){this.expander=ti,this.input=ii,this.combobox=null,this.menu=null,this.match=null,this.justPasted=!1,this.lookBackIndex=0,this.oninput=this.onInput.bind(this),this.onpaste=this.onPaste.bind(this),this.onkeydown=this.onKeydown.bind(this),this.oncommit=this.onCommit.bind(this),this.onmousedown=this.onMousedown.bind(this),this.onblur=this.onBlur.bind(this),this.interactingWithList=!1,ii.addEventListener("paste",this.onpaste),ii.addEventListener("input",this.oninput),ii.addEventListener("keydown",this.onkeydown),ii.addEventListener("blur",this.onblur)}destroy(){this.input.removeEventListener("paste",this.onpaste),this.input.removeEventListener("input",this.oninput),this.input.removeEventListener("keydown",this.onkeydown),this.input.removeEventListener("blur",this.onblur)}dismissMenu(){this.deactivate()&&(this.lookBackIndex=this.input.selectionEnd||this.lookBackIndex)}activate(ti,ii){var ni,si;if(this.input!==document.activeElement&&this.input!==((si=(ni=document.activeElement)===null||ni===void 0?void 0:ni.shadowRoot)===null||si===void 0?void 0:si.activeElement))return;this.deactivate(),this.menu=ii,ii.id||(ii.id=`text-expander-${Math.floor(Math.random()*1e5).toString()}`),this.expander.append(ii),this.combobox=new NC(this.input,ii),this.expander.dispatchEvent(new Event("text-expander-activate"));let{top:ai,left:li}=XC(this.input,ti.position);if(GC(ii)){const fi=this.input.getBoundingClientRect();ai+=fi.top,li+=fi.left,getComputedStyle(ii).position==="absolute"&&(ai+=window.scrollY,li+=window.scrollX)}ii.style.top=`${ai}px`,ii.style.left=`${li}px`,this.combobox.start(),ii.addEventListener("combobox-commit",this.oncommit),ii.addEventListener("mousedown",this.onmousedown),this.combobox.navigate(1)}deactivate(){const ti=this.menu;return!ti||!this.combobox?!1:(this.expander.dispatchEvent(new Event("text-expander-deactivate")),this.menu=null,ti.removeEventListener("combobox-commit",this.oncommit),ti.removeEventListener("mousedown",this.onmousedown),this.combobox.destroy(),this.combobox=null,ti.remove(),!0)}onCommit({target:ti}){var ii;const ni=ti;if(!(ni instanceof HTMLElement)||!this.combobox)return;const si=this.match;if(!si)return;const ai=this.input.value.substring(0,si.position-si.key.length),li=this.input.value.substring(si.position+si.text.length),fi={item:ni,key:si.key,value:null,continue:!1};if(!this.expander.dispatchEvent(new CustomEvent("text-expander-value",{cancelable:!0,detail:fi}))||!fi.value)return;let _i=(ii=this.expander.getAttribute("suffix"))!==null&&ii!==void 0?ii:" ";fi.continue&&(_i="");const ji=`${fi.value}${_i}`;this.input.value=ai+ji+li;const Mi=ai.length+ji.length;this.deactivate(),this.input.focus({preventScroll:!0}),this.input.selectionStart=Mi,this.input.selectionEnd=Mi,fi.continue||(this.lookBackIndex=Mi,this.match=null),this.expander.dispatchEvent(new CustomEvent("text-expander-committed",{cancelable:!1,detail:{input:this.input}}))}onBlur(){if(this.interactingWithList){this.interactingWithList=!1;return}this.deactivate()}onPaste(){this.justPasted=!0}async onInput(){if(this.justPasted){this.justPasted=!1;return}const ti=this.findMatch();if(ti){this.match=ti;const ii=await this.notifyProviders(ti);if(!this.match)return;ii?this.activate(ti,ii):this.deactivate()}else this.match=null,this.deactivate()}findMatch(){const ti=this.input.selectionEnd||0,ii=this.input.value;ti<=this.lookBackIndex&&(this.lookBackIndex=ti-1);for(const{key:ni,multiWord:si}of this.expander.keys){const ai=WC(ii,ni,ti,{multiWord:si,lookBackIndex:this.lookBackIndex,lastMatchPosition:this.match?this.match.position:null});if(ai)return{text:ai.text,key:ni,position:ai.position}}}async notifyProviders(ti){const ii=[],ni=fi=>ii.push(fi);return this.expander.dispatchEvent(new CustomEvent("text-expander-change",{cancelable:!0,detail:{provide:ni,text:ti.text,key:ti.key}}))?(await Promise.all(ii)).filter(fi=>fi.matched).map(fi=>fi.fragment)[0]:void 0}onMousedown(){this.interactingWithList=!0}onKeydown(ti){ti.key==="Escape"&&(this.match=null,this.deactivate()&&(this.lookBackIndex=this.input.selectionEnd||this.lookBackIndex,ti.stopImmediatePropagation(),ti.preventDefault()))}}class N_ extends HTMLElement{get keys(){const ti=this.getAttribute("keys"),ii=ti?ti.split(" "):[],ni=this.getAttribute("multiword"),si=ni?ni.split(" "):[],ai=si.length===0&&this.hasAttribute("multiword");return ii.map(li=>({key:li,multiWord:ai||si.includes(li)}))}connectedCallback(){const ti=this.querySelector('input[type="text"], textarea');if(!(ti instanceof HTMLInputElement||ti instanceof HTMLTextAreaElement))return;const ii=new QC(this,ti);np.set(this,ii)}disconnectedCallback(){const ti=np.get(this);ti&&(ti.destroy(),np.delete(this))}dismiss(){const ti=np.get(this);ti&&ti.dismissMenu()}}window.customElements.get("text-expander")||(window.TextExpanderElement=N_,window.customElements.define("text-expander",N_));var UR=null,Pg=JSON.parse('[{"emoji":"\u{1F44D}","aliases":["+1","thumbsup"]},{"emoji":"\u{1F44E}","aliases":["-1","thumbsdown"]},{"emoji":"\u{1F4AF}","aliases":["100"]},{"emoji":"\u{1F522}","aliases":["1234"]},{"emoji":"\u{1F947}","aliases":["1st_place_medal"]},{"emoji":"\u{1F948}","aliases":["2nd_place_medal"]},{"emoji":"\u{1F949}","aliases":["3rd_place_medal"]},{"emoji":"\u{1F3B1}","aliases":["8ball"]},{"emoji":"\u{1F170}\uFE0F","aliases":["a"]},{"emoji":"\u{1F18E}","aliases":["ab"]},{"emoji":"\u{1F9EE}","aliases":["abacus"]},{"emoji":"\u{1F524}","aliases":["abc"]},{"emoji":"\u{1F521}","aliases":["abcd"]},{"emoji":"\u{1F251}","aliases":["accept"]},{"emoji":"\u{1FA97}","aliases":["accordion"]},{"emoji":"\u{1FA79}","aliases":["adhesive_bandage"]},{"emoji":"\u{1F9D1}","aliases":["adult"]},{"emoji":"\u{1F6A1}","aliases":["aerial_tramway"]},{"emoji":"\u{1F1E6}\u{1F1EB}","aliases":["afghanistan"]},{"emoji":"\u2708\uFE0F","aliases":["airplane"]},{"emoji":"\u{1F1E6}\u{1F1FD}","aliases":["aland_islands"]},{"emoji":"\u23F0","aliases":["alarm_clock"]},{"emoji":"\u{1F1E6}\u{1F1F1}","aliases":["albania"]},{"emoji":"\u2697\uFE0F","aliases":["alembic"]},{"emoji":"\u{1F1E9}\u{1F1FF}","aliases":["algeria"]},{"emoji":"\u{1F47D}","aliases":["alien"]},{"emoji":"\u{1F691}","aliases":["ambulance"]},{"emoji":"\u{1F1E6}\u{1F1F8}","aliases":["american_samoa"]},{"emoji":"\u{1F3FA}","aliases":["amphora"]},{"emoji":"\u{1FAC0}","aliases":["anatomical_heart"]},{"emoji":"\u2693","aliases":["anchor"]},{"emoji":"\u{1F1E6}\u{1F1E9}","aliases":["andorra"]},{"emoji":"\u{1F47C}","aliases":["angel"]},{"emoji":"\u{1F4A2}","aliases":["anger"]},{"emoji":"\u{1F1E6}\u{1F1F4}","aliases":["angola"]},{"emoji":"\u{1F620}","aliases":["angry"]},{"emoji":"\u{1F1E6}\u{1F1EE}","aliases":["anguilla"]},{"emoji":"\u{1F627}","aliases":["anguished"]},{"emoji":"\u{1F41C}","aliases":["ant"]},{"emoji":"\u{1F1E6}\u{1F1F6}","aliases":["antarctica"]},{"emoji":"\u{1F1E6}\u{1F1EC}","aliases":["antigua_barbuda"]},{"emoji":"\u{1F34E}","aliases":["apple"]},{"emoji":"\u2652","aliases":["aquarius"]},{"emoji":"\u{1F1E6}\u{1F1F7}","aliases":["argentina"]},{"emoji":"\u2648","aliases":["aries"]},{"emoji":"\u{1F1E6}\u{1F1F2}","aliases":["armenia"]},{"emoji":"\u25C0\uFE0F","aliases":["arrow_backward"]},{"emoji":"\u23EC","aliases":["arrow_double_down"]},{"emoji":"\u23EB","aliases":["arrow_double_up"]},{"emoji":"\u2B07\uFE0F","aliases":["arrow_down"]},{"emoji":"\u{1F53D}","aliases":["arrow_down_small"]},{"emoji":"\u25B6\uFE0F","aliases":["arrow_forward"]},{"emoji":"\u2935\uFE0F","aliases":["arrow_heading_down"]},{"emoji":"\u2934\uFE0F","aliases":["arrow_heading_up"]},{"emoji":"\u2B05\uFE0F","aliases":["arrow_left"]},{"emoji":"\u2199\uFE0F","aliases":["arrow_lower_left"]},{"emoji":"\u2198\uFE0F","aliases":["arrow_lower_right"]},{"emoji":"\u27A1\uFE0F","aliases":["arrow_right"]},{"emoji":"\u21AA\uFE0F","aliases":["arrow_right_hook"]},{"emoji":"\u2B06\uFE0F","aliases":["arrow_up"]},{"emoji":"\u2195\uFE0F","aliases":["arrow_up_down"]},{"emoji":"\u{1F53C}","aliases":["arrow_up_small"]},{"emoji":"\u2196\uFE0F","aliases":["arrow_upper_left"]},{"emoji":"\u2197\uFE0F","aliases":["arrow_upper_right"]},{"emoji":"\u{1F503}","aliases":["arrows_clockwise"]},{"emoji":"\u{1F504}","aliases":["arrows_counterclockwise"]},{"emoji":"\u{1F3A8}","aliases":["art"]},{"emoji":"\u{1F69B}","aliases":["articulated_lorry"]},{"emoji":"\u{1F6F0}\uFE0F","aliases":["artificial_satellite"]},{"emoji":"\u{1F9D1}\u200D\u{1F3A8}","aliases":["artist"]},{"emoji":"\u{1F1E6}\u{1F1FC}","aliases":["aruba"]},{"emoji":"\u{1F1E6}\u{1F1E8}","aliases":["ascension_island"]},{"emoji":"*\uFE0F\u20E3","aliases":["asterisk"]},{"emoji":"\u{1F632}","aliases":["astonished"]},{"emoji":"\u{1F9D1}\u200D\u{1F680}","aliases":["astronaut"]},{"emoji":"\u{1F45F}","aliases":["athletic_shoe"]},{"emoji":"\u{1F3E7}","aliases":["atm"]},{"emoji":"\u269B\uFE0F","aliases":["atom_symbol"]},{"emoji":"\u{1F1E6}\u{1F1FA}","aliases":["australia"]},{"emoji":"\u{1F1E6}\u{1F1F9}","aliases":["austria"]},{"emoji":"\u{1F6FA}","aliases":["auto_rickshaw"]},{"emoji":"\u{1F951}","aliases":["avocado"]},{"emoji":"\u{1FA93}","aliases":["axe"]},{"emoji":"\u{1F1E6}\u{1F1FF}","aliases":["azerbaijan"]},{"emoji":"\u{1F171}\uFE0F","aliases":["b"]},{"emoji":"\u{1F476}","aliases":["baby"]},{"emoji":"\u{1F37C}","aliases":["baby_bottle"]},{"emoji":"\u{1F424}","aliases":["baby_chick"]},{"emoji":"\u{1F6BC}","aliases":["baby_symbol"]},{"emoji":"\u{1F519}","aliases":["back"]},{"emoji":"\u{1F953}","aliases":["bacon"]},{"emoji":"\u{1F9A1}","aliases":["badger"]},{"emoji":"\u{1F3F8}","aliases":["badminton"]},{"emoji":"\u{1F96F}","aliases":["bagel"]},{"emoji":"\u{1F6C4}","aliases":["baggage_claim"]},{"emoji":"\u{1F956}","aliases":["baguette_bread"]},{"emoji":"\u{1F1E7}\u{1F1F8}","aliases":["bahamas"]},{"emoji":"\u{1F1E7}\u{1F1ED}","aliases":["bahrain"]},{"emoji":"\u2696\uFE0F","aliases":["balance_scale"]},{"emoji":"\u{1F468}\u200D\u{1F9B2}","aliases":["bald_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B2}","aliases":["bald_woman"]},{"emoji":"\u{1FA70}","aliases":["ballet_shoes"]},{"emoji":"\u{1F388}","aliases":["balloon"]},{"emoji":"\u{1F5F3}\uFE0F","aliases":["ballot_box"]},{"emoji":"\u2611\uFE0F","aliases":["ballot_box_with_check"]},{"emoji":"\u{1F38D}","aliases":["bamboo"]},{"emoji":"\u{1F34C}","aliases":["banana"]},{"emoji":"\u203C\uFE0F","aliases":["bangbang"]},{"emoji":"\u{1F1E7}\u{1F1E9}","aliases":["bangladesh"]},{"emoji":"\u{1FA95}","aliases":["banjo"]},{"emoji":"\u{1F3E6}","aliases":["bank"]},{"emoji":"\u{1F4CA}","aliases":["bar_chart"]},{"emoji":"\u{1F1E7}\u{1F1E7}","aliases":["barbados"]},{"emoji":"\u{1F488}","aliases":["barber"]},{"emoji":"\u26BE","aliases":["baseball"]},{"emoji":"\u{1F9FA}","aliases":["basket"]},{"emoji":"\u{1F3C0}","aliases":["basketball"]},{"emoji":"\u{1F987}","aliases":["bat"]},{"emoji":"\u{1F6C0}","aliases":["bath"]},{"emoji":"\u{1F6C1}","aliases":["bathtub"]},{"emoji":"\u{1F50B}","aliases":["battery"]},{"emoji":"\u{1F3D6}\uFE0F","aliases":["beach_umbrella"]},{"emoji":"\u{1FAD8}","aliases":["beans"]},{"emoji":"\u{1F43B}","aliases":["bear"]},{"emoji":"\u{1F9D4}","aliases":["bearded_person"]},{"emoji":"\u{1F9AB}","aliases":["beaver"]},{"emoji":"\u{1F6CF}\uFE0F","aliases":["bed"]},{"emoji":"\u{1F41D}","aliases":["bee","honeybee"]},{"emoji":"\u{1F37A}","aliases":["beer"]},{"emoji":"\u{1F37B}","aliases":["beers"]},{"emoji":"\u{1FAB2}","aliases":["beetle"]},{"emoji":"\u{1F530}","aliases":["beginner"]},{"emoji":"\u{1F1E7}\u{1F1FE}","aliases":["belarus"]},{"emoji":"\u{1F1E7}\u{1F1EA}","aliases":["belgium"]},{"emoji":"\u{1F1E7}\u{1F1FF}","aliases":["belize"]},{"emoji":"\u{1F514}","aliases":["bell"]},{"emoji":"\u{1FAD1}","aliases":["bell_pepper"]},{"emoji":"\u{1F6CE}\uFE0F","aliases":["bellhop_bell"]},{"emoji":"\u{1F1E7}\u{1F1EF}","aliases":["benin"]},{"emoji":"\u{1F371}","aliases":["bento"]},{"emoji":"\u{1F1E7}\u{1F1F2}","aliases":["bermuda"]},{"emoji":"\u{1F9C3}","aliases":["beverage_box"]},{"emoji":"\u{1F1E7}\u{1F1F9}","aliases":["bhutan"]},{"emoji":"\u{1F6B4}","aliases":["bicyclist"]},{"emoji":"\u{1F6B2}","aliases":["bike"]},{"emoji":"\u{1F6B4}\u200D\u2642\uFE0F","aliases":["biking_man"]},{"emoji":"\u{1F6B4}\u200D\u2640\uFE0F","aliases":["biking_woman"]},{"emoji":"\u{1F459}","aliases":["bikini"]},{"emoji":"\u{1F9E2}","aliases":["billed_cap"]},{"emoji":"\u2623\uFE0F","aliases":["biohazard"]},{"emoji":"\u{1F426}","aliases":["bird"]},{"emoji":"\u{1F382}","aliases":["birthday"]},{"emoji":"\u{1F9AC}","aliases":["bison"]},{"emoji":"\u{1FAE6}","aliases":["biting_lip"]},{"emoji":"\u{1F426}\u200D\u2B1B","aliases":["black_bird"]},{"emoji":"\u{1F408}\u200D\u2B1B","aliases":["black_cat"]},{"emoji":"\u26AB","aliases":["black_circle"]},{"emoji":"\u{1F3F4}","aliases":["black_flag"]},{"emoji":"\u{1F5A4}","aliases":["black_heart"]},{"emoji":"\u{1F0CF}","aliases":["black_joker"]},{"emoji":"\u2B1B","aliases":["black_large_square"]},{"emoji":"\u25FE","aliases":["black_medium_small_square"]},{"emoji":"\u25FC\uFE0F","aliases":["black_medium_square"]},{"emoji":"\u2712\uFE0F","aliases":["black_nib"]},{"emoji":"\u25AA\uFE0F","aliases":["black_small_square"]},{"emoji":"\u{1F532}","aliases":["black_square_button"]},{"emoji":"\u{1F471}\u200D\u2642\uFE0F","aliases":["blond_haired_man"]},{"emoji":"\u{1F471}","aliases":["blond_haired_person"]},{"emoji":"\u{1F471}\u200D\u2640\uFE0F","aliases":["blond_haired_woman","blonde_woman"]},{"emoji":"\u{1F33C}","aliases":["blossom"]},{"emoji":"\u{1F421}","aliases":["blowfish"]},{"emoji":"\u{1F4D8}","aliases":["blue_book"]},{"emoji":"\u{1F699}","aliases":["blue_car"]},{"emoji":"\u{1F499}","aliases":["blue_heart"]},{"emoji":"\u{1F7E6}","aliases":["blue_square"]},{"emoji":"\u{1FAD0}","aliases":["blueberries"]},{"emoji":"\u{1F60A}","aliases":["blush"]},{"emoji":"\u{1F417}","aliases":["boar"]},{"emoji":"\u26F5","aliases":["boat","sailboat"]},{"emoji":"\u{1F1E7}\u{1F1F4}","aliases":["bolivia"]},{"emoji":"\u{1F4A3}","aliases":["bomb"]},{"emoji":"\u{1F9B4}","aliases":["bone"]},{"emoji":"\u{1F4D6}","aliases":["book","open_book"]},{"emoji":"\u{1F516}","aliases":["bookmark"]},{"emoji":"\u{1F4D1}","aliases":["bookmark_tabs"]},{"emoji":"\u{1F4DA}","aliases":["books"]},{"emoji":"\u{1F4A5}","aliases":["boom","collision"]},{"emoji":"\u{1FA83}","aliases":["boomerang"]},{"emoji":"\u{1F462}","aliases":["boot"]},{"emoji":"\u{1F1E7}\u{1F1E6}","aliases":["bosnia_herzegovina"]},{"emoji":"\u{1F1E7}\u{1F1FC}","aliases":["botswana"]},{"emoji":"\u26F9\uFE0F\u200D\u2642\uFE0F","aliases":["bouncing_ball_man","basketball_man"]},{"emoji":"\u26F9\uFE0F","aliases":["bouncing_ball_person"]},{"emoji":"\u26F9\uFE0F\u200D\u2640\uFE0F","aliases":["bouncing_ball_woman","basketball_woman"]},{"emoji":"\u{1F490}","aliases":["bouquet"]},{"emoji":"\u{1F1E7}\u{1F1FB}","aliases":["bouvet_island"]},{"emoji":"\u{1F647}","aliases":["bow"]},{"emoji":"\u{1F3F9}","aliases":["bow_and_arrow"]},{"emoji":"\u{1F647}\u200D\u2642\uFE0F","aliases":["bowing_man"]},{"emoji":"\u{1F647}\u200D\u2640\uFE0F","aliases":["bowing_woman"]},{"emoji":"\u{1F963}","aliases":["bowl_with_spoon"]},{"emoji":"\u{1F3B3}","aliases":["bowling"]},{"emoji":"\u{1F94A}","aliases":["boxing_glove"]},{"emoji":"\u{1F466}","aliases":["boy"]},{"emoji":"\u{1F9E0}","aliases":["brain"]},{"emoji":"\u{1F1E7}\u{1F1F7}","aliases":["brazil"]},{"emoji":"\u{1F35E}","aliases":["bread"]},{"emoji":"\u{1F931}","aliases":["breast_feeding"]},{"emoji":"\u{1F9F1}","aliases":["bricks"]},{"emoji":"\u{1F309}","aliases":["bridge_at_night"]},{"emoji":"\u{1F4BC}","aliases":["briefcase"]},{"emoji":"\u{1F1EE}\u{1F1F4}","aliases":["british_indian_ocean_territory"]},{"emoji":"\u{1F1FB}\u{1F1EC}","aliases":["british_virgin_islands"]},{"emoji":"\u{1F966}","aliases":["broccoli"]},{"emoji":"\u{1F494}","aliases":["broken_heart"]},{"emoji":"\u{1F9F9}","aliases":["broom"]},{"emoji":"\u{1F7E4}","aliases":["brown_circle"]},{"emoji":"\u{1F90E}","aliases":["brown_heart"]},{"emoji":"\u{1F7EB}","aliases":["brown_square"]},{"emoji":"\u{1F1E7}\u{1F1F3}","aliases":["brunei"]},{"emoji":"\u{1F9CB}","aliases":["bubble_tea"]},{"emoji":"\u{1FAE7}","aliases":["bubbles"]},{"emoji":"\u{1FAA3}","aliases":["bucket"]},{"emoji":"\u{1F41B}","aliases":["bug"]},{"emoji":"\u{1F3D7}\uFE0F","aliases":["building_construction"]},{"emoji":"\u{1F4A1}","aliases":["bulb"]},{"emoji":"\u{1F1E7}\u{1F1EC}","aliases":["bulgaria"]},{"emoji":"\u{1F685}","aliases":["bullettrain_front"]},{"emoji":"\u{1F684}","aliases":["bullettrain_side"]},{"emoji":"\u{1F1E7}\u{1F1EB}","aliases":["burkina_faso"]},{"emoji":"\u{1F32F}","aliases":["burrito"]},{"emoji":"\u{1F1E7}\u{1F1EE}","aliases":["burundi"]},{"emoji":"\u{1F68C}","aliases":["bus"]},{"emoji":"\u{1F574}\uFE0F","aliases":["business_suit_levitating"]},{"emoji":"\u{1F68F}","aliases":["busstop"]},{"emoji":"\u{1F464}","aliases":["bust_in_silhouette"]},{"emoji":"\u{1F465}","aliases":["busts_in_silhouette"]},{"emoji":"\u{1F9C8}","aliases":["butter"]},{"emoji":"\u{1F98B}","aliases":["butterfly"]},{"emoji":"\u{1F335}","aliases":["cactus"]},{"emoji":"\u{1F370}","aliases":["cake"]},{"emoji":"\u{1F4C6}","aliases":["calendar"]},{"emoji":"\u{1F919}","aliases":["call_me_hand"]},{"emoji":"\u{1F4F2}","aliases":["calling"]},{"emoji":"\u{1F1F0}\u{1F1ED}","aliases":["cambodia"]},{"emoji":"\u{1F42B}","aliases":["camel"]},{"emoji":"\u{1F4F7}","aliases":["camera"]},{"emoji":"\u{1F4F8}","aliases":["camera_flash"]},{"emoji":"\u{1F1E8}\u{1F1F2}","aliases":["cameroon"]},{"emoji":"\u{1F3D5}\uFE0F","aliases":["camping"]},{"emoji":"\u{1F1E8}\u{1F1E6}","aliases":["canada"]},{"emoji":"\u{1F1EE}\u{1F1E8}","aliases":["canary_islands"]},{"emoji":"\u264B","aliases":["cancer"]},{"emoji":"\u{1F56F}\uFE0F","aliases":["candle"]},{"emoji":"\u{1F36C}","aliases":["candy"]},{"emoji":"\u{1F96B}","aliases":["canned_food"]},{"emoji":"\u{1F6F6}","aliases":["canoe"]},{"emoji":"\u{1F1E8}\u{1F1FB}","aliases":["cape_verde"]},{"emoji":"\u{1F520}","aliases":["capital_abcd"]},{"emoji":"\u2651","aliases":["capricorn"]},{"emoji":"\u{1F697}","aliases":["car","red_car"]},{"emoji":"\u{1F5C3}\uFE0F","aliases":["card_file_box"]},{"emoji":"\u{1F4C7}","aliases":["card_index"]},{"emoji":"\u{1F5C2}\uFE0F","aliases":["card_index_dividers"]},{"emoji":"\u{1F1E7}\u{1F1F6}","aliases":["caribbean_netherlands"]},{"emoji":"\u{1F3A0}","aliases":["carousel_horse"]},{"emoji":"\u{1FA9A}","aliases":["carpentry_saw"]},{"emoji":"\u{1F955}","aliases":["carrot"]},{"emoji":"\u{1F938}","aliases":["cartwheeling"]},{"emoji":"\u{1F431}","aliases":["cat"]},{"emoji":"\u{1F408}","aliases":["cat2"]},{"emoji":"\u{1F1F0}\u{1F1FE}","aliases":["cayman_islands"]},{"emoji":"\u{1F4BF}","aliases":["cd"]},{"emoji":"\u{1F1E8}\u{1F1EB}","aliases":["central_african_republic"]},{"emoji":"\u{1F1EA}\u{1F1E6}","aliases":["ceuta_melilla"]},{"emoji":"\u{1F1F9}\u{1F1E9}","aliases":["chad"]},{"emoji":"\u26D3\uFE0F","aliases":["chains"]},{"emoji":"\u{1FA91}","aliases":["chair"]},{"emoji":"\u{1F37E}","aliases":["champagne"]},{"emoji":"\u{1F4B9}","aliases":["chart"]},{"emoji":"\u{1F4C9}","aliases":["chart_with_downwards_trend"]},{"emoji":"\u{1F4C8}","aliases":["chart_with_upwards_trend"]},{"emoji":"\u{1F3C1}","aliases":["checkered_flag"]},{"emoji":"\u{1F9C0}","aliases":["cheese"]},{"emoji":"\u{1F352}","aliases":["cherries"]},{"emoji":"\u{1F338}","aliases":["cherry_blossom"]},{"emoji":"\u265F\uFE0F","aliases":["chess_pawn"]},{"emoji":"\u{1F330}","aliases":["chestnut"]},{"emoji":"\u{1F414}","aliases":["chicken"]},{"emoji":"\u{1F9D2}","aliases":["child"]},{"emoji":"\u{1F6B8}","aliases":["children_crossing"]},{"emoji":"\u{1F1E8}\u{1F1F1}","aliases":["chile"]},{"emoji":"\u{1F43F}\uFE0F","aliases":["chipmunk"]},{"emoji":"\u{1F36B}","aliases":["chocolate_bar"]},{"emoji":"\u{1F962}","aliases":["chopsticks"]},{"emoji":"\u{1F1E8}\u{1F1FD}","aliases":["christmas_island"]},{"emoji":"\u{1F384}","aliases":["christmas_tree"]},{"emoji":"\u26EA","aliases":["church"]},{"emoji":"\u{1F3A6}","aliases":["cinema"]},{"emoji":"\u{1F3AA}","aliases":["circus_tent"]},{"emoji":"\u{1F307}","aliases":["city_sunrise"]},{"emoji":"\u{1F306}","aliases":["city_sunset"]},{"emoji":"\u{1F3D9}\uFE0F","aliases":["cityscape"]},{"emoji":"\u{1F191}","aliases":["cl"]},{"emoji":"\u{1F5DC}\uFE0F","aliases":["clamp"]},{"emoji":"\u{1F44F}","aliases":["clap"]},{"emoji":"\u{1F3AC}","aliases":["clapper"]},{"emoji":"\u{1F3DB}\uFE0F","aliases":["classical_building"]},{"emoji":"\u{1F9D7}","aliases":["climbing"]},{"emoji":"\u{1F9D7}\u200D\u2642\uFE0F","aliases":["climbing_man"]},{"emoji":"\u{1F9D7}\u200D\u2640\uFE0F","aliases":["climbing_woman"]},{"emoji":"\u{1F942}","aliases":["clinking_glasses"]},{"emoji":"\u{1F4CB}","aliases":["clipboard"]},{"emoji":"\u{1F1E8}\u{1F1F5}","aliases":["clipperton_island"]},{"emoji":"\u{1F550}","aliases":["clock1"]},{"emoji":"\u{1F559}","aliases":["clock10"]},{"emoji":"\u{1F565}","aliases":["clock1030"]},{"emoji":"\u{1F55A}","aliases":["clock11"]},{"emoji":"\u{1F566}","aliases":["clock1130"]},{"emoji":"\u{1F55B}","aliases":["clock12"]},{"emoji":"\u{1F567}","aliases":["clock1230"]},{"emoji":"\u{1F55C}","aliases":["clock130"]},{"emoji":"\u{1F551}","aliases":["clock2"]},{"emoji":"\u{1F55D}","aliases":["clock230"]},{"emoji":"\u{1F552}","aliases":["clock3"]},{"emoji":"\u{1F55E}","aliases":["clock330"]},{"emoji":"\u{1F553}","aliases":["clock4"]},{"emoji":"\u{1F55F}","aliases":["clock430"]},{"emoji":"\u{1F554}","aliases":["clock5"]},{"emoji":"\u{1F560}","aliases":["clock530"]},{"emoji":"\u{1F555}","aliases":["clock6"]},{"emoji":"\u{1F561}","aliases":["clock630"]},{"emoji":"\u{1F556}","aliases":["clock7"]},{"emoji":"\u{1F562}","aliases":["clock730"]},{"emoji":"\u{1F557}","aliases":["clock8"]},{"emoji":"\u{1F563}","aliases":["clock830"]},{"emoji":"\u{1F558}","aliases":["clock9"]},{"emoji":"\u{1F564}","aliases":["clock930"]},{"emoji":"\u{1F4D5}","aliases":["closed_book"]},{"emoji":"\u{1F510}","aliases":["closed_lock_with_key"]},{"emoji":"\u{1F302}","aliases":["closed_umbrella"]},{"emoji":"\u2601\uFE0F","aliases":["cloud"]},{"emoji":"\u{1F329}\uFE0F","aliases":["cloud_with_lightning"]},{"emoji":"\u26C8\uFE0F","aliases":["cloud_with_lightning_and_rain"]},{"emoji":"\u{1F327}\uFE0F","aliases":["cloud_with_rain"]},{"emoji":"\u{1F328}\uFE0F","aliases":["cloud_with_snow"]},{"emoji":"\u{1F921}","aliases":["clown_face"]},{"emoji":"\u2663\uFE0F","aliases":["clubs"]},{"emoji":"\u{1F1E8}\u{1F1F3}","aliases":["cn"]},{"emoji":"\u{1F9E5}","aliases":["coat"]},{"emoji":"\u{1FAB3}","aliases":["cockroach"]},{"emoji":"\u{1F378}","aliases":["cocktail"]},{"emoji":"\u{1F965}","aliases":["coconut"]},{"emoji":"\u{1F1E8}\u{1F1E8}","aliases":["cocos_islands"]},{"emoji":"\u2615","aliases":["coffee"]},{"emoji":"\u26B0\uFE0F","aliases":["coffin"]},{"emoji":"\u{1FA99}","aliases":["coin"]},{"emoji":"\u{1F976}","aliases":["cold_face"]},{"emoji":"\u{1F630}","aliases":["cold_sweat"]},{"emoji":"\u{1F1E8}\u{1F1F4}","aliases":["colombia"]},{"emoji":"\u2604\uFE0F","aliases":["comet"]},{"emoji":"\u{1F1F0}\u{1F1F2}","aliases":["comoros"]},{"emoji":"\u{1F9ED}","aliases":["compass"]},{"emoji":"\u{1F4BB}","aliases":["computer"]},{"emoji":"\u{1F5B1}\uFE0F","aliases":["computer_mouse"]},{"emoji":"\u{1F38A}","aliases":["confetti_ball"]},{"emoji":"\u{1F616}","aliases":["confounded"]},{"emoji":"\u{1F615}","aliases":["confused"]},{"emoji":"\u{1F1E8}\u{1F1EC}","aliases":["congo_brazzaville"]},{"emoji":"\u{1F1E8}\u{1F1E9}","aliases":["congo_kinshasa"]},{"emoji":"\u3297\uFE0F","aliases":["congratulations"]},{"emoji":"\u{1F6A7}","aliases":["construction"]},{"emoji":"\u{1F477}","aliases":["construction_worker"]},{"emoji":"\u{1F477}\u200D\u2642\uFE0F","aliases":["construction_worker_man"]},{"emoji":"\u{1F477}\u200D\u2640\uFE0F","aliases":["construction_worker_woman"]},{"emoji":"\u{1F39B}\uFE0F","aliases":["control_knobs"]},{"emoji":"\u{1F3EA}","aliases":["convenience_store"]},{"emoji":"\u{1F9D1}\u200D\u{1F373}","aliases":["cook"]},{"emoji":"\u{1F1E8}\u{1F1F0}","aliases":["cook_islands"]},{"emoji":"\u{1F36A}","aliases":["cookie"]},{"emoji":"\u{1F192}","aliases":["cool"]},{"emoji":"\xA9\uFE0F","aliases":["copyright"]},{"emoji":"\u{1FAB8}","aliases":["coral"]},{"emoji":"\u{1F33D}","aliases":["corn"]},{"emoji":"\u{1F1E8}\u{1F1F7}","aliases":["costa_rica"]},{"emoji":"\u{1F1E8}\u{1F1EE}","aliases":["cote_divoire"]},{"emoji":"\u{1F6CB}\uFE0F","aliases":["couch_and_lamp"]},{"emoji":"\u{1F46B}","aliases":["couple"]},{"emoji":"\u{1F491}","aliases":["couple_with_heart"]},{"emoji":"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F468}","aliases":["couple_with_heart_man_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}","aliases":["couple_with_heart_woman_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F469}","aliases":["couple_with_heart_woman_woman"]},{"emoji":"\u{1F48F}","aliases":["couplekiss"]},{"emoji":"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}","aliases":["couplekiss_man_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}","aliases":["couplekiss_man_woman"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F469}","aliases":["couplekiss_woman_woman"]},{"emoji":"\u{1F42E}","aliases":["cow"]},{"emoji":"\u{1F404}","aliases":["cow2"]},{"emoji":"\u{1F920}","aliases":["cowboy_hat_face"]},{"emoji":"\u{1F980}","aliases":["crab"]},{"emoji":"\u{1F58D}\uFE0F","aliases":["crayon"]},{"emoji":"\u{1F4B3}","aliases":["credit_card"]},{"emoji":"\u{1F319}","aliases":["crescent_moon"]},{"emoji":"\u{1F997}","aliases":["cricket"]},{"emoji":"\u{1F3CF}","aliases":["cricket_game"]},{"emoji":"\u{1F1ED}\u{1F1F7}","aliases":["croatia"]},{"emoji":"\u{1F40A}","aliases":["crocodile"]},{"emoji":"\u{1F950}","aliases":["croissant"]},{"emoji":"\u{1F91E}","aliases":["crossed_fingers"]},{"emoji":"\u{1F38C}","aliases":["crossed_flags"]},{"emoji":"\u2694\uFE0F","aliases":["crossed_swords"]},{"emoji":"\u{1F451}","aliases":["crown"]},{"emoji":"\u{1FA7C}","aliases":["crutch"]},{"emoji":"\u{1F622}","aliases":["cry"]},{"emoji":"\u{1F63F}","aliases":["crying_cat_face"]},{"emoji":"\u{1F52E}","aliases":["crystal_ball"]},{"emoji":"\u{1F1E8}\u{1F1FA}","aliases":["cuba"]},{"emoji":"\u{1F952}","aliases":["cucumber"]},{"emoji":"\u{1F964}","aliases":["cup_with_straw"]},{"emoji":"\u{1F9C1}","aliases":["cupcake"]},{"emoji":"\u{1F498}","aliases":["cupid"]},{"emoji":"\u{1F1E8}\u{1F1FC}","aliases":["curacao"]},{"emoji":"\u{1F94C}","aliases":["curling_stone"]},{"emoji":"\u{1F468}\u200D\u{1F9B1}","aliases":["curly_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B1}","aliases":["curly_haired_woman"]},{"emoji":"\u27B0","aliases":["curly_loop"]},{"emoji":"\u{1F4B1}","aliases":["currency_exchange"]},{"emoji":"\u{1F35B}","aliases":["curry"]},{"emoji":"\u{1F92C}","aliases":["cursing_face"]},{"emoji":"\u{1F36E}","aliases":["custard"]},{"emoji":"\u{1F6C3}","aliases":["customs"]},{"emoji":"\u{1F969}","aliases":["cut_of_meat"]},{"emoji":"\u{1F300}","aliases":["cyclone"]},{"emoji":"\u{1F1E8}\u{1F1FE}","aliases":["cyprus"]},{"emoji":"\u{1F1E8}\u{1F1FF}","aliases":["czech_republic"]},{"emoji":"\u{1F5E1}\uFE0F","aliases":["dagger"]},{"emoji":"\u{1F46F}","aliases":["dancers"]},{"emoji":"\u{1F46F}\u200D\u2642\uFE0F","aliases":["dancing_men"]},{"emoji":"\u{1F46F}\u200D\u2640\uFE0F","aliases":["dancing_women"]},{"emoji":"\u{1F361}","aliases":["dango"]},{"emoji":"\u{1F576}\uFE0F","aliases":["dark_sunglasses"]},{"emoji":"\u{1F3AF}","aliases":["dart"]},{"emoji":"\u{1F4A8}","aliases":["dash"]},{"emoji":"\u{1F4C5}","aliases":["date"]},{"emoji":"\u{1F1E9}\u{1F1EA}","aliases":["de"]},{"emoji":"\u{1F9CF}\u200D\u2642\uFE0F","aliases":["deaf_man"]},{"emoji":"\u{1F9CF}","aliases":["deaf_person"]},{"emoji":"\u{1F9CF}\u200D\u2640\uFE0F","aliases":["deaf_woman"]},{"emoji":"\u{1F333}","aliases":["deciduous_tree"]},{"emoji":"\u{1F98C}","aliases":["deer"]},{"emoji":"\u{1F1E9}\u{1F1F0}","aliases":["denmark"]},{"emoji":"\u{1F3EC}","aliases":["department_store"]},{"emoji":"\u{1F3DA}\uFE0F","aliases":["derelict_house"]},{"emoji":"\u{1F3DC}\uFE0F","aliases":["desert"]},{"emoji":"\u{1F3DD}\uFE0F","aliases":["desert_island"]},{"emoji":"\u{1F5A5}\uFE0F","aliases":["desktop_computer"]},{"emoji":"\u{1F575}\uFE0F","aliases":["detective"]},{"emoji":"\u{1F4A0}","aliases":["diamond_shape_with_a_dot_inside"]},{"emoji":"\u2666\uFE0F","aliases":["diamonds"]},{"emoji":"\u{1F1E9}\u{1F1EC}","aliases":["diego_garcia"]},{"emoji":"\u{1F61E}","aliases":["disappointed"]},{"emoji":"\u{1F625}","aliases":["disappointed_relieved"]},{"emoji":"\u{1F978}","aliases":["disguised_face"]},{"emoji":"\u{1F93F}","aliases":["diving_mask"]},{"emoji":"\u{1FA94}","aliases":["diya_lamp"]},{"emoji":"\u{1F4AB}","aliases":["dizzy"]},{"emoji":"\u{1F635}","aliases":["dizzy_face"]},{"emoji":"\u{1F1E9}\u{1F1EF}","aliases":["djibouti"]},{"emoji":"\u{1F9EC}","aliases":["dna"]},{"emoji":"\u{1F6AF}","aliases":["do_not_litter"]},{"emoji":"\u{1F9A4}","aliases":["dodo"]},{"emoji":"\u{1F436}","aliases":["dog"]},{"emoji":"\u{1F415}","aliases":["dog2"]},{"emoji":"\u{1F4B5}","aliases":["dollar"]},{"emoji":"\u{1F38E}","aliases":["dolls"]},{"emoji":"\u{1F42C}","aliases":["dolphin","flipper"]},{"emoji":"\u{1F1E9}\u{1F1F2}","aliases":["dominica"]},{"emoji":"\u{1F1E9}\u{1F1F4}","aliases":["dominican_republic"]},{"emoji":"\u{1FACF}","aliases":["donkey"]},{"emoji":"\u{1F6AA}","aliases":["door"]},{"emoji":"\u{1FAE5}","aliases":["dotted_line_face"]},{"emoji":"\u{1F369}","aliases":["doughnut"]},{"emoji":"\u{1F54A}\uFE0F","aliases":["dove"]},{"emoji":"\u{1F409}","aliases":["dragon"]},{"emoji":"\u{1F432}","aliases":["dragon_face"]},{"emoji":"\u{1F457}","aliases":["dress"]},{"emoji":"\u{1F42A}","aliases":["dromedary_camel"]},{"emoji":"\u{1F924}","aliases":["drooling_face"]},{"emoji":"\u{1FA78}","aliases":["drop_of_blood"]},{"emoji":"\u{1F4A7}","aliases":["droplet"]},{"emoji":"\u{1F941}","aliases":["drum"]},{"emoji":"\u{1F986}","aliases":["duck"]},{"emoji":"\u{1F95F}","aliases":["dumpling"]},{"emoji":"\u{1F4C0}","aliases":["dvd"]},{"emoji":"\u{1F985}","aliases":["eagle"]},{"emoji":"\u{1F442}","aliases":["ear"]},{"emoji":"\u{1F33E}","aliases":["ear_of_rice"]},{"emoji":"\u{1F9BB}","aliases":["ear_with_hearing_aid"]},{"emoji":"\u{1F30D}","aliases":["earth_africa"]},{"emoji":"\u{1F30E}","aliases":["earth_americas"]},{"emoji":"\u{1F30F}","aliases":["earth_asia"]},{"emoji":"\u{1F1EA}\u{1F1E8}","aliases":["ecuador"]},{"emoji":"\u{1F95A}","aliases":["egg"]},{"emoji":"\u{1F346}","aliases":["eggplant"]},{"emoji":"\u{1F1EA}\u{1F1EC}","aliases":["egypt"]},{"emoji":"8\uFE0F\u20E3","aliases":["eight"]},{"emoji":"\u2734\uFE0F","aliases":["eight_pointed_black_star"]},{"emoji":"\u2733\uFE0F","aliases":["eight_spoked_asterisk"]},{"emoji":"\u23CF\uFE0F","aliases":["eject_button"]},{"emoji":"\u{1F1F8}\u{1F1FB}","aliases":["el_salvador"]},{"emoji":"\u{1F50C}","aliases":["electric_plug"]},{"emoji":"\u{1F418}","aliases":["elephant"]},{"emoji":"\u{1F6D7}","aliases":["elevator"]},{"emoji":"\u{1F9DD}","aliases":["elf"]},{"emoji":"\u{1F9DD}\u200D\u2642\uFE0F","aliases":["elf_man"]},{"emoji":"\u{1F9DD}\u200D\u2640\uFE0F","aliases":["elf_woman"]},{"emoji":"\u{1F4E7}","aliases":["email","e-mail"]},{"emoji":"\u{1FAB9}","aliases":["empty_nest"]},{"emoji":"\u{1F51A}","aliases":["end"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}","aliases":["england"]},{"emoji":"\u2709\uFE0F","aliases":["envelope"]},{"emoji":"\u{1F4E9}","aliases":["envelope_with_arrow"]},{"emoji":"\u{1F1EC}\u{1F1F6}","aliases":["equatorial_guinea"]},{"emoji":"\u{1F1EA}\u{1F1F7}","aliases":["eritrea"]},{"emoji":"\u{1F1EA}\u{1F1F8}","aliases":["es"]},{"emoji":"\u{1F1EA}\u{1F1EA}","aliases":["estonia"]},{"emoji":"\u{1F1EA}\u{1F1F9}","aliases":["ethiopia"]},{"emoji":"\u{1F1EA}\u{1F1FA}","aliases":["eu","european_union"]},{"emoji":"\u{1F4B6}","aliases":["euro"]},{"emoji":"\u{1F3F0}","aliases":["european_castle"]},{"emoji":"\u{1F3E4}","aliases":["european_post_office"]},{"emoji":"\u{1F332}","aliases":["evergreen_tree"]},{"emoji":"\u2757","aliases":["exclamation","heavy_exclamation_mark"]},{"emoji":"\u{1F92F}","aliases":["exploding_head"]},{"emoji":"\u{1F611}","aliases":["expressionless"]},{"emoji":"\u{1F441}\uFE0F","aliases":["eye"]},{"emoji":"\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F","aliases":["eye_speech_bubble"]},{"emoji":"\u{1F453}","aliases":["eyeglasses"]},{"emoji":"\u{1F440}","aliases":["eyes"]},{"emoji":"\u{1F62E}\u200D\u{1F4A8}","aliases":["face_exhaling"]},{"emoji":"\u{1F979}","aliases":["face_holding_back_tears"]},{"emoji":"\u{1F636}\u200D\u{1F32B}\uFE0F","aliases":["face_in_clouds"]},{"emoji":"\u{1FAE4}","aliases":["face_with_diagonal_mouth"]},{"emoji":"\u{1F915}","aliases":["face_with_head_bandage"]},{"emoji":"\u{1FAE2}","aliases":["face_with_open_eyes_and_hand_over_mouth"]},{"emoji":"\u{1FAE3}","aliases":["face_with_peeking_eye"]},{"emoji":"\u{1F635}\u200D\u{1F4AB}","aliases":["face_with_spiral_eyes"]},{"emoji":"\u{1F912}","aliases":["face_with_thermometer"]},{"emoji":"\u{1F926}","aliases":["facepalm"]},{"emoji":"\u{1F3ED}","aliases":["factory"]},{"emoji":"\u{1F9D1}\u200D\u{1F3ED}","aliases":["factory_worker"]},{"emoji":"\u{1F9DA}","aliases":["fairy"]},{"emoji":"\u{1F9DA}\u200D\u2642\uFE0F","aliases":["fairy_man"]},{"emoji":"\u{1F9DA}\u200D\u2640\uFE0F","aliases":["fairy_woman"]},{"emoji":"\u{1F9C6}","aliases":["falafel"]},{"emoji":"\u{1F1EB}\u{1F1F0}","aliases":["falkland_islands"]},{"emoji":"\u{1F342}","aliases":["fallen_leaf"]},{"emoji":"\u{1F46A}","aliases":["family"]},{"emoji":"\u{1F468}\u200D\u{1F466}","aliases":["family_man_boy"]},{"emoji":"\u{1F468}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F467}","aliases":["family_man_girl"]},{"emoji":"\u{1F468}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_girl_girl"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}","aliases":["family_man_man_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_man_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}","aliases":["family_man_man_girl"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_man_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_man_girl_girl"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}","aliases":["family_man_woman_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_woman_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}","aliases":["family_man_woman_girl"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_woman_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_woman_girl_girl"]},{"emoji":"\u{1F469}\u200D\u{1F466}","aliases":["family_woman_boy"]},{"emoji":"\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_woman_boy_boy"]},{"emoji":"\u{1F469}\u200D\u{1F467}","aliases":["family_woman_girl"]},{"emoji":"\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_woman_girl_boy"]},{"emoji":"\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_woman_girl_girl"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}","aliases":["family_woman_woman_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_woman_woman_boy_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}","aliases":["family_woman_woman_girl"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_woman_woman_girl_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_woman_woman_girl_girl"]},{"emoji":"\u{1F9D1}\u200D\u{1F33E}","aliases":["farmer"]},{"emoji":"\u{1F1EB}\u{1F1F4}","aliases":["faroe_islands"]},{"emoji":"\u23E9","aliases":["fast_forward"]},{"emoji":"\u{1F4E0}","aliases":["fax"]},{"emoji":"\u{1F628}","aliases":["fearful"]},{"emoji":"\u{1FAB6}","aliases":["feather"]},{"emoji":"\u{1F43E}","aliases":["feet","paw_prints"]},{"emoji":"\u{1F575}\uFE0F\u200D\u2640\uFE0F","aliases":["female_detective"]},{"emoji":"\u2640\uFE0F","aliases":["female_sign"]},{"emoji":"\u{1F3A1}","aliases":["ferris_wheel"]},{"emoji":"\u26F4\uFE0F","aliases":["ferry"]},{"emoji":"\u{1F3D1}","aliases":["field_hockey"]},{"emoji":"\u{1F1EB}\u{1F1EF}","aliases":["fiji"]},{"emoji":"\u{1F5C4}\uFE0F","aliases":["file_cabinet"]},{"emoji":"\u{1F4C1}","aliases":["file_folder"]},{"emoji":"\u{1F4FD}\uFE0F","aliases":["film_projector"]},{"emoji":"\u{1F39E}\uFE0F","aliases":["film_strip"]},{"emoji":"\u{1F1EB}\u{1F1EE}","aliases":["finland"]},{"emoji":"\u{1F525}","aliases":["fire"]},{"emoji":"\u{1F692}","aliases":["fire_engine"]},{"emoji":"\u{1F9EF}","aliases":["fire_extinguisher"]},{"emoji":"\u{1F9E8}","aliases":["firecracker"]},{"emoji":"\u{1F9D1}\u200D\u{1F692}","aliases":["firefighter"]},{"emoji":"\u{1F386}","aliases":["fireworks"]},{"emoji":"\u{1F313}","aliases":["first_quarter_moon"]},{"emoji":"\u{1F31B}","aliases":["first_quarter_moon_with_face"]},{"emoji":"\u{1F41F}","aliases":["fish"]},{"emoji":"\u{1F365}","aliases":["fish_cake"]},{"emoji":"\u{1F3A3}","aliases":["fishing_pole_and_fish"]},{"emoji":"\u{1F91B}","aliases":["fist_left"]},{"emoji":"\u{1F44A}","aliases":["fist_oncoming","facepunch","punch"]},{"emoji":"\u270A","aliases":["fist_raised","fist"]},{"emoji":"\u{1F91C}","aliases":["fist_right"]},{"emoji":"5\uFE0F\u20E3","aliases":["five"]},{"emoji":"\u{1F38F}","aliases":["flags"]},{"emoji":"\u{1F9A9}","aliases":["flamingo"]},{"emoji":"\u{1F526}","aliases":["flashlight"]},{"emoji":"\u{1F97F}","aliases":["flat_shoe"]},{"emoji":"\u{1FAD3}","aliases":["flatbread"]},{"emoji":"\u269C\uFE0F","aliases":["fleur_de_lis"]},{"emoji":"\u{1F6EC}","aliases":["flight_arrival"]},{"emoji":"\u{1F6EB}","aliases":["flight_departure"]},{"emoji":"\u{1F4BE}","aliases":["floppy_disk"]},{"emoji":"\u{1F3B4}","aliases":["flower_playing_cards"]},{"emoji":"\u{1F633}","aliases":["flushed"]},{"emoji":"\u{1FA88}","aliases":["flute"]},{"emoji":"\u{1FAB0}","aliases":["fly"]},{"emoji":"\u{1F94F}","aliases":["flying_disc"]},{"emoji":"\u{1F6F8}","aliases":["flying_saucer"]},{"emoji":"\u{1F32B}\uFE0F","aliases":["fog"]},{"emoji":"\u{1F301}","aliases":["foggy"]},{"emoji":"\u{1FAAD}","aliases":["folding_hand_fan"]},{"emoji":"\u{1FAD5}","aliases":["fondue"]},{"emoji":"\u{1F9B6}","aliases":["foot"]},{"emoji":"\u{1F3C8}","aliases":["football"]},{"emoji":"\u{1F463}","aliases":["footprints"]},{"emoji":"\u{1F374}","aliases":["fork_and_knife"]},{"emoji":"\u{1F960}","aliases":["fortune_cookie"]},{"emoji":"\u26F2","aliases":["fountain"]},{"emoji":"\u{1F58B}\uFE0F","aliases":["fountain_pen"]},{"emoji":"4\uFE0F\u20E3","aliases":["four"]},{"emoji":"\u{1F340}","aliases":["four_leaf_clover"]},{"emoji":"\u{1F98A}","aliases":["fox_face"]},{"emoji":"\u{1F1EB}\u{1F1F7}","aliases":["fr"]},{"emoji":"\u{1F5BC}\uFE0F","aliases":["framed_picture"]},{"emoji":"\u{1F193}","aliases":["free"]},{"emoji":"\u{1F1EC}\u{1F1EB}","aliases":["french_guiana"]},{"emoji":"\u{1F1F5}\u{1F1EB}","aliases":["french_polynesia"]},{"emoji":"\u{1F1F9}\u{1F1EB}","aliases":["french_southern_territories"]},{"emoji":"\u{1F373}","aliases":["fried_egg"]},{"emoji":"\u{1F364}","aliases":["fried_shrimp"]},{"emoji":"\u{1F35F}","aliases":["fries"]},{"emoji":"\u{1F438}","aliases":["frog"]},{"emoji":"\u{1F626}","aliases":["frowning"]},{"emoji":"\u2639\uFE0F","aliases":["frowning_face"]},{"emoji":"\u{1F64D}\u200D\u2642\uFE0F","aliases":["frowning_man"]},{"emoji":"\u{1F64D}","aliases":["frowning_person"]},{"emoji":"\u{1F64D}\u200D\u2640\uFE0F","aliases":["frowning_woman"]},{"emoji":"\u26FD","aliases":["fuelpump"]},{"emoji":"\u{1F315}","aliases":["full_moon"]},{"emoji":"\u{1F31D}","aliases":["full_moon_with_face"]},{"emoji":"\u26B1\uFE0F","aliases":["funeral_urn"]},{"emoji":"\u{1F1EC}\u{1F1E6}","aliases":["gabon"]},{"emoji":"\u{1F1EC}\u{1F1F2}","aliases":["gambia"]},{"emoji":"\u{1F3B2}","aliases":["game_die"]},{"emoji":"\u{1F9C4}","aliases":["garlic"]},{"emoji":"\u{1F1EC}\u{1F1E7}","aliases":["gb","uk"]},{"emoji":"\u2699\uFE0F","aliases":["gear"]},{"emoji":"\u{1F48E}","aliases":["gem"]},{"emoji":"\u264A","aliases":["gemini"]},{"emoji":"\u{1F9DE}","aliases":["genie"]},{"emoji":"\u{1F9DE}\u200D\u2642\uFE0F","aliases":["genie_man"]},{"emoji":"\u{1F9DE}\u200D\u2640\uFE0F","aliases":["genie_woman"]},{"emoji":"\u{1F1EC}\u{1F1EA}","aliases":["georgia"]},{"emoji":"\u{1F1EC}\u{1F1ED}","aliases":["ghana"]},{"emoji":"\u{1F47B}","aliases":["ghost"]},{"emoji":"\u{1F1EC}\u{1F1EE}","aliases":["gibraltar"]},{"emoji":"\u{1F381}","aliases":["gift"]},{"emoji":"\u{1F49D}","aliases":["gift_heart"]},{"emoji":"\u{1FADA}","aliases":["ginger_root"]},{"emoji":"\u{1F992}","aliases":["giraffe"]},{"emoji":"\u{1F467}","aliases":["girl"]},{"emoji":"\u{1F310}","aliases":["globe_with_meridians"]},{"emoji":"\u{1F9E4}","aliases":["gloves"]},{"emoji":"\u{1F945}","aliases":["goal_net"]},{"emoji":"\u{1F410}","aliases":["goat"]},{"emoji":"\u{1F97D}","aliases":["goggles"]},{"emoji":"\u26F3","aliases":["golf"]},{"emoji":"\u{1F3CC}\uFE0F","aliases":["golfing"]},{"emoji":"\u{1F3CC}\uFE0F\u200D\u2642\uFE0F","aliases":["golfing_man"]},{"emoji":"\u{1F3CC}\uFE0F\u200D\u2640\uFE0F","aliases":["golfing_woman"]},{"emoji":"\u{1FABF}","aliases":["goose"]},{"emoji":"\u{1F98D}","aliases":["gorilla"]},{"emoji":"\u{1F347}","aliases":["grapes"]},{"emoji":"\u{1F1EC}\u{1F1F7}","aliases":["greece"]},{"emoji":"\u{1F34F}","aliases":["green_apple"]},{"emoji":"\u{1F4D7}","aliases":["green_book"]},{"emoji":"\u{1F7E2}","aliases":["green_circle"]},{"emoji":"\u{1F49A}","aliases":["green_heart"]},{"emoji":"\u{1F957}","aliases":["green_salad"]},{"emoji":"\u{1F7E9}","aliases":["green_square"]},{"emoji":"\u{1F1EC}\u{1F1F1}","aliases":["greenland"]},{"emoji":"\u{1F1EC}\u{1F1E9}","aliases":["grenada"]},{"emoji":"\u2755","aliases":["grey_exclamation"]},{"emoji":"\u{1FA76}","aliases":["grey_heart"]},{"emoji":"\u2754","aliases":["grey_question"]},{"emoji":"\u{1F62C}","aliases":["grimacing"]},{"emoji":"\u{1F601}","aliases":["grin"]},{"emoji":"\u{1F600}","aliases":["grinning"]},{"emoji":"\u{1F1EC}\u{1F1F5}","aliases":["guadeloupe"]},{"emoji":"\u{1F1EC}\u{1F1FA}","aliases":["guam"]},{"emoji":"\u{1F482}","aliases":["guard"]},{"emoji":"\u{1F482}\u200D\u2642\uFE0F","aliases":["guardsman"]},{"emoji":"\u{1F482}\u200D\u2640\uFE0F","aliases":["guardswoman"]},{"emoji":"\u{1F1EC}\u{1F1F9}","aliases":["guatemala"]},{"emoji":"\u{1F1EC}\u{1F1EC}","aliases":["guernsey"]},{"emoji":"\u{1F9AE}","aliases":["guide_dog"]},{"emoji":"\u{1F1EC}\u{1F1F3}","aliases":["guinea"]},{"emoji":"\u{1F1EC}\u{1F1FC}","aliases":["guinea_bissau"]},{"emoji":"\u{1F3B8}","aliases":["guitar"]},{"emoji":"\u{1F52B}","aliases":["gun"]},{"emoji":"\u{1F1EC}\u{1F1FE}","aliases":["guyana"]},{"emoji":"\u{1FAAE}","aliases":["hair_pick"]},{"emoji":"\u{1F487}","aliases":["haircut"]},{"emoji":"\u{1F487}\u200D\u2642\uFE0F","aliases":["haircut_man"]},{"emoji":"\u{1F487}\u200D\u2640\uFE0F","aliases":["haircut_woman"]},{"emoji":"\u{1F1ED}\u{1F1F9}","aliases":["haiti"]},{"emoji":"\u{1F354}","aliases":["hamburger"]},{"emoji":"\u{1F528}","aliases":["hammer"]},{"emoji":"\u2692\uFE0F","aliases":["hammer_and_pick"]},{"emoji":"\u{1F6E0}\uFE0F","aliases":["hammer_and_wrench"]},{"emoji":"\u{1FAAC}","aliases":["hamsa"]},{"emoji":"\u{1F439}","aliases":["hamster"]},{"emoji":"\u270B","aliases":["hand","raised_hand"]},{"emoji":"\u{1F92D}","aliases":["hand_over_mouth"]},{"emoji":"\u{1FAF0}","aliases":["hand_with_index_finger_and_thumb_crossed"]},{"emoji":"\u{1F45C}","aliases":["handbag"]},{"emoji":"\u{1F93E}","aliases":["handball_person"]},{"emoji":"\u{1F91D}","aliases":["handshake"]},{"emoji":"\u{1F4A9}","aliases":["hankey","poop","shit"]},{"emoji":"#\uFE0F\u20E3","aliases":["hash"]},{"emoji":"\u{1F425}","aliases":["hatched_chick"]},{"emoji":"\u{1F423}","aliases":["hatching_chick"]},{"emoji":"\u{1F3A7}","aliases":["headphones"]},{"emoji":"\u{1FAA6}","aliases":["headstone"]},{"emoji":"\u{1F9D1}\u200D\u2695\uFE0F","aliases":["health_worker"]},{"emoji":"\u{1F649}","aliases":["hear_no_evil"]},{"emoji":"\u{1F1ED}\u{1F1F2}","aliases":["heard_mcdonald_islands"]},{"emoji":"\u2764\uFE0F","aliases":["heart"]},{"emoji":"\u{1F49F}","aliases":["heart_decoration"]},{"emoji":"\u{1F60D}","aliases":["heart_eyes"]},{"emoji":"\u{1F63B}","aliases":["heart_eyes_cat"]},{"emoji":"\u{1FAF6}","aliases":["heart_hands"]},{"emoji":"\u2764\uFE0F\u200D\u{1F525}","aliases":["heart_on_fire"]},{"emoji":"\u{1F493}","aliases":["heartbeat"]},{"emoji":"\u{1F497}","aliases":["heartpulse"]},{"emoji":"\u2665\uFE0F","aliases":["hearts"]},{"emoji":"\u2714\uFE0F","aliases":["heavy_check_mark"]},{"emoji":"\u2797","aliases":["heavy_division_sign"]},{"emoji":"\u{1F4B2}","aliases":["heavy_dollar_sign"]},{"emoji":"\u{1F7F0}","aliases":["heavy_equals_sign"]},{"emoji":"\u2763\uFE0F","aliases":["heavy_heart_exclamation"]},{"emoji":"\u2796","aliases":["heavy_minus_sign"]},{"emoji":"\u2716\uFE0F","aliases":["heavy_multiplication_x"]},{"emoji":"\u2795","aliases":["heavy_plus_sign"]},{"emoji":"\u{1F994}","aliases":["hedgehog"]},{"emoji":"\u{1F681}","aliases":["helicopter"]},{"emoji":"\u{1F33F}","aliases":["herb"]},{"emoji":"\u{1F33A}","aliases":["hibiscus"]},{"emoji":"\u{1F506}","aliases":["high_brightness"]},{"emoji":"\u{1F460}","aliases":["high_heel"]},{"emoji":"\u{1F97E}","aliases":["hiking_boot"]},{"emoji":"\u{1F6D5}","aliases":["hindu_temple"]},{"emoji":"\u{1F99B}","aliases":["hippopotamus"]},{"emoji":"\u{1F52A}","aliases":["hocho","knife"]},{"emoji":"\u{1F573}\uFE0F","aliases":["hole"]},{"emoji":"\u{1F1ED}\u{1F1F3}","aliases":["honduras"]},{"emoji":"\u{1F36F}","aliases":["honey_pot"]},{"emoji":"\u{1F1ED}\u{1F1F0}","aliases":["hong_kong"]},{"emoji":"\u{1FA9D}","aliases":["hook"]},{"emoji":"\u{1F434}","aliases":["horse"]},{"emoji":"\u{1F3C7}","aliases":["horse_racing"]},{"emoji":"\u{1F3E5}","aliases":["hospital"]},{"emoji":"\u{1F975}","aliases":["hot_face"]},{"emoji":"\u{1F336}\uFE0F","aliases":["hot_pepper"]},{"emoji":"\u{1F32D}","aliases":["hotdog"]},{"emoji":"\u{1F3E8}","aliases":["hotel"]},{"emoji":"\u2668\uFE0F","aliases":["hotsprings"]},{"emoji":"\u231B","aliases":["hourglass"]},{"emoji":"\u23F3","aliases":["hourglass_flowing_sand"]},{"emoji":"\u{1F3E0}","aliases":["house"]},{"emoji":"\u{1F3E1}","aliases":["house_with_garden"]},{"emoji":"\u{1F3D8}\uFE0F","aliases":["houses"]},{"emoji":"\u{1F917}","aliases":["hugs"]},{"emoji":"\u{1F1ED}\u{1F1FA}","aliases":["hungary"]},{"emoji":"\u{1F62F}","aliases":["hushed"]},{"emoji":"\u{1F6D6}","aliases":["hut"]},{"emoji":"\u{1FABB}","aliases":["hyacinth"]},{"emoji":"\u{1F368}","aliases":["ice_cream"]},{"emoji":"\u{1F9CA}","aliases":["ice_cube"]},{"emoji":"\u{1F3D2}","aliases":["ice_hockey"]},{"emoji":"\u26F8\uFE0F","aliases":["ice_skate"]},{"emoji":"\u{1F366}","aliases":["icecream"]},{"emoji":"\u{1F1EE}\u{1F1F8}","aliases":["iceland"]},{"emoji":"\u{1F194}","aliases":["id"]},{"emoji":"\u{1FAAA}","aliases":["identification_card"]},{"emoji":"\u{1F250}","aliases":["ideograph_advantage"]},{"emoji":"\u{1F47F}","aliases":["imp"]},{"emoji":"\u{1F4E5}","aliases":["inbox_tray"]},{"emoji":"\u{1F4E8}","aliases":["incoming_envelope"]},{"emoji":"\u{1FAF5}","aliases":["index_pointing_at_the_viewer"]},{"emoji":"\u{1F1EE}\u{1F1F3}","aliases":["india"]},{"emoji":"\u{1F1EE}\u{1F1E9}","aliases":["indonesia"]},{"emoji":"\u267E\uFE0F","aliases":["infinity"]},{"emoji":"\u2139\uFE0F","aliases":["information_source"]},{"emoji":"\u{1F607}","aliases":["innocent"]},{"emoji":"\u2049\uFE0F","aliases":["interrobang"]},{"emoji":"\u{1F4F1}","aliases":["iphone"]},{"emoji":"\u{1F1EE}\u{1F1F7}","aliases":["iran"]},{"emoji":"\u{1F1EE}\u{1F1F6}","aliases":["iraq"]},{"emoji":"\u{1F1EE}\u{1F1EA}","aliases":["ireland"]},{"emoji":"\u{1F1EE}\u{1F1F2}","aliases":["isle_of_man"]},{"emoji":"\u{1F1EE}\u{1F1F1}","aliases":["israel"]},{"emoji":"\u{1F1EE}\u{1F1F9}","aliases":["it"]},{"emoji":"\u{1F3EE}","aliases":["izakaya_lantern","lantern"]},{"emoji":"\u{1F383}","aliases":["jack_o_lantern"]},{"emoji":"\u{1F1EF}\u{1F1F2}","aliases":["jamaica"]},{"emoji":"\u{1F5FE}","aliases":["japan"]},{"emoji":"\u{1F3EF}","aliases":["japanese_castle"]},{"emoji":"\u{1F47A}","aliases":["japanese_goblin"]},{"emoji":"\u{1F479}","aliases":["japanese_ogre"]},{"emoji":"\u{1FAD9}","aliases":["jar"]},{"emoji":"\u{1F456}","aliases":["jeans"]},{"emoji":"\u{1FABC}","aliases":["jellyfish"]},{"emoji":"\u{1F1EF}\u{1F1EA}","aliases":["jersey"]},{"emoji":"\u{1F9E9}","aliases":["jigsaw"]},{"emoji":"\u{1F1EF}\u{1F1F4}","aliases":["jordan"]},{"emoji":"\u{1F602}","aliases":["joy"]},{"emoji":"\u{1F639}","aliases":["joy_cat"]},{"emoji":"\u{1F579}\uFE0F","aliases":["joystick"]},{"emoji":"\u{1F1EF}\u{1F1F5}","aliases":["jp"]},{"emoji":"\u{1F9D1}\u200D\u2696\uFE0F","aliases":["judge"]},{"emoji":"\u{1F939}","aliases":["juggling_person"]},{"emoji":"\u{1F54B}","aliases":["kaaba"]},{"emoji":"\u{1F998}","aliases":["kangaroo"]},{"emoji":"\u{1F1F0}\u{1F1FF}","aliases":["kazakhstan"]},{"emoji":"\u{1F1F0}\u{1F1EA}","aliases":["kenya"]},{"emoji":"\u{1F511}","aliases":["key"]},{"emoji":"\u2328\uFE0F","aliases":["keyboard"]},{"emoji":"\u{1F51F}","aliases":["keycap_ten"]},{"emoji":"\u{1FAAF}","aliases":["khanda"]},{"emoji":"\u{1F6F4}","aliases":["kick_scooter"]},{"emoji":"\u{1F458}","aliases":["kimono"]},{"emoji":"\u{1F1F0}\u{1F1EE}","aliases":["kiribati"]},{"emoji":"\u{1F48B}","aliases":["kiss"]},{"emoji":"\u{1F617}","aliases":["kissing"]},{"emoji":"\u{1F63D}","aliases":["kissing_cat"]},{"emoji":"\u{1F61A}","aliases":["kissing_closed_eyes"]},{"emoji":"\u{1F618}","aliases":["kissing_heart"]},{"emoji":"\u{1F619}","aliases":["kissing_smiling_eyes"]},{"emoji":"\u{1FA81}","aliases":["kite"]},{"emoji":"\u{1F95D}","aliases":["kiwi_fruit"]},{"emoji":"\u{1F9CE}\u200D\u2642\uFE0F","aliases":["kneeling_man"]},{"emoji":"\u{1F9CE}","aliases":["kneeling_person"]},{"emoji":"\u{1F9CE}\u200D\u2640\uFE0F","aliases":["kneeling_woman"]},{"emoji":"\u{1FAA2}","aliases":["knot"]},{"emoji":"\u{1F428}","aliases":["koala"]},{"emoji":"\u{1F201}","aliases":["koko"]},{"emoji":"\u{1F1FD}\u{1F1F0}","aliases":["kosovo"]},{"emoji":"\u{1F1F0}\u{1F1F7}","aliases":["kr"]},{"emoji":"\u{1F1F0}\u{1F1FC}","aliases":["kuwait"]},{"emoji":"\u{1F1F0}\u{1F1EC}","aliases":["kyrgyzstan"]},{"emoji":"\u{1F97C}","aliases":["lab_coat"]},{"emoji":"\u{1F3F7}\uFE0F","aliases":["label"]},{"emoji":"\u{1F94D}","aliases":["lacrosse"]},{"emoji":"\u{1FA9C}","aliases":["ladder"]},{"emoji":"\u{1F41E}","aliases":["lady_beetle"]},{"emoji":"\u{1F1F1}\u{1F1E6}","aliases":["laos"]},{"emoji":"\u{1F535}","aliases":["large_blue_circle"]},{"emoji":"\u{1F537}","aliases":["large_blue_diamond"]},{"emoji":"\u{1F536}","aliases":["large_orange_diamond"]},{"emoji":"\u{1F317}","aliases":["last_quarter_moon"]},{"emoji":"\u{1F31C}","aliases":["last_quarter_moon_with_face"]},{"emoji":"\u271D\uFE0F","aliases":["latin_cross"]},{"emoji":"\u{1F1F1}\u{1F1FB}","aliases":["latvia"]},{"emoji":"\u{1F606}","aliases":["laughing","satisfied","laugh"]},{"emoji":"\u{1F96C}","aliases":["leafy_green"]},{"emoji":"\u{1F343}","aliases":["leaves"]},{"emoji":"\u{1F1F1}\u{1F1E7}","aliases":["lebanon"]},{"emoji":"\u{1F4D2}","aliases":["ledger"]},{"emoji":"\u{1F6C5}","aliases":["left_luggage"]},{"emoji":"\u2194\uFE0F","aliases":["left_right_arrow"]},{"emoji":"\u{1F5E8}\uFE0F","aliases":["left_speech_bubble"]},{"emoji":"\u21A9\uFE0F","aliases":["leftwards_arrow_with_hook"]},{"emoji":"\u{1FAF2}","aliases":["leftwards_hand"]},{"emoji":"\u{1FAF7}","aliases":["leftwards_pushing_hand"]},{"emoji":"\u{1F9B5}","aliases":["leg"]},{"emoji":"\u{1F34B}","aliases":["lemon"]},{"emoji":"\u264C","aliases":["leo"]},{"emoji":"\u{1F406}","aliases":["leopard"]},{"emoji":"\u{1F1F1}\u{1F1F8}","aliases":["lesotho"]},{"emoji":"\u{1F39A}\uFE0F","aliases":["level_slider"]},{"emoji":"\u{1F1F1}\u{1F1F7}","aliases":["liberia"]},{"emoji":"\u264E","aliases":["libra"]},{"emoji":"\u{1F1F1}\u{1F1FE}","aliases":["libya"]},{"emoji":"\u{1F1F1}\u{1F1EE}","aliases":["liechtenstein"]},{"emoji":"\u{1FA75}","aliases":["light_blue_heart"]},{"emoji":"\u{1F688}","aliases":["light_rail"]},{"emoji":"\u{1F517}","aliases":["link"]},{"emoji":"\u{1F981}","aliases":["lion"]},{"emoji":"\u{1F444}","aliases":["lips"]},{"emoji":"\u{1F484}","aliases":["lipstick"]},{"emoji":"\u{1F1F1}\u{1F1F9}","aliases":["lithuania"]},{"emoji":"\u{1F98E}","aliases":["lizard"]},{"emoji":"\u{1F999}","aliases":["llama"]},{"emoji":"\u{1F99E}","aliases":["lobster"]},{"emoji":"\u{1F512}","aliases":["lock"]},{"emoji":"\u{1F50F}","aliases":["lock_with_ink_pen"]},{"emoji":"\u{1F36D}","aliases":["lollipop"]},{"emoji":"\u{1FA98}","aliases":["long_drum"]},{"emoji":"\u27BF","aliases":["loop"]},{"emoji":"\u{1F9F4}","aliases":["lotion_bottle"]},{"emoji":"\u{1FAB7}","aliases":["lotus"]},{"emoji":"\u{1F9D8}","aliases":["lotus_position"]},{"emoji":"\u{1F9D8}\u200D\u2642\uFE0F","aliases":["lotus_position_man"]},{"emoji":"\u{1F9D8}\u200D\u2640\uFE0F","aliases":["lotus_position_woman"]},{"emoji":"\u{1F50A}","aliases":["loud_sound"]},{"emoji":"\u{1F4E2}","aliases":["loudspeaker"]},{"emoji":"\u{1F3E9}","aliases":["love_hotel"]},{"emoji":"\u{1F48C}","aliases":["love_letter"]},{"emoji":"\u{1F91F}","aliases":["love_you_gesture"]},{"emoji":"\u{1FAAB}","aliases":["low_battery"]},{"emoji":"\u{1F505}","aliases":["low_brightness"]},{"emoji":"\u{1F9F3}","aliases":["luggage"]},{"emoji":"\u{1FAC1}","aliases":["lungs"]},{"emoji":"\u{1F1F1}\u{1F1FA}","aliases":["luxembourg"]},{"emoji":"\u{1F925}","aliases":["lying_face"]},{"emoji":"\u24C2\uFE0F","aliases":["m"]},{"emoji":"\u{1F1F2}\u{1F1F4}","aliases":["macau"]},{"emoji":"\u{1F1F2}\u{1F1F0}","aliases":["macedonia"]},{"emoji":"\u{1F1F2}\u{1F1EC}","aliases":["madagascar"]},{"emoji":"\u{1F50D}","aliases":["mag"]},{"emoji":"\u{1F50E}","aliases":["mag_right"]},{"emoji":"\u{1F9D9}","aliases":["mage"]},{"emoji":"\u{1F9D9}\u200D\u2642\uFE0F","aliases":["mage_man"]},{"emoji":"\u{1F9D9}\u200D\u2640\uFE0F","aliases":["mage_woman"]},{"emoji":"\u{1FA84}","aliases":["magic_wand"]},{"emoji":"\u{1F9F2}","aliases":["magnet"]},{"emoji":"\u{1F004}","aliases":["mahjong"]},{"emoji":"\u{1F4EB}","aliases":["mailbox"]},{"emoji":"\u{1F4EA}","aliases":["mailbox_closed"]},{"emoji":"\u{1F4EC}","aliases":["mailbox_with_mail"]},{"emoji":"\u{1F4ED}","aliases":["mailbox_with_no_mail"]},{"emoji":"\u{1F1F2}\u{1F1FC}","aliases":["malawi"]},{"emoji":"\u{1F1F2}\u{1F1FE}","aliases":["malaysia"]},{"emoji":"\u{1F1F2}\u{1F1FB}","aliases":["maldives"]},{"emoji":"\u{1F575}\uFE0F\u200D\u2642\uFE0F","aliases":["male_detective"]},{"emoji":"\u2642\uFE0F","aliases":["male_sign"]},{"emoji":"\u{1F1F2}\u{1F1F1}","aliases":["mali"]},{"emoji":"\u{1F1F2}\u{1F1F9}","aliases":["malta"]},{"emoji":"\u{1F9A3}","aliases":["mammoth"]},{"emoji":"\u{1F468}","aliases":["man"]},{"emoji":"\u{1F468}\u200D\u{1F3A8}","aliases":["man_artist"]},{"emoji":"\u{1F468}\u200D\u{1F680}","aliases":["man_astronaut"]},{"emoji":"\u{1F9D4}\u200D\u2642\uFE0F","aliases":["man_beard"]},{"emoji":"\u{1F938}\u200D\u2642\uFE0F","aliases":["man_cartwheeling"]},{"emoji":"\u{1F468}\u200D\u{1F373}","aliases":["man_cook"]},{"emoji":"\u{1F57A}","aliases":["man_dancing"]},{"emoji":"\u{1F926}\u200D\u2642\uFE0F","aliases":["man_facepalming"]},{"emoji":"\u{1F468}\u200D\u{1F3ED}","aliases":["man_factory_worker"]},{"emoji":"\u{1F468}\u200D\u{1F33E}","aliases":["man_farmer"]},{"emoji":"\u{1F468}\u200D\u{1F37C}","aliases":["man_feeding_baby"]},{"emoji":"\u{1F468}\u200D\u{1F692}","aliases":["man_firefighter"]},{"emoji":"\u{1F468}\u200D\u2695\uFE0F","aliases":["man_health_worker"]},{"emoji":"\u{1F468}\u200D\u{1F9BD}","aliases":["man_in_manual_wheelchair"]},{"emoji":"\u{1F468}\u200D\u{1F9BC}","aliases":["man_in_motorized_wheelchair"]},{"emoji":"\u{1F935}\u200D\u2642\uFE0F","aliases":["man_in_tuxedo"]},{"emoji":"\u{1F468}\u200D\u2696\uFE0F","aliases":["man_judge"]},{"emoji":"\u{1F939}\u200D\u2642\uFE0F","aliases":["man_juggling"]},{"emoji":"\u{1F468}\u200D\u{1F527}","aliases":["man_mechanic"]},{"emoji":"\u{1F468}\u200D\u{1F4BC}","aliases":["man_office_worker"]},{"emoji":"\u{1F468}\u200D\u2708\uFE0F","aliases":["man_pilot"]},{"emoji":"\u{1F93E}\u200D\u2642\uFE0F","aliases":["man_playing_handball"]},{"emoji":"\u{1F93D}\u200D\u2642\uFE0F","aliases":["man_playing_water_polo"]},{"emoji":"\u{1F468}\u200D\u{1F52C}","aliases":["man_scientist"]},{"emoji":"\u{1F937}\u200D\u2642\uFE0F","aliases":["man_shrugging"]},{"emoji":"\u{1F468}\u200D\u{1F3A4}","aliases":["man_singer"]},{"emoji":"\u{1F468}\u200D\u{1F393}","aliases":["man_student"]},{"emoji":"\u{1F468}\u200D\u{1F3EB}","aliases":["man_teacher"]},{"emoji":"\u{1F468}\u200D\u{1F4BB}","aliases":["man_technologist"]},{"emoji":"\u{1F472}","aliases":["man_with_gua_pi_mao"]},{"emoji":"\u{1F468}\u200D\u{1F9AF}","aliases":["man_with_probing_cane"]},{"emoji":"\u{1F473}\u200D\u2642\uFE0F","aliases":["man_with_turban"]},{"emoji":"\u{1F470}\u200D\u2642\uFE0F","aliases":["man_with_veil"]},{"emoji":"\u{1F96D}","aliases":["mango"]},{"emoji":"\u{1F45E}","aliases":["mans_shoe","shoe"]},{"emoji":"\u{1F570}\uFE0F","aliases":["mantelpiece_clock"]},{"emoji":"\u{1F9BD}","aliases":["manual_wheelchair"]},{"emoji":"\u{1F341}","aliases":["maple_leaf"]},{"emoji":"\u{1FA87}","aliases":["maracas"]},{"emoji":"\u{1F1F2}\u{1F1ED}","aliases":["marshall_islands"]},{"emoji":"\u{1F94B}","aliases":["martial_arts_uniform"]},{"emoji":"\u{1F1F2}\u{1F1F6}","aliases":["martinique"]},{"emoji":"\u{1F637}","aliases":["mask"]},{"emoji":"\u{1F486}","aliases":["massage"]},{"emoji":"\u{1F486}\u200D\u2642\uFE0F","aliases":["massage_man"]},{"emoji":"\u{1F486}\u200D\u2640\uFE0F","aliases":["massage_woman"]},{"emoji":"\u{1F9C9}","aliases":["mate"]},{"emoji":"\u{1F1F2}\u{1F1F7}","aliases":["mauritania"]},{"emoji":"\u{1F1F2}\u{1F1FA}","aliases":["mauritius"]},{"emoji":"\u{1F1FE}\u{1F1F9}","aliases":["mayotte"]},{"emoji":"\u{1F356}","aliases":["meat_on_bone"]},{"emoji":"\u{1F9D1}\u200D\u{1F527}","aliases":["mechanic"]},{"emoji":"\u{1F9BE}","aliases":["mechanical_arm"]},{"emoji":"\u{1F9BF}","aliases":["mechanical_leg"]},{"emoji":"\u{1F396}\uFE0F","aliases":["medal_military"]},{"emoji":"\u{1F3C5}","aliases":["medal_sports"]},{"emoji":"\u2695\uFE0F","aliases":["medical_symbol"]},{"emoji":"\u{1F4E3}","aliases":["mega"]},{"emoji":"\u{1F348}","aliases":["melon"]},{"emoji":"\u{1FAE0}","aliases":["melting_face"]},{"emoji":"\u{1F4DD}","aliases":["memo","pencil"]},{"emoji":"\u{1F93C}\u200D\u2642\uFE0F","aliases":["men_wrestling"]},{"emoji":"\u2764\uFE0F\u200D\u{1FA79}","aliases":["mending_heart"]},{"emoji":"\u{1F54E}","aliases":["menorah"]},{"emoji":"\u{1F6B9}","aliases":["mens"]},{"emoji":"\u{1F9DC}\u200D\u2640\uFE0F","aliases":["mermaid"]},{"emoji":"\u{1F9DC}\u200D\u2642\uFE0F","aliases":["merman"]},{"emoji":"\u{1F9DC}","aliases":["merperson"]},{"emoji":"\u{1F918}","aliases":["metal"]},{"emoji":"\u{1F687}","aliases":["metro"]},{"emoji":"\u{1F1F2}\u{1F1FD}","aliases":["mexico"]},{"emoji":"\u{1F9A0}","aliases":["microbe"]},{"emoji":"\u{1F1EB}\u{1F1F2}","aliases":["micronesia"]},{"emoji":"\u{1F3A4}","aliases":["microphone"]},{"emoji":"\u{1F52C}","aliases":["microscope"]},{"emoji":"\u{1F595}","aliases":["middle_finger","fu"]},{"emoji":"\u{1FA96}","aliases":["military_helmet"]},{"emoji":"\u{1F95B}","aliases":["milk_glass"]},{"emoji":"\u{1F30C}","aliases":["milky_way"]},{"emoji":"\u{1F690}","aliases":["minibus"]},{"emoji":"\u{1F4BD}","aliases":["minidisc"]},{"emoji":"\u{1FA9E}","aliases":["mirror"]},{"emoji":"\u{1FAA9}","aliases":["mirror_ball"]},{"emoji":"\u{1F4F4}","aliases":["mobile_phone_off"]},{"emoji":"\u{1F1F2}\u{1F1E9}","aliases":["moldova"]},{"emoji":"\u{1F1F2}\u{1F1E8}","aliases":["monaco"]},{"emoji":"\u{1F911}","aliases":["money_mouth_face"]},{"emoji":"\u{1F4B8}","aliases":["money_with_wings"]},{"emoji":"\u{1F4B0}","aliases":["moneybag"]},{"emoji":"\u{1F1F2}\u{1F1F3}","aliases":["mongolia"]},{"emoji":"\u{1F412}","aliases":["monkey"]},{"emoji":"\u{1F435}","aliases":["monkey_face"]},{"emoji":"\u{1F9D0}","aliases":["monocle_face"]},{"emoji":"\u{1F69D}","aliases":["monorail"]},{"emoji":"\u{1F1F2}\u{1F1EA}","aliases":["montenegro"]},{"emoji":"\u{1F1F2}\u{1F1F8}","aliases":["montserrat"]},{"emoji":"\u{1F314}","aliases":["moon","waxing_gibbous_moon"]},{"emoji":"\u{1F96E}","aliases":["moon_cake"]},{"emoji":"\u{1FACE}","aliases":["moose"]},{"emoji":"\u{1F1F2}\u{1F1E6}","aliases":["morocco"]},{"emoji":"\u{1F393}","aliases":["mortar_board"]},{"emoji":"\u{1F54C}","aliases":["mosque"]},{"emoji":"\u{1F99F}","aliases":["mosquito"]},{"emoji":"\u{1F6E5}\uFE0F","aliases":["motor_boat"]},{"emoji":"\u{1F6F5}","aliases":["motor_scooter"]},{"emoji":"\u{1F3CD}\uFE0F","aliases":["motorcycle"]},{"emoji":"\u{1F9BC}","aliases":["motorized_wheelchair"]},{"emoji":"\u{1F6E3}\uFE0F","aliases":["motorway"]},{"emoji":"\u{1F5FB}","aliases":["mount_fuji"]},{"emoji":"\u26F0\uFE0F","aliases":["mountain"]},{"emoji":"\u{1F6B5}","aliases":["mountain_bicyclist"]},{"emoji":"\u{1F6B5}\u200D\u2642\uFE0F","aliases":["mountain_biking_man"]},{"emoji":"\u{1F6B5}\u200D\u2640\uFE0F","aliases":["mountain_biking_woman"]},{"emoji":"\u{1F6A0}","aliases":["mountain_cableway"]},{"emoji":"\u{1F69E}","aliases":["mountain_railway"]},{"emoji":"\u{1F3D4}\uFE0F","aliases":["mountain_snow"]},{"emoji":"\u{1F42D}","aliases":["mouse"]},{"emoji":"\u{1F401}","aliases":["mouse2"]},{"emoji":"\u{1FAA4}","aliases":["mouse_trap"]},{"emoji":"\u{1F3A5}","aliases":["movie_camera"]},{"emoji":"\u{1F5FF}","aliases":["moyai"]},{"emoji":"\u{1F1F2}\u{1F1FF}","aliases":["mozambique"]},{"emoji":"\u{1F936}","aliases":["mrs_claus"]},{"emoji":"\u{1F4AA}","aliases":["muscle"]},{"emoji":"\u{1F344}","aliases":["mushroom"]},{"emoji":"\u{1F3B9}","aliases":["musical_keyboard"]},{"emoji":"\u{1F3B5}","aliases":["musical_note"]},{"emoji":"\u{1F3BC}","aliases":["musical_score"]},{"emoji":"\u{1F507}","aliases":["mute"]},{"emoji":"\u{1F9D1}\u200D\u{1F384}","aliases":["mx_claus"]},{"emoji":"\u{1F1F2}\u{1F1F2}","aliases":["myanmar"]},{"emoji":"\u{1F485}","aliases":["nail_care"]},{"emoji":"\u{1F4DB}","aliases":["name_badge"]},{"emoji":"\u{1F1F3}\u{1F1E6}","aliases":["namibia"]},{"emoji":"\u{1F3DE}\uFE0F","aliases":["national_park"]},{"emoji":"\u{1F1F3}\u{1F1F7}","aliases":["nauru"]},{"emoji":"\u{1F922}","aliases":["nauseated_face"]},{"emoji":"\u{1F9FF}","aliases":["nazar_amulet"]},{"emoji":"\u{1F454}","aliases":["necktie"]},{"emoji":"\u274E","aliases":["negative_squared_cross_mark"]},{"emoji":"\u{1F1F3}\u{1F1F5}","aliases":["nepal"]},{"emoji":"\u{1F913}","aliases":["nerd_face"]},{"emoji":"\u{1FABA}","aliases":["nest_with_eggs"]},{"emoji":"\u{1FA86}","aliases":["nesting_dolls"]},{"emoji":"\u{1F1F3}\u{1F1F1}","aliases":["netherlands"]},{"emoji":"\u{1F610}","aliases":["neutral_face"]},{"emoji":"\u{1F195}","aliases":["new"]},{"emoji":"\u{1F1F3}\u{1F1E8}","aliases":["new_caledonia"]},{"emoji":"\u{1F311}","aliases":["new_moon"]},{"emoji":"\u{1F31A}","aliases":["new_moon_with_face"]},{"emoji":"\u{1F1F3}\u{1F1FF}","aliases":["new_zealand"]},{"emoji":"\u{1F4F0}","aliases":["newspaper"]},{"emoji":"\u{1F5DE}\uFE0F","aliases":["newspaper_roll"]},{"emoji":"\u23ED\uFE0F","aliases":["next_track_button"]},{"emoji":"\u{1F196}","aliases":["ng"]},{"emoji":"\u{1F1F3}\u{1F1EE}","aliases":["nicaragua"]},{"emoji":"\u{1F1F3}\u{1F1EA}","aliases":["niger"]},{"emoji":"\u{1F1F3}\u{1F1EC}","aliases":["nigeria"]},{"emoji":"\u{1F303}","aliases":["night_with_stars"]},{"emoji":"9\uFE0F\u20E3","aliases":["nine"]},{"emoji":"\u{1F977}","aliases":["ninja"]},{"emoji":"\u{1F1F3}\u{1F1FA}","aliases":["niue"]},{"emoji":"\u{1F515}","aliases":["no_bell"]},{"emoji":"\u{1F6B3}","aliases":["no_bicycles"]},{"emoji":"\u26D4","aliases":["no_entry"]},{"emoji":"\u{1F6AB}","aliases":["no_entry_sign"]},{"emoji":"\u{1F645}","aliases":["no_good"]},{"emoji":"\u{1F645}\u200D\u2642\uFE0F","aliases":["no_good_man","ng_man"]},{"emoji":"\u{1F645}\u200D\u2640\uFE0F","aliases":["no_good_woman","ng_woman"]},{"emoji":"\u{1F4F5}","aliases":["no_mobile_phones"]},{"emoji":"\u{1F636}","aliases":["no_mouth"]},{"emoji":"\u{1F6B7}","aliases":["no_pedestrians"]},{"emoji":"\u{1F6AD}","aliases":["no_smoking"]},{"emoji":"\u{1F6B1}","aliases":["non-potable_water"]},{"emoji":"\u{1F1F3}\u{1F1EB}","aliases":["norfolk_island"]},{"emoji":"\u{1F1F0}\u{1F1F5}","aliases":["north_korea"]},{"emoji":"\u{1F1F2}\u{1F1F5}","aliases":["northern_mariana_islands"]},{"emoji":"\u{1F1F3}\u{1F1F4}","aliases":["norway"]},{"emoji":"\u{1F443}","aliases":["nose"]},{"emoji":"\u{1F4D3}","aliases":["notebook"]},{"emoji":"\u{1F4D4}","aliases":["notebook_with_decorative_cover"]},{"emoji":"\u{1F3B6}","aliases":["notes"]},{"emoji":"\u{1F529}","aliases":["nut_and_bolt"]},{"emoji":"\u2B55","aliases":["o"]},{"emoji":"\u{1F17E}\uFE0F","aliases":["o2"]},{"emoji":"\u{1F30A}","aliases":["ocean"]},{"emoji":"\u{1F419}","aliases":["octopus"]},{"emoji":"\u{1F362}","aliases":["oden"]},{"emoji":"\u{1F3E2}","aliases":["office"]},{"emoji":"\u{1F9D1}\u200D\u{1F4BC}","aliases":["office_worker"]},{"emoji":"\u{1F6E2}\uFE0F","aliases":["oil_drum"]},{"emoji":"\u{1F197}","aliases":["ok"]},{"emoji":"\u{1F44C}","aliases":["ok_hand"]},{"emoji":"\u{1F646}\u200D\u2642\uFE0F","aliases":["ok_man"]},{"emoji":"\u{1F646}","aliases":["ok_person"]},{"emoji":"\u{1F646}\u200D\u2640\uFE0F","aliases":["ok_woman"]},{"emoji":"\u{1F5DD}\uFE0F","aliases":["old_key"]},{"emoji":"\u{1F9D3}","aliases":["older_adult"]},{"emoji":"\u{1F474}","aliases":["older_man"]},{"emoji":"\u{1F475}","aliases":["older_woman"]},{"emoji":"\u{1FAD2}","aliases":["olive"]},{"emoji":"\u{1F549}\uFE0F","aliases":["om"]},{"emoji":"\u{1F1F4}\u{1F1F2}","aliases":["oman"]},{"emoji":"\u{1F51B}","aliases":["on"]},{"emoji":"\u{1F698}","aliases":["oncoming_automobile"]},{"emoji":"\u{1F68D}","aliases":["oncoming_bus"]},{"emoji":"\u{1F694}","aliases":["oncoming_police_car"]},{"emoji":"\u{1F696}","aliases":["oncoming_taxi"]},{"emoji":"1\uFE0F\u20E3","aliases":["one"]},{"emoji":"\u{1FA71}","aliases":["one_piece_swimsuit"]},{"emoji":"\u{1F9C5}","aliases":["onion"]},{"emoji":"\u{1F4C2}","aliases":["open_file_folder"]},{"emoji":"\u{1F450}","aliases":["open_hands"]},{"emoji":"\u{1F62E}","aliases":["open_mouth"]},{"emoji":"\u2602\uFE0F","aliases":["open_umbrella"]},{"emoji":"\u26CE","aliases":["ophiuchus"]},{"emoji":"\u{1F4D9}","aliases":["orange_book"]},{"emoji":"\u{1F7E0}","aliases":["orange_circle"]},{"emoji":"\u{1F9E1}","aliases":["orange_heart"]},{"emoji":"\u{1F7E7}","aliases":["orange_square"]},{"emoji":"\u{1F9A7}","aliases":["orangutan"]},{"emoji":"\u2626\uFE0F","aliases":["orthodox_cross"]},{"emoji":"\u{1F9A6}","aliases":["otter"]},{"emoji":"\u{1F4E4}","aliases":["outbox_tray"]},{"emoji":"\u{1F989}","aliases":["owl"]},{"emoji":"\u{1F402}","aliases":["ox"]},{"emoji":"\u{1F9AA}","aliases":["oyster"]},{"emoji":"\u{1F4E6}","aliases":["package"]},{"emoji":"\u{1F4C4}","aliases":["page_facing_up"]},{"emoji":"\u{1F4C3}","aliases":["page_with_curl"]},{"emoji":"\u{1F4DF}","aliases":["pager"]},{"emoji":"\u{1F58C}\uFE0F","aliases":["paintbrush"]},{"emoji":"\u{1F1F5}\u{1F1F0}","aliases":["pakistan"]},{"emoji":"\u{1F1F5}\u{1F1FC}","aliases":["palau"]},{"emoji":"\u{1F1F5}\u{1F1F8}","aliases":["palestinian_territories"]},{"emoji":"\u{1FAF3}","aliases":["palm_down_hand"]},{"emoji":"\u{1F334}","aliases":["palm_tree"]},{"emoji":"\u{1FAF4}","aliases":["palm_up_hand"]},{"emoji":"\u{1F932}","aliases":["palms_up_together"]},{"emoji":"\u{1F1F5}\u{1F1E6}","aliases":["panama"]},{"emoji":"\u{1F95E}","aliases":["pancakes"]},{"emoji":"\u{1F43C}","aliases":["panda_face"]},{"emoji":"\u{1F4CE}","aliases":["paperclip"]},{"emoji":"\u{1F587}\uFE0F","aliases":["paperclips"]},{"emoji":"\u{1F1F5}\u{1F1EC}","aliases":["papua_new_guinea"]},{"emoji":"\u{1FA82}","aliases":["parachute"]},{"emoji":"\u{1F1F5}\u{1F1FE}","aliases":["paraguay"]},{"emoji":"\u26F1\uFE0F","aliases":["parasol_on_ground"]},{"emoji":"\u{1F17F}\uFE0F","aliases":["parking"]},{"emoji":"\u{1F99C}","aliases":["parrot"]},{"emoji":"\u303D\uFE0F","aliases":["part_alternation_mark"]},{"emoji":"\u26C5","aliases":["partly_sunny"]},{"emoji":"\u{1F973}","aliases":["partying_face"]},{"emoji":"\u{1F6F3}\uFE0F","aliases":["passenger_ship"]},{"emoji":"\u{1F6C2}","aliases":["passport_control"]},{"emoji":"\u23F8\uFE0F","aliases":["pause_button"]},{"emoji":"\u{1FADB}","aliases":["pea_pod"]},{"emoji":"\u262E\uFE0F","aliases":["peace_symbol"]},{"emoji":"\u{1F351}","aliases":["peach"]},{"emoji":"\u{1F99A}","aliases":["peacock"]},{"emoji":"\u{1F95C}","aliases":["peanuts"]},{"emoji":"\u{1F350}","aliases":["pear"]},{"emoji":"\u{1F58A}\uFE0F","aliases":["pen"]},{"emoji":"\u270F\uFE0F","aliases":["pencil2"]},{"emoji":"\u{1F427}","aliases":["penguin"]},{"emoji":"\u{1F614}","aliases":["pensive"]},{"emoji":"\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}","aliases":["people_holding_hands"]},{"emoji":"\u{1FAC2}","aliases":["people_hugging"]},{"emoji":"\u{1F3AD}","aliases":["performing_arts"]},{"emoji":"\u{1F623}","aliases":["persevere"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B2}","aliases":["person_bald"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B1}","aliases":["person_curly_hair"]},{"emoji":"\u{1F9D1}\u200D\u{1F37C}","aliases":["person_feeding_baby"]},{"emoji":"\u{1F93A}","aliases":["person_fencing"]},{"emoji":"\u{1F9D1}\u200D\u{1F9BD}","aliases":["person_in_manual_wheelchair"]},{"emoji":"\u{1F9D1}\u200D\u{1F9BC}","aliases":["person_in_motorized_wheelchair"]},{"emoji":"\u{1F935}","aliases":["person_in_tuxedo"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B0}","aliases":["person_red_hair"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B3}","aliases":["person_white_hair"]},{"emoji":"\u{1FAC5}","aliases":["person_with_crown"]},{"emoji":"\u{1F9D1}\u200D\u{1F9AF}","aliases":["person_with_probing_cane"]},{"emoji":"\u{1F473}","aliases":["person_with_turban"]},{"emoji":"\u{1F470}","aliases":["person_with_veil"]},{"emoji":"\u{1F1F5}\u{1F1EA}","aliases":["peru"]},{"emoji":"\u{1F9EB}","aliases":["petri_dish"]},{"emoji":"\u{1F1F5}\u{1F1ED}","aliases":["philippines"]},{"emoji":"\u260E\uFE0F","aliases":["phone","telephone"]},{"emoji":"\u26CF\uFE0F","aliases":["pick"]},{"emoji":"\u{1F6FB}","aliases":["pickup_truck"]},{"emoji":"\u{1F967}","aliases":["pie"]},{"emoji":"\u{1F437}","aliases":["pig"]},{"emoji":"\u{1F416}","aliases":["pig2"]},{"emoji":"\u{1F43D}","aliases":["pig_nose"]},{"emoji":"\u{1F48A}","aliases":["pill"]},{"emoji":"\u{1F9D1}\u200D\u2708\uFE0F","aliases":["pilot"]},{"emoji":"\u{1FA85}","aliases":["pinata"]},{"emoji":"\u{1F90C}","aliases":["pinched_fingers"]},{"emoji":"\u{1F90F}","aliases":["pinching_hand"]},{"emoji":"\u{1F34D}","aliases":["pineapple"]},{"emoji":"\u{1F3D3}","aliases":["ping_pong"]},{"emoji":"\u{1FA77}","aliases":["pink_heart"]},{"emoji":"\u{1F3F4}\u200D\u2620\uFE0F","aliases":["pirate_flag"]},{"emoji":"\u2653","aliases":["pisces"]},{"emoji":"\u{1F1F5}\u{1F1F3}","aliases":["pitcairn_islands"]},{"emoji":"\u{1F355}","aliases":["pizza"]},{"emoji":"\u{1FAA7}","aliases":["placard"]},{"emoji":"\u{1F6D0}","aliases":["place_of_worship"]},{"emoji":"\u{1F37D}\uFE0F","aliases":["plate_with_cutlery"]},{"emoji":"\u23EF\uFE0F","aliases":["play_or_pause_button"]},{"emoji":"\u{1F6DD}","aliases":["playground_slide"]},{"emoji":"\u{1F97A}","aliases":["pleading_face"]},{"emoji":"\u{1FAA0}","aliases":["plunger"]},{"emoji":"\u{1F447}","aliases":["point_down"]},{"emoji":"\u{1F448}","aliases":["point_left"]},{"emoji":"\u{1F449}","aliases":["point_right"]},{"emoji":"\u261D\uFE0F","aliases":["point_up"]},{"emoji":"\u{1F446}","aliases":["point_up_2"]},{"emoji":"\u{1F1F5}\u{1F1F1}","aliases":["poland"]},{"emoji":"\u{1F43B}\u200D\u2744\uFE0F","aliases":["polar_bear"]},{"emoji":"\u{1F693}","aliases":["police_car"]},{"emoji":"\u{1F46E}","aliases":["police_officer","cop"]},{"emoji":"\u{1F46E}\u200D\u2642\uFE0F","aliases":["policeman"]},{"emoji":"\u{1F46E}\u200D\u2640\uFE0F","aliases":["policewoman"]},{"emoji":"\u{1F429}","aliases":["poodle"]},{"emoji":"\u{1F37F}","aliases":["popcorn"]},{"emoji":"\u{1F1F5}\u{1F1F9}","aliases":["portugal"]},{"emoji":"\u{1F3E3}","aliases":["post_office"]},{"emoji":"\u{1F4EF}","aliases":["postal_horn"]},{"emoji":"\u{1F4EE}","aliases":["postbox"]},{"emoji":"\u{1F6B0}","aliases":["potable_water"]},{"emoji":"\u{1F954}","aliases":["potato"]},{"emoji":"\u{1FAB4}","aliases":["potted_plant"]},{"emoji":"\u{1F45D}","aliases":["pouch"]},{"emoji":"\u{1F357}","aliases":["poultry_leg"]},{"emoji":"\u{1F4B7}","aliases":["pound"]},{"emoji":"\u{1FAD7}","aliases":["pouring_liquid"]},{"emoji":"\u{1F63E}","aliases":["pouting_cat"]},{"emoji":"\u{1F64E}","aliases":["pouting_face"]},{"emoji":"\u{1F64E}\u200D\u2642\uFE0F","aliases":["pouting_man"]},{"emoji":"\u{1F64E}\u200D\u2640\uFE0F","aliases":["pouting_woman"]},{"emoji":"\u{1F64F}","aliases":["pray"]},{"emoji":"\u{1F4FF}","aliases":["prayer_beads"]},{"emoji":"\u{1FAC3}","aliases":["pregnant_man"]},{"emoji":"\u{1FAC4}","aliases":["pregnant_person"]},{"emoji":"\u{1F930}","aliases":["pregnant_woman"]},{"emoji":"\u{1F968}","aliases":["pretzel"]},{"emoji":"\u23EE\uFE0F","aliases":["previous_track_button"]},{"emoji":"\u{1F934}","aliases":["prince"]},{"emoji":"\u{1F478}","aliases":["princess"]},{"emoji":"\u{1F5A8}\uFE0F","aliases":["printer"]},{"emoji":"\u{1F9AF}","aliases":["probing_cane"]},{"emoji":"\u{1F1F5}\u{1F1F7}","aliases":["puerto_rico"]},{"emoji":"\u{1F7E3}","aliases":["purple_circle"]},{"emoji":"\u{1F49C}","aliases":["purple_heart"]},{"emoji":"\u{1F7EA}","aliases":["purple_square"]},{"emoji":"\u{1F45B}","aliases":["purse"]},{"emoji":"\u{1F4CC}","aliases":["pushpin"]},{"emoji":"\u{1F6AE}","aliases":["put_litter_in_its_place"]},{"emoji":"\u{1F1F6}\u{1F1E6}","aliases":["qatar"]},{"emoji":"\u2753","aliases":["question"]},{"emoji":"\u{1F430}","aliases":["rabbit"]},{"emoji":"\u{1F407}","aliases":["rabbit2"]},{"emoji":"\u{1F99D}","aliases":["raccoon"]},{"emoji":"\u{1F40E}","aliases":["racehorse"]},{"emoji":"\u{1F3CE}\uFE0F","aliases":["racing_car"]},{"emoji":"\u{1F4FB}","aliases":["radio"]},{"emoji":"\u{1F518}","aliases":["radio_button"]},{"emoji":"\u2622\uFE0F","aliases":["radioactive"]},{"emoji":"\u{1F621}","aliases":["rage","pout"]},{"emoji":"\u{1F683}","aliases":["railway_car"]},{"emoji":"\u{1F6E4}\uFE0F","aliases":["railway_track"]},{"emoji":"\u{1F308}","aliases":["rainbow"]},{"emoji":"\u{1F3F3}\uFE0F\u200D\u{1F308}","aliases":["rainbow_flag"]},{"emoji":"\u{1F91A}","aliases":["raised_back_of_hand"]},{"emoji":"\u{1F928}","aliases":["raised_eyebrow"]},{"emoji":"\u{1F590}\uFE0F","aliases":["raised_hand_with_fingers_splayed"]},{"emoji":"\u{1F64C}","aliases":["raised_hands"]},{"emoji":"\u{1F64B}","aliases":["raising_hand"]},{"emoji":"\u{1F64B}\u200D\u2642\uFE0F","aliases":["raising_hand_man"]},{"emoji":"\u{1F64B}\u200D\u2640\uFE0F","aliases":["raising_hand_woman"]},{"emoji":"\u{1F40F}","aliases":["ram"]},{"emoji":"\u{1F35C}","aliases":["ramen"]},{"emoji":"\u{1F400}","aliases":["rat"]},{"emoji":"\u{1FA92}","aliases":["razor"]},{"emoji":"\u{1F9FE}","aliases":["receipt"]},{"emoji":"\u23FA\uFE0F","aliases":["record_button"]},{"emoji":"\u267B\uFE0F","aliases":["recycle"]},{"emoji":"\u{1F534}","aliases":["red_circle"]},{"emoji":"\u{1F9E7}","aliases":["red_envelope"]},{"emoji":"\u{1F468}\u200D\u{1F9B0}","aliases":["red_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B0}","aliases":["red_haired_woman"]},{"emoji":"\u{1F7E5}","aliases":["red_square"]},{"emoji":"\xAE\uFE0F","aliases":["registered"]},{"emoji":"\u263A\uFE0F","aliases":["relaxed"]},{"emoji":"\u{1F60C}","aliases":["relieved"]},{"emoji":"\u{1F397}\uFE0F","aliases":["reminder_ribbon"]},{"emoji":"\u{1F501}","aliases":["repeat"]},{"emoji":"\u{1F502}","aliases":["repeat_one"]},{"emoji":"\u26D1\uFE0F","aliases":["rescue_worker_helmet"]},{"emoji":"\u{1F6BB}","aliases":["restroom"]},{"emoji":"\u{1F1F7}\u{1F1EA}","aliases":["reunion"]},{"emoji":"\u{1F49E}","aliases":["revolving_hearts"]},{"emoji":"\u23EA","aliases":["rewind"]},{"emoji":"\u{1F98F}","aliases":["rhinoceros"]},{"emoji":"\u{1F380}","aliases":["ribbon"]},{"emoji":"\u{1F35A}","aliases":["rice"]},{"emoji":"\u{1F359}","aliases":["rice_ball"]},{"emoji":"\u{1F358}","aliases":["rice_cracker"]},{"emoji":"\u{1F391}","aliases":["rice_scene"]},{"emoji":"\u{1F5EF}\uFE0F","aliases":["right_anger_bubble"]},{"emoji":"\u{1FAF1}","aliases":["rightwards_hand"]},{"emoji":"\u{1FAF8}","aliases":["rightwards_pushing_hand"]},{"emoji":"\u{1F48D}","aliases":["ring"]},{"emoji":"\u{1F6DF}","aliases":["ring_buoy"]},{"emoji":"\u{1FA90}","aliases":["ringed_planet"]},{"emoji":"\u{1F916}","aliases":["robot"]},{"emoji":"\u{1FAA8}","aliases":["rock"]},{"emoji":"\u{1F680}","aliases":["rocket"]},{"emoji":"\u{1F923}","aliases":["rofl"]},{"emoji":"\u{1F644}","aliases":["roll_eyes"]},{"emoji":"\u{1F9FB}","aliases":["roll_of_paper"]},{"emoji":"\u{1F3A2}","aliases":["roller_coaster"]},{"emoji":"\u{1F6FC}","aliases":["roller_skate"]},{"emoji":"\u{1F1F7}\u{1F1F4}","aliases":["romania"]},{"emoji":"\u{1F413}","aliases":["rooster"]},{"emoji":"\u{1F339}","aliases":["rose"]},{"emoji":"\u{1F3F5}\uFE0F","aliases":["rosette"]},{"emoji":"\u{1F6A8}","aliases":["rotating_light"]},{"emoji":"\u{1F4CD}","aliases":["round_pushpin"]},{"emoji":"\u{1F6A3}","aliases":["rowboat"]},{"emoji":"\u{1F6A3}\u200D\u2642\uFE0F","aliases":["rowing_man"]},{"emoji":"\u{1F6A3}\u200D\u2640\uFE0F","aliases":["rowing_woman"]},{"emoji":"\u{1F1F7}\u{1F1FA}","aliases":["ru"]},{"emoji":"\u{1F3C9}","aliases":["rugby_football"]},{"emoji":"\u{1F3C3}","aliases":["runner","running"]},{"emoji":"\u{1F3C3}\u200D\u2642\uFE0F","aliases":["running_man"]},{"emoji":"\u{1F3BD}","aliases":["running_shirt_with_sash"]},{"emoji":"\u{1F3C3}\u200D\u2640\uFE0F","aliases":["running_woman"]},{"emoji":"\u{1F1F7}\u{1F1FC}","aliases":["rwanda"]},{"emoji":"\u{1F202}\uFE0F","aliases":["sa"]},{"emoji":"\u{1F9F7}","aliases":["safety_pin"]},{"emoji":"\u{1F9BA}","aliases":["safety_vest"]},{"emoji":"\u2650","aliases":["sagittarius"]},{"emoji":"\u{1F376}","aliases":["sake"]},{"emoji":"\u{1F9C2}","aliases":["salt"]},{"emoji":"\u{1FAE1}","aliases":["saluting_face"]},{"emoji":"\u{1F1FC}\u{1F1F8}","aliases":["samoa"]},{"emoji":"\u{1F1F8}\u{1F1F2}","aliases":["san_marino"]},{"emoji":"\u{1F461}","aliases":["sandal"]},{"emoji":"\u{1F96A}","aliases":["sandwich"]},{"emoji":"\u{1F385}","aliases":["santa"]},{"emoji":"\u{1F1F8}\u{1F1F9}","aliases":["sao_tome_principe"]},{"emoji":"\u{1F97B}","aliases":["sari"]},{"emoji":"\u{1F4E1}","aliases":["satellite"]},{"emoji":"\u{1F1F8}\u{1F1E6}","aliases":["saudi_arabia"]},{"emoji":"\u{1F9D6}\u200D\u2642\uFE0F","aliases":["sauna_man"]},{"emoji":"\u{1F9D6}","aliases":["sauna_person"]},{"emoji":"\u{1F9D6}\u200D\u2640\uFE0F","aliases":["sauna_woman"]},{"emoji":"\u{1F995}","aliases":["sauropod"]},{"emoji":"\u{1F3B7}","aliases":["saxophone"]},{"emoji":"\u{1F9E3}","aliases":["scarf"]},{"emoji":"\u{1F3EB}","aliases":["school"]},{"emoji":"\u{1F392}","aliases":["school_satchel"]},{"emoji":"\u{1F9D1}\u200D\u{1F52C}","aliases":["scientist"]},{"emoji":"\u2702\uFE0F","aliases":["scissors"]},{"emoji":"\u{1F982}","aliases":["scorpion"]},{"emoji":"\u264F","aliases":["scorpius"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}","aliases":["scotland"]},{"emoji":"\u{1F631}","aliases":["scream"]},{"emoji":"\u{1F640}","aliases":["scream_cat"]},{"emoji":"\u{1FA9B}","aliases":["screwdriver"]},{"emoji":"\u{1F4DC}","aliases":["scroll"]},{"emoji":"\u{1F9AD}","aliases":["seal"]},{"emoji":"\u{1F4BA}","aliases":["seat"]},{"emoji":"\u3299\uFE0F","aliases":["secret"]},{"emoji":"\u{1F648}","aliases":["see_no_evil"]},{"emoji":"\u{1F331}","aliases":["seedling"]},{"emoji":"\u{1F933}","aliases":["selfie"]},{"emoji":"\u{1F1F8}\u{1F1F3}","aliases":["senegal"]},{"emoji":"\u{1F1F7}\u{1F1F8}","aliases":["serbia"]},{"emoji":"\u{1F415}\u200D\u{1F9BA}","aliases":["service_dog"]},{"emoji":"7\uFE0F\u20E3","aliases":["seven"]},{"emoji":"\u{1FAA1}","aliases":["sewing_needle"]},{"emoji":"\u{1F1F8}\u{1F1E8}","aliases":["seychelles"]},{"emoji":"\u{1FAE8}","aliases":["shaking_face"]},{"emoji":"\u{1F958}","aliases":["shallow_pan_of_food"]},{"emoji":"\u2618\uFE0F","aliases":["shamrock"]},{"emoji":"\u{1F988}","aliases":["shark"]},{"emoji":"\u{1F367}","aliases":["shaved_ice"]},{"emoji":"\u{1F411}","aliases":["sheep"]},{"emoji":"\u{1F41A}","aliases":["shell"]},{"emoji":"\u{1F6E1}\uFE0F","aliases":["shield"]},{"emoji":"\u26E9\uFE0F","aliases":["shinto_shrine"]},{"emoji":"\u{1F6A2}","aliases":["ship"]},{"emoji":"\u{1F455}","aliases":["shirt","tshirt"]},{"emoji":"\u{1F6CD}\uFE0F","aliases":["shopping"]},{"emoji":"\u{1F6D2}","aliases":["shopping_cart"]},{"emoji":"\u{1FA73}","aliases":["shorts"]},{"emoji":"\u{1F6BF}","aliases":["shower"]},{"emoji":"\u{1F990}","aliases":["shrimp"]},{"emoji":"\u{1F937}","aliases":["shrug"]},{"emoji":"\u{1F92B}","aliases":["shushing_face"]},{"emoji":"\u{1F1F8}\u{1F1F1}","aliases":["sierra_leone"]},{"emoji":"\u{1F4F6}","aliases":["signal_strength"]},{"emoji":"\u{1F1F8}\u{1F1EC}","aliases":["singapore"]},{"emoji":"\u{1F9D1}\u200D\u{1F3A4}","aliases":["singer"]},{"emoji":"\u{1F1F8}\u{1F1FD}","aliases":["sint_maarten"]},{"emoji":"6\uFE0F\u20E3","aliases":["six"]},{"emoji":"\u{1F52F}","aliases":["six_pointed_star"]},{"emoji":"\u{1F6F9}","aliases":["skateboard"]},{"emoji":"\u{1F3BF}","aliases":["ski"]},{"emoji":"\u26F7\uFE0F","aliases":["skier"]},{"emoji":"\u{1F480}","aliases":["skull"]},{"emoji":"\u2620\uFE0F","aliases":["skull_and_crossbones"]},{"emoji":"\u{1F9A8}","aliases":["skunk"]},{"emoji":"\u{1F6F7}","aliases":["sled"]},{"emoji":"\u{1F634}","aliases":["sleeping"]},{"emoji":"\u{1F6CC}","aliases":["sleeping_bed"]},{"emoji":"\u{1F62A}","aliases":["sleepy"]},{"emoji":"\u{1F641}","aliases":["slightly_frowning_face"]},{"emoji":"\u{1F642}","aliases":["slightly_smiling_face"]},{"emoji":"\u{1F3B0}","aliases":["slot_machine"]},{"emoji":"\u{1F9A5}","aliases":["sloth"]},{"emoji":"\u{1F1F8}\u{1F1F0}","aliases":["slovakia"]},{"emoji":"\u{1F1F8}\u{1F1EE}","aliases":["slovenia"]},{"emoji":"\u{1F6E9}\uFE0F","aliases":["small_airplane"]},{"emoji":"\u{1F539}","aliases":["small_blue_diamond"]},{"emoji":"\u{1F538}","aliases":["small_orange_diamond"]},{"emoji":"\u{1F53A}","aliases":["small_red_triangle"]},{"emoji":"\u{1F53B}","aliases":["small_red_triangle_down"]},{"emoji":"\u{1F604}","aliases":["smile"]},{"emoji":"\u{1F638}","aliases":["smile_cat"]},{"emoji":"\u{1F603}","aliases":["smiley"]},{"emoji":"\u{1F63A}","aliases":["smiley_cat"]},{"emoji":"\u{1F972}","aliases":["smiling_face_with_tear"]},{"emoji":"\u{1F970}","aliases":["smiling_face_with_three_hearts"]},{"emoji":"\u{1F608}","aliases":["smiling_imp"]},{"emoji":"\u{1F60F}","aliases":["smirk"]},{"emoji":"\u{1F63C}","aliases":["smirk_cat"]},{"emoji":"\u{1F6AC}","aliases":["smoking"]},{"emoji":"\u{1F40C}","aliases":["snail"]},{"emoji":"\u{1F40D}","aliases":["snake"]},{"emoji":"\u{1F927}","aliases":["sneezing_face"]},{"emoji":"\u{1F3C2}","aliases":["snowboarder"]},{"emoji":"\u2744\uFE0F","aliases":["snowflake"]},{"emoji":"\u26C4","aliases":["snowman"]},{"emoji":"\u2603\uFE0F","aliases":["snowman_with_snow"]},{"emoji":"\u{1F9FC}","aliases":["soap"]},{"emoji":"\u{1F62D}","aliases":["sob"]},{"emoji":"\u26BD","aliases":["soccer"]},{"emoji":"\u{1F9E6}","aliases":["socks"]},{"emoji":"\u{1F94E}","aliases":["softball"]},{"emoji":"\u{1F1F8}\u{1F1E7}","aliases":["solomon_islands"]},{"emoji":"\u{1F1F8}\u{1F1F4}","aliases":["somalia"]},{"emoji":"\u{1F51C}","aliases":["soon"]},{"emoji":"\u{1F198}","aliases":["sos"]},{"emoji":"\u{1F509}","aliases":["sound"]},{"emoji":"\u{1F1FF}\u{1F1E6}","aliases":["south_africa"]},{"emoji":"\u{1F1EC}\u{1F1F8}","aliases":["south_georgia_south_sandwich_islands"]},{"emoji":"\u{1F1F8}\u{1F1F8}","aliases":["south_sudan"]},{"emoji":"\u{1F47E}","aliases":["space_invader"]},{"emoji":"\u2660\uFE0F","aliases":["spades"]},{"emoji":"\u{1F35D}","aliases":["spaghetti"]},{"emoji":"\u2747\uFE0F","aliases":["sparkle"]},{"emoji":"\u{1F387}","aliases":["sparkler"]},{"emoji":"\u2728","aliases":["sparkles"]},{"emoji":"\u{1F496}","aliases":["sparkling_heart"]},{"emoji":"\u{1F64A}","aliases":["speak_no_evil"]},{"emoji":"\u{1F508}","aliases":["speaker"]},{"emoji":"\u{1F5E3}\uFE0F","aliases":["speaking_head"]},{"emoji":"\u{1F4AC}","aliases":["speech_balloon"]},{"emoji":"\u{1F6A4}","aliases":["speedboat"]},{"emoji":"\u{1F577}\uFE0F","aliases":["spider"]},{"emoji":"\u{1F578}\uFE0F","aliases":["spider_web"]},{"emoji":"\u{1F5D3}\uFE0F","aliases":["spiral_calendar"]},{"emoji":"\u{1F5D2}\uFE0F","aliases":["spiral_notepad"]},{"emoji":"\u{1F9FD}","aliases":["sponge"]},{"emoji":"\u{1F944}","aliases":["spoon"]},{"emoji":"\u{1F991}","aliases":["squid"]},{"emoji":"\u{1F1F1}\u{1F1F0}","aliases":["sri_lanka"]},{"emoji":"\u{1F1E7}\u{1F1F1}","aliases":["st_barthelemy"]},{"emoji":"\u{1F1F8}\u{1F1ED}","aliases":["st_helena"]},{"emoji":"\u{1F1F0}\u{1F1F3}","aliases":["st_kitts_nevis"]},{"emoji":"\u{1F1F1}\u{1F1E8}","aliases":["st_lucia"]},{"emoji":"\u{1F1F2}\u{1F1EB}","aliases":["st_martin"]},{"emoji":"\u{1F1F5}\u{1F1F2}","aliases":["st_pierre_miquelon"]},{"emoji":"\u{1F1FB}\u{1F1E8}","aliases":["st_vincent_grenadines"]},{"emoji":"\u{1F3DF}\uFE0F","aliases":["stadium"]},{"emoji":"\u{1F9CD}\u200D\u2642\uFE0F","aliases":["standing_man"]},{"emoji":"\u{1F9CD}","aliases":["standing_person"]},{"emoji":"\u{1F9CD}\u200D\u2640\uFE0F","aliases":["standing_woman"]},{"emoji":"\u2B50","aliases":["star"]},{"emoji":"\u{1F31F}","aliases":["star2"]},{"emoji":"\u262A\uFE0F","aliases":["star_and_crescent"]},{"emoji":"\u2721\uFE0F","aliases":["star_of_david"]},{"emoji":"\u{1F929}","aliases":["star_struck"]},{"emoji":"\u{1F320}","aliases":["stars"]},{"emoji":"\u{1F689}","aliases":["station"]},{"emoji":"\u{1F5FD}","aliases":["statue_of_liberty"]},{"emoji":"\u{1F682}","aliases":["steam_locomotive"]},{"emoji":"\u{1FA7A}","aliases":["stethoscope"]},{"emoji":"\u{1F372}","aliases":["stew"]},{"emoji":"\u23F9\uFE0F","aliases":["stop_button"]},{"emoji":"\u{1F6D1}","aliases":["stop_sign"]},{"emoji":"\u23F1\uFE0F","aliases":["stopwatch"]},{"emoji":"\u{1F4CF}","aliases":["straight_ruler"]},{"emoji":"\u{1F353}","aliases":["strawberry"]},{"emoji":"\u{1F61B}","aliases":["stuck_out_tongue"]},{"emoji":"\u{1F61D}","aliases":["stuck_out_tongue_closed_eyes"]},{"emoji":"\u{1F61C}","aliases":["stuck_out_tongue_winking_eye"]},{"emoji":"\u{1F9D1}\u200D\u{1F393}","aliases":["student"]},{"emoji":"\u{1F399}\uFE0F","aliases":["studio_microphone"]},{"emoji":"\u{1F959}","aliases":["stuffed_flatbread"]},{"emoji":"\u{1F1F8}\u{1F1E9}","aliases":["sudan"]},{"emoji":"\u{1F325}\uFE0F","aliases":["sun_behind_large_cloud"]},{"emoji":"\u{1F326}\uFE0F","aliases":["sun_behind_rain_cloud"]},{"emoji":"\u{1F324}\uFE0F","aliases":["sun_behind_small_cloud"]},{"emoji":"\u{1F31E}","aliases":["sun_with_face"]},{"emoji":"\u{1F33B}","aliases":["sunflower"]},{"emoji":"\u{1F60E}","aliases":["sunglasses"]},{"emoji":"\u2600\uFE0F","aliases":["sunny"]},{"emoji":"\u{1F305}","aliases":["sunrise"]},{"emoji":"\u{1F304}","aliases":["sunrise_over_mountains"]},{"emoji":"\u{1F9B8}","aliases":["superhero"]},{"emoji":"\u{1F9B8}\u200D\u2642\uFE0F","aliases":["superhero_man"]},{"emoji":"\u{1F9B8}\u200D\u2640\uFE0F","aliases":["superhero_woman"]},{"emoji":"\u{1F9B9}","aliases":["supervillain"]},{"emoji":"\u{1F9B9}\u200D\u2642\uFE0F","aliases":["supervillain_man"]},{"emoji":"\u{1F9B9}\u200D\u2640\uFE0F","aliases":["supervillain_woman"]},{"emoji":"\u{1F3C4}","aliases":["surfer"]},{"emoji":"\u{1F3C4}\u200D\u2642\uFE0F","aliases":["surfing_man"]},{"emoji":"\u{1F3C4}\u200D\u2640\uFE0F","aliases":["surfing_woman"]},{"emoji":"\u{1F1F8}\u{1F1F7}","aliases":["suriname"]},{"emoji":"\u{1F363}","aliases":["sushi"]},{"emoji":"\u{1F69F}","aliases":["suspension_railway"]},{"emoji":"\u{1F1F8}\u{1F1EF}","aliases":["svalbard_jan_mayen"]},{"emoji":"\u{1F9A2}","aliases":["swan"]},{"emoji":"\u{1F1F8}\u{1F1FF}","aliases":["swaziland"]},{"emoji":"\u{1F613}","aliases":["sweat"]},{"emoji":"\u{1F4A6}","aliases":["sweat_drops"]},{"emoji":"\u{1F605}","aliases":["sweat_smile"]},{"emoji":"\u{1F1F8}\u{1F1EA}","aliases":["sweden"]},{"emoji":"\u{1F360}","aliases":["sweet_potato"]},{"emoji":"\u{1FA72}","aliases":["swim_brief"]},{"emoji":"\u{1F3CA}","aliases":["swimmer"]},{"emoji":"\u{1F3CA}\u200D\u2642\uFE0F","aliases":["swimming_man"]},{"emoji":"\u{1F3CA}\u200D\u2640\uFE0F","aliases":["swimming_woman"]},{"emoji":"\u{1F1E8}\u{1F1ED}","aliases":["switzerland"]},{"emoji":"\u{1F523}","aliases":["symbols"]},{"emoji":"\u{1F54D}","aliases":["synagogue"]},{"emoji":"\u{1F1F8}\u{1F1FE}","aliases":["syria"]},{"emoji":"\u{1F489}","aliases":["syringe"]},{"emoji":"\u{1F996}","aliases":["t-rex"]},{"emoji":"\u{1F32E}","aliases":["taco"]},{"emoji":"\u{1F389}","aliases":["tada","hooray"]},{"emoji":"\u{1F1F9}\u{1F1FC}","aliases":["taiwan"]},{"emoji":"\u{1F1F9}\u{1F1EF}","aliases":["tajikistan"]},{"emoji":"\u{1F961}","aliases":["takeout_box"]},{"emoji":"\u{1FAD4}","aliases":["tamale"]},{"emoji":"\u{1F38B}","aliases":["tanabata_tree"]},{"emoji":"\u{1F34A}","aliases":["tangerine","orange","mandarin"]},{"emoji":"\u{1F1F9}\u{1F1FF}","aliases":["tanzania"]},{"emoji":"\u2649","aliases":["taurus"]},{"emoji":"\u{1F695}","aliases":["taxi"]},{"emoji":"\u{1F375}","aliases":["tea"]},{"emoji":"\u{1F9D1}\u200D\u{1F3EB}","aliases":["teacher"]},{"emoji":"\u{1FAD6}","aliases":["teapot"]},{"emoji":"\u{1F9D1}\u200D\u{1F4BB}","aliases":["technologist"]},{"emoji":"\u{1F9F8}","aliases":["teddy_bear"]},{"emoji":"\u{1F4DE}","aliases":["telephone_receiver"]},{"emoji":"\u{1F52D}","aliases":["telescope"]},{"emoji":"\u{1F3BE}","aliases":["tennis"]},{"emoji":"\u26FA","aliases":["tent"]},{"emoji":"\u{1F9EA}","aliases":["test_tube"]},{"emoji":"\u{1F1F9}\u{1F1ED}","aliases":["thailand"]},{"emoji":"\u{1F321}\uFE0F","aliases":["thermometer"]},{"emoji":"\u{1F914}","aliases":["thinking"]},{"emoji":"\u{1FA74}","aliases":["thong_sandal"]},{"emoji":"\u{1F4AD}","aliases":["thought_balloon"]},{"emoji":"\u{1F9F5}","aliases":["thread"]},{"emoji":"3\uFE0F\u20E3","aliases":["three"]},{"emoji":"\u{1F3AB}","aliases":["ticket"]},{"emoji":"\u{1F39F}\uFE0F","aliases":["tickets"]},{"emoji":"\u{1F42F}","aliases":["tiger"]},{"emoji":"\u{1F405}","aliases":["tiger2"]},{"emoji":"\u23F2\uFE0F","aliases":["timer_clock"]},{"emoji":"\u{1F1F9}\u{1F1F1}","aliases":["timor_leste"]},{"emoji":"\u{1F481}\u200D\u2642\uFE0F","aliases":["tipping_hand_man","sassy_man"]},{"emoji":"\u{1F481}","aliases":["tipping_hand_person","information_desk_person"]},{"emoji":"\u{1F481}\u200D\u2640\uFE0F","aliases":["tipping_hand_woman","sassy_woman"]},{"emoji":"\u{1F62B}","aliases":["tired_face"]},{"emoji":"\u2122\uFE0F","aliases":["tm"]},{"emoji":"\u{1F1F9}\u{1F1EC}","aliases":["togo"]},{"emoji":"\u{1F6BD}","aliases":["toilet"]},{"emoji":"\u{1F1F9}\u{1F1F0}","aliases":["tokelau"]},{"emoji":"\u{1F5FC}","aliases":["tokyo_tower"]},{"emoji":"\u{1F345}","aliases":["tomato"]},{"emoji":"\u{1F1F9}\u{1F1F4}","aliases":["tonga"]},{"emoji":"\u{1F445}","aliases":["tongue"]},{"emoji":"\u{1F9F0}","aliases":["toolbox"]},{"emoji":"\u{1F9B7}","aliases":["tooth"]},{"emoji":"\u{1FAA5}","aliases":["toothbrush"]},{"emoji":"\u{1F51D}","aliases":["top"]},{"emoji":"\u{1F3A9}","aliases":["tophat"]},{"emoji":"\u{1F32A}\uFE0F","aliases":["tornado"]},{"emoji":"\u{1F1F9}\u{1F1F7}","aliases":["tr"]},{"emoji":"\u{1F5B2}\uFE0F","aliases":["trackball"]},{"emoji":"\u{1F69C}","aliases":["tractor"]},{"emoji":"\u{1F6A5}","aliases":["traffic_light"]},{"emoji":"\u{1F68B}","aliases":["train"]},{"emoji":"\u{1F686}","aliases":["train2"]},{"emoji":"\u{1F68A}","aliases":["tram"]},{"emoji":"\u{1F3F3}\uFE0F\u200D\u26A7\uFE0F","aliases":["transgender_flag"]},{"emoji":"\u26A7\uFE0F","aliases":["transgender_symbol"]},{"emoji":"\u{1F6A9}","aliases":["triangular_flag_on_post"]},{"emoji":"\u{1F4D0}","aliases":["triangular_ruler"]},{"emoji":"\u{1F531}","aliases":["trident"]},{"emoji":"\u{1F1F9}\u{1F1F9}","aliases":["trinidad_tobago"]},{"emoji":"\u{1F1F9}\u{1F1E6}","aliases":["tristan_da_cunha"]},{"emoji":"\u{1F624}","aliases":["triumph"]},{"emoji":"\u{1F9CC}","aliases":["troll"]},{"emoji":"\u{1F68E}","aliases":["trolleybus"]},{"emoji":"\u{1F3C6}","aliases":["trophy"]},{"emoji":"\u{1F379}","aliases":["tropical_drink"]},{"emoji":"\u{1F420}","aliases":["tropical_fish"]},{"emoji":"\u{1F69A}","aliases":["truck"]},{"emoji":"\u{1F3BA}","aliases":["trumpet"]},{"emoji":"\u{1F337}","aliases":["tulip"]},{"emoji":"\u{1F943}","aliases":["tumbler_glass"]},{"emoji":"\u{1F1F9}\u{1F1F3}","aliases":["tunisia"]},{"emoji":"\u{1F983}","aliases":["turkey"]},{"emoji":"\u{1F1F9}\u{1F1F2}","aliases":["turkmenistan"]},{"emoji":"\u{1F1F9}\u{1F1E8}","aliases":["turks_caicos_islands"]},{"emoji":"\u{1F422}","aliases":["turtle"]},{"emoji":"\u{1F1F9}\u{1F1FB}","aliases":["tuvalu"]},{"emoji":"\u{1F4FA}","aliases":["tv"]},{"emoji":"\u{1F500}","aliases":["twisted_rightwards_arrows"]},{"emoji":"2\uFE0F\u20E3","aliases":["two"]},{"emoji":"\u{1F495}","aliases":["two_hearts"]},{"emoji":"\u{1F46C}","aliases":["two_men_holding_hands"]},{"emoji":"\u{1F46D}","aliases":["two_women_holding_hands"]},{"emoji":"\u{1F239}","aliases":["u5272"]},{"emoji":"\u{1F234}","aliases":["u5408"]},{"emoji":"\u{1F23A}","aliases":["u55b6"]},{"emoji":"\u{1F22F}","aliases":["u6307"]},{"emoji":"\u{1F237}\uFE0F","aliases":["u6708"]},{"emoji":"\u{1F236}","aliases":["u6709"]},{"emoji":"\u{1F235}","aliases":["u6e80"]},{"emoji":"\u{1F21A}","aliases":["u7121"]},{"emoji":"\u{1F238}","aliases":["u7533"]},{"emoji":"\u{1F232}","aliases":["u7981"]},{"emoji":"\u{1F233}","aliases":["u7a7a"]},{"emoji":"\u{1F1FA}\u{1F1EC}","aliases":["uganda"]},{"emoji":"\u{1F1FA}\u{1F1E6}","aliases":["ukraine"]},{"emoji":"\u2614","aliases":["umbrella"]},{"emoji":"\u{1F612}","aliases":["unamused"]},{"emoji":"\u{1F51E}","aliases":["underage"]},{"emoji":"\u{1F984}","aliases":["unicorn"]},{"emoji":"\u{1F1E6}\u{1F1EA}","aliases":["united_arab_emirates"]},{"emoji":"\u{1F1FA}\u{1F1F3}","aliases":["united_nations"]},{"emoji":"\u{1F513}","aliases":["unlock"]},{"emoji":"\u{1F199}","aliases":["up"]},{"emoji":"\u{1F643}","aliases":["upside_down_face"]},{"emoji":"\u{1F1FA}\u{1F1FE}","aliases":["uruguay"]},{"emoji":"\u{1F1FA}\u{1F1F8}","aliases":["us"]},{"emoji":"\u{1F1FA}\u{1F1F2}","aliases":["us_outlying_islands"]},{"emoji":"\u{1F1FB}\u{1F1EE}","aliases":["us_virgin_islands"]},{"emoji":"\u{1F1FA}\u{1F1FF}","aliases":["uzbekistan"]},{"emoji":"\u270C\uFE0F","aliases":["v"]},{"emoji":"\u{1F9DB}","aliases":["vampire"]},{"emoji":"\u{1F9DB}\u200D\u2642\uFE0F","aliases":["vampire_man"]},{"emoji":"\u{1F9DB}\u200D\u2640\uFE0F","aliases":["vampire_woman"]},{"emoji":"\u{1F1FB}\u{1F1FA}","aliases":["vanuatu"]},{"emoji":"\u{1F1FB}\u{1F1E6}","aliases":["vatican_city"]},{"emoji":"\u{1F1FB}\u{1F1EA}","aliases":["venezuela"]},{"emoji":"\u{1F6A6}","aliases":["vertical_traffic_light"]},{"emoji":"\u{1F4FC}","aliases":["vhs"]},{"emoji":"\u{1F4F3}","aliases":["vibration_mode"]},{"emoji":"\u{1F4F9}","aliases":["video_camera"]},{"emoji":"\u{1F3AE}","aliases":["video_game"]},{"emoji":"\u{1F1FB}\u{1F1F3}","aliases":["vietnam"]},{"emoji":"\u{1F3BB}","aliases":["violin"]},{"emoji":"\u264D","aliases":["virgo"]},{"emoji":"\u{1F30B}","aliases":["volcano"]},{"emoji":"\u{1F3D0}","aliases":["volleyball"]},{"emoji":"\u{1F92E}","aliases":["vomiting_face"]},{"emoji":"\u{1F19A}","aliases":["vs"]},{"emoji":"\u{1F596}","aliases":["vulcan_salute"]},{"emoji":"\u{1F9C7}","aliases":["waffle"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}","aliases":["wales"]},{"emoji":"\u{1F6B6}","aliases":["walking"]},{"emoji":"\u{1F6B6}\u200D\u2642\uFE0F","aliases":["walking_man"]},{"emoji":"\u{1F6B6}\u200D\u2640\uFE0F","aliases":["walking_woman"]},{"emoji":"\u{1F1FC}\u{1F1EB}","aliases":["wallis_futuna"]},{"emoji":"\u{1F318}","aliases":["waning_crescent_moon"]},{"emoji":"\u{1F316}","aliases":["waning_gibbous_moon"]},{"emoji":"\u26A0\uFE0F","aliases":["warning"]},{"emoji":"\u{1F5D1}\uFE0F","aliases":["wastebasket"]},{"emoji":"\u231A","aliases":["watch"]},{"emoji":"\u{1F403}","aliases":["water_buffalo"]},{"emoji":"\u{1F93D}","aliases":["water_polo"]},{"emoji":"\u{1F349}","aliases":["watermelon"]},{"emoji":"\u{1F44B}","aliases":["wave"]},{"emoji":"\u3030\uFE0F","aliases":["wavy_dash"]},{"emoji":"\u{1F312}","aliases":["waxing_crescent_moon"]},{"emoji":"\u{1F6BE}","aliases":["wc"]},{"emoji":"\u{1F629}","aliases":["weary"]},{"emoji":"\u{1F492}","aliases":["wedding"]},{"emoji":"\u{1F3CB}\uFE0F","aliases":["weight_lifting"]},{"emoji":"\u{1F3CB}\uFE0F\u200D\u2642\uFE0F","aliases":["weight_lifting_man"]},{"emoji":"\u{1F3CB}\uFE0F\u200D\u2640\uFE0F","aliases":["weight_lifting_woman"]},{"emoji":"\u{1F1EA}\u{1F1ED}","aliases":["western_sahara"]},{"emoji":"\u{1F433}","aliases":["whale"]},{"emoji":"\u{1F40B}","aliases":["whale2"]},{"emoji":"\u{1F6DE}","aliases":["wheel"]},{"emoji":"\u2638\uFE0F","aliases":["wheel_of_dharma"]},{"emoji":"\u267F","aliases":["wheelchair"]},{"emoji":"\u2705","aliases":["white_check_mark"]},{"emoji":"\u26AA","aliases":["white_circle"]},{"emoji":"\u{1F3F3}\uFE0F","aliases":["white_flag"]},{"emoji":"\u{1F4AE}","aliases":["white_flower"]},{"emoji":"\u{1F468}\u200D\u{1F9B3}","aliases":["white_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B3}","aliases":["white_haired_woman"]},{"emoji":"\u{1F90D}","aliases":["white_heart"]},{"emoji":"\u2B1C","aliases":["white_large_square"]},{"emoji":"\u25FD","aliases":["white_medium_small_square"]},{"emoji":"\u25FB\uFE0F","aliases":["white_medium_square"]},{"emoji":"\u25AB\uFE0F","aliases":["white_small_square"]},{"emoji":"\u{1F533}","aliases":["white_square_button"]},{"emoji":"\u{1F940}","aliases":["wilted_flower"]},{"emoji":"\u{1F390}","aliases":["wind_chime"]},{"emoji":"\u{1F32C}\uFE0F","aliases":["wind_face"]},{"emoji":"\u{1FA9F}","aliases":["window"]},{"emoji":"\u{1F377}","aliases":["wine_glass"]},{"emoji":"\u{1FABD}","aliases":["wing"]},{"emoji":"\u{1F609}","aliases":["wink"]},{"emoji":"\u{1F6DC}","aliases":["wireless"]},{"emoji":"\u{1F43A}","aliases":["wolf"]},{"emoji":"\u{1F469}","aliases":["woman"]},{"emoji":"\u{1F469}\u200D\u{1F3A8}","aliases":["woman_artist"]},{"emoji":"\u{1F469}\u200D\u{1F680}","aliases":["woman_astronaut"]},{"emoji":"\u{1F9D4}\u200D\u2640\uFE0F","aliases":["woman_beard"]},{"emoji":"\u{1F938}\u200D\u2640\uFE0F","aliases":["woman_cartwheeling"]},{"emoji":"\u{1F469}\u200D\u{1F373}","aliases":["woman_cook"]},{"emoji":"\u{1F483}","aliases":["woman_dancing","dancer"]},{"emoji":"\u{1F926}\u200D\u2640\uFE0F","aliases":["woman_facepalming"]},{"emoji":"\u{1F469}\u200D\u{1F3ED}","aliases":["woman_factory_worker"]},{"emoji":"\u{1F469}\u200D\u{1F33E}","aliases":["woman_farmer"]},{"emoji":"\u{1F469}\u200D\u{1F37C}","aliases":["woman_feeding_baby"]},{"emoji":"\u{1F469}\u200D\u{1F692}","aliases":["woman_firefighter"]},{"emoji":"\u{1F469}\u200D\u2695\uFE0F","aliases":["woman_health_worker"]},{"emoji":"\u{1F469}\u200D\u{1F9BD}","aliases":["woman_in_manual_wheelchair"]},{"emoji":"\u{1F469}\u200D\u{1F9BC}","aliases":["woman_in_motorized_wheelchair"]},{"emoji":"\u{1F935}\u200D\u2640\uFE0F","aliases":["woman_in_tuxedo"]},{"emoji":"\u{1F469}\u200D\u2696\uFE0F","aliases":["woman_judge"]},{"emoji":"\u{1F939}\u200D\u2640\uFE0F","aliases":["woman_juggling"]},{"emoji":"\u{1F469}\u200D\u{1F527}","aliases":["woman_mechanic"]},{"emoji":"\u{1F469}\u200D\u{1F4BC}","aliases":["woman_office_worker"]},{"emoji":"\u{1F469}\u200D\u2708\uFE0F","aliases":["woman_pilot"]},{"emoji":"\u{1F93E}\u200D\u2640\uFE0F","aliases":["woman_playing_handball"]},{"emoji":"\u{1F93D}\u200D\u2640\uFE0F","aliases":["woman_playing_water_polo"]},{"emoji":"\u{1F469}\u200D\u{1F52C}","aliases":["woman_scientist"]},{"emoji":"\u{1F937}\u200D\u2640\uFE0F","aliases":["woman_shrugging"]},{"emoji":"\u{1F469}\u200D\u{1F3A4}","aliases":["woman_singer"]},{"emoji":"\u{1F469}\u200D\u{1F393}","aliases":["woman_student"]},{"emoji":"\u{1F469}\u200D\u{1F3EB}","aliases":["woman_teacher"]},{"emoji":"\u{1F469}\u200D\u{1F4BB}","aliases":["woman_technologist"]},{"emoji":"\u{1F9D5}","aliases":["woman_with_headscarf"]},{"emoji":"\u{1F469}\u200D\u{1F9AF}","aliases":["woman_with_probing_cane"]},{"emoji":"\u{1F473}\u200D\u2640\uFE0F","aliases":["woman_with_turban"]},{"emoji":"\u{1F470}\u200D\u2640\uFE0F","aliases":["woman_with_veil","bride_with_veil"]},{"emoji":"\u{1F45A}","aliases":["womans_clothes"]},{"emoji":"\u{1F452}","aliases":["womans_hat"]},{"emoji":"\u{1F93C}\u200D\u2640\uFE0F","aliases":["women_wrestling"]},{"emoji":"\u{1F6BA}","aliases":["womens"]},{"emoji":"\u{1FAB5}","aliases":["wood"]},{"emoji":"\u{1F974}","aliases":["woozy_face"]},{"emoji":"\u{1F5FA}\uFE0F","aliases":["world_map"]},{"emoji":"\u{1FAB1}","aliases":["worm"]},{"emoji":"\u{1F61F}","aliases":["worried"]},{"emoji":"\u{1F527}","aliases":["wrench"]},{"emoji":"\u{1F93C}","aliases":["wrestling"]},{"emoji":"\u270D\uFE0F","aliases":["writing_hand"]},{"emoji":"\u274C","aliases":["x"]},{"emoji":"\u{1FA7B}","aliases":["x_ray"]},{"emoji":"\u{1F9F6}","aliases":["yarn"]},{"emoji":"\u{1F971}","aliases":["yawning_face"]},{"emoji":"\u{1F7E1}","aliases":["yellow_circle"]},{"emoji":"\u{1F49B}","aliases":["yellow_heart"]},{"emoji":"\u{1F7E8}","aliases":["yellow_square"]},{"emoji":"\u{1F1FE}\u{1F1EA}","aliases":["yemen"]},{"emoji":"\u{1F4B4}","aliases":["yen"]},{"emoji":"\u262F\uFE0F","aliases":["yin_yang"]},{"emoji":"\u{1FA80}","aliases":["yo_yo"]},{"emoji":"\u{1F60B}","aliases":["yum"]},{"emoji":"\u{1F1FF}\u{1F1F2}","aliases":["zambia"]},{"emoji":"\u{1F92A}","aliases":["zany_face"]},{"emoji":"\u26A1","aliases":["zap"]},{"emoji":"\u{1F993}","aliases":["zebra"]},{"emoji":"0\uFE0F\u20E3","aliases":["zero"]},{"emoji":"\u{1F1FF}\u{1F1FC}","aliases":["zimbabwe"]},{"emoji":"\u{1F910}","aliases":["zipper_mouth_face"]},{"emoji":"\u{1F9DF}","aliases":["zombie"]},{"emoji":"\u{1F9DF}\u200D\u2642\uFE0F","aliases":["zombie_man"]},{"emoji":"\u{1F9DF}\u200D\u2640\uFE0F","aliases":["zombie_woman"]},{"emoji":"\u{1F4A4}","aliases":["zzz"]}]');const{assetUrlPrefix:YC,customEmojis:B_}=window.config,qg={...B_};for(const{emoji:ei,aliases:ti}of Pg)for(const ii of ti||[])qg[ii]=ei;const H_=Object.keys(qg).sort((ei,ti)=>ei==="+1"||ei==="-1"?-1:ti==="+1"||ti==="-1"?1:ei.localeCompare(ti)),$_={};for(const ei of H_)$_[ei]=qg[ei];function JC(ei){let ti;return Object.hasOwn(B_,ei)?ti=`<img alt=":${ei}:" src="${YC}/img/emoji/${ei}.png">`:ti=Ng(ei),`<span class="emoji" title=":${ei}:">${ti}</span>`}function Ng(ei){return $_[ei]||`:${ei}:`}function ZC({mentions:ei,emoji:ti}){const ii=[];return ti&&ii.push({trigger:":",requireLeadingSpace:!0,values:(ni,si)=>{const ai=[];for(const li of H_)if(li.includes(ni)&&(ai.push(li),ai.length>5))break;si(ai)},lookup:ni=>ni,selectTemplate:ni=>ni===void 0?null:Ng(ni.original),menuItemTemplate:ni=>`<div class="tribute-item">${JC(ni.original)}<span>${Ua(ni.original)}</span></div>`}),ei&&ii.push({values:window.config.mentionValues??[],requireLeadingSpace:!0,menuItemTemplate:ni=>`
<div class="tribute-item">
<img src="${Ua(ni.original.avatar)}" class="tw-mr-2"/>
<span class="name">${Ua(ni.original.name)}</span>
${ni.original.fullname&&ni.original.fullname!==""?`<span class="fullname">${Ua(ni.original.fullname)}</span>`:""}
</div>
`}),ii}async function eE(ei,{mentions:ti,emoji:ii}={}){const{default:ni}=await __webpack_require__.e("tribute").then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/tributejs/dist/tribute.min.js",19)),si=ZC({mentions:ti,emoji:ii}),ai=new ni({collection:si,noMatchTemplate:""});return ai.attach(ei),ai}async function tE(ei){const ti=new Uint8Array(await ei.arrayBuffer()),ii=[];if(ti.length<12)return ii;const ni=new DataView(ti.buffer);if(ni.getBigUint64(0)!==9894494448401390090n)return ii;const si=new TextDecoder;let ai=8;for(;ai<ti.length;){const li=ni.getUint32(ai);ii.push({name:si.decode(ti.slice(ai+4,ai+8)),data:ti.slice(ai+8,ai+8+li)}),ai+=li+12}return ii}async function iE(ei){let ti=0,ii=1;if(ei.type==="image/png")try{for(const{name:ni,data:si}of await tE(ei)){const ai=new DataView(si.buffer);ni==="IHDR"&&si?.length?ti=ai.getUint32(0):ni==="pHYs"&&si?.length&&ai.getUint8(8)===1&&(ii=Math.round(ai.getUint32(0)/39.3701)/72)}}catch{}return{width:ti,dppx:ii}}async function nE(ei,ti){const ii=new FormData;return ii.append("file",ei,ei.name),await(await(0,so.LO)(ti,{data:ii})).json()}function sp(ei){ei.dispatchEvent(new CustomEvent("ce-editor-content-changed",{bubbles:!0}))}class sE{constructor(ti){this.editor=ti}insertPlaceholder(ti){const ii=this.editor,ni=ii.selectionStart,si=ii.selectionEnd;ii.value=ii.value.substring(0,ni)+ti+ii.value.substring(si),ii.selectionStart=ni,ii.selectionEnd=ni+ti.length,ii.focus(),sp(ii)}replacePlaceholder(ti,ii){const ni=this.editor,si=ni.selectionStart,ai=ni.selectionEnd;ni.value.substring(si,ai)===ti?(ni.value=ni.value.substring(0,si)+ii+ni.value.substring(ai),ni.selectionEnd=si+ii.length):(ni.value=ni.value.replace(ti,ii),ni.selectionEnd-=ti.length,ni.selectionEnd+=ii.length),ni.selectionStart=ni.selectionEnd,ni.focus(),sp(ni)}}class rE{constructor(ti){this.editor=ti}insertPlaceholder(ti){const ii=this.editor,ni=ii.getCursor("start"),si=ii.getCursor("end");ii.replaceSelection(ti),si.ch=ni.ch+ti.length,ii.setSelection(ni,si),ii.focus(),sp(ii.getTextArea())}replacePlaceholder(ti,ii){const ni=this.editor,si=ni.getCursor("end");ni.getSelection()===ti?ni.replaceSelection(ii):ni.setValue(ni.getValue().replace(ti,ii)),si.ch-=ti.length,si.ch+=ii.length,ni.setSelection(si,si),ni.focus(),sp(ni.getTextArea())}}async function V_(ei,ti,ii,ni){const si=ti.getAttribute("data-upload-url"),ai=ti.querySelector(".files");if(!(!ti||!si||!ai||!ii.length)){ni.preventDefault(),ni.stopPropagation();for(const li of ii){const fi=li.name.slice(0,li.name.lastIndexOf(".")),hi=`![${fi}](uploading ...)`;ei.insertPlaceholder(hi);const{uuid:_i}=await nE(li,si),{width:ji,dppx:Mi}=await iE(li);let Ki;if(ji>0&&Mi>1){const hn=`attachments/${_i}`;Ki=`<img width="${Math.round(ji/Mi)}" alt="${Ua(fi)}" src="${Ua(hn)}">`}else{const hn=`/attachments/${_i}`;Ki=`![${fi}](${hn})`}ei.replacePlaceholder(hi,Ki);const on=document.createElement("input");on.setAttribute("name","files"),on.setAttribute("type","hidden"),on.setAttribute("id",_i),on.value=_i,ai.append(on)}}}function oE(ei,ti,ii){const{value:ni,selectionStart:si,selectionEnd:ai,_shiftDown:li}=ei;if(li)return;const fi=ni.substring(si,ai),hi=ti.trim();fi&&QS(hi)&&(ii.stopPropagation(),ii.preventDefault(),(0,zn.Pj)(ei,`[${fi}](${hi})`))}function aE(ei,ti){ei.codemirror.on("paste",(ii,ni)=>{const{images:si}=(0,zn.l1)(ni);si.length&&V_(new rE(ei.codemirror),ti,si,ni)})}function lE(ei,ti){ei.addEventListener("paste",ii=>{const{images:ni,text:si}=(0,zn.l1)(ii);ni.length?V_(new sE(ei),ti,ni,ii):si&&oE(ei,si,ii)})}var cE=__webpack_require__("./node_modules/tinycolor2/esm/tinycolor.js");const U_={},W_={},uE={fontFamily:"var(--fonts-monospace)",fontSize:14,guides:{bracketPairs:!1,indentation:!1},links:!1,minimap:{enabled:!1},occurrencesHighlight:"off",overviewRulerLanes:0,renderLineHighlight:"all",renderLineHighlightOnlyWhenFocus:!0,rulers:!1,scrollbar:{horizontalScrollbarSize:6,verticalScrollbarSize:6},scrollBeyondLastLine:!1,automaticLayout:!0};function fE(ei){try{return JSON.parse(ei.getAttribute("data-editorconfig"))}catch{return null}}function dE(ei){for(const{filenames:ti,extensions:ii,id:ni}of ei.languages.getLanguages()){for(const si of ti||[])U_[si]=ni;for(const si of ii||[])W_[si]=ni}}function z_(ei){return U_[ei]||W_[(0,na.LC)(ei)]||"plaintext"}function hE(ei,ti,ii,ni){ti.updateOptions(X_(ii,ni));const si=ti.getModel(),ai=si.getLanguageId(),li=z_(ii);ai!==li&&ei.editor.setModelLanguage(si,li)}function mE(ei){window.codeEditors||(window.codeEditors=[]),window.codeEditors.includes(ei)||window.codeEditors.push(ei)}async function K_(ei,ti,ii){const ni=await __webpack_require__.e("monaco").then(__webpack_require__.bind(__webpack_require__,"include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.main.js"));dE(ni);let{language:si,...ai}=ii;si||(si=z_(ti));const li=document.createElement("div");li.className="monaco-editor-container",ei.parentNode.append(li);const fi=window.getComputedStyle(document.documentElement),hi=Ki=>(0,cE.A)(fi.getPropertyValue(Ki).trim()).toString("hex6");ni.editor.defineTheme("gitea",{base:(0,na.g4)()?"vs-dark":"vs",inherit:!0,rules:[{background:hi("--color-code-bg")}],colors:{"editor.background":hi("--color-code-bg"),"editor.foreground":hi("--color-text"),"editor.inactiveSelectionBackground":hi("--color-primary-light-4"),"editor.lineHighlightBackground":hi("--color-editor-line-highlight"),"editor.selectionBackground":hi("--color-primary-light-3"),"editor.selectionForeground":hi("--color-primary-light-3"),"editorLineNumber.background":hi("--color-code-bg"),"editorLineNumber.foreground":hi("--color-secondary-dark-6"),"editorWidget.background":hi("--color-body"),"editorWidget.border":hi("--color-secondary"),"input.background":hi("--color-input-background"),"input.border":hi("--color-input-border"),"input.foreground":hi("--color-input-text"),"scrollbar.shadow":hi("--color-shadow"),"progressBar.background":hi("--color-primary"),focusBorder:"#0000"}}),ni.languages.register({id:"vs.editor.nullLanguage"}),ni.languages.setLanguageConfiguration("vs.editor.nullLanguage",{});const _i=ni.editor.create(li,{value:ei.value,theme:"gitea",language:si,...ai});ni.editor.addKeybindingRules([{keybinding:ni.KeyCode.Enter,command:null}]),_i.getModel().onDidChangeContent(()=>{ei.value=_i.getValue({preserveBOM:!0}),ei.dispatchEvent(new Event("change"))}),mE(_i);const Mi=document.querySelector(".editor-loading");return Mi&&Mi.remove(),{monaco:ni,editor:_i}}function X_(ei,ti){return{wordWrap:(ti||[]).includes((0,na.LC)(ei))?"on":"off"}}function G_(ei){const ti=document.querySelector('a[data-tab="preview"]');if(ti)if(ei){const ii=(ti.getAttribute("data-url")||"").replace(/(.*)\/.*/,"$1/markup");ti.setAttribute("data-url",ii),ti.style.display=""}else ti.style.display="none",ti.classList.contains("active")&&document.querySelector('a[data-tab="write"]').click()}async function pE(ei,ti){const ii=(0,na.P8)(ti.value),ni=new Set((ei.getAttribute("data-previewable-extensions")||"").split(",")),si=(ei.getAttribute("data-line-wrap-extensions")||"").split(","),ai=ni.has((0,na.LC)(ii)),li=fE(ti);G_(ai);const{monaco:fi,editor:hi}=await K_(ei,ii,{...uE,...X_(ti.value,si),...gE(li)});return ti.addEventListener("input",(0,zn.nm)(()=>{const _i=ti.value,ji=ni.has((0,na.LC)(_i));G_(ji),hE(fi,hi,_i,si)})),hi}function gE(ei){if(!(0,na.Gv)(ei))return{};const ti={};return ti.detectIndentation=!("indent_style"in ei)||!("indent_size"in ei),"indent_size"in ei&&(ti.indentSize=Number(ei.indent_size)),"tab_width"in ei&&(ti.tabSize=Number(ei.tab_width)||ti.indentSize),"max_line_length"in ei&&(ti.rulers=[Number(ei.max_line_length)]),ti.trimAutoWhitespace=ei.trim_trailing_whitespace===!0,ti.insertSpaces=ei.indent_style==="space",ti.useTabStops=ei.indent_style==="tab",ti}function vE(ei){const ti=ei.find(".repo-editor-menu");ti.find(".item").tab();const ii=ti.find('a[data-tab="preview"]');ii.length&&ii.on("click",async function(){const ni=Hi(this);let si=`${ni.data("context")}/`;const ai=ni.data("markup-mode")||"comment",li=ei.find("input#tree_path");li.length>0&&(si+=li.val()),si=si.substring(0,si.lastIndexOf("/"));const fi=new FormData;fi.append("mode",ai),fi.append("context",si),fi.append("text",ei.find('.tab[data-tab="write"] textarea').val()),fi.append("file_path",li.val());try{const _i=await(await(0,so.LO)(ni.data("url"),{data:fi})).text(),ji=ei.find('.tab[data-tab="preview"]');ji.length&&Q_(ji,_i)}catch(hi){console.error("Error:",hi)}})}function bE(){const ei=Hi(".repository .edit.form");ei&&vE(ei)}function _E(ei){const ti=ei.get(0);let ii=0;if("selectionStart"in ti)ii=ti.selectionStart;else if("selection"in document){ti.focus();const ni=document.selection.createRange(),si=document.selection.createRange().text.length;ni.moveStart("character",-ti.value.length),ii=ni.text.length-si}return ii}function yE(){bE(),Hi(".js-quick-pull-choice-option").on("change",function(){Hi(this).val()==="commit-to-new-branch"?((0,zn.fi)(".quick-pull-branch-name"),document.querySelector(".quick-pull-branch-name input").required=!0):((0,zn.y9)(".quick-pull-branch-name"),document.querySelector(".quick-pull-branch-name input").required=!1),Hi("#commit-button").text(this.getAttribute("button_text"))});const ei=ni=>{const si=[];Hi(".breadcrumb span.section").each(function(){const ai=Hi(this);ai.find("a").length?si.push(ai.find("a").text()):si.push(ai.text())}),ni.val()&&si.push(ni.val()),Hi("#tree_path").val(si.join("/"))},ti=Hi("#file-name");ti.on("input",function(){const ni=Hi(this).val().split("/");if(ni.length>1)for(let si=0;si<ni.length;++si){const ai=ni[si];si<ni.length-1?ai.length&&(Hi(`<span class="section"><a href="#">${Ua(ai)}</a></span>`).insertBefore(Hi(this)),Hi('<div class="breadcrumb-divider">/</div>').insertBefore(Hi(this))):Hi(this).val(ai),this.setSelectionRange(0,0)}ei(Hi(this))}),ti.on("keydown",function(ni){const si=Hi(".breadcrumb span.section");if(ni.code==="Backspace"&&_E(Hi(this))===0&&si.length>0){ni.preventDefault();const ai=Hi(".breadcrumb .breadcrumb-divider"),li=si.last().find("a").text();Hi(this).val(li+Hi(this).val()),this.setSelectionRange(li.length,li.length),si.last().remove(),ai.last().remove(),ei(Hi(this))}});const ii=Hi(".repository.editor textarea#edit_area");ii.length&&(async()=>{const ni=await pE(ii[0],ti[0]),si=document.getElementById("commit-button"),ai=Hi(".ui.edit.form"),li="dirty-file";Hi('input[name="page_has_posted"]').val()!=="true"&&(si.disabled=!0),ai.areYouSure({silent:!0,dirtyClass:li,fieldSelector:":input:not(.commit-form-wrapper :input)",change(_i){const ji=_i[0]?.classList.contains(li);si.disabled=!ji}});const hi=new URLSearchParams(window.location.search).get("value");hi&&ni.setValue(hi),si?.addEventListener("click",_i=>{ii.val()||(Hi("#edit-empty-content-modal").modal({onApprove(){Hi(".edit.form").trigger("submit")}}).modal("show"),_i.preventDefault())})})()}function Q_(ei,ti){ei.html(ti),Zm();const ii=ei.find("p .ref-issue");vg(ii)}function wE(ei,ti){const ii={"|":"|","heading-1":{action:ei.toggleHeading1,icon:(0,Io.JW)("octicon-heading"),title:"Heading 1"},"heading-2":{action:ei.toggleHeading2,icon:(0,Io.JW)("octicon-heading"),title:"Heading 2"},"heading-3":{action:ei.toggleHeading3,icon:(0,Io.JW)("octicon-heading"),title:"Heading 3"},"heading-smaller":{action:ei.toggleHeadingSmaller,icon:(0,Io.JW)("octicon-heading"),title:"Decrease Heading"},"heading-bigger":{action:ei.toggleHeadingBigger,icon:(0,Io.JW)("octicon-heading"),title:"Increase Heading"},bold:{action:ei.toggleBold,icon:(0,Io.JW)("octicon-bold"),title:"Bold"},italic:{action:ei.toggleItalic,icon:(0,Io.JW)("octicon-italic"),title:"Italic"},strikethrough:{action:ei.toggleStrikethrough,icon:(0,Io.JW)("octicon-strikethrough"),title:"Strikethrough"},quote:{action:ei.toggleBlockquote,icon:(0,Io.JW)("octicon-quote"),title:"Quote"},code:{action:ei.toggleCodeBlock,icon:(0,Io.JW)("octicon-code"),title:"Code"},link:{action:ei.drawLink,icon:(0,Io.JW)("octicon-link"),title:"Link"},"unordered-list":{action:ei.toggleUnorderedList,icon:(0,Io.JW)("octicon-list-unordered"),title:"Unordered List"},"ordered-list":{action:ei.toggleOrderedList,icon:(0,Io.JW)("octicon-list-ordered"),title:"Ordered List"},image:{action:ei.drawImage,icon:(0,Io.JW)("octicon-image"),title:"Image"},table:{action:ei.drawTable,icon:(0,Io.JW)("octicon-table"),title:"Table"},"horizontal-rule":{action:ei.drawHorizontalRule,icon:(0,Io.JW)("octicon-horizontal-rule"),title:"Horizontal Rule"},preview:{action:ei.togglePreview,icon:(0,Io.JW)("octicon-eye"),title:"Preview"},fullscreen:{action:ei.toggleFullScreen,icon:(0,Io.JW)("octicon-screen-full"),title:"Fullscreen"},"side-by-side":{action:ei.toggleSideBySide,icon:(0,Io.JW)("octicon-columns"),title:"Side by Side"},"gitea-checkbox-empty":{action(ni){const si=ni.codemirror;si.replaceSelection(`
- [ ] ${si.getSelection()}`),si.focus()},icon:(0,Io.JW)("gitea-empty-checkbox"),title:"Add Checkbox (empty)"},"gitea-checkbox-checked":{action(ni){const si=ni.codemirror;si.replaceSelection(`
- [x] ${si.getSelection()}`),si.focus()},icon:(0,Io.JW)("octicon-checkbox"),title:"Add Checkbox (checked)"},"gitea-switch-to-textarea":{action:()=>{ti.userPreferredEditor="textarea",ti.switchToTextarea()},icon:(0,Io.JW)("octicon-arrow-switch"),title:"Revert to simple textarea"},"gitea-code-inline":{action(ni){const si=ni.codemirror,ai=si.getSelection();if(si.replaceSelection(`\`${ai}\``),!ai){const li=si.getCursor();si.setCursor(li.line,li.ch-1)}si.focus()},icon:(0,Io.JW)("octicon-chevron-right"),title:"Add Inline Code"}};for(const[ni,si]of Object.entries(ii))typeof si!="string"&&(si.name=ni);return ii}const Y_=6;function J_(ei){const ti=new Map(Array.from(ei.entries()).sort((ii,ni)=>ii[1]-ni[1]));return Array.from(ti.keys()).slice(0,Y_)}function xE(ei){const ti=ei.toLowerCase().replaceAll("_"," ");if(!ti)return Pg.slice(0,Y_).map(ni=>ni.aliases[0]);const ii=new Map;for(const{aliases:ni}of Pg){const si=ni[0];for(const[ai,li]of ni.entries()){const fi=li.replaceAll("_"," ").indexOf(ti);if(fi===-1)continue;const hi=ii.get(si),_i=fi+ai;ii.set(si,hi?hi-_i:_i)}}return J_(ii)}function jE(ei){const ti=ei.toLowerCase(),ii=new Map;for(const ni of window.config.mentionValues??[]){const si=ni.key.toLowerCase().indexOf(ti);if(si===-1)continue;const ai=ii.get(ni);ii.set(ni,ai?ai-si:si)}return J_(ii)}function SE(ei){ei?.addEventListener("text-expander-change",({detail:{key:ti,provide:ii,text:ni}})=>{if(ti===":"){const si=xE(ni);if(!si.length)return ii({matched:!1});const ai=document.createElement("ul");ai.classList.add("suggestions");for(const li of si){const fi=Ng(li),hi=document.createElement("li");hi.setAttribute("role","option"),hi.setAttribute("data-value",fi),hi.textContent=`${fi} ${li}`,ai.append(hi)}ii({matched:!0,fragment:ai})}else if(ti==="@"){const si=jE(ni);if(!si.length)return ii({matched:!1});const ai=document.createElement("ul");ai.classList.add("suggestions");for(const{value:li,name:fi,fullname:hi,avatar:_i}of si){const ji=document.createElement("li");ji.setAttribute("role","option"),ji.setAttribute("data-value",`${ti}${li}`);const Mi=document.createElement("img");Mi.src=_i,ji.append(Mi);const Ki=document.createElement("span");if(Ki.textContent=fi,ji.append(Ki),hi&&hi.toLowerCase()!==fi){const on=document.createElement("span");on.classList.add("fullname"),on.textContent=hi,ji.append(on)}ai.append(ji)}ii({matched:!0,fragment:ai})}}),ei?.addEventListener("text-expander-value",({detail:ti})=>{if(ti?.item){const ii=ti.key==="@"?" ":"";ti.value=`${ti.item.getAttribute("data-value")}${ii}`}})}let sh=0;function Z_(ei){return ei.value?!0:((0,zn.EH)(ei)?(ei.required=!0,ei.closest("form")?.reportValidity()):pl("Require non-empty content"),!1)}class CE{constructor(ti,ii={}){ti._giteaComboMarkdownEditor=this,this.options=ii,this.container=ti}async init(){this.prepareEasyMDEToolbarActions(),this.setupContainer(),this.setupTab(),this.setupDropzone(),this.setupTextarea(),await this.switchToUserPreference()}applyEditorHeights(ti,ii){ii&&(ii.minHeight&&(ti.style.minHeight=ii.minHeight),ii.height&&(ti.style.height=ii.height),ii.maxHeight&&(ti.style.maxHeight=ii.maxHeight))}setupContainer(){SE(this.container.querySelector("text-expander")),this.container.addEventListener("ce-editor-content-changed",ti=>this.options?.onContentChanged?.(this,ti))}setupTextarea(){this.textarea=this.container.querySelector(".markdown-text-editor"),this.textarea._giteaComboMarkdownEditor=this,this.textarea.id=`_combo_markdown_editor_${String(sh++)}`,this.textarea.addEventListener("input",ai=>this.options?.onContentChanged?.(this,ai)),this.applyEditorHeights(this.textarea,this.options.editorHeights),this.textarea.getAttribute("data-disable-autosize")!=="true"&&(this.textareaAutosize=(0,zn.DS)(this.textarea,{viewportMarginBottom:130})),this.textareaMarkdownToolbar=this.container.querySelector("markdown-toolbar"),this.textareaMarkdownToolbar.setAttribute("for",this.textarea.id);for(const ai of this.textareaMarkdownToolbar.querySelectorAll(".markdown-toolbar-button"))ai.setAttribute("role","button"),ai.nodeName==="BUTTON"&&!ai.getAttribute("type")&&ai.setAttribute("type","button");this.textarea.addEventListener("keydown",ai=>{ai.shiftKey&&(ai.target._shiftDown=!0)}),this.textarea.addEventListener("keyup",ai=>{ai.shiftKey||(ai.target._shiftDown=!1)});const ti=this.container.querySelector(".markdown-switch-monospace"),ii=localStorage?.getItem("markdown-editor-monospace")==="true",ni=ti.getAttribute(ii?"data-disable-text":"data-enable-text");ti.setAttribute("data-tooltip-content",ni),ti.setAttribute("aria-checked",String(ii)),ti?.addEventListener("click",ai=>{ai.preventDefault();const li=localStorage?.getItem("markdown-editor-monospace")!=="true";localStorage.setItem("markdown-editor-monospace",String(li)),this.textarea.classList.toggle("tw-font-mono",li);const fi=ti.getAttribute(li?"data-disable-text":"data-enable-text");ti.setAttribute("data-tooltip-content",fi),ti.setAttribute("aria-checked",String(li))}),this.container.querySelector(".markdown-switch-easymde")?.addEventListener("click",async ai=>{ai.preventDefault(),this.userPreferredEditor="easymde",await this.switchToEasyMDE()}),this.dropzone&&lE(this.textarea,this.dropzone)}setupDropzone(){this.container.getAttribute("data-dropzone-parent-container")&&(this.dropzone=this.container.closest(this.container.getAttribute("data-dropzone-parent-container"))?.querySelector(".dropzone"))}setupTab(){const ti=this.container.querySelectorAll(".tabular.menu > .item");this.tabEditor=Array.from(ti).find(si=>si.getAttribute("data-tab-for")==="markdown-writer"),this.tabPreviewer=Array.from(ti).find(si=>si.getAttribute("data-tab-for")==="markdown-previewer"),this.tabEditor.setAttribute("data-tab",`markdown-writer-${sh}`),this.tabPreviewer.setAttribute("data-tab",`markdown-previewer-${sh}`);const ii=this.container.querySelector('.ui.tab[data-tab-panel="markdown-writer"]'),ni=this.container.querySelector('.ui.tab[data-tab-panel="markdown-previewer"]');ii.setAttribute("data-tab",`markdown-writer-${sh}`),ni.setAttribute("data-tab",`markdown-previewer-${sh}`),sh++,this.tabEditor.addEventListener("click",()=>{requestAnimationFrame(()=>{this.focus()})}),Hi(ti).tab(),this.previewUrl=this.tabPreviewer.getAttribute("data-preview-url"),this.previewContext=this.tabPreviewer.getAttribute("data-preview-context"),this.previewMode=this.options.previewMode??"comment",this.previewWiki=this.options.previewWiki??!1,this.tabPreviewer.addEventListener("click",async()=>{const si=new FormData;si.append("mode",this.previewMode),si.append("context",this.previewContext),si.append("text",this.value()),si.append("wiki",this.previewWiki);const li=await(await(0,so.LO)(this.previewUrl,{data:si})).text();Q_(Hi(ni),li)})}switchTabToEditor(){this.tabEditor.click()}prepareEasyMDEToolbarActions(){this.easyMDEToolbarDefault=["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","heading-bigger","heading-smaller","|","code","quote","|","gitea-checkbox-empty","gitea-checkbox-checked","|","unordered-list","ordered-list","|","link","image","table","horizontal-rule","|","gitea-switch-to-textarea"]}parseEasyMDEToolbar(ti,ii){this.easyMDEToolbarActions=this.easyMDEToolbarActions||wE(ti,this);const ni=[];for(const si of ii){const ai=this.easyMDEToolbarActions[si];if(!ai)throw new Error(`Unknown EasyMDE toolbar action ${si}`);ni.push(ai)}return ni}async switchToUserPreference(){this.userPreferredEditor==="easymde"?await this.switchToEasyMDE():this.switchToTextarea()}switchToTextarea(){this.easyMDE&&((0,zn.fi)(this.textareaMarkdownToolbar),this.easyMDE&&(this.easyMDE.toTextArea(),this.easyMDE=null))}async switchToEasyMDE(){if(this.easyMDE)return;const{default:ti}=await __webpack_require__.e("easymde").then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/easymde/src/js/easymde.js",19)),ii={autoDownloadFontAwesome:!1,element:this.textarea,forceSync:!0,renderingConfig:{singleLineBreaks:!1},indentWithTabs:!1,tabSize:4,spellChecker:!1,inputStyle:"contenteditable",nativeSpellcheck:!0,...this.options.easyMDEOptions};ii.toolbar=this.parseEasyMDEToolbar(ti,ii.toolbar??this.easyMDEToolbarDefault),this.easyMDE=new ti(ii),this.easyMDE.codemirror.on("change",(...ni)=>{this.options?.onContentChanged?.(this,...ni)}),this.easyMDE.codemirror.setOption("extraKeys",{"Cmd-Enter":ni=>ep(ni.getTextArea()),"Ctrl-Enter":ni=>ep(ni.getTextArea()),Enter:ni=>{const si=document.querySelector(".tribute-container");(!si||si.style.display==="none")&&ni.execCommand("newlineAndIndent")},Up:ni=>{const si=document.querySelector(".tribute-container");if(!si||si.style.display==="none")return ni.execCommand("goLineUp")},Down:ni=>{const si=document.querySelector(".tribute-container");if(!si||si.style.display==="none")return ni.execCommand("goLineDown")}}),this.applyEditorHeights(this.container.querySelector(".CodeMirror-scroll"),this.options.editorHeights),await eE(this.easyMDE.codemirror.getInputField(),{mentions:!0,emoji:!0}),aE(this.easyMDE,this.dropzone),(0,zn.y9)(this.textareaMarkdownToolbar)}value(ti=void 0){if(ti===void 0)return this.easyMDE?this.easyMDE.value():this.textarea.value;this.easyMDE?this.easyMDE.value(ti):this.textarea.value=ti,this.textareaAutosize?.resizeToFit()}focus(){this.easyMDE?this.easyMDE.codemirror.focus():this.textarea.focus()}moveCursorToEnd(){this.textarea.focus(),this.textarea.setSelectionRange(this.textarea.value.length,this.textarea.value.length),this.easyMDE&&(this.easyMDE.codemirror.focus(),this.easyMDE.codemirror.setCursor(this.easyMDE.codemirror.lineCount(),0))}get userPreferredEditor(){return window.localStorage.getItem(`markdown-editor-${this.options.useScene??"default"}`)}set userPreferredEditor(ti){window.localStorage.setItem(`markdown-editor-${this.options.useScene??"default"}`,ti)}}function Bg(ei){return ei instanceof Hi&&(ei=ei[0]),ei?._giteaComboMarkdownEditor}async function Of(ei,ti={}){if(ei instanceof Hi){if(ei.length!==1)throw new Error("initComboMarkdownEditor: container must be a single element");ei=ei[0]}if(!ei)throw new Error("initComboMarkdownEditor: container is null");const ii=new CE(ei,ti);return await ii.init(),ii}const{appSubUrl:rp}=window.config;function EE(){Hi(document).on("click",".issue-add-time",()=>{Hi(".issue-start-time-modal").modal({duration:200,onApprove(){Hi("#add_time_manual_form").trigger("submit")}}).modal("show"),Hi(".issue-start-time-modal input").on("keydown",ei=>{(ei.keyCode||ei.key)===13&&Hi("#add_time_manual_form").trigger("submit")})}),Hi(document).on("click",".issue-start-time, .issue-stop-time",()=>{Hi("#toggle_stopwatch_form").trigger("submit")}),Hi(document).on("click",".issue-cancel-time",()=>{Hi("#cancel_stopwatch_form").trigger("submit")}),Hi(document).on("click","button.issue-delete-time",function(){const ei=`.issue-delete-time-modal[data-id="${Hi(this).data("id")}"]`;Hi(ei).modal({duration:200,onApprove(){Hi(`${ei} form`).trigger("submit")}}).modal("show")})}async function ey(ei){(0,zn.y9)("#deadline-err-invalid-date"),document.getElementById("deadline-loader")?.classList.add("is-loading");let ti=null;if(ei!==""){const ii=Date.parse(ei);if(Number.isNaN(ii))return document.getElementById("deadline-loader")?.classList.remove("is-loading"),(0,zn.fi)("#deadline-err-invalid-date"),!1;ti=new Date(ii)}try{if((await(0,so.LO)(document.getElementById("update-issue-deadline-form").getAttribute("action"),{data:{due_date:ti}})).ok)window.location.reload();else throw new Error("Invalid response")}catch(ii){console.error(ii),document.getElementById("deadline-loader").classList.remove("is-loading"),(0,zn.fi)("#deadline-err-invalid-date")}}function kE(){Hi(document).on("click",".issue-due-edit",()=>{(0,zn.oi)("#deadlineForm")}),Hi(document).on("click",".issue-due-remove",()=>{ey("")}),Hi(document).on("submit",".issue-due-form",()=>(ey(Hi("#deadlineDate").val()),!1))}function ty(ei){const ti=ei.getAttribute("href"),ni=`labels=((?:-?[0-9]+%2c)*)(${ei.getAttribute("data-label-id")})((?:%2c-?[0-9]+)*)&`,si="labels=$1-$2$3&";window.location=ti.replace(new RegExp(ni),si)}function AE(){const ei=Hi("#repolink").val(),ti=Hi("#repoId").val(),ii=Hi("#crossRepoSearch").val(),ni=Hi("#type").val();let si=`${rp}/${ei}/issues/search?q={query}&type=${ni}`;ii==="true"&&(si=`${rp}/issues/search?q={query}&priority_repo_id=${ti}&type=${ni}`),Hi("#new-dependency-drop-list").dropdown({apiSettings:{url:si,onResponse(ai){const li={success:!0,results:[]},fi=Hi("#new-dependency-drop-list").data("issue-id");return Hi.each(ai,(hi,_i)=>{_i.id!==fi&&li.results.push({name:`<div class="gt-ellipsis">#${_i.number} ${Ua(_i.title)}</div>
<div class="text small gt-word-break">${Ua(_i.repository.full_name)}</div>`,value:_i.id})}),li},cache:!1},fullTextSearch:!0}),Hi(".menu a.label-filter-item").each(function(){Hi(this).on("click",function(ai){ai.altKey&&(ai.preventDefault(),ty(this))})}),Hi(".menu .ui.dropdown.label-filter").on("keydown",ai=>{if(ai.altKey&&ai.keyCode===13){const li=document.querySelector(".menu .ui.dropdown.label-filter .menu .item.selected");li&&ty(li)}}),Hi(".ui.dropdown.label-filter, .ui.dropdown.select-label").dropdown("setting",{hideDividers:"empty"}).dropdown("refreshItems")}function TE(){document.addEventListener("click",async ei=>{if(!ei.target.matches(".delete-comment"))return;ei.preventDefault();const ti=ei.target;if(window.confirm(ti.getAttribute("data-locale")))try{if(!(await(0,so.LO)(ti.getAttribute("data-url"))).ok)throw new Error("Failed to delete comment");const ni=ti.closest(".conversation-holder"),si=ti.closest(".timeline-item"),ai=ti.closest(".timeline-item-group");if(ni?.querySelector(".pending-label")){const li=document.querySelector("#review-box .review-comments-counter");let fi=parseInt(li?.getAttribute("data-pending-comment-number"))-1||0;fi=Math.max(fi,0),li.setAttribute("data-pending-comment-number",fi),li.textContent=String(fi)}if(document.getElementById(ti.getAttribute("data-comment-id"))?.remove(),ni&&!ni.querySelector(".comment")){const li=ni.getAttribute("data-path"),fi=ni.getAttribute("data-side"),hi=ni.getAttribute("data-idx");ni.closest("tr").getAttribute("data-line-type")==="same"?document.querySelector(`[data-path="${li}"] .add-code-comment[data-idx="${hi}"]`).classList.remove("tw-invisible"):document.querySelector(`[data-path="${li}"] .add-code-comment[data-side="${fi}"][data-idx="${hi}"]`).classList.remove("tw-invisible"),ni.remove()}!ai?.querySelector(".timeline-item.comment")&&!si?.querySelector(".conversation-holder")&&ai?.querySelector(".timeline-avatar")?.classList.remove("timeline-avatar-offset")}catch(ii){console.error(ii)}})}function LE(){Hi(document).on("click",".delete-dependency-button",ei=>{const ti=ei.currentTarget.getAttribute("data-id"),ii=ei.currentTarget.getAttribute("data-type");Hi(".remove-dependency").modal({closable:!1,duration:200,onApprove:()=>{Hi("#removeDependencyID").val(ti),Hi("#dependencyType").val(ii),Hi("#removeDependencyForm").trigger("submit")}}).modal("show")})}function RE(){document.addEventListener("click",ei=>{if(!ei.target.matches(".cancel-code-comment"))return;const ti=ei.target.closest("form");ti?.classList.contains("comment-form")?((0,zn.y9)(ti),(0,zn.fi)(ti.closest(".comment-code-cloud")?.querySelectorAll("button.comment-form-reply"))):ti.closest(".comment-code-cloud")?.remove()})}function ME(){const ei=document.querySelector(".update-button > button");ei&&(ei.addEventListener("click",async function(ti){ti.preventDefault();const ii=this.getAttribute("data-redirect");this.classList.add("is-loading");let ni;try{ni=await(0,so.LO)(this.getAttribute("data-do"))}catch(ai){console.error(ai)}finally{this.classList.remove("is-loading")}let si;try{si=await ni?.json()}catch(ai){console.error(ai)}si?.redirect?window.location.href=si.redirect:ii?window.location.href=ii:window.location.reload()}),Hi(".update-button > .dropdown").dropdown({onChange(ti,ii,ni){const si=ni[0].getAttribute("data-do");if(si){const ai=ei.querySelector(".button-text");ai&&(ai.textContent=ni.text()),ei.setAttribute("data-do",si)}}}))}function OE(){Hi(".show-instruction").on("click",()=>{(0,zn.oi)(Hi(".instruct-content"))})}function DE(){const ei=document.getElementById("allow-edits-from-maintainers");if(!ei)return;const ti=ei.querySelector('input[type="checkbox"]');ti.addEventListener("input",async()=>{const ii=`${ei.getAttribute("data-url")}/set_allow_maintainer_edit`;ei.classList.add("is-loading");try{const ni=await(0,so.LO)(ii,{data:new URLSearchParams({allow_maintainer_edit:ti.checked})});if(!ni.ok)throw new Error("Failed to update maintainer edit permission");const si=await ni.json();ti.checked=si.allow_maintainer_edit}catch(ni){ti.checked=!ti.checked,console.error(ni),Mf(ei,ei.getAttribute("data-prompt-error"))}finally{ei.classList.remove("is-loading")}})}function FE(){Hi(".issue_reference_repository_search").dropdown({apiSettings:{url:`${rp}/repo/search?q={query}&limit=20`,onResponse(ei){const ti={success:!0,results:[]};return Hi.each(ei.data,(ii,ni)=>{ti.results.push({name:Ua(ni.repository.full_name),value:ni.repository.full_name})}),ti},cache:!1},onChange(ei,ti,ii){const ni=ii.closest("form");ni.length&&ni[0].setAttribute("action",`${rp}/${ti}/issues/new`)},fullTextSearch:!0})}function IE(){Hi(".title_wip_desc > a").on("click",ei=>{ei.preventDefault();const ti=Hi("#issue_title");ti.trigger("focus");const ii=ti.val().trim().toUpperCase(),ni=Hi(".title_wip_desc").data("wip-prefixes");for(const si of ni)if(ii.startsWith(si.toUpperCase()))return;ti.val(`${ni[0]} ${ti.val()}`)})}async function rh(ei,ti,ii,ni){try{if(!(await(0,so.LO)(ei,{data:new URLSearchParams({action:ti,issue_ids:ii,id:ni})})).ok)throw new Error("Failed to update issues meta")}catch(si){console.error(si)}}function PE(){Hi(".repository.view.issue .timeline").length&&(Hi(".re-request-review").on("click",async function(ei){ei.preventDefault();const ti=this.getAttribute("data-update-url"),ii=this.getAttribute("data-issue-id"),ni=this.getAttribute("data-id"),si=this.classList.contains("checked");await rh(ti,si?"detach":"attach",ii,ni),window.location.reload()}),document.addEventListener("click",ei=>{const ti=document.querySelector(":target");if(!ti)return;const ii=ti.id;if(ii&&/^(issue|pull)(comment)?-\d+$/.test(ii)&&!ei.target.closest(`#${ii}`)){const ni=Hi(window).scrollTop();window.location.hash="",Hi(window).scrollTop(ni),window.history.pushState(null,null," ")}}))}async function iy(ei){(0,zn.y9)(ei);const ti=ei.closest(".comment-code-cloud").find(".comment-form");(0,zn.fi)(ti);const ii=ti.find("textarea");let ni=Bg(ii);if(!ni){const si=ti.find(".dropzone")[0];si.dropzone||Rg(si),ni=await Of(ti.find(".combo-markdown-editor"))}return ni.focus(),ni}function qE(){if(window.location.hash&&window.location.hash.startsWith("#issuecomment-")){window.history.scrollRestoration!=="manual"&&(window.history.scrollRestoration="manual");const si=document.querySelector(window.location.hash);if(si){const ai=si.closest('div[id^="code-comments-"]')?.getAttribute("id");if(ai&&ai.startsWith("code-comments-")){const li=ai.slice(14),fi=si.closest(".diff-file-box"),hi=fi?.querySelector(".diff-file-header");let _i=30;hi&&(_i+=Hi(".diff-detail-box").outerHeight()+Hi(hi).outerHeight()),(0,zn.y9)(`#show-outdated-${li}`),(0,zn.fi)(`#code-comments-${li}, #code-preview-${li}, #hide-outdated-${li}`),fi?.getAttribute("data-folded")==="true"&&nh(fi,fi.querySelector(".fold-file"),!1),window.scrollTo({top:Hi(si).offset().top-_i,behavior:"instant"})}}}Hi(document).on("click",".show-outdated",function(si){si.preventDefault();const ai=this.getAttribute("data-comment");(0,zn.y9)(this),(0,zn.fi)(`#code-comments-${ai}`),(0,zn.fi)(`#code-preview-${ai}`),(0,zn.fi)(`#hide-outdated-${ai}`)}),Hi(document).on("click",".hide-outdated",function(si){si.preventDefault();const ai=this.getAttribute("data-comment");(0,zn.y9)(this),(0,zn.y9)(`#code-comments-${ai}`),(0,zn.y9)(`#code-preview-${ai}`),(0,zn.fi)(`#show-outdated-${ai}`)}),Hi(document).on("click","button.comment-form-reply",async function(si){si.preventDefault(),await iy(Hi(this))});const ei=Hi(".review-box-panel");if(ei.length===1){const si=Of(ei.find(".combo-markdown-editor"))}if(!Hi(".repository.pull.diff").length)return;const ti=Hi(".js-btn-review"),ii=ti.parent().find(".review-box-panel"),ni=ii.find(".close");if(ti.length&&ii.length){const si=pd(ti[0],{content:ii[0],theme:"default",placement:"bottom",trigger:"click",maxWidth:"none",interactive:!0,hideOnClick:!0});ni.on("click",ai=>{ai.preventDefault(),si.hide()})}Hi(document).on("click",".add-code-comment",async function(si){if(si.target.classList.contains("btn-add-single"))return;si.preventDefault();const ai=this.closest(".code-diff")?.classList.contains("code-diff-split"),li=this.getAttribute("data-side"),fi=this.getAttribute("data-idx"),hi=this.closest("[data-path]")?.getAttribute("data-path"),_i=this.closest("tr"),ji=_i.getAttribute("data-line-type"),Mi=_i.nextElementSibling;let Ki=Hi(Mi);Mi?.classList.contains("add-comment")||(Ki=Hi(`
<tr class="add-comment" data-line-type="${ji}">
${ai?`
<td class="add-comment-left" colspan="4"></td>
<td class="add-comment-right" colspan="4"></td>
`:`
<td class="add-comment-left add-comment-right" colspan="5"></td>
`}
</tr>`),Hi(_i).after(Ki));const on=Ki.find(`.add-comment-${li}`);if(!on.find(".comment-code-cloud").length&&!Ki.find('button[name="pending_review"]').length)try{const es=await(await(0,so.fG)(this.closest("[data-new-comment-url]")?.getAttribute("data-new-comment-url"))).text();on.html(es),on.find("input[name='line']").val(fi),on.find("input[name='side']").val(li==="left"?"previous":"proposed"),on.find("input[name='path']").val(hi),Rg(on.find(".dropzone")[0]),(await Of(on.find(".combo-markdown-editor"))).focus()}catch(gn){console.error(gn)}})}function NE(){Hi(document).on("click",".reference-issue",function(ei){const ti=Hi(this),ii=Hi(`#${ti.data("target")}`).text(),ni=ti.data("poster-username"),si=(0,na.oK)(ti.data("reference")),ai=Hi(ti.data("modal"));ai.find('textarea[name="content"]').val(`${ii}
_Originally posted by @${ni} in ${si}_`),ai.modal("show"),ei.preventDefault()})}function BE(){Hi(".toggle-wip a, .toggle-wip button").on("click",async ei=>{ei.preventDefault();const ti=ei.currentTarget.closest(".toggle-wip"),ii=ti.getAttribute("data-title"),ni=ti.getAttribute("data-wip-prefix"),si=ti.getAttribute("data-update-url");try{const ai=new URLSearchParams;if(ai.append("title",ii?.startsWith(ni)?ii.slice(ni.length).trim():`${ni.trim()} ${ii}`),!(await(0,so.LO)(si,{data:ai})).ok)throw new Error("Failed to toggle WIP status");window.location.reload()}catch(ai){console.error(ai)}})}function HE(){const ei=document.querySelector("#issue-title-display"),ti=document.querySelector("#issue-title-editor");if(!ti)return;const ii=ti.querySelector("input"),ni=ii.getAttribute("data-old-title");ei.querySelector("#issue-title-edit-show").addEventListener("click",()=>{(0,zn.y9)(ei),(0,zn.y9)("#pull-desc-display"),(0,zn.fi)(ti),(0,zn.fi)("#pull-desc-editor"),ii.value.trim()||(ii.value=ni),ii.focus()}),ti.querySelector(".ui.cancel.button").addEventListener("click",()=>{(0,zn.y9)(ti),(0,zn.y9)("#pull-desc-editor"),(0,zn.fi)(ei),(0,zn.fi)("#pull-desc-display")});const ai=document.querySelector("#pull-desc-editor")?.getAttribute("data-target-update-url"),li=ti.querySelector(".ui.primary.button");li.addEventListener("click",async()=>{const fi=ii.value.trim();try{if(fi&&fi!==ni){const hi=await(0,so.LO)(li.getAttribute("data-update-url"),{data:new URLSearchParams({title:fi})});if(!hi.ok)throw new Error(`Failed to update issue title: ${hi.statusText}`)}if(ai){const hi=document.querySelector("#pull-target-branch").getAttribute("data-branch"),_i=document.querySelector("#branch_target").textContent;if(hi!==_i){const ji=await(0,so.LO)(ai,{data:new URLSearchParams({target_branch:hi})});if(!ji.ok)throw new Error(`Failed to update PR target branch: ${ji.statusText}`)}}window.location.reload()}catch(hi){console.error(hi),pl(hi.message)}})}function $E(){document.querySelector("#branch-select")?.addEventListener("click",ei=>{const ti=ei.target.closest(".item[data-branch]");if(!ti)return;const ii=document.querySelector("#pull-target-branch"),ni=ii.getAttribute("data-basename"),si=ti.getAttribute("data-branch"),ai=ii.getAttribute("data-branch");ii.textContent=ii.textContent.replace(`${ni}:${ai}`,`${ni}:${si}`),ii.setAttribute("data-branch",si)})}function VE(ei){const ti={},ii=document.getElementById("status-button");ii&&(ti.onContentChanged=ni=>{const si=ii.getAttribute(ni.value().trim()?"data-status-and-comment":"data-status");ii.textContent=si}),Of(ei.find(".combo-markdown-editor"),ti)}function UE(ei){const ti=ei.find(".combo-editor-dropzone"),ii=async ni=>{const si=ni.find(".form-field-dropzone"),ai=ni.find(".form-field-real"),li=ni.find(".combo-markdown-editor"),fi=await Of(li,{onContentChanged:hi=>{ai.val(hi.value())}});ai.on("focus",async()=>{(0,zn.fi)(ei.find(".combo-editor-dropzone .form-field-real")),(0,zn.y9)(ei.find(".combo-editor-dropzone .combo-markdown-editor")),(0,zn.y9)(ei.find(".combo-editor-dropzone .form-field-dropzone")),(0,zn.y9)(ai),(0,zn.fi)(li),(0,zn.fi)(si),await fi.switchToUserPreference(),fi.focus()})};for(const ni of ti)ii(Hi(ni))}function WE(){if(document.querySelector(".archived-label-hint"))for(const ei of document.querySelectorAll("[data-is-archived]"))(0,zn.oi)(ei,ei.classList.contains("checked"))}function zE(){for(const ei of document.querySelectorAll(".js-toggle-commit-body"))ei.addEventListener("click",function(ti){ti.preventDefault();const ii=this.getAttribute("aria-expanded")==="true";(0,zn.oi)(this.parentElement.querySelector(".commit-body")),this.setAttribute("aria-expanded",String(!ii))})}function KE(){for(const ei of document.querySelectorAll('[data-tippy="commit-statuses"]')){const ti=document.querySelector(".repository.file.list")||document.querySelector(".repository.diff");pd(ei,{content:ei.nextElementSibling,placement:ti?"top-start":"bottom-start",interactive:!0,role:"dialog",theme:"box-with-header"})}}const{appSubUrl:ny}=window.config;function XE(){const ei=document.getElementById("manage_topic");if(!ei)return;const ti=document.getElementById("topic_edit"),ii=document.getElementById("repo-topics"),ni=ti.querySelector(".ui.dropdown");let si;ei.addEventListener("click",()=>{(0,zn.y9)(ii),(0,zn.fi)(ti),ni.querySelector("input.search").focus()}),document.querySelector("#cancel_topic_edit").addEventListener("click",()=>{si?.hideToast(),(0,zn.y9)(ti),(0,zn.fi)(ii),ei.focus()}),document.getElementById("save_topic").addEventListener("click",async ai=>{si?.hideToast();const li=ti.querySelector("input[name=topics]").value,fi=new FormData;fi.append("topics",li);const hi=await(0,so.LO)(ai.target.getAttribute("data-link"),{data:fi});if(hi.ok){if((await hi.json()).status==="ok"){if((0,zn.xP)(ii,".repo-topic",ji=>ji.remove()),li.length){const ji=li.split(",");ji.sort();for(const Mi of ji){const Ki=document.createElement("a");Ki.classList.add("repo-topic","ui","large","label"),Ki.href=`${ny}/explore/repos?q=${encodeURIComponent(Mi)}&topic=1`,Ki.textContent=Mi,ei.parentNode.insertBefore(Ki,ei)}}(0,zn.y9)(ti),(0,zn.fi)(ii)}}else if(hi.status===422){const _i=await hi.json();if(si=pl(_i.message,{duration:5e3}),_i.invalidTopics&&_i.invalidTopics.length>0){const{invalidTopics:ji}=_i,Mi=(0,zn.xP)(ni,"a.ui.label");for(const[Ki,on]of li.split(",").entries())ji.includes(on)&&(Mi[Ki].classList.remove("green"),Mi[Ki].classList.add("red"))}}}),Hi(ni).dropdown({allowAdditions:!0,forceSelection:!1,fullTextSearch:"exact",fields:{name:"description",value:"data-value"},saveRemoteData:!1,label:{transition:"horizontal flip",duration:200,variation:!1},apiSettings:{url:`${ny}/explore/topics/search?q={query}`,throttle:500,cache:!1,onResponse(ai){const li={success:!1,results:[]},fi=(0,na.Kq)(this.urlData.query.trim());let hi=!1;const _i=[];for(const ji of(0,zn.xP)(ni,"a.ui.label.visible"))_i.push(ji.getAttribute("data-value"));if(ai.topics){let ji=!1;for(let Mi=0;Mi<ai.topics.length;Mi++)_i.includes(ai.topics[Mi].topic_name)||(ai.topics[Mi].topic_name.toLowerCase()===fi.toLowerCase()&&(hi=!0),li.results.push({description:ai.topics[Mi].topic_name,"data-value":ai.topics[Mi].topic_name}),ji=!0);li.success=ji}return fi.length>0&&!hi?(li.success=!0,li.results.unshift({description:fi,"data-value":fi})):fi.length>0&&hi&&li.results.sort((ji,Mi)=>ji.description.toLowerCase()===fi.toLowerCase()?-1:Mi.description.toLowerCase()===fi.toLowerCase()?1:ji.description>Mi.description?-1:ji.description<Mi.description?1:0),li}},onLabelCreate(ai){return ai=ai.toLowerCase().trim(),this.attr("data-value",ai).contents().first().replaceWith(ai),Hi(this)},onAdd(ai,li,fi){ai=ai.toLowerCase().trim(),fi[0].setAttribute("data-value",ai),fi[0].setAttribute("data-text",ai)}})}function GE(){function ei(ti){const ii=Hi(this);Hi("#form-uid").val(ii.data("uid")),Hi("#form-email").val(ii.data("email")),Hi("#form-primary").val(ii.data("primary")),Hi("#form-activate").val(ii.data("activate")),Hi("#change-email-modal").modal("show"),ti.preventDefault()}Hi(".link-email-action").on("click",ei)}const{appSubUrl:QE}=window.config;function Hg(){Number(document.getElementById("security_protocol")?.value)>0?(0,zn.fi)(".has-tls"):(0,zn.y9)(".has-tls")}function YE(){if(!document.querySelector(".page-content.admin"))return;u_(),(Hi(".admin.new.user").length>0||Hi(".admin.edit.user").length>0)&&document.getElementById("login_type")?.addEventListener("change",function(){this.value?.substring(0,1)==="0"?(document.getElementById("user_name")?.removeAttribute("disabled"),document.getElementById("login_name")?.removeAttribute("required"),(0,zn.y9)(".non-local"),(0,zn.fi)(".local"),document.getElementById("user_name")?.focus(),this.getAttribute("data-password")==="required"&&document.getElementById("password")?.setAttribute("required","required")):(document.querySelector(".admin.edit.user")&&document.getElementById("user_name")?.setAttribute("disabled","disabled"),document.getElementById("login_name")?.setAttribute("required","required"),(0,zn.fi)(".non-local"),(0,zn.y9)(".local"),document.getElementById("login_name")?.focus(),document.getElementById("password")?.removeAttribute("required"))});function ei(){const si=document.querySelectorAll(".search-page-size");if(document.getElementById("use_paged_search").checked){(0,zn.fi)(".search-page-size");for(const ai of si)ai.querySelector("input")?.setAttribute("required","required")}else{(0,zn.y9)(".search-page-size");for(const ai of si)ai.querySelector("input")?.removeAttribute("required")}}function ti(si){(0,zn.y9)(".open_id_connect_auto_discovery_url, .oauth2_use_custom_url");for(const li of document.querySelectorAll(".open_id_connect_auto_discovery_url input[required]"))li.removeAttribute("required");const ai=document.getElementById("oauth2_provider").value;switch(ai){case"openidConnect":document.querySelector(".open_id_connect_auto_discovery_url input").setAttribute("required","required"),(0,zn.fi)(".open_id_connect_auto_discovery_url");break;default:{const li=document.querySelector(`#${ai}_customURLSettings`);if(!li)break;const fi=li.getAttribute("data-available")==="true",hi=li.getAttribute("data-required")==="true";fi&&(0,zn.fi)(".oauth2_use_custom_url"),hi&&(document.querySelector("#oauth2_use_custom_url").checked=!0);break}}ii(si)}function ii(si){const ai=document.getElementById("oauth2_provider").value;(0,zn.y9)(".oauth2_use_custom_url_field");for(const fi of document.querySelectorAll(".oauth2_use_custom_url_field input[required]"))fi.removeAttribute("required");if(document.querySelector(`#${ai}_customURLSettings`)&&document.getElementById("oauth2_use_custom_url").checked)for(const fi of["token_url","auth_url","profile_url","email_url","tenant"]){si&&(document.getElementById(`oauth2_${fi}`).value=document.getElementById(`${ai}_${fi}`).value);const hi=document.getElementById(`${ai}_${fi}`);if(hi&&hi.getAttribute("data-available")==="true"){for(const _i of document.querySelectorAll(`.oauth2_${fi} input`))_i.setAttribute("required","required");(0,zn.fi)(`.oauth2_${fi}`)}}}function ni(){(0,zn.oi)(document.getElementById("ldap-group-options"),Hi(".js-ldap-group-toggle")[0].checked)}if(document.querySelector(".admin.new.authentication")&&(document.getElementById("auth_type")?.addEventListener("change",function(){(0,zn.y9)(".ldap, .dldap, .smtp, .pam, .oauth2, .has-tls, .search-page-size, .sspi");for(const ai of document.querySelectorAll(".ldap input[required], .binddnrequired input[required], .dldap input[required], .smtp input[required], .pam input[required], .oauth2 input[required], .has-tls input[required], .sspi input[required]"))ai.removeAttribute("required");document.querySelector(".binddnrequired")?.classList.remove("required");const si=this.value;switch(si){case"2":(0,zn.fi)(".ldap");for(const ai of document.querySelectorAll(".binddnrequired input, .ldap div.required:not(.dldap) input"))ai.setAttribute("required","required");document.querySelector(".binddnrequired")?.classList.add("required");break;case"3":(0,zn.fi)(".smtp"),(0,zn.fi)(".has-tls");for(const ai of document.querySelectorAll(".smtp div.required input, .has-tls"))ai.setAttribute("required","required");break;case"4":(0,zn.fi)(".pam");for(const ai of document.querySelectorAll(".pam input"))ai.setAttribute("required","required");break;case"5":(0,zn.fi)(".dldap");for(const ai of document.querySelectorAll(".dldap div.required:not(.ldap) input"))ai.setAttribute("required","required");break;case"6":(0,zn.fi)(".oauth2");for(const ai of document.querySelectorAll(".oauth2 div.required:not(.oauth2_use_custom_url,.oauth2_use_custom_url_field,.open_id_connect_auto_discovery_url) input"))ai.setAttribute("required","required");ti(!0);break;case"7":(0,zn.fi)(".sspi");for(const ai of document.querySelectorAll(".sspi div.required input"))ai.setAttribute("required","required");break}(si==="2"||si==="5")&&(Hg(),ni()),si==="2"&&ei()}),Hi("#auth_type").trigger("change"),document.getElementById("security_protocol")?.addEventListener("change",Hg),document.getElementById("use_paged_search")?.addEventListener("change",ei),document.getElementById("oauth2_provider")?.addEventListener("change",()=>ti(!0)),document.getElementById("oauth2_use_custom_url")?.addEventListener("change",()=>ii(!0)),Hi(".js-ldap-group-toggle").on("change",ni)),document.querySelector(".admin.edit.authentication")){const si=document.getElementById("auth_type")?.value;si==="2"||si==="5"?(document.getElementById("security_protocol")?.addEventListener("change",Hg),Hi(".js-ldap-group-toggle").on("change",ni),ni(),si==="2"&&document.getElementById("use_paged_search")?.addEventListener("change",ei)):si==="6"&&(document.getElementById("oauth2_provider")?.addEventListener("change",()=>ti(!0)),document.getElementById("oauth2_use_custom_url")?.addEventListener("change",()=>ii(!1)),ti(!1))}if(document.querySelector(".admin.authentication")&&Hi("#auth_name").on("input",function(){document.getElementById("oauth2-callback-url").textContent=`${window.location.origin}${QE}/user/oauth2/${encodeURIComponent(this.value)}/callback`}).trigger("input"),document.querySelector(".admin.notice")){const si=document.getElementById("detail-modal");Hi(".view-detail").on("click",function(){const li=this.closest("tr").querySelector(".notice-description").textContent;return si.querySelector(".content pre").textContent=li,Hi(si).modal("show"),!1});const ai=document.querySelectorAll(".select.table .ui.checkbox input");Hi(".select.action").on("click",function(){switch(Hi(this).data("action")){case"select-all":for(const li of ai)li.checked=!0;break;case"deselect-all":for(const li of ai)li.checked=!1;break;case"inverse":for(const li of ai)li.checked=!li.checked;break}}),document.getElementById("delete-selection")?.addEventListener("click",async function(li){li.preventDefault(),this.classList.add("is-loading","disabled");const fi=new FormData;for(const hi of ai)hi.checked&&fi.append("ids[]",hi.closest(".ui.checkbox").getAttribute("data-id"));await(0,so.LO)(this.getAttribute("data-link"),{data:fi}),window.location.href=this.getAttribute("data-redirect")})}}const{appSubUrl:JE}=window.config;function ZE(){const ei=Hi("#repo_template"),ti=function(){const ni=Hi("#template_units"),si=Hi("#non_template");ei.val()!==""&&ei.val()!=="0"?((0,zn.fi)(ni),(0,zn.y9)(si)):((0,zn.y9)(ni),(0,zn.fi)(si))};ei.on("change",ti),ti();const ii=function(){Hi("#repo_template_search").dropdown({apiSettings:{url:`${JE}/repo/search?q={query}&template=true&priority_owner_id=${Hi("#uid").val()}`,onResponse(ni){const si={success:!0,results:[]};return si.results.push({name:"",value:""}),Hi.each(ni.data,(ai,li)=>{si.results.push({name:Ua(li.repository.full_name),value:li.repository.id})}),si},cache:!1},fullTextSearch:!0})};Hi("#uid").on("change",ii),ii()}const ek=/^#(L|n)([1-9][0-9]*)$/,tk=/^#(L[1-9][0-9]*)-(L[1-9][0-9]*)$/;function sy(ei){window.history.pushState?window.history.pushState(null,null,ei):window.location.hash=ei}function $g(){return!!document.querySelector("div.blame")}function ry(){return document.querySelectorAll(`.code-view td.lines-code${$g()?".blame-code":""}`)}function Vg(ei,ti,ii){for(const _i of ei)_i.closest("tr").classList.remove("active");const ni=document.querySelector("a.ref-in-new-issue"),si=document.querySelector("a.copy-line-permalink"),ai=document.querySelector("a.view_git_blame"),li=function(_i){if(!ni)return;const ji=ni.getAttribute("data-url-issue-new"),Mi=ni.getAttribute("data-url-param-body-link"),Ki=`${(0,na.oK)(Mi)}#${_i}`;ni.setAttribute("href",`${ji}?body=${encodeURIComponent(Ki)}`)},fi=function(_i){if(!ai)return;let ji=ai.getAttribute("href");ji=`${ji.replace(/#L\d+$|#L\d+-L\d+$/,"")}`,_i.length!==0&&(ji=`${ji}#${_i}`),ai.setAttribute("href",ji)},hi=function(_i){if(!si)return;let ji=si.getAttribute("data-url");ji=`${ji.replace(/#L\d+$|#L\d+-L\d+$/,"")}#${_i}`,si.setAttribute("data-url",ji)};if(ii){let _i=parseInt(ti[0].getAttribute("rel").slice(1)),ji=parseInt(ii[0].getAttribute("rel").slice(1)),Mi;if(_i!==ji){_i>ji&&(Mi=_i,_i=ji,ji=Mi);const Ki=[];for(let on=_i;on<=ji;on++)Ki.push(`[rel=L${on}]`);ei.filter(Ki.join(",")).each(function(){this.closest("tr").classList.add("active")}),sy(`#L${_i}-L${ji}`),li(`L${_i}-L${ji}`),fi(`L${_i}-L${ji}`),hi(`L${_i}-L${ji}`);return}}ti[0].closest("tr").classList.add("active"),sy(`#${ti[0].getAttribute("rel")}`),li(ti[0].getAttribute("rel")),fi(ti[0].getAttribute("rel")),hi(ti[0].getAttribute("rel"))}function Ug(){const ei=document.querySelector(".code-line-menu");if(!ei)return;for(const si of document.querySelectorAll(".code-line-button"))si.remove();const ii=document.querySelector(".code-view tr.active").querySelector("td.lines-num"),ni=document.createElement("button");ni.classList.add("code-line-button","ui","basic","button"),ni.innerHTML=(0,Io.JW)("octicon-kebab-horizontal"),ii.prepend(ni),ni.closest(".code-view").append(ei.cloneNode(!0)),pd(ni,{theme:"menu",trigger:"click",hideOnClick:!0,content:ei,placement:"right-start",interactive:!0,onShow:si=>{si.popper.addEventListener("click",()=>{si.hide()},{once:!0})}})}function ik(){Hi(".code-view .lines-num").length>0&&(Hi(document).on("click",".lines-num span",function(ei){const ti=ry(),ii=Array.from(ti).filter(si=>si.matches(`[rel=${this.getAttribute("id")}]`));let ni;ei.shiftKey&&(ni=Array.from(ti).filter(si=>si.closest("tr").classList.contains("active"))),Vg(Hi(ti),Hi(ii),ni?Hi(ni):null),window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),Ug()}),Hi(window).on("hashchange",()=>{let ei=window.location.hash.match(tk);const ti=Hi(ry());let ii;if(ei&&(ii=ti.filter(`[rel=${ei[1]}]`),ii.length)){Vg(ti,ii,ti.filter(`[rel=${ei[2]}]`)),$g()||Ug(),Hi("html, body").scrollTop(ii.offset().top-200);return}ei=window.location.hash.match(ek),ei&&(ii=ti.filter(`[rel=L${ei[2]}]`),ii.length&&(Vg(ti,ii),$g()||Ug(),Hi("html, body").scrollTop(ii.offset().top-200)))}).trigger("hashchange")),Hi(document).on("click",".fold-file",({currentTarget:ei})=>{EC(ei.closest(".file-content"),ei)}),Hi(document).on("click",".copy-line-permalink",async({currentTarget:ei})=>{await Zh((0,na.oK)(ei.getAttribute("data-url")))})}function nk(){document.getElementById("ssh-key-content")?.addEventListener("input",function(){const ei=this.value.split(" "),ti=document.getElementById("ssh-key-title");!ti.value&&ei.length===3&&ei[2]!==""&&(ti.value=ei[2])})}function sk(){if(!document.querySelectorAll(".user.settings.profile").length)return;const ei=document.getElementById("username");ei&&ei.addEventListener("input",function(){const ti=document.getElementById("name-change-prompt"),ii=document.getElementById("name-change-redirect-prompt");this.value.toLowerCase()!==this.getAttribute("data-name").toLowerCase()?((0,zn.fi)(ti),(0,zn.fi)(ii)):((0,zn.y9)(ti),(0,zn.y9)(ii))})}async function rk(ei){ei.preventDefault();const ti=ei.target.closest("a.archive-link[href]"),ii=ti.closest(".ui.dropdown")??ti;ii.classList.add("is-loading","loading-icon-2px");try{for(let ni=0;;ni++){const si=await(0,so.LO)(ti.href);if(!si.ok)throw new Error(`Invalid server response: ${si.status}`);if((await si.json()).complete)break;await(0,na.yy)(Math.min((ni+1)*750,2e3))}window.location.href=ti.href}catch(ni){console.error(ni),pl(`Failed to download the archive: ${ni}`,{duration:2500})}finally{ii.classList.remove("is-loading","loading-icon-2px")}}function ok(){(0,zn.jB)("a.archive-link[href]",ei=>ei.addEventListener("click",rk))}function ak(){const ei=Hi("#repo-clone-ssh"),ti=Hi("#repo-clone-https"),ii=Hi("#repo-clone-url");!ei.length&&!ti.length||!ii.length||(ei.on("click",()=>{localStorage.setItem("repo-clone-protocol","ssh"),window.updateCloneStates()}),ti.on("click",()=>{localStorage.setItem("repo-clone-protocol","https"),window.updateCloneStates()}),ii.on("focus",()=>{ii.trigger("select")}))}function lk(ei){Hi(ei).each(function(){const ti=Hi(this);ti.find(".reference.column").on("click",function(){return(0,zn.y9)(ti.find(".scrolling.reference-list-menu")),(0,zn.fi)(Hi(Hi(this).data("target"))),!1})})}function ck(ei){const ti=Hi(ei);ti.length&&ti.dropdown({fullTextSearch:"exact",selectOnKeydown:!1,onChange(ii,ni,si){si[0].getAttribute("data-url")&&(window.location.href=si[0].getAttribute("data-url"))},message:{noResults:ti[0].getAttribute("data-no-results")}})}function uk(){const ei=document.getElementById("repo_migrating");if(!ei)return;document.getElementById("repo_migrating_retry")?.addEventListener("click",fk);const ti=ei.getAttribute("data-migrating-repo-link"),ii=async()=>{const si=await(0,so.fG)(`${ti}/-/migrate/status`);if(si.status!==200)return!0;const ai=await si.json();return ai.message&&(document.getElementById("repo_migrating_progress_message").textContent=ai.message),ai.status===4?(window.location.reload(),!1):ai.status===3?((0,zn.y9)("#repo_migrating_progress"),(0,zn.y9)("#repo_migrating"),(0,zn.fi)("#repo_migrating_retry"),(0,zn.fi)("#repo_migrating_failed"),(0,zn.fi)("#repo_migrating_failed_image"),document.getElementById("repo_migrating_failed_error").textContent=ai.message,!1):!0},ni=async()=>{let si=!0;try{si=await ii()}finally{si&&setTimeout(ni,2e3)}};ni()}async function fk(ei){await(0,so.LO)(ei.target.getAttribute("data-migrating-task-retry-url")),window.location.reload()}var dk=__webpack_require__("./node_modules/brace-expansion/index.js");const hk=1024*64,op=ei=>{if(typeof ei!="string")throw new TypeError("invalid pattern");if(ei.length>hk)throw new TypeError("pattern is too long")},mk={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},nm=ei=>ei.replace(/[[\]\\-]/g,"\\$&"),pk=ei=>ei.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),oy=ei=>ei.join(""),gk=(ei,ti)=>{const ii=ti;if(ei.charAt(ii)!=="[")throw new Error("not in a brace expression");const ni=[],si=[];let ai=ii+1,li=!1,fi=!1,hi=!1,_i=!1,ji=ii,Mi="";e:for(;ai<ei.length;){const gn=ei.charAt(ai);if((gn==="!"||gn==="^")&&ai===ii+1){_i=!0,ai++;continue}if(gn==="]"&&li&&!hi){ji=ai+1;break}if(li=!0,gn==="\\"&&!hi){hi=!0,ai++;continue}if(gn==="["&&!hi){for(const[es,[Wn,Gn,Dn]]of Object.entries(mk))if(ei.startsWith(es,ai)){if(Mi)return["$.",!1,ei.length-ii,!0];ai+=es.length,Dn?si.push(Wn):ni.push(Wn),fi=fi||Gn;continue e}}if(hi=!1,Mi){gn>Mi?ni.push(nm(Mi)+"-"+nm(gn)):gn===Mi&&ni.push(nm(gn)),Mi="",ai++;continue}if(ei.startsWith("-]",ai+1)){ni.push(nm(gn+"-")),ai+=2;continue}if(ei.startsWith("-",ai+1)){Mi=gn,ai+=2;continue}ni.push(nm(gn)),ai++}if(ji<ai)return["",!1,0,!1];if(!ni.length&&!si.length)return["$.",!1,ei.length-ii,!0];if(si.length===0&&ni.length===1&&/^\\?.$/.test(ni[0])&&!_i){const gn=ni[0].length===2?ni[0].slice(-1):ni[0];return[pk(gn),!1,ji-ii,!1]}const Ki="["+(_i?"^":"")+oy(ni)+"]",on="["+(_i?"":"^")+oy(si)+"]";return[ni.length&&si.length?"("+Ki+"|"+on+")":ni.length?Ki:on,fi,ji-ii,!0]},sm=(ei,{windowsPathsNoEscape:ti=!1}={})=>ti?ei.replace(/\[([^\/\\])\]/g,"$1"):ei.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),vk=new Set(["!","?","+","*","@"]),ay=ei=>vk.has(ei),bk="(?!(?:^|/)\\.\\.?(?:$|/))",ap="(?!\\.)",_k=new Set(["[","."]),yk=new Set(["..","."]),wk=new Set("().*{}+?[]^$\\!"),xk=ei=>ei.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Wg="[^/]",ly=Wg+"*?",cy=Wg+"+?",$l=class $l{constructor(ti,ii,ni={}){Vl(this,gp);Vl(this,lm);vl(this,"type");Vl(this,gl,void 0);Vl(this,jl,void 0);Vl(this,af,!1);Vl(this,qa,[]);Vl(this,il,void 0);Vl(this,Df,void 0);Vl(this,yd,void 0);Vl(this,Ff,!1);Vl(this,Du,void 0);Vl(this,wd,void 0);Vl(this,am,!1);this.type=ti,ti&&Qa(this,jl,!0),Qa(this,il,ii),Qa(this,gl,Wr(this,il)?Wr(Wr(this,il),gl):this),Qa(this,Du,Wr(this,gl)===this?ni:Wr(Wr(this,gl),Du)),Qa(this,yd,Wr(this,gl)===this?[]:Wr(Wr(this,gl),yd)),ti==="!"&&!Wr(Wr(this,gl),Ff)&&Wr(this,yd).push(this),Qa(this,Df,Wr(this,il)?Wr(Wr(this,il),qa).length:0)}get hasMagic(){if(Wr(this,jl)!==void 0)return Wr(this,jl);for(const ti of Wr(this,qa))if(typeof ti!="string"&&(ti.type||ti.hasMagic))return Qa(this,jl,!0);return Wr(this,jl)}toString(){return Wr(this,wd)!==void 0?Wr(this,wd):this.type?Qa(this,wd,this.type+"("+Wr(this,qa).map(ti=>String(ti)).join("|")+")"):Qa(this,wd,Wr(this,qa).map(ti=>String(ti)).join(""))}push(...ti){for(const ii of ti)if(ii!==""){if(typeof ii!="string"&&!(ii instanceof $l&&Wr(ii,il)===this))throw new Error("invalid part: "+ii);Wr(this,qa).push(ii)}}toJSON(){const ti=this.type===null?Wr(this,qa).slice().map(ii=>typeof ii=="string"?ii:ii.toJSON()):[this.type,...Wr(this,qa).map(ii=>ii.toJSON())];return this.isStart()&&!this.type&&ti.unshift([]),this.isEnd()&&(this===Wr(this,gl)||Wr(Wr(this,gl),Ff)&&Wr(this,il)?.type==="!")&&ti.push({}),ti}isStart(){if(Wr(this,gl)===this)return!0;if(!Wr(this,il)?.isStart())return!1;if(Wr(this,Df)===0)return!0;const ti=Wr(this,il);for(let ii=0;ii<Wr(this,Df);ii++){const ni=Wr(ti,qa)[ii];if(!(ni instanceof $l&&ni.type==="!"))return!1}return!0}isEnd(){if(Wr(this,gl)===this||Wr(this,il)?.type==="!")return!0;if(!Wr(this,il)?.isEnd())return!1;if(!this.type)return Wr(this,il)?.isEnd();const ti=Wr(this,il)?Wr(Wr(this,il),qa).length:0;return Wr(this,Df)===ti-1}copyIn(ti){typeof ti=="string"?this.push(ti):this.push(ti.clone(this))}clone(ti){const ii=new $l(this.type,ti);for(const ni of Wr(this,qa))ii.copyIn(ni);return ii}static fromGlob(ti,ii={}){var si;const ni=new $l(null,void 0,ii);return qf(si=$l,lh,yp).call(si,ti,ni,0,ii),ni}toMMPattern(){if(this!==Wr(this,gl))return Wr(this,gl).toMMPattern();const ti=this.toString(),[ii,ni,si,ai]=this.toRegExpSource();if(!(si||Wr(this,jl)||Wr(this,Du).nocase&&!Wr(this,Du).nocaseMagicOnly&&ti.toUpperCase()!==ti.toLowerCase()))return ni;const fi=(Wr(this,Du).nocase?"i":"")+(ai?"u":"");return Object.assign(new RegExp(`^${ii}$`,fi),{_src:ii,_glob:ti})}get options(){return Wr(this,Du)}toRegExpSource(ti){const ii=ti??!!Wr(this,Du).dot;if(Wr(this,gl)===this&&qf(this,gp,Vy).call(this),!this.type){const hi=this.isStart()&&this.isEnd(),_i=Wr(this,qa).map(on=>{var Gn;const[hn,gn,es,Wn]=typeof on=="string"?qf(Gn=$l,vp,Uy).call(Gn,on,Wr(this,jl),hi):on.toRegExpSource(ti);return Qa(this,jl,Wr(this,jl)||es),Qa(this,af,Wr(this,af)||Wn),hn}).join("");let ji="";if(this.isStart()&&typeof Wr(this,qa)[0]=="string"&&!(Wr(this,qa).length===1&&yk.has(Wr(this,qa)[0]))){const hn=_k,gn=ii&&hn.has(_i.charAt(0))||_i.startsWith("\\.")&&hn.has(_i.charAt(2))||_i.startsWith("\\.\\.")&&hn.has(_i.charAt(4)),es=!ii&&!ti&&hn.has(_i.charAt(0));ji=gn?bk:es?ap:""}let Mi="";return this.isEnd()&&Wr(Wr(this,gl),Ff)&&Wr(this,il)?.type==="!"&&(Mi="(?:$|\\/)"),[ji+_i+Mi,sm(_i),Qa(this,jl,!!Wr(this,jl)),Wr(this,af)]}const ni=this.type==="*"||this.type==="+",si=this.type==="!"?"(?:(?!(?:":"(?:";let ai=qf(this,lm,tv).call(this,ii);if(this.isStart()&&this.isEnd()&&!ai&&this.type!=="!"){const hi=this.toString();return Qa(this,qa,[hi]),this.type=null,Qa(this,jl,void 0),[hi,sm(this.toString()),!1,!1]}let li=!ni||ti||ii||!ap?"":qf(this,lm,tv).call(this,!0);li===ai&&(li=""),li&&(ai=`(?:${ai})(?:${li})*?`);let fi="";if(this.type==="!"&&Wr(this,am))fi=(this.isStart()&&!ii?ap:"")+cy;else{const hi=this.type==="!"?"))"+(this.isStart()&&!ii&&!ti?ap:"")+ly+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&li?")":this.type==="*"&&li?")?":`)${this.type}`;fi=si+ai+hi}return[fi,sm(ai),Qa(this,jl,!!Wr(this,jl)),Wr(this,af)]}};gl=new WeakMap,jl=new WeakMap,af=new WeakMap,qa=new WeakMap,il=new WeakMap,Df=new WeakMap,yd=new WeakMap,Ff=new WeakMap,Du=new WeakMap,wd=new WeakMap,am=new WeakMap,gp=new WeakSet,Vy=function(){if(this!==Wr(this,gl))throw new Error("should only call on root");if(Wr(this,Ff))return this;this.toString(),Qa(this,Ff,!0);let ti;for(;ti=Wr(this,yd).pop();){if(ti.type!=="!")continue;let ii=ti,ni=Wr(ii,il);for(;ni;){for(let si=Wr(ii,Df)+1;!ni.type&&si<Wr(ni,qa).length;si++)for(const ai of Wr(ti,qa)){if(typeof ai=="string")throw new Error("string part in extglob AST??");ai.copyIn(Wr(ni,qa)[si])}ii=ni,ni=Wr(ii,il)}}return this},lh=new WeakSet,yp=function(ti,ii,ni,si){var on,hn;let ai=!1,li=!1,fi=-1,hi=!1;if(ii.type===null){let gn=ni,es="";for(;gn<ti.length;){const Wn=ti.charAt(gn++);if(ai||Wn==="\\"){ai=!ai,es+=Wn;continue}if(li){gn===fi+1?(Wn==="^"||Wn==="!")&&(hi=!0):Wn==="]"&&!(gn===fi+2&&hi)&&(li=!1),es+=Wn;continue}else if(Wn==="["){li=!0,fi=gn,hi=!1,es+=Wn;continue}if(!si.noext&&ay(Wn)&&ti.charAt(gn)==="("){ii.push(es),es="";const Gn=new $l(Wn,ii);gn=qf(on=$l,lh,yp).call(on,ti,Gn,gn,si),ii.push(Gn);continue}es+=Wn}return ii.push(es),gn}let _i=ni+1,ji=new $l(null,ii);const Mi=[];let Ki="";for(;_i<ti.length;){const gn=ti.charAt(_i++);if(ai||gn==="\\"){ai=!ai,Ki+=gn;continue}if(li){_i===fi+1?(gn==="^"||gn==="!")&&(hi=!0):gn==="]"&&!(_i===fi+2&&hi)&&(li=!1),Ki+=gn;continue}else if(gn==="["){li=!0,fi=_i,hi=!1,Ki+=gn;continue}if(ay(gn)&&ti.charAt(_i)==="("){ji.push(Ki),Ki="";const es=new $l(gn,ji);ji.push(es),_i=qf(hn=$l,lh,yp).call(hn,ti,es,_i,si);continue}if(gn==="|"){ji.push(Ki),Ki="",Mi.push(ji),ji=new $l(null,ii);continue}if(gn===")")return Ki===""&&Wr(ii,qa).length===0&&Qa(ii,am,!0),ji.push(Ki),Ki="",ii.push(...Mi,ji),_i;Ki+=gn}return ii.type=null,Qa(ii,jl,void 0),Qa(ii,qa,[ti.substring(ni-1)]),_i},lm=new WeakSet,tv=function(ti){return Wr(this,qa).map(ii=>{if(typeof ii=="string")throw new Error("string type in extglob ast??");const[ni,si,ai,li]=ii.toRegExpSource(ti);return Qa(this,af,Wr(this,af)||li),ni}).filter(ii=>!(this.isStart()&&this.isEnd())||!!ii).join("|")},vp=new WeakSet,Uy=function(ti,ii,ni=!1){let si=!1,ai="",li=!1;for(let fi=0;fi<ti.length;fi++){const hi=ti.charAt(fi);if(si){si=!1,ai+=(wk.has(hi)?"\\":"")+hi;continue}if(hi==="\\"){fi===ti.length-1?ai+="\\\\":si=!0;continue}if(hi==="["){const[_i,ji,Mi,Ki]=gk(ti,fi);if(Mi){ai+=_i,li=li||ji,fi+=Mi-1,ii=ii||Ki;continue}}if(hi==="*"){ni&&ti==="*"?ai+=cy:ai+=ly,ii=!0;continue}if(hi==="?"){ai+=Wg,ii=!0;continue}ai+=xk(hi)}return[ai,sm(ti),!!ii,li]},Vl($l,lh),Vl($l,vp);let lp=$l;const jk=(ei,{windowsPathsNoEscape:ti=!1}={})=>ti?ei.replace(/[?*()[\]]/g,"[$&]"):ei.replace(/[?*()[\]\\]/g,"\\$&"),Hl=(ei,ti,ii={})=>(op(ti),!ii.nocomment&&ti.charAt(0)==="#"?!1:new cp(ti,ii).match(ei)),Sk=/^\*+([^+@!?\*\[\(]*)$/,Ck=ei=>ti=>!ti.startsWith(".")&&ti.endsWith(ei),Ek=ei=>ti=>ti.endsWith(ei),kk=ei=>(ei=ei.toLowerCase(),ti=>!ti.startsWith(".")&&ti.toLowerCase().endsWith(ei)),Ak=ei=>(ei=ei.toLowerCase(),ti=>ti.toLowerCase().endsWith(ei)),Tk=/^\*+\.\*+$/,Lk=ei=>!ei.startsWith(".")&&ei.includes("."),Rk=ei=>ei!=="."&&ei!==".."&&ei.includes("."),Mk=/^\.\*+$/,Ok=ei=>ei!=="."&&ei!==".."&&ei.startsWith("."),Dk=/^\*+$/,Fk=ei=>ei.length!==0&&!ei.startsWith("."),Ik=ei=>ei.length!==0&&ei!=="."&&ei!=="..",Pk=/^\?+([^+@!?\*\[\(]*)?$/,qk=([ei,ti=""])=>{const ii=uy([ei]);return ti?(ti=ti.toLowerCase(),ni=>ii(ni)&&ni.toLowerCase().endsWith(ti)):ii},Nk=([ei,ti=""])=>{const ii=fy([ei]);return ti?(ti=ti.toLowerCase(),ni=>ii(ni)&&ni.toLowerCase().endsWith(ti)):ii},Bk=([ei,ti=""])=>{const ii=fy([ei]);return ti?ni=>ii(ni)&&ni.endsWith(ti):ii},Hk=([ei,ti=""])=>{const ii=uy([ei]);return ti?ni=>ii(ni)&&ni.endsWith(ti):ii},uy=([ei])=>{const ti=ei.length;return ii=>ii.length===ti&&!ii.startsWith(".")},fy=([ei])=>{const ti=ei.length;return ii=>ii.length===ti&&ii!=="."&&ii!==".."},dy=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",hy={win32:{sep:"\\"},posix:{sep:"/"}},$k=dy==="win32"?hy.win32.sep:hy.posix.sep;Hl.sep=$k;const Qc=Symbol("globstar **");Hl.GLOBSTAR=Qc;const Vk="[^/]"+"*?",Uk="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Wk="(?:(?!(?:\\/|^)\\.).)*?",zk=(ei,ti={})=>ii=>Hl(ii,ei,ti);Hl.filter=zk;const Yc=(ei,ti={})=>Object.assign({},ei,ti),Kk=ei=>{if(!ei||typeof ei!="object"||!Object.keys(ei).length)return Hl;const ti=Hl;return Object.assign((ni,si,ai={})=>ti(ni,si,Yc(ei,ai)),{Minimatch:class extends ti.Minimatch{constructor(si,ai={}){super(si,Yc(ei,ai))}static defaults(si){return ti.defaults(Yc(ei,si)).Minimatch}},AST:class extends ti.AST{constructor(si,ai,li={}){super(si,ai,Yc(ei,li))}static fromGlob(si,ai={}){return ti.AST.fromGlob(si,Yc(ei,ai))}},unescape:(ni,si={})=>ti.unescape(ni,Yc(ei,si)),escape:(ni,si={})=>ti.escape(ni,Yc(ei,si)),filter:(ni,si={})=>ti.filter(ni,Yc(ei,si)),defaults:ni=>ti.defaults(Yc(ei,ni)),makeRe:(ni,si={})=>ti.makeRe(ni,Yc(ei,si)),braceExpand:(ni,si={})=>ti.braceExpand(ni,Yc(ei,si)),match:(ni,si,ai={})=>ti.match(ni,si,Yc(ei,ai)),sep:ti.sep,GLOBSTAR:Qc})};Hl.defaults=Kk;const my=(ei,ti={})=>(op(ei),ti.nobrace||!/\{(?:(?!\{).)*\}/.test(ei)?[ei]:dk(ei));Hl.braceExpand=my;const Xk=(ei,ti={})=>new cp(ei,ti).makeRe();Hl.makeRe=Xk;const Gk=(ei,ti,ii={})=>{const ni=new cp(ti,ii);return ei=ei.filter(si=>ni.match(si)),ni.options.nonull&&!ei.length&&ei.push(ti),ei};Hl.match=Gk;const py=/[?*]|[+@!]\(.*?\)|\[|\]/,Qk=ei=>ei.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class cp{constructor(ti,ii={}){vl(this,"options");vl(this,"set");vl(this,"pattern");vl(this,"windowsPathsNoEscape");vl(this,"nonegate");vl(this,"negate");vl(this,"comment");vl(this,"empty");vl(this,"preserveMultipleSlashes");vl(this,"partial");vl(this,"globSet");vl(this,"globParts");vl(this,"nocase");vl(this,"isWindows");vl(this,"platform");vl(this,"windowsNoMagicRoot");vl(this,"regexp");op(ti),ii=ii||{},this.options=ii,this.pattern=ti,this.platform=ii.platform||dy,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!ii.windowsPathsNoEscape||ii.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!ii.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!ii.nonegate,this.comment=!1,this.empty=!1,this.partial=!!ii.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=ii.windowsNoMagicRoot!==void 0?ii.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const ti of this.set)for(const ii of ti)if(typeof ii!="string")return!0;return!1}debug(...ti){}make(){const ti=this.pattern,ii=this.options;if(!ii.nocomment&&ti.charAt(0)==="#"){this.comment=!0;return}if(!ti){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],ii.debug&&(this.debug=(...ai)=>console.error(...ai)),this.debug(this.pattern,this.globSet);const ni=this.globSet.map(ai=>this.slashSplit(ai));this.globParts=this.preprocess(ni),this.debug(this.pattern,this.globParts);let si=this.globParts.map((ai,li,fi)=>{if(this.isWindows&&this.windowsNoMagicRoot){const hi=ai[0]===""&&ai[1]===""&&(ai[2]==="?"||!py.test(ai[2]))&&!py.test(ai[3]),_i=/^[a-z]:/i.test(ai[0]);if(hi)return[...ai.slice(0,4),...ai.slice(4).map(ji=>this.parse(ji))];if(_i)return[ai[0],...ai.slice(1).map(ji=>this.parse(ji))]}return ai.map(hi=>this.parse(hi))});if(this.debug(this.pattern,si),this.set=si.filter(ai=>ai.indexOf(!1)===-1),this.isWindows)for(let ai=0;ai<this.set.length;ai++){const li=this.set[ai];li[0]===""&&li[1]===""&&this.globParts[ai][2]==="?"&&typeof li[3]=="string"&&/^[a-z]:$/i.test(li[3])&&(li[2]="?")}this.debug(this.pattern,this.set)}preprocess(ti){if(this.options.noglobstar)for(let ni=0;ni<ti.length;ni++)for(let si=0;si<ti[ni].length;si++)ti[ni][si]==="**"&&(ti[ni][si]="*");const{optimizationLevel:ii=1}=this.options;return ii>=2?(ti=this.firstPhasePreProcess(ti),ti=this.secondPhasePreProcess(ti)):ii>=1?ti=this.levelOneOptimize(ti):ti=this.adjascentGlobstarOptimize(ti),ti}adjascentGlobstarOptimize(ti){return ti.map(ii=>{let ni=-1;for(;(ni=ii.indexOf("**",ni+1))!==-1;){let si=ni;for(;ii[si+1]==="**";)si++;si!==ni&&ii.splice(ni,si-ni)}return ii})}levelOneOptimize(ti){return ti.map(ii=>(ii=ii.reduce((ni,si)=>{const ai=ni[ni.length-1];return si==="**"&&ai==="**"?ni:si===".."&&ai&&ai!==".."&&ai!=="."&&ai!=="**"?(ni.pop(),ni):(ni.push(si),ni)},[]),ii.length===0?[""]:ii))}levelTwoFileOptimize(ti){Array.isArray(ti)||(ti=this.slashSplit(ti));let ii=!1;do{if(ii=!1,!this.preserveMultipleSlashes){for(let si=1;si<ti.length-1;si++){const ai=ti[si];si===1&&ai===""&&ti[0]===""||(ai==="."||ai==="")&&(ii=!0,ti.splice(si,1),si--)}ti[0]==="."&&ti.length===2&&(ti[1]==="."||ti[1]==="")&&(ii=!0,ti.pop())}let ni=0;for(;(ni=ti.indexOf("..",ni+1))!==-1;){const si=ti[ni-1];si&&si!=="."&&si!==".."&&si!=="**"&&(ii=!0,ti.splice(ni-1,2),ni-=2)}}while(ii);return ti.length===0?[""]:ti}firstPhasePreProcess(ti){let ii=!1;do{ii=!1;for(let ni of ti){let si=-1;for(;(si=ni.indexOf("**",si+1))!==-1;){let li=si;for(;ni[li+1]==="**";)li++;li>si&&ni.splice(si+1,li-si);let fi=ni[si+1];const hi=ni[si+2],_i=ni[si+3];if(fi!==".."||!hi||hi==="."||hi===".."||!_i||_i==="."||_i==="..")continue;ii=!0,ni.splice(si,1);const ji=ni.slice(0);ji[si]="**",ti.push(ji),si--}if(!this.preserveMultipleSlashes){for(let li=1;li<ni.length-1;li++){const fi=ni[li];li===1&&fi===""&&ni[0]===""||(fi==="."||fi==="")&&(ii=!0,ni.splice(li,1),li--)}ni[0]==="."&&ni.length===2&&(ni[1]==="."||ni[1]==="")&&(ii=!0,ni.pop())}let ai=0;for(;(ai=ni.indexOf("..",ai+1))!==-1;){const li=ni[ai-1];if(li&&li!=="."&&li!==".."&&li!=="**"){ii=!0;const hi=ai===1&&ni[ai+1]==="**"?["."]:[];ni.splice(ai-1,2,...hi),ni.length===0&&ni.push(""),ai-=2}}}}while(ii);return ti}secondPhasePreProcess(ti){for(let ii=0;ii<ti.length-1;ii++)for(let ni=ii+1;ni<ti.length;ni++){const si=this.partsMatch(ti[ii],ti[ni],!this.preserveMultipleSlashes);si&&(ti[ii]=si,ti[ni]=[])}return ti.filter(ii=>ii.length)}partsMatch(ti,ii,ni=!1){let si=0,ai=0,li=[],fi="";for(;si<ti.length&&ai<ii.length;)if(ti[si]===ii[ai])li.push(fi==="b"?ii[ai]:ti[si]),si++,ai++;else if(ni&&ti[si]==="**"&&ii[ai]===ti[si+1])li.push(ti[si]),si++;else if(ni&&ii[ai]==="**"&&ti[si]===ii[ai+1])li.push(ii[ai]),ai++;else if(ti[si]==="*"&&ii[ai]&&(this.options.dot||!ii[ai].startsWith("."))&&ii[ai]!=="**"){if(fi==="b")return!1;fi="a",li.push(ti[si]),si++,ai++}else if(ii[ai]==="*"&&ti[si]&&(this.options.dot||!ti[si].startsWith("."))&&ti[si]!=="**"){if(fi==="a")return!1;fi="b",li.push(ii[ai]),si++,ai++}else return!1;return ti.length===ii.length&&li}parseNegate(){if(this.nonegate)return;const ti=this.pattern;let ii=!1,ni=0;for(let si=0;si<ti.length&&ti.charAt(si)==="!";si++)ii=!ii,ni++;ni&&(this.pattern=ti.slice(ni)),this.negate=ii}matchOne(ti,ii,ni=!1){const si=this.options;if(this.isWindows){const gn=typeof ti[0]=="string"&&/^[a-z]:$/i.test(ti[0]),es=!gn&&ti[0]===""&&ti[1]===""&&ti[2]==="?"&&/^[a-z]:$/i.test(ti[3]),Wn=typeof ii[0]=="string"&&/^[a-z]:$/i.test(ii[0]),Gn=!Wn&&ii[0]===""&&ii[1]===""&&ii[2]==="?"&&typeof ii[3]=="string"&&/^[a-z]:$/i.test(ii[3]),Dn=es?3:gn?0:void 0,Xi=Gn?3:Wn?0:void 0;if(typeof Dn=="number"&&typeof Xi=="number"){const[Bn,Kn]=[ti[Dn],ii[Xi]];Bn.toLowerCase()===Kn.toLowerCase()&&(ii[Xi]=Bn,Xi>Dn?ii=ii.slice(Xi):Dn>Xi&&(ti=ti.slice(Dn)))}}const{optimizationLevel:ai=1}=this.options;ai>=2&&(ti=this.levelTwoFileOptimize(ti)),this.debug("matchOne",this,{file:ti,pattern:ii}),this.debug("matchOne",ti.length,ii.length);for(var li=0,fi=0,hi=ti.length,_i=ii.length;li<hi&&fi<_i;li++,fi++){this.debug("matchOne loop");var ji=ii[fi],Mi=ti[li];if(this.debug(ii,ji,Mi),ji===!1)return!1;if(ji===Qc){this.debug("GLOBSTAR",[ii,ji,Mi]);var Ki=li,on=fi+1;if(on===_i){for(this.debug("** at the end");li<hi;li++)if(ti[li]==="."||ti[li]===".."||!si.dot&&ti[li].charAt(0)===".")return!1;return!0}for(;Ki<hi;){var hn=ti[Ki];if(this.debug(`
globstar while`,ti,Ki,ii,on,hn),this.matchOne(ti.slice(Ki),ii.slice(on),ni))return this.debug("globstar found match!",Ki,hi,hn),!0;if(hn==="."||hn===".."||!si.dot&&hn.charAt(0)==="."){this.debug("dot detected!",ti,Ki,ii,on);break}this.debug("globstar swallow a segment, and continue"),Ki++}return!!(ni&&(this.debug(`
>>> no match, partial?`,ti,Ki,ii,on),Ki===hi))}let gn;if(typeof ji=="string"?(gn=Mi===ji,this.debug("string match",ji,Mi,gn)):(gn=ji.test(Mi),this.debug("pattern match",ji,Mi,gn)),!gn)return!1}if(li===hi&&fi===_i)return!0;if(li===hi)return ni;if(fi===_i)return li===hi-1&&ti[li]==="";throw new Error("wtf?")}braceExpand(){return my(this.pattern,this.options)}parse(ti){op(ti);const ii=this.options;if(ti==="**")return Qc;if(ti==="")return"";let ni,si=null;(ni=ti.match(Dk))?si=ii.dot?Ik:Fk:(ni=ti.match(Sk))?si=(ii.nocase?ii.dot?Ak:kk:ii.dot?Ek:Ck)(ni[1]):(ni=ti.match(Pk))?si=(ii.nocase?ii.dot?Nk:qk:ii.dot?Bk:Hk)(ni):(ni=ti.match(Tk))?si=ii.dot?Rk:Lk:(ni=ti.match(Mk))&&(si=Ok);const ai=lp.fromGlob(ti,this.options).toMMPattern();return si&&typeof ai=="object"&&Reflect.defineProperty(ai,"test",{value:si}),ai}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const ti=this.set;if(!ti.length)return this.regexp=!1,this.regexp;const ii=this.options,ni=ii.noglobstar?Vk:ii.dot?Uk:Wk,si=new Set(ii.nocase?["i"]:[]);let ai=ti.map(hi=>{const _i=hi.map(ji=>{if(ji instanceof RegExp)for(const Mi of ji.flags.split(""))si.add(Mi);return typeof ji=="string"?Qk(ji):ji===Qc?Qc:ji._src});return _i.forEach((ji,Mi)=>{const Ki=_i[Mi+1],on=_i[Mi-1];ji!==Qc||on===Qc||(on===void 0?Ki!==void 0&&Ki!==Qc?_i[Mi+1]="(?:\\/|"+ni+"\\/)?"+Ki:_i[Mi]=ni:Ki===void 0?_i[Mi-1]=on+"(?:\\/|"+ni+")?":Ki!==Qc&&(_i[Mi-1]=on+"(?:\\/|\\/"+ni+"\\/)"+Ki,_i[Mi+1]=Qc))}),_i.filter(ji=>ji!==Qc).join("/")}).join("|");const[li,fi]=ti.length>1?["(?:",")"]:["",""];ai="^"+li+ai+fi+"$",this.negate&&(ai="^(?!"+ai+").+$");try{this.regexp=new RegExp(ai,[...si].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(ti){return this.preserveMultipleSlashes?ti.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(ti)?["",...ti.split(/\/+/)]:ti.split(/\/+/)}match(ti,ii=this.partial){if(this.debug("match",ti,this.pattern),this.comment)return!1;if(this.empty)return ti==="";if(ti==="/"&&ii)return!0;const ni=this.options;this.isWindows&&(ti=ti.split("\\").join("/"));const si=this.slashSplit(ti);this.debug(this.pattern,"split",si);const ai=this.set;this.debug(this.pattern,"set",ai);let li=si[si.length-1];if(!li)for(let fi=si.length-2;!li&&fi>=0;fi--)li=si[fi];for(let fi=0;fi<ai.length;fi++){const hi=ai[fi];let _i=si;if(ni.matchBase&&hi.length===1&&(_i=[li]),this.matchOne(_i,hi,ii))return ni.flipNegate?!0:!this.negate}return ni.flipNegate?!1:this.negate}static defaults(ti){return Hl.defaults(ti).Minimatch}}Hl.AST=lp,Hl.Minimatch=cp,Hl.escape=jk,Hl.unescape=sm;const{appSubUrl:Yk,csrfToken:Jk}=window.config;function Zk(){Hi(".page-content.repository .ui.dropdown.access-mode").each((ei,ti)=>{const ii=Hi(ti),ni=ii.find("> .text");ii.dropdown({async action(si,ai){const li=ti.getAttribute("data-last-value");try{ti.setAttribute("data-last-value",ai),ii.dropdown("hide");const fi=new FormData;fi.append("uid",ti.getAttribute("data-uid")),fi.append("mode",ai),await(0,so.LO)(ti.getAttribute("data-url"),{data:fi})}catch{ni.text("(error)"),ti.setAttribute("data-last-value",li)}},onChange(si,ai,li){ni.text(ai)},onHide(){setTimeout(()=>{ii.dropdown("get item",ti.getAttribute("data-last-value"))?ii.dropdown("set selected",ti.getAttribute("data-last-value")):ni.text("(none)")},0)}})})}function eA(){const ei=document.getElementById("search-team-box");ei&&Hi(ei).search({minCharacters:2,apiSettings:{url:`${Yk}/org/${ei.getAttribute("data-org-name")}/teams/-/search?q={query}`,headers:{"X-Csrf-Token":Jk},onResponse(ti){const ii=[];return Hi.each(ti.data,(ni,si)=>{ii.push({title:si.name,description:`${si.permission} access`})}),{results:ii}}},searchFields:["name","description"],showNoResults:!1})}function tA(){if(!Hi(".edit.githook").length)return;const ei=document.querySelector(".hook-filename").textContent,ti=K_(Hi("#content")[0],ei,{language:"shell"})}function iA(){if(!document.querySelector(".repository.settings.branches"))return;for(const ti of document.getElementsByClassName("toggle-target-enabled"))ti.addEventListener("change",function(){document.querySelector(this.getAttribute("data-target"))?.classList.toggle("disabled",!this.checked)});for(const ti of document.getElementsByClassName("toggle-target-disabled"))ti.addEventListener("change",function(){const ii=document.querySelector(this.getAttribute("data-target"));this.checked&&ii?.classList.add("disabled")});document.getElementById("dismiss_stale_approvals")?.addEventListener("change",function(){document.getElementById("ignore_stale_approvals_box")?.classList.toggle("disabled",this.checked)});const ei=()=>{const ii=(document.getElementById("status_check_contexts").value||"").split(/[\r\n]+/).map(si=>si.trim()).filter(Boolean),ni=document.getElementsByClassName("status-check-matched-mark");for(const si of ni){let ai=!1;const li=si.getAttribute("data-status-check");for(const fi of ii)if(Hl(li,fi)){ai=!0;break}(0,zn.oi)(si,ai)}};ei(),document.getElementById("status_check_contexts").addEventListener("input",(0,zn.nm)(ei))}function gy(){for(const ei of document.querySelectorAll(".issue-content, .diff-file-body"))ei.addEventListener("click",async ti=>{const ii=ti.target.closest(".comment-reaction-button");if(!ii||(ti.preventDefault(),ii.classList.contains("disabled")))return;const ni=ii.closest("[data-action-url]").getAttribute("data-action-url"),si=ii.getAttribute("data-reaction-content"),ai=ii.closest(".comment-container"),li=ai.querySelector(".bottom-reactions"),hi=li?.querySelector(`a[data-reaction-content="${CSS.escape(si)}"]`)?.getAttribute("data-has-reacted")==="true",ji=await(await(0,so.LO)(`${ni}/${hi?"unreact":"react"}`,{data:new URLSearchParams({content:si})})).json();if(li?.remove(),ji.html){ai.insertAdjacentHTML("beforeend",ji.html);const Mi=ai.querySelectorAll(".bottom-reactions .dropdown.select-reaction");Hi(Mi).dropdown()}})}const zR=ei=>(_pushScopeId("data-v-3385ef54"),ei=ei(),_popScopeId(),ei),nA={key:0,class:"diff-file-tree-items"},sA={key:0,class:"tw-pt-1"};function rA(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("DiffFileTreeItem");return ei.store.fileTreeIsVisible?((0,ri.uX)(),(0,ri.CE)("div",nA,[(0,ri.Q3)(" only render the tree if we're visible. in many cases this is something that doesn't change very often "),((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ai.fileTree,fi=>((0,ri.uX)(),(0,ri.Wv)(li,{key:fi.name,item:fi},null,8,["item"]))),128)),ei.store.isIncomplete?((0,ri.uX)(),(0,ri.CE)("div",sA,[(0,ri.Lk)("a",{class:(0,yi.C4)(["ui","basic","tiny","button",ei.store.isLoadingNewData?"disabled":""]),onClick:ti[0]||(ti[0]=ml((...fi)=>ai.loadMoreData&&ai.loadMoreData(...fi),["stop"]))},(0,yi.v_)(ei.store.showMoreMessage),3)])):(0,ri.Q3)("v-if",!0)])):(0,ri.Q3)("v-if",!0)}const KR=ei=>(_pushScopeId("data-v-9574f84c"),ei=ei(),_popScopeId(),ei),oA=["title","href"],aA={class:"gt-ellipsis tw-flex-1"},lA=["title"],cA={class:"gt-ellipsis"},uA={key:2,class:"sub-items"};function fA(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("SvgIcon"),fi=(0,ri.g2)("DiffFileTreeItem",!0);return(0,ri.uX)(),(0,ri.CE)(ri.FK,null,[(0,ri.Q3)('title instead of tooltip above as the tooltip needs too much work with the current methods, i.e. not being loaded or staying open for "too long"'),ii.item.isFile?((0,ri.uX)(),(0,ri.CE)("a",{key:0,class:(0,yi.C4)(["item-file",{selected:ei.store.selectedItem==="#diff-"+ii.item.file.NameHash,viewed:ii.item.file.IsViewed}]),title:ii.item.name,href:"#diff-"+ii.item.file.NameHash},[(0,ri.Q3)(" file "),(0,ri.bF)(li,{name:"octicon-file"}),(0,ri.Lk)("span",aA,(0,yi.v_)(ii.item.name),1),(0,ri.bF)(li,{name:ai.getIconForDiffType(ii.item.file.Type).name,class:(0,yi.C4)(ai.getIconForDiffType(ii.item.file.Type).classes)},null,8,["name","class"])],10,oA)):((0,ri.uX)(),(0,ri.CE)("div",{key:1,class:"item-directory",title:ii.item.name,onClick:ti[0]||(ti[0]=ml(hi=>ei.collapsed=!ei.collapsed,["stop"]))},[(0,ri.Q3)(" directory "),(0,ri.bF)(li,{name:ei.collapsed?"octicon-chevron-right":"octicon-chevron-down"},null,8,["name"]),(0,ri.bF)(li,{class:"text primary",name:"octicon-file-directory-fill"}),(0,ri.Lk)("span",cA,(0,yi.v_)(ii.item.name),1)],8,lA)),ii.item.children?.length?(0,ri.bo)(((0,ri.uX)(),(0,ri.CE)("div",uA,[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ii.item.children,hi=>((0,ri.uX)(),(0,ri.Wv)(fi,{key:hi.name,item:hi},null,8,["item"]))),128))],512)),[[Jl,!ei.collapsed]]):(0,ri.Q3)("v-if",!0)],64)}let up;function fp(){return up||(up=(0,Rl.Kh)(window.config.pageData.diffFileInfo),window.config.pageData.diffFileInfo=up),up}var dA={components:{SvgIcon:Io.Ah},props:{item:{type:Object,required:!0}},data:()=>({store:fp(),collapsed:!1}),methods:{getIconForDiffType(ei){return{1:{name:"octicon-diff-added",classes:["text","green"]},2:{name:"octicon-diff-modified",classes:["text","yellow"]},3:{name:"octicon-diff-removed",classes:["text","red"]},4:{name:"octicon-diff-renamed",classes:["text","teal"]},5:{name:"octicon-diff-renamed",classes:["text","green"]}}[ei]}}},hA=(0,zc.A)(dA,[["render",fA],["__scopeId","data-v-9574f84c"]]);const vy="diff_file_tree_visible";var mA={components:{DiffFileTreeItem:hA},data:()=>({store:fp()}),computed:{fileTree(){const ei=[];for(const ii of this.store.files){const ni=ii.Name.split("/");let si=0,ai=null,li=!1;for(const fi of ni){si+=1,si===ni.length&&(li=!0);let hi={name:fi,children:[],isFile:li};if(li===!0&&(hi.file=ii),ai){const _i=ai.children.find(ji=>ji.name===fi);_i?hi=_i:ai.children.push(hi)}else{const _i=ei.find(ji=>ji.name===fi);_i?hi=_i:ei.push(hi)}ai=hi}}const ti=ii=>{for(const ni of ii)ni.children&&ti(ni.children),ni.children.length===1&&ni.children[0].isFile===!1&&(ni.name=`${ni.name}/${ni.children[0].name}`,ni.children=ni.children[0].children)};return ti(ei),ei}},mounted(){this.store.fileTreeIsVisible=localStorage.getItem(vy)!=="false",document.querySelector(".diff-toggle-file-tree-button").addEventListener("click",this.toggleVisibility),this.hashChangeListener=()=>{this.store.selectedItem=window.location.hash,this.expandSelectedFile()},this.hashChangeListener(),window.addEventListener("hashchange",this.hashChangeListener)},unmounted(){document.querySelector(".diff-toggle-file-tree-button").removeEventListener("click",this.toggleVisibility),window.removeEventListener("hashchange",this.hashChangeListener)},methods:{expandSelectedFile(){if(this.store.selectedItem){const ei=document.querySelector(this.store.selectedItem);ei?.getAttribute("data-folded")==="true"&&nh(ei,ei.querySelector(".fold-file"),!1)}},toggleVisibility(){this.updateVisibility(!this.store.fileTreeIsVisible)},updateVisibility(ei){this.store.fileTreeIsVisible=ei,localStorage.setItem(vy,this.store.fileTreeIsVisible),this.updateState(this.store.fileTreeIsVisible)},updateState(ei){const ti=document.querySelector(".diff-toggle-file-tree-button"),[ii,ni]=ti.querySelectorAll(".icon"),si=document.getElementById("diff-file-tree"),ai=ti.getAttribute(ei?"data-hide-text":"data-show-text");ti.setAttribute("data-tooltip-content",ai),(0,zn.oi)(si,ei),(0,zn.oi)(ii,!ei),(0,zn.oi)(ni,ei)},loadMoreData(){Kg(this.store.linkLoadMore)}}},pA=(0,zc.A)(mA,[["render",rA],["__scopeId","data-v-3385ef54"]]);const gA={key:0,class:"diff-stats tw-m-0",ref:"root"},vA={class:"tw-font-semibold tw-flex tw-items-center pull-right"},bA={key:0,class:"tw-ml-0.5 tw-mr-2"},_A=["data-tooltip-content"],yA=["data-tooltip-content"],wA=["href"],xA={key:0,class:"tw-pt-1"},jA={class:"file tw-flex tw-items-center tw-justify-between"};function SA(ei,ti,ii,ni,si,ai){return ei.store.fileListIsVisible?((0,ri.uX)(),(0,ri.CE)("ol",gA,[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.store.files,li=>((0,ri.uX)(),(0,ri.CE)("li",{key:li.NameHash},[(0,ri.Lk)("div",vA,[li.IsBin?((0,ri.uX)(),(0,ri.CE)("span",bA,(0,yi.v_)(ei.store.binaryFileMessage),1)):(0,ri.Q3)("v-if",!0),(0,ri.eW)(" "+(0,yi.v_)(li.IsBin?"":li.Addition+li.Deletion)+" ",1),li.IsBin?(0,ri.Q3)("v-if",!0):((0,ri.uX)(),(0,ri.CE)("span",{key:1,class:"diff-stats-bar tw-mx-2","data-tooltip-content":ei.store.statisticsMessage.replace("%d",li.Addition+li.Deletion).replace("%d",li.Addition).replace("%d",li.Deletion)},[(0,ri.Lk)("div",{class:"diff-stats-add-bar",style:(0,yi.Tr)({width:ai.diffStatsWidth(li.Addition,li.Deletion)})},null,4)],8,_A))]),(0,ri.Q3)(" todo finish all file status, now modify, add, delete and rename "),(0,ri.Lk)("span",{class:(0,yi.C4)(["status",ai.diffTypeToString(li.Type)]),"data-tooltip-content":ai.diffTypeToString(li.Type)},"\xA0",10,yA),(0,ri.Lk)("a",{class:"file tw-font-mono",href:"#diff-"+li.NameHash},(0,yi.v_)(li.Name),9,wA)]))),128)),ei.store.isIncomplete?((0,ri.uX)(),(0,ri.CE)("li",xA,[(0,ri.Lk)("span",jA,[(0,ri.eW)((0,yi.v_)(ei.store.tooManyFilesMessage)+" ",1),(0,ri.Lk)("a",{class:(0,yi.C4)(["ui","basic","tiny","button",ei.store.isLoadingNewData?"disabled":""]),onClick:ti[0]||(ti[0]=ml((...li)=>ai.loadMoreData&&ai.loadMoreData(...li),["stop"]))},(0,yi.v_)(ei.store.showMoreMessage),3)])])):(0,ri.Q3)("v-if",!0)],512)):(0,ri.Q3)("v-if",!0)}var CA={data:()=>({store:fp()}),mounted(){document.getElementById("show-file-list-btn").addEventListener("click",this.toggleFileList)},unmounted(){document.getElementById("show-file-list-btn").removeEventListener("click",this.toggleFileList)},methods:{toggleFileList(){this.store.fileListIsVisible=!this.store.fileListIsVisible},diffTypeToString(ei){return{1:"add",2:"modify",3:"del",4:"rename",5:"copy"}[ei]},diffStatsWidth(ei,ti){return`${ei/(ei+ti)*100}%`},loadMoreData(){Kg(this.store.linkLoadMore)}}},EA=(0,zc.A)(CA,[["render",SA]]);function kA(){const ei=document.getElementById("diff-file-tree");if(!ei)return;dc(pA).mount(ei);const ii=document.getElementById("diff-file-list");if(!ii)return;dc(EA).mount(ii)}const YR=ei=>(_pushScopeId("data-v-37badef1"),ei=ei(),_popScopeId(),ei),AA={class:"ui scrolling dropdown custom"},TA=["data-tooltip-content","aria-label"],LA=["aria-expanded"],RA={key:0,class:"loading-indicator is-loading"},MA={class:"gt-ellipsis"},OA={class:"gt-ellipsis text light-2 tw-mb-0"},DA={class:"gt-ellipsis"},FA={class:"gt-ellipsis text light-2"},IA={key:3,class:"info text light-2"},PA=["onKeydown","onMouseover","onClick"],qA={class:"tw-flex-1 tw-flex tw-flex-col tw-gap-1"},NA={class:"gt-ellipsis commit-list-summary"},BA={class:"gt-ellipsis text light-2"},HA={class:"text right"},$A=["datetime"],VA={class:"tw-font-mono"};function UA(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("svg-icon");return(0,ri.uX)(),(0,ri.CE)("div",AA,[(0,ri.Lk)("button",{class:"ui basic button",id:"diff-commit-list-expand",onClick:ti[0]||(ti[0]=ml(fi=>ai.toggleMenu(),["stop"])),"data-tooltip-content":ei.locale.filter_changes_by_commit,"aria-haspopup":"true","aria-controls":"diff-commit-selector-menu","aria-label":ei.locale.filter_changes_by_commit,"aria-activedescendant":"diff-commit-list-show-all"},[(0,ri.bF)(li,{name:"octicon-git-commit"})],8,TA),(0,ri.bo)((0,ri.Lk)("div",{class:(0,yi.C4)(["left menu transition",{visible:ei.menuVisible}]),id:"diff-commit-selector-menu","aria-expanded":ei.menuVisible?"true":"false"},[ei.isLoading?((0,ri.uX)(),(0,ri.CE)("div",RA)):(0,ri.Q3)("v-if",!0),ei.isLoading?(0,ri.Q3)("v-if",!0):((0,ri.uX)(),(0,ri.CE)("div",{key:1,class:"vertical item",id:"diff-commit-list-show-all",role:"menuitem",onKeydown:ti[1]||(ti[1]=Qd(fi=>ai.showAllChanges(),["enter"])),onClick:ti[2]||(ti[2]=fi=>ai.showAllChanges())},[(0,ri.Lk)("div",MA,(0,yi.v_)(ei.locale.show_all_commits),1),(0,ri.Lk)("div",OA,(0,yi.v_)(ei.locale.stats_num_commits),1)],32)),(0,ri.Q3)(" only show the show changes since last review if there is a review AND we are commits ahead of the last review "),ei.lastReviewCommitSha!=null?((0,ri.uX)(),(0,ri.CE)("div",{key:2,role:"menuitem",class:(0,yi.C4)(["vertical item",{disabled:!ai.commitsSinceLastReview}]),onKeydown:ti[3]||(ti[3]=Qd(fi=>ai.changesSinceLastReviewClick(),["enter"])),onClick:ti[4]||(ti[4]=fi=>ai.changesSinceLastReviewClick())},[(0,ri.Lk)("div",DA,(0,yi.v_)(ei.locale.show_changes_since_your_last_review),1),(0,ri.Lk)("div",FA,(0,yi.v_)(ai.commitsSinceLastReview)+" commits ",1)],34)):(0,ri.Q3)("v-if",!0),ei.isLoading?(0,ri.Q3)("v-if",!0):((0,ri.uX)(),(0,ri.CE)("span",IA,(0,yi.v_)(ei.locale.select_commit_hold_shift_for_range),1)),((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.commits,fi=>((0,ri.uX)(),(0,ri.CE)("div",{key:fi.id,class:(0,yi.C4)(["vertical item",{selection:fi.selected,hovered:fi.hovered}]),role:"menuitem",onKeydown:[Qd(ml(hi=>ai.commitClicked(fi.id),["exact"]),["enter"]),Qd(ml(hi=>ai.commitClickedShift(fi),["shift","exact"]),["enter"])],onMouseover:ml(hi=>ai.highlight(fi),["shift"]),onClick:[ml(hi=>ai.commitClicked(fi.id),["exact"]),ml(hi=>ai.commitClicked(fi.id,!0),["ctrl","exact"]),ml(hi=>ai.commitClicked(fi.id,!0),["meta","exact"]),ml(hi=>ai.commitClickedShift(fi),["shift","exact","stop","prevent"])]},[(0,ri.Lk)("div",qA,[(0,ri.Lk)("div",NA,(0,yi.v_)(fi.summary),1),(0,ri.Lk)("div",BA,[(0,ri.eW)((0,yi.v_)(fi.committer_or_author_name)+" ",1),(0,ri.Lk)("span",HA,[(0,ri.Q3)(" TODO: make this respect the PreferredTimestampTense setting "),(0,ri.Lk)("relative-time",{prefix:"",datetime:fi.time,"data-tooltip-content":"","data-tooltip-interactive":"true"},(0,yi.v_)(fi.time),9,$A)])])]),(0,ri.Lk)("div",VA,(0,yi.v_)(fi.short_sha),1)],42,PA))),128))],10,LA),[[Jl,ei.menuVisible]])])}var WA={components:{SvgIcon:Io.Ah},data:()=>({menuVisible:!1,isLoading:!1,locale:{filter_changes_by_commit:document.getElementById("diff-commit-select").getAttribute("data-filter_changes_by_commit")},commits:[],hoverActivated:!1,lastReviewCommitSha:null}),computed:{commitsSinceLastReview(){return this.lastReviewCommitSha?this.commits.length-this.commits.findIndex(ei=>ei.id===this.lastReviewCommitSha)-1:0},queryParams(){return this.$el.parentNode.getAttribute("data-queryparams")},issueLink(){return this.$el.parentNode.getAttribute("data-issuelink")}},mounted(){document.body.addEventListener("click",this.onBodyClick),this.$el.addEventListener("keydown",this.onKeyDown),this.$el.addEventListener("keyup",this.onKeyUp)},unmounted(){document.body.removeEventListener("click",this.onBodyClick),this.$el.removeEventListener("keydown",this.onKeyDown),this.$el.removeEventListener("keyup",this.onKeyUp)},methods:{onBodyClick(ei){this.$el.contains(ei.target)||this.menuVisible&&this.toggleMenu()},onKeyDown(ei){if(!this.menuVisible)return;const ti=document.activeElement;if(this.$el.contains(ti))switch(ei.key){case"ArrowDown":ei.preventDefault(),this.focusElem(ti.nextElementSibling,ti);break;case"ArrowUp":ei.preventDefault(),this.focusElem(ti.previousElementSibling,ti);break;case"Escape":ei.preventDefault(),ti.tabIndex=-1,this.toggleMenu();break}},onKeyUp(ei){if(!this.menuVisible)return;const ti=document.activeElement;if(this.$el.contains(ti)&&ei.key==="Shift"&&this.hoverActivated){this.hoverActivated=!1;for(const ii of this.commits)ii.hovered=!1,ii.selected=!1}},highlight(ei){if(!this.hoverActivated)return;const ti=this.commits.findIndex(ni=>ni.selected),ii=this.commits.findIndex(ni=>ni.id===ei.id);for(const[ni,si]of this.commits.entries())si.hovered=Math.min(ti,ii)<=ni&&ni<=Math.max(ti,ii)},focusElem(ei,ti){ei&&(ei.tabIndex=0,ti&&(ti.tabIndex=-1),ei.focus())},async toggleMenu(){if(this.menuVisible=!this.menuVisible,!this.commits.length&&this.menuVisible&&!this.isLoading){this.isLoading=!0;try{await this.fetchCommits()}finally{this.isLoading=!1}}this.$nextTick(()=>{const ei=this.$el.querySelector("#diff-commit-list-expand"),ti=this.$el.querySelector("#diff-commit-list-show-all");this.menuVisible?this.focusElem(ti,ei):this.focusElem(ei,ti)})},async fetchCommits(){const ti=await(await(0,so.fG)(`${this.issueLink}/commits/list`)).json();this.commits.push(...ti.commits.map(ii=>(ii.hovered=!1,ii))),this.commits.reverse(),this.lastReviewCommitSha=ti.last_review_commit_sha||null,this.lastReviewCommitSha&&this.commits.findIndex(ii=>ii.id===this.lastReviewCommitSha)===-1&&(this.lastReviewCommitSha=null),Object.assign(this.locale,ti.locale)},showAllChanges(){window.location=`${this.issueLink}/files${this.queryParams}`},changesSinceLastReviewClick(){window.location=`${this.issueLink}/files/${this.lastReviewCommitSha}..${this.commits.at(-1).id}${this.queryParams}`},commitClicked(ei,ti=!1){const ii=`${this.issueLink}/commits/${ei}${this.queryParams}`;ti?window.open(ii):window.location=ii},commitClickedShift(ei){if(this.hoverActivated=!this.hoverActivated,ei.selected=!0,!this.hoverActivated)if(this.commits[0].selected){const ti=this.commits.findLastIndex(ii=>ii.selected);ti===this.commits.length-1?window.location=`${this.issueLink}/files${this.queryParams}`:window.location=`${this.issueLink}/files/${this.commits[ti].id}${this.queryParams}`}else{const ti=this.commits[this.commits.findIndex(ni=>ni.selected)-1].id,ii=this.commits.findLast(ni=>ni.selected).id;window.location=`${this.issueLink}/files/${ti}..${ii}${this.queryParams}`}}}},zA=(0,zc.A)(WA,[["render",UA],["__scopeId","data-v-37badef1"]]);function KA(){const ei=document.getElementById("diff-commit-select");if(!ei)return;dc(zA).mount(ei)}const{pageData:XA}=window.config,oh=XA.prReview||{},by="viewed-file-checked-form",_y=".viewed-file-form",GA="#expand-files-btn",QA="#collapse-files-btn";function yy(){document.getElementById("viewed-files-summary")?.setAttribute("value",oh.numberOfViewedFiles);const ti=document.getElementById("viewed-files-summary-label");ti&&(ti.innerHTML=ti.getAttribute("data-text-changed-template").replace("%[1]d",oh.numberOfViewedFiles).replace("%[2]d",oh.numberOfFiles))}function YA(){oh.numberOfViewedFiles=document.querySelectorAll(`${_y} > input[type=checkbox][checked]`).length,yy()}function wy(){for(const ei of document.querySelectorAll(`${_y}:not([data-has-viewed-checkbox-listener="true"])`)){ei.setAttribute("data-has-viewed-checkbox-listener",!0);const ti=ei.querySelector("input[type=checkbox]");ti.addEventListener("input",function(){this.checked?(ei.classList.add(by),ti.setAttribute("checked",""),oh.numberOfViewedFiles++):(ei.classList.remove(by),ti.removeAttribute("checked"),oh.numberOfViewedFiles--),yy(),ei.parentNode.querySelector(".changed-since-last-review")?.remove();const ni=ti.getAttribute("name"),si=fp().files.find(_i=>_i.Name===ni);si&&(si.IsViewed=this.checked);const ai={};ai[ni]=this.checked;const li={files:ai},fi=ei.getAttribute("data-headcommit");fi&&(li.headCommitSHA=fi),(0,so.LO)(ei.getAttribute("data-link"),{data:li});const hi=ei.closest(".diff-file-header");nh(hi.closest(".file-content"),hi.querySelector(".fold-file"),this.checked)})}}function JA(){document.querySelector(GA)?.addEventListener("click",()=>{for(const ei of document.querySelectorAll('.file-content[data-folded="true"]'))nh(ei,ei.querySelector(".fold-file"),!1)}),document.querySelector(QA)?.addEventListener("click",()=>{for(const ei of document.querySelectorAll('.file-content:not([data-folded="true"])'))ei.getAttribute("id")!=="diff-incomplete"&&nh(ei,ei.querySelector(".fold-file"),!0)})}const{pageData:zg,i18n:ZA}=window.config;function eT(){const ei=document.getElementById("review-box");if(!ei)return;const ti=ei.querySelector(".review-comments-counter");ti&&Hi(document).on("click",'button[name="pending_review"]',ii=>{Hi(ii.target).closest("form").on("submit",()=>{const si=parseInt(ti.getAttribute("data-pending-comment-number"))+1||1;ti.setAttribute("data-pending-comment-number",si),ti.textContent=si,ei.classList.remove("pulse"),requestAnimationFrame(()=>{ei.classList.add("pulse")})})})}function tT(){Hi(".file-view-toggle").on("click",function(){for(const ti of(0,zn.D6)(this))ti.classList.remove("active");this.classList.add("active");const ei=document.querySelector(this.getAttribute("data-toggle-selector"));ei&&((0,zn.y9)((0,zn.D6)(ei)),(0,zn.fi)(ei))})}function iT(){Hi(document).on("submit",".conversation-holder form",async ei=>{ei.preventDefault();const ti=Hi(ei.target),ii=ei.target.querySelector("textarea");if(Z_(ii)&&!ei.target.classList.contains("is-loading"))try{ei.target.classList.add("is-loading");const ni=new FormData(ti[0]),si=(0,zn.IU)(ei);(si?.nodeName==="BUTTON"||si?.nodeName==="INPUT"&&si.type==="submit")&&si.name&&ni.append(si.name,si.value);const li=await(0,so.LO)(ei.target.getAttribute("action"),{data:ni}),fi=Hi(await li.text()),{path:hi,side:_i,idx:ji}=fi.data();ti.closest(".conversation-holder").replaceWith(fi);let Mi;ti.closest("tr").data("line-type")==="same"?Mi=`[data-path="${hi}"] .add-code-comment[data-idx="${ji}"]`:Mi=`[data-path="${hi}"] .add-code-comment[data-side="${_i}"][data-idx="${ji}"]`;for(const Ki of document.querySelectorAll(Mi))Ki.classList.add("tw-invisible");fi.find(".dropdown").dropdown()}catch(ni){console.error("Error:",ni),pl(ZA.network_error)}finally{ei.target.classList.remove("is-loading")}}),Hi(document).on("click",".resolve-conversation",async function(ei){ei.preventDefault();const ti=Hi(this).data("comment-id"),ii=Hi(this).data("origin"),ni=Hi(this).data("action"),si=Hi(this).data("update-url");try{const li=await(await(0,so.LO)(si,{data:new URLSearchParams({origin:ii,action:ni,comment_id:ti})})).text();if(Hi(this).closest(".conversation-holder").length){const fi=Hi(li);Hi(this).closest(".conversation-holder").replaceWith(fi),fi.find(".dropdown").dropdown(),gy(fi)}else window.location.reload()}catch(ai){console.error("Error:",ai)}})}function nT(){Hi(document).on("click",".previous-conversation",ei=>{const ti=Hi(ei.currentTarget).closest(".comment-code-cloud"),ii=Hi(".comment-code-cloud:not(.tw-hidden)"),ni=ii.index(ti),si=ni>0?ni-1:ii.length-1,li=ii.eq(si).find(".comment").first()[0].getAttribute("id");window.location.href=`#${li}`}),Hi(document).on("click",".next-conversation",ei=>{const ti=Hi(ei.currentTarget).closest(".comment-code-cloud"),ii=Hi(".comment-code-cloud:not(.tw-hidden)"),ni=ii.index(ti),si=ni<ii.length-1?ni+1:0,li=ii.eq(si).find(".comment").first()[0].getAttribute("id");window.location.href=`#${li}`})}function xy(){Kb(),wy(),YA(),Sb()}async function Kg(ei){const ti=document.querySelector("a#diff-show-more-files");if(!(ti?.classList.contains("disabled")||zg.diffFileInfo.isLoadingNewData)){zg.diffFileInfo.isLoadingNewData=!0,ti?.classList.add("disabled");try{const ni=await(await(0,so.fG)(ei)).text(),si=Hi(ni);Hi("#diff-incomplete").replaceWith(si.find("#diff-file-boxes").children()),Hi("body").append(si.find("script#diff-data-script")),xy()}catch(ii){console.error("Error:",ii),pl("An error occurred while loading more files.")}finally{ti?.classList.remove("disabled"),zg.diffFileInfo.isLoadingNewData=!1}}}function sT(){Hi(document).on("click","a#diff-show-more-files",ei=>{ei.preventDefault();const ti=ei.target.getAttribute("data-href");Kg(ti)}),Hi(document).on("click","a.diff-load-button",async ei=>{ei.preventDefault();const ti=Hi(ei.target);if(ei.target.classList.contains("disabled"))return;ei.target.classList.add("disabled");const ii=ti.data("href");try{const si=await(await(0,so.fG)(ii)).text();if(!si)return;ti.parent().replaceWith(Hi(si).find("#diff-file-boxes .diff-file-body .file-body").children()),xy()}catch(ni){console.error("Error:",ni)}finally{ei.target.classList.remove("disabled")}})}function rT(){iT(),Hi("#diff-file-list").length&&(kA(),KA(),sT(),eT(),tT(),wy(),JA())}const{appSubUrl:oT}=window.config;function aT(){Hi(".organization.new.team input[name=permission]").on("change",()=>{Hi("input[name=permission]:checked",".organization.new.team").val()==="admin"?(0,zn.y9)(".organization.new.team .team-units"):(0,zn.fi)(".organization.new.team .team-units")})}function lT(){const ei=Hi("#search-repo-box");ei.search({minCharacters:2,apiSettings:{url:`${oT}/repo/search?q={query}&uid=${ei.data("uid")}`,onResponse(ti){const ii=[];return Hi.each(ti.data,(ni,si)=>{ii.push({title:si.repository.full_name.split("/")[1],description:si.repository.full_name})}),{results:ii}}},searchFields:["full_name"],showNoResults:!1})}const{appSubUrl:rm}=window.config;async function cT(){if(!document.querySelector(".user.signin.webauthn-prompt")||!Sy())return;const ti=await(0,so.fG)(`${rm}/user/webauthn/assertion`);if(ti.status!==200){Jc("unknown");return}const ii=await ti.json();ii.publicKey.challenge=(0,na.vd)(ii.publicKey.challenge);for(const ni of ii.publicKey.allowCredentials)ni.id=(0,na.vd)(ni.id);try{const ni=await navigator.credentials.get({publicKey:ii.publicKey});await jy(ni)}catch(ni){if(!ii.publicKey.extensions?.appid){Jc("general",ni.message);return}delete ii.publicKey.extensions.appid;try{const si=await navigator.credentials.get({publicKey:ii.publicKey});await jy(si)}catch(si){Jc("general",si.message)}}}async function jy(ei){const ti=new Uint8Array(ei.response.authenticatorData),ii=new Uint8Array(ei.response.clientDataJSON),ni=new Uint8Array(ei.rawId),si=new Uint8Array(ei.response.signature),ai=new Uint8Array(ei.response.userHandle),li=await(0,so.LO)(`${rm}/user/webauthn/assertion`,{data:{id:ei.id,rawId:(0,na.vh)(ni),type:ei.type,clientExtensionResults:ei.getClientExtensionResults(),response:{authenticatorData:(0,na.vh)(ti),clientDataJSON:(0,na.vh)(ii),signature:(0,na.vh)(si),userHandle:(0,na.vh)(ai)}}});if(li.status===500){Jc("unknown");return}else if(li.status!==200){Jc("unable-to-process");return}const fi=await li.json();window.location.href=fi?.redirect??`${rm}/`}async function uT(ei){const ti=new Uint8Array(ei.response.attestationObject),ii=new Uint8Array(ei.response.clientDataJSON),ni=new Uint8Array(ei.rawId),si=await(0,so.LO)(`${rm}/user/settings/security/webauthn/register`,{data:{id:ei.id,rawId:(0,na.vh)(ni),type:ei.type,response:{attestationObject:(0,na.vh)(ti),clientDataJSON:(0,na.vh)(ii)}}});if(si.status===409){Jc("duplicated");return}else if(si.status!==201){Jc("unknown");return}window.location.reload()}function Jc(ei,ti){const ii=document.getElementById("webauthn-error-msg");if(ei==="general")ii.textContent=ti||"unknown error";else{const ni=document.querySelector(`#webauthn-error [data-webauthn-error-msg=${ei}]`);ni?ii.textContent=`${ni.textContent}${ti?` ${ti}`:""}`:ii.textContent=`unknown error type: ${ei}${ti?` ${ti}`:""}`}(0,zn.fi)("#webauthn-error")}function Sy(){return window.isSecureContext?typeof window.PublicKeyCredential!="function"?(Jc("browser"),!1):!0:(Jc("insecure"),!1)}function fT(){const ei=document.getElementById("register-webauthn");if(ei){if(!Sy()){ei.disabled=!0;return}ei.addEventListener("click",async ti=>{ti.preventDefault(),await dT()})}}async function dT(){const ei=document.getElementById("nickname"),ti=new FormData;ti.append("name",ei.value);const ii=await(0,so.LO)(`${rm}/user/settings/security/webauthn/request_register`,{data:ti});if(ii.status===409){Jc("duplicated");return}else if(ii.status!==200){Jc("unknown");return}const ni=await ii.json();if(ei.closest("div.field").classList.remove("error"),ni.publicKey.challenge=(0,na.vd)(ni.publicKey.challenge),ni.publicKey.user.id=(0,na.vd)(ni.publicKey.user.id),ni.publicKey.excludeCredentials)for(const si of ni.publicKey.excludeCredentials)si.id=(0,na.vd)(si.id);try{const si=await navigator.credentials.create({publicKey:ni.publicKey});await uT(si)}catch(si){Jc("unknown",si)}}function hT(){document.addEventListener("click",ei=>{if(ei.target.matches(".remove-rel-attach")){const ti=ei.target.getAttribute("data-uuid"),ii=ei.target.getAttribute("data-id");document.querySelector(`input[name='attachment-del-${ti}']`).value="true",(0,zn.y9)(`#attachment-${ii}`)}})}function mT(){document.querySelector(".repository.new.release")&&(pT(),gT())}function pT(){const ei=document.getElementById("tag-name-editor");if(!ei)return;const ti=JSON.parse(ei.getAttribute("data-existing-tags"));if(!Array.isArray(ti))return;const ii=ei.getAttribute("data-tag-helper"),ni=ei.getAttribute("data-tag-helper-new"),si=ei.getAttribute("data-tag-helper-existing"),ai=document.getElementById("tag-name"),li=function(fi){const hi=fi.value,_i=document.getElementById("tag-helper");ti.includes(hi)?((0,zn.y9)("#tag-target-selector"),_i.textContent=si):((0,zn.fi)("#tag-target-selector"),_i.textContent=hi?ni:ii)};li(ai),ai.addEventListener("input",fi=>{li(fi.target)})}function gT(){const ei=document.querySelector(".repository.new.release .combo-markdown-editor");ei&&Of(ei)}const{appSubUrl:vT}=window.config,bT=/^\S+@\S+$/;function _T(){const ei=document.getElementById("search-user-box");if(!ei)return;const ti=Hi(ei),ii=ei.getAttribute("data-allow-email")==="true",ni=ei.getAttribute("data-allow-email-description")??void 0;ti.search({minCharacters:2,apiSettings:{url:`${vT}/user/search?active=1&q={query}`,onResponse(si){const ai=[],li=ti.find("input").val(),fi=li.toUpperCase();if(Hi.each(si.data,(hi,_i)=>{const ji={title:_i.login,image:_i.avatar_url};_i.full_name&&(ji.description=Ua(_i.full_name)),fi===_i.login.toUpperCase()?ai.unshift(ji):ai.push(ji)}),ii&&!ai.length&&bT.test(li)){const hi={title:li,description:ni};ai.push(hi)}return{results:ai}}},searchFields:["login","full_name"],showNoResults:!1})}function yT(){const ei=document.querySelector(".page-content.install");ei&&(ei.classList.contains("post-install")?xT():wT())}function wT(){const ei="gitea",ti="gitea",ii={mysql:"127.0.0.1:3306",postgres:"127.0.0.1:5432",mssql:"127.0.0.1:1433"},ni=document.getElementById("db_host"),si=document.getElementById("db_user"),ai=document.getElementById("db_name");document.getElementById("db_type").addEventListener("change",function(){const hi=this.value;if((0,zn.y9)("div[data-db-setting-for]"),(0,zn.fi)(`div[data-db-setting-for=${hi}]`),hi!=="sqlite3"){(0,zn.fi)("div[data-db-setting-for=common-host]");const _i=ni.value;(!_i||Object.values(ii).includes(_i))&&(ni.value=ii[hi]??""),!si.value&&!ai.value&&(si.value=ei,ai.value=ti)}}),document.getElementById("db_type").dispatchEvent(new Event("change"));const li=document.getElementById("app_url");li.value.includes("://localhost")&&(li.value=window.location.href);const fi=document.getElementById("domain");fi.value.trim()==="localhost"&&(fi.value=window.location.hostname),document.querySelector("#offline-mode input").addEventListener("change",function(){this.checked&&(document.querySelector("#disable-gravatar input").checked=!0,document.querySelector("#federated-avatar-lookup input").checked=!1)}),document.querySelector("#disable-gravatar input").addEventListener("change",function(){this.checked?document.querySelector("#federated-avatar-lookup input").checked=!1:document.querySelector("#offline-mode input").checked=!1}),document.querySelector("#federated-avatar-lookup input").addEventListener("change",function(){this.checked&&(document.querySelector("#disable-gravatar input").checked=!1,document.querySelector("#offline-mode input").checked=!1)}),document.querySelector("#enable-openid-signin input").addEventListener("change",function(){this.checked?document.querySelector("#disable-registration input").checked||(document.querySelector("#enable-openid-signup input").checked=!0):document.querySelector("#enable-openid-signup input").checked=!1}),document.querySelector("#disable-registration input").addEventListener("change",function(){this.checked?(document.querySelector("#enable-captcha input").checked=!1,document.querySelector("#enable-openid-signup input").checked=!1):document.querySelector("#enable-openid-signup input").checked=!0}),document.querySelector("#enable-captcha input").addEventListener("change",function(){this.checked&&(document.querySelector("#disable-registration input").checked=!1)})}function xT(){const ei=document.getElementById("goto-user-login");if(!ei)return;const ti=ei.getAttribute("href");let ii=setInterval(async()=>{try{const ni=await(0,so.fG)(ti);ii&&ni.status===200&&(clearInterval(ii),ii=null,window.location.href=ti)}catch{}},1e3)}function jT(){if(!document.querySelectorAll(".new.webhook").length)return;for(const ti of document.querySelectorAll(".events.checkbox input"))ti.addEventListener("change",function(){this.checked&&(0,zn.fi)(".events.fields")});for(const ti of document.querySelectorAll(".non-events.checkbox input"))ti.addEventListener("change",function(){this.checked&&(0,zn.y9)(".events.fields")});const ei=document.getElementById("http_method");if(ei){const ti=function(){const ii=ei.value==="POST";(0,zn.oi)(document.getElementById("content_type").closest(".field"),ii)};ti(),ei.addEventListener("change",ti)}document.getElementById("test-delivery")?.addEventListener("click",async function(){this.classList.add("is-loading","disabled"),await(0,so.LO)(this.getAttribute("data-link")),setTimeout(()=>{window.location.href=this.getAttribute("data-redirect")},5e3)})}function ST(){CT(),ET()}function CT(){for(const ei of document.querySelectorAll(".show-create-branch-modal"))ei.addEventListener("click",()=>{const ti=ei.getAttribute("data-modal-form")||"#create-branch-form",ii=document.querySelector(ti);if(!ii)return;ii.action=`${ii.getAttribute("data-base-action")}${ei.getAttribute("data-branch-from-urlcomponent")}`;const ni=ei.getAttribute("data-modal-from-span")||"#modal-create-branch-from-span";document.querySelector(ni).textContent=ei.getAttribute("data-branch-from"),Hi(ei.getAttribute("data-modal")).modal("show")})}function ET(){for(const ei of document.querySelectorAll(".show-rename-branch-modal"))ei.addEventListener("click",()=>{const ti=ei.getAttribute("data-modal"),ii=document.querySelector(ti),ni=ei.getAttribute("data-old-branch-name");ii.querySelector("input[name=from]").value=ni;const si=ii.querySelector(".default-branch-warning");(0,zn.oi)(si,ei.getAttribute("data-is-default-branch")==="true");const ai=ii.querySelector("[data-rename-branch-to]");ai.textContent=ai.getAttribute("data-rename-branch-to").replace("%s",ni)})}function Cy(ei){return/.*[^/]\/[^/].*/.test(ei)}function ah(ei){const ti=document.querySelector(`${ei} .label-name-input`),ii=document.querySelector(`${ei} .label-exclusive-input-field`),ni=document.querySelector(`${ei} .label-exclusive-input`),si=document.querySelector(`${ei} .label-exclusive-warning`);Cy(ti.value)?(ii?.classList.remove("muted"),ii?.removeAttribute("aria-disabled"),ni.checked&&ni.getAttribute("data-exclusive-warn")?si?.classList.remove("tw-hidden"):si?.classList.add("tw-hidden")):(ii?.classList.add("muted"),ii?.setAttribute("aria-disabled","true"),si?.classList.add("tw-hidden"))}function Ey(ei){Hi(ei).length&&(Hi(".new-label.button").on("click",()=>(ah(".new-label"),Hi(".new-label.modal").modal({onApprove(){const ti=document.querySelector(".new-label.form");if(!ti.checkValidity())return ti.reportValidity(),!1;Hi(".new-label.form").trigger("submit")}}).modal("show"),!1)),Hi(".edit-label-button").on("click",function(){Hi("#label-modal-id").val(Hi(this).data("id"));const ti=Hi(".edit-label .label-name-input");ti.val(Hi(this).data("title"));const ii=Hi(".edit-label .label-is-archived-input");ii[0].checked=this.hasAttribute("data-is-archived");const ni=Hi(".edit-label .label-exclusive-input");ni[0].checked=this.hasAttribute("data-exclusive"),ni.data("exclusive-warn",Hi(this).data("num-issues")>0&&(!this.hasAttribute("data-exclusive")||!Cy(ti.val()))),ah(".edit-label"),Hi(".edit-label .label-desc-input").val(this.getAttribute("data-description"));const si=document.querySelector(".edit-label .js-color-picker-input input");return si.value=this.getAttribute("data-color"),si.dispatchEvent(new Event("input",{bubbles:!0})),Hi(".edit-label.modal").modal({onApprove(){const ai=document.querySelector(".edit-label.form");if(!ai.checkValidity())return ai.reportValidity(),!1;Hi(".edit-label.form").trigger("submit")}}).modal("show"),!1}),Hi(".new-label .label-name-input").on("input",()=>{ah(".new-label")}),Hi(".new-label .label-exclusive-input").on("change",()=>{ah(".new-label")}),Hi(".edit-label .label-name-input").on("input",()=>{ah(".edit-label")}),Hi(".edit-label .label-exclusive-input").on("change",()=>{ah(".edit-label")}))}function kT(){document.querySelectorAll(".organization").length&&(document.querySelector(".organization.settings.options #org_name")?.addEventListener("input",function(){const ei=this.value.toLowerCase()!==this.getAttribute("data-org-name").toLowerCase();(0,zn.oi)("#org-name-change-prompt",ei)}),Ey(".organization.settings.labels"))}function AT(){const ei="_giteaFomanticApiPatch",ti=Hi.api;Hi.api=Hi.fn.api=function(...ii){const ni=ti.bind(this),si=ti.apply(this,ii);if(typeof ii[0]!="string"){const ai=ni("internal","get");if(!ai.urlEncodedValue[ei]){const li=ai.urlEncodedValue;ai.urlEncodedValue=function(fi){try{return li(fi)}catch{return encodeURIComponent(fi)}},ai.urlEncodedValue[ei]=!0}}return si},Hi.api.settings=ti.settings}let TT=0;function dp(){return`_aria_auto_id_${TT++}`}function ky(ei,ti){const ii=ei.getAttribute("for"),ni=ti.getAttribute("id");if(ni&&!ii)ei.setAttribute("for",ni);else if(!ni&&!ii){const si=dp();ti.setAttribute("id",si),ei.setAttribute("for",si)}}function LT(){for(const ei of document.querySelectorAll(".ui.checkbox")){if(ei.hasAttribute("data-checkbox-patched"))continue;const ti=ei.querySelector("label"),ii=ei.querySelector("input");!ti||!ii||(ky(ti,ii),ei.setAttribute("data-checkbox-patched","true"))}}function RT(){for(const ei of document.querySelectorAll(".ui.form .field")){if(ei.hasAttribute("data-field-patched"))continue;const ti=ei.querySelector(":scope > label"),ii=ei.querySelector(":scope > input");!ti||!ii||(ky(ti,ii),ei.setAttribute("data-field-patched","true"))}}const Zc="_giteaAriaPatchDropdown",hp=Hi.fn.dropdown;function MT(){if(Hi.fn.dropdown===Xg)throw new Error("initAriaDropdownPatch could only be called once");Hi.fn.dropdown=Xg,Xg.settings=hp.settings}function Xg(...ei){const ti=hp.apply(this,ei),ii=!ei.length||typeof ei[0]!="string";for(const ni of this)ni[Zc]||FT(ni),ii&&OT(Hi(ni));return ti}function Ay(ei,ti){ti.id||(ti.id=dp()),ti.setAttribute("role",ei[Zc].listItemRole),ti.setAttribute("tabindex","-1");for(const ii of ti.querySelectorAll("a, input, button"))ii.setAttribute("tabindex","-1")}function Ty(ei){ei.id||(ei.id=dp()),ei.tabIndex=-1;const ti=ei.querySelector(".delete.icon");ti&&(ti.setAttribute("aria-hidden","false"),ti.setAttribute("aria-label",window.config.i18n.remove_label_str.replace("%s",ei.getAttribute("data-value"))),ti.setAttribute("role","button"))}function OT(ei){const ti=hp.bind(ei),ii=ti("internal","focusSearch"),ni=ti("internal","blurSearch");ti("internal","focusSearch",function(){ti("show"),ii.call(this)}),ti("internal","blurSearch",function(){ni.call(this),ti("hide")});const si={...ti("setting","templates"),t:performance.now()},ai=si.menu;si.menu=function(_i,ji,Mi,Ki){const on=ai(_i,ji,Mi,Ki),hn=document.createElement("div");hn.innerHTML=on;const gn=Hi(hn);return gn.find("> .item").each((Wn,Gn)=>Ay(ei[0],Gn)),ei[0][Zc].deferredRefreshAriaActiveItem(),gn.html()},ti("setting","templates",si);const li=ti("setting","onLabelCreate");ti("setting","onLabelCreate",function(_i,ji){const Mi=li.call(this,_i,ji);return Ty(Mi[0]),Mi});const fi=ti("internal","set"),hi=fi.direction;fi.direction=function(_i){hi.call(this,_i);const ji=ti("setting","className");_i=_i||ei.find("> .menu");const Mi=_i[0];Mi.classList.add(ji.loading),Mi.getBoundingClientRect().right>document.documentElement.clientWidth&&Mi.classList.add(ji.leftward),Mi.classList.remove(ji.loading)}}function DT(ei,ti,ii){ii.id||(ii.id=dp()),Hi(ii).find("> .item").each((si,ai)=>Ay(ei,ai)),ii.setAttribute("role",ei[Zc].listPopupRole);for(const si of ei.querySelectorAll(".ui.label"))Ty(si);ti.setAttribute("role",ti.getAttribute("role")??ei[Zc].focusableRole),ti.setAttribute("aria-haspopup",ei[Zc].listPopupRole),ti.setAttribute("aria-controls",ii.id),ti.setAttribute("aria-expanded","false");const ni=ei.getAttribute("data-tooltip-content");ni&&!ei.getAttribute("aria-label")&&ei.setAttribute("aria-label",ni)}function FT(ei){if(ei[Zc]={},ei.classList.contains("custom"))return;const ti=ei.querySelector("input.search"),ii=ti||ei;if(!ii)return;ti&&!ti.getAttribute("autocomplete")&&ti.setAttribute("autocomplete","off");let ni=Hi(ei).find("> .menu")[0];ni||(ni=document.createElement("div"),ni.classList.add("menu"),ei.append(ni));const si=ei.querySelectorAll("input").length>0;ei[Zc].focusableRole=si?"combobox":"menu",ei[Zc].listPopupRole=si?"listbox":"",ei[Zc].listItemRole=si?"option":"menuitem",IT(ei,ii,ni),DT(ei,ii,ni)}function IT(ei,ti,ii){const ni=()=>ii.classList.contains("visible")&&!ii.classList.contains("out")||ii.classList.contains("in"),si=()=>{const hi=ni();ti.setAttribute("aria-expanded",hi?"true":"false");const _i=Hi(ii).find("> .item.active, > .item.selected")[0];_i&&(hi?ti.setAttribute("aria-activedescendant",_i.id):ei[Zc].listPopupRole==="menu"&&(ti.removeAttribute("aria-activedescendant"),_i.classList.remove("active","selected")))};ei.addEventListener("keydown",hi=>{if(hi.key==="Enter"){const _i=hp.bind(Hi(ei));let ji=_i("get item",_i("get value"));ji||(ji=Hi(ii).find("> .item.selected")),ji?.[0]?.matches("a, .js-aria-clickable")&&ji[0].click()}});const ai=(hi=0)=>{setTimeout(si,hi)};ei[Zc].deferredRefreshAriaActiveItem=ai,ei.addEventListener("keyup",hi=>{hi.key.startsWith("Arrow")&&ai()});let li=0,fi=0;ei.addEventListener("mousedown",()=>{fi+=ni()?1:0,li++},!0),ei.addEventListener("focus",()=>{fi+=ni()?1:0,li++,ai()},!0),ei.addEventListener("blur",()=>{fi=li=0,ai(100)},!0),ei.addEventListener("mouseup",()=>{setTimeout(()=>{fi=li=0,ai(100)},0)},!0),ei.addEventListener("click",hi=>{ni()&&fi!==2&&li===2&&hi.stopPropagation(),li=fi=0},!0)}const Ly=Hi.fn.modal;function PT(){if(Hi.fn.modal===Gg)throw new Error("initAriaModalPatch could only be called once");Hi.fn.modal=Gg,Gg.settings=Ly.settings}function Gg(...ei){const ti=Ly.apply(this,ei);if(ei[0]==="show"||ei[0]?.autoShow)for(const ii of this)for(const ni of ii.querySelectorAll("form button.cancel:not([type])"))ni.setAttribute("type","button");return ti}function qT(){const ei=new Set(["clear queue","stop","stop all","destroy","force repaint","repaint","reset","looping","remove looping","disable","enable","set duration","save conditions","restore conditions"]);Hi.fn.transition=function(ti,ii,ni){if(ti==="is supported")return!0;if(ti==="is animating"||ti==="is inward"||ti==="is outward")return!1;let si;if(typeof ti=="string"){if(ei.has(ti))return this;si={animation:ti,...ii&&{duration:ii},...ni&&{onComplete:ni}}}else if(typeof ti=="object")si=ti;else throw new Error(`invalid argument: ${ti}`);const ai=si.animation?.startsWith("show")||si.animation?.endsWith(" in"),li=si.animation?.startsWith("hide")||si.animation?.endsWith(" out");return this.each((fi,hi)=>{let _i=ai;!ai&&!li&&(_i=this.hasClass("hidden")),si.onStart?.call(hi),_i?(hi.classList.remove("hidden"),hi.classList.add("visible","transition"),si.displayType&&hi.style.setProperty("display",si.displayType,"important"),si.onShow?.call(hi)):(hi.classList.add("hidden"),hi.classList.remove("visible"),hi.style.removeProperty("display"),si.onHidden?.call(hi)),si.onComplete?.call(hi)}),this}}const Ry=window.matchMedia("only screen and (max-width: 767.98px)");function NT(){Hi.fn.tab.settings.silent=!0,Hi.fn.dropdown.settings.fullTextSearch="exact",Hi.fn.dropdown.settings.className.label+=" tw-cursor-default",Hi.fn.dropdown.settings.templates.label=function(ei,ti,ii,ni){const si=Hi.fn.dropdown.settings.templates.escape;return si(ti,ii)+(0,Io.JW)("octicon-x",16,`${ni.delete} icon`)},qT(),AT(),LT(),RT(),MT(),PT()}async function BT(){const ei=document.querySelector(".repository.wiki .combo-markdown-editor textarea");if(!ei)return;const ti=document.querySelector(".repository.wiki.new .ui.form"),ii=ti.querySelector(".combo-markdown-editor");let ni,si=!1,ai;const li=async function(){if(si)return;const fi=ii.querySelector(".EasyMDEContainer .editor-preview-active"),_i=ii.querySelector(".EasyMDEContainer .editor-preview-active-side")||fi,ji=ei.value;if(ni&&_i&&ai!==ji){si=!0;const Mi=new FormData;Mi.append("mode",ni.previewMode),Mi.append("context",ni.previewContext),Mi.append("text",ji),Mi.append("wiki",ni.previewWiki);try{const on=await(await(0,so.LO)(ni.previewUrl,{data:Mi})).text();ai=ji,_i.innerHTML=`<div class="markup ui segment">${on}</div>`,Zm()}catch(Ki){console.error("Error rendering preview:",Ki)}finally{si=!1,setTimeout(li,1e3)}}else setTimeout(li,1e3)};li(),ni=await Of(ii,{useScene:"wiki",editorHeights:{minHeight:"300px",height:"calc(100vh - 600px)"},previewMode:"gfm",previewWiki:!0,easyMDEOptions:{previewRender:(fi,hi)=>hi.innerHTML,toolbar:["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","heading-bigger","heading-smaller","|","gitea-code-inline","code","quote","|","gitea-checkbox-empty","gitea-checkbox-checked","|","unordered-list","ordered-list","|","link","image","table","horizontal-rule","|","preview","fullscreen","side-by-side","|","gitea-switch-to-textarea"]}}),ti.addEventListener("submit",fi=>{Z_(ei)||(fi.preventDefault(),fi.stopPropagation())})}function My(ei){ei&&document.querySelector(".wiki-content-toc details")?.removeAttribute("open")}function HT(){document.querySelector(".page-content.repository.wiki")&&(Ry.addEventListener("change",ei=>My(ei.matches)),My(Ry.matches),BT())}function $T(){document.addEventListener("click",ei=>{const ti=ei.target.closest(".escape-button, .unescape-button, .toggle-escape-button");if(!ti)return;ei.preventDefault();const ii=ti.closest(".file-content, .non-diff-file-content"),ni=ii?.querySelectorAll(".file-code, .file-view");if(ti.matches(".escape-button")){for(const si of ni)si.classList.add("unicode-escaped");(0,zn.y9)(ti),(0,zn.fi)((0,zn.D6)(ti,".unescape-button"))}else if(ti.matches(".unescape-button")){for(const si of ni)si.classList.remove("unicode-escaped");(0,zn.y9)(ti),(0,zn.fi)((0,zn.D6)(ti,".escape-button"))}else if(ti.matches(".toggle-escape-button")){const si=ni[0]?.classList.contains("unicode-escaped");for(const ai of ni)ai.classList.toggle("unicode-escaped",!si);(0,zn.oi)(ii.querySelectorAll(".unescape-button"),!si),(0,zn.oi)(ii.querySelectorAll(".escape-button"),si)}})}const VT={class:"ui dropdown custom branch-selector-dropdown ellipsis-items-nowrap"},UT={class:"flex-text-block gt-ellipsis"},WT={class:"ui icon search input"},zT={class:"icon"},KT=["placeholder"],XT={key:0,class:"branch-tag-tab"},GT=(0,ri.Lk)("div",{class:"branch-tag-divider"},null,-1),QT={class:"scrolling menu",ref:"scrollContainer"},YT={key:0,class:"loading-indicator is-loading"},JT=["onClick"],ZT={key:0,class:"ui label"},e2=["href"],t2=(0,ri.Lk)("svg",{width:"14",height:"14",class:"svg octicon-rss"},[(0,ri.Lk)("use",{href:"#svg-symbol-octicon-rss"})],-1),i2=(0,ri.Lk)("i",{class:"reference tags icon"},null,-1),n2=["textContent"],s2=["textContent"],r2={class:"text small"},o2={key:0},a2={key:1},l2={key:2},c2=["action"],u2=["value"],f2={key:1,class:"message"};function d2(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("svg-icon");return(0,ri.uX)(),(0,ri.CE)("div",VT,[(0,ri.Lk)("div",{class:"ui button branch-dropdown-button",onClick:ti[0]||(ti[0]=fi=>ei.menuVisible=!ei.menuVisible),onKeyup:ti[1]||(ti[1]=Qd(fi=>ei.menuVisible=!ei.menuVisible,["enter"]))},[(0,ri.Lk)("span",UT,[ei.release?((0,ri.uX)(),(0,ri.CE)(ri.FK,{key:0},[(0,ri.eW)((0,yi.v_)(ei.textReleaseCompare),1)],64)):((0,ri.uX)(),(0,ri.CE)(ri.FK,{key:1},[ei.isViewTag?((0,ri.uX)(),(0,ri.Wv)(li,{key:0,name:"octicon-tag"})):((0,ri.uX)(),(0,ri.Wv)(li,{key:1,name:"octicon-git-branch"})),(0,ri.Lk)("strong",{ref:"dropdownRefName",class:"tw-ml-2 tw-inline-block gt-ellipsis"},(0,yi.v_)(ei.refNameText),513)],64))]),(0,ri.bF)(li,{name:"octicon-triangle-down",size:14,"class-name":"dropdown icon"})],32),(0,ri.bo)((0,ri.Lk)("div",{class:(0,yi.C4)(["menu transition",{visible:ei.menuVisible}])},[(0,ri.Lk)("div",WT,[(0,ri.Lk)("i",zT,[(0,ri.bF)(li,{name:"octicon-filter",size:16})]),(0,ri.bo)((0,ri.Lk)("input",{name:"search",ref:"searchField",autocomplete:"off","onUpdate:modelValue":ti[2]||(ti[2]=fi=>ei.searchTerm=fi),onKeydown:ti[3]||(ti[3]=fi=>ei.keydown(fi)),placeholder:ei.searchFieldPlaceholder},null,40,KT),[[Cc,ei.searchTerm]])]),ei.showBranchesInDropdown?((0,ri.uX)(),(0,ri.CE)("div",XT,[(0,ri.Lk)("a",{class:(0,yi.C4)(["branch-tag-item muted",{active:ei.mode==="branches"}]),href:"#",onClick:ti[4]||(ti[4]=fi=>ei.handleTabSwitch("branches"))},[(0,ri.bF)(li,{name:"octicon-git-branch",size:16,"class-name":"tw-mr-1"}),(0,ri.eW)((0,yi.v_)(ei.textBranches),1)],2),ei.noTag?(0,ri.Q3)("v-if",!0):((0,ri.uX)(),(0,ri.CE)("a",{key:0,class:(0,yi.C4)(["branch-tag-item muted",{active:ei.mode==="tags"}]),href:"#",onClick:ti[5]||(ti[5]=fi=>ei.handleTabSwitch("tags"))},[(0,ri.bF)(li,{name:"octicon-tag",size:16,"class-name":"tw-mr-1"}),(0,ri.eW)((0,yi.v_)(ei.textTags),1)],2))])):(0,ri.Q3)("v-if",!0),GT,(0,ri.Lk)("div",QT,[(0,ri.bF)(li,{name:"octicon-rss","symbol-id":"svg-symbol-octicon-rss"}),ei.isLoading?((0,ri.uX)(),(0,ri.CE)("div",YT)):(0,ri.Q3)("v-if",!0),((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.filteredItems,(fi,hi)=>((0,ri.uX)(),(0,ri.CE)("div",{key:fi.name,class:(0,yi.C4)(["item",{selected:fi.selected,active:ei.active===hi}]),onClick:_i=>ei.selectItem(fi),ref_for:!0,ref:"listItem"+hi},[(0,ri.eW)((0,yi.v_)(fi.name)+" ",1),fi.name===ei.repoDefaultBranch&&ei.mode==="branches"?((0,ri.uX)(),(0,ri.CE)("div",ZT,(0,yi.v_)(ei.textDefaultBranchLabel),1)):(0,ri.Q3)("v-if",!0),(0,ri.bo)((0,ri.Lk)("a",{role:"button",class:"rss-icon",href:ei.rssURLPrefix+fi.url,target:"_blank",onClick:ti[6]||(ti[6]=ml(()=>{},["stop"]))},[(0,ri.Q3)(" creating a lot of Vue component is pretty slow, so we use a static SVG here "),t2],8,e2),[[Jl,ei.enableFeed&&ei.mode==="branches"]])],10,JT))),128)),ei.showCreateNewBranch?((0,ri.uX)(),(0,ri.CE)("div",{key:1,class:(0,yi.C4)(["item",{active:ei.active===ei.filteredItems.length}]),ref:"listItem"+ei.filteredItems.length},[(0,ri.Lk)("a",{href:"#",onClick:ti[7]||(ti[7]=fi=>ei.createNewBranch())},[(0,ri.bo)((0,ri.Lk)("div",null,[i2,(0,ri.Lk)("span",{textContent:(0,yi.v_)(ei.textCreateTag.replace("%s",ei.searchTerm))},null,8,n2)],512),[[Jl,ei.shouldCreateTag]]),(0,ri.bo)((0,ri.Lk)("div",null,[(0,ri.bF)(li,{name:"octicon-git-branch"}),(0,ri.Lk)("span",{textContent:(0,yi.v_)(ei.textCreateBranch.replace("%s",ei.searchTerm))},null,8,s2)],512),[[Jl,!ei.shouldCreateTag]]),(0,ri.Lk)("div",r2,[ei.isViewBranch||ei.release?((0,ri.uX)(),(0,ri.CE)("span",o2,(0,yi.v_)(ei.textCreateBranchFrom.replace("%s",ei.branchName)),1)):ei.isViewTag?((0,ri.uX)(),(0,ri.CE)("span",a2,(0,yi.v_)(ei.textCreateBranchFrom.replace("%s",ei.tagName)),1)):((0,ri.uX)(),(0,ri.CE)("span",l2,(0,yi.v_)(ei.textCreateBranchFrom.replace("%s",ei.commitIdShort)),1))])]),(0,ri.Lk)("form",{ref:"newBranchForm",action:ei.formActionUrl,method:"post"},[(0,ri.Lk)("input",{type:"hidden",name:"_csrf",value:ei.csrfToken},null,8,u2),(0,ri.bo)((0,ri.Lk)("input",{type:"hidden",name:"new_branch_name","onUpdate:modelValue":ti[8]||(ti[8]=fi=>ei.searchTerm=fi)},null,512),[[Cc,ei.searchTerm]]),(0,ri.bo)((0,ri.Lk)("input",{type:"hidden",name:"create_tag","onUpdate:modelValue":ti[9]||(ti[9]=fi=>ei.shouldCreateTag=fi)},null,512),[[Cc,ei.shouldCreateTag]]),ei.treePath?(0,ri.bo)(((0,ri.uX)(),(0,ri.CE)("input",{key:0,type:"hidden",name:"current_path","onUpdate:modelValue":ti[10]||(ti[10]=fi=>ei.treePath=fi)},null,512)),[[Cc,ei.treePath]]):(0,ri.Q3)("v-if",!0)],8,c2)],2)):(0,ri.Q3)("v-if",!0)],512),ei.showNoResults&&!ei.isLoading?((0,ri.uX)(),(0,ri.CE)("div",f2,(0,yi.v_)(ei.noResults),1)):(0,ri.Q3)("v-if",!0)],2),[[Jl,ei.menuVisible]])])}const Oy={components:{SvgIcon:Io.Ah},computed:{filteredItems(){const ei=this.items.filter(ti=>(this.mode==="branches"&&ti.branch||this.mode==="tags"&&ti.tag)&&(!this.searchTerm||ti.name.toLowerCase().includes(this.searchTerm.toLowerCase())));return this.active=!ei.length&&this.showCreateNewBranch?0:-1,ei},showNoResults(){return!this.filteredItems.length&&!this.showCreateNewBranch},showCreateNewBranch(){return this.disableCreateBranch||!this.searchTerm?!1:!this.items.filter(ei=>ei.name.toLowerCase()===this.searchTerm.toLowerCase()).length},formActionUrl(){return`${this.repoLink}/branches/_new/${this.branchNameSubURL}`},shouldCreateTag(){return this.mode==="tags"}},watch:{menuVisible(ei){ei&&(this.focusSearchField(),this.fetchBranchesOrTags())}},beforeMount(){this.viewType==="tree"?(this.isViewTree=!0,this.refNameText=this.commitIdShort):this.viewType==="tag"?(this.isViewTag=!0,this.refNameText=this.tagName):(this.isViewBranch=!0,this.refNameText=this.branchName),document.body.addEventListener("click",ei=>{this.$el.contains(ei.target)||this.menuVisible&&(this.menuVisible=!1)})},methods:{selectItem(ei){const ti=this.getSelected();ti!==null&&(ti.selected=!1),ei.selected=!0;const ii=ei.tag?this.tagURLPrefix+ei.url+this.tagURLSuffix:this.branchURLPrefix+ei.url+this.branchURLSuffix;this.branchForm?(this.isViewTree=!1,this.isViewTag=!1,this.isViewBranch=!1,this.$refs.dropdownRefName.textContent=ei.name,this.setAction?document.getElementById(this.branchForm)?.setAttribute("action",ii):fd()(`#${this.branchForm} input[name="refURL"]`).val(ii),fd()(`#${this.branchForm} input[name="ref"]`).val(ei.name),ei.tag?(this.isViewTag=!0,fd()(`#${this.branchForm} input[name="refType"]`).val("tag")):(this.isViewBranch=!0,fd()(`#${this.branchForm} input[name="refType"]`).val("branch")),this.submitForm&&fd()(`#${this.branchForm}`).trigger("submit"),this.menuVisible=!1):window.location.href=ii},createNewBranch(){this.showCreateNewBranch&&fd()(this.$refs.newBranchForm).trigger("submit")},focusSearchField(){(0,ri.dY)(()=>{this.$refs.searchField.focus()})},getSelected(){for(let ei=0,ti=this.items.length;ei<ti;++ei)if(this.items[ei].selected)return this.items[ei];return null},getSelectedIndexInFiltered(){for(let ei=0,ti=this.filteredItems.length;ei<ti;++ei)if(this.filteredItems[ei].selected)return ei;return-1},scrollToActive(){let ei=this.$refs[`listItem${this.active}`];if(!ei||!ei.length)return;Array.isArray(ei)&&(ei=ei[0]);const ti=this.$refs.scrollContainer;ei.offsetTop<ti.scrollTop?ti.scrollTop=ei.offsetTop:ei.offsetTop+ei.clientHeight>ti.scrollTop+ti.clientHeight&&(ti.scrollTop=ei.offsetTop+ei.clientHeight-ti.clientHeight)},keydown(ei){if(ei.keyCode===40){if(ei.preventDefault(),this.active===-1&&(this.active=this.getSelectedIndexInFiltered()),this.active+(this.showCreateNewBranch?0:1)>=this.filteredItems.length)return;this.active++,this.scrollToActive()}else if(ei.keyCode===38){if(ei.preventDefault(),this.active===-1&&(this.active=this.getSelectedIndexInFiltered()),this.active<=0)return;this.active--,this.scrollToActive()}else ei.keyCode===13?(ei.preventDefault(),this.active>=this.filteredItems.length?this.createNewBranch():this.active>=0&&this.selectItem(this.filteredItems[this.active])):ei.keyCode===27&&(ei.preventDefault(),this.menuVisible=!1)},handleTabSwitch(ei){this.isLoading||(this.mode=ei,this.focusSearchField(),this.fetchBranchesOrTags())},async fetchBranchesOrTags(){if(!(!["branches","tags"].includes(this.mode)||this.isLoading)&&!(this.hasListInitialized[this.mode]||this.mode==="branches"&&!this.showBranchesInDropdown||this.mode==="tags"&&this.noTag)){this.isLoading=!0;try{const ei=await(0,so.fG)(`${this.repoLink}/${this.mode}/list`),{results:ti}=await ei.json();for(const ii of ti){let ni=!1;this.mode==="branches"?ni=ii===this.defaultSelectedRefName:ni=ii===(this.release?this.release.tagName:this.defaultSelectedRefName),this.items.push({name:ii,url:Qb(ii),branch:this.mode==="branches",tag:this.mode==="tags",selected:ni})}this.hasListInitialized[this.mode]=!0}catch(ei){pl(`Network error when fetching ${this.mode}, error: ${ei}`)}finally{this.isLoading=!1}}}}};function h2(ei){for(const[ti,ii]of document.querySelectorAll(ei).entries()){const ni={csrfToken:window.config.csrfToken,items:[],searchTerm:"",refNameText:"",menuVisible:!1,release:null,isViewTag:!1,isViewBranch:!1,isViewTree:!1,active:0,isLoading:!1,hasListInitialized:{branches:!1,tags:!1},...window.config.pageData.branchDropdownDataList[ti]},si={...Oy,data(){return ni}};dc(si).mount(ii)}}var m2=Oy;const ZR=(0,zc.A)(m2,[["render",d2]]);var eM=null;const{pageData:Dy}=window.config;async function p2(ei,ti){const[{Cite:ii,plugins:ni}]=await Promise.all([__webpack_require__.e("citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl").then(__webpack_require__.bind(__webpack_require__,"./node_modules/@citation-js/core/lib-mjs/index.js")),Promise.all([__webpack_require__.e("citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl"),__webpack_require__.e("citation-js-formats")]).then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/@citation-js/plugin-software-formats/lib/index.js",19)),Promise.all([__webpack_require__.e("citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl"),__webpack_require__.e("citation-js-bibtex")]).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@citation-js/plugin-bibtex/lib-mjs/index.js")),Promise.all([__webpack_require__.e("citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl"),__webpack_require__.e("citation-js-csl")]).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@citation-js/plugin-csl/lib-mjs/index.js"))]),{citationFileContent:si}=Dy,ai=ni.config.get("@bibtex");ai.constants.fieldTypes.doi=["field","literal"],ai.constants.fieldTypes.version=["field","literal"];const li=new ii(si),fi=(0,na.kk)()||"en-US",hi=li.format("bibliography",{template:"apa",lang:fi}),_i=li.format("bibtex",{lang:fi});ti.setAttribute("data-text",_i),ei.setAttribute("data-text",hi)}async function g2(){const ei="apa";if(!Dy.citationFileContent)return;const ti=document.getElementById("citation-copy-apa"),ii=document.getElementById("citation-copy-bibtex"),ni=document.getElementById("citation-copy-content");if(!ti&&!ii||!ni)return;const si=()=>{const ai=(localStorage.getItem("citation-copy-format")||ei)==="bibtex",li=(ai?ii:ti).getAttribute("data-text");ni.value=li,ii.classList.toggle("primary",ai),ti.classList.toggle("primary",!ai)};document.getElementById("cite-repo-button")?.addEventListener("click",async ai=>{const li=ai.target.closest(".ui.dropdown.button");li.classList.add("is-loading");try{try{await p2(ti,ii)}catch(fi){console.error(`initCitationFileCopyContent error: ${fi}`,fi);return}si(),ti.addEventListener("click",()=>{localStorage.setItem("citation-copy-format","apa"),si()}),ii.addEventListener("click",()=>{localStorage.setItem("citation-copy-format","bibtex"),si()}),ni.addEventListener("click",()=>{ni.select()})}finally{li.classList.remove("is-loading")}Hi("#cite-repo-modal").modal("show")})}const tM=ei=>(_pushScopeId("data-v-4cc25658"),ei=ei(),_popScopeId(),ei),v2=["innerHTML"],b2=["action"],_2=["value"],y2={class:"field"},w2={class:"field"},x2=["placeholder"],j2=["data-tooltip-content"],S2={key:1,class:"field"},C2=["placeholder"],E2=["value"],k2={key:2,class:"ui checkbox tw-ml-1"},A2={for:"delete-branch-after-merge"},T2={key:2,class:"tw-flex"},L2={class:"ui button"},R2={class:"button-text"},M2=["onClick"],O2={class:"action-text"},D2=["onClick"],F2={class:"auto-merge-tip"},I2=["onClick"],P2={class:"action-text"},q2=["action"],N2=["value"],B2={class:"ui button"};function H2(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("svg-icon");return(0,ri.uX)(),(0,ri.CE)(ri.FK,null,[(0,ri.Q3)(`
if this component is shown, either the user is an admin (can do a merge without checks), or they are a writer who has the permission to do a merge
if the user is a writer and can't do a merge now (canMergeNow==false), then only show the Auto Merge for them
How to test the UI manually:
* Method 1: manually set some variables in pull.tmpl, eg: {{$notAllOverridableChecksOk = true}} {{$canMergeNow = false}}
* Method 2: make a protected branch, then set state=pending/success :
curl -X POST \${root_url}/api/v1/repos/\${owner}/\${repo}/statuses/\${sha} \\
-H "accept: application/json" -H "authorization: Basic $base64_auth" -H "Content-Type: application/json" \\
-d '{"context": "test/context", "description": "description", "state": "\${state}", "target_url": "http://localhost"}'
`),(0,ri.Lk)("div",null,[(0,ri.Q3)(" eslint-disable-next-line vue/no-v-html "),ei.mergeForm.hasPendingPullRequestMerge?((0,ri.uX)(),(0,ri.CE)("div",{key:0,innerHTML:ei.mergeForm.hasPendingPullRequestMergeTip,class:"ui info message"},null,8,v2)):(0,ri.Q3)("v-if",!0),(0,ri.Q3)(" another similar form is in pull.tmpl (manual merge)"),ei.showActionForm?((0,ri.uX)(),(0,ri.CE)("form",{key:1,class:"ui form form-fetch-action",action:ei.mergeForm.baseLink+"/merge",method:"post"},[(0,ri.Lk)("input",{type:"hidden",name:"_csrf",value:ei.csrfToken},null,8,_2),(0,ri.bo)((0,ri.Lk)("input",{type:"hidden",name:"head_commit_id","onUpdate:modelValue":ti[0]||(ti[0]=fi=>ei.mergeForm.pullHeadCommitID=fi)},null,512),[[Cc,ei.mergeForm.pullHeadCommitID]]),(0,ri.bo)((0,ri.Lk)("input",{type:"hidden",name:"merge_when_checks_succeed","onUpdate:modelValue":ti[1]||(ti[1]=fi=>ei.autoMergeWhenSucceed=fi)},null,512),[[Cc,ei.autoMergeWhenSucceed]]),(0,ri.bo)((0,ri.Lk)("input",{type:"hidden",name:"force_merge","onUpdate:modelValue":ti[2]||(ti[2]=fi=>ai.forceMerge=fi)},null,512),[[Cc,ai.forceMerge]]),ei.mergeStyleDetail.hideMergeMessageTexts?(0,ri.Q3)("v-if",!0):((0,ri.uX)(),(0,ri.CE)(ri.FK,{key:0},[(0,ri.Lk)("div",y2,[(0,ri.bo)((0,ri.Lk)("input",{type:"text",name:"merge_title_field","onUpdate:modelValue":ti[3]||(ti[3]=fi=>ei.mergeTitleFieldValue=fi)},null,512),[[Cc,ei.mergeTitleFieldValue]])]),(0,ri.Lk)("div",w2,[(0,ri.bo)((0,ri.Lk)("textarea",{name:"merge_message_field",rows:"5",placeholder:ei.mergeForm.mergeMessageFieldPlaceHolder,"onUpdate:modelValue":ti[4]||(ti[4]=fi=>ei.mergeMessageFieldValue=fi)},null,8,x2),[[Cc,ei.mergeMessageFieldValue]]),ei.mergeMessageFieldValue!==ei.mergeForm.defaultMergeMessage?((0,ri.uX)(),(0,ri.CE)("button",{key:0,onClick:ti[5]||(ti[5]=ml((...fi)=>ai.clearMergeMessage&&ai.clearMergeMessage(...fi),["prevent"])),class:"btn tw-mt-1 tw-p-1 interact-fg","data-tooltip-content":ei.mergeForm.textClearMergeMessageHint},(0,yi.v_)(ei.mergeForm.textClearMergeMessage),9,j2)):(0,ri.Q3)("v-if",!0)])],64)),ei.mergeStyle==="manually-merged"?((0,ri.uX)(),(0,ri.CE)("div",S2,[(0,ri.Lk)("input",{type:"text",name:"merge_commit_id",placeholder:ei.mergeForm.textMergeCommitId},null,8,C2)])):(0,ri.Q3)("v-if",!0),(0,ri.Lk)("button",{class:(0,yi.C4)(["ui button",ai.mergeButtonStyleClass]),type:"submit",name:"do",value:ei.mergeStyle},[(0,ri.eW)((0,yi.v_)(ei.mergeStyleDetail.textDoMerge)+" ",1),ei.autoMergeWhenSucceed?((0,ri.uX)(),(0,ri.CE)(ri.FK,{key:0},[(0,ri.eW)((0,yi.v_)(ei.mergeForm.textAutoMergeButtonWhenSucceed),1)],64)):(0,ri.Q3)("v-if",!0)],10,E2),(0,ri.Lk)("button",{class:"ui button merge-cancel",onClick:ti[6]||(ti[6]=fi=>ai.toggleActionForm(!1))},(0,yi.v_)(ei.mergeForm.textCancel),1),ei.mergeForm.isPullBranchDeletable&&!ei.autoMergeWhenSucceed?((0,ri.uX)(),(0,ri.CE)("div",k2,[(0,ri.bo)((0,ri.Lk)("input",{name:"delete_branch_after_merge",type:"checkbox","onUpdate:modelValue":ti[7]||(ti[7]=fi=>ei.deleteBranchAfterMerge=fi),id:"delete-branch-after-merge"},null,512),[[Jp,ei.deleteBranchAfterMerge]]),(0,ri.Lk)("label",A2,(0,yi.v_)(ei.mergeForm.textDeleteBranch),1)])):(0,ri.Q3)("v-if",!0)],8,b2)):(0,ri.Q3)("v-if",!0),ei.showActionForm?(0,ri.Q3)("v-if",!0):((0,ri.uX)(),(0,ri.CE)("div",T2,[(0,ri.Q3)(" the merge button "),(0,ri.Lk)("div",{class:(0,yi.C4)(["ui buttons merge-button",[ei.mergeForm.emptyCommit?"":ei.mergeForm.allOverridableChecksOk?"primary":"red"]]),onClick:ti[9]||(ti[9]=fi=>ai.toggleActionForm(!0))},[(0,ri.Lk)("button",L2,[(0,ri.bF)(li,{name:"octicon-git-merge"}),(0,ri.Lk)("span",R2,[(0,ri.eW)((0,yi.v_)(ei.mergeStyleDetail.textDoMerge)+" ",1),ei.autoMergeWhenSucceed?((0,ri.uX)(),(0,ri.CE)(ri.FK,{key:0},[(0,ri.eW)((0,yi.v_)(ei.mergeForm.textAutoMergeButtonWhenSucceed),1)],64)):(0,ri.Q3)("v-if",!0)])]),ei.mergeStyleAllowedCount>1?((0,ri.uX)(),(0,ri.CE)("div",{key:0,class:"ui dropdown icon button",onClick:ti[8]||(ti[8]=ml(fi=>ei.showMergeStyleMenu=!ei.showMergeStyleMenu,["stop"]))},[(0,ri.bF)(li,{name:"octicon-triangle-down",size:14}),(0,ri.Lk)("div",{class:(0,yi.C4)(["menu",{show:ei.showMergeStyleMenu}])},[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.mergeForm.mergeStyles,fi=>((0,ri.uX)(),(0,ri.CE)(ri.FK,null,[(0,ri.Q3)(' if can merge now, show one action "merge now", and an action "auto merge when succeed" '),fi.allowed&&ei.mergeForm.canMergeNow?((0,ri.uX)(),(0,ri.CE)("div",{class:"item",key:fi.name,onClick:ml(hi=>ai.switchMergeStyle(fi.name),["stop"])},[(0,ri.Lk)("div",O2,(0,yi.v_)(fi.textDoMerge),1),fi.hideAutoMerge?(0,ri.Q3)("v-if",!0):((0,ri.uX)(),(0,ri.CE)("div",{key:0,class:"auto-merge-small",onClick:ml(hi=>ai.switchMergeStyle(fi.name,!0),["stop"])},[(0,ri.bF)(li,{name:"octicon-clock",size:14}),(0,ri.Lk)("div",F2,(0,yi.v_)(ei.mergeForm.textAutoMergeWhenSucceed),1)],8,D2))],8,M2)):(0,ri.Q3)("v-if",!0),(0,ri.Q3)(' if can NOT merge now, only show one action "auto merge when succeed" '),fi.allowed&&!ei.mergeForm.canMergeNow&&!fi.hideAutoMerge?((0,ri.uX)(),(0,ri.CE)("div",{class:"item",key:fi.name,onClick:ml(hi=>ai.switchMergeStyle(fi.name,!0),["stop"])},[(0,ri.Lk)("div",P2,(0,yi.v_)(fi.textDoMerge)+" "+(0,yi.v_)(ei.mergeForm.textAutoMergeButtonWhenSucceed),1)],8,I2)):(0,ri.Q3)("v-if",!0)],64))),256))],2)])):(0,ri.Q3)("v-if",!0)],2),(0,ri.Q3)(" the cancel auto merge button "),ei.mergeForm.hasPendingPullRequestMerge?((0,ri.uX)(),(0,ri.CE)("form",{key:0,action:ei.mergeForm.baseLink+"/cancel_auto_merge",method:"post",class:"tw-ml-4"},[(0,ri.Lk)("input",{type:"hidden",name:"_csrf",value:ei.csrfToken},null,8,N2),(0,ri.Lk)("button",B2,(0,yi.v_)(ei.mergeForm.textAutoMergeCancelSchedule),1)],8,q2)):(0,ri.Q3)("v-if",!0)]))])],2112)}const{csrfToken:$2,pageData:V2}=window.config;var U2={components:{SvgIcon:Io.Ah},data:()=>({csrfToken:$2,mergeForm:V2.pullRequestMergeForm,mergeTitleFieldValue:"",mergeMessageFieldValue:"",deleteBranchAfterMerge:!1,autoMergeWhenSucceed:!1,mergeStyle:"",mergeStyleDetail:{hideMergeMessageTexts:!1,textDoMerge:"",mergeTitleFieldText:"",mergeMessageFieldText:"",hideAutoMerge:!1},mergeStyleAllowedCount:0,showMergeStyleMenu:!1,showActionForm:!1}),computed:{mergeButtonStyleClass(){return this.mergeForm.allOverridableChecksOk||this.autoMergeWhenSucceed?"primary":"red"},forceMerge(){return this.mergeForm.canMergeNow&&!this.mergeForm.allOverridableChecksOk}},watch:{mergeStyle(ei){this.mergeStyleDetail=this.mergeForm.mergeStyles.find(ti=>ti.name===ei);for(const ti of document.querySelectorAll("[data-pull-merge-style]"))(0,zn.oi)(ti,ti.getAttribute("data-pull-merge-style")===ei)}},created(){this.mergeStyleAllowedCount=this.mergeForm.mergeStyles.reduce((ti,ii)=>ti+(ii.allowed?1:0),0);let ei=this.mergeForm.mergeStyles.find(ti=>ti.allowed&&ti.name===this.mergeForm.defaultMergeStyle)?.name;ei||(ei=this.mergeForm.mergeStyles.find(ti=>ti.allowed)?.name),this.switchMergeStyle(ei,!this.mergeForm.canMergeNow)},mounted(){document.addEventListener("mouseup",this.hideMergeStyleMenu)},unmounted(){document.removeEventListener("mouseup",this.hideMergeStyleMenu)},methods:{hideMergeStyleMenu(){this.showMergeStyleMenu=!1},toggleActionForm(ei){this.showActionForm=ei,ei&&(this.deleteBranchAfterMerge=this.mergeForm.defaultDeleteBranchAfterMerge,this.mergeTitleFieldValue=this.mergeStyleDetail.mergeTitleFieldText,this.mergeMessageFieldValue=this.mergeStyleDetail.mergeMessageFieldText)},switchMergeStyle(ei,ti=!1){this.mergeStyle=ei,this.autoMergeWhenSucceed=ti},clearMergeMessage(){this.mergeMessageFieldValue=this.mergeForm.defaultMergeMessage}}},W2=(0,zc.A)(U2,[["render",H2],["__scopeId","data-v-4cc25658"]]);function z2(){const ei=document.getElementById("pull-request-merge-form");if(!ei)return;dc(W2).mount(ei)}function K2(){for(const ei of document.querySelectorAll(".commit-status-hide-checks")){const ii=ei.closest(".commit-status-panel").querySelector(".commit-status-list");ei.addEventListener("click",()=>{ii.style.maxHeight=ii.style.maxHeight?"":"0px",ei.textContent=ei.getAttribute(ii.style.maxHeight?"data-show-all":"data-hide-all")})}}const{csrfToken:X2}=window.config;async function G2(ei){ei.preventDefault();const ti=this.closest(".header").nextElementSibling,ii=ti.querySelector(".edit-content-zone"),ni=ti.querySelector(".render-content"),si=ti.querySelector(".raw-content");let ai;const li=async _i=>{if(!_i)return null;let ji=!1,Mi={};const Ki=await r_(_i,{url:_i.getAttribute("data-upload-url"),headers:{"X-Csrf-Token":X2},maxFiles:_i.getAttribute("data-max-file"),maxFilesize:_i.getAttribute("data-max-size"),acceptedFiles:["*/*",""].includes(_i.getAttribute("data-accepts"))?null:_i.getAttribute("data-accepts"),addRemoveLinks:!0,dictDefaultMessage:_i.getAttribute("data-default-message"),dictInvalidFileType:_i.getAttribute("data-invalid-input-type"),dictFileTooBig:_i.getAttribute("data-file-too-big"),dictRemoveFile:_i.getAttribute("data-remove-file"),timeout:0,thumbnailMethod:"contain",thumbnailWidth:480,thumbnailHeight:480,init(){this.on("success",(on,hn)=>{on.uuid=hn.uuid,Mi[on.uuid]={submitted:!1};const gn=document.createElement("input");gn.id=hn.uuid,gn.name="files",gn.type="hidden",gn.value=hn.uuid,_i.querySelector(".files").append(gn)}),this.on("removedfile",async on=>{if(document.getElementById(on.uuid)?.remove(),!ji&&_i.getAttribute("data-remove-url")&&!Mi[on.uuid].submitted)try{await(0,so.LO)(_i.getAttribute("data-remove-url"),{data:new URLSearchParams({file:on.uuid})})}catch(hn){console.error(hn)}}),this.on("submit",()=>{for(const on of Object.keys(Mi))Mi[on].submitted=!0}),this.on("reload",async()=>{try{const hn=await(await(0,so.fG)(ii.getAttribute("data-attachment-url"))).json();ji=!0,Ki.removeAllFiles(!0),_i.querySelector(".files").innerHTML="";for(const gn of _i.querySelectorAll(".dz-preview"))gn.remove();Mi={},ji=!1;for(const gn of hn){const es=`${_i.getAttribute("data-link-url")}/${gn.uuid}`;Ki.emit("addedfile",gn),Ki.emit("thumbnail",gn,es),Ki.emit("complete",gn),Mi[gn.uuid]={submitted:!0},_i.querySelector(`img[src='${es}']`).style.maxWidth="100%";const Wn=document.createElement("input");Wn.id=gn.uuid,Wn.name="files",Wn.type="hidden",Wn.value=gn.uuid,_i.querySelector(".files").append(Wn)}_i.querySelector(".dz-preview")||_i.classList.remove("dz-started")}catch(on){console.error(on)}})}});return Ki.emit("reload"),Ki},fi=_i=>{_i.preventDefault(),(0,zn.fi)(ni),(0,zn.y9)(ii),ai.attachedDropzoneInst?.emit("reload")},hi=async _i=>{_i.preventDefault(),(0,zn.fi)(ni),(0,zn.y9)(ii);const ji=ai.attachedDropzoneInst;try{const Mi=new URLSearchParams({content:ai.value(),context:ii.getAttribute("data-context")});for(const gn of ji?.element.querySelectorAll(".files [name=files]")??[])Mi.append("files[]",gn.value);const on=await(await(0,so.LO)(ii.getAttribute("data-update-url"),{data:Mi})).json();if(!on.content)ni.innerHTML=document.getElementById("no-content").innerHTML,si.textContent="";else{ni.innerHTML=on.content,si.textContent=ai.value();const gn=ni.querySelectorAll("p .ref-issue");vg(gn)}const hn=ti;hn.querySelector(".dropzone-attachments")?on.attachments===""?hn.querySelector(".dropzone-attachments").remove():hn.querySelector(".dropzone-attachments").outerHTML=on.attachments:on.attachments!==""&&hn.insertAdjacentHTML("beforeend",on.attachments),ji?.emit("submit"),ji?.emit("reload"),Zm(),s_()}catch(Mi){console.error(Mi)}};ai=Bg(ii.querySelector(".combo-markdown-editor")),ai||(ii.innerHTML=document.getElementById("issue-comment-editor-template").innerHTML,ai=await Of(ii.querySelector(".combo-markdown-editor")),ai.attachedDropzoneInst=await li(ii.querySelector(".dropzone")),ii.querySelector(".ui.cancel.button").addEventListener("click",fi),ii.querySelector(".ui.primary.button").addEventListener("click",hi)),(0,zn.fi)(ii),(0,zn.y9)(ni),ai.value()||ai.value(si.textContent),ai.switchTabToEditor(),ai.focus()}function Q2(){Hi(document).on("click",".edit-content",G2),Hi(document).on("click",".quote-reply",async function(ei){ei.preventDefault();const ti=Hi(this).data("target"),ni=`> ${Hi(`#${ti}`).text().replace(/\n/g,`
> `)}
`;let si;if(Hi(this).hasClass("quote-reply-diff")){const ai=Hi(this).closest(".comment-code-cloud").find("button.comment-form-reply");si=await iy(ai)}else si=Bg(Hi("#comment-form .combo-markdown-editor"));si&&(si.value()?si.value(`${si.value()}
${ni}`):si.value(ni),si.focus(),si.moveCursorToEnd())})}function mp(){const ei=[document.querySelector(".edit-content-zone:not(.tw-hidden) textarea"),document.querySelector("#comment-form textarea")];for(const ti of ei)if(ti&&ti.value.trim().length>10){if(ti.parentElement.scrollIntoView(),!window.confirm("Page will be reloaded, but there are draft comments. Continuing to reload will discard the comments. Continue?"))return;break}window.location.reload()}function Y2(){const ei=Hi(".comment.form");if(!ei.length)return;ei.find(".field.combo-editor-dropzone").length?UE(ei):ei.find(".combo-markdown-editor").length&&VE(ei);function ti(){const si=document.querySelector(".ui.dropdown.select-branch");if(!si)return;const ai=si.getAttribute("data-url-update-issueref"),li=Hi(si);li.find(".reference-list-menu").find(".item:not(.no-select)").on("click",async function(hi){hi.preventDefault();const _i=this.getAttribute("data-id"),ji=this.getAttribute("data-name");if(ai)try{await(0,so.LO)(ai,{data:new URLSearchParams({ref:_i})}),window.location.reload()}catch(Mi){console.error(Mi)}else{const Mi=this.getAttribute("data-id-selector");document.querySelector(Mi).value=_i,si.querySelector(".text-branch-name").textContent=ji}}),li.find(".reference.column").on("click",function(){return(0,zn.y9)(li.find(".scrolling.reference-list-menu")),(0,zn.fi)(this.getAttribute("data-target")),(0,zn.xP)(this.parentNode,".branch-tag-item",hi=>hi.classList.remove("active")),this.classList.add("active"),!1})}ti();function ii(si,ai){const li=Hi(`.ui.${ai}.list`),fi=li.find(".no-select"),hi=Hi(`.${si} .menu`);let _i=hi.data("action")==="update";const ji={};Hi(`.${si}`).dropdown({action:"nothing",fullTextSearch:"exact",async onHide(){if(_i=hi.data("action")==="update",_i){const Mi=Object.entries(ji);for(const[Ki,on]of Mi)await rh(on["update-url"],on.action,on["issue-id"],Ki);Mi.length&&mp()}}}),hi.find(".item:not(.no-select)").on("click",function(Mi){if(Mi.preventDefault(),Hi(this).hasClass("ban-change"))return!1;_i=hi.data("action")==="update";const Ki=this,on=this.getAttribute("data-scope");if(Hi(this).parent().find(".item").each(function(){if(on){if(this.getAttribute("data-scope")!==on||this!==Ki&&!Hi(this).hasClass("checked"))return!0}else if(this!==Ki)return!0;Hi(this).hasClass("checked")?(Hi(this).removeClass("checked"),Hi(this).find(".octicon-check").addClass("tw-invisible"),_i&&(Hi(this).data("id")in ji?delete ji[Hi(this).data("id")]:ji[Hi(this).data("id")]={"update-url":hi.data("update-url"),action:"detach","issue-id":hi.data("issue-id")})):(Hi(this).addClass("checked"),Hi(this).find(".octicon-check").removeClass("tw-invisible"),_i&&(Hi(this).data("id")in ji?delete ji[Hi(this).data("id")]:ji[Hi(this).data("id")]={"update-url":hi.data("update-url"),action:"attach","issue-id":hi.data("issue-id")}))}),si==="select-reviewers-modify"||si==="select-assignees-modify")return!1;const hn=[];return Hi(this).parent().find(".item").each(function(){Hi(this).hasClass("checked")?(hn.push(Hi(this).data("id")),Hi(Hi(this).data("id-selector")).removeClass("tw-hidden")):Hi(Hi(this).data("id-selector")).addClass("tw-hidden")}),hn.length?fi.addClass("tw-hidden"):fi.removeClass("tw-hidden"),Hi(Hi(this).parent().data("id")).val(hn.join(",")),!1}),hi.find(".no-select.item").on("click",function(Mi){if(Mi.preventDefault(),_i&&(async()=>(await rh(hi.data("update-url"),"clear",hi.data("issue-id"),""),mp()))(),Hi(this).parent().find(".item").each(function(){Hi(this).removeClass("checked"),Hi(this).find(".octicon-check").addClass("tw-invisible")}),si==="select-reviewers-modify"||si==="select-assignees-modify")return!1;li.find(".item").each(function(){Hi(this).addClass("tw-hidden")}),fi.removeClass("tw-hidden"),Hi(Hi(this).parent().data("id")).val("")})}ii("select-label","labels"),ii("select-assignees","assignees"),ii("select-assignees-modify","assignees"),ii("select-reviewers-modify","assignees");function ni(si,ai){const li=Hi(`${si} .menu`),fi=Hi(`.ui${si}.list`),hi=li.data("action")==="update";li.find(".item:not(.no-select)").on("click",function(){Hi(this).parent().find(".item").each(function(){Hi(this).removeClass("selected active")}),Hi(this).addClass("selected active"),hi&&(async()=>(await rh(li.data("update-url"),"",li.data("issue-id"),Hi(this).data("id")),mp()))();let _i="";ai==="#milestone_id"?_i=(0,Io.JW)("octicon-milestone",18,"tw-mr-2"):ai==="#project_id"?_i=(0,Io.JW)("octicon-project",18,"tw-mr-2"):ai==="#assignee_id"&&(_i=`<img class="ui avatar image tw-mr-2" alt="avatar" src=${Hi(this).data("avatar")}>`),fi.find(".selected").html(`
<a class="item muted sidebar-item-link" href=${Hi(this).data("href")}>
${_i}
${Ua(Hi(this).text())}
</a>
`),Hi(`.ui${si}.list .no-select`).addClass("tw-hidden"),Hi(ai).val(Hi(this).data("id"))}),li.find(".no-select.item").on("click",function(){Hi(this).parent().find(".item:not(.no-select)").each(function(){Hi(this).removeClass("selected active")}),hi&&(async()=>(await rh(li.data("update-url"),"",li.data("issue-id"),Hi(this).data("id")),mp()))(),fi.find(".selected").html(""),fi.find(".no-select").removeClass("tw-hidden"),Hi(ai).val("")})}ni(".select-project","#project_id"),ni(".select-milestone","#milestone_id"),ni(".select-assignee","#assignee_id")}function J2(){if(!Hi(".page-content.repository").length)return;if(h2(".js-branch-tag-selector"),Hi(".repository.settings.options").length>0){Hi(".enable-system").on("change",function(){this.checked?(Hi(Hi(this).data("target")).removeClass("disabled"),Hi(this).data("context")||Hi(Hi(this).data("context")).addClass("disabled")):(Hi(Hi(this).data("target")).addClass("disabled"),Hi(this).data("context")||Hi(Hi(this).data("context")).removeClass("disabled"))}),Hi(".enable-system-radio").on("change",function(){this.value==="false"?(Hi(Hi(this).data("target")).addClass("disabled"),Hi(this).data("context")!==void 0&&Hi(Hi(this).data("context")).removeClass("disabled")):this.value==="true"&&(Hi(Hi(this).data("target")).removeClass("disabled"),Hi(this).data("context")!==void 0&&Hi(Hi(this).data("context")).addClass("disabled"))});const ii=Hi(".js-tracker-issue-style");ii.on("change input",()=>{const ni=ii.filter(":checked").val();Hi("#tracker-issue-style-regex-box").toggleClass("disabled",ni!=="regexp")})}Ey(".repository.labels"),Hi(".repository.new.milestone").length>0&&Hi("#clear-date").on("click",()=>(Hi("#deadline").val(""),!1)),Hi(".repository.new.repo").length>0&&Hi('input[name="gitignores"], input[name="license"]').on("change",()=>{const ii=Hi('input[name="gitignores"]').val(),ni=Hi('input[name="license"]').val();(ii||ni)&&(document.querySelector('input[name="auto_init"]').checked=!0)}),Hi(".repository.diff").length&&(lk(".choose.branch .dropdown"),ck(".choose.branch .dropdown")),ak(),g2(),iA(),Hi(".repository.view.issue").length>0&&(Q2(),$E(),HE(),BE(),PE(),nT(),NE(),TE(),LE(),RE(),ME(),gy(),z2(),K2());const ti=Hi(".repository.compare.pull");ti.length>0&&ti.find("button.show-form").on("click",function(ii){ii.preventDefault(),(0,zn.y9)(Hi(this).parent());const ni=ti.find(".pullrequest-form");(0,zn.fi)(ni)}),$T()}const{i18n:om}=window.config;function Z2(){const ei=document.getElementById("copy-content");!ei||ei.classList.contains("disabled")||ei.addEventListener("click",async()=>{if(ei.classList.contains("is-loading"))return;let ti,ii=!1;const ni=ei.getAttribute("data-link");if(ni){ei.classList.add("is-loading","loading-icon-2px");try{const ai=await(0,so.fG)(ni,{credentials:"include",redirect:"follow"}),li=ai.headers.get("content-type");li.startsWith("image/")&&!li.startsWith("image/svg")?(ii=!0,ti=await ai.blob()):ti=await ai.text()}catch{return Mf(ei,om.copy_error)}finally{ei.classList.remove("is-loading","loading-icon-2px")}}else{const ai=document.querySelectorAll(".file-view .lines-code");ti=Array.from(ai,li=>li.textContent).join("")}if(await Zh(ti))Mf(ei,om.copy_success);else if(ii){const ai=await Zh(await(0,na.hC)(ti,"image/png"));Mf(ei,ai?om.copy_success:om.copy_error)}else Mf(ei,om.copy_error)})}async function eL(){const ei=document.querySelector("#captcha");if(!ei)return;const ti=ei.getAttribute("data-sitekey"),ii=(0,na.g4)(),ni={sitekey:ti,theme:ii?"dark":"light"};switch(ei.getAttribute("data-captcha-type")){case"g-recaptcha":{window.grecaptcha&&window.grecaptcha.ready(()=>{window.grecaptcha.render(ei,ni)});break}case"cf-turnstile":{window.turnstile&&window.turnstile.render(ei,ni);break}case"h-captcha":{window.hcaptcha&&window.hcaptcha.render(ei,ni);break}case"m-captcha":{const{default:si}=await __webpack_require__.e("mcaptcha-vanilla-glue").then(__webpack_require__.t.bind(__webpack_require__,"./node_modules/@mcaptcha/vanilla-glue/dist/index.js",19));si.INPUT_NAME="m-captcha-response";const ai=ei.getAttribute("data-instance-url");si.default({siteKey:{instanceUrl:new URL(ai),key:ti}});break}default:}}const tL=ei=>((0,ri.Qi)("data-v-2e3e6354"),ei=ei(),(0,ri.jt)(),ei),iL={class:"ui container action-view-container"},nL={class:"action-view-header"},sL={class:"action-info-summary"},rL={class:"action-info-summary-title"},oL={class:"action-info-summary-title-text"},aL=["data-url"],lL={class:"action-commit-summary"},cL=["href"],uL=["href"],fL=["href"],dL={key:2,class:"ui label tw-max-w-full"},hL=["href"],mL={class:"action-view-body"},pL={class:"action-view-left"},gL={class:"job-group-section"},vL={class:"job-brief-list"},bL=["href","onMouseenter"],_L={class:"job-brief-item-left"},yL={class:"job-brief-name tw-mx-2 gt-ellipsis"},wL={class:"job-brief-item-right"},xL={class:"step-summary-duration"},jL={key:0,class:"job-artifacts"},SL={class:"job-artifacts-title"},CL={class:"job-artifacts-list"},EL=["href"],kL=["onClick"],AL={class:"action-view-right"},TL={class:"job-info-header"},LL={class:"job-info-header-left gt-ellipsis"},RL={class:"job-info-header-title gt-ellipsis"},ML={class:"job-info-header-detail"},OL={class:"job-info-header-right"},DL={class:"btn gt-interact-bg tw-p-2"},FL={class:"icon"},IL={class:"icon"},PL={class:"icon"},qL=tL(()=>(0,ri.Lk)("div",{class:"divider"},null,-1)),NL=["href"],BL={class:"icon"},HL={key:0,class:"job-step-container",ref:"steps"},$L=["onClick"],VL={class:"step-summary-msg gt-ellipsis"},UL={class:"step-summary-duration"};function WL(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("ActionRunStatus"),fi=(0,ri.g2)("SvgIcon");return(0,ri.uX)(),(0,ri.CE)("div",iL,[(0,ri.Lk)("div",nL,[(0,ri.Lk)("div",sL,[(0,ri.Lk)("div",rL,[(0,ri.bF)(li,{"locale-status":ei.locale.status[ei.run.status],status:ei.run.status,size:20},null,8,["locale-status","status"]),(0,ri.Lk)("h2",oL,(0,yi.v_)(ei.run.title),1)]),ei.run.canApprove?((0,ri.uX)(),(0,ri.CE)("button",{key:0,class:"ui basic small compact button primary",onClick:ti[0]||(ti[0]=hi=>ei.approveRun())},(0,yi.v_)(ei.locale.approve),1)):ei.run.canCancel?((0,ri.uX)(),(0,ri.CE)("button",{key:1,class:"ui basic small compact button red",onClick:ti[1]||(ti[1]=hi=>ei.cancelRun())},(0,yi.v_)(ei.locale.cancel),1)):ei.run.canRerun?((0,ri.uX)(),(0,ri.CE)("button",{key:2,class:"ui basic small compact button tw-mr-0 tw-whitespace-nowrap link-action","data-url":`${ei.run.link}/rerun`},(0,yi.v_)(ei.locale.rerun_all),9,aL)):(0,ri.Q3)("v-if",!0)]),(0,ri.Lk)("div",lL,[(0,ri.Lk)("span",null,[(0,ri.Lk)("a",{class:"muted",href:ei.run.workflowLink},[(0,ri.Lk)("b",null,(0,yi.v_)(ei.run.workflowID),1)],8,cL),(0,ri.eW)(":")]),ei.run.isSchedule?((0,ri.uX)(),(0,ri.CE)(ri.FK,{key:0},[(0,ri.eW)((0,yi.v_)(ei.locale.scheduled),1)],64)):((0,ri.uX)(),(0,ri.CE)(ri.FK,{key:1},[(0,ri.eW)((0,yi.v_)(ei.locale.commit)+" ",1),(0,ri.Lk)("a",{class:"muted",href:ei.run.commit.link},(0,yi.v_)(ei.run.commit.shortSHA),9,uL),(0,ri.eW)(" "+(0,yi.v_)(ei.locale.pushedBy)+" ",1),(0,ri.Lk)("a",{class:"muted",href:ei.run.commit.pusher.link},(0,yi.v_)(ei.run.commit.pusher.displayName),9,fL)],64)),ei.run.commit.shortSHA?((0,ri.uX)(),(0,ri.CE)("span",dL,[(0,ri.Lk)("a",{class:"gt-ellipsis",href:ei.run.commit.branch.link},(0,yi.v_)(ei.run.commit.branch.name),9,hL)])):(0,ri.Q3)("v-if",!0)])]),(0,ri.Lk)("div",mL,[(0,ri.Lk)("div",pL,[(0,ri.Lk)("div",gL,[(0,ri.Lk)("div",vL,[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.run.jobs,(hi,_i)=>((0,ri.uX)(),(0,ri.CE)("a",{class:(0,yi.C4)(["job-brief-item",parseInt(ei.jobIndex)===_i?"selected":""]),href:ei.run.link+"/jobs/"+_i,key:hi.id,onMouseenter:ji=>ei.onHoverRerunIndex=hi.id,onMouseleave:ti[2]||(ti[2]=ji=>ei.onHoverRerunIndex=-1)},[(0,ri.Lk)("div",_L,[(0,ri.bF)(li,{"locale-status":ei.locale.status[hi.status],status:hi.status},null,8,["locale-status","status"]),(0,ri.Lk)("span",yL,(0,yi.v_)(hi.name),1)]),(0,ri.Lk)("span",wL,[hi.canRerun&&ei.onHoverRerunIndex===hi.id?((0,ri.uX)(),(0,ri.Wv)(fi,{key:0,name:"octicon-sync",role:"button","data-tooltip-content":ei.locale.rerun,class:"job-brief-rerun tw-mx-2 link-action","data-url":`${ei.run.link}/jobs/${_i}/rerun`},null,8,["data-tooltip-content","data-url"])):(0,ri.Q3)("v-if",!0),(0,ri.Lk)("span",xL,(0,yi.v_)(hi.duration),1)])],42,bL))),128))])]),ei.artifacts.length>0?((0,ri.uX)(),(0,ri.CE)("div",jL,[(0,ri.Lk)("div",SL,(0,yi.v_)(ei.locale.artifactsTitle),1),(0,ri.Lk)("ul",CL,[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.artifacts,hi=>((0,ri.uX)(),(0,ri.CE)("li",{class:"job-artifacts-item",key:hi.name},[(0,ri.Lk)("a",{class:"job-artifacts-link",target:"_blank",href:ei.run.link+"/artifacts/"+hi.name},[(0,ri.bF)(fi,{name:"octicon-file",class:"ui text black job-artifacts-icon"}),(0,ri.eW)((0,yi.v_)(hi.name),1)],8,EL),ei.run.canDeleteArtifact?((0,ri.uX)(),(0,ri.CE)("a",{key:0,onClick:_i=>ei.deleteArtifact(hi.name),class:"job-artifacts-delete"},[(0,ri.bF)(fi,{name:"octicon-trash",class:"ui text black job-artifacts-icon"})],8,kL)):(0,ri.Q3)("v-if",!0)]))),128))])])):(0,ri.Q3)("v-if",!0)]),(0,ri.Lk)("div",AL,[(0,ri.Lk)("div",TL,[(0,ri.Lk)("div",LL,[(0,ri.Lk)("h3",RL,(0,yi.v_)(ei.currentJob.title),1),(0,ri.Lk)("p",ML,(0,yi.v_)(ei.currentJob.detail),1)]),(0,ri.Lk)("div",OL,[(0,ri.Lk)("div",{class:"ui top right pointing dropdown custom jump item",onClick:ti[6]||(ti[6]=ml(hi=>ei.menuVisible=!ei.menuVisible,["stop"])),onKeyup:ti[7]||(ti[7]=Qd(hi=>ei.menuVisible=!ei.menuVisible,["enter"]))},[(0,ri.Lk)("button",DL,[(0,ri.bF)(fi,{name:"octicon-gear",size:18})]),ei.menuVisible?((0,ri.uX)(),(0,ri.CE)("div",{key:0,class:(0,yi.C4)(["menu transition action-job-menu",{visible:ei.menuVisible}])},[(0,ri.Lk)("a",{class:"item",onClick:ti[3]||(ti[3]=hi=>ei.toggleTimeDisplay("seconds"))},[(0,ri.Lk)("i",FL,[(0,ri.bF)(fi,{name:ei.timeVisible["log-time-seconds"]?"octicon-check":"gitea-empty-checkbox"},null,8,["name"])]),(0,ri.eW)(" "+(0,yi.v_)(ei.locale.showLogSeconds),1)]),(0,ri.Lk)("a",{class:"item",onClick:ti[4]||(ti[4]=hi=>ei.toggleTimeDisplay("stamp"))},[(0,ri.Lk)("i",IL,[(0,ri.bF)(fi,{name:ei.timeVisible["log-time-stamp"]?"octicon-check":"gitea-empty-checkbox"},null,8,["name"])]),(0,ri.eW)(" "+(0,yi.v_)(ei.locale.showTimeStamps),1)]),(0,ri.Lk)("a",{class:"item",onClick:ti[5]||(ti[5]=hi=>ei.toggleFullScreen())},[(0,ri.Lk)("i",PL,[(0,ri.bF)(fi,{name:ei.isFullScreen?"octicon-check":"gitea-empty-checkbox"},null,8,["name"])]),(0,ri.eW)(" "+(0,yi.v_)(ei.locale.showFullScreen),1)]),qL,(0,ri.Lk)("a",{class:(0,yi.C4)(["item",ei.currentJob.steps.length?"":"disabled"]),href:ei.run.link+"/jobs/"+ei.jobIndex+"/logs",target:"_blank"},[(0,ri.Lk)("i",BL,[(0,ri.bF)(fi,{name:"octicon-download"})]),(0,ri.eW)(" "+(0,yi.v_)(ei.locale.downloadLogs),1)],10,NL)],2)):(0,ri.Q3)("v-if",!0)],32)])]),ei.currentJob.steps.length?((0,ri.uX)(),(0,ri.CE)("div",HL,[((0,ri.uX)(!0),(0,ri.CE)(ri.FK,null,(0,ri.pI)(ei.currentJob.steps,(hi,_i)=>((0,ri.uX)(),(0,ri.CE)("div",{class:"job-step-section",key:_i},[(0,ri.Lk)("div",{class:(0,yi.C4)(["job-step-summary",[ei.currentJobStepsStates[_i].expanded?"selected":"",ei.isExpandable(hi.status)&&"step-expandable"]]),onClick:ml(ji=>ei.isExpandable(hi.status)&&ei.toggleStepLogs(_i),["stop"])},[(0,ri.Q3)(` If the job is done and the job step log is loaded for the first time, show the loading icon
currentJobStepsStates[i].cursor === null means the log is loaded for the first time
`),ei.isDone(ei.run.status)&&ei.currentJobStepsStates[_i].expanded&&ei.currentJobStepsStates[_i].cursor===null?((0,ri.uX)(),(0,ri.Wv)(fi,{key:0,name:"octicon-sync",class:"tw-mr-2 job-status-rotate"})):((0,ri.uX)(),(0,ri.Wv)(fi,{key:1,name:ei.currentJobStepsStates[_i].expanded?"octicon-chevron-down":"octicon-chevron-right",class:(0,yi.C4)(["tw-mr-2",!ei.isExpandable(hi.status)&&"tw-invisible"])},null,8,["name","class"])),(0,ri.bF)(li,{status:hi.status,class:"tw-mr-2"},null,8,["status"]),(0,ri.Lk)("span",VL,(0,yi.v_)(hi.summary),1),(0,ri.Lk)("span",UL,(0,yi.v_)(hi.duration),1)],10,$L),(0,ri.Q3)(` the log elements could be a lot, do not use v-if to destroy/reconstruct the DOM,
use native DOM elements for "log line" to improve performance, Vue is not suitable for managing so many reactive elements. `),(0,ri.bo)((0,ri.Lk)("div",{class:"job-step-logs",ref_for:!0,ref:"logs"},null,512),[[Jl,ei.currentJobStepsStates[_i].expanded]])]))),128))],512)):(0,ri.Q3)("v-if",!0)])])])}const zL=["data-tooltip-content"];function KL(ei,ti,ii,ni,si,ai){const li=(0,ri.g2)("SvgIcon");return ii.status?((0,ri.uX)(),(0,ri.CE)("span",{key:0,class:"tw-flex tw-items-center","data-tooltip-content":ii.localeStatus},[ii.status==="success"?((0,ri.uX)(),(0,ri.Wv)(li,{key:0,name:"octicon-check-circle-fill",class:"text green",size:ii.size,"class-name":ii.className},null,8,["size","class-name"])):ii.status==="skipped"?((0,ri.uX)(),(0,ri.Wv)(li,{key:1,name:"octicon-skip",class:"text grey",size:ii.size,"class-name":ii.className},null,8,["size","class-name"])):ii.status==="waiting"?((0,ri.uX)(),(0,ri.Wv)(li,{key:2,name:"octicon-clock",class:"text yellow",size:ii.size,"class-name":ii.className},null,8,["size","class-name"])):ii.status==="blocked"?((0,ri.uX)(),(0,ri.Wv)(li,{key:3,name:"octicon-blocked",class:"text yellow",size:ii.size,"class-name":ii.className},null,8,["size","class-name"])):ii.status==="running"?((0,ri.uX)(),(0,ri.Wv)(li,{key:4,name:"octicon-meter",class:"text yellow",size:ii.size,"class-name":"job-status-rotate "+ii.className},null,8,["size","class-name"])):["failure","cancelled","unknown"].includes(ii.status)?((0,ri.uX)(),(0,ri.Wv)(li,{key:5,name:"octicon-x-circle-fill",class:"text red",size:ii.size},null,8,["size"])):(0,ri.Q3)("v-if",!0)],8,zL)):(0,ri.Q3)("v-if",!0)}var XL={components:{SvgIcon:Io.Ah},props:{status:{type:String,required:!0},size:{type:Number,default:16},className:{type:String,default:""},localeStatus:{type:String,default:""}}},GL=(0,zc.A)(XL,[["render",KL]]),Qg=function(ei,ti){return Object.defineProperty?Object.defineProperty(ei,"raw",{value:ti}):ei.raw=ti,ei},ya;(function(ei){ei[ei.EOS=0]="EOS",ei[ei.Text=1]="Text",ei[ei.Incomplete=2]="Incomplete",ei[ei.ESC=3]="ESC",ei[ei.Unknown=4]="Unknown",ei[ei.SGR=5]="SGR",ei[ei.OSCURL=6]="OSCURL"})(ya||(ya={}));class QL{constructor(){this.VERSION="6.0.2",this.setup_palettes(),this._use_classes=!1,this.bold=!1,this.faint=!1,this.italic=!1,this.underline=!1,this.fg=this.bg=null,this._buffer="",this._url_allowlist={http:1,https:1},this._escape_html=!0,this.boldStyle="font-weight:bold",this.faintStyle="opacity:0.7",this.italicStyle="font-style:italic",this.underlineStyle="text-decoration:underline"}set use_classes(ti){this._use_classes=ti}get use_classes(){return this._use_classes}set url_allowlist(ti){this._url_allowlist=ti}get url_allowlist(){return this._url_allowlist}set escape_html(ti){this._escape_html=ti}get escape_html(){return this._escape_html}set boldStyle(ti){this._boldStyle=ti}get boldStyle(){return this._boldStyle}set faintStyle(ti){this._faintStyle=ti}get faintStyle(){return this._faintStyle}set italicStyle(ti){this._italicStyle=ti}get italicStyle(){return this._italicStyle}set underlineStyle(ti){this._underlineStyle=ti}get underlineStyle(){return this._underlineStyle}setup_palettes(){this.ansi_colors=[[{rgb:[0,0,0],class_name:"ansi-black"},{rgb:[187,0,0],class_name:"ansi-red"},{rgb:[0,187,0],class_name:"ansi-green"},{rgb:[187,187,0],class_name:"ansi-yellow"},{rgb:[0,0,187],class_name:"ansi-blue"},{rgb:[187,0,187],class_name:"ansi-magenta"},{rgb:[0,187,187],class_name:"ansi-cyan"},{rgb:[255,255,255],class_name:"ansi-white"}],[{rgb:[85,85,85],class_name:"ansi-bright-black"},{rgb:[255,85,85],class_name:"ansi-bright-red"},{rgb:[0,255,0],class_name:"ansi-bright-green"},{rgb:[255,255,85],class_name:"ansi-bright-yellow"},{rgb:[85,85,255],class_name:"ansi-bright-blue"},{rgb:[255,85,255],class_name:"ansi-bright-magenta"},{rgb:[85,255,255],class_name:"ansi-bright-cyan"},{rgb:[255,255,255],class_name:"ansi-bright-white"}]],this.palette_256=[],this.ansi_colors.forEach(ni=>{ni.forEach(si=>{this.palette_256.push(si)})});let ti=[0,95,135,175,215,255];for(let ni=0;ni<6;++ni)for(let si=0;si<6;++si)for(let ai=0;ai<6;++ai){let li={rgb:[ti[ni],ti[si],ti[ai]],class_name:"truecolor"};this.palette_256.push(li)}let ii=8;for(let ni=0;ni<24;++ni,ii+=10){let si={rgb:[ii,ii,ii],class_name:"truecolor"};this.palette_256.push(si)}}escape_txt_for_html(ti){return this._escape_html?ti.replace(/[&<>"']/gm,ii=>{if(ii==="&")return"&amp;";if(ii==="<")return"&lt;";if(ii===">")return"&gt;";if(ii==='"')return"&quot;";if(ii==="'")return"&#x27;"}):ti}append_buffer(ti){var ii=this._buffer+ti;this._buffer=ii}get_next_packet(){var ti={kind:ya.EOS,text:"",url:""},ii=this._buffer.length;if(ii==0)return ti;var ni=this._buffer.indexOf("\x1B");if(ni==-1)return ti.kind=ya.Text,ti.text=this._buffer,this._buffer="",ti;if(ni>0)return ti.kind=ya.Text,ti.text=this._buffer.slice(0,ni),this._buffer=this._buffer.slice(ni),ti;if(ni==0){if(ii<3)return ti.kind=ya.Incomplete,ti;var si=this._buffer.charAt(1);if(si!="["&&si!="]"&&si!="(")return ti.kind=ya.ESC,ti.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),ti;if(si=="["){this._csi_regex||(this._csi_regex=Fy(Iy||(Iy=Qg([`
^ # beginning of line
#
# First attempt
(?: # legal sequence
\x1B[ # CSI
([<-?]?) # private-mode char
([d;]*) # any digits or semicolons
([ -/]? # an intermediate modifier
[@-~]) # the command
)
| # alternate (second attempt)
(?: # illegal sequence
\x1B[ # CSI
[ -~]* # anything legal
([\0-:]) # anything illegal
)
`],[`
^ # beginning of line
#
# First attempt
(?: # legal sequence
\\x1b\\[ # CSI
([\\x3c-\\x3f]?) # private-mode char
([\\d;]*) # any digits or semicolons
([\\x20-\\x2f]? # an intermediate modifier
[\\x40-\\x7e]) # the command
)
| # alternate (second attempt)
(?: # illegal sequence
\\x1b\\[ # CSI
[\\x20-\\x7e]* # anything legal
([\\x00-\\x1f:]) # anything illegal
)
`]))));let li=this._buffer.match(this._csi_regex);if(li===null)return ti.kind=ya.Incomplete,ti;if(li[4])return ti.kind=ya.ESC,ti.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),ti;li[1]!=""||li[3]!="m"?ti.kind=ya.Unknown:ti.kind=ya.SGR,ti.text=li[2];var ai=li[0].length;return this._buffer=this._buffer.slice(ai),ti}else if(si=="]"){if(ii<4)return ti.kind=ya.Incomplete,ti;if(this._buffer.charAt(2)!="8"||this._buffer.charAt(3)!=";")return ti.kind=ya.ESC,ti.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),ti;this._osc_st||(this._osc_st=YL(Py||(Py=Qg([`
(?: # legal sequence
(\x1B\\) # ESC | # alternate
(\x07) # BEL (what xterm did)
)
| # alternate (second attempt)
( # illegal sequence
[\0-] # anything illegal
| # alternate
[\b-] # anything illegal
| # alternate
[-] # anything illegal
)
`],[`
(?: # legal sequence
(\\x1b\\\\) # ESC \\
| # alternate
(\\x07) # BEL (what xterm did)
)
| # alternate (second attempt)
( # illegal sequence
[\\x00-\\x06] # anything illegal
| # alternate
[\\x08-\\x1a] # anything illegal
| # alternate
[\\x1c-\\x1f] # anything illegal
)
`])))),this._osc_st.lastIndex=0;{let hi=this._osc_st.exec(this._buffer);if(hi===null)return ti.kind=ya.Incomplete,ti;if(hi[3])return ti.kind=ya.ESC,ti.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),ti}{let hi=this._osc_st.exec(this._buffer);if(hi===null)return ti.kind=ya.Incomplete,ti;if(hi[3])return ti.kind=ya.ESC,ti.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),ti}this._osc_regex||(this._osc_regex=Fy(qy||(qy=Qg([`
^ # beginning of line
#
\x1B]8; # OSC Hyperlink
[ -:<-~]* # params (excluding ;)
; # end of params
([!-~]{0,512}) # URL capture
(?: # ST
(?:\x1B\\) # ESC | # alternate
(?:\x07) # BEL (what xterm did)
)
([ -~]+) # TEXT capture
\x1B]8;; # OSC Hyperlink End
(?: # ST
(?:\x1B\\) # ESC | # alternate
(?:\x07) # BEL (what xterm did)
)
`],[`
^ # beginning of line
#
\\x1b\\]8; # OSC Hyperlink
[\\x20-\\x3a\\x3c-\\x7e]* # params (excluding ;)
; # end of params
([\\x21-\\x7e]{0,512}) # URL capture
(?: # ST
(?:\\x1b\\\\) # ESC \\
| # alternate
(?:\\x07) # BEL (what xterm did)
)
([\\x20-\\x7e]+) # TEXT capture
\\x1b\\]8;; # OSC Hyperlink End
(?: # ST
(?:\\x1b\\\\) # ESC \\
| # alternate
(?:\\x07) # BEL (what xterm did)
)
`]))));let li=this._buffer.match(this._osc_regex);if(li===null)return ti.kind=ya.ESC,ti.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),ti;ti.kind=ya.OSCURL,ti.url=li[1],ti.text=li[2];var ai=li[0].length;return this._buffer=this._buffer.slice(ai),ti}else if(si=="(")return ti.kind=ya.Unknown,this._buffer=this._buffer.slice(3),ti}}ansi_to_html(ti){this.append_buffer(ti);for(var ii=[];;){var ni=this.get_next_packet();if(ni.kind==ya.EOS||ni.kind==ya.Incomplete)break;ni.kind==ya.ESC||ni.kind==ya.Unknown||(ni.kind==ya.Text?ii.push(this.transform_to_html(this.with_state(ni))):ni.kind==ya.SGR?this.process_ansi(ni):ni.kind==ya.OSCURL&&ii.push(this.process_hyperlink(ni)))}return ii.join("")}with_state(ti){return{bold:this.bold,faint:this.faint,italic:this.italic,underline:this.underline,fg:this.fg,bg:this.bg,text:ti.text}}process_ansi(ti){let ii=ti.text.split(";");for(;ii.length>0;){let ni=ii.shift(),si=parseInt(ni,10);if(isNaN(si)||si===0)this.fg=null,this.bg=null,this.bold=!1,this.faint=!1,this.italic=!1,this.underline=!1;else if(si===1)this.bold=!0;else if(si===2)this.faint=!0;else if(si===3)this.italic=!0;else if(si===4)this.underline=!0;else if(si===21)this.bold=!1;else if(si===22)this.faint=!1,this.bold=!1;else if(si===23)this.italic=!1;else if(si===24)this.underline=!1;else if(si===39)this.fg=null;else if(si===49)this.bg=null;else if(si>=30&&si<38)this.fg=this.ansi_colors[0][si-30];else if(si>=40&&si<48)this.bg=this.ansi_colors[0][si-40];else if(si>=90&&si<98)this.fg=this.ansi_colors[1][si-90];else if(si>=100&&si<108)this.bg=this.ansi_colors[1][si-100];else if((si===38||si===48)&&ii.length>0){let ai=si===38,li=ii.shift();if(li==="5"&&ii.length>0){let fi=parseInt(ii.shift(),10);fi>=0&&fi<=255&&(ai?this.fg=this.palette_256[fi]:this.bg=this.palette_256[fi])}if(li==="2"&&ii.length>2){let fi=parseInt(ii.shift(),10),hi=parseInt(ii.shift(),10),_i=parseInt(ii.shift(),10);if(fi>=0&&fi<=255&&hi>=0&&hi<=255&&_i>=0&&_i<=255){let ji={rgb:[fi,hi,_i],class_name:"truecolor"};ai?this.fg=ji:this.bg=ji}}}}}transform_to_html(ti){let ii=ti.text;if(ii.length===0||(ii=this.escape_txt_for_html(ii),!ti.bold&&!ti.italic&&!ti.underline&&ti.fg===null&&ti.bg===null))return ii;let ni=[],si=[],ai=ti.fg,li=ti.bg;ti.bold&&ni.push(this._boldStyle),ti.faint&&ni.push(this._faintStyle),ti.italic&&ni.push(this._italicStyle),ti.underline&&ni.push(this._underlineStyle),this._use_classes?(ai&&(ai.class_name!=="truecolor"?si.push(`${ai.class_name}-fg`):ni.push(`color:rgb(${ai.rgb.join(",")})`)),li&&(li.class_name!=="truecolor"?si.push(`${li.class_name}-bg`):ni.push(`background-color:rgb(${li.rgb.join(",")})`))):(ai&&ni.push(`color:rgb(${ai.rgb.join(",")})`),li&&ni.push(`background-color:rgb(${li.rgb})`));let fi="",hi="";return si.length&&(fi=` class="${si.join(" ")}"`),ni.length&&(hi=` style="${ni.join(";")}"`),`<span${hi}${fi}>${ii}</span>`}process_hyperlink(ti){let ii=ti.url.split(":");return ii.length<1||!this._url_allowlist[ii[0]]?"":`<a href="${this.escape_txt_for_html(ti.url)}">${this.escape_txt_for_html(ti.text)}</a>`}}function Fy(ei,...ti){let ii=ei.raw[0],ni=/^\s+|\s+\n|\s*#[\s\S]*?\n|\n/gm,si=ii.replace(ni,"");return new RegExp(si)}function YL(ei,...ti){let ii=ei.raw[0],ni=/^\s+|\s+\n|\s*#[\s\S]*?\n|\n/gm,si=ii.replace(ni,"");return new RegExp(si,"g")}var Iy,Py,qy;const JL=[[/\x1b\[\d+[A-H]/g,""],[/\x1b\[\d?[JK]/g,"\r"]];function ZL(ei){const ti=new QL;if(ti.use_classes=!0,ei.endsWith(`\r
`)?ei=ei.substring(0,ei.length-2):ei.endsWith(`
`)&&(ei=ei.substring(0,ei.length-1)),ei.includes("\x1B"))for(const[ni,si]of JL)ei=ei.replace(ni,si);if(!ei.includes("\r"))return ti.ansi_to_html(ei);const ii=[];for(const ni of ei.split("\r")){if(ni==="")continue;const si=ti.ansi_to_html(ni);si!==""&&ii.push(si)}return ii.join(`
`)}const Ny={name:"RepoActionView",components:{SvgIcon:Io.Ah,ActionRunStatus:GL},props:{runIndex:String,jobIndex:String,actionsURL:String,locale:Object},data(){return{loading:!1,intervalID:null,currentJobStepsStates:[],artifacts:[],onHoverRerunIndex:-1,menuVisible:!1,isFullScreen:!1,timeVisible:{"log-time-stamp":!1,"log-time-seconds":!1},run:{link:"",title:"",status:"",canCancel:!1,canApprove:!1,canRerun:!1,done:!1,workflowID:"",workflowLink:"",isSchedule:!1,jobs:[],commit:{localeCommit:"",localePushedBy:"",shortSHA:"",link:"",pusher:{displayName:"",link:""},branch:{name:"",link:""}}},currentJob:{title:"",detail:"",steps:[]}}},async mounted(){await this.loadJob(),this.intervalID=setInterval(this.loadJob,1e3),document.body.addEventListener("click",this.closeDropdown),this.hashChangeListener(),window.addEventListener("hashchange",this.hashChangeListener)},beforeUnmount(){document.body.removeEventListener("click",this.closeDropdown),window.removeEventListener("hashchange",this.hashChangeListener)},unmounted(){this.intervalID&&(clearInterval(this.intervalID),this.intervalID=null)},methods:{getLogsContainer(ei){const ti=this.$refs.logs[ei];return ti._stepLogsActiveContainer??ti},beginLogGroup(ei){const ti=this.$refs.logs[ei],ii=document.createElement("div");ii.classList.add("job-log-group");const ni=document.createElement("div");ni.classList.add("job-log-group-summary");const si=document.createElement("div");si.classList.add("job-log-list"),ii.append(ni),ii.append(si),ti._stepLogsActiveContainer=si},endLogGroup(ei){const ti=this.$refs.logs[ei];ti._stepLogsActiveContainer=null},toggleStepLogs(ei){this.currentJobStepsStates[ei].expanded=!this.currentJobStepsStates[ei].expanded,this.currentJobStepsStates[ei].expanded&&this.loadJob()},cancelRun(){(0,so.LO)(`${this.run.link}/cancel`)},approveRun(){(0,so.LO)(`${this.run.link}/approve`)},createLogLine(ei,ti,ii){const ni=document.createElement("div");ni.classList.add("job-log-line"),ni.setAttribute("id",`jobstep-${ii}-${ei.index}`),ni._jobLogTime=ei.timestamp;const si=document.createElement("a");si.classList.add("line-num","muted"),si.textContent=ei.index,si.setAttribute("href",`#jobstep-${ii}-${ei.index}`),ni.append(si);const ai=document.createElement("span");ai.className="log-time-stamp";const li=new Date(parseFloat(ei.timestamp*1e3)),fi=(0,_b.Rt)(li);ai.textContent=fi,(0,zn.oi)(ai,this.timeVisible["log-time-stamp"]);const hi=document.createElement("span");hi.className="log-time-seconds";const _i=Math.floor(parseFloat(ei.timestamp)-parseFloat(ti));hi.textContent=`${_i}s`,(0,zn.oi)(hi,this.timeVisible["log-time-seconds"]);const ji=document.createElement("span");return ji.className="log-msg",ji.innerHTML=ZL(ei.message),ni.append(ai),ni.append(ji),ni.append(hi),ni},appendLogs(ei,ti,ii){for(const ni of ti)this.getLogsContainer(ei).append(this.createLogLine(ni,ii,ei))},async fetchArtifacts(){return await(await(0,so.fG)(`${this.actionsURL}/runs/${this.runIndex}/artifacts`)).json()},async deleteArtifact(ei){window.confirm(this.locale.confirmDeleteArtifact.replace("%s",ei))&&(await(0,so.SJ)(`${this.run.link}/artifacts/${ei}`),await this.loadJob())},async fetchJob(){const ei=this.currentJobStepsStates.map((ii,ni)=>({step:ni,cursor:ii.cursor,expanded:ii.expanded}));return await(await(0,so.LO)(`${this.actionsURL}/runs/${this.runIndex}/jobs/${this.jobIndex}`,{data:{logCursors:ei}})).json()},async loadJob(){if(!this.loading)try{this.loading=!0;let ei,ti;try{[ei,ti]=await Promise.all([this.fetchJob(),this.fetchArtifacts()])}catch(ii){if(ii instanceof TypeError)return;throw ii}this.artifacts=ti.artifacts||[],this.run=ei.state.run,this.currentJob=ei.state.currentJob;for(let ii=0;ii<this.currentJob.steps.length;ii++)this.currentJobStepsStates[ii]||(this.currentJobStepsStates[ii]={cursor:null,expanded:!1});for(const ii of ei.logs.stepsLog)this.currentJobStepsStates[ii.step].cursor=ii.cursor,this.appendLogs(ii.step,ii.lines,ii.started);this.run.done&&this.intervalID&&(clearInterval(this.intervalID),this.intervalID=null)}finally{this.loading=!1}},isDone(ei){return["success","skipped","failure","cancelled"].includes(ei)},isExpandable(ei){return["success","running","failure","cancelled"].includes(ei)},closeDropdown(){this.menuVisible&&(this.menuVisible=!1)},toggleTimeDisplay(ei){this.timeVisible[`log-time-${ei}`]=!this.timeVisible[`log-time-${ei}`];for(const ti of this.$refs.steps.querySelectorAll(`.log-time-${ei}`))(0,zn.oi)(ti,this.timeVisible[`log-time-${ei}`])},toggleFullScreen(){this.isFullScreen=!this.isFullScreen;const ei=document.querySelector(".action-view-right"),ti=document.querySelector(".full.height"),ii=document.querySelector(".action-view-body"),ni=document.querySelector("#navbar"),si=document.querySelector(".page-content.repository"),ai=document.querySelector(".page-footer");(0,zn.oi)(ni,!this.isFullScreen),(0,zn.oi)(si,!this.isFullScreen),(0,zn.oi)(ai,!this.isFullScreen),this.isFullScreen?ti.append(ei):ii.append(ei)},async hashChangeListener(){const ei=window.location.hash;if(!ei)return;const[ti,ii,ni]=ei.split("-");if(!this.currentJobStepsStates[ii])return;!this.currentJobStepsStates[ii].expanded&&this.currentJobStepsStates[ii].cursor===null&&(this.currentJobStepsStates[ii].expanded=!0,await this.loadJob());const si=this.$refs.steps.querySelector(ei);si&&si.querySelector(".line-num").click()}}};var e7=Ny;function t7(){const ei=document.getElementById("repo-action-view");if(!ei)return;const ti=document.querySelector("body > div.full.height");ti&&(ti.style.paddingBottom="0"),dc(Ny,{runIndex:ei.getAttribute("data-run-index"),jobIndex:ei.getAttribute("data-job-index"),actionsURL:ei.getAttribute("data-actions-url"),locale:{approve:ei.getAttribute("data-locale-approve"),cancel:ei.getAttribute("data-locale-cancel"),rerun:ei.getAttribute("data-locale-rerun"),rerun_all:ei.getAttribute("data-locale-rerun-all"),scheduled:ei.getAttribute("data-locale-runs-scheduled"),commit:ei.getAttribute("data-locale-runs-commit"),pushedBy:ei.getAttribute("data-locale-runs-pushed-by"),artifactsTitle:ei.getAttribute("data-locale-artifacts-title"),areYouSure:ei.getAttribute("data-locale-are-you-sure"),confirmDeleteArtifact:ei.getAttribute("data-locale-confirm-delete-artifact"),showTimeStamps:ei.getAttribute("data-locale-show-timestamps"),showLogSeconds:ei.getAttribute("data-locale-show-log-seconds"),showFullScreen:ei.getAttribute("data-locale-show-full-screen"),downloadLogs:ei.getAttribute("data-locale-download-logs"),status:{unknown:ei.getAttribute("data-locale-status-unknown"),waiting:ei.getAttribute("data-locale-status-waiting"),running:ei.getAttribute("data-locale-status-running"),success:ei.getAttribute("data-locale-status-success"),failure:ei.getAttribute("data-locale-status-failure"),cancelled:ei.getAttribute("data-locale-status-cancelled"),skipped:ei.getAttribute("data-locale-status-skipped"),blocked:ei.getAttribute("data-locale-status-blocked")}}}).mount(ei)}const sM=(0,zc.A)(e7,[["render",WL],["__scopeId","data-v-2e3e6354"]]);var rM=null;function i7(){const ei=document.querySelector(".issue-checkbox-all");if(!ei)return;const ti=document.querySelectorAll(".issue-checkbox"),ii=()=>{const ni=Array.from(ti).filter(_i=>_i.checked),si=!!ni.length;si&&ni.length===ti.length?(ei.checked=!0,ei.indeterminate=!1):si?(ei.checked=!1,ei.indeterminate=!0):(ei.checked=!1,ei.indeterminate=!1),(0,zn.oi)(Hi("#issue-filters"),!si),(0,zn.oi)(Hi("#issue-actions"),si);const li=document.querySelectorAll("#issue-filters, #issue-actions");Array.from(li).find(_i=>!(0,zn.WP)(_i)).querySelector(".issue-list-toolbar-left").prepend(ei)};for(const ni of ti)ni.addEventListener("change",ii);ei.addEventListener("change",()=>{for(const ni of ti)ni.checked=ei.checked;ii()}),Hi(".issue-action").on("click",async function(ni){ni.preventDefault();const si=this.getAttribute("data-url");let ai=this.getAttribute("data-action"),li=this.getAttribute("data-element-id"),fi=[];for(const hi of document.querySelectorAll(".issue-checkbox:checked"))fi.push(hi.getAttribute("data-issue-id"));if(fi=fi.join(","),!!fi){if(li==="0"&&si.endsWith("/assignee")&&(li="",ai="clear"),ai==="toggle"&&ni.altKey&&(ai="toggle-alt"),ai==="delete"){const hi=ni.target.getAttribute("data-action-delete-confirm");if(!await a_(hi,{confirmButtonColor:"red"}))return}try{await rh(si,ai,fi,li),window.location.reload()}catch(hi){pl(hi.responseJSON?.error??hi.message)}}})}function n7(){const ei=Hi(".user-remote-search");if(!ei.length)return;let ti=ei[0].getAttribute("data-search-url");const ii=ei[0].getAttribute("data-action-jump-url"),ni=ei[0].getAttribute("data-selected-user-id");ti.includes("?")||(ti+="?"),ei.dropdown("setting",{fullTextSearch:!0,selectOnKeydown:!1,apiSettings:{cache:!1,url:`${ti}&q={query}`,onResponse(li){const fi=[];for(const hi of li.results){let _i=`<img class="ui avatar tw-align-middle" src="${Ua(hi.avatar_link)}" aria-hidden="true" alt="" width="20" height="20"><span class="gt-ellipsis">${Ua(hi.username)}</span>`;hi.full_name&&(_i+=`<span class="search-fullname tw-ml-2">${Ua(hi.full_name)}</span>`),fi.push({value:hi.user_id,name:_i})}return li.results=fi,li}},action:(li,fi)=>{window.location.href=ii.replace("{user_id}",encodeURIComponent(fi))},onShow:()=>{ei.dropdown("filter"," ")}});const si={...ei.dropdown("internal","setup")},ai=ei.dropdown("setting","templates");ei.dropdown("internal","setup",si),si.menu=function(li){const fi=ei.find("> .menu")[0];for(const _i of fi.querySelectorAll(":scope > .dynamic-item"))_i.remove();const hi=ai.menu(li,ei.dropdown("setting","fields"),!0,ei.dropdown("setting","className"));if(hi){const _i=(0,na.a8)(hi,"text/html").querySelectorAll("body > div");for(const Mi of _i)Mi.classList.add("dynamic-item");const ji=document.createElement("div");ji.classList.add("divider","dynamic-item"),fi.append(ji,..._i)}ei.dropdown("refresh"),setTimeout(()=>{for(const _i of fi.querySelectorAll(".item.active, .item.selected"))_i.classList.remove("active","selected");fi.querySelector(`.item[data-value="${ni}"]`)?.classList.add("selected")},0)}}function s7(){for(const ei of document.getElementsByClassName("issue-card-unpin"))ei.addEventListener("click",async ti=>{const ii=ti.currentTarget,ni=Number(ii.getAttribute("data-issue-id"));(await(0,so.SJ)(ii.getAttribute("data-unpin-url"))).ok&&(ii._tippy.destroy(),ii.closest(`div.issue-card[data-issue-id="${ni}"]`).remove())})}async function r7(ei){const ti=ei.item.getAttribute("data-move-url"),ii=Number(ei.item.getAttribute("data-issue-id"));await(0,so.LO)(ti,{data:{id:ii,position:ei.newIndex+1}})}async function o7(){const ei=document.getElementById("issue-pins");ei!==null&&ei.hasAttribute("data-is-repo-admin")&&(s7(),!(ei.children.length<2)&&jg(ei,{group:"shared",onEnd:r7}))}function a7(){const ei=document.querySelector("#archived-filter-checkbox");if(!ei)return;const ti=new URL(window.location.href),ii=document.querySelectorAll("[data-is-archived]");if(!ii.length){(0,zn.y9)(".archived-label-filter");return}const ni=(ti.searchParams.get("labels")||"").split(",").map(ai=>ai<0?`${~ai+1}`:ai),si=()=>{for(const ai of ii){const li=ai.getAttribute("data-label-id");(0,zn.oi)(ai,ei.checked||ni.includes(li))}};si(),ei.addEventListener("change",()=>{si(),ei.checked?ti.searchParams.set("archived","true"):ti.searchParams.delete("archived"),window.location.href=ti.href})}function l7(){document.querySelectorAll(".page-content.repository.issue-list, .page-content.repository.milestone-issue-list").length&&(i7(),n7(),o7(),a7())}const{appSubUrl:c7}=window.config,u7=/^(\d+)$/,f7=/^#(\d+)$/,d7=/^([-.\w]+)\/([-.\w]+)#(\d+)$/;function h7(ei,ti){ti=ti.trim();let ii="";if(ei)u7.test(ti)?ii=`${ei}/issues/${ti}`:f7.test(ti)&&(ii=`${ei}/issues/${ti.substr(1)}`);else{const ni=ti.match(d7);if(ni){const[si,ai,li,fi]=ni;ii=`${c7}/${ai}/${li}/issues/${fi}`}}return ii}function m7(){const ei=document.getElementById("issue-list-quick-goto");if(!ei)return;const ti=ei.closest("form"),ii=ti.querySelector("input[name=q]"),ni=ei.getAttribute("data-repo-link");ti.addEventListener("submit",ai=>{let li=!(0,zn.WP)(ei);const fi=(0,zn.IU)(ai);fi!==ti&&fi!==ii&&fi!==ei&&(li=!1),li&&(ai.preventDefault(),window.location.href=ei.getAttribute("data-issue-goto-link"))});const si=async()=>{const ai=ii.value;let li=h7(ni,ai);li&&(await(0,so.fG)(`${li}/info`)).status!==200&&(li=""),ii.value===ai&&((0,zn.oi)(ei,!!li),ei.setAttribute("data-issue-goto-link",li))};ii.addEventListener("input",(0,zn.nm)(si)),si()}async function p7(){const ei=document.getElementById("repo-contributors-chart");if(!ei)return;const{default:ti}=await Promise.all([__webpack_require__.e("contributors-graph-code-frequency-graph-recent-commits-graph"),__webpack_require__.e("contributors-graph")]).then(__webpack_require__.bind(__webpack_require__,"./web_src/js/components/RepoContributors.vue"));try{dc(ti,{repoLink:ei.getAttribute("data-repo-link"),locale:{filterLabel:ei.getAttribute("data-locale-filter-label"),contributionType:{commits:ei.getAttribute("data-locale-contribution-type-commits"),additions:ei.getAttribute("data-locale-contribution-type-additions"),deletions:ei.getAttribute("data-locale-contribution-type-deletions")},loadingTitle:ei.getAttribute("data-locale-loading-title"),loadingTitleFailed:ei.getAttribute("data-locale-loading-title-failed"),loadingInfo:ei.getAttribute("data-locale-loading-info")}}).mount(ei)}catch(ii){console.error("RepoContributors failed to load",ii),ei.textContent=ei.getAttribute("data-locale-component-failed-to-load")}}async function g7(){const ei=document.getElementById("repo-code-frequency-chart");if(!ei)return;const{default:ti}=await Promise.all([__webpack_require__.e("contributors-graph-code-frequency-graph-recent-commits-graph"),__webpack_require__.e("code-frequency-graph")]).then(__webpack_require__.bind(__webpack_require__,"./web_src/js/components/RepoCodeFrequency.vue"));try{dc(ti,{locale:{loadingTitle:ei.getAttribute("data-locale-loading-title"),loadingTitleFailed:ei.getAttribute("data-locale-loading-title-failed"),loadingInfo:ei.getAttribute("data-locale-loading-info")}}).mount(ei)}catch(ii){console.error("RepoCodeFrequency failed to load",ii),ei.textContent=ei.getAttribute("data-locale-component-failed-to-load")}}async function v7(){const ei=document.getElementById("repo-recent-commits-chart");if(!ei)return;const{default:ti}=await Promise.all([__webpack_require__.e("contributors-graph-code-frequency-graph-recent-commits-graph"),__webpack_require__.e("recent-commits-graph")]).then(__webpack_require__.bind(__webpack_require__,"./web_src/js/components/RepoRecentCommits.vue"));try{dc(ti,{locale:{loadingTitle:ei.getAttribute("data-locale-loading-title"),loadingTitleFailed:ei.getAttribute("data-locale-loading-title-failed"),loadingInfo:ei.getAttribute("data-locale-loading-info")}}).mount(ei)}catch(ii){console.error("RepoRecentCommits failed to load",ii),ei.textContent=ei.getAttribute("data-locale-component-failed-to-load")}}async function b7(ei,ti){ti.classList.add("disabled");try{const ni=await(await(0,so.fG)(ti.getAttribute("data-fetch-url"))).json();(0,zn.y9)(ti),_7(ei,ni.tags),y7(ei,ni.branches,ni.default_branch),(0,zn.fi)(ei.querySelectorAll(".branch-and-tag-detail"))}finally{ti.classList.remove("disabled")}}function _7(ei,ti){const ii=ei.querySelector(".tag-area");(0,zn.oi)(ii.parentElement,ti.length>0);for(const ni of ti)By(ii,ni.web_link,ni.name)}function y7(ei,ti,ii){const ni=ei.getAttribute("data-text-default-branch-tooltip"),si=ei.querySelector(".branch-area");(0,zn.oi)(si.parentElement,ti.length>0);for(const ai of ti){const li=ii===ai.name?ni:null;By(si,ai.web_link,ai.name,li)}}function By(ei,ti,ii,ni){const si=document.createElement("a");si.classList.add("muted","tw-px-1"),si.href=ti,si.textContent=ii,ni&&(si.classList.add("tw-border","tw-border-secondary","tw-rounded"),si.setAttribute("data-tooltip-content",ni)),ei.append(si)}function w7(){for(const ei of document.querySelectorAll(".branch-and-tag-area")){const ti=ei.querySelector(".load-branches-and-tags");ti.addEventListener("click",()=>b7(ei,ti))}}function Yg(ei){ei.type!=="hidden"&&ei.type!=="checkbox"&&ei.type!=="radio"&&ei.type!=="range"&&ei.type!=="color"&&(ei.dir="auto")}function x7(){const ei=new MutationObserver(ni=>{const si=ni.length;for(let ai=0;ai<si;ai++){const li=ni[ai],fi=li.addedNodes.length;for(let hi=0;hi<fi;hi++){const _i=li.addedNodes[hi];if(!(0,zn.NF)(_i))continue;(_i.nodeName==="INPUT"||_i.nodeName==="TEXTAREA")&&Yg(_i);const ji=_i.querySelectorAll("input, textarea"),Mi=ji.length;for(let Ki=0;Ki<Mi;Ki++)Yg(ji[Ki])}}}),ti=document.querySelectorAll("input, textarea"),ii=ti.length;for(let ni=0;ni<ii;ni++)Yg(ti[ni]);ei.observe(document,{subtree:!0,childList:!0})}function j7(){const ei=document.querySelector("#repo-search-form");ei&&ei.addEventListener("change",ti=>{ti.preventDefault();const ii=new FormData(ei),ni=new URLSearchParams(ii);ti.target.name==="clear-filter"&&(ni.delete("archived"),ni.delete("fork"),ni.delete("mirror"),ni.delete("template"),ni.delete("private")),ni.delete("clear-filter"),window.location.search=ni.toString()})}async function S7(){const ei=document.getElementsByClassName("js-color-picker-input");if(ei.length){await Promise.all([__webpack_require__.e("colorpicker").then(__webpack_require__.bind(__webpack_require__,"./node_modules/vanilla-colorful/hex-color-picker.js")),__webpack_require__.e("colorpicker").then(__webpack_require__.bind(__webpack_require__,"./web_src/css/features/colorpicker.css"))]);for(const ti of ei)C7(ti)}}function pp(ei,ti){ei.style.color=/#[0-9a-f]{6}/i.test(ti)?ti:"transparent"}function Hy(ei,ti){ei.setAttribute("color",ti)}function C7(ei){const ti=ei.querySelector("input"),ii=document.createElement("div");ii.classList.add("preview-square"),pp(ii,ti.value),ei.append(ii);const ni=document.createElement("hex-color-picker");ni.addEventListener("color-changed",si=>{ti.value=si.detail.value,ti.focus(),pp(ii,si.detail.value)}),ti.addEventListener("input",si=>{pp(ii,si.target.value),Hy(ni,si.target.value)}),pd(ti,{trigger:"focus click",theme:"bare",hideOnClick:!0,content:ni,placement:"bottom-start",interactive:!0,onShow(){Hy(ni,ti.value)}});for(const si of ei.querySelectorAll(".precolors .color"))si.addEventListener("click",ai=>{const li=ai.target.getAttribute("data-color-hex");ti.value=li,ti.dispatchEvent(new Event("input",{bubbles:!0})),pp(ii,li)})}const{appSubUrl:E7}=window.config;async function k7(){const ei=document.querySelector("#self-check-by-frontend");if(!ei)return;const ti=document.querySelector(".page-content.admin .admin-setting-content"),ni=await(await(0,so.LO)(`${E7}/admin/self_check`,{data:new URLSearchParams({location_origin:window.location.origin,now:Date.now()})})).json();(0,zn.oi)(ei,!!ni.problems?.length);for(const ai of ni.problems??[]){const li=document.createElement("div");li.classList.add("ui","warning","message"),li.textContent=ai,ei.append(li)}const si=!!ti.querySelectorAll(".self-check-problem:not(.tw-hidden)").length;(0,zn.oi)(ti.querySelector(".self-check-no-problem"),!si)}async function A7(){const ei=document.querySelector("#scoped-access-token-selector");if(!ei)return;const{default:ti}=await __webpack_require__.e("scoped-access-token-selector").then(__webpack_require__.bind(__webpack_require__,"./web_src/js/components/ScopedAccessTokenSelector.vue"));try{dc(ti,{isAdmin:JSON.parse(ei.getAttribute("data-is-admin")),noAccessLabel:ei.getAttribute("data-no-access-label"),readLabel:ei.getAttribute("data-read-label"),writeLabel:ei.getAttribute("data-write-label")}).mount(ei)}catch(ii){console.error("ScopedAccessTokenSelector failed to load",ii),ei.textContent=ei.getAttribute("data-locale-component-failed-to-load")}}NT(),x7(),(0,zn.Pm)(()=>{_C(),yj(),gC(),SC(),jj(),yC(),pC(),dC(),xC(),kT(),m7(),_T(),jT(),yT(),hC(),mC(),s_(),Nj(),bS(),Sb(),DS(),Zm(),nk(),KS(),kS(),TS(),tC(),Z2(),YE(),GE(),LS(),MS(),k7(),Fx(),qS(),qb(),lT(),aT(),$1(),ok(),ST(),ik(),Y2(),zE(),w7(),yE(),Bj(),Kb(),kE(),l7(),AE(),WE(),FE(),EE(),IE(),wS(),uk(),ES(),OE(),DE(),qE(),hT(),mT(),tA(),eA(),Zk(),ZE(),XE(),HT(),J2(),t7(),j7(),p7(),g7(),v7(),KE(),eL(),CC(),cT(),fT(),sk(),rT(),cC(),A7(),S7()})}(),function(){"use strict"}(),function(){"use strict"}(),function(){"use strict"}()})();
//# sourceMappingURL=index.js.df4efb37.map